/* VV Sreekuttan. Dark editorial personal site after iman-gadzhi.com.
   Type: Reckless Neue (Newsreader until licensed) for headings, Mona Sans Condensed for
   navigation and labels, Inter for body. Shape rule: cards 18px, media 16px, buttons and
   inputs 8px, round icon buttons and tags. */
:root {
  --bg: #000;
  --surface: #0d0d0d;
  --surface-2: #1a1a1a;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .18);
  --text: #fff;
  --muted: rgba(255, 255, 255, .72);
  --faint: rgba(255, 255, 255, .5);
  --serif: 'Reckless Neue', 'Newsreader', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --caps: 'Mona Sans Condensed', 'Arial Narrow', sans-serif;
  --gutter: clamp(20px, 4vw, 40px);
  --max: 1000px;
  --r-card: 18px;
  --r-media: 16px;
  --r-control: 8px;
  --card-bg: linear-gradient(135deg, #1e1e1e 0%, #0d0d0d 58%, #050505 100%);
  --card-glow: 0 24px 70px -44px rgba(255, 255, 255, .34);
  --card-pad: clamp(22px, 2.6vw, 36px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.has-dialog { overflow: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; flex: none; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--text); color: var(--bg); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 18px; border-radius: var(--r-control);
  background: var(--text); color: var(--bg); text-decoration: none; font-weight: 500;
  transform: translateY(-150%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

/* Type */
.display {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.625rem);
}
.eyebrow, .meta {
  font-family: var(--caps); font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .8125rem;
  color: var(--muted);
  margin: 0 0 14px;
}
.meta { letter-spacing: .14em; }
.section { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; padding-block: clamp(80px, 11vw, 150px); }
.section-title { text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: .9375rem; text-decoration: none;
  min-height: 44px; border-bottom: 1px solid var(--line-strong);
  transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.text-link:hover { border-color: var(--text); gap: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: var(--r-control);
  font-weight: 600; font-size: .9375rem; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-light { background: #fff; color: #000; }
.btn-light:hover { background: #e6e6e6; }
.btn-ghost { border-color: var(--line-strong); background: transparent; }
.btn-ghost:hover { border-color: var(--text); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: transform .45s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(0, 0, 0, .78);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }
.nav {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 72px; width: min(100% - 2 * var(--gutter), 1100px); margin-inline: auto;
}
.nav-side { display: flex; gap: clamp(28px, 5vw, 72px); list-style: none; margin: 0; padding: 0; }
.nav-left { justify-content: flex-end; padding-right: clamp(28px, 5vw, 72px); }
.nav-right { padding-left: clamp(28px, 5vw, 72px); }
.nav-side a, .mobile-nav a {
  font-family: var(--caps); font-weight: 600; font-size: .875rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: rgba(255, 255, 255, .82); transition: color .3s var(--ease);
}
.nav-side a:hover { color: #fff; }
.wordmark {
  font-family: var(--serif); font-weight: 500; font-size: 1rem; letter-spacing: .24em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center; min-height: 44px;
}
.menu-toggle { display: none; }
.mobile-nav { display: none; }

/* Hero: the photo keeps its original colour. The name is filled with a precomputed
   map of |#a8a8a8 - luminance(photo)|, i.e. the reference's difference blend done in
   neutral grey, so it reads dark over bright areas and light over dark ones. Both the
   photo and the map use identical cover sizing so they stay aligned. */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; isolation: isolate; background: var(--bg); }
.hero-stage { position: absolute; inset: 0; }
.hero-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-x, 46%) var(--hero-y, 30%); }
.hero-bg { z-index: 0; }
.hero-name {
  position: absolute; inset: 0; z-index: 1; margin: 0;
  display: grid; place-items: center; pointer-events: none;
  background: url(assets/hero-wide-name.webp) var(--hero-x, 46%) var(--hero-y, 30%) / cover no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-family: var(--serif); font-weight: 500; text-transform: uppercase; white-space: nowrap;
  /* Width matches the reference: 883px at 1440px, about 75% of a phone screen. */
  font-size: calc(max(61.3vw, min(100vw - 96px, 883px)) * 0.1136);
  line-height: .95; letter-spacing: 0;
}
.hero-shade {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.62) 0%, rgba(0,0,0,0) 20%),
    linear-gradient(to top, var(--bg) 0%, rgba(0,0,0,.78) 16%, rgba(0,0,0,0) 46%),
    radial-gradient(ellipse 80% 70% at 50% 45%, transparent 55%, rgba(0,0,0,.45) 100%);
}
.hero-foot {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: clamp(20px, 4vh, 40px);
  display: grid; justify-items: center; gap: 14px; padding-inline: var(--gutter); text-align: center;
}
.hero-role {
  margin: 0; font-family: var(--caps); text-transform: uppercase; letter-spacing: .3em;
  font-size: clamp(.72rem, 1.1vw, .86rem); color: rgba(255, 255, 255, .86);
}
.hero-next {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  color: var(--text); font-size: 1.5rem; text-decoration: none;
}
/* Scroll cue, after the reference: one chevron settles in, a second appears just below it,
   then both fade in turn, on a 1.5s loop. Static pair with reduced motion. */
.scroll-cue { position: relative; display: block; width: 22px; height: 26px; }
.scroll-cue svg { position: absolute; left: 0; width: 22px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.scroll-cue svg:first-child { top: 2px; }
.scroll-cue svg:last-child { top: 13px; opacity: .45; }
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue svg:first-child { animation: cue-a 1.5s cubic-bezier(.4, 0, .2, 1) infinite; }
  .scroll-cue svg:last-child { animation: cue-b 1.5s cubic-bezier(.4, 0, .2, 1) infinite; }
}
@keyframes cue-a { 0% { opacity: 0; transform: translateY(-4px); } 18% { opacity: 1; transform: none; } 42% { opacity: 1; } 62%, 100% { opacity: 0; transform: none; } }
@keyframes cue-b { 0%, 22% { opacity: 0; transform: translateY(-3px); } 40% { opacity: 1; transform: none; } 66% { opacity: 1; } 86%, 100% { opacity: 0; transform: translateY(2px); } }

/* Logo strip */
.logo-strip { padding: clamp(56px, 8vw, 96px) var(--gutter) 0; text-align: center; }
.strip-title {
  margin: 0 0 clamp(28px, 4vw, 44px);
  font-family: var(--sans); font-weight: 400; text-transform: uppercase; letter-spacing: .04em; font-size: .9375rem; color: var(--muted);
}
.strip-logos {
  list-style: none; margin: 0 auto; padding: 0; max-width: 980px;
  display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; gap: clamp(20px, 5vw, 64px);
}
.strip-logos a { display: grid; place-items: center; height: clamp(72px, 9vw, 104px); }
.strip-logos img {
  height: var(--logo-h); width: auto; max-width: 100%; object-fit: contain;
  mix-blend-mode: lighten; filter: grayscale(1) brightness(1.15); opacity: .72;
  transition: filter .5s var(--ease), opacity .5s var(--ease);
}
.strip-logos a:hover img, .strip-logos a:focus-visible img { filter: none; opacity: 1; }
.strip-logos .logo-calliope { --logo-h: clamp(34px, 4.4vw, 56px); }
.strip-logos .logo-wild { --logo-h: clamp(60px, 7.4vw, 92px); }
.strip-logos .logo-crown { --logo-h: clamp(40px, 5.2vw, 66px); }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(24px, 3.5vw, 44px); align-items: center; padding: var(--card-pad); margin-block: clamp(80px, 11vw, 150px); background: var(--card-bg); border-radius: var(--r-card); box-shadow: var(--card-glow); }
.about-portrait { margin: 0; border-radius: var(--r-media); overflow: hidden; background: var(--surface); aspect-ratio: 4 / 5; }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-copy .display { margin-bottom: 16px; font-weight: 600; font-size: 1.75rem; letter-spacing: 0; }
.about-copy p { color: var(--muted); max-width: 58ch; margin: 0 0 18px; }
.about-copy a { color: var(--text); text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.about-copy a:hover { text-decoration-color: currentColor; }
.about-copy .lead { color: var(--text); font-size: clamp(1.05rem, 1.3vw, 1.15rem); line-height: 1.6; }
.small-note { font-size: .92rem; }
.small-note a { text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.small-note a:hover { text-decoration-color: currentColor; }
.signature { width: 190px; margin-top: 24px; opacity: .92; }

/* Reference-style divider: a short vertical line fading in and out */
.section-divider { display: block; width: 1px; height: clamp(88px, 9vw, 132px); margin: 0 auto; background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.34) 50%, rgba(255,255,255,0)); }

/* Journey: milestones grouped by year, read straight down the page (no scroll hijacking) */
.journey { padding-block: clamp(72px, 9vw, 130px); }
.journey-inner { width: min(100% - 2 * var(--gutter), var(--max)); margin: 0 auto; }
.journey .section-title { margin-bottom: 14px; }
.journey-intro { text-align: center; color: var(--muted); margin: 0 0 clamp(40px, 6vw, 64px); }
/* Filters */
.jr-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(40px, 5vw, 64px); }
.jr-filters[hidden] { display: none; }
.jr-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--muted); cursor: pointer;
  font-family: var(--caps); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.jr-chip span { font-family: var(--sans); font-size: .75rem; letter-spacing: 0; opacity: .6; }
.jr-chip:hover { color: #fff; border-color: rgba(255, 255, 255, .45); }
.jr-chip[aria-pressed="true"] { background: #fff; border-color: #fff; color: #000; }
/* Layout: sticky "now viewing" panel beside the timeline */
.jr { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.jr-now { position: sticky; top: 120px; display: grid; gap: 10px; }
.jr-now-label { font-family: var(--caps); font-weight: 600; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.jr-now-year { font-family: var(--serif); font-weight: 600; font-size: clamp(3.5rem, 6vw, 5.5rem); line-height: .9; letter-spacing: -.04em; }
.jr-now-year.is-flipping { animation: jr-flip .5s var(--ease); }
@keyframes jr-flip { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.jr-now-count { color: var(--muted); font-size: .95rem; }
.jr-now-bar { display: block; height: 2px; margin-top: 10px; background: var(--line-strong); border-radius: 2px; overflow: hidden; }
.jr-now-bar i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
/* Rail and year groups */
.jr-list { position: relative; list-style: none; margin: 0; padding: 0 0 0 40px; }
.jr-list::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1px; background: var(--line-strong); }
.jr-fill { position: absolute; left: 7px; top: 10px; width: 1px; height: calc(var(--p, 0) * (100% - 20px)); background: #fff; list-style: none; }
.jr-group { position: relative; padding-bottom: clamp(24px, 3vw, 36px); }
.jr-group:last-child { padding-bottom: 0; }
.jr-dot { position: absolute; left: -40px; top: 4px; width: 15px; height: 15px; border-radius: 999px; background: var(--bg); border: 1px solid rgba(255, 255, 255, .35); transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
.jr-group.is-past .jr-dot { background: #fff; border-color: #fff; }
.jr-group.is-active .jr-dot { background: #fff; border-color: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .14); }
.jr-year { display: block; margin-bottom: 12px; font-family: var(--caps); font-weight: 600; font-size: .875rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .55); transition: color .4s var(--ease); }
.jr-group.is-active .jr-year, .jr-group.is-past .jr-year { color: #fff; }
.jr-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.jr-item {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 20px;
  border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.jr-item:hover { background: rgba(255, 255, 255, .06); border-color: var(--line-strong); transform: translateX(4px); }
.jr-item[hidden], .jr-group[hidden] { display: none; }
.jr-item h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.2; }
.jr-item p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.jr-item .tag { flex: none; margin-top: 3px; }
.jr-next .jr-item { border-style: dashed; border-color: var(--line-strong); background: transparent; }
.jr-item.is-entering { animation: jr-in .45s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes jr-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .jr-item, .jr-dot, .jr-year { transition: none; } .jr-item:hover { transform: none; } }
.journey-more { margin-top: 28px; }
.tl-btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; font-size: 1.1rem;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), opacity .3s var(--ease);
}
.tl-btn[data-tl="prev"] svg { transform: scaleX(-1); }
.tl-btn:hover:not(:disabled) { border-color: var(--text); background: var(--surface-2); }
.tl-btn:disabled { opacity: .3; cursor: default; }
.tag {
  display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-family: var(--caps); text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; line-height: 1; color: var(--text);
}
.tag-solid { background: var(--text); border-color: var(--text); color: var(--bg); }
.meta .tag { margin-right: 10px; vertical-align: 1px; }



/* Wild Vogue approach carousel: photos keep their natural proportions at a shared height */
.carousel { margin-bottom: clamp(48px, 7vw, 88px); }
.carousel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.carousel-head h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.carousel-track {
  display: flex; gap: clamp(14px, 1.6vw, 22px); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; padding-bottom: 4px;
  margin-right: calc((100% - 100vw) / 2); padding-right: calc((100vw - 100%) / 2);
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.carousel-track:focus-visible { outline-offset: 4px; }
.slide { flex: none; width: clamp(260px, 30vw, 400px); margin: 0; scroll-snap-align: start; }
.slide-img { aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--r-media); background: var(--surface); }
.slide-img img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; transition: transform 1.2s var(--ease); }
.slide:hover .slide-img img { transform: scale(1.03); }
.slide figcaption { margin-top: 16px; max-width: 34ch; color: var(--muted); font-size: .95rem; }
.slide figcaption strong { display: block; margin-bottom: 4px; color: var(--text); font-family: var(--serif); font-weight: 600; font-size: 1.35rem; }
.tl-btn[data-carousel="prev"] svg { transform: scaleX(-1); }
.carousel-controls { display: flex; gap: 10px; flex: none; }
.carousel-foot { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); margin-top: 22px; }
.carousel-dots { display: flex; gap: 4px; }
.carousel-dots button { position: relative; width: clamp(44px, 5vw, 64px); height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.carousel-dots button::before, .carousel-dots button::after { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 2px; border-radius: 2px; }
.carousel-dots button::before { background: var(--line-strong); transition: background-color .3s var(--ease); }
.carousel-dots button:hover::before { background: rgba(255, 255, 255, .4); }
.carousel-dots button::after { background: var(--text); transform: scaleX(0); transform-origin: left center; }
.carousel-dots button[aria-current="true"]::after { transform: scaleX(1); }
/* Autoplay: the active bar fills over the slide's display time; when full, the slide moves on */
.carousel.is-autoplay .carousel-dots button[aria-current="true"]::after { animation: carousel-fill 4s linear both; }
.carousel.is-paused .carousel-dots button[aria-current="true"]::after { animation-play-state: paused; }
@keyframes carousel-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.carousel-count { margin: 0 0 0 auto; font-family: var(--caps); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.carousel-count span { color: var(--text); }
/* Slider mode (script.js): a clipped window that runs to the right edge of the screen */
.carousel.is-slider .carousel-viewport { overflow: hidden; margin-right: calc((100% - 100vw) / 2); touch-action: pan-y; cursor: grab; border-radius: var(--r-media) 0 0 var(--r-media); }
.carousel.is-slider .carousel-viewport:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
.carousel.is-slider .carousel-viewport.is-dragging { cursor: grabbing; user-select: none; }
.carousel.is-slider .carousel-track { position: relative; overflow: visible; margin-right: 0; padding-right: 0; scroll-snap-type: none; cursor: inherit; will-change: transform; }
.carousel.is-slider .carousel-track.is-animating { transition: transform .7s cubic-bezier(.65, 0, .2, 1); }
.carousel.is-slider .slide figcaption { user-select: none; }
.initiative-wide { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.initiative-wide .initiative-img { aspect-ratio: 3 / 2; height: 100%; }
.initiative-wide .initiative-copy { justify-content: center; }
.about-more { margin-top: 10px; }

/* About page */
.subpage main { padding-top: 0; }
.nav-side a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 8px; text-decoration-color: rgba(255, 255, 255, .5); }
.mobile-nav a[aria-current="page"] { color: #fff; }
/* Hero: copy and a 4:5 portrait, vertically centred in the first screen */
.page-hero { position: relative; isolation: isolate; min-height: max(100svh, 720px); display: flex; flex-direction: column; overflow: hidden; }
.page-hero-media { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: min(58%, 900px); margin: 0; }
.page-hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.08) 8%, rgba(0,0,0,.3) 17%, rgba(0,0,0,.62) 27%, rgba(0,0,0,.88) 36%, #000 44%), linear-gradient(to top, transparent 0%, rgba(0,0,0,.35) 12%, #000 30%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.08) 8%, rgba(0,0,0,.3) 17%, rgba(0,0,0,.62) 27%, rgba(0,0,0,.88) 36%, #000 44%), linear-gradient(to top, transparent 0%, rgba(0,0,0,.35) 12%, #000 30%);
  mask-composite: intersect;
}
.page-hero-inner {
  flex: 1; width: min(100% - 2 * var(--gutter), 1200px); margin: 0 auto;
  display: grid; grid-template-rows: 1fr auto; padding: 112px 0 clamp(28px, 4vw, 48px);
}
.page-hero-copy { align-self: center; max-width: 640px; }
.breadcrumb { display: flex; gap: 10px; margin-bottom: 28px; font-family: var(--caps); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; color: var(--muted); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; margin-block: -14px; color: var(--text); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.page-hero .eyebrow { margin: 0 0 18px; color: rgba(255, 255, 255, .82); }
.page-title { margin: 0 0 28px; font-family: var(--serif); font-weight: 600; font-size: clamp(3.75rem, min(9vw, 13.5svh), 8.5rem); line-height: .9; letter-spacing: -.035em; }
.page-title span { display: block; }
.page-hero .lead { max-width: 44ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.65; margin: 0; color: rgba(255, 255, 255, .82); }
.page-hero .signature { width: 200px; margin-top: 28px; }
.hero-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(40px, 6vh, 72px) 0 0; border-top: 1px solid var(--line-strong); }
.hero-facts div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 22px 24px 0 0; }
.hero-facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.hero-facts dd { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 3.2vw, 2.875rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-facts dt { font-family: var(--caps); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; line-height: 1.5; color: var(--muted); max-width: 22ch; }
.page-hero-next { position: absolute; right: var(--gutter); bottom: clamp(28px, 4vw, 48px); }
/* Biography: sticky side column with section links; a comfortable reading column */
.bio { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.bio-aside { position: sticky; top: 104px; }
.bio-aside .display { margin-bottom: 24px; }
.bio-toc { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.bio-toc a { padding: 10px 0 10px 18px; color: var(--muted); text-decoration: none; font-size: .95rem; min-height: 44px; display: flex; align-items: center; transition: color .3s var(--ease); }
.bio-toc a:hover { color: var(--text); }
.prose { max-width: 66ch; }
.prose p { margin: 0 0 1.25em; color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
.prose .prose-lead { color: var(--text); font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.7; margin-bottom: 1.6em; }
.prose h3 { margin: 2.2em 0 .6em; font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 2vw, 1.75rem); scroll-margin-top: 96px; }
.prose a { color: var(--text); text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.prose a:hover { text-decoration-color: currentColor; }
.figure-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
.figure-pair figure { margin: 0; }
.figure-pair img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-media); }
.figure-pair figcaption { margin-top: 10px; color: var(--muted); font-size: .88rem; }
.record-callout {
  display: grid; grid-template-columns: auto 1fr 1fr; align-items: center; gap: clamp(16px, 3vw, 36px);
  margin: 28px 0 8px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-card);
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
}
.record-callout img { height: 52px; width: auto; opacity: .92; }
.record-callout strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: .9; }
.record-callout span { display: block; margin-top: 8px; font-family: var(--caps); text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; color: var(--muted); }
/* Vertical timeline */
.vtl { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; position: relative; }
.vtl::before { content: ""; position: absolute; left: 119px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(to bottom, var(--line-strong), var(--line-strong) 82%, transparent); }
.vtl li { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 48px; padding: 0 0 36px; }
.vtl li::before { content: ""; position: absolute; left: 114px; top: 12px; width: 11px; height: 11px; border-radius: 999px; background: var(--bg); border: 1px solid var(--text); }
.vtl time, .vtl-year { font-family: var(--serif); font-weight: 500; font-size: 2rem; line-height: 1; color: rgba(255, 255, 255, .5); text-align: right; }
.vtl-year { font-family: var(--caps); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text); padding-top: 8px; }
.vtl li > div { padding-top: 2px; }
.vtl .tag { margin-bottom: 10px; }
.vtl h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 600; font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.2; }
.vtl p { margin: 0; color: var(--muted); max-width: 56ch; }
.vtl li.is-upcoming::before { background: var(--text); box-shadow: 0 0 0 6px rgba(255, 255, 255, .1); }
/* Split section (Global Green Vogue) */
.journey-full .section-title { margin-bottom: clamp(48px, 6vw, 72px); }
.split-section { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-img { margin: 0; }
.split-img img { width: 100%; height: auto; border-radius: var(--r-card); }
.split-copy .display { margin-bottom: 18px; }
.split-copy p:not(.meta) { color: var(--muted); max-width: 52ch; margin: 0 0 16px; }
/* Closing call to action */

/* Vision */
.vision-head { max-width: 860px; margin: 0 auto clamp(48px, 7vw, 88px); text-align: center; }
.vision-copy { color: var(--muted); max-width: 60ch; margin: 28px auto 0; font-size: 1.05rem; }
.vision-gallery { display: flex; max-width: 1040px; margin-inline: auto; gap: clamp(16px, 2.5vw, 32px); align-items: flex-start; }
.vision-gallery figure { flex: var(--ar, 1) 1 0; min-width: 0; }
.vision-gallery figure { margin: 0; }
.vision-gallery img { width: 100%; height: auto; border-radius: var(--r-media); }
.vision-b { margin-top: 0; }
.vision-gallery figcaption { margin-top: 14px; color: var(--muted); font-size: .92rem; }
.vision-gallery figcaption strong { color: var(--text); font-weight: 500; }

/* Ventures: stacked company cards, as on the reference */
.venture-list { display: grid; gap: clamp(16px, 2vw, 24px); }
/* Calliope Media: the company card, then its event franchises */
.project-company .project-img { aspect-ratio: 4 / 3; }
.project-company .project-img img { object-position: 45% 40%; }
.company-logo { height: clamp(40px, 4vw, 52px); width: auto; margin-bottom: 20px; }
.franchises { margin-top: 0; }
.franchises-head { text-align: center; margin: clamp(56px, 7vw, 96px) auto clamp(28px, 4vw, 44px); max-width: 640px; }
.franchises-title { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(1.875rem, 3vw, 2.625rem); line-height: 1.05; letter-spacing: -.03em; }
.franchises-head p { margin: 14px 0 0; color: var(--muted); }
.franchise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.franchise { display: flex; flex-direction: column; padding: var(--card-pad); background: var(--card-bg); border-radius: var(--r-card); box-shadow: var(--card-glow); }
.franchise-logo { --fh: clamp(120px, 11vw, 150px); display: grid; place-items: center; height: var(--fh); margin-bottom: 20px; border-radius: var(--r-media); background: #000; }
.franchise-logo img { width: auto; height: auto; max-width: 62%; max-height: calc(var(--fh) * .6); object-fit: contain; }
.franchise-logo-tall img { max-height: calc(var(--fh) * .8); }
.franchise h4 { margin: 0 0 8px; font-family: var(--serif); font-weight: 600; font-size: 1.375rem; line-height: 1.15; }
.franchise p { margin: 0; color: var(--muted); font-size: .95rem; }
.franchise .franchise-latest { margin-top: auto; padding-top: 16px; color: var(--text); font-size: .875rem; }
/* Wild Vogue: the approach carousel follows the vision photos */
.vision .carousel { margin: clamp(64px, 8vw, 110px) 0 0; }
.initiative.initiative-wide { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
.venture {
  display: grid; grid-template-columns: minmax(180px, 300px) 1fr; gap: clamp(24px, 5vw, 64px); align-items: center;
  padding: clamp(20px, 3vw, 32px);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
  transition: border-color .4s var(--ease);
}
.venture-logo { aspect-ratio: 4 / 3; border-radius: var(--r-media); background: #000; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.venture-logo img { width: 62%; height: auto; max-height: 64%; object-fit: contain; }
.venture-logo-tall img { width: auto; height: 70%; max-height: 70%; }
.venture h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 2vw, 1.75rem); line-height: 1.1; margin: 0 0 12px; }
.venture p { color: var(--muted); margin: 0 0 18px; max-width: 58ch; }

/* Work */
.feature { display: grid; gap: clamp(24px, 3vw, 40px); }
.feature > *, .feature-media > *, .projects > *, .initiative-grid > *, .contact-card > * { min-width: 0; }
.feature-copy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(16px, 4vw, 64px); align-items: end; }
.feature-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.75rem, 2.4vw, 2.1rem); line-height: 1; margin: 0; }
.feature-copy p:not(.meta) { color: var(--muted); margin: 0 0 22px; max-width: 52ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* Three equal 2:3 tiles: the runway photos are 2:3, so they show uncropped. */
.feature-media { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 24px); }
.feature-film, .feature-photo {
  position: relative; width: 100%; aspect-ratio: 2 / 3; padding: 0; border: 0; border-radius: var(--r-media);
  overflow: hidden; background: var(--surface); cursor: pointer;
}
.feature-photo { cursor: zoom-in; }
.feature-film img, .feature-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature-film:hover img, .feature-photo:hover img { transform: scale(1.04); }
.feature-film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), transparent 45%); }
.play-badge {
  position: absolute; z-index: 1; left: 50%; top: 50%; translate: -50% -50%;
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--bg); font-size: 1.4rem; padding-left: 4px;
  transition: transform .4s var(--ease);
}
.feature-film:hover .play-badge { transform: scale(1.08); }
.film-label { position: absolute; z-index: 1; left: 20px; bottom: 18px; font-family: var(--caps); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; }

.projects { display: grid; gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(56px, 7vw, 96px); }
.record-highlight { width: min(100% - 2 * var(--gutter), var(--max)); margin: 0 auto clamp(80px, 11vw, 150px); }
.project {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: stretch;
  border-radius: var(--r-card); overflow: hidden; background: var(--surface); border: 1px solid var(--line);
}
.project-s01 { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.project-s01 .project-img { order: 2; }
.project-record .project-img { aspect-ratio: auto; min-height: 380px; }
.project-record .project-img img { object-position: 50% 35%; }
.project-record .record-logo { height: clamp(40px, 4vw, 52px); width: auto; margin-bottom: 22px; opacity: .92; }
.project-img { overflow: hidden; aspect-ratio: 3 / 2; }
.project-img-tall { aspect-ratio: 2 / 3; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.project:hover .project-img img { transform: scale(1.03); }
.project-copy { padding: clamp(24px, 3.4vw, 48px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.project h3, .project .project-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 2vw, 1.75rem); line-height: 1.1; margin: 0 0 14px; }
.project-copy > p:not(.meta) { color: var(--muted); margin: 0 0 22px; max-width: 48ch; }
.project-stats { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin: 0 0 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-stats div { padding: 18px 8px; text-align: center; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.project-stats div + div { border-left: 1px solid var(--line); }
.project-stats.project-stats-2 { grid-template-columns: repeat(2, 1fr); }
/* Runway 360: photo and copy, then a strip of three 4:5 photos across the card */
.project-r360 .project-img { aspect-ratio: auto; min-height: 360px; }
.project-r360 .project-img img { object-position: 45% 40%; }
/* Selected work cards share one pattern: logo, tag and place, title, copy, facts, photos */
.work-logo { height: clamp(52px, 5vw, 66px); width: auto; margin-bottom: 20px; }
.work-logo-tall { height: clamp(72px, 7vw, 92px); }
.project-work .project-facts { margin-bottom: 24px; }
.project-work .project-stats { margin-top: 0; }
.project-sc .project-img { aspect-ratio: auto; min-height: 420px; }
.project-sc .feature-film { aspect-ratio: auto; height: 100%; border-radius: 0; }
.project-wide .project-img { aspect-ratio: auto; min-height: 360px; }
.project-wide .project-img img { object-position: 50% 40%; }
.carousel-inline.carousel-portrait .slide { width: calc((100% - 32px) / 3); }
.carousel-inline.carousel-portrait .slide-img { aspect-ratio: 2 / 3; }
.project-s01 .project-img { aspect-ratio: auto; }
.projects-lead { margin: 0 0 clamp(56px, 7vw, 96px); }
.project-facts { width: 100%; margin: 4px 0 0; border-top: 1px solid var(--line); }
.project-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.project-facts dt { font-family: var(--caps); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; color: var(--muted); padding-top: 3px; }
.project-facts dd { margin: 0; font-size: .95rem; }
.project-work > * { min-width: 0; }
.carousel-inline { grid-column: 1 / -1; margin: 0; min-width: 0; }
.project-work .project-copy > p:not(.meta) { margin-bottom: 18px; }
.carousel-inline .carousel-track { gap: 16px; }
.carousel-inline .slide { width: calc((100% - 16px) / 2); }
.carousel-inline .slide-img { aspect-ratio: 4 / 3; }
.carousel-inline .carousel-foot { margin-top: 16px; }
.carousel.carousel-inline.is-slider .carousel-viewport { margin-right: 0; border-radius: var(--r-media); }
.project-stats dd { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1; }
.project-stats dt { font-family: var(--caps); text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; color: var(--muted); }

/* Featured in: white monochrome logos in equal cells, in a band between two hairlines.
   script.js repeats the logo set until it overfills the band and scrolls by exactly one
   set width, so the loop is seamless at any screen size and moves at a constant speed. */
.press { padding: clamp(56px, 8vw, 96px) 0 0; text-align: center; }
.press .strip-title { margin-bottom: clamp(20px, 3vw, 32px); }
.press-logos { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.press-logos li { flex: none; width: clamp(150px, 15vw, 200px); }
.press-logos li > * { display: grid; place-items: center; height: 72px; }
.press-logos img { height: var(--logo-h); width: auto; max-width: 140px; object-fit: contain; opacity: .72; transition: opacity .4s var(--ease); }
.press-logos a:hover img, .press-logos a:focus-visible img { opacity: 1; }
.press-wide { --logo-h: 22px; }
.press-mid { --logo-h: 36px; }
.press-square { --logo-h: 54px; }
.marquee {
  overflow: hidden; padding-block: clamp(18px, 2.4vw, 28px); border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; }
.marquee.is-running .marquee-track { animation: marquee var(--marquee-dur, 40s) linear infinite; will-change: transform; }
.marquee.is-running:hover .marquee-track, .marquee.is-running:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-1 * var(--marquee-shift, 0px))); } }
/* Without the script, or with reduced motion: a static, centred, wrapped row */
.marquee:not(.is-running) { -webkit-mask-image: none; mask-image: none; }
.marquee:not(.is-running) .marquee-track { width: auto; }
.marquee:not(.is-running) .press-logos { flex-wrap: wrap; justify-content: center; row-gap: 12px; }

/* Backstage band: wide photo fading into the page, copy over its dark lower edge
   so it never covers faces. */
.backstage { position: relative; isolation: isolate; }
.backstage-img {
  display: block; width: min(100%, var(--max)); height: auto; margin: 0 auto;
  filter: saturate(.8) brightness(.85);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 55%, transparent 100%), linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 55%, transparent 100%), linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-composite: intersect;
}
.backstage-copy { position: relative; width: min(100% - 2 * var(--gutter), var(--max)); margin: clamp(-9rem, -10vw, -3rem) auto 0; padding-bottom: clamp(24px, 4vw, 48px); }
.backstage-copy .display { max-width: 16ch; }
.backstage-copy p { max-width: 52ch; color: rgba(255, 255, 255, .82); margin: 22px 0 0; font-size: 1.05rem; }

/* Initiatives */
.pillars { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(8px, 2vw, 24px) clamp(0px, 2vw, 24px); }
.pillars-photo { margin: 0 0 28px; width: 100%; }
.pillars-photo img { width: 100%; height: auto; border-radius: var(--r-media); }
.pillars-photo figcaption { margin-top: 10px; color: var(--muted); font-size: .88rem; }
.pillars h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 2vw, 1.75rem); line-height: 1.05; margin: 0 0 24px; }
.pillars dl { margin: 0 0 24px; width: 100%; }
.pillars dl > div { padding: 18px 0; border-top: 1px solid var(--line); }
.pillars dt { font-weight: 500; margin-bottom: 6px; }
.pillars dd { margin: 0; color: var(--muted); max-width: 46ch; }
.initiatives-head { text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }
.initiative-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); }
.initiative { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; }
.initiative-img { aspect-ratio: 3 / 2; overflow: hidden; }
.initiative-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform 1.4s var(--ease); }
.initiative:hover .initiative-img img { transform: scale(1.03); }
.initiative-copy { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.initiative h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 2vw, 1.75rem); line-height: 1.1; margin: 0 0 12px; }
.initiative-copy > p:not(.meta) { color: var(--muted); margin: 0 0 18px; }
.ambitions { width: 100%; margin: 0 0 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ambitions summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; list-style: none;
}
.ambitions summary { padding: 14px 0; font-weight: 500; font-size: .95rem; }
.ambitions summary::-webkit-details-marker { display: none; }
.ambitions summary svg { transition: transform .4s var(--ease); font-size: 1.1rem; }
details[open] > summary svg { transform: rotate(45deg); }
.ambitions p { margin: 0 0 16px; color: var(--muted); font-size: .95rem; }


/* Contact */
.contact { position: relative; padding-top: clamp(60px, 9vw, 120px); padding-bottom: clamp(56px, 7vw, 96px); }
.contact .section-divider { margin-bottom: clamp(32px, 5vw, 56px); }
.contact-card {
  display: grid; grid-template-columns: 1fr; max-width: 760px; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
}
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; padding: clamp(22px, 3.4vw, 40px); }
.field { display: grid; gap: 6px; align-content: start; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 500; color: rgba(255, 255, 255, .85); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: var(--r-control);
  background: var(--bg); border: 1px solid var(--line-strong); color: var(--text);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 112px; line-height: 1.6; }
.field ::placeholder { color: rgba(255, 255, 255, .38); opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .32); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px rgba(255, 255, 255, .14); }
.field [aria-invalid="true"] { border-color: #f08a7e; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 44px; cursor: pointer; }
.select-wrap option { background: var(--surface-2); color: var(--text); }
.select-wrap select:invalid { color: rgba(255, 255, 255, .38); }
.select-wrap option[disabled] { color: rgba(255, 255, 255, .38); }
.select-wrap svg { position: absolute; right: 16px; top: 50%; translate: 0 -50%; pointer-events: none; color: var(--muted); }
.field-help { margin: 0; font-size: .84rem; color: var(--muted); }
.field-error { margin: 0; font-size: .84rem; color: #f5a197; min-height: 0; }
.field-error:empty { display: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }
.form-status { margin: 0; font-size: .86rem; color: var(--muted); }
.form-status.is-success { color: #fff; font-weight: 500; }
.form-status.is-error { color: #f5a197; }
.contact-form button[disabled] { opacity: .6; cursor: progress; }
.contact-direct {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  padding: 18px clamp(22px, 3.4vw, 40px); border-top: 1px solid var(--line);
}
.cd-label { margin: 0; color: var(--muted); font-size: .9rem; }
.contact-direct .direct-email { margin-right: auto; font-size: 1.1rem; }
.direct-email { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1.15rem, 1.6vw, 1.35rem); text-decoration: none; line-height: 1.25; }
.direct-email:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--r-control); flex: none;
  background: transparent; border: 1px solid var(--line-strong); cursor: pointer; font-size: .86rem;
  transition: border-color .3s var(--ease);
}
.copy-btn:hover { border-color: var(--text); }
.direct-link { display: flex; align-items: center; gap: 10px; width: fit-content; min-height: 44px; text-decoration: none; color: var(--muted); transition: color .3s var(--ease); }
.direct-link:hover { color: var(--text); }
.direct-link svg { font-size: 1.15rem; }

/* Cards (reference style) */
.venture, .project, .initiative, .contact-card, .record-callout {
  background: var(--card-bg); border: 0; border-radius: var(--r-card); box-shadow: var(--card-glow);
}
.venture { padding: var(--card-pad); }
.project { padding: var(--card-pad); gap: clamp(22px, 3vw, 40px); overflow: visible; }
.project-img { border-radius: var(--r-media); }
.project-copy { padding: 0; }
.initiative { padding: var(--card-pad); gap: 24px; overflow: visible; }
.initiative-img { border-radius: var(--r-media); }
.initiative-copy { padding: 0; }
.initiative-wide { gap: clamp(22px, 3vw, 40px); }
.contact-direct { background: transparent; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 0; }
.footer-inner { width: calc(100% - 2 * var(--gutter)); margin: 0 auto; padding: 40px 0; }
.footer-wordmark { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; }
.footer-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-top: 12px; }
.footer-row p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.55; }
.footer-row p a { color: var(--text); text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.footer-row p a:hover { text-decoration-color: currentColor; }
.socials { display: flex; gap: 12px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; font-size: 1.5rem; color: #fff; transition: opacity .3s var(--ease); }
.socials a:hover { opacity: .7; }

/* Dialogs */
.media-dialog {
  width: min(94vw, 880px); max-height: 92vh; padding: 20px; border: 1px solid var(--line-strong); border-radius: var(--r-card);
  background: var(--surface); color: var(--text);
}
.media-dialog::backdrop { background: rgba(0, 0, 0, .86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.dialog-head h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.6rem; }
.close-dialog { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; font-size: 1.2rem; }
.close-dialog:hover { border-color: var(--text); }
#event-video { width: 100%; max-height: 72vh; border-radius: var(--r-media); background: #000; }
.dialog-note { margin: 12px 0 0; color: var(--muted); font-size: .9rem; }
#gallery-image { width: 100%; max-height: 72vh; object-fit: contain; border-radius: var(--r-media); background: #000; }
.gallery-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.gallery-controls button { min-height: 44px; padding: 0 20px; border-radius: var(--r-control); border: 1px solid var(--line-strong); background: transparent; cursor: pointer; }
.gallery-controls button:hover { border-color: var(--text); }
.gallery-controls span { color: var(--muted); font-size: .9rem; }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-stage { animation: hero-settle 2.6s var(--ease) both; }
  .page-hero-media img { animation: hero-settle 2.4s var(--ease) both; }
  .page-hero-copy > *, .hero-facts > div { animation: rise-in 1.1s var(--ease) both; }
  .page-hero-copy > :nth-child(2) { animation-delay: .1s; }
  .page-hero-copy > :nth-child(3) { animation-delay: .2s; }
  .page-hero-copy > :nth-child(4) { animation-delay: .32s; }
  .page-hero-copy > :nth-child(5) { animation-delay: .44s; }
  .hero-facts > div:nth-child(1) { animation-delay: .5s; }
  .hero-facts > div:nth-child(2) { animation-delay: .58s; }
  .hero-facts > div:nth-child(3) { animation-delay: .66s; }
  .hero-facts > div:nth-child(4) { animation-delay: .74s; }
  .hero-name { animation: fade-in 1.8s .3s var(--ease) both; }
  .hero-foot { animation: fade-in 1.4s 1s var(--ease) both; }
  .motion-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
  .motion-ready .reveal.visible { opacity: 1; transform: none; }
  .motion-ready .vtl .reveal { transition-delay: calc(var(--i, 0) * 90ms); }
}
@keyframes hero-settle { from { transform: scale(1.08); filter: brightness(.4); } to { transform: none; filter: none; } }
@keyframes name-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Portrait screens use the tall hero photograph */
@media (max-aspect-ratio: 1/1) {
  .hero { --hero-x: 36%; --hero-y: 50%; min-height: 600px; }
  /* The photo and the name share one layer (.hero-stage), so the shade moves inside it,
     between the photo and the name, and the name stays bright. */
  .hero-shade { display: none; }
  .hero-bg { transform: scale(1.15); transform-origin: 40% 30%; }
  .hero-stage::after {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
      linear-gradient(to bottom, rgba(0,0,0,.62) 0%, rgba(0,0,0,0) 20%),
      linear-gradient(to top, var(--bg) 0%, rgba(0,0,0,.82) 18%, rgba(0,0,0,0) 48%);
  }
  /* Over the dark, shaded lower edge the reference's difference blend reads as its base
     grey (#a8a8a8), so the name is set in that silver tone, above the shade layer. */
  .hero-name {
    background: linear-gradient(to bottom, #e2e2e2, #a8a8a8);
    -webkit-background-clip: text; background-clip: text;
    place-items: end center;
    padding-bottom: calc(clamp(20px, 4vh, 40px) + 122px);
    filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .55));
    font-size: calc((100vw - 2 * var(--gutter)) * 0.1136);
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .feature-copy { grid-template-columns: 1fr; align-items: start; }
  .project, .project-s01, .project-record { grid-template-columns: 1fr; }
  .franchise-grid { grid-template-columns: 1fr 1fr; }
  .jr { grid-template-columns: minmax(0, 180px) minmax(0, 1fr); }
  .franchise-grid > :last-child { grid-column: 1 / -1; }
  .project-s01 .project-img { order: 0; }
  .project-record .project-img, .project-r360 .project-img, .project-wide .project-img { aspect-ratio: 3 / 2; min-height: 0; }
  .project-sc .project-img { aspect-ratio: 4 / 5; min-height: 0; }
  .page-hero-media { width: 64%; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .hero-facts div:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* Phone */
@media (max-width: 760px) {
  .nav { grid-template-columns: 1fr auto; height: 64px; }
  .nav-side { display: none; }
  .wordmark { font-size: 1rem; letter-spacing: .2em; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px 0 12px;
    background: none; border: 0; cursor: pointer; font-family: var(--caps); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem;
  }
  .menu-icon { position: relative; width: 22px; height: 10px; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
  .menu-icon::before { top: 0; }
  .menu-icon::after { top: 8.5px; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { top: 4.25px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { top: 4.25px; transform: rotate(-45deg); }
  .site-header:has(.menu-toggle[aria-expanded="true"]) { background: rgba(0, 0, 0, .96); border-color: var(--line); }
  .mobile-nav:not([hidden]) { display: grid; padding: 8px var(--gutter) 24px; }
  .mobile-nav a { padding: 14px 0; font-size: .95rem; border-bottom: 1px solid var(--line); }

  .hero-role { letter-spacing: .2em; }

  .strip-logos { gap: 12px; }
  .about { grid-template-columns: 1fr; }
  .slide { width: 76vw; }
  .carousel-inline .slide { width: 88%; }
  .carousel-inline.carousel-portrait .slide { width: 62%; }
  .project-s01 .project-img { aspect-ratio: 4 / 5; }
  .carousel-foot .carousel-controls { display: none; }
  .jr { grid-template-columns: 1fr; }
  .jr-now { display: none; }
  .jr-filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .jr-filters::-webkit-scrollbar { display: none; }
  .jr-chip { flex: none; }
  .jr-list { padding-left: 32px; }
  .jr-dot { left: -32px; }
  .jr-item { flex-direction: column; gap: 10px; padding: 16px; }
  .jr-item .tag { margin-top: 0; }
  .project-facts div { grid-template-columns: 96px 1fr; }
  .carousel-head .carousel-controls { display: none; }
  .initiative-wide { grid-template-columns: 1fr; }
  .split-section, .bio { grid-template-columns: 1fr; }
  .page-hero { min-height: 0; }
  .page-hero-media { position: relative; z-index: -1; width: 100%; height: min(118vw, 560px); }
  .page-hero-media img { -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 45%); mask-image: linear-gradient(to top, transparent 0%, #000 45%); }
  .page-hero-inner { padding: 0 0 32px; margin-top: -34vw; }
  .page-title { font-size: clamp(3.25rem, 16vw, 4.5rem); margin-bottom: 20px; }
  .page-hero .signature { width: 160px; }
  .hero-facts { margin-top: 36px; }
  .hero-facts div { padding: 18px 12px 0 0; }
  .hero-facts div + div { padding-left: 14px; }
  .hero-facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .page-hero-next { display: none; }
  .bio-aside { position: static; }
  .bio-toc { display: none; }
  .record-callout { grid-template-columns: 1fr 1fr; }
  .record-callout img { grid-column: 1 / -1; }
  .figure-pair { gap: 10px; }
  .vtl::before { left: 71px; }
  .vtl li { grid-template-columns: 56px 1fr; gap: 36px; }
  .vtl li::before { left: 66px; }
  .vtl time { font-size: 1.4rem; }
  .vtl-year { font-size: .62rem; letter-spacing: .12em; }
  .about-portrait { max-width: 520px; }
  .vision-gallery { flex-direction: column; }
  .vision-gallery figure { flex: none; width: 100%; }
  .vision-b { margin-top: 8px; }
  .venture { grid-template-columns: 1fr; }
  .franchise-grid { grid-template-columns: 1fr; }
  .initiative.initiative-wide { grid-template-columns: 1fr; }
  .venture-logo { aspect-ratio: 16 / 9; }
  .feature-media { grid-template-columns: 1fr 1fr; }
  .feature-film { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
  .projects, .initiative-grid { grid-template-columns: 1fr; }
  .backstage-copy { margin-top: -2.5rem; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-direct { gap: 6px 12px; }
  .cd-label { width: 100%; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .btn { width: 100%; }
  .actions { width: 100%; }
}
