/* ==========================================================================
   Yusra Hashim Said — Editorial portfolio
   Palette: warm alabaster → obsidian. Type: Cormorant Garamond / Manrope.
   ========================================================================== */

:root {
  --alabaster: #f3efe8;
  --alabaster-2: #e9e4da;
  --charcoal: #1c1b19;
  --ink-2: rgba(28, 27, 25, .62);
  --ink-3: rgba(28, 27, 25, .4);
  --line: rgba(28, 27, 25, .14);

  --obsidian: #0e0d0c;
  --obsidian-2: #151413;
  --ivory: #efe9df;
  --ivory-2: rgba(239, 233, 223, .6);
  --ivory-3: rgba(239, 233, 223, .36);
  --line-dark: rgba(239, 233, 223, .14);

  --accent: #8a3a3f;

  --bg: var(--alabaster);
  --fg: var(--charcoal);
  --fg-2: var(--ink-2);
  --fg-3: var(--ink-3);
  --rule: var(--line);

  --serif: "Cormorant Garamond", "Cormorant", "Garamond", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.77, 0, .18, 1);
  --ease-soft: cubic-bezier(.25, .1, .25, 1);

  --gutter: clamp(20px, 5vw, 88px);
  --section: clamp(96px, 12vw, 192px);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body:has(dialog[open]), body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 1.5px solid currentColor; outline-offset: 6px; }
::selection { background: var(--charcoal); color: var(--alabaster); }
.theme-dark ::selection { background: var(--ivory); color: var(--obsidian); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: var(--gutter); z-index: 100; background: var(--charcoal); color: var(--alabaster); padding: 14px 20px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.skip-link:focus { top: 12px; }
html.has-cursor, html.has-cursor * { cursor: none !important; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.eyebrow span, .sep { color: var(--fg-3); margin: 0 .35em; }
.h-display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 6.2vw, 104px);
  line-height: .96;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.h-display em, .h-giant em, .hero-title em { font-style: italic; font-weight: 300; }
.h-giant {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(88px, 17vw, 260px);
  line-height: .84;
  letter-spacing: -.03em;
}
.h-small {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg-2);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1;
  border: 1px solid transparent;
  transition: background-color .5s var(--ease-out), color .5s var(--ease-out), border-color .5s var(--ease-out), transform .5s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--charcoal); color: var(--alabaster); border-color: var(--charcoal); }
.btn-solid:hover { background: transparent; color: var(--charcoal); }
.btn-ghost { border-color: var(--rule); color: var(--fg); }
.btn-ghost:hover { border-color: var(--charcoal); }
.btn-light { background: var(--ivory); color: var(--obsidian); border-color: var(--ivory); }
.btn-light:hover { background: transparent; color: var(--ivory); }
.btn span[aria-hidden] { display: inline-block; transition: transform .5s var(--ease-out); }
.btn:hover span[aria-hidden] { transform: translateX(4px); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 90;
  background: var(--alabaster);
  display: grid; place-items: center;
  animation: loaderOut 1s var(--ease-in-out) .7s forwards;
}
.loader-mark { font-family: var(--serif); font-size: clamp(56px, 8vw, 112px); font-weight: 300; letter-spacing: -.03em; line-height: 1; opacity: 0; animation: loaderMark .8s var(--ease-out) .05s forwards; }
.loader-mark i { font-style: normal; color: var(--accent); }
.loader-line { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 20vh; height: 1px; background: var(--line); transform-origin: left; transform: scaleX(0); animation: loaderLine .8s var(--ease-in-out) .1s forwards; }
@keyframes loaderMark { to { opacity: 1; } }
@keyframes loaderLine { to { transform: scaleX(1); } }
@keyframes loaderOut { to { transform: translateY(-100%); visibility: hidden; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--charcoal);
  transition: color .6s var(--ease-out), background-color .6s var(--ease-out), border-color .6s var(--ease-out), height .6s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { height: 68px; background: rgba(243, 239, 232, .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
html[data-header-theme="dark"] .site-header { color: var(--ivory); }
html[data-header-theme="dark"] .site-header.is-scrolled { background: rgba(14, 13, 12, .74); border-color: var(--line-dark); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header { transition: color .6s var(--ease-out), background-color .6s var(--ease-out), border-color .6s var(--ease-out), height .6s var(--ease-out), transform .6s var(--ease-in-out); }

.wordmark { font-family: var(--serif); font-size: 28px; font-weight: 400; letter-spacing: -.02em; line-height: 1; }
.wordmark span { color: var(--accent); }
.site-nav { display: flex; gap: clamp(24px, 3vw, 48px); }
.site-nav a {
  position: relative;
  display: inline-flex; align-items: flex-start; gap: 6px;
  padding: 10px 0;
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
}
.site-nav sup { font-size: 8px; font-weight: 500; letter-spacing: .08em; opacity: .5; line-height: 1; margin-top: 1px; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out); }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta { justify-self: end; display: inline-flex; gap: 10px; align-items: center; padding: 12px 0 12px 20px; border-left: 1px solid currentColor; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.header-cta span { transition: transform .5s var(--ease-out); }
.header-cta:hover span { transform: translateX(4px); }
.menu-toggle { display: none; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--alabaster); color: var(--charcoal);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-in-out);
}
.mobile-menu[hidden] { display: flex; visibility: hidden; }
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(40px, 11vw, 64px); font-weight: 300; line-height: 1; letter-spacing: -.02em;
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: calc(.25s + var(--i) * 70ms);
}
.mobile-menu nav a span { font-family: var(--sans); font-size: 11px; letter-spacing: .16em; color: var(--fg-3); }
.mobile-menu-foot { display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--fg-2); opacity: 0; transition: opacity .7s var(--ease-out); transition-delay: calc(.25s + var(--i) * 70ms); }
.mobile-menu.is-open nav a, .mobile-menu.is-open .mobile-menu-foot { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + clamp(32px, 7vh, 88px)) var(--gutter) clamp(40px, 7vh, 80px);
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0 0 0 26%; z-index: -2; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, #000 34%); }
.hero-media img {
  width: 100%; height: 118%;
  object-fit: cover; object-position: 50% 6%;
  transform: scale(1.08);
  animation: heroMedia 2.2s var(--ease-out) .6s forwards;
  will-change: transform;
}
@keyframes heroMedia { to { transform: scale(1); } }
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(243, 239, 232, .88) 0%, rgba(243, 239, 232, .42) 30%, rgba(243, 239, 232, 0) 56%),
    linear-gradient(0deg, rgba(243, 239, 232, .92) 0%, rgba(243, 239, 232, 0) 38%);
}
.hero-in { opacity: 0; transform: translateY(28px); animation: heroIn 1.4s var(--ease-out) var(--d, 1s) forwards; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero-eyebrow { display: flex; align-items: center; gap: 16px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--fg-2); margin-bottom: clamp(24px, 4vh, 48px); }
.hero-eyebrow .rule { width: 40px; height: 1px; background: var(--accent); }
.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(76px, 13.5vw, 216px);
  line-height: .84;
  letter-spacing: -.035em;
  max-width: 10ch;
}
.hero-title .line { display: block; overflow: hidden; padding: .04em 0 .06em; margin: -.04em 0 -.06em; }
.hero-title .line > span { display: inline-block; opacity: 1; transform: translateY(110%); animation: heroLine 1.5s var(--ease-out) var(--d, 1s) forwards; }
.hero-title .line-italic { font-style: italic; padding-left: .18em; }
.hero-title i { font-style: normal; color: var(--accent); }
@keyframes heroLine { to { transform: translateY(0); } }

.hero-statement { max-width: 440px; margin-top: clamp(40px, 6vh, 72px); }
.hero-hook {
  display: block;
  font-family: var(--serif);
  font-size: clamp(22px, 1.8vw, 30px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--fg);
  margin-bottom: 12px;
}
.hero-statement p { font-size: clamp(15px, 1.1vw, 17px); line-height: 1.65; color: var(--fg-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-index {
  position: absolute; right: var(--gutter); top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  display: flex; gap: 20px; align-items: center;
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-2);
  animation-name: heroInVertical;
}
.hero-index span + span::before { content: ""; display: block; width: 1px; height: 28px; margin: 0 auto 20px; background: var(--line); }
@keyframes heroInVertical { to { opacity: 1; transform: translateY(-50%) rotate(180deg); } }

.hero-scroll { position: absolute; right: var(--gutter); bottom: clamp(40px, 7vh, 80px); display: flex; align-items: center; gap: 14px; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-2); }
.hero-scroll i { display: block; width: 56px; height: 1px; background: var(--charcoal); transform-origin: left; animation: scrollLine 2.4s var(--ease-in-out) infinite; }
@keyframes scrollLine { 0% { transform: scaleX(0); transform-origin: left; } 45% { transform: scaleX(1); transform-origin: left; } 55% { transform: scaleX(1); transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }

/* ---------- Ticker ---------- */
.ticker { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; gap: 40px; width: max-content; animation: ticker 40s linear infinite; }
.ticker span { font-family: var(--serif); font-size: 18px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.ticker i { font-style: normal; font-size: 10px; color: var(--accent); align-self: center; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: var(--section) var(--gutter); }
.section-head { display: flex; flex-direction: column; gap: 24px; margin-bottom: clamp(48px, 6vw, 96px); }
.section-head-split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: var(--gutter); }
.section-intro { max-width: 420px; font-size: 15.5px; line-height: 1.7; color: var(--fg-2); }

/* ---------- Comp card ---------- */
.compcard { padding-top: clamp(80px, 9vw, 140px); }
.measure-bar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.measure-bar > div { padding: 28px 24px 30px 0; border-right: 1px solid var(--rule); margin-right: 24px; }
.measure-bar > div:last-child { border-right: 0; margin-right: 0; }
.measure-bar dt { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--fg-3); }
.measure-bar dd { margin-top: 18px; font-family: var(--serif); font-size: clamp(30px, 3vw, 46px); font-weight: 300; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.measure-bar dd small { display: block; margin-top: 10px; font-family: var(--sans); font-size: 12px; letter-spacing: .04em; color: var(--fg-2); }
.compcard-foot { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 36px; }
.compcard-note { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12.5px; letter-spacing: .04em; color: var(--fg-2); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #3f8a5a; display: inline-block; margin-right: 6px; box-shadow: 0 0 0 0 rgba(63, 138, 90, .5); animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63, 138, 90, .45); } 100% { box-shadow: 0 0 0 10px rgba(63, 138, 90, 0); } }
.btn-download { gap: 22px; padding-right: 20px; }
.btn-icon { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid currentColor; border-radius: 50%; opacity: .7; transition: transform .5s var(--ease-out); }
.btn-download:hover .btn-icon { transform: translateY(3px); }

/* ---------- Work ---------- */
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--gutter); margin-bottom: clamp(56px, 7vw, 120px); }
.work-head .eyebrow { margin-bottom: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.filter {
  position: relative;
  padding: 12px 0;
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  color: var(--fg-3);
  transition: color .5s var(--ease-out);
}
.filter sup { font-size: 8px; margin-left: 3px; letter-spacing: .06em; }
.filter::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out); }
.filter:hover { color: var(--fg); }
.filter[aria-pressed="true"] { color: var(--fg); }
.filter[aria-pressed="true"]::after { transform: scaleX(1); transform-origin: left; }

.lookbook {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  row-gap: clamp(72px, 9vw, 160px);
  align-items: start;
}
.look { grid-column: 1 / -1; }
.look[hidden] { display: none; }
.look-button { display: block; width: 100%; text-align: left; }
.look-media { position: relative; overflow: hidden; background: var(--alabaster-2); aspect-ratio: var(--ratio, 4 / 5); }
.look-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center top); transform: scale(1.001); transition: transform 1.6s var(--ease-out), filter 1.2s var(--ease-out); }
.look-button:hover .look-media img, .look-button:focus-visible .look-media img { transform: scale(1.045); }
.look-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 13, 12, .18), transparent 40%); opacity: 0; transition: opacity 1s var(--ease-out); }
.look-button:hover .look-media::after { opacity: 1; }
.look figcaption { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 16px; padding-top: 18px; border-top: 1px solid var(--rule); margin-top: 18px; }
.look-no { font-size: 10.5px; letter-spacing: .18em; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.look-title { font-family: var(--serif); font-size: 22px; font-weight: 400; font-style: italic; letter-spacing: -.01em; transition: transform .7s var(--ease-out); }
.look-button:hover ~ figcaption .look-title { transform: translateX(6px); }
.look-cat { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-2); }
.look-credit {
  grid-column: 1 / -1;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--fg-3);
  margin-top: -4px;
  line-height: 1.5;
}
.look-credit a {
  color: var(--fg-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line);
  transition: color .4s var(--ease-out), text-decoration-color .4s var(--ease-out);
}
.look-credit a:hover {
  color: var(--fg);
  text-decoration-color: currentColor;
}
.look-credit i {
  font-style: normal;
  color: var(--line);
  margin: 0 6px;
}
.credit-pending {
  opacity: .75;
}

/* Asymmetric editorial slots — assigned by visible order (JS) with nth-child fallback */
.look:nth-child(1), .look[data-slot="0"] { grid-column: 1 / 7; --ratio: 4 / 5; margin-top: 0; }
.look:nth-child(2), .look[data-slot="1"] { grid-column: 8 / 13; --ratio: 3 / 4; margin-top: clamp(80px, 18vw, 280px); }
.look:nth-child(3), .look[data-slot="2"] { grid-column: 2 / 6; --ratio: 3 / 4; margin-top: 0; }
.look:nth-child(4), .look[data-slot="3"] { grid-column: 7 / 13; --ratio: 5 / 4; --pos: center 18%; margin-top: clamp(40px, 6vw, 96px); }
.look:nth-child(5), .look[data-slot="4"] { grid-column: 1 / 6; --ratio: 2 / 3; margin-top: 0; }
.look:nth-child(6), .look[data-slot="5"] { grid-column: 7 / 12; --ratio: 4 / 5; margin-top: clamp(80px, 14vw, 220px); }
.look[data-orphan] {
  grid-column: 4 / 10 !important;
  margin-top: clamp(40px, 6vw, 96px) !important;
  --ratio: 4 / 5;
}

/* Filter transitions */
.look.is-leaving { opacity: 0; transform: translateY(18px) scale(.985); }
.look { transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.look.is-entering { opacity: 0; transform: translateY(18px); }
::view-transition-group(*) { animation-duration: .8s; animation-timing-function: var(--ease-in-out); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .5s; }

/* ---------- Statement ---------- */
.statement { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: start; background: var(--alabaster-2); }
.statement-media { grid-column: 1 / 5; position: sticky; top: calc(var(--header-h) + 24px); }
.statement-media img { aspect-ratio: 3 / 4; object-fit: cover; object-position: center 20%; width: 100%; }
.statement-caption { display: block; margin-top: 14px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3); }
.statement-copy { grid-column: 6 / 13; padding-top: clamp(0px, 4vw, 64px); }
.statement-copy .eyebrow { margin-bottom: 28px; }
.statement-copy .h-display { font-size: clamp(36px, 4.6vw, 76px); margin-bottom: clamp(32px, 4vw, 56px); }
.statement-text { max-width: 560px; display: flex; flex-direction: column; gap: 20px; font-size: 16px; line-height: 1.75; color: var(--fg-2); }
.statement-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(40px, 5vw, 72px); padding-top: 28px; border-top: 1px solid var(--rule); }
.statement-facts dt { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3); }
.statement-facts dd { margin-top: 10px; font-family: var(--serif); font-size: 21px; font-weight: 400; }

/* ---------- Dark theme ---------- */
.theme-dark {
  --bg: var(--obsidian);
  --fg: var(--ivory);
  --fg-2: var(--ivory-2);
  --fg-3: var(--ivory-3);
  --rule: var(--line-dark);
  background: var(--bg); color: var(--fg);
}
.theme-dark .eyebrow, .theme-dark .h-small { color: var(--fg-2); }

/* ---------- Partnerships ---------- */
.partners { position: relative; }
.partners::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-dark) 20%, var(--line-dark) 80%, transparent); }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); margin-bottom: clamp(72px, 9vw, 140px); }
.metrics > div { padding: 36px 32px 36px 0; border-right: 1px solid var(--rule); margin-right: 32px; }
.metrics > div:last-child { border-right: 0; margin-right: 0; }
.metrics dt { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-3); }
.metrics dd { margin-top: 22px; font-family: var(--serif); font-size: clamp(52px, 6vw, 96px); font-weight: 300; line-height: .9; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.metrics p { margin-top: 16px; font-size: 12.5px; color: var(--fg-2); }

.partners-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(48px, 8vw, 140px); }
.collab-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--rule); transition: padding-left .6s var(--ease-out); }
.collab-list li:hover { padding-left: 12px; }
.collab-brand {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 300;
  letter-spacing: -.01em;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}
a.collab-brand {
  transition: color .4s var(--ease-out);
}
a.collab-brand:hover {
  color: var(--accent);
}
.collab-handle {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .08em;
  color: var(--ivory-3);
  text-transform: none;
}
a.collab-brand:hover .collab-handle {
  color: var(--ivory-2);
}
.collab-scope { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); }
.collab-year { font-size: 11.5px; letter-spacing: .1em; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.versatility li { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.versatility strong { font-family: var(--serif); font-size: 24px; font-weight: 400; letter-spacing: -.01em; line-height: 1.1; }
.versatility span { font-size: 14px; line-height: 1.7; color: var(--fg-2); }
.partners-cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: clamp(64px, 8vw, 120px); padding-top: 36px; border-top: 1px solid var(--rule); }
.partners-cta p { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 34px); font-weight: 300; font-style: italic; }

/* ---------- Booking ---------- */
.booking { padding-top: 0; }
.booking-grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(48px, 8vw, 160px); border-top: 1px solid var(--rule); padding-top: var(--section); }
.booking-main .eyebrow { margin-bottom: 36px; }
.booking-lead { max-width: 440px; margin-top: 40px; font-size: 16px; line-height: 1.7; color: var(--fg-2); }
.booking-actions { margin-top: 48px; }
.booking-primary {
  position: relative;
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 24px;
  padding: 32px 32px 30px;
  border: 1px solid var(--ivory);
  overflow: hidden;
  transition: color .6s var(--ease-out);
}
.booking-primary::before { content: ""; position: absolute; inset: 0; background: var(--ivory); transform: translateY(101%); transition: transform .7s var(--ease-in-out); z-index: 0; }
.booking-primary:hover { color: var(--obsidian); }
.booking-primary:hover::before { transform: translateY(0); }
.booking-primary > * { position: relative; z-index: 1; }
.booking-primary-label { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 40px); font-weight: 300; letter-spacing: -.015em; line-height: 1; }
.booking-primary-sub { grid-column: 1; margin-top: 12px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.booking-primary-arrow { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 28px; transition: transform .6s var(--ease-out); }
.booking-primary:hover .booking-primary-arrow { transform: translateX(8px); }
.booking-secondary { display: flex; flex-wrap: wrap; gap: 0 36px; margin-top: 28px; }
.booking-secondary a, .booking-secondary button { position: relative; padding: 12px 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.booking-secondary a::after, .booking-secondary button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; opacity: .35; transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.booking-secondary a:hover::after, .booking-secondary button:hover::after { opacity: 1; }
.copy-email { display: inline-flex; gap: 10px; }
.copy-done { color: var(--fg-2); font-weight: 400; letter-spacing: .08em; text-transform: none; }

.booking-side { display: flex; flex-direction: column; gap: 24px; padding-top: 12px; }
.rep-card { border: 1px solid var(--rule); padding: 28px; }
.rep-card .eyebrow { margin-bottom: 18px; }
.rep-line { font-family: var(--serif); font-size: 20px; font-weight: 400; line-height: 1.4; }
.rep-line a {
  color: var(--ivory);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--line-dark);
  transition: text-decoration-color .4s;
}
.rep-line a:hover {
  text-decoration-color: currentColor;
}
.rep-links { margin-top: 28px; border-top: 1px solid var(--rule); }
.rep-links li { border-bottom: 1px solid var(--rule); }
.rep-links a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; transition: padding-left .5s var(--ease-out); }
.rep-links a:hover { padding-left: 8px; }
.rep-links a span { font-family: var(--serif); font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--fg-2); }
.avail-card { border: 1px solid var(--rule); padding: 28px; }
.avail-card .eyebrow { margin-bottom: 18px; }
.avail-line { font-family: var(--serif); font-size: 20px; font-weight: 400; line-height: 1.4; }
.avail-facts { margin-top: 24px; border-top: 1px solid var(--rule); }
.avail-facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.avail-facts dt { flex: 0 0 auto; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--fg-3); }
.avail-facts dd { margin: 0; text-align: right; font-family: var(--serif); font-size: 15px; font-weight: 400; color: var(--fg-2); }
.avail-facts .sep { margin: 0 4px; opacity: .5; }

/* ---------- Footer ---------- */
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 32px var(--gutter) calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); }
.footer-copy { font-size: 12px; color: var(--fg-3); text-align: center; }
.footer-nav { justify-self: end; display: flex; gap: 28px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.footer-nav a { opacity: .7; transition: opacity .4s; }
.footer-nav a:hover { opacity: 1; }

/* ---------- Mobile CTA ---------- */
.mobile-cta { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: var(--obsidian);
  color: var(--ivory);
  display: none;
  grid-template-rows: auto 1fr auto;
  opacity: 0;
  transition: opacity .5s var(--ease-out);
}
.lightbox[open] { display: grid; }
.lightbox.is-shown { opacity: 1; }
.lightbox::backdrop { background: transparent; }
.lightbox-head { display: flex; justify-content: space-between; align-items: center; padding: 22px var(--gutter); }
.lightbox-brand { font-family: var(--serif); font-size: 22px; }
.lightbox-brand span { color: var(--accent); }
.lightbox-brand em { font-family: var(--sans); font-style: normal; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ivory-2); margin-left: 18px; }
.lightbox-counter { font-size: 11.5px; letter-spacing: .18em; color: var(--ivory-2); font-variant-numeric: tabular-nums; }
.lightbox-close { position: relative; width: 44px; height: 44px; }
.lightbox-close span { position: absolute; left: 10px; right: 10px; top: 50%; height: 1px; background: currentColor; transition: transform .5s var(--ease-out); }
.lightbox-close span:first-child { transform: rotate(45deg); }
.lightbox-close span:last-child { transform: rotate(-45deg); }
.lightbox-close:hover span:first-child { transform: rotate(135deg); }
.lightbox-close:hover span:last-child { transform: rotate(45deg); }
.lightbox-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 var(--gutter); }
.lightbox-figure { height: 100%; width: 100%; display: grid; place-items: center; min-height: 0; }
.lightbox-figure img {
  max-height: min(78dvh, 1000px); max-width: 100%; width: auto; height: auto;
  object-fit: contain;
  transition: opacity .45s var(--ease-out), transform .6s var(--ease-out);
  user-select: none; -webkit-user-drag: none;
}
.lightbox-figure img.is-switching { opacity: 0; transform: scale(.985); }
.lightbox-nav { position: absolute; top: 0; bottom: 0; width: 28%; }
.lightbox-prev { left: 0; }
.lightbox-next { right: 0; }
.lightbox-nav::before { content: ""; position: absolute; top: 50%; width: 14px; height: 14px; border-top: 1px solid var(--ivory); border-left: 1px solid var(--ivory); opacity: .5; transition: opacity .4s, transform .5s var(--ease-out); }
.lightbox-prev::before { left: var(--gutter); transform: translateY(-50%) rotate(-45deg); }
.lightbox-next::before { right: var(--gutter); transform: translateY(-50%) rotate(135deg); }
.lightbox-nav:hover::before { opacity: 1; }
.lightbox-prev:hover::before { transform: translateY(-50%) rotate(-45deg) translate(-4px, -4px); }
.lightbox-next:hover::before { transform: translateY(-50%) rotate(135deg) translate(-4px, -4px); }
.lightbox-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 20px var(--gutter) calc(24px + env(safe-area-inset-bottom)); }
.lightbox-caption-group { display: flex; flex-direction: column; gap: 6px; max-width: 58%; }
#lightbox-caption { font-family: var(--serif); font-size: 22px; font-style: italic; font-weight: 300; }
.lightbox-credit { font-size: 11.5px; letter-spacing: .06em; color: var(--ivory-3); line-height: 1.5; }
.lightbox-credit a { color: var(--ivory-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-dark); transition: color .3s, text-decoration-color .3s; }
.lightbox-credit a:hover { color: var(--ivory); text-decoration-color: currentColor; }
.lightbox-credit i { font-style: normal; color: var(--ivory-3); margin: 0 6px; }
.lightbox-thumbs { display: flex; gap: 8px; overflow-x: auto; max-width: min(540px, 46vw); padding: 4px 2px; scrollbar-width: thin; }
.lightbox-thumbs::-webkit-scrollbar { height: 3px; }
.lightbox-thumbs::-webkit-scrollbar-thumb { background: rgba(239, 233, 223, .25); border-radius: 2px; }
.lightbox-thumbs button { flex-shrink: 0; width: 40px; height: 52px; overflow: hidden; opacity: .35; transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); }
.lightbox-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-thumbs button:hover { opacity: .7; }
.lightbox-thumbs button[aria-selected="true"] { opacity: 1; transform: translateY(-4px); }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; display: block; opacity: 0; transition: opacity .4s; }
  html.has-cursor .cursor { opacity: 1; }
  .cursor-dot { position: absolute; left: 0; top: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--charcoal); mix-blend-mode: difference; filter: invert(1); transition: opacity .3s; }
  .cursor-ring {
    position: absolute; left: 0; top: 0; width: 40px; height: 40px; margin: -20px 0 0 -20px;
    border-radius: 50%; border: 1px solid rgba(28, 27, 25, .5);
    display: grid; place-items: center;
    transition: width .5s var(--ease-out), height .5s var(--ease-out), margin .5s var(--ease-out), background-color .5s var(--ease-out), border-color .5s var(--ease-out);
  }
  html[data-header-theme="dark"] .cursor-ring { border-color: rgba(239, 233, 223, .5); }
  .cursor-label { font-family: var(--sans); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--alabaster); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .5s var(--ease-out); }
  .cursor.is-hover .cursor-ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--charcoal); border-color: var(--charcoal); }
  html[data-header-theme="dark"] .cursor.is-hover .cursor-ring { background: var(--ivory); border-color: var(--ivory); }
  html[data-header-theme="dark"] .cursor-label { color: var(--obsidian); }
  .cursor.is-hover .cursor-label { opacity: 1; transform: none; }
  .cursor.is-hover .cursor-dot { opacity: 0; }
  .cursor.is-down .cursor-ring { transform: scale(.9); }
}

/* ---------- Scroll reveal ---------- */
.js [data-reveal]:not([data-stagger]) { opacity: 0; transform: translateY(32px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.js [data-reveal].is-revealed:not([data-stagger]) { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-stagger].is-revealed > * { opacity: 1; transform: none; }
.js .look[data-reveal] { transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.js .look.is-revealed.is-leaving { opacity: 0; transform: translateY(18px) scale(.985); transition-duration: .5s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .measure-bar { grid-template-columns: repeat(4, 1fr); }
  .measure-bar > div { border-bottom: 1px solid var(--rule); }
  .measure-bar > div:nth-child(4n) { border-right: 0; margin-right: 0; }
  .measure-bar > div:nth-last-child(-n+3) { border-bottom: 0; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metrics > div:nth-child(2n) { border-right: 0; margin-right: 0; }
  .metrics > div:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .partners-grid { grid-template-columns: 1fr; }
  .booking-grid { grid-template-columns: 1fr; }
  .booking-side { flex-direction: row; flex-wrap: wrap; }
  .booking-side > * { flex: 1 1 300px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 14px; justify-self: end; padding: 10px 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
  .menu-bars { display: grid; gap: 5px; width: 22px; }
  .menu-bars i { display: block; height: 1px; background: currentColor; transition: transform .5s var(--ease-out); transform-origin: center; }
  .menu-toggle[aria-expanded="true"] .menu-bars i:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-bars i:last-child { transform: translateY(-3px) rotate(-45deg); }
  body.menu-open .site-header { color: var(--charcoal); background: transparent; border-color: transparent; }

  .hero { padding-top: calc(var(--header-h) + 24px); justify-content: flex-end; }
  .hero-media { inset: 0; -webkit-mask-image: none; mask-image: none; }
  .hero-media img { object-position: 50% 0%; height: 112%; }
  .hero-veil { background: linear-gradient(0deg, rgba(243, 239, 232, .98) 0%, rgba(243, 239, 232, .92) 38%, rgba(243, 239, 232, .7) 58%, rgba(243, 239, 232, 0) 84%); }
  .hero-eyebrow { font-size: 10px; margin-bottom: 20px; }
  .hero-loc { display: none; }
  .hero-title { font-size: clamp(60px, 17vw, 120px); }
  .hero-statement { max-width: none; margin-top: 28px; }
  .hero-hook { font-size: clamp(20px, 5.5vw, 26px); margin-bottom: 10px; }
  .hero-statement p { font-size: 14.5px; }
  .hero-actions { margin-top: 24px; }
  .hero-index { display: none; }
  .hero-scroll { position: static; margin-top: 24px; }

  .work-head, .section-head-split, .compcard-foot, .partners-cta { flex-direction: column; align-items: flex-start; }
  .lookbook { display: flex; flex-direction: column; gap: clamp(56px, 12vw, 88px); }
  .look, .look[data-slot] { margin-top: 0 !important; width: 100%; }
  .look[data-slot="0"], .look:nth-child(1) { --ratio: 4 / 5; }
  .look[data-slot="1"], .look:nth-child(2) { width: 78%; align-self: flex-end; --ratio: 3 / 4; }
  .look[data-slot="2"], .look:nth-child(3) { width: 86%; --ratio: 3 / 4; }
  .look[data-slot="3"], .look:nth-child(4) { --ratio: 1 / 1; }
  .look[data-slot="4"], .look:nth-child(5) { width: 78%; align-self: flex-end; --ratio: 2 / 3; }
  .look[data-slot="5"], .look:nth-child(6) { width: 86%; --ratio: 4 / 5; }
  .look-title { font-size: 19px; }

  .statement { grid-template-columns: 1fr; row-gap: 40px; }
  .statement-media { grid-column: 1; position: static; width: 72%; }
  .statement-copy { grid-column: 1; padding-top: 0; }
  .statement-facts { grid-template-columns: 1fr 1fr; }

  .versatility li { grid-template-columns: 1fr; gap: 8px; }
  .collab-list li { grid-template-columns: 1fr auto; }
  .collab-scope { grid-column: 1; }
  .collab-year { grid-column: 2; grid-row: 1; }

  .booking-primary { padding: 24px 22px; }
  .booking-secondary { gap: 0 24px; }
  .site-footer { grid-template-columns: 1fr; text-align: left; gap: 16px; }
  .footer-copy { text-align: left; }
  .footer-nav { justify-self: start; }

  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    display: grid; grid-template-columns: 1fr 1.4fr;
    background: rgba(14, 13, 12, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    color: var(--ivory);
    padding: 0 0 env(safe-area-inset-bottom);
    transform: translateY(110%);
    transition: transform .7s var(--ease-in-out);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta a { display: grid; place-items: center; min-height: 58px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
  .mobile-cta-primary { background: var(--ivory); color: var(--obsidian); }
  .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }

  .lightbox-nav { width: 50%; }
  .lightbox-nav::before { display: none; }
  .lightbox-foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .lightbox-caption-group { max-width: 100%; }
  .lightbox-thumbs { max-width: 100%; width: 100%; }
  #lightbox-caption { font-size: 18px; }
  .lightbox-figure img { max-height: 72dvh; }
  .look[data-orphan] { align-self: center !important; width: 92% !important; }
}

@media (max-width: 560px) {
  :root { --gutter: 20px; --section: 88px; }
  .look figcaption { grid-template-columns: auto 1fr; row-gap: 8px; }
  .look-cat { grid-column: 2; text-align: right; }
  .look-credit { grid-column: 1 / -1; }
  .measure-bar { grid-template-columns: repeat(2, 1fr); }
  .measure-bar > div { padding: 22px 16px 24px 0; margin-right: 16px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .measure-bar > div:nth-child(2n) { border-right: 0; margin-right: 0; }
  .measure-bar > div:nth-child(4n) { border-right: 0; }
  .measure-bar > div:nth-child(odd):nth-last-child(-n+2), .measure-bar > div:last-child { border-bottom: 0; }
  .measure-bar dd { font-size: 30px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics > div { padding: 24px 16px 24px 0; margin-right: 16px; }
  .metrics dd { font-size: 48px; }
  .collab-list li { grid-template-columns: 1fr; gap: 6px; }
  .collab-year { grid-row: auto; }
  .filters { gap: 0 20px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .booking-primary-label { font-size: 24px; }
  .booking-side { flex-direction: column; }
  .statement-media { width: 86%; }
  .ticker span { font-size: 15px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .loader { display: none; }
  .hero-in, .hero-title .line > span { opacity: 1; transform: none; }
  .hero-media img { transform: none; }
  .js [data-reveal], .js [data-stagger] > * { opacity: 1; transform: none; }
  .cursor { display: none !important; }
  html.has-cursor, html.has-cursor * { cursor: auto !important; }
}
