/* =========================================================
   Brook & Hobbs · one-page site
   ========================================================= */

:root {
  /* Brand palette */
  --azure: #899CB4;
  --hazel: #483228;
  --white: #FFFFFF;
  --beige: #F6F5F3;     /* "white" surface used for light sections */
  --neutral: #CBC5BB;
  --brown: #695144;
  --teal: #313D4D;
  --burgundy: #441921;

  --light-bg: var(--beige);

  /* Layout (brand grid: 36pt gutter) */
  --gutter: clamp(16px, 2.5vw, 2.25rem);
  --header-h: 4.5rem;
  --section-y: clamp(96px, 14vw, 220px);

  /* Motion */
  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);

  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-ar: "Noto Kufi Arabic", "Inter", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  /* rem scale: 16px up to 1600px wide, then grows with the viewport to 22px (~2200px+) */
  font-size: max(16px, min(1vw, 2.4vh)); /* linear with width, limited on very short/ultrawide screens */
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--hazel);
  color: var(--hazel);
  font-family: var(--font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--azure); color: var(--white); }

.sr-only, .sr-defs {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Hide the native pointer when the custom cursor is active */
html.has-cursor, html.has-cursor * { cursor: none !important; }

/* ---------- Typography ---------- */
.t-display {
  font-weight: 300;
  font-size: clamp(2.75rem, 8.4vw, 9.5rem);
  line-height: .94;
  letter-spacing: -.045em;
}
.t-display-2 {
  font-weight: 300;
  font-size: clamp(2.25rem, 5.6vw, 6.25rem);
  line-height: 1;
  letter-spacing: -.04em;
}
.t-h3 {
  font-weight: 300;
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.t-lead {
  font-weight: 300;
  font-size: clamp(1.4rem, 2.5vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.t-body {
  font-size: clamp(1.0625rem, 1.2vw, 1.25rem);
  line-height: 1.6;
  max-width: 38ch;
}
.eyebrow {
  display: flex; gap: 1.25em; align-items: baseline;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--azure);
  margin-bottom: clamp(24px, 3vw, 44px);
}
.eyebrow span { font-weight: 400; letter-spacing: .08em; }
.label, .caption {
  font-size: .75rem;
  letter-spacing: .04em;
}
.caption { margin-top: 12px; opacity: .7; }

/* ---------- Section colour themes ---------- */
.section { position: relative; padding: var(--section-y) 0; }
.section--light { background: var(--light-bg); color: var(--hazel); }
.section--light .eyebrow { color: var(--azure); }
.section--dark  { background: var(--hazel); color: var(--white); }
.section--dark .eyebrow { color: var(--azure); }
.section--azure { background: var(--azure); color: var(--white); }
.section--azure .eyebrow { color: var(--white); }

/* ---------- Layout ---------- */
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}
.rule {
  display: block; height: 1px; width: 100%;
  background: currentColor; opacity: .28;
  transform-origin: left center;
}

/* ---------- Media + placeholders ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: var(--ratio, 4/5);
  width: 100%;
}
.media__inner {
  position: absolute; inset: 0;
  display: block;
  overflow: hidden;
  background: var(--neutral);
  will-change: transform;
}
.media[data-parallax] .media__inner { inset: -9% 0; }
.media__inner img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
}
.media__label {
  position: absolute; left: 16px; bottom: 14px; z-index: 0;
  font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.media[data-parallax] .media__label { bottom: calc(9% + 14px); }
[data-tone="sand"]     { background: linear-gradient(155deg, #e7ddd0 0%, #cbb49a 55%, #a88466 100%); }
[data-tone="hazel"]    { background: linear-gradient(160deg, #a87e60 0%, #6d4a37 50%, #3a271e 100%); }
[data-tone="azure"]    { background: linear-gradient(170deg, #c9d5e3 0%, #899CB4 55%, #5d6f87 100%); }
[data-tone="neutral"]  { background: linear-gradient(160deg, #e2ddd5 0%, #CBC5BB 50%, #9d958a 100%); }
[data-tone="teal"]     { background: linear-gradient(165deg, #6c7f95 0%, #313D4D 60%, #1f2731 100%); }
[data-tone="burgundy"] { background: linear-gradient(160deg, #7d3e47 0%, #441921 60%, #2a0f14 100%); }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 1000;
  pointer-events: none;
  color: var(--hazel);
  transition: color .45s var(--ease);
  opacity: 0;
}
html.has-cursor .cursor { opacity: 1; }
.cursor__shape {
  display: block;
  width: 1.125rem; height: 1.125rem;
  fill: currentColor;
  transform-origin: 0 0;
  transition: transform .5s var(--ease);
}
.cursor.is-hover .cursor__shape { transform: scale(1.6); }
.cursor.is-down .cursor__shape { transform: scale(.8); }
/* every 3s the cursor turns once in 3D about the diagonal axis through its tip */
.cursor__spin {
  display: block;
  transform-origin: 0 0;
  animation: cursor-spin 3s infinite;
}
@keyframes cursor-spin {
  0%   { transform: perspective(70px) rotate3d(1, 1, 0, 0deg); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  80%  { transform: perspective(70px) rotate3d(1, 1, 0, 360deg); }
  100% { transform: perspective(70px) rotate3d(1, 1, 0, 360deg); }
}
@media (prefers-reduced-motion: reduce) { .cursor__spin { animation: none; } }
.cursor__label {
  position: absolute; left: 26px; top: 20px;
  font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  white-space: nowrap;
  opacity: 0; transform: translateX(-6px);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.cursor.has-label .cursor__label { opacity: 1; transform: none; }
.cursor.is-hidden { opacity: 0 !important; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 900;
  background: var(--hazel);
  display: grid; place-items: center; align-content: center; gap: 28px;
  color: var(--beige);
}
.loader__mark { width: clamp(56px, 6vw, 84px); fill: currentColor; overflow: visible; }
.loader__wm { width: clamp(160px, 16vw, 230px); fill: currentColor; opacity: 0; }
.arch { transform-box: fill-box; transform-origin: 50% 100%; }
html:not(.js) .loader { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; left: 0; right: 0; top: 0; z-index: 500;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  color: var(--hazel);
  transform: translateY(-101%);
  transition: transform .9s var(--ease), color .45s var(--ease);
}
.site-header.is-visible { transform: none; }
.site-header[data-theme="dark"],
.site-header[data-theme="azure"],
.site-header[data-theme="image"] { color: var(--white); }
.brand { display: inline-flex; align-items: center; gap: 1rem; justify-self: start; }
.brand__mark { width: 2.25rem; height: 2.25rem; fill: currentColor; }
.brand__wm {
  height: 1rem; width: auto; fill: currentColor;
  transition: opacity .8s var(--ease), transform 1s var(--ease);
}
/* at the top of the page only the logo mark shows */
.site-header.is-top .brand__wm { opacity: 0; transform: translateX(-10px); pointer-events: none; }
.site-header__nav { display: flex; gap: clamp(18px, 2.4vw, 40px); font-size: .9375rem; }
.site-header__end { display: flex; gap: 24px; align-items: center; justify-self: end; font-size: .9375rem; }
.lang { font-family: var(--font-ar); font-size: .875rem; line-height: 1; }
.menu-toggle { display: none; }

/* underline hover used for small text links */
.site-header__nav a, .link-btn, .hero__nav a, .hero__nav button, .footer__links a, .footer__links button, .footer__bar a, .lang {
  position: relative;
}
.site-header__nav a::after, .link-btn::after, .hero__nav a::after, .hero__nav button::after,
.footer__links a::after, .footer__links button::after, .footer__bar a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .7s var(--ease);
}
.site-header__nav a:hover::after, .link-btn:hover::after, .hero__nav a:hover::after, .hero__nav button:hover::after,
.footer__links a:hover::after, .footer__links button:hover::after, .footer__bar a:hover::after {
  transform: scaleX(1); transform-origin: left;
}

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 450;
  background: var(--hazel); color: var(--white);
  padding: calc(var(--header-h) + 32px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.menu__nav { display: flex; flex-direction: column; gap: 10px; }
.menu__nav a {
  font-weight: 300; font-size: clamp(2.2rem, 9vw, 3.5rem); letter-spacing: -.04em; line-height: 1.05;
  display: flex; gap: 16px; align-items: baseline;
}
.menu__nav a span { font-size: .75rem; letter-spacing: .1em; color: var(--azure); font-weight: 400; }
.menu__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; }

/* ---------- Pill button ---------- */
.pill {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 14px;
  height: 3.5rem; padding: 0 1.75rem;
  border: 1px solid currentColor; border-radius: 999px;
  font-size: .875rem; letter-spacing: .02em;
  transition: color .6s var(--ease);
}
.pill::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--hazel);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .7s var(--ease);
}
.pill:hover { color: var(--white); }
.pill:hover::before { transform: none; }
.pill svg { width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 1.2; transition: transform .7s var(--ease); }
.pill:hover svg { transform: translateX(4px); }
.pill--light { color: var(--white); }
.pill--light::before { background: var(--azure); }

/* =========================================================
   01 HERO
   ========================================================= */
.hero { position: relative; height: 100svh; min-height: 560px; background: var(--hazel); color: var(--white); }
.hero__sticky {
  position: relative;
  height: 100%; overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__img { inset: 0; }
.hero__img .media__label { left: auto; right: var(--gutter); bottom: auto; top: 50%; }
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(72,50,40,.35) 0%, rgba(72,50,40,.08) 35%, rgba(72,50,40,.5) 100%);
}
/* hero slideshow: one image shows at a time; a band of the dot matrix sweeps in the next */
.hero__slide { visibility: hidden; will-change: transform; }
.hero__slide.is-current { visibility: visible; }
.hero__band {
  position: absolute; inset: 0; z-index: 3;
  pointer-events: none;
  opacity: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.75) 0.675px, transparent 1.125px);
  background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(120deg, transparent 0%, transparent 100%);
          mask-image: linear-gradient(120deg, transparent 0%, transparent 100%);
}
/* a faint dot matrix that surfaces only around the pointer */
.dots {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.6) 0.675px, transparent 1.125px);
  background-size: 14px 14px;
  background-position: center;
  -webkit-mask-image: radial-gradient(circle 260px at var(--mx, 50%) var(--my, 50%), #000 0%, rgba(0,0,0,.45) 45%, transparent 100%);
          mask-image: radial-gradient(circle 260px at var(--mx, 50%) var(--my, 50%), #000 0%, rgba(0,0,0,.45) 45%, transparent 100%);
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.is-near > .dots { opacity: .45; }
.media > .dots { z-index: 2; }
.hero__sticky > .dots { z-index: 1; }

/* navigation sits on a hairline across the very top */
.hero__navwrap {
  grid-row: 1;
  position: relative; z-index: 3;
  padding: calc(var(--gutter) * .9) var(--gutter) 0;
}
.hero__rule {
  position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--gutter) * .9 + 12.5px);
  height: 1px; background: rgba(255,255,255,.55);
  transform-origin: left center;
}
.hero__nav {
  position: relative;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .9375rem; font-weight: 500;
}
.hero__nav > * { position: relative; padding: 6px 12px; line-height: 1; text-shadow: 0 1px 12px rgba(40,25,18,.25); }
.hero__nav > *:first-child { padding-left: 0; }
.hero__nav > *:last-child { padding-right: 0; }
.hero__nav a::after, .hero__nav button::after { left: 12px; right: 12px; bottom: -2px; }
.hero__nav .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; margin-right: 8px; vertical-align: middle; transform: translateY(-1px);
}

/* BROOK sits directly above & HOBBS; the strapline sits to its right */
/* staggered wordmark: BROOK flush to the left edge, & HOBBS flush to the right edge and the bottom.
   Both lines share one letter size; the strapline sits beneath BROOK, beside & HOBBS. */
.hero__row {
  grid-row: 3;
  z-index: 2;
  display: flex; justify-content: flex-start; align-items: flex-end;
  margin-bottom: 0.4vw;
}
.hero__word { position: relative; z-index: 2; }
.hero__word-mask { overflow: hidden; }
.hero__word svg { display: block; width: 100%; height: auto; fill: currentColor; }
.hero__word--top { width: 52.45%; flex: none; } /* 68% x 322 / 417.5 */
.hero__word--bottom { grid-row: 4; justify-self: end; width: 68%; margin-bottom: -1px; }
.hero__tag {
  position: absolute; z-index: 2;
  left: var(--gutter); bottom: calc(var(--gutter) * .9);
  font-size: .75rem; letter-spacing: .04em; line-height: 1.45;
  text-align: left;
}

/* =========================================================
   02 THE SHIFT
   ========================================================= */
.shift { padding-top: clamp(80px, 10vw, 160px); }
.shift__title { max-width: 13ch; }
.shift__intro { row-gap: 56px; align-items: start; }
.shift__text { grid-column: 1 / span 7; }
.shift__aside { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: clamp(28px, 3vw, 44px); }
.shift__aside .shift__copy { margin-left: 20%; }
.shift__lead { margin-top: clamp(56px, 7vw, 120px); max-width: 22ch; }
.triptych {
  margin-top: clamp(80px, 10vw, 160px);
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--gutter);
}
.triptych__item:nth-child(2) { margin-top: clamp(40px, 8vw, 140px); }
.triptych__item:nth-child(3) { margin-top: clamp(20px, 3vw, 50px); }

/* =========================================================
   03 THE GAP WE OWN
   ========================================================= */
.gap { padding-top: 0; }
.gap .rule { margin-bottom: clamp(40px, 5vw, 72px); }
.gap__title { max-width: 18ch; }
.gap__copy { grid-column: 8 / span 4; margin-top: clamp(40px, 5vw, 80px); }
.gap { padding-bottom: 0; }
.gap__wide { margin-top: clamp(80px, 10vw, 160px); }

/* =========================================================
   04 PILLARS (timeline)
   ========================================================= */
.pillars__title { max-width: 12ch; }
.pillars__intro { grid-column: 8 / span 4; margin-top: clamp(40px, 5vw, 80px); color: rgba(255,255,255,.82); }
.pillars__track { position: relative; margin-top: clamp(80px, 10vw, 160px); }
.pillars__line {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1px; background: rgba(255,255,255,.18);
}
.pillars__fill {
  position: absolute; inset: 0; background: var(--azure);
  transform-origin: top center; transform: scaleY(0);
}
.pillars__dot {
  position: sticky; top: 50vh; display: block;
  width: 9px; height: 9px; border-radius: 50%;
  margin-left: -4px;
  background: var(--white);
  box-shadow: 0 0 0 6px rgba(137,156,180,.22);
}
.pillar {
  position: relative;
  display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gutter);
  align-items: center;
  padding: clamp(60px, 9vh, 120px) 0;
}
.pillar__head {
  grid-column: 5 / span 4; grid-row: 1;
  text-align: center; z-index: 2;
  opacity: .28;
  transition: opacity .9s var(--ease);
}
.pillar__num {
  display: block;
  font-weight: 300; font-size: clamp(3.5rem, 8vw, 8.5rem);
  line-height: .9; letter-spacing: -.05em;
}
.pillar__name {
  margin-top: 16px;
  font-weight: 400; font-size: clamp(1rem, 1.35vw, 1.3rem); letter-spacing: -.01em; line-height: 1.25;
}
.pillar__media { grid-row: 1; transform-origin: center; }
.pillar__body {
  grid-row: 1; color: rgba(255,255,255,.85);
  opacity: 0; transform: translateY(16px);
  transition: opacity .9s var(--ease), transform 1.1s var(--ease);
}
.pillar--left .pillar__media { grid-column: 1 / span 4; }
.pillar--left .pillar__body  { grid-column: 10 / span 3; }
.pillar--right .pillar__media { grid-column: 9 / span 4; }
.pillar--right .pillar__body  { grid-column: 1 / span 3; justify-self: end; text-align: right; }
.pillar.is-active .pillar__head { opacity: 1; }
.pillar.is-active .pillar__body { opacity: 1; transform: none; }

/* =========================================================
   05 THE CONTINUUM
   ========================================================= */
.continuum__title { max-width: none; font-size: clamp(2.5rem, 7.6vw, 8.75rem); }
.pillar__media .media__label { left: 12%; bottom: 12%; }
.continuum__grid { margin-top: clamp(80px, 10vw, 160px); row-gap: 48px; }
.continuum__side { grid-column: 1 / span 4; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.continuum__mark { width: clamp(96px, 12vw, 190px); fill: var(--white); overflow: visible; }
.continuum__main { grid-column: 6 / span 7; }
.continuum__copy { margin-top: clamp(32px, 4vw, 56px); max-width: 44ch; color: rgba(255,255,255,.9); }
.continuum__figure { margin-top: clamp(80px, 10vw, 160px); }

/* =========================================================
   06 OUR WAY
   ========================================================= */
.way__title { max-width: 11ch; }
.way__copy { grid-column: 8 / span 4; margin-top: clamp(40px, 5vw, 80px); }
.principles { margin-top: clamp(80px, 10vw, 160px); }
.principle {
  display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gutter);
  align-items: baseline;
}
.principle .rule { grid-column: 1 / -1; margin-bottom: clamp(20px, 2.4vw, 36px); }
.principle__num { grid-column: 1 / span 2; font-size: .75rem; letter-spacing: .14em; color: var(--azure); text-transform: uppercase; }
.principle__text { grid-column: 4 / span 9; padding-bottom: clamp(20px, 2.4vw, 36px); font-size: clamp(1.6rem, 3.6vw, 3.75rem); }
.principle--end .rule { margin-bottom: 0; }
.quote { margin-top: clamp(100px, 13vw, 200px); }
.quote__text { max-width: 17ch; }
.film { margin-top: clamp(56px, 7vw, 110px); align-items: start; row-gap: 24px; }
.film__intro { grid-column: 1 / span 4; align-self: end; display: flex; flex-direction: column; }
.film__intro .eyebrow { margin-bottom: 18px; }
.film__title { max-width: 12ch; }
.film__copy { margin-top: 16px; max-width: 26ch; opacity: .8; }
.film__cue {
  margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  font-size: .8125rem; letter-spacing: .04em;
}
.film__cue::before { content: ""; width: 2.125rem; height: 1px; background: currentColor; opacity: .6; }
.film__frame { grid-column: 5 / span 8; position: relative; display: block; width: 100%; text-align: left; }
.film__play {
  position: absolute; left: 50%; top: 50%;
  width: clamp(64px, 7vw, 96px); aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.8);
  transition: transform .9s var(--ease), background-color .6s var(--ease);
}
.film__play::after {
  content: ""; position: absolute; left: 54%; top: 50%;
  border-style: solid; border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--white);
  transform: translate(-50%, -50%);
}
.film__frame:hover .film__play { transform: translate(-50%, -50%) scale(1.12); background: rgba(255,255,255,.12); }
.film__play { background: rgba(72,50,40,.28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.film__badge {
  position: absolute; left: 20px; top: 20px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(72,50,40,.45); color: var(--white);
  font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.film__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--white); }
.film__frame .media__inner { transition: transform 1.6s var(--ease); }
.film__frame:hover .media__inner { transform: scale(1.03); }

/* =========================================================
   07 WHO WE SERVE
   ========================================================= */
.who__title { max-width: 12ch; }
.who__copy { grid-column: 8 / span 4; margin-top: clamp(40px, 5vw, 80px); color: rgba(255,255,255,.82); }
.people { margin-top: clamp(80px, 10vw, 160px); border-top: 1px solid rgba(255,255,255,.18); }
.person {
  display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gutter);
  align-items: baseline;
  padding: clamp(22px, 2.6vw, 40px) 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
  transition: opacity .7s var(--ease);
}
.person__num { grid-column: 1 / span 1; font-size: .75rem; letter-spacing: .1em; color: var(--azure); }
.person__name {
  grid-column: 2 / span 7;
  font-weight: 300; font-size: clamp(1.6rem, 3.6vw, 3.6rem); letter-spacing: -.04em; line-height: 1.02;
  transition: transform .9s var(--ease);
}
.person__desc { grid-column: 9 / span 4; font-size: 1rem; line-height: 1.5; color: rgba(255,255,255,.7); max-width: 34ch; }
.person__quote { display: none; }
.people.is-hovering .person { opacity: .32; }
.people.is-hovering .person.is-hover { opacity: 1; }
.person.is-hover .person__name { transform: translateX(clamp(8px, 1.2vw, 20px)); }

.float-card {
  position: fixed; left: 0; top: 0; z-index: 400;
  width: clamp(220px, 20vw, 20rem);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
.float-card__media { position: relative; aspect-ratio: 4/5; overflow: hidden; clip-path: inset(100% 0 0 0); }
.float-card__item { opacity: 0; transition: opacity .5s var(--ease); }
.float-card__item.is-current { opacity: 1; }
.float-card__quote {
  margin-top: 14px; color: var(--white);
  font-size: .9375rem; line-height: 1.4; letter-spacing: -.01em;
}

/* =========================================================
   08 CLOSING
   ========================================================= */
.closing { min-height: 100svh; display: flex; align-items: center; }
.closing > .wrap { width: 100%; }
.closing__title { max-width: 18ch; font-size: clamp(2.5rem, 6.2vw, 7.25rem); }
.closing__grid { margin-top: clamp(56px, 7vw, 110px); align-items: end; row-gap: 32px; }
.closing__copy { grid-column: 1 / span 4; }
.closing__cta { grid-column: 8 / span 5; justify-self: end; }
.closing { padding-bottom: 0; }
.closing__banner {
  margin-top: clamp(48px, 5vw, 80px);
  margin-left: calc(-1 * var(--gutter));
  margin-right: calc(-1 * var(--gutter));
}
.closing__banner .media { border-radius: 0; }

/* =========================================================
   FOOTER (fixed, revealed as the page scrolls away)
   ========================================================= */
main { position: relative; z-index: 2; margin-bottom: 100svh; background: var(--light-bg); }
.footer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1;
  height: 100svh;
  background: var(--hazel); color: var(--white);
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.footer__top {
  flex: 1;
  display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gutter);
  padding-top: calc(var(--header-h) + 24px);
  align-content: start;
}
.footer__col:first-child { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 24px; }
.footer__col:nth-child(2) { grid-column: 8 / span 2; }
.footer__col:nth-child(3) { grid-column: 11 / span 2; }
.footer__mark { width: 2.75rem; fill: currentColor; }
.footer__col .t-body { color: rgba(255,255,255,.75); }
.footer__links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: .9375rem; }
.footer__links .eyebrow { margin-bottom: 10px; }
.footer__social { display: flex; gap: 12px; margin-top: 14px; }
.footer__social a { display: inline-flex; width: 2.125rem; height: 2.125rem; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: var(--white); transition: border-color .5s var(--ease), color .5s var(--ease); }
.footer__social a::after { display: none; }
.footer__social svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.footer__social a:hover { border-color: #c6d7f4; color: #c6d7f4; }
.footer__bar {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-top: 20px; padding-bottom: 20px;
  border-top: 1px solid rgba(255,255,255,.18);
  margin: 0 var(--gutter);
  padding-left: 0; padding-right: 0;
  font-size: .75rem; letter-spacing: .04em;
  color: rgba(255,255,255,.75);
}
.footer__wm { padding: 0; margin-bottom: -1px; } /* flush to both sides and the bottom */
.footer__wm svg { display: block; width: 100%; height: auto; overflow: hidden; }

/* =========================================================
   ENQUIRY MODAL
   ========================================================= */
/* video lightbox */
.lightbox { position: fixed; inset: 0; z-index: 900; visibility: hidden; display: grid; place-items: center; padding: clamp(16px, 4vw, 64px); }
.lightbox__shade { position: absolute; inset: 0; background: rgba(30,20,16,.92); opacity: 0; }
.lightbox__frame {
  position: relative; width: min(100%, calc((100vh - 128px) * 16 / 9), 1280px); aspect-ratio: 16/9;
  background: #000; opacity: 0; transform: scale(.96);
  box-shadow: 0 40px 120px rgba(0,0,0,.5);
}
.lightbox__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox__close {
  position: absolute; top: 20px; right: 24px; z-index: 2;
  width: 3rem; height: 3rem; color: var(--white);
  opacity: 0;
}
.lightbox__close span {
  position: absolute; left: 12px; right: 12px; top: 50%; height: 1px; background: currentColor;
  transition: transform .7s var(--ease);
}
.lightbox__close span:first-child { transform: rotate(45deg); }
.lightbox__close span:last-child { transform: rotate(-45deg); }
.lightbox__close { outline: none; border-radius: 50%; }
.lightbox__close:focus-visible { box-shadow: 0 0 0 1px rgba(255,255,255,.45); }
.lightbox__close:hover span:first-child { transform: rotate(135deg); }
.lightbox__close:hover span:last-child { transform: rotate(45deg); }

.modal { position: fixed; inset: 0; z-index: 800; visibility: hidden; }
.modal__shade { position: absolute; inset: 0; background: rgba(46,31,24,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; }
.modal__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(600px, 100%);
  background: var(--beige); color: var(--hazel);
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y;
  transform: translateX(100%);
}
.modal__content { padding: clamp(56px, 7vh, 80px) clamp(24px, 4vw, 56px) 32px; }
.modal__intro { margin-top: 10px; color: rgba(72,50,40,.75); }
.modal__close {
  position: absolute; top: 24px; right: clamp(24px, 4vw, 56px);
  width: 2.5rem; height: 2.5rem;
}
.modal__close span {
  position: absolute; left: 8px; right: 8px; top: 50%; height: 1px; background: currentColor;
  transition: transform .7s var(--ease);
}
.modal__close span:first-child { transform: rotate(45deg); }
.modal__close span:last-child { transform: rotate(-45deg); }
.modal__close:hover span:first-child { transform: rotate(135deg); }
.modal__close:hover span:last-child { transform: rotate(45deg); }

.form { margin-top: clamp(18px, 2.5vh, 28px); display: flex; flex-direction: column; gap: 0; }
.form__error { margin-top: 18px; font-size: .875rem; color: #9a3b2e; }
.field { position: relative; padding-top: 14px; }
.field input, .field textarea, .field select {
  width: 100%; display: block;
  border: 0; border-bottom: 1px solid rgba(72,50,40,.28); border-radius: 0;
  background: transparent; color: var(--hazel);
  font: inherit; font-size: 1.0625rem; font-weight: 300;
  padding: 8px 0 8px;
  outline: none;
  -webkit-appearance: none; appearance: none;
  transition: border-color .5s var(--ease);
}
.field textarea { resize: none; min-height: 64px; }
.field label {
  position: absolute; left: 0; top: 23px;
  font-size: 1rem; font-weight: 300; color: rgba(72,50,40,.6);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .6s var(--ease), color .5s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--hazel); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select.has-value + label {
  transform: translateY(-22px) scale(.75);
  color: var(--azure);
}
.field--select::after {
  content: ""; position: absolute; right: 4px; top: 28px;
  width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg); pointer-events: none; opacity: .6;
}
.field.is-invalid input, .field.is-invalid select { border-color: var(--burgundy); }
.field.is-invalid label { color: var(--burgundy); }
.form__foot { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__note { font-size: .75rem; color: rgba(72,50,40,.6); max-width: 22ch; }
.form[hidden] { display: none; }
.form__done { margin-top: clamp(32px, 5vw, 56px); }
.form__done-mark { width: 3rem; fill: var(--azure); margin-bottom: 28px; }
.form__done .t-body { margin-top: 16px; }

/* =========================================================
   Pre-animation states (only when JS + GSAP are running)
   ========================================================= */
html.js [data-split] { visibility: hidden; }
html.js [data-fade] { opacity: 0; }
html.js .rule[data-rule] { transform: scaleX(0); }
html.no-motion [data-split], html.no-motion [data-fade] { visibility: visible; opacity: 1; }
html.no-motion .rule[data-rule] { transform: none; }
.split-line { padding-bottom: .06em; margin-bottom: -.06em; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .site-header__nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .menu-toggle { display: inline-block; }
  .hero__nav > *:not(:first-child):not(.lang):not(button) { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .site-header__end .lang { display: none; }
  .hero { height: 100svh; }
  .hero__word--top { width: 69.4%; }
  .hero__word--bottom { width: 90%; }
  .hero__tag { bottom: calc(27.6vw + 18px); } /* above BROOK: no room beside & HOBBS on a phone */

  .shift__text, .shift__aside, .gap__copy,
  .pillars__intro, .way__copy, .who__copy, .closing__copy, .closing__cta,
  .continuum__side, .continuum__main, .film__frame, .film__intro { grid-column: 1 / -1; }
  .shift__copy, .gap__copy, .pillars__intro, .way__copy, .who__copy { margin-top: 28px; }
  .shift__aside .shift__copy { padding-left: 0; }
  .closing__cta { justify-self: start; }
  .triptych { grid-template-columns: 1fr 1fr; }
  .triptych__item:nth-child(3) { display: none; }

  /* timeline becomes a left-aligned rail */
  .pillars__line { left: var(--gutter); }
  .pillar { grid-template-columns: 1fr; row-gap: 20px; padding: 56px 0 56px 32px; }
  .pillar__head, .pillar__media, .pillar__body,
  .pillar--left .pillar__media, .pillar--left .pillar__body,
  .pillar--right .pillar__media, .pillar--right .pillar__body {
    grid-column: 1; grid-row: auto; text-align: left; justify-self: start;
  }
  .pillar__head { order: 1; }
  .pillar__body { order: 2; }
  .pillar__media { order: 3; width: 100%; }

  .principle__num { grid-column: 1 / span 2; }
  .principle__text { grid-column: 3 / -1; }

  .person { grid-template-columns: 40px 1fr; row-gap: 10px; }
  .person__num { grid-column: 1; }
  .person__name { grid-column: 2; }
  .person__desc { grid-column: 2; }
  .person__quote { display: block; grid-column: 2; font-size: .9375rem; color: var(--azure); }

  .footer__top { row-gap: 40px; }
  .footer__col:first-child { grid-column: 1 / -1; }
  .footer__col:nth-child(2) { grid-column: 1 / span 6; }
  .footer__col:nth-child(3) { grid-column: 7 / span 6; }
  .footer__bar { font-size: .6875rem; }
  .footer__bar span { width: 100%; }
}

@media (max-width: 560px) {
  .brand__wm { display: none; }
  .triptych { grid-template-columns: 1fr; }
  .triptych__item:nth-child(2) { margin-top: 0; }
  .media[style*="21/9"] { aspect-ratio: 4/3; }
  .closing__banner .media { aspect-ratio: 3/2; }
  .hero__nav > button { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- Large displays ---------- */
@media (min-width: 1800px) {
  .t-body { max-width: 40ch; }
}
.film--hidden { position: relative; outline: 1px dashed rgba(137,156,180,.7); outline-offset: 12px; opacity: .55; }
.film--hidden::before { content: attr(data-hidden-note); position: absolute; top: -34px; left: 0; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--azure); }
