:root {
  --background: #fbfaf7;
  --foreground: #171717;
  --muted: #66615c;
  --line: #dfddd7;
  --paper: #ffffff;
  --ink: #050505;
  --gold: #c7a14a;
  --coral: #dc6d58;
  --blue: #4f7faa;
  --green: #6d946a;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --font-sans: var(--font-geist-sans);
  --font-mono: var(--font-geist-mono);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(223, 221, 215, 0.85);
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 0.92rem;
}

.brand span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--foreground);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.84rem;
  letter-spacing: 0;
}

.brand strong {
  font-weight: 600;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 24px;
  color: var(--muted);
  font-size: 0.86rem;
}

nav a:hover {
  color: var(--foreground);
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: clamp(44px, 8vw, 112px);
  min-height: calc(100vh - 72px);
  padding-top: clamp(52px, 7vw, 92px);
  padding-bottom: clamp(52px, 7vw, 92px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  max-width: 860px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 8vw, 8.4rem);
  line-height: 0.94;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 5vw, 5.4rem);
  line-height: 0.98;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.04rem;
  font-weight: 650;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-text {
  max-width: 600px;
  color: #302d2a;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--foreground);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 650;
}

.button.primary {
  background: var(--foreground);
  color: var(--background);
}

.button.secondary {
  background: transparent;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
  min-height: calc(100vh - 72px);
}

.home-hero h1 {
  max-width: 1040px;
  font-size: clamp(3.1rem, 7vw, 7.8rem);
}

.home-copy {
  max-width: 900px;
}

.home-copy p:not(.eyebrow) {
  max-width: 660px;
  color: #302d2a;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.home-mark {
  display: grid;
  place-items: center;
  min-height: min(54vh, 520px);
  border-right: 1px solid var(--line);
}

.home-mark span {
  display: grid;
  place-items: center;
  width: min(34vw, 360px);
  aspect-ratio: 1;
  border: 1px solid var(--foreground);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 9rem);
}

.hero-art {
  position: relative;
  min-height: min(70vh, 720px);
  overflow: hidden;
  border-left: 1px solid var(--line);
}

.hero-photo {
  min-height: min(70vh, 720px);
  overflow: hidden;
  border-left: 1px solid var(--line);
  background: var(--paper);
}

.hero-photo img {
  display: block;
  width: 100%;
  height: min(70vh, 720px);
  object-fit: cover;
  object-position: center;
}

.black-disc,
.mini-disc {
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 40%, #181818 0 15%, #030303 54%, #000 100%);
}

.black-disc {
  top: 50%;
  left: 50%;
  width: min(54vw, 520px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.16);
}

.wing,
.work-image span,
.paper-shape {
  position: absolute;
  display: block;
  width: 44px;
  height: 26px;
  border-radius: 64% 4px 64% 4px;
  background: var(--coral);
  box-shadow: 0 12px 22px rgba(20, 20, 20, 0.14);
  transform-origin: 50% 50%;
}

.wing:nth-of-type(3n) {
  background: var(--gold);
}

.wing:nth-of-type(4n) {
  background: var(--blue);
}

.wing:nth-of-type(5n) {
  background: var(--green);
}

.wing-1 { top: 10%; left: 42%; transform: rotate(-24deg); }
.wing-2 { top: 16%; left: 60%; transform: rotate(28deg); }
.wing-3 { top: 22%; left: 29%; transform: rotate(38deg); }
.wing-4 { top: 29%; left: 71%; transform: rotate(-18deg); }
.wing-5 { top: 36%; left: 18%; transform: rotate(-54deg); }
.wing-6 { top: 43%; left: 79%; transform: rotate(44deg); }
.wing-7 { top: 51%; left: 25%; transform: rotate(22deg); }
.wing-8 { top: 55%; left: 61%; transform: rotate(-36deg); }
.wing-9 { top: 63%; left: 15%; transform: rotate(33deg); }
.wing-10 { top: 66%; left: 74%; transform: rotate(-12deg); }
.wing-11 { top: 74%; left: 35%; transform: rotate(-28deg); }
.wing-12 { top: 81%; left: 57%; transform: rotate(36deg); }
.wing-13 { top: 7%; left: 70%; transform: rotate(62deg); }
.wing-14 { top: 88%; left: 23%; transform: rotate(-8deg); }
.wing-15 { top: 84%; left: 82%; transform: rotate(-45deg); }
.wing-16 { top: 47%; left: 45%; transform: rotate(14deg); }
.wing-17 { top: 31%; left: 49%; transform: rotate(-66deg); }
.wing-18 { top: 69%; left: 49%; transform: rotate(51deg); }

.intro-grid,
.split,
.commissions {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 7vw, 92px);
  border-top: 1px solid var(--line);
}

.section-copy {
  max-width: 720px;
}

.works {
  display: grid;
  grid-template-columns: repeat(5, minmax(250px, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.work-card {
  display: flex;
  flex-direction: column;
  min-height: 620px;
  background: var(--paper);
}

.work-image {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 246, 240, 0.94)),
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.07), transparent 48%);
}

.work-image img {
  display: block;
  width: 100%;
  height: 310px;
  object-fit: cover;
  object-position: center;
}

.work-image .mini-disc {
  top: 50%;
  left: 50%;
  width: 150px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.work-image span:nth-child(2) { top: 21%; left: 31%; transform: rotate(-30deg); background: #f5f2e8; }
.work-image span:nth-child(3) { top: 34%; right: 18%; transform: rotate(28deg); background: var(--gold); }
.work-image span:nth-child(4) { bottom: 25%; left: 20%; transform: rotate(42deg); background: var(--coral); }
.work-image span:nth-child(5) { bottom: 18%; right: 28%; transform: rotate(-18deg); background: var(--blue); }
.work-image span:nth-child(6) { top: 55%; left: 47%; transform: rotate(58deg); background: var(--green); }

.image-1 span {
  background: #f8f7f1 !important;
}

.image-2 span:nth-child(2),
.image-2 span:nth-child(4),
.image-2 span:nth-child(6) {
  background: #111 !important;
}

.image-4 span {
  transform: scale(0.82) rotate(18deg);
}

.image-5 .mini-disc {
  left: 36%;
}

.image-5::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 66%;
  width: 118px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #010101;
  transform: translate(-50%, -50%);
}

.work-image.has-photo::after,
.work-card .work-image.has-photo::after,
.work-image.image-5.has-photo::after {
  content: none;
  display: none;
}

.work-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.detail-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-strip img {
  display: block;
  width: 100%;
  height: clamp(260px, 36vw, 520px);
  object-fit: cover;
  background: var(--paper);
}

.work-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.work-heading p {
  flex: 0 0 auto;
  color: var(--foreground);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.meta {
  color: #37332f;
  font-size: 0.88rem;
  font-weight: 650;
}

.process-panel {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #f1eee6;
}

.paper-shape {
  width: 168px;
  height: 96px;
  border-radius: 70% 4px 70% 4px;
}

.shape-one {
  top: 20%;
  left: 22%;
  background: var(--gold);
  transform: rotate(-23deg);
}

.shape-two {
  top: 40%;
  right: 18%;
  background: var(--coral);
  transform: rotate(32deg);
}

.shape-three {
  bottom: 18%;
  left: 36%;
  background: var(--blue);
  transform: rotate(-51deg);
}

.about {
  max-width: 1040px;
  border-top: 1px solid var(--line);
}

.about p:last-child {
  max-width: 760px;
  color: #302d2a;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.contact-note {
  margin-bottom: 0;
  color: var(--foreground);
  font-weight: 650;
}

@media (max-width: 1120px) {
  .home-hero,
  .home-about,
  .hero,
  .intro-grid,
  .split,
  .commissions {
    grid-template-columns: 1fr;
  }

  .home-mark {
    min-height: 420px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-art,
  .hero-photo {
    min-height: 560px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-photo img {
    height: 560px;
  }

  .works {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .hero-art {
    min-height: 430px;
  }

  .hero-photo {
    min-height: auto;
  }

  .hero-photo img {
    height: 430px;
  }

  .works {
    grid-template-columns: 1fr;
  }

  .detail-strip {
    grid-template-columns: 1fr;
  }

  .work-card {
    min-height: auto;
  }

  .work-heading {
    flex-direction: column;
    gap: 4px;
  }

  .button {
    width: 100%;
  }
}
