/* Zardozi Nakkas: brand layer over the scrollcraft taste floor. */

/* Brand fonts, self-hosted from FONTS/ (subset to Latin, woff2).
   Saol Display for headlines, Söhne for text. */
@font-face { font-family: "Saol Display"; src: url("assets/fonts/saol-display-light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Saol Display"; src: url("assets/fonts/saol-display-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Saol Display"; src: url("assets/fonts/saol-display-light-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Saol Display"; src: url("assets/fonts/saol-display-semibold-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
/* one cut of Söhne (Buch) serves every text weight on the page */
@font-face { font-family: "Sohne"; src: url("assets/fonts/sohne-buch.woff2") format("woff2"); font-weight: 300 500; font-style: normal; font-display: swap; }

:root {
  --sc-canvas:     #0e0507;   /* near-black, warmed toward the brand maroon */
  --sc-surface:    #1a0a0d;
  --sc-ink:        #f3eadb;   /* ivory, the colour of the logo on maroon    */
  --sc-ink-soft:   #c2ae98;   /* warm tan, derived from the ivory           */
  --sc-accent:     #cfa660;   /* antique gold: the thread                   */
  --sc-accent-ink: #1a0a0c;
  --brand-maroon:  #3d0a10;   /* from ZARDOZI.pdf                            */

  --sc-font-display: "Saol Display", "Iowan Old Style", Georgia, serif;
  --sc-font-text:    "Sohne", "Helvetica Neue", Arial, system-ui, sans-serif;
  --sc-font-mono:    "Sohne", "Helvetica Neue", Arial, system-ui, sans-serif;
  --sc-shadow-color: 350 60% 2%;
}

body { font-weight: 300; letter-spacing: 0.01em; line-height: 1.68; }

/* Saol: regular upright for headlines, semibold italic in gold for the one
   word in each headline that carries it. */
.sc-display { font-weight: 400; letter-spacing: -0.015em; line-height: 1; }
.sc-display em { font-style: italic; font-weight: 600; letter-spacing: -0.01em; color: var(--sc-accent); }
.sc-display--xl { font-size: clamp(3.2rem, 1.8rem + 5.6vw, 7rem); }
.sc-display--lg { font-size: clamp(2.6rem, 1.7rem + 3.8vw, 5.2rem); }
.sc-display--md { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.6rem); letter-spacing: -0.01em; }
.sc-body, .sc-lede { color: var(--sc-ink-soft); }
.sc-lede { font-weight: 300; font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem); line-height: 1.55; }

.eyebrow {
  margin: 0; font-size: var(--sc-t-xs); font-weight: 400;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--sc-accent);
}

.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.6rem 1rem; background: var(--sc-accent); color: var(--sc-accent-ink);
  text-decoration: none; transition: top var(--sc-d-base) var(--sc-ease-out);
}
.skip:focus { top: 1rem; }

/* ------------------------------------------------------------------ bar -- */
/* Menu on the left, the house mark in the centre, the one action on the right. */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: var(--sc-z-chrome);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: clamp(0.9rem, 2vw, 1.4rem) var(--sc-gutter);
  background: linear-gradient(to bottom, color-mix(in oklab, var(--sc-canvas) 82%, transparent), transparent);
}
.bar { transition: background 400ms var(--sc-ease-out), border-color 400ms var(--sc-ease-out); border-bottom: 1px solid transparent; }
/* once the page moves, the header gets its own ground so it never sits on text */
.bar.is-scrolled {
  /* solid, not frosted: a backdrop blur over a scrubbing film is re-computed
     every frame, and at this opacity it was invisible anyway */
  background: hsl(350 50% 4% / 0.96);
  border-bottom-color: color-mix(in oklab, var(--sc-accent) 14%, transparent);
}
.bar a { text-decoration: none; }
.bar__menu {
  justify-self: start; display: inline-flex; align-items: center; gap: 0.85rem;
  padding: 0.6rem 0; background: none; border: 0; cursor: pointer; color: var(--sc-ink);
  font: inherit; font-size: 0.72rem; font-weight: 400; letter-spacing: 0.26em; text-transform: uppercase;
}
.bar__menu-icon { display: grid; gap: 6px; width: 22px; }
.bar__menu-icon i { display: block; height: 1px; background: currentColor; transition: width var(--sc-d-base) var(--sc-ease-out); }
.bar__menu-icon i:last-child { width: 15px; }
.bar__menu:hover .bar__menu-icon i:last-child { width: 22px; }
.bar__brand { display: inline-flex; align-items: center; gap: 0.75rem; justify-self: center; }
.bar__brand img { width: 30px; height: auto; }
.bar__brand span {
  font-family: var(--sc-font-display); font-size: 1.05rem; font-weight: 400;
  letter-spacing: 0.3em; text-transform: uppercase; white-space: nowrap;
}
.bar__brand em { font-style: normal; color: var(--sc-ink-soft); font-weight: 400; }
.bar__cta {
  justify-self: end;
  font-size: 0.72rem; font-weight: 400; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--sc-accent); padding-block: 0.35rem;
  border-bottom: 1px solid color-mix(in oklab, var(--sc-accent) 55%, transparent);
  transition: color var(--sc-d-base) var(--sc-ease-out);
}
.bar__cta:hover { color: var(--sc-ink); }

/* ----------------------------------------------------------------- menu -- */
.menu { position: fixed; inset: 0; z-index: calc(var(--sc-z-chrome) + 10); }
.menu__scrim {
  position: absolute; inset: 0; background: hsl(350 60% 3% / 0.6);
  opacity: 0; transition: opacity 400ms var(--sc-ease-out);
}
.menu__panel {
  position: absolute; inset: 0 auto 0 0; width: min(30rem, 100%);
  display: flex; flex-direction: column; overflow-y: auto;
  padding: clamp(1.1rem, 2.4vw, 1.6rem) clamp(1.5rem, 4vw, 3rem) 2rem;
  background: radial-gradient(120% 70% at 0% 0%, #4a0d14 0%, var(--brand-maroon) 50%, #1f0508 100%);
  border-right: 1px solid color-mix(in oklab, var(--sc-accent) 22%, transparent);
  transform: translateX(-100%); transition: transform 420ms var(--sc-ease-out);
}
.menu__panel:focus { outline: none; }
.menu.is-open .menu__scrim { opacity: 1; }
.menu.is-open .menu__panel { transform: none; }
.menu__close {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 0.8rem;
  padding: 0.6rem 0; background: none; border: 0; cursor: pointer; color: var(--sc-ink);
  font: inherit; font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase;
}
.menu__close::before { content: ""; width: 18px; height: 18px;
  background: linear-gradient(45deg, transparent 47%, currentColor 47%, currentColor 53%, transparent 53%),
              linear-gradient(-45deg, transparent 47%, currentColor 47%, currentColor 53%, transparent 53%); }
.menu__list { list-style: none; margin: clamp(2rem, 7vh, 4rem) 0 0; padding: 0; display: grid; gap: clamp(1.2rem, 3.4vh, 2rem); }
.menu__item {
  font-family: var(--sc-font-display); font-size: clamp(2rem, 1.5rem + 1.6vw, 2.7rem); line-height: 1;
  color: var(--sc-ink); text-decoration: none; transition: color var(--sc-d-base) var(--sc-ease-out);
}
a.menu__item:hover { color: var(--sc-accent); }
.menu__item--soon { color: color-mix(in oklab, var(--sc-ink) 45%, transparent); }
.menu__item--soon small {
  margin-left: 0.8rem; font-family: var(--sc-font-text); font-size: 0.7rem;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--sc-accent); vertical-align: middle;
}
.menu__sub { list-style: none; margin: 0.9rem 0 0; padding: 0 0 0 0.15rem; display: grid; gap: 0.55rem; }
.menu__sub a {
  font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none;
  color: #dcc7b1; transition: color var(--sc-d-base) var(--sc-ease-out);
}
.menu__sub a:hover { color: var(--sc-ink); }
.menu__foot {
  margin-top: auto; padding-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem;
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: #cdb8a3;
}
.menu__foot a { color: inherit; text-decoration: none; }
.menu__foot a:hover { color: var(--sc-ink); }
.menu-open, .menu-open body { overflow: hidden; }

/* ------------------------------------------------------------- atelier -- */
.atelier .sc-stage__poster, .atelier video[data-sc-scrub] { object-position: 50% 60%; }
.atelier__vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(70% 90% at 50% 55%, transparent 55%, color-mix(in oklab, var(--sc-canvas) 70%, transparent) 100%),
    linear-gradient(to top, color-mix(in oklab, var(--sc-canvas) 70%, transparent), transparent 30%);
}
.hero { bottom: clamp(3rem, 14vh, 9rem); max-width: min(40rem, 42vw); }
.hero__wordmark { width: clamp(9rem, 14vw, 13rem); height: auto; margin-bottom: var(--sc-6); opacity: 0.92; }
.hero h1 { margin-bottom: var(--sc-5); }
.hero__sub {
  margin: 0; max-width: 34ch; color: var(--sc-ink-soft);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem); line-height: 1.6;
}
/* Stage copy mostly sits in the black either side of the spotlight, but the
   garments fly through that black on their way to the form. A soft pool of
   ground colour behind each block (and only there) keeps the type legible
   without dimming the film. */
.hero::before, .stage-copy::before, .complete::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -45% -30%;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--sc-canvas) 82%, transparent) 0%,
              color-mix(in oklab, var(--sc-canvas) 55%, transparent) 55%, transparent 100%);
}
.stage-copy { max-width: min(26rem, 30vw); top: 50%; bottom: auto; translate: 0 -50%; }
.stage-copy p { margin: var(--sc-5) 0 0; color: var(--sc-ink-soft); max-width: 32ch; text-wrap: pretty; }
.sc-copy--trail.stage-copy p { margin-left: auto; }
.complete { top: auto; bottom: clamp(2rem, 8vh, 5rem); translate: -50% 0; max-width: none; width: max-content; }
.complete__line { margin: 0; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.6rem); }

/* --------------------------------------------------------------- groom -- */
.groom__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 7rem); align-items: center;
}
.groom__fig { margin: 0; overflow: hidden; justify-self: end; width: min(100%, 34rem); }
.groom__fig img { width: 100%; height: auto; max-height: 82vh; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 50%; }
.groom__copy .sc-body { max-width: 40ch; }

/* ---------------------------------------------------------------- worn -- */
.worn .sc-stage { background: #0b0405; }
/* the wide candid couple needs the full width of the frame to sit clear of
   the headline: no upward drift here, only a gentle settle (below) */
.worn__bed { position: absolute; inset: 0; z-index: 0; transform: none !important; }
.worn__bed img {
  width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 40%;
  /* a slow push-out while pinned: the courtyard opens up around them */
  transform: scale(calc(1.05 - var(--sc-p, 0) * 0.05));
  will-change: transform;   /* keep the slow push-out on the GPU while pinned */
  transform-origin: 80% 45%;
}
.worn__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg,
    color-mix(in oklab, #0b0405 94%, transparent) 0%,
    color-mix(in oklab, #0b0405 80%, transparent) 28%,
    color-mix(in oklab, #0b0405 40%, transparent) 44%,
    transparent 60%);
}
.worn__copy {
  position: absolute; z-index: 2; left: var(--sc-gutter); top: 50%; translate: 0 -50%;
  max-width: min(36rem, 44vw);
}
.worn__copy .sc-lede { margin-top: var(--sc-6); max-width: 30ch; }

/* --------------------------------------------------------------- craft -- */
.craft__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg,
    color-mix(in oklab, var(--sc-canvas) 94%, transparent) 0%,
    color-mix(in oklab, var(--sc-canvas) 82%, transparent) 26%,
    color-mix(in oklab, var(--sc-canvas) 40%, transparent) 42%,
    transparent 58%);
}
.craft__copy {
  position: absolute; z-index: 2; left: var(--sc-gutter); bottom: clamp(3rem, 14vh, 8rem);
  max-width: min(46rem, 54vw);
}
.craft__copy h2 span { font-style: italic; color: var(--sc-accent); font-weight: 600; }
.craft__copy p { margin: var(--sc-6) 0 0; color: var(--sc-ink-soft); max-width: 36ch; }

/* ------------------------------------------------------------ capitals -- */
.capitals { padding-block: clamp(6rem, 14vw, 13rem); }
.capitals__grid {
  display: grid; grid-template-columns: 1fr minmax(0, 30rem) 1fr;
  grid-template-rows: auto auto auto; row-gap: clamp(2.5rem, 6vw, 5rem); column-gap: clamp(1.5rem, 4vw, 4rem);
}
.capitals__city--from { grid-column: 1 / 3; grid-row: 1; }
.capitals__text { grid-column: 2; grid-row: 2; }
.capitals__city--to { grid-column: 2 / 4; grid-row: 3; justify-self: end; text-align: right; }
.capitals__name {
  margin: 0; font-family: var(--sc-font-display); font-style: italic; font-weight: 300;
  font-size: clamp(4rem, 2rem + 9vw, 11rem); line-height: 0.9; letter-spacing: -0.02em;
  display: inline-block;
}
.capitals__note {
  margin: var(--sc-3) 0 0; font-size: var(--sc-t-xs); letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--sc-accent);
}
.capitals__text .sc-body { max-width: 44ch; }

/* --------------------------------------------------------------- close -- */
/* The close assembles while it scrolls in. site.js writes --e on .close: 0 as
   its top meets the bottom of the screen, 1 as it locks in place. Everything
   below is a function of --e, so it plays forwards and backwards with the
   scroll and is finished before the stage pins. */
.close { --e: 0; }
.close__stage {
  display: grid; place-items: center; text-align: center;
  background: var(--sc-canvas);
}
/* 1 · maroon silk blooms from the centre, soft-edged, over the dark ground */
.close__bloom {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% 46%, hsl(355 70% 22% / 0.55) 0%, transparent 70%),
    radial-gradient(90% 70% at 50% 40%, #4a0d14 0%, var(--brand-maroon) 45%, #22060a 100%);
  --r: calc(var(--e) * 82%);
  /* two masks, intersected: the soft circular bloom, and a top edge that stays
     feathered until the stage settles, so dark never meets maroon in a line */
  -webkit-mask-image:
    radial-gradient(ellipse 140% 140% at 50% 56%, #000 calc(var(--r) - 18%), transparent var(--r)),
    linear-gradient(to bottom, transparent 0%, #000 calc((1 - var(--e)) * 38%));
  -webkit-mask-composite: source-in;
          mask-image:
    radial-gradient(ellipse 140% 140% at 50% 56%, #000 calc(var(--r) - 18%), transparent var(--r)),
    linear-gradient(to bottom, transparent 0%, #000 calc((1 - var(--e)) * 38%));
          mask-composite: intersect;
}
/* the bloom is real maroon silk: it settles from a slight zoom as the bloom
   opens, so the sheen seems to drift along the folds, then holds still */
.close__bloom picture { position: absolute; inset: 0; }
.close__silk {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(calc(1.12 - 0.12 * var(--e))) translate3d(0, calc((1 - var(--e)) * 2.5%), 0);
  transform-origin: 50% 60%; will-change: transform;
}
/* keep the centre quiet so the mark and the line read cleanly over the folds */
.close__bloom::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 50% 50%, hsl(350 60% 5% / 0.38) 0%, transparent 75%),
    radial-gradient(ellipse 120% 100% at 50% 50%, transparent 55%, hsl(350 60% 3% / 0.55) 100%);
}
.close__inner { position: relative; z-index: 1; }
/* 2 · the mark rises, then one zari glint crosses it */
.close__mark {
  --m: clamp(0, (var(--e) - 0.18) / 0.4, 1);
  position: relative; display: inline-block; line-height: 0;
  margin-bottom: clamp(1rem, 3.5vh, 2.5rem);
  opacity: var(--m);
  transform: translateY(calc((1 - var(--m)) * 22px)) scale(calc(0.94 + 0.06 * var(--m)));
}
.close__mark .close__logo { margin: 0; }
.close__mark::after {
  --g: clamp(0, (var(--e) - 0.42) / 0.5, 1);
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, hsl(40 85% 78% / 0.95) 50%, transparent 58%) no-repeat;
  background-size: 320% 100%;
  background-position: calc((1 - var(--g)) * 100%) 0;
  -webkit-mask: url("assets/mark.png") center / contain no-repeat;
          mask: url("assets/mark.png") center / contain no-repeat;
}
/* 3 · the line rises word by word out of a hidden baseline */
.close__title .w {
  display: inline-block; overflow: hidden; vertical-align: bottom;
  padding: 0 0.08em 0.16em; margin: 0 -0.08em -0.16em;
}
.close__title .w > span {
  --t: clamp(0, (var(--e) - 0.34 - var(--i) * 0.07) / 0.3, 1);
  display: inline-block; transform: translateY(calc((1 - var(--t)) * 112%));
}
/* 4 · then the words and the button; the thread ties off once it settles */
.close__body {
  --b: clamp(0, (var(--e) - 0.62) / 0.3, 1);
  opacity: var(--b); transform: translateY(calc((1 - var(--b)) * 12px));
}
.close__cta { opacity: clamp(0, (var(--e) - 0.74) / 0.24, 1); }
/* the stage is one viewport tall: keep clear of the fixed header above and
   the footer below at every laptop height, so nothing collides */
.close__stage { padding: clamp(4.5rem, 11vh, 7rem) 0 clamp(2.5rem, 7vh, 4.5rem); }
.close__inner { display: grid; justify-items: center; padding-inline: var(--sc-gutter); max-width: 52rem; }
.close__logo { width: auto; height: clamp(6rem, 22vh, 13rem); }
.close .sc-display--xl { font-size: min(clamp(3.2rem, 1.8rem + 5.6vw, 7rem), 10.5vh); }
.close__body { margin: clamp(0.8rem, 2.4vh, 1.5rem) 0 clamp(1.4rem, 4vh, 2.6rem); max-width: 40ch; color: #e4d3c0; font-size: var(--sc-t-lg); line-height: 1.5; }
.cta {
  position: relative; z-index: 3;
  display: inline-flex; align-items: center; gap: 0.8rem; min-height: 3.25rem;
  padding: 0.9rem 2.4rem; text-decoration: none;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--sc-accent-ink); background: var(--sc-accent);
  box-shadow: 0 2px 4px hsl(350 60% 4% / 0.3), 0 14px 30px -10px hsl(350 60% 4% / 0.55);
  transition: background var(--sc-d-base) var(--sc-ease-out);
}
.cta:hover { background: #e2bd7a; }
/* -------------------------------------------------------------- thread -- */
.thread {
  position: absolute; left: 0; top: 0; width: 100%; z-index: 30;
  pointer-events: none; overflow: visible;
}
.thread__line, .thread__tie {
  fill: none; stroke: var(--sc-accent); stroke-width: 1.4; stroke-linecap: round;
}
.thread__tie { stroke-width: 1.6; stroke-dasharray: 9 7; opacity: 0; transition: opacity 500ms var(--sc-ease-out); }
.thread.is-tied .thread__tie { opacity: 1; }
.thread__needle line { stroke: #ead2a0; stroke-width: 1.6; stroke-linecap: round; }
.thread__needle ellipse { fill: none; stroke: #ead2a0; stroke-width: 1; }
.thread.is-tied .thread__needle { opacity: 0; transition: opacity 400ms var(--sc-ease-out); }

/* ----------------------------------------------------------- site foot -- */
.site-foot {
  position: relative; z-index: 2; background: #0a0405;
  border-top: 1px solid color-mix(in oklab, var(--sc-accent) 18%, transparent);
  padding: clamp(3.5rem, 8vw, 6rem) var(--sc-gutter) 1.6rem;
}
.site-foot__top { display: grid; grid-template-columns: auto 1fr; gap: clamp(2.5rem, 7vw, 8rem); align-items: start; }
.site-foot__mark img { width: clamp(3.4rem, 5vw, 4.4rem); height: auto; opacity: 0.95; }
.site-foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.site-foot h3 {
  margin: 0 0 1.1rem; font-family: var(--sc-font-text); font-size: 0.7rem; font-weight: 400;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--sc-accent);
}
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.site-foot li, .site-foot a { font-size: 0.92rem; color: var(--sc-ink-soft); text-decoration: none; }
.site-foot a:hover { color: var(--sc-ink); }
.site-foot__base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem 2rem;
  margin-top: clamp(3rem, 7vw, 5rem); padding-top: 1.4rem;
  border-top: 1px solid color-mix(in oklab, var(--sc-ink) 10%, transparent);
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: #9c8774;
}

/* ---------------------------------------------------------------- tiles -- */
/* The collection, Sabyasachi-style: tall photographs, a title and "Explore". */
.tiles { padding-block: clamp(5rem, 11vw, 9rem); }
.tiles__head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.tiles__head .sc-display { margin-top: 1rem; }
.tiles__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.75rem); }
.tile { position: relative; display: block; overflow: hidden; color: var(--sc-ink); text-decoration: none; aspect-ratio: 4 / 5; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--sc-ease-out); }
.tile:hover img { transform: scale(1.035); }
.tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, hsl(350 60% 3% / 0.78) 0%, hsl(350 60% 3% / 0.2) 38%, transparent 60%);
}
.tile__label {
  position: absolute; z-index: 1; inset: auto 0 clamp(1.6rem, 4vw, 2.8rem); display: grid; justify-items: center; gap: 1rem;
}
.tile__title { font-family: var(--sc-font-display); font-size: clamp(2rem, 1.4rem + 2.2vw, 3.4rem); line-height: 1; }
.explore {
  display: inline-block; padding: 0.75rem 1.6rem; font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  border: 1px solid color-mix(in oklab, var(--sc-ink) 70%, transparent); color: var(--sc-ink); text-decoration: none;
  transition: background var(--sc-d-base) var(--sc-ease-out), color var(--sc-d-base) var(--sc-ease-out);
}
.tile:hover .explore, .explore:hover { background: var(--sc-ink); color: var(--sc-accent-ink); }
.tiles__quote {
  max-width: 34ch; margin: clamp(4rem, 9vw, 7rem) auto 0; text-align: center;
  font-family: var(--sc-font-display); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); line-height: 1.25; color: var(--sc-ink);
}
.tiles__quote em { font-style: italic; font-weight: 600; color: var(--sc-accent); }

/* ------------------------------------------------------------ page hero -- */
.page-hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; }
.page-hero__img { position: absolute; inset: 0; }
.page-hero__img picture, .worn__bed picture { display: block; width: 100%; height: 100%; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos, 70% 50%); }
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, hsl(350 60% 3% / 0.92) 0%, hsl(350 60% 3% / 0.6) 32%, transparent 62%),
              linear-gradient(to top, hsl(350 60% 3% / 0.7) 0%, transparent 35%);
}
.page-hero__copy { position: relative; z-index: 1; padding: 0 var(--sc-gutter) clamp(3.5rem, 12vh, 7rem); max-width: min(52rem, 100%); }
.page-hero__copy .eyebrow { margin-bottom: 1.2rem; }
.page-hero__copy p:not(.eyebrow) { margin: 1.4rem 0 0; max-width: 40ch; color: #dcc7b1; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem); line-height: 1.6; }

/* ---------------------------------------------------------- page blocks -- */
.page-intro { padding-block: clamp(5rem, 11vw, 9rem); text-align: center; }
.page-intro p { max-width: 46ch; margin: 0 auto; font-family: var(--sc-font-display); font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.2rem); line-height: 1.3; color: var(--sc-ink); }
.facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.8rem 2.6rem; margin-top: 2.6rem; list-style: none; padding: 0;
  font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--sc-accent); }

.chapter { padding-block: clamp(4rem, 9vw, 8rem); border-top: 1px solid color-mix(in oklab, var(--sc-ink) 8%, transparent); scroll-margin-top: 4rem; }
.chapter__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 6rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.chapter__head .sc-body { max-width: 44ch; margin: 0; }

.looks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.looks--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 62rem; }
.look { margin: 0; }
.look__img { overflow: hidden; aspect-ratio: 3 / 4; background: var(--sc-surface); }
.look__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--sc-ease-out); }
.look:hover .look__img img { transform: scale(1.03); }
.look figcaption { display: grid; gap: 0.35rem; padding-top: 1.1rem; }
.look__name { font-family: var(--sc-font-display); font-size: 1.35rem; line-height: 1.2; color: var(--sc-ink); }
.look__detail { font-size: 0.9rem; color: var(--sc-ink-soft); }
.look__ask { justify-self: start; margin-top: 0.5rem; font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--sc-accent); text-decoration: none; border-bottom: 1px solid color-mix(in oklab, var(--sc-accent) 50%, transparent); padding-bottom: 0.2rem; }
.look__ask:hover { color: var(--sc-ink); }

.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.split--flip .split__fig { order: 2; }
.split__fig { margin: 0; overflow: hidden; }
.split__fig img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 5; object-fit: cover; object-position: var(--fig-pos, 50% 50%); }
.split__copy .sc-body { margin: 0 0 1.1rem; }
.split__copy .sc-body { max-width: 42ch; }
.split__copy .sc-display { margin-bottom: 1.6rem; }

.terms { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; max-width: 40ch; }
.terms li { display: grid; gap: 0.2rem; padding-top: 1.1rem; border-top: 1px solid color-mix(in oklab, var(--sc-ink) 10%, transparent); }
.terms b { font-family: var(--sc-font-display); font-weight: 400; font-size: 1.25rem; color: var(--sc-ink); }
.terms span { font-size: 0.95rem; color: var(--sc-ink-soft); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(1.2rem, 2.4vw, 2.4rem); counter-reset: step; }
.steps li { counter-increment: step; padding-top: 1.4rem; border-top: 1px solid color-mix(in oklab, var(--sc-accent) 45%, transparent); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 1rem; font-size: 0.7rem; letter-spacing: 0.26em; color: var(--sc-accent); }
.steps h3 { margin: 0 0 0.7rem; font-family: var(--sc-font-display); font-weight: 400; font-size: 1.45rem; line-height: 1.15; color: var(--sc-ink); }
.steps p { margin: 0; font-size: 0.95rem; color: var(--sc-ink-soft); }
.note-line { margin-top: clamp(2.5rem, 5vw, 3.5rem); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sc-accent); }

/* -------------------------------------------------------------- booking -- */
.band {
  text-align: center; padding: clamp(5rem, 11vw, 9rem) var(--sc-gutter);
  background: radial-gradient(80% 90% at 50% 30%, #4a0d14 0%, var(--brand-maroon) 50%, #22060a 100%);
}
.band img { width: clamp(4rem, 7vw, 5.5rem); height: auto; margin: 0 auto 2rem; }
.band p:not(.eyebrow) { max-width: 40ch; margin: 1.4rem auto 2.4rem; color: #e4d3c0; }

.book { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: start; }
.form { display: grid; gap: 1.4rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.field { display: grid; gap: 0.55rem; }
.field label, .field legend { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sc-accent); padding: 0; }
.field input, .field textarea {
  width: 100%; padding: 0.85rem 0; font: inherit; font-size: 1.02rem; color: var(--sc-ink);
  background: transparent; border: 0; border-bottom: 1px solid color-mix(in oklab, var(--sc-ink) 28%, transparent); border-radius: 0;
  transition: border-color var(--sc-d-base) var(--sc-ease-out);
}
.field textarea { resize: vertical; min-height: 5.5rem; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--sc-accent); }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in oklab, var(--sc-ink) 35%, transparent); }
.field input[type=date] { color-scheme: dark; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.3rem; }
.checks label { position: relative; cursor: pointer; }
/* the real checkbox stays in the form for keyboards and screen readers, but
   shrunk to a point inside its pill: it inherited width:100% from .field
   input and pushed the page wider than a phone screen */
.checks input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; padding: 0; opacity: 0; pointer-events: none; }
.checks span {
  display: inline-block; padding: 0.6rem 1.1rem; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: none; color: var(--sc-ink-soft);
  border: 1px solid color-mix(in oklab, var(--sc-ink) 22%, transparent); transition: all var(--sc-d-base) var(--sc-ease-out);
}
.checks input:checked + span { background: var(--sc-accent); border-color: var(--sc-accent); color: var(--sc-accent-ink); }
.checks input:focus-visible + span { outline: 2px solid var(--sc-accent); outline-offset: 2px; }
.form .cta { justify-self: start; margin-top: 0.6rem; border: 0; cursor: pointer; font-family: var(--sc-font-text); }
.form__note { margin: 0; font-size: 0.92rem; color: #e4d3c0; }
.visit { padding: clamp(1.6rem, 3vw, 2.4rem); background: var(--sc-surface); border: 1px solid color-mix(in oklab, var(--sc-accent) 16%, transparent); }
.visit h2 { margin: 0 0 1.2rem; }
.visit p { margin: 0 0 1rem; color: var(--sc-ink-soft); }
.visit .terms { margin-top: 1.4rem; }
.wa-btn { display: inline-flex; align-items: center; gap: 0.7rem; margin-top: 0.6rem; }

/* inner pages: no film under the header, so give it a solid ground once scrolled */
.page .bar { background: linear-gradient(to bottom, hsl(350 55% 3% / 0.88), hsl(350 55% 3% / 0)); }

/* -------------------------------------------------------------- mobile -- */
@media (max-width: 860px) {
  .bar { grid-template-columns: auto 1fr auto; gap: 0.8rem; }
  .bar__menu-label, .bar__brand span { display: none; }
  .bar__brand img { width: 34px; }
  .bar__cta { padding-block: 0.7rem; font-size: 0.7rem; letter-spacing: 0.16em; }

  /* The build is a 16:9 film whose edges are already black. A portrait cover
     crop would cut the lehenga's hem off, so on a phone it plays as a wide
     band in the upper half, fading into the ground at top and bottom. */
  .atelier .sc-stage { background: #0a0405; }
  .atelier .sc-stage__poster, .atelier video[data-sc-scrub] {
    inset: 9svh auto auto 50%; width: 150vw; height: auto; aspect-ratio: 1706 / 1440;
    translate: -50% 0; object-fit: cover; max-width: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 82%, transparent);
            mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 82%, transparent);
  }
  .atelier .sc-stage__poster { object-position: 50% 50%; }
  .hero { max-width: none; bottom: clamp(2rem, 7vh, 4rem); }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 3.6rem); }
  .hero__wordmark { width: 8.5rem; margin-bottom: var(--sc-4); }
  .stage-copy { top: auto; bottom: clamp(2rem, 7vh, 4rem); translate: none; max-width: none; }
  .sc-copy--trail.stage-copy p { margin-left: 0; }
  .atelier__vignette {
    background: linear-gradient(to top, color-mix(in oklab, var(--sc-canvas) 92%, transparent) 0%, color-mix(in oklab, var(--sc-canvas) 60%, transparent) 30%, transparent 52%);
  }
  .complete { width: auto; inset-inline: var(--sc-gutter); left: var(--sc-gutter); translate: none; }

  .groom__grid { grid-template-columns: 1fr; }
  .groom__fig img { aspect-ratio: 4 / 5; object-position: 50% 50%; }

  /* phones get portrait photographs (<picture>), framed from the top */
  /* portrait photo on phones: keep both faces in frame. No upward drift here
     (it pushed the faces off the top); the slow zoom stays, anchored high */
  .worn__bed { inset: 0; transform: none !important; }
  .worn__bed img { object-position: 50% 0%; transform-origin: 50% 0%; }
  .worn__bed { top: 64px; }   /* start the photo below the header so no face sits under it */
  .page-hero__img img { object-position: 50% 30%; }
  /* the lookbook: lead with one large look, then two side by side */
  .looks > .look:first-child { grid-column: 1 / -1; }
  .looks > .look:first-child .look__img { aspect-ratio: 4 / 5; }
  .looks > .look:first-child .look__img img { object-position: 50% 0% !important; }
  .worn__scrim { background: linear-gradient(to top, color-mix(in oklab, #0b0405 94%, transparent) 0%, color-mix(in oklab, #0b0405 70%, transparent) 38%, transparent 64%); }
  .worn__copy { top: auto; bottom: clamp(2.5rem, 8vh, 5rem); translate: none; max-width: none; right: var(--sc-gutter); }

  .craft__scrim { background: linear-gradient(to top, color-mix(in oklab, var(--sc-canvas) 94%, transparent) 0%, color-mix(in oklab, var(--sc-canvas) 66%, transparent) 40%, transparent 66%); }
  .craft__copy { max-width: none; right: var(--sc-gutter); bottom: clamp(2.5rem, 8vh, 5rem); }

  .capitals__grid { grid-template-columns: 1fr; }
  .capitals__city--from, .capitals__text, .capitals__city--to { grid-column: 1; }

  .close__body { margin-bottom: var(--sc-6); }
  .site-foot__top { grid-template-columns: 1fr; }
  .site-foot__cols { grid-template-columns: 1fr 1fr; gap: 2.2rem 1.5rem; }
  .tiles__grid { grid-template-columns: 1fr; }
  .chapter__head, .split, .book { grid-template-columns: 1fr; }
  .split--flip .split__fig { order: 0; }
  .looks, .looks--two { grid-template-columns: 1fr 1fr; gap: 1rem 0.8rem; }
  .look__name { font-size: 1.1rem; }
  .look__detail { font-size: 0.82rem; }
  .look__ask { font-size: 0.7rem; letter-spacing: 0.12em; }
  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .page-hero::after { background: linear-gradient(to top, hsl(350 60% 3% / 0.95) 0%, hsl(350 60% 3% / 0.6) 38%, transparent 66%); }
}

@media (prefers-reduced-motion: reduce) {
  .worn__bed img { transform: none; }
  .thread__needle { display: none; }
}
