/* BUILT FILE — do not edit. Edit the partials + run build.py */
/* 01-settings/_tokens.css */
/* ============================================================
   01-SETTINGS / TOKENS
   Single source of truth. Dark is the DEFAULT theme; light is
   an on-brand alternate applied via [data-theme="light"].
   Components reference only the semantic tokens.
   ============================================================ */

:root {
  color-scheme: dark;

  /* --- Brand hues --- */
  --navy:        #0A1628;
  --gold:        #B8963E;
  --gold-bright: #E4C57C;
  --gold-deep:   #8C6E2B;
  --ink:         #1A1A1A;
  --pale:        #F5F3EF;

  /* --- Gold gradient + glows (used for shimmer text and accents) --- */
  --grad-gold: linear-gradient(100deg, #8C6E2B 0%, #E4C57C 28%, #FBF0CE 50%, #E4C57C 72%, #8C6E2B 100%);
  --grad-gold-soft: linear-gradient(120deg, #C8A55A, #E4C57C);
  --glow-gold: rgba(200, 165, 90, 0.35);

  /* ===== DARK THEME (default) ===== */
  --canvas:      #060B15;   /* deep near-black navy */
  --canvas-2:    #08101F;
  --surface:     #0C1526;   /* raised panel */
  --surface-2:   #101B31;
  --text:        #F1EBDE;   /* warm cream */
  --text-strong: #FCF7EC;
  --text-muted:  #A9B2C1;
  --text-faint:  #6E7A8C;
  --accent:      #D9B978;   /* gold on dark */
  --accent-text: #E4C57C;
  --accent-deep: #C8A55A;
  --on-accent:   #0A1628;
  --rule:        rgba(226, 214, 190, 0.12);
  --rule-strong: rgba(226, 214, 190, 0.22);
  --hairline-gold: rgba(217, 185, 120, 0.30);
  --header-bg:   rgba(6, 11, 21, 0.62);
  --overlay-bg:  rgba(4, 8, 15, 0.90);
  --shadow-lift: 0 24px 60px -28px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 0 60px -12px var(--glow-gold);
  --selection-bg: var(--gold-bright);
  --selection-fg: #0A1628;
  --scrim:       radial-gradient(120% 120% at 50% 0%, rgba(20, 34, 60, 0.55) 0%, rgba(6, 11, 21, 0) 60%);

  /* --- Type scale (fluid) --- */
  --fs-display: clamp(3rem, 1.2rem + 8vw, 7.5rem);   /* hero name */
  --fs-hero-sub: clamp(1rem, 0.85rem + 0.7vw, 1.375rem);
  --fs-h2:    clamp(2rem, 1.3rem + 3vw, 3.5rem);
  --fs-h3:    clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem);
  --fs-quote: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem);
  --fs-stat:  clamp(2.75rem, 1.6rem + 5vw, 4.75rem);
  --fs-lead:  clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --fs-body:  1.125rem;
  --fs-desc:  1.0625rem;
  --fs-label: 0.8125rem;
  --fs-nav:   0.9375rem;
  --fs-foot:  0.9375rem;
  --fs-eyebrow: 0.75rem;

  --lh-tight: 1.04;
  --lh-snug:  1.24;
  --lh-body:  1.75;
  --lh-nav:   1;

  --tracking-eyebrow: 0.34em;
  --tracking-label:   0.2em;
  --tracking-nav:     0.15em;
  --tracking-display: -0.02em;

  /* --- Spacing --- */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;
  --sp-11: 11rem;

  /* --- Layout --- */
  --measure:   44rem;
  --shell-max: 78rem;
  --gutter:    clamp(1.25rem, 5vw, 6rem);
  --header-h:          4.75rem;
  --header-h-scrolled: 4rem;
  --radius:  14px;
  --radius-lg: 22px;

  /* --- Stacking --- */
  --z-progress: 120;
  --z-skip:    115;
  --z-header:  100;
  --z-menu:     90;
  --z-preloader: 200;

  /* --- Motion --- */
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-back:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-ui:        cubic-bezier(0.4, 0, 0.2, 1);
  --dur-micro:    180ms;
  --dur-ui:       340ms;
  --dur-reveal:   820ms;
  --dur-entrance: 1000ms;
  --stagger:      80ms;
}

/* ===== LIGHT THEME (alternate) ===== */
[data-theme="light"] {
  color-scheme: light;

  --canvas:      #FBFAF7;
  --canvas-2:    #F5F3EF;
  --surface:     #FFFFFF;
  --surface-2:   #F5F3EF;
  --text:        #1A1A1A;
  --text-strong: #0A1628;
  --text-muted:  #4A4A4A;
  --text-faint:  #6F6F6F;
  --accent:      #B8963E;
  --accent-text: #8C6E2B;
  --accent-deep: #8C6E2B;
  --on-accent:   #FFFFFF;
  --rule:        rgba(10, 22, 40, 0.12);
  --rule-strong: rgba(10, 22, 40, 0.22);
  --hairline-gold: rgba(184, 150, 62, 0.42);
  --header-bg:   rgba(251, 250, 247, 0.72);
  --overlay-bg:  rgba(251, 250, 247, 0.96);
  --shadow-lift: 0 24px 60px -30px rgba(10, 22, 40, 0.28);
  --shadow-glow: 0 18px 50px -26px rgba(10, 22, 40, 0.30);
  --selection-bg: var(--navy);
  --selection-fg: #F5F3EF;
  --scrim:       radial-gradient(120% 120% at 50% 0%, rgba(184, 150, 62, 0.10) 0%, rgba(251, 250, 247, 0) 55%);
  --glow-gold:   rgba(184, 150, 62, 0.28);
}

/* 01-settings/_breakpoints.css */
/* ============================================================
   01-SETTINGS / BREAKPOINTS
   Reference only — CSS custom properties cannot hold media
   query values, so every component uses these raw values
   directly and this file documents the system in one place.
   The scale mirrors Bootstrap 5 so the vendor grid utilities
   and our own queries always agree.

     sm   576px   large phones, landscape
     md   768px   tablets, portrait
     lg   992px   desktop — nav switches from overlay to inline
     xl   1200px  wide desktop
     xxl  1400px  full-width desktop

   Special cases used by components:
     375px  wordmark condenses to the DVJ monogram
   ============================================================ */

/* 02-base/_reset.css */
/* ============================================================
   02-BASE / RESET
   Minimal modern reset — only what the design needs.
   ============================================================ */

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

ul[role="list"] {
  padding: 0;
  list-style: none;
}

blockquote,
figure {
  margin: 0;
}

a {
  color: inherit;
}

/* 02-base/_typography.css */
/* ============================================================
   02-BASE / TYPOGRAPHY
   Georgia at every size — no web fonts requested.
   ============================================================ */

body {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  font-weight: 400;
  line-height: var(--lh-snug);
  color: var(--text-strong);
  text-wrap: balance;
}

h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-tight);
  letter-spacing: -0.015em;
}

h3 {
  font-size: var(--fs-h3);
}

p {
  text-wrap: pretty;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--text);
}

.muted {
  color: var(--text-muted);
}

.label {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--accent-text);
}

/* 02-base/_globals.css */
/* ============================================================
   02-BASE / GLOBALS
   Page canvas, shared shell, section rhythm, theme transition.
   ============================================================ */

html {
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

body {
  position: relative;
  background-color: var(--canvas);
  color: var(--text);
  overflow-x: hidden;
}

/* A faint top scrim gives the dark canvas depth without a flat feel */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--scrim);
  pointer-events: none;
}

::selection {
  background-color: var(--selection-bg);
  color: var(--selection-fg);
}

/* --- Shared layout shell --- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.shell--narrow {
  max-width: calc(var(--measure) + 8rem);
}

/* --- Section rhythm --- */
.section {
  position: relative;
  padding-block: clamp(4.5rem, 3rem + 8vw, 9rem);
}

.section--tight {
  padding-block: clamp(3rem, 2rem + 5vw, 6rem);
}

/* Tighter section rhythm on phones so the page does not feel sparse */
@media (max-width: 767px) {
  .section {
    padding-block: var(--sp-8);
  }

  .section--tight {
    padding-block: var(--sp-7);
  }
}

/* --- Eyebrow label (gold, tracked, with a lead rule) --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--accent-text);
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background-color: var(--accent);
}

.eyebrow--center {
  justify-content: center;
}

/* --- Gold shimmer text (animated on capable, static otherwise) --- */
.gold-text {
  background: var(--grad-gold);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* --- Short gold rule divider --- */
.rule-gold {
  width: 3.5rem;
  height: 2px;
  background-color: var(--accent);
}

/* Reserve the theme-change transition for the toggle moment only */
@media (prefers-reduced-motion: no-preference) {
  html.is-theming body,
  html.is-theming body::before,
  html.is-theming *,
  html.is-theming *::before,
  html.is-theming *::after {
    transition:
      background-color var(--dur-ui) var(--ease-ui),
      color var(--dur-ui) var(--ease-ui),
      border-color var(--dur-ui) var(--ease-ui);
  }
}

/* 03-components/_preloader.css */
/* ============================================================
   03-COMPONENTS / PRELOADER
   A brief branded curtain: the monogram draws in with a gold
   shimmer, a hairline fills, then the curtain lifts to reveal
   the hero. Dismissed by preloader.js; a timed fallback and
   the no-JS path both guarantee it never traps the page.
   ============================================================ */

.preloader {
  position: fixed;
  inset: 0;
  z-index: var(--z-preloader);
  display: grid;
  place-content: center;
  gap: var(--sp-5);
  background-color: var(--canvas);
}

.preloader__mark {
  font-size: clamp(2.5rem, 1.5rem + 5vw, 4rem);
  letter-spacing: 0.12em;
  text-align: center;
}

.preloader__bar {
  width: min(14rem, 50vw);
  height: 1px;
  margin-inline: auto;
  background-color: var(--rule-strong);
  overflow: hidden;
}

.preloader__bar::after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  background: var(--grad-gold-soft);
  transform: translateX(-100%);
}

/* No-JS / no-motion: never leave a curtain over the page */
html:not(.js) .preloader {
  display: none;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  .preloader {
    transition: opacity 620ms var(--ease-out-quart), visibility 0s linear 620ms;
  }

  .js .preloader__mark {
    opacity: 0;
    animation: pre-mark-in 700ms var(--ease-out-quart) 120ms forwards;
  }

  .js .preloader__bar::after {
    animation: pre-bar 1000ms var(--ease-out-quart) 260ms forwards;
  }
}

@keyframes pre-mark-in {
  from { opacity: 0; transform: translateY(8px); letter-spacing: 0.3em; }
  to   { opacity: 1; transform: none; letter-spacing: 0.12em; }
}

@keyframes pre-bar {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}

/* 03-components/_scroll-progress.css */
/* ============================================================
   03-COMPONENTS / SCROLL PROGRESS
   A hairline gold bar across the very top, scaled to reading
   progress by scroll-progress.js (transform only, cheap).
   ============================================================ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-progress);
  height: 2px;
  background: var(--grad-gold-soft);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* 03-components/_background.css */
/* ============================================================
   03-COMPONENTS / BACKGROUND FX
   Ambient motion behind everything: three slowly drifting,
   heavily-blurred colour orbs and a faint film grain. Fixed,
   pointer-transparent, and static under reduced motion.
   ============================================================ */

.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
}

.bg-fx__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}

.bg-fx__orb--1 {
  width: 46vw;
  height: 46vw;
  left: -10vw;
  top: 6vh;
  background: radial-gradient(circle, rgba(200, 165, 90, 0.20), transparent 70%);
}

.bg-fx__orb--2 {
  width: 40vw;
  height: 40vw;
  right: -8vw;
  top: 42vh;
  background: radial-gradient(circle, rgba(28, 52, 92, 0.55), transparent 70%);
}

.bg-fx__orb--3 {
  width: 34vw;
  height: 34vw;
  left: 24vw;
  bottom: -12vh;
  background: radial-gradient(circle, rgba(200, 165, 90, 0.12), transparent 70%);
}

/* Faint grain for a premium, filmic texture */
.bg-fx__grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

[data-theme="light"] .bg-fx__orb {
  opacity: 0.5;
}

[data-theme="light"] .bg-fx__grain {
  mix-blend-mode: multiply;
  opacity: 0.035;
}

@media (prefers-reduced-motion: no-preference) {
  .bg-fx__orb--1 { animation: orb-1 36s ease-in-out infinite alternate; }
  .bg-fx__orb--2 { animation: orb-2 48s ease-in-out infinite alternate; }
  .bg-fx__orb--3 { animation: orb-3 42s ease-in-out infinite alternate; }
}

@keyframes orb-1 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(9vw, 11vh, 0) scale(1.18); }
}

@keyframes orb-2 {
  from { transform: translate3d(0, 0, 0) scale(1.05); }
  to   { transform: translate3d(-8vw, -9vh, 0) scale(0.9); }
}

@keyframes orb-3 {
  from { transform: translate3d(0, 0, 0) scale(0.95); }
  to   { transform: translate3d(6vw, -8vh, 0) scale(1.2); }
}

/* Fewer, cheaper effects on small screens */
@media (max-width: 767px) {
  .bg-fx__orb {
    filter: blur(60px);
  }

  .bg-fx__orb--3 {
    display: none;
  }
}

/* 03-components/_media.css */
/* ============================================================
   03-COMPONENTS / MEDIA
   Shared image treatment: greyscale by default, full colour on
   hover/focus, with a slow zoom and a soft light sweep. Used by
   the portrait, gallery and brand strip.
   ============================================================ */

.media {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: var(--surface);
  isolation: isolate;
}

.media__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.03) brightness(0.96);
}

/* Travelling light highlight */
.media__sheen {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 34%, rgba(255, 250, 235, 0.16) 48%, transparent 62%);
  transform: translateX(-130%);
  mix-blend-mode: overlay;
}

/* Gold frame accent for framed images */
.media--frame {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.media--frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px transparent;
  pointer-events: none;
}

.media:hover .media__img,
.media:focus-within .media__img {
  filter: grayscale(0) contrast(1.05) brightness(1);
}

.media--frame:hover::after,
.media--frame:focus-within::after {
  box-shadow: inset 0 0 0 1px var(--hairline-gold);
}

@media (prefers-reduced-motion: no-preference) {
  .media__img {
    transition: filter 800ms var(--ease-ui), transform 1300ms var(--ease-out-quart);
  }

  .media__sheen {
    transition: transform 900ms var(--ease-out-quart);
  }

  .media--frame::after {
    transition: box-shadow var(--dur-ui) var(--ease-ui);
  }

  .media:hover .media__img,
  .media:focus-within .media__img {
    transform: scale(1.05);
  }

  .media:hover .media__sheen,
  .media:focus-within .media__sheen {
    transform: translateX(130%);
  }
}

/* Touch devices can't hover — show media in colour by default */
@media (hover: none) {
  .media__img {
    filter: grayscale(0) contrast(1.03) brightness(1);
  }
}

/* 03-components/_header.css */
/* ============================================================
   03-COMPONENTS / SITE HEADER
   Fixed, transparent over the hero; gains a translucent field
   and a hairline once the page scrolls (state set by header.js).
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  isolation: isolate;
  display: flex;
  align-items: center;
  /* Grow by the safe-area inset rather than absorbing it, so the control
     row keeps its full height below a notch (border-box reset applies). */
  height: calc(var(--header-h) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid transparent;
  background-color: transparent;
}

.site-header.is-scrolled {
  height: calc(var(--header-h-scrolled) + env(safe-area-inset-top));
  border-bottom-color: var(--rule);
  background-color: var(--header-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Solid fallback where backdrop-filter is unsupported */
@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .site-header.is-scrolled {
    background-color: var(--canvas);
  }
}

.site-header__shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

/* --- Left cluster: primary nav on desktop, menu button on mobile --- */
.site-header__left {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

/* Pull the mobile menu glyph to the gutter (button is hidden on desktop) */
.menu-button {
  margin-left: -0.6rem;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

@media (prefers-reduced-motion: no-preference) {
  .site-header {
    transition:
      height var(--dur-ui) var(--ease-ui),
      background-color var(--dur-ui) var(--ease-ui),
      border-color var(--dur-ui) var(--ease-ui);
  }
}

/* ============================================================
   OVERLAY MENU (mobile / tablet) — full-viewport canvas panel.
   Open state and focus behaviour are managed by header.js.
   ============================================================ */

.site-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  isolation: isolate;
  display: grid;
  align-content: start;
  /* Scroll inside the panel on short (landscape-phone) viewports so no link
     is stranded below the fold while the document scroll is locked. */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: calc(var(--header-h) + var(--sp-8) + env(safe-area-inset-top));
  padding-bottom: max(var(--sp-8), env(safe-area-inset-bottom));
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
  background-color: var(--overlay-bg);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-menu {
    background-color: var(--canvas);
  }
}

.site-menu[hidden] {
  display: none;
}

.site-menu__list {
  display: grid;
  gap: var(--sp-5);
}

/* Compound selector so the 44px hit area wins over .link-line's inline-block */
.site-menu__list .site-menu__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: clamp(1.65rem, 5.5vw, 2.25rem);
  line-height: var(--lh-tight);
}

/* Scroll lock while the overlay is open */
html.menu-open,
html.menu-open body {
  overflow: hidden;
}

/* 03-components/_nav.css */
/* ============================================================
   03-COMPONENTS / NAVIGATION + SHARED LINK TREATMENT
   Desktop nav is horizontal; below lg it lives in the overlay
   menu. `.link-line` is the shared editorial link: a gold
   underline that draws in from the left on hover and focus.
   ============================================================ */

.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.site-nav__list a {
  font-size: var(--fs-nav);
  line-height: var(--lh-nav);
  letter-spacing: var(--tracking-nav);
}

/* --- Shared underline-draw link --- */
.link-line {
  position: relative;
  display: inline-block;
  padding: var(--sp-1) 0;
  text-decoration: none;
  color: var(--text);
}

.link-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

.link-line:hover,
.link-line:focus-visible {
  color: var(--accent-text);
}

.link-line:hover::after,
.link-line:focus-visible::after,
.link-line[aria-current="page"]::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: no-preference) {
  .link-line {
    transition: color var(--dur-micro) var(--ease-ui);
  }

  .link-line::after {
    transition: transform var(--dur-micro) var(--ease-ui);
  }
}

/* 03-components/_theme-toggle.css */
/* ============================================================
   03-COMPONENTS / THEME SWITCH
   A pill switch (hand-drawn SVG, no icon set). The track colour
   follows the theme; a gold knob slides between sides and the
   sun ⇄ moon icon on it morphs as it travels. Driven by
   [data-theme] on <html> (set by theme.js).
       light  → knob left,  sun
       dark   → knob right, moon
   ============================================================ */

.theme-switch {
  display: inline-flex;
  align-items: center;
}

.theme-switch__track {
  position: relative;
  display: block;
  width: 3.5rem;
  height: 1.9rem;
  border-radius: 999px;
  background-color: var(--surface);
  border: 1.5px solid rgba(200, 165, 90, 0.55);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.28);
}

.theme-switch__knob {
  position: absolute;
  top: 50%;
  left: 0.22rem;
  display: grid;
  place-items: center;
  width: 1.42rem;
  height: 1.42rem;
  border-radius: 50%;
  background: var(--grad-gold-soft);
  color: var(--navy);
  transform: translate(0, -50%);
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.38);
}

/* dark (default) → knob slides right, moon */
[data-theme="dark"] .theme-switch__knob {
  transform: translate(1.62rem, -50%);
}

.theme-switch__icon {
  width: 0.95rem;
  height: 0.95rem;
  overflow: visible;
}

.theme-switch__orb {
  fill: currentColor;
}

.theme-switch__rays {
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: center;
}

.theme-switch__bite {
  fill: #000; /* carves the crescent inside the mask */
}

/* dark → moon: rays hidden, bite carving the crescent (default geometry) */
[data-theme="dark"] .theme-switch__rays {
  transform: scale(0.35);
  opacity: 0;
}

/* light → sun: bite slides off the orb, rays fan out */
[data-theme="light"] .theme-switch__bite {
  transform: translate(9px, -9px);
}

[data-theme="light"] .theme-switch__rays {
  transform: scale(1);
  opacity: 1;
}

.theme-switch:hover .theme-switch__track,
.theme-switch:focus-visible .theme-switch__track {
  border-color: var(--accent);
}

@media (prefers-reduced-motion: no-preference) {
  .theme-switch__track {
    transition: background-color var(--dur-ui) var(--ease-ui), border-color var(--dur-ui) var(--ease-ui);
  }

  .theme-switch__knob {
    transition: transform 520ms var(--ease-out-back), scale var(--dur-ui) var(--ease-out-back), background var(--dur-ui) var(--ease-ui);
  }

  .theme-switch__bite {
    transition: transform 520ms var(--ease-out-back);
  }

  .theme-switch__rays {
    transition: transform 480ms var(--ease-out-back), opacity 320ms var(--ease-ui);
  }

  .theme-switch:hover .theme-switch__knob {
    scale: 1.06;
  }

  .theme-switch:active .theme-switch__knob {
    scale: 0.94;
  }
}

/* 03-components/_menu-button.css */
/* ============================================================
   03-COMPONENTS / MENU BUTTON
   Bespoke mark: two hairline bars that morph into a close
   cross when the overlay menu is open (state via .is-open,
   set by header.js alongside aria-expanded).
   ============================================================ */

.menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;   /* 44px hit area */
  height: 2.75rem;
  color: var(--text);
}

.menu-button:hover {
  color: var(--accent-text);
}

.menu-button__bars {
  position: relative;
  display: block;
  width: 1.125rem;
  height: 0.5rem;
}

.menu-button__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: currentColor;
}

.menu-button__bars span:nth-child(1) {
  top: 0;
}

.menu-button__bars span:nth-child(2) {
  bottom: 0;
}

.menu-button.is-open .menu-button__bars span:nth-child(1) {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-button.is-open .menu-button__bars span:nth-child(2) {
  transform: translateY(-3.25px) rotate(-45deg);
}

@media (prefers-reduced-motion: no-preference) {
  .menu-button {
    transition: color var(--dur-micro) var(--ease-ui);
  }

  .menu-button__bars span {
    transition: transform var(--dur-ui) var(--ease-ui);
  }
}

/* 03-components/_button.css */
/* ============================================================
   03-COMPONENTS / BUTTON
   The one call-to-action treatment: a gold-edged pill with a
   fill that wipes in on hover and a travelling arrow.
   ============================================================ */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0.95rem 1.75rem;
  font-size: var(--fs-nav);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent-text);
  border: 1px solid var(--hairline-gold);
  border-radius: 999px;
  background-color: transparent;
  overflow: hidden;
  isolation: isolate;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--grad-gold-soft);
  transform: scaleX(0);
  transform-origin: left;
}

.btn__arrow {
  display: inline-block;
}

.btn:hover,
.btn:focus-visible {
  color: var(--on-accent);
  border-color: transparent;
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: no-preference) {
  .btn {
    transition: color var(--dur-ui) var(--ease-ui), border-color var(--dur-ui) var(--ease-ui);
  }

  .btn::before {
    transition: transform var(--dur-ui) var(--ease-out-quart);
  }

  .btn__arrow {
    transition: transform var(--dur-ui) var(--ease-out-back);
  }

  .btn:hover .btn__arrow,
  .btn:focus-visible .btn__arrow {
    transform: translateX(4px);
  }
}

/* 03-components/_pull-quote.css */
/* ============================================================
   03-COMPONENTS / PULL QUOTE
   First-person callout given a dramatic, large treatment with
   an oversized gold quotation mark. Reused site-wide.
   ============================================================ */

.pull-quote {
  position: relative;
  max-width: 40rem;
  margin-inline: auto;
  padding-top: clamp(3rem, 2rem + 4vw, 5rem);
  text-align: center;
}

.pull-quote::before {
  content: "\201C";
  position: absolute;
  top: clamp(-1rem, -0.5rem - 1vw, 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(6rem, 4rem + 10vw, 11rem);
  line-height: 1;
  color: var(--accent);
  opacity: 0.28;
  pointer-events: none;
}

.pull-quote p {
  font-size: var(--fs-quote);
  font-style: italic;
  line-height: 1.4;
  color: var(--text-strong);
}

.pull-quote figcaption {
  margin-top: var(--sp-6);
  font-size: var(--fs-label);
  font-style: normal;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--accent-text);
}

/* 03-components/_footer.css */
/* ============================================================
   03-COMPONENTS / SITE FOOTER
   Identical across all pages. A quiet nav row above the
   mandated copyright line, over a gold hairline.
   ============================================================ */

.site-footer {
  border-top: 1px solid var(--rule);
  padding-top: var(--sp-9);
  padding-bottom: max(var(--sp-8), env(safe-area-inset-bottom));
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-6);
  margin-bottom: var(--sp-8);
}

.site-footer__wordmark {
  font-size: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  letter-spacing: 0.02em;
  color: var(--text-strong);
  text-decoration: none;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5) var(--sp-6);
}

.site-footer__nav a {
  font-size: var(--fs-nav);
  letter-spacing: var(--tracking-nav);
}

.site-footer__line {
  padding-top: var(--sp-6);
  border-top: 1px solid var(--rule);
  font-size: var(--fs-foot);
  color: var(--text-faint);
}

.site-footer__line a {
  color: var(--text-faint);
}

.site-footer__line a:hover,
.site-footer__line a:focus-visible {
  color: var(--accent-text);
}

@media (max-width: 575px) {
  .site-footer__line {
    text-align: left;
  }
}

/* 04-sections/_hero.css */
/* ============================================================
   04-SECTIONS / HERO
   Full-viewport stage. Layered: particle canvas + gold glow
   behind the name, which itself carries an animated gold
   shimmer. The name owns the first screen — no dead space.
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top));
  isolation: isolate;
  overflow: hidden;
}

/* Animated particle field (drawn by particles.js) */
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Soft gold aura behind the name */
.hero__aura {
  position: absolute;
  top: 42%;
  left: 50%;
  z-index: -1;
  width: min(70rem, 120vw);
  height: min(46rem, 80vh);
  /* Centred via margins (not transform) so the parallax transform can drive
     translateY without clobbering the centring. */
  margin-left: calc(min(70rem, 120vw) * -0.5);
  margin-top: calc(min(46rem, 80vh) * -0.5);
  background: radial-gradient(closest-side, var(--glow-gold), transparent 72%);
  opacity: 0.9;
  pointer-events: none;
}

.hero__inner {
  align-self: center;
  padding-block: var(--sp-9) var(--sp-7);
}

.hero__eyebrow {
  margin-bottom: var(--sp-5);
}

.hero__name {
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-display);
  color: var(--text-strong);
}

/* Each word masks its reveal; the last word carries the shimmer */
.hero__word {
  display: inline-block;
  overflow: hidden;
  padding-block: 0.14em;
  margin-block: -0.14em;
  vertical-align: bottom;
}

.hero__word-inner {
  display: inline-block;
}

.hero__subline {
  margin-top: var(--sp-6);
  max-width: 40ch;
  font-size: var(--fs-hero-sub);
  font-style: italic;
  line-height: 1.6;
  color: var(--text-muted);
}

.hero__subline b {
  font-weight: 400;
  font-style: italic;
  color: var(--accent-text);
}

/* Scroll cue — wrapped in a .shell so it aligns to the content column */
.hero__cue-row {
  padding-bottom: var(--sp-7);
}

.hero__cue {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-faint);
}

.hero__cue:hover,
.hero__cue:focus-visible {
  color: var(--accent-text);
}

.hero__cue-track {
  position: relative;
  width: 1px;
  height: 2.75rem;
  background-color: var(--rule-strong);
  overflow: hidden;
}

.hero__cue-track::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--accent);
  transform: translateY(-100%);
}

@media (prefers-reduced-motion: no-preference) {
  .hero__cue-track::after {
    animation: cue-run 2.4s var(--ease-out-quart) infinite;
  }

  /* Shimmer sweep across the gold word */
  .hero__name .gold-text {
    animation: gold-sweep 6s linear infinite;
  }
}

@keyframes cue-run {
  0%   { transform: translateY(-100%); }
  55%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

@keyframes gold-sweep {
  to { background-position: 200% center; }
}

/* --- Mobile: content-height hero. The name sits just below the header,
       the next section peeks in — no full screen of dead space. --- */
@media (max-width: 767px) {
  .hero {
    min-height: auto;
    align-items: start;
    padding-top: calc(var(--header-h) + var(--sp-7) + env(safe-area-inset-top));
    padding-bottom: var(--sp-5);
    row-gap: var(--sp-5);
  }

  .hero__inner {
    align-self: start;
    padding-block: 0;
  }

  .hero__eyebrow {
    margin-bottom: var(--sp-4);
    letter-spacing: 0.24em;
  }

  .hero__subline {
    margin-top: var(--sp-5);
  }

  .hero__aura {
    top: 34%;
  }

  .hero__cue-row {
    padding-bottom: 0;
  }
}

/* 04-sections/_intro.css */
/* ============================================================
   04-SECTIONS / INTRO
   The opening statement — verbatim body copy, given weight and
   air. A large lead line, then the reading column.
   ============================================================ */

.intro__lead {
  max-width: 24ch;
  margin-bottom: var(--sp-7);
  font-size: var(--fs-h3);
  line-height: 1.35;
  color: var(--text-strong);
}

.intro__body {
  max-width: var(--measure);
}

.intro__body p {
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: var(--text-muted);
}

.intro__body p + p {
  margin-top: var(--sp-5);
}

.intro__close {
  margin-top: var(--sp-6);
  font-size: var(--fs-h3);
  line-height: 1.4;
  color: var(--text);
}

.intro__close b {
  font-weight: 400;
  color: var(--accent-text);
}

/* 04-sections/_portrait.css */
/* ============================================================
   04-SECTIONS / PORTRAIT — "The Principal"
   A framed portrait beside the bio, with an offset gold frame
   behind the image and a greyscale→colour reveal on hover.
   ============================================================ */

.portrait__grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: clamp(2rem, 1rem + 5vw, 5.5rem);
  align-items: center;
}

.portrait__body {
  max-width: 34rem;
}

.portrait__title {
  margin-block: var(--sp-4) var(--sp-5);
}

.portrait__lead {
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: var(--text-muted);
}

.portrait__lead b {
  font-weight: 400;
  color: var(--accent-text);
}

.portrait__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4) var(--sp-7);
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--rule);
}

.portrait__meta div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.portrait__meta dt,
.portrait__meta .k {
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.portrait__meta .v {
  font-size: var(--fs-h3);
  color: var(--accent-text);
}

/* --- Figure --- */
.portrait__figure {
  position: relative;
}

.portrait__figure::before {
  content: "";
  position: absolute;
  inset: -16px -16px 16px 16px;
  border: 1px solid var(--hairline-gold);
  border-radius: var(--radius);
  z-index: -1;
}

.portrait__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
}

@media (max-width: 861px) {
  .portrait__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .portrait__figure {
    order: -1;
    max-width: 26rem;
  }

  .portrait__figure::before {
    inset: -12px -12px 12px 12px;
  }
}

/* 04-sections/_stats.css */
/* ============================================================
   04-SECTIONS / STATS
   Verified facts as animated count-up figures (counters.js).
   A hairline grid — no boxes — with a gold tick over each
   number and a soft lift on hover.
   ============================================================ */

.stats {
  position: relative;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: var(--rule);
}

.stat {
  position: relative;
  padding: clamp(2rem, 1rem + 3vw, 3.25rem) clamp(1rem, 0.5rem + 2vw, 2rem);
  background-color: var(--canvas);
  text-align: center;
  overflow: hidden;
}

/* Gold tick above each figure */
.stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2.5rem;
  height: 2px;
  transform: translateX(-50%);
  background: var(--grad-gold-soft);
  opacity: 0.7;
}

.stat__num {
  display: block;
  font-size: var(--fs-stat);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 34px var(--glow-gold);
}

.stat__num sup {
  font-size: 0.42em;
  vertical-align: super;
  margin-left: 0.08em;
}

.stat__label {
  display: block;
  margin-top: var(--sp-4);
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: no-preference) {
  .stat {
    transition: background-color var(--dur-ui) var(--ease-ui);
  }

  .stat__num {
    transition: transform var(--dur-ui) var(--ease-out-back), text-shadow var(--dur-ui) var(--ease-ui);
  }

  .stat:hover {
    background-color: var(--surface);
  }

  .stat:hover .stat__num {
    transform: scale(1.07);
    text-shadow: 0 0 46px var(--glow-gold);
  }
}

@media (max-width: 767px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 04-sections/_pillars.css */
/* ============================================================
   04-SECTIONS / PILLARS
   How the group operates — three cards, each with a ghosted
   index numeral, that flip up into place on scroll and lift on
   hover. Content is approved AV Group copy.
   ============================================================ */

.pillars__head {
  max-width: 32rem;
  margin-bottom: var(--sp-8);
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 0.5rem + 1.5vw, 1.5rem);
}

.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 17rem;
  padding: clamp(1.75rem, 1rem + 2.5vw, 2.75rem);
  background-color: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}

/* Large ghosted numeral in the corner */
.pillar__num {
  position: absolute;
  top: -0.35em;
  right: 0.1em;
  font-size: 8rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.10;
  pointer-events: none;
}

.pillar__eyebrow {
  margin-bottom: var(--sp-4);
  font-size: var(--fs-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--accent-text);
}

.pillar__title {
  margin-bottom: var(--sp-4);
  font-size: var(--fs-h3);
  color: var(--text-strong);
}

.pillar__line {
  margin-top: auto;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
}

.pillar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-gold-soft);
  transform: scaleX(0);
  transform-origin: left;
}

@media (prefers-reduced-motion: no-preference) {
  .pillar {
    transition: border-color var(--dur-ui) var(--ease-ui), box-shadow var(--dur-ui) var(--ease-ui), background-color var(--dur-ui) var(--ease-ui);
  }

  .pillar::after {
    transition: transform var(--dur-ui) var(--ease-out-quart);
  }
}

.pillar:hover {
  border-color: var(--hairline-gold);
  box-shadow: var(--shadow-lift);
  background-color: var(--surface-2);
}

.pillar:hover::after {
  transform: scaleX(1);
}

@media (max-width: 767px) {
  .pillars__grid {
    grid-template-columns: 1fr;
  }

  .pillar {
    min-height: 0;
  }
}

/* 04-sections/_sectors.css */
/* ============================================================
   04-SECTIONS / SECTORS — "The Portfolio"
   Image-backed venture cards: a faceted-gem backdrop
   (greyscale → colour on hover), a scrim for legibility, a
   3D tilt on pointer, and the houses within each sector.
   ============================================================ */

.sectors__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--sp-5);
  margin-bottom: var(--sp-8);
}

.sectors__title {
  max-width: 18ch;
}

.sectors__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
  gap: clamp(1rem, 0.5rem + 1.5vw, 1.5rem);
}

.sector-cell {
  display: flex;
}

.sector {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--sp-6);
  width: 100%;
  min-height: clamp(19rem, 15rem + 12vw, 25rem);
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
}

/* Faceted-gem backdrop */
.sector__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: inherit;
}

/* Legibility scrim */
.sector::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(to top, rgba(5, 9, 17, 0.94) 6%, rgba(5, 9, 17, 0.5) 46%, rgba(5, 9, 17, 0.12) 100%);
}

.sector__index {
  font-size: var(--fs-label);
  letter-spacing: 0.2em;
  color: var(--accent-text);
}

.sector__name {
  font-size: var(--fs-h3);
  color: var(--text-strong);
}

.sector__line {
  margin-top: var(--sp-3);
  color: var(--text-muted);
  line-height: 1.6;
}

.sector__houses {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--rule);
  font-size: var(--fs-desc);
  color: var(--text-faint);
}

.sector__houses b {
  font-weight: 400;
  color: var(--text);
}

/* Reveal the colour + zoom on card hover (image sits behind content) */
.sector:hover .media__img,
.sector:focus-within .media__img {
  filter: grayscale(0) contrast(1.05) brightness(1);
}

.sector:hover,
.sector:focus-within {
  border-color: var(--hairline-gold);
  box-shadow: var(--shadow-lift);
}

@media (prefers-reduced-motion: no-preference) {
  .sector {
    transition: border-color var(--dur-ui) var(--ease-ui), box-shadow var(--dur-ui) var(--ease-ui);
  }

  .sector:hover .media__img,
  .sector:focus-within .media__img {
    transform: scale(1.06);
  }

  .sector:hover .media__sheen,
  .sector:focus-within .media__sheen {
    transform: translateX(130%);
  }
}

/* 04-sections/_brands.css */
/* ============================================================
   04-SECTIONS / BRANDS — "The Houses"
   AV Group brand logos as tiles: faded white silhouette by
   default, true gold on hover, with the tile edge lighting up.
   ============================================================ */

.brands__head {
  text-align: center;
  margin-bottom: var(--sp-8);
}

/* Flagship feature tile (DiamondXE) */
.brands__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
  margin-bottom: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background-color: var(--surface);
  text-align: center;
}

.brands__feature .brand__logo {
  max-width: min(78%, 22rem);
  max-height: 5rem;
}

.brands__feature-note {
  max-width: 42ch;
  color: var(--text-muted);
  line-height: 1.6;
}

.brands__feature:hover,
.brands__feature:focus-within {
  border-color: var(--hairline-gold);
  background-color: var(--surface-2);
}

.brands__feature:hover .brand__logo,
.brands__feature:focus-within .brand__logo {
  filter: none;
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .brands__feature {
    transition: border-color var(--dur-ui) var(--ease-ui), background-color var(--dur-ui) var(--ease-ui);
  }
}

.brands__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
}

.brand {
  display: grid;
  place-items: center;
  min-height: clamp(7rem, 5rem + 8vw, 9.5rem);
  padding: var(--sp-6);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background-color: var(--surface);
}

.brand__logo {
  width: auto;
  max-width: min(70%, 13rem);
  max-height: 3.4rem;
  filter: brightness(0) invert(1);
  opacity: 0.5;
}

[data-theme="light"] .brand__logo {
  filter: brightness(0);
  opacity: 0.4;
}

.brand:hover .brand__logo,
.brand:focus-within .brand__logo {
  filter: none;
  opacity: 1;
}

.brand:hover,
.brand:focus-within {
  border-color: var(--hairline-gold);
  background-color: var(--surface-2);
}

@media (prefers-reduced-motion: no-preference) {
  .brand {
    transition: border-color var(--dur-ui) var(--ease-ui), background-color var(--dur-ui) var(--ease-ui);
  }

  .brand__logo {
    transition: filter var(--dur-ui) var(--ease-ui), opacity var(--dur-ui) var(--ease-ui);
  }
}

@media (max-width: 767px) {
  .brands__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Touch devices can't hover — show the logos in gold by default */
@media (hover: none) {
  .brand__logo {
    filter: none;
    opacity: 1;
  }
}

/* 04-sections/_timeline.css */
/* ============================================================
   04-SECTIONS / TIMELINE
   The arc of the work — a left-rail vertical timeline. The rail
   is a gold gradient; each milestone has a node, a gold year and
   a short line, and slides in as it scrolls into view.
   ============================================================ */

.timeline {
  position: relative;
  max-width: 46rem;
  margin-top: var(--sp-8);
  padding-left: clamp(1.75rem, 1rem + 3vw, 3rem);
}

/* The rail */
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), transparent);
}

.timeline__item {
  position: relative;
  padding-bottom: clamp(2.5rem, 2rem + 3vw, 4rem);
}

.timeline__item:last-child {
  padding-bottom: 0;
}

/* Node on the rail */
.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(clamp(1.75rem, 1rem + 3vw, 3rem) * -1 - 5px);
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--canvas);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(200, 165, 90, 0.10);
}

.timeline__year {
  display: block;
  margin-bottom: var(--sp-2);
  font-size: var(--fs-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--accent-text);
}

.timeline__title {
  margin-bottom: var(--sp-3);
  font-size: var(--fs-h3);
  color: var(--text-strong);
}

.timeline__text {
  max-width: 34rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 04-sections/_press.css */
/* ============================================================
   04-SECTIONS / PRESS
   An edge-to-edge marquee of publications. Two tracks scroll
   in opposite directions and pause on hover. Reduced motion
   stops them and lets the row wrap statically.
   ============================================================ */

.press {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  overflow: hidden;
}

.press__head {
  text-align: center;
  margin-bottom: var(--sp-7);
}

.marquee {
  position: relative;
  display: flex;
  gap: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  padding-right: clamp(2rem, 1rem + 4vw, 4.5rem);
  white-space: nowrap;
  will-change: transform;
}

.marquee__item {
  font-size: clamp(1.25rem, 0.9rem + 1.4vw, 2rem);
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.marquee__item::after {
  content: "·";
  margin-left: clamp(2rem, 1rem + 4vw, 4.5rem);
  color: var(--accent);
}

@media (prefers-reduced-motion: no-preference) {
  .marquee__track {
    animation: marquee-run 36s linear infinite;
  }

  .marquee:hover .marquee__track,
  .marquee:focus-within .marquee__track {
    animation-play-state: paused;
  }
}

/* Static, centred fallback for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .marquee {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: var(--sp-4);
    -webkit-mask-image: none;
    mask-image: none;
  }

  .marquee__track[aria-hidden="true"] {
    display: none;
  }

  .marquee__item:last-child::after {
    content: none;
  }
}

@keyframes marquee-run {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* 04-sections/_gallery.css */
/* ============================================================
   04-SECTIONS / GALLERY — "In Frame"
   A masonry of portraits (CSS columns), greyscale by default,
   colour + light sweep on hover, opening a lightbox on click.
   ============================================================ */

.gallery__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--sp-5);
  margin-bottom: var(--sp-8);
}

.gallery__grid {
  columns: 4 16rem;
  column-gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
}

.gallery__item {
  display: block;
  width: 100%;
  margin-bottom: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: none;
  cursor: pointer;
  break-inside: avoid;
}

.gallery__item .media {
  border-radius: var(--radius);
}

/* Natural aspect for masonry flow */
.gallery__item .media__img {
  height: auto;
}

/* Corner cue that appears on hover */
.gallery__item .media::after {
  content: "";
  position: absolute;
  right: var(--sp-4);
  bottom: var(--sp-4);
  z-index: 3;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--pale);
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23F5F3EF' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-8 8M3 21l8-8'/%3E%3C/svg%3E") center / 40% no-repeat;
  opacity: 0;
  transform: scale(0.8);
}

.gallery__item:hover .media::after,
.gallery__item:focus-visible .media::after {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: no-preference) {
  .gallery__item .media::after {
    transition: opacity var(--dur-ui) var(--ease-ui), transform var(--dur-ui) var(--ease-out-back);
  }
}

@media (max-width: 575px) {
  .gallery__grid {
    columns: 2;
  }
}

/* ============================================================
   LIGHTBOX (overlay built by lightbox.js)
   ============================================================ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-preloader);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 0.5rem + 3vw, 3rem);
  background-color: var(--overlay-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__img {
  max-width: min(92vw, 60rem);
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
}

.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: var(--text);
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  background-color: rgba(6, 11, 21, 0.4);
}

.lightbox__btn:hover,
.lightbox__btn:focus-visible {
  color: var(--on-accent);
  background: var(--grad-gold-soft);
  border-color: transparent;
}

.lightbox__btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.lightbox__close {
  top: clamp(1rem, 0.5rem + 2vw, 2rem);
  right: clamp(1rem, 0.5rem + 2vw, 2rem);
}

.lightbox__prev {
  left: clamp(0.75rem, 0.5rem + 1vw, 2rem);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: clamp(0.75rem, 0.5rem + 1vw, 2rem);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__count {
  position: absolute;
  bottom: clamp(1rem, 0.5rem + 2vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: no-preference) {
  .lightbox {
    transition: opacity var(--dur-ui) var(--ease-ui);
  }

  .lightbox.is-enter {
    opacity: 0;
  }

  .lightbox__img {
    transition: transform 420ms var(--ease-out-quart), opacity 420ms var(--ease-ui);
  }

  .lightbox.is-enter .lightbox__img {
    transform: scale(0.94);
    opacity: 0;
  }

  .lightbox__btn {
    transition: color var(--dur-ui) var(--ease-ui), background var(--dur-ui) var(--ease-ui), border-color var(--dur-ui) var(--ease-ui);
  }
}

@media (max-width: 575px) {
  .lightbox__prev { left: 0.5rem; }
  .lightbox__next { right: 0.5rem; }
}

/* 04-sections/_reach.css */
/* ============================================================
   04-SECTIONS / REACH
   A global-reach band: four geographies as large names that
   stagger in, each with a gold hover sweep. Order is fixed —
   UAE, India, Africa, Australia.
   ============================================================ */

.reach {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}

.reach__head {
  margin-bottom: var(--sp-8);
}

.reach__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 0.5rem + 3vw, 4rem);
}

.reach__item {
  position: relative;
  font-size: clamp(2rem, 1rem + 5vw, 4rem);
  line-height: 1.1;
  color: var(--text-strong);
}

.reach__item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15em;
  height: 2px;
  background: var(--grad-gold-soft);
  transform: scaleX(0);
  transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
  .reach__item {
    transition: color var(--dur-ui) var(--ease-ui);
  }

  .reach__item::after {
    transition: transform var(--dur-ui) var(--ease-out-quart);
  }
}

.reach__item:hover {
  color: var(--accent-text);
}

.reach__item:hover::after {
  transform: scaleX(1);
}

/* Gold dividers between names on wide screens */
.reach__item:not(:last-child)::before {
  content: "·";
  position: absolute;
  right: calc(clamp(1rem, 0.5rem + 3vw, 4rem) * -0.5);
  transform: translateX(50%);
  color: var(--accent);
  opacity: 0.5;
}

@media (max-width: 767px) {
  .reach__list {
    flex-direction: column;
  }

  .reach__item:not(:last-child)::before {
    content: none;
  }
}

/* 04-sections/_impact.css */
/* ============================================================
   04-SECTIONS / IMPACT
   Bliss Foundation and GEMS OF HOPE — a two-part statement on
   a raised surface with a gold edge.
   ============================================================ */

.impact {
  position: relative;
  padding: clamp(2.5rem, 1.5rem + 5vw, 5rem);
  background-color: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.impact::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--grad-gold-soft);
}

.impact__title {
  max-width: 20ch;
  margin-bottom: var(--sp-6);
}

.impact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
}

.impact__item h3 {
  margin-bottom: var(--sp-3);
  color: var(--accent-text);
}

.impact__item p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* 04-sections/_cta.css */
/* ============================================================
   04-SECTIONS / CTA
   The closing invitation into Contact. Centred, generous, with
   the aura echoing the hero so the page comes full circle.
   ============================================================ */

.cta {
  position: relative;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}

.cta__aura {
  position: absolute;
  left: 50%;
  bottom: -30%;
  z-index: -1;
  width: min(60rem, 120vw);
  height: 40rem;
  /* Centred via margin so parallax translateY does not clobber it */
  margin-left: calc(min(60rem, 120vw) * -0.5);
  background: radial-gradient(closest-side, var(--glow-gold), transparent 70%);
  opacity: 0.7;
  pointer-events: none;
}

.cta__markers {
  margin-bottom: var(--sp-6);
  font-size: var(--fs-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.9;
  color: var(--text-faint);
}

.cta__title {
  max-width: 18ch;
  margin-inline: auto;
  margin-bottom: var(--sp-5);
}

.cta__text {
  max-width: 46ch;
  margin-inline: auto;
  margin-bottom: var(--sp-8);
  font-size: var(--fs-lead);
  color: var(--text-muted);
  line-height: 1.7;
}

/* 05-utilities/_motion.css */
/* ============================================================
   05-UTILITIES / MOTION
   All motion lives here so it can be tuned or removed in one
   place.

   Boundary: one-time entrance choreography + one-time scroll
   reveals + a few looping ambient accents (shimmer, marquee,
   scroll cue) that are purely decorative. Everything degrades
   under prefers-reduced-motion, and every hidden pre-state is
   gated on html.js so a no-JS visit shows the full page.

   Reveal timing gates:
     .is-revealed  — set when the preloader curtain lifts
                     (or by the inline fallback timer); drives
                     the hero entrance.
     .reveal/.is-visible — per-element scroll reveals (reveal.js).
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {

  /* ---------- A. HERO ENTRANCE (once, on curtain lift) ---------- */

  .js:not(.is-revealed) .hero__eyebrow,
  .js:not(.is-revealed) .hero__subline,
  .js:not(.is-revealed) .hero__cue {
    opacity: 0;
  }

  .js:not(.is-revealed) .hero__word-inner {
    transform: translateY(115%);
  }

  .js.is-revealed .hero__eyebrow {
    animation: rise 700ms var(--ease-out-quart) 60ms both;
  }

  .js.is-revealed .hero__word-inner {
    animation: word-rise var(--dur-entrance) var(--ease-out-expo) both;
  }

  .js.is-revealed .hero__word:nth-child(1) .hero__word-inner { animation-delay: 200ms; }
  .js.is-revealed .hero__word:nth-child(2) .hero__word-inner { animation-delay: 290ms; }
  .js.is-revealed .hero__word:nth-child(3) .hero__word-inner { animation-delay: 380ms; }

  .js.is-revealed .hero__subline {
    animation: rise 800ms var(--ease-out-quart) 560ms both;
  }

  .js.is-revealed .hero__cue {
    animation: fade 800ms var(--ease-ui) 760ms both;
  }

  /* Quiet page-in for pages without the hero (2–5).
     Fill 'backwards' so the exit transition is not pinned. */
  .js:not(.is-loaded) body:not(.has-intro) .site-main {
    opacity: 0;
  }

  .js.is-loaded body:not(.has-intro) .site-main {
    animation: rise 600ms var(--ease-out-quart) backwards;
  }

  /* ---------- B. SCROLL REVEALS (one-shot, reveal.js) ---------- */

  .js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity var(--dur-reveal) var(--ease-out-expo) var(--reveal-delay, 0ms),
      transform var(--dur-reveal) var(--ease-out-expo) var(--reveal-delay, 0ms);
    will-change: opacity, transform;
  }

  .js .reveal--fade  { transform: none; }
  .js .reveal--scale { transform: translateY(20px) scale(0.965); }
  .js .reveal--left  { transform: translateX(-32px); }
  .js .reveal--right { transform: translateX(32px); }
  .js .reveal--draw  { opacity: 1; transform: scaleX(0); transform-origin: left; }

  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
    will-change: auto;
  }

  /* ---------- C. PARALLAX (parallax.js writes --parallax-y) ---------- */

  [data-parallax] {
    transform: translate3d(0, var(--parallax-y, 0px), 0);
    will-change: transform;
  }

  /* ---------- D. OVERLAY MENU ---------- */

  .site-menu {
    opacity: 0;
    transition: opacity var(--dur-ui) var(--ease-ui);
  }

  .site-menu.is-open { opacity: 1; }

  .site-menu__item { opacity: 0; }

  .site-menu.is-open .site-menu__item {
    animation: rise 520ms var(--ease-out-quart) both;
  }

  .site-menu.is-open .site-menu__item:nth-child(1) { animation-delay: 100ms; }
  .site-menu.is-open .site-menu__item:nth-child(2) { animation-delay: 170ms; }
  .site-menu.is-open .site-menu__item:nth-child(3) { animation-delay: 240ms; }
  .site-menu.is-open .site-menu__item:nth-child(4) { animation-delay: 310ms; }

  /* ---------- E. PAGE TRANSITIONS ---------- */

  html.is-exiting .site-main,
  html.is-exiting .site-footer {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 300ms var(--ease-ui), transform 300ms var(--ease-ui);
  }

  /* ---------- F. MAGNETIC ---------- */

  @media (pointer: fine) {
    [data-magnetic] { transition: transform 280ms var(--ease-out-quart); }
  }

  /* ---------- KEYFRAMES ---------- */

  @keyframes word-rise {
    from { transform: translateY(115%); filter: blur(6px); }
    to   { transform: none; filter: blur(0); }
  }

  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }

  @keyframes fade {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  /* ---------- G. EXTRA REVEAL VARIANTS ---------- */

  .js .reveal--flip {
    opacity: 0;
    transform: perspective(1400px) rotateX(14deg) translateY(34px);
    transform-origin: center bottom;
  }

  .js .reveal--flip.is-visible {
    opacity: 1;
    transform: perspective(1400px) rotateX(0deg) translateY(0);
  }

  .js .reveal--blur {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(20px);
  }

  .js .reveal--blur.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }

  /* ---------- H. SPLIT-WORD HEADINGS (spans injected by split.js) ---------- */

  .js .split__word {
    display: inline-block;
    overflow: hidden;
    padding-block: 0.08em;
    margin-block: -0.08em;
    vertical-align: bottom;
  }

  .js .split__inner {
    display: inline-block;
    transform: translateY(115%);
    transition: transform 900ms var(--ease-out-expo);
    transition-delay: var(--d, 0ms);
  }

  .js [data-split].is-visible .split__inner {
    transform: translateY(0);
  }
}

/* ---------- PRINT: never hide un-revealed content ---------- */
@media print {
  .js .reveal,
  .js .reveal--draw,
  .js .reveal--scale,
  .js .reveal--left,
  .js .reveal--right,
  .js .reveal--flip,
  .js .reveal--blur,
  .js .split__inner {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .preloader { display: none; }
  .bg-fx { display: none; }
}

/* 05-utilities/_a11y.css */
/* ============================================================
   05-UTILITIES / ACCESSIBILITY
   Focus treatment, screen-reader-only text, skip link.
   ============================================================ */

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

:focus:not(:focus-visible) {
  outline: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: var(--z-skip);
  padding: 0.625rem 1rem;
  /* Inverted against the page in both themes so the field always stands out */
  background-color: var(--text);
  color: var(--canvas);
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}
