/* ==========================================================================
   HYDRA — Bottique Beverages Hydra Private Limited
   Centred editorial layout. Mobile-first.
   Edit content in /data/site-data.js, not here.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Colour (unchanged) */
  --ink:          #0B0E13;
  --ink-soft:     #14181F;
  --ink-line:     #262C36;
  --paper:        #FAF8F4;
  --paper-2:      #EFEBE2;
  --paper-line:   #DED8CC;
  --accent:       #3E7BFA;
  --accent-deep:  #1D3FA8;
  --aqua:         #00D6C8;

  --on-ink:       #FFFFFF;
  --on-ink-dim:   rgba(255,255,255,.62);
  --on-paper:     #0B0E13;
  --on-paper-dim: rgba(11,14,19,.62);

  /* Type — tall condensed display + low-contrast grotesk for text */
  --font:         "Barlow", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Bebas Neue", "Archivo Narrow", "Haettenschweiler", Impact, sans-serif;
  --display-ls:   0.012em;

  --fs-display: clamp(3rem, 15vw, 7rem);
  --fs-h1:      clamp(2.75rem, 11.5vw, 6rem);
  --fs-h2:      clamp(2.35rem, 8.5vw, 4.75rem);
  --fs-h3:      clamp(1.6rem, 4.6vw, 2.75rem);
  --fs-h4:      clamp(1.05rem, 2.2vw, 1.375rem);
  --fs-body:    clamp(1rem, 1.02rem + .18vw, 1.125rem);
  --fs-small:   .9rem;
  --fs-micro:   .6875rem;

  /* Space */
  --gutter:     clamp(1.25rem, 5vw, 5rem);
  --section-y:  clamp(4.5rem, 11vw, 10rem);
  --maxw:       1560px;
  --maxw-text:  58ch;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);

  --header-h: 62px;
}

@media (min-width: 900px) { :root { --header-h: 84px; } }

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.62;
  color: var(--on-paper);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; background: var(--paper-2); }

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

a, button, summary, [role="button"] { -webkit-tap-highlight-color: rgba(62,123,250,.2); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

::selection { background: var(--accent); color: #fff; }

/* --------------------------------------------------------------------------
   3. TYPE PRIMITIVES
   -------------------------------------------------------------------------- */
.display, .h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: .87;
  letter-spacing: var(--display-ls);
  text-transform: uppercase;
  text-wrap: balance;
}
.display { font-size: var(--fs-display); }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); line-height: .95; }

.h4 {
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .005em;
}

.eyebrow {
  display: inline-block;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Section eyebrows get flanking rules — the centred editorial signature */
.sec-head .eyebrow,
.eyebrow--ruled {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}
.sec-head .eyebrow::before, .sec-head .eyebrow::after,
.eyebrow--ruled::before, .eyebrow--ruled::after {
  content: "";
  height: 1px;
  width: clamp(1.5rem, 8vw, 5rem);
  background: currentColor;
  opacity: .45;
  flex: none;
}

.lead {
  font-size: clamp(1.0625rem, 1rem + .6vw, 1.4rem);
  line-height: 1.52;
  font-weight: 400;
  max-width: 54ch;
  margin-inline: auto;
  text-wrap: pretty;
}

.body {
  max-width: var(--maxw-text);
  margin-inline: auto;
  color: var(--on-paper-dim);
  text-wrap: pretty;
}
.sec--ink .body, .sec--ink-soft .body, .on-ink .body { color: var(--on-ink-dim); }

.mono {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   4. LAYOUT — everything resolves to the page axis
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 1020px; }

.sec { padding-block: var(--section-y); position: relative; text-align: center; }
.sec--tight { padding-block: clamp(2.75rem, 6vw, 5rem); }
.sec--ink { background: var(--ink); color: var(--on-ink); }
.sec--ink-soft { background: var(--ink-soft); color: var(--on-ink); }
.sec--paper2 { background: var(--paper-2); }
.sec--accent { background: var(--accent); color: #fff; }

.sec--tight + .sec--ink, .sec--tight + .sec--ink-soft { padding-top: clamp(2.75rem, 6vw, 5rem); }

.stack { display: grid; justify-items: center; gap: clamp(1rem, 2vw, 1.5rem); }

.rule { height: 1px; background: var(--paper-line); border: 0; margin: 0; }
.sec--ink .rule, .sec--ink-soft .rule { background: var(--ink-line); }

/* A short centred divider used under headings */
.divider {
  width: 64px; height: 3px;
  background: var(--accent);
  margin: clamp(1.25rem, 3vw, 2rem) auto;
}

/* Section head — always a centred column, whatever markup it came from */
.sec-head,
.sec-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: clamp(1rem, 2.2vw, 1.75rem);
  max-width: 860px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5.5vw, 4.5rem);
  text-align: center;
}
.sec-head > .stack { justify-items: center; }
.sec-head .body, .sec-head p { margin-inline: auto; }

/* --------------------------------------------------------------------------
   5. BUTTONS & LINKS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  min-height: 54px;
  padding: .875rem 2rem;
  border-radius: 0;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:active { transform: scale(.98); }

.btn--solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); }

.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.btn--ghost { border-color: currentColor; }
.btn--ghost:hover { background: rgba(255,255,255,.14); }

.btn--accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--accent:hover { background: var(--ink); border-color: var(--ink); }

.btn--sm { min-height: 42px; padding: .5rem 1.125rem; font-size: .625rem; letter-spacing: .18em; }

/* Arrow link — centred, underline hugs the text */
.alink {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  min-height: 44px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: .1875rem;
  width: fit-content;
  margin-inline: auto;
  justify-self: center;
  align-self: center;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.alink svg { width: 1em; height: 1em; flex: none; }
.alink:hover { gap: 1.125rem; color: var(--accent); }

/* --------------------------------------------------------------------------
   6. HEADER — logo centred, nav split either side
   -------------------------------------------------------------------------- */
.skip {
  position: fixed; top: -100px; left: 1rem; z-index: 200;
  background: var(--accent); color: #fff; padding: .75rem 1.25rem;
  font-weight: 700;
}
.skip:focus { top: 0; }

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: #fff;
  transition: background-color .4s var(--ease), color .4s var(--ease),
              box-shadow .4s var(--ease), transform .4s var(--ease);
}
.header::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(0,0,0,.6), rgba(0,0,0,0));
  transition: opacity .4s var(--ease);
}
.header.is-stuck { background: var(--ink); box-shadow: 0 1px 0 var(--ink-line); }
.header.is-stuck::after { opacity: 0; }
.header.is-hidden { transform: translateY(-100%); }

.header__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.header__side { display: flex; align-items: center; gap: clamp(.75rem, 1.8vw, 2rem); }
.header__side--left { justify-content: flex-start; }
.header__side--right { justify-content: flex-end; }

/* Centred wordmark */
.brand {
  grid-column: 2;
  display: grid;
  justify-items: center;
  gap: .125rem;
  min-height: 44px;
  align-content: center;
}
.brand__mark {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 400;
  line-height: .9;
  letter-spacing: .3em;
  text-indent: .3em;
  text-transform: uppercase;
}
.brand__sub {
  display: none;
  font-size: .5625rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-indent: .3em;
  text-transform: uppercase;
  opacity: .55;
}
@media (min-width: 640px) { .brand__sub { display: block; } }

.nav__list { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav__link {
  position: relative;
  display: inline-block;
  padding-block: .5rem;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: center;
  transition: transform .35s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* Desktop shows the split nav; below that a burger sits on the left */
.nav { display: none; }
.header__cta { display: none; }
@media (min-width: 1120px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
}

.burger {
  width: 46px; height: 46px;
  margin-left: -11px;
  display: grid; place-content: center; gap: 6px;
}
.burger span {
  display: block; width: 24px; height: 1.5px;
  background: currentColor;
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
@media (min-width: 1120px) { .burger { display: none; } }

body.nav-open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Keep the wordmark and close control reachable above the open menu */
body.nav-open .header { z-index: 120; background: transparent; box-shadow: none; color: #fff; }
body.nav-open .header::after { opacity: 0; }
body.nav-open .nav, body.nav-open .header__cta { visibility: hidden; }

/* --------------------------------------------------------------------------
   7. FULL-SCREEN MENU — centred index
   -------------------------------------------------------------------------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--ink);
  color: #fff;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  overflow-y: auto;
  overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .6s var(--ease), visibility 0s linear .6s;
}
body.nav-open .menu {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path .6s var(--ease), visibility 0s;
}

.menu__list { display: flex; flex-direction: column; align-items: center; gap: .25rem; }
.menu__item { width: 100%; max-width: 520px; }
.menu__link {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .875rem;
  padding: clamp(.4rem, 1.6vw, .65rem) 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 10vw, 4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(16px);
}
body.nav-open .menu__link {
  opacity: 1; transform: none;
  transition: opacity .5s var(--ease) calc(.18s + var(--i, 0) * .05s),
              transform .5s var(--ease) calc(.18s + var(--i, 0) * .05s);
}
.menu__link .mono { font-size: .5625rem; color: var(--accent); letter-spacing: .18em; }
.menu__link[aria-current="page"] { color: var(--accent); }
.menu__link:hover { color: var(--accent); }

.menu__foot { display: grid; justify-items: center; gap: 1.25rem; font-size: var(--fs-small); color: var(--on-ink-dim); }
.menu__social { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.menu__social a {
  padding: .5rem .875rem;
  border: 1px solid var(--ink-line);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
}
.menu__social a:hover { background: var(--accent); border-color: var(--accent); }

body.nav-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   8. HERO — vertically and horizontally centred
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero--page { min-height: min(76svh, 760px); }

.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 16s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1); } }

.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 78% 62% at 50% 48%, rgba(4,6,10,.52) 0%, rgba(4,6,10,.2) 60%, rgba(4,6,10,.34) 100%),
    linear-gradient(to bottom, rgba(4,6,10,.5) 0%, rgba(4,6,10,.1) 32%, rgba(4,6,10,.62) 100%);
}

.hero__inner {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding: calc(var(--header-h) + 2rem) var(--gutter) clamp(4.5rem, 10vw, 7rem);
  display: grid;
  justify-items: center;
  gap: 0;
}

.hero .eyebrow, .hero__crumb { color: rgba(255,255,255,.72); }

.hero__title { margin-top: clamp(1rem, 2.5vw, 1.75rem); }
.hero__title em { font-style: normal; color: var(--accent); }

/* The rule under the headline */
.hero__sub::before {
  content: "";
  display: block;
  width: 72px; height: 2px;
  background: rgba(255,255,255,.55);
  margin: clamp(1.5rem, 3.5vw, 2.25rem) auto;
}

.hero__sub { max-width: 52ch; color: rgba(255,255,255,.82); }

.hero__actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem;
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
}

.hero__scroll {
  display: none;
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: clamp(1.75rem, 4vw, 2.75rem);
  flex-direction: column; align-items: center; gap: .625rem;
  font-size: var(--fs-micro); font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.hero__scroll svg { width: 14px; animation: bob 2.4s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
@media (min-width: 900px) { .hero__scroll { display: flex; } }

.hero__crumb { display: flex; gap: .625rem; justify-content: center; align-items: center; }
.hero__crumb a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   9. MARQUEE
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  border-block: 1px solid var(--ink-line);
  padding-block: clamp(.7rem, 1.8vw, 1.1rem);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee--accent { background: var(--accent); border-color: rgba(255,255,255,.28); }
.marquee__track { display: flex; width: max-content; animation: slide 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; }
.marquee__item {
  display: inline-flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem);
  padding-inline: clamp(.75rem, 2vw, 1.5rem);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.6vw, 2.125rem);
  font-weight: 400; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
}
.marquee__dot { width: .3em; height: .3em; border-radius: 50%; background: var(--accent); flex: none; }
.marquee--accent .marquee__dot { background: #fff; }
@keyframes slide { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   10. FEATURE — image above, centred caption below
   -------------------------------------------------------------------------- */
.feature {
  display: grid;
  justify-items: center;
  gap: clamp(2rem, 4.5vw, 3.5rem);
  max-width: 1180px;
  margin-inline: auto;
  text-align: center;
}
.feature + .feature { margin-top: var(--section-y); }

.feature__media { position: relative; overflow: hidden; width: 100%; }
.feature__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 720px) { .feature__media img { aspect-ratio: 16 / 9; } }

/* Tag becomes a centred caption chip sitting on the image edge */
.feature__tag {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  padding: .625rem 1.5rem;
  font-size: var(--fs-micro); font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  white-space: nowrap;
}

.feature__body {
  display: grid;
  justify-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: 760px;
}

/* --------------------------------------------------------------------------
   11. FULL-BLEED STATEMENT
   -------------------------------------------------------------------------- */
.statement {
  position: relative;
  min-height: min(88svh, 780px);
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  padding: var(--section-y) var(--gutter);
}
.statement__media { position: absolute; inset: 0; z-index: -2; }
.statement__media img { width: 100%; height: 100%; object-fit: cover; }
.statement::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(6,9,14,.62); }
.statement__inner { display: grid; justify-items: center; max-width: 900px; }
.statement .eyebrow { color: rgba(255,255,255,.72); }
.statement .display { margin-block: 1.25rem; }
.statement .lead { color: rgba(255,255,255,.82); }

/* --------------------------------------------------------------------------
   12. PRODUCT RAIL — centred, snap-scroll
   -------------------------------------------------------------------------- */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 76%;
  gap: clamp(.75rem, 2vw, 1.5rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1);
  padding-bottom: 1rem;
  scrollbar-width: none;
  text-align: center;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: center; }
@media (min-width: 640px)  { .rail { grid-auto-columns: 45%; } }
@media (min-width: 1000px) { .rail { grid-auto-columns: 30%; } }
@media (min-width: 1440px) { .rail { grid-auto-columns: 23.5%; } }

.rail-ctrl { display: none; gap: .75rem; justify-content: center; }
@media (min-width: 1000px) { .rail-ctrl { display: flex; } }
.rail-ctrl button {
  width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid currentColor;
  display: grid; place-items: center;
  transition: background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), opacity .3s var(--ease);
}
.rail-ctrl button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.rail-ctrl button[disabled] { opacity: .25; cursor: not-allowed; }
.rail-ctrl svg { width: 17px; height: 17px; }

.pcard { display: flex; flex-direction: column; text-align: center; }
.pcard__media { position: relative; overflow: hidden; background: var(--ink-soft); }
.pcard__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__sizes {
  position: absolute; inset: auto 0 0 0;
  padding: 2rem .875rem 1rem;
  background: linear-gradient(to top, rgba(6,9,14,.88), transparent);
  color: rgba(255,255,255,.88);
  font-size: var(--fs-micro); font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.pcard__body { padding-top: 1.375rem; display: grid; justify-items: center; gap: .5rem; }
.pcard__kicker { font-size: var(--fs-micro); font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.pcard__copy { font-size: var(--fs-small); line-height: 1.58; color: var(--on-paper-dim); max-width: 34ch; }
.sec--ink .pcard__copy { color: var(--on-ink-dim); }

/* --------------------------------------------------------------------------
   13. CARD GRIDS
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1.75rem, 3.5vw, 3rem); justify-items: center; }
.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

.ecard { display: flex; flex-direction: column; gap: 1.25rem; text-align: center; width: 100%; }
.ecard__media { overflow: hidden; }
.ecard__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.ecard:hover .ecard__media img { transform: scale(1.04); }
.ecard__body { display: grid; justify-items: center; gap: .75rem; }

/* Numbered value cards — centred, thin rule instead of a box */
.vcard {
  width: 100%;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 2vw, 1.75rem);
  border-top: 2px solid var(--accent);
  background: transparent;
  display: grid; justify-items: center; gap: .875rem; align-content: start;
  text-align: center;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.vcard:hover { background: var(--ink); color: #fff; }
.vcard:hover .body { color: var(--on-ink-dim); }
.sec--ink .vcard:hover, .sec--ink-soft .vcard:hover { background: rgba(255,255,255,.05); }
.vcard__num {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 400; letter-spacing: .12em; line-height: 1;
  color: var(--accent);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   14. STATS
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--ink-line); }
@media (min-width: 1000px) { .stats { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.stat {
  background: var(--ink); color: var(--on-ink);
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1rem, 2.5vw, 2rem);
  display: grid; justify-items: center; gap: .5rem; text-align: center;
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8.5vw, 5.5rem);
  font-weight: 400; line-height: .85; letter-spacing: .01em;
}
.stat__value span { color: var(--accent); margin-left: .06em; }
.stat__label { font-size: var(--fs-micro); font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--on-ink-dim); }

/* --------------------------------------------------------------------------
   15. DIRECTORS — centred cards
   -------------------------------------------------------------------------- */
.dgrid { display: grid; gap: clamp(2rem, 3.5vw, 3rem); grid-template-columns: 1fr; justify-items: center; }
@media (min-width: 560px)  { .dgrid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1100px) { .dgrid { grid-template-columns: repeat(4, minmax(0,1fr)); } }

.dcard { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; }
.dcard__media { position: relative; overflow: hidden; width: 100%; background: var(--ink-soft); }
.dcard__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s var(--ease); }
.dcard:hover .dcard__media img { transform: scale(1.04); }
.dcard__rule { height: 2px; width: 40px; background: var(--accent); margin-top: 1.5rem; }
.dcard__name { margin-top: 1.125rem; }
.dcard__role {
  margin-top: .5rem;
  font-size: var(--fs-micro); font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent);
}
.dcard__bio { margin-top: 1rem; font-size: var(--fs-small); line-height: 1.62; color: var(--on-paper-dim); max-width: 34ch; }
.sec--ink .dcard__bio { color: var(--on-ink-dim); }
.dcard__link {
  margin-top: 1.125rem;
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  font-size: var(--fs-micro); font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  border-bottom: 1px solid currentColor;
}
.dcard__link svg { width: 1em; height: 1em; }
.dcard__link:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   16. LICENCE GALLERY
   -------------------------------------------------------------------------- */
.lgrid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); grid-template-columns: 1fr; }
@media (min-width: 560px)  { .lgrid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1000px) { .lgrid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1440px) { .lgrid { grid-template-columns: repeat(4, minmax(0,1fr)); } }

.lcard {
  display: flex; flex-direction: column;
  border: 1px solid var(--paper-line);
  background: #fff;
  text-align: center;
  width: 100%;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.lcard:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(11,14,19,.45); }
.lcard__media { position: relative; overflow: hidden; background: var(--paper-2); }
.lcard__media img { width: 100%; aspect-ratio: 25 / 18; object-fit: cover; transition: transform .7s var(--ease); }
.lcard:hover .lcard__media img { transform: scale(1.03); }
.lcard__zoom {
  position: absolute; left: 50%; bottom: .75rem; transform: translate(-50%, 6px);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  opacity: 0;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.lcard:hover .lcard__zoom, .lcard:focus-visible .lcard__zoom { opacity: 1; transform: translate(-50%, 0); }
.lcard__zoom svg { width: 16px; height: 16px; }
.lcard__body { padding: clamp(1.125rem, 2.2vw, 1.625rem); display: grid; justify-items: center; gap: .5rem; }
.lcard__cat { font-size: var(--fs-micro); font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.lcard__meta { font-size: var(--fs-small); color: var(--on-paper-dim); line-height: 1.55; }
.lcard__file { margin-top: .375rem; font-size: var(--fs-micro); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-deep); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6,9,14,.95);
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  padding: clamp(.75rem, 2vw, 1.5rem);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease), visibility 0s; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: #fff; }
.lightbox__count { font-size: var(--fs-micro); font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.lightbox__close, .lightbox__nav button {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); color: #fff;
  display: grid; place-items: center;
}
.lightbox__close:hover, .lightbox__nav button:hover { background: var(--accent); border-color: var(--accent); }
.lightbox__close svg, .lightbox__nav svg { width: 18px; height: 18px; }
.lightbox__stage { position: relative; min-height: 0; overflow: hidden; }
.lightbox__stage img {
  position: absolute; inset: 1rem; margin: auto;
  max-width: calc(100% - 2rem); max-height: calc(100% - 2rem);
  width: auto; height: auto;
  object-fit: contain;
  background: none;
}
.lightbox__foot { display: grid; gap: .75rem; justify-items: center; text-align: center; color: #fff; }
.lightbox__foot p { color: rgba(255,255,255,.62); font-size: var(--fs-small); }
.lightbox__nav { display: flex; gap: .75rem; }

/* --------------------------------------------------------------------------
   17. PROCESS TIMELINE — centred vertical spine
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: clamp(2.5rem, 5vw, 4rem); max-width: 1000px; margin-inline: auto; }

.step {
  display: grid;
  justify-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  text-align: center;
  position: relative;
  padding-top: clamp(2.5rem, 5vw, 4rem);
}
.step::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 1px; height: clamp(1.75rem, 3.5vw, 2.75rem);
  background: var(--paper-line);
}
.sec--ink .step::before { background: var(--ink-line); }
.step:first-child { padding-top: 0; }
.step:first-child::before { display: none; }

.step__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400; line-height: .85; letter-spacing: .04em;
  color: var(--accent);
}
.step__body { display: grid; justify-items: center; gap: .75rem; max-width: 56ch; }
.step__media { width: 100%; max-width: 620px; }
.step__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* --------------------------------------------------------------------------
   18. CONTACT / FORM — the one place text stays left-aligned
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.25rem; text-align: left; max-width: 640px; margin-inline: auto; width: 100%; }
@media (min-width: 720px) { .form__row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.25rem; } }

.field { display: grid; gap: .5rem; }
.field label { font-size: var(--fs-micro); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 54px;
  padding: .875rem 1rem;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: 0;
  font-size: 16px; /* prevents iOS zoom on focus */
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(62,123,250,.18);
}
.form .btn { justify-self: center; }

.form__note { font-size: var(--fs-small); color: var(--on-paper-dim); }
.form__status { font-size: var(--fs-small); font-weight: 600; color: var(--accent-deep); }

.contact-list { display: grid; justify-items: center; gap: 2rem; }
.contact-item { display: grid; justify-items: center; gap: .5rem; }
.contact-item a:hover { color: var(--accent); }

.deftable { width: 100%; max-width: 560px; margin-inline: auto; border-collapse: collapse; font-size: var(--fs-small); }
.deftable th, .deftable td { padding: .875rem 0; border-bottom: 1px solid var(--paper-line); vertical-align: top; }
.deftable th { text-align: left; font-size: var(--fs-micro); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; width: 48%; }
.deftable td { text-align: right; color: var(--on-paper-dim); }
.sec--ink .deftable th, .sec--ink .deftable td { border-color: var(--ink-line); }
.sec--ink .deftable td { color: var(--on-ink-dim); }

/* --------------------------------------------------------------------------
   19. CTA BAND
   -------------------------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  color: #fff; text-align: center;
  padding: clamp(4.5rem, 10vw, 8.5rem) var(--gutter);
}
.cta__media { position: absolute; inset: 0; z-index: -2; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(6,9,14,.7); }
.cta__inner { max-width: 680px; margin-inline: auto; display: grid; gap: 1.5rem; justify-items: center; }
.cta .eyebrow { color: rgba(255,255,255,.72); }

/* --------------------------------------------------------------------------
   20. FOOTER — centred
   -------------------------------------------------------------------------- */
.footer { background: var(--ink); color: #fff; padding-top: clamp(3.5rem, 8vw, 6.5rem); text-align: center; }
.footer__top { display: grid; justify-items: center; gap: clamp(2.5rem, 5vw, 4rem); }

.footer__word {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 13vw, 9rem);
  font-weight: 400; line-height: .82; letter-spacing: .04em; text-transform: uppercase;
}
.footer__word span { display: block; color: var(--accent); font-size: .42em; letter-spacing: .1em; margin-top: .35em; }

.footer__cols { display: grid; gap: 2.5rem; width: 100%; justify-items: center; }
@media (min-width: 640px) { .footer__cols { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.footer__col h3 { font-size: var(--fs-micro); font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--on-ink-dim); margin-bottom: 1rem; }
.footer__col li + li { margin-top: .125rem; }
.footer__col a, .footer__col span { display: inline-block; padding-block: .375rem; font-size: var(--fs-small); color: rgba(255,255,255,.82); }
.footer__col a:hover { color: var(--accent); }

.footer__mid {
  margin-top: clamp(2.5rem, 6vw, 4.5rem); padding-top: 2.5rem;
  border-top: 1px solid var(--ink-line);
  display: grid; gap: 2rem; justify-items: center;
}
@media (min-width: 900px) { .footer__mid { grid-template-columns: repeat(3, minmax(0,1fr)); align-items: start; } }
.footer__reg { display: grid; gap: .25rem; font-size: var(--fs-small); color: var(--on-ink-dim); }
.footer__reg strong { color: #fff; font-weight: 600; }

.footer__social { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.footer__social a {
  padding: .625rem 1rem; border: 1px solid var(--ink-line);
  font-size: var(--fs-micro); font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.footer__social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-block: 1.5rem;
  border-top: 1px solid var(--ink-line);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: center;
  font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-dim);
}

/* --------------------------------------------------------------------------
   21. SCROLL REVEAL
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--delay, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }

.reveal-line { display: block; overflow: hidden; }
.reveal-line > span {
  display: block;
  transform: translateY(105%);
  animation: riseIn .95s var(--ease) forwards;
  animation-delay: calc(.15s + var(--i, 0) * .09s);
}
@keyframes riseIn { to { transform: none; } }

/* --------------------------------------------------------------------------
   22. UTILITIES
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.center { text-align: center; }
.mt-lg { margin-top: clamp(2rem, 5vw, 3.5rem); }
.mt-md { margin-top: clamp(1.25rem, 3vw, 2rem); }
.maxw-text { max-width: var(--maxw-text); margin-inline: auto; }

.img-cover-43 { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.img-cover-11 { width: 100%; aspect-ratio: 1 / 1;  object-fit: cover; }

.note {
  border-top: 2px solid var(--accent);
  background: var(--paper-2);
  padding: clamp(1.125rem, 2.5vw, 1.625rem);
  font-size: var(--fs-small);
  line-height: 1.62;
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
}
.note code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .95em; background: rgba(11,14,19,.07); padding: .1em .35em; }

/* --------------------------------------------------------------------------
   23. MOTION / PRINT PREFERENCES
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .reveal-line > span { transform: none; }
  .hero__media img { animation: none; }
}

@media print {
  .header, .menu, .footer, .marquee, .hero__scroll, .rail-ctrl, .lightbox { display: none !important; }
  body { background: #fff; color: #000; }
  .sec { padding-block: 1.5rem; }
}
