/* ==========================================================================
   AISLE OF HARMONY — Design System
   A Sydney-based classical pianist. Dreamy · Ethereal · Sacred.
   ========================================================================== */

/* ---------- Design Tokens ---------- */
/* LIGHT & ETHEREAL theme. Dusty blue #558DAB leads as the primary accent.
   The original build was tokenized so thoroughly that retheming is a
   token remap: token *names* are preserved (so all rules below resolve
   correctly) while their *values* are flipped to a light, airy palette. */
:root {
  /* Palette */
  --black:      #000000;
  --ink:        #f7f3ec;          /* page canvas — soft warm ivory */
  --ink-2:      #ffffff;          /* raised surfaces (cards / drawers) */
  --grey:       #5d646b;          /* muted body text */
  --grey-dim:   #8a857b;          /* faint labels */
  --champagne:  #558dab;          /* PRIMARY ACCENT — dusty blue */
  --champagne-soft: #7fb0c9;      /* lighter accent */
  --ivory:      #262b2f;          /* primary text — soft ink */
  --blue:       #558dab;          /* primary accent */
  --blue-soft:  #7fb0c9;
  --blue-deep:  #3e6f89;

  /* Typography */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body:    "Jost", "Helvetica Neue", system-ui, sans-serif;

  /* Fluid type scale */
  --fs-eyebrow: clamp(0.68rem, 0.62rem + 0.3vw, 0.8rem);
  --fs-body:    clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --fs-lead:    clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  --fs-h3:      clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
  --fs-h2:      clamp(2.4rem, 1.7rem + 3.4vw, 4.6rem);
  --fs-h1:      clamp(3rem, 1.6rem + 6.6vw, 8.5rem);

  /* Spacing & rhythm */
  --space-section: clamp(6rem, 4rem + 10vw, 12rem);
  --gutter: clamp(1.4rem, 1rem + 3vw, 4rem);
  --maxw: 1320px;

  /* Motion — slow, graceful, premium */
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-luxe: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-slow: 1.2s;
  --dur-med: 0.7s;

  /* Lines */
  --hair: rgba(38, 43, 47, 0.12);
  --hair-strong: rgba(38, 43, 47, 0.22);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.7;
  color: var(--ivory);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
::selection { background: rgba(85, 141, 171, 0.35); color: var(--ivory); }

/* ---------- Film grain & vignette overlay ---------- */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(125% 100% at 50% 0%, transparent 62%, rgba(38,43,47,0.05) 100%);
}
/* Site-wide ambient layer — flowing gold lines & floating notes behind content */
.ambient-fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; z-index: 2; padding-block: var(--space-section); }
.center { text-align: center; }
.muted { color: var(--grey); }

/* ---------- Typography utilities ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1.display { font-size: var(--fs-h1); }
h2.display { font-size: var(--fs-h2); }
h3.display { font-size: var(--fs-h3); line-height: 1.05; }
.lead {
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.55;
  color: var(--ivory);
  text-wrap: pretty;
}
.italic { font-style: italic; }
.gold { color: var(--champagne); }
.accent { color: var(--blue-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.85em;
  font-size: var(--fs-eyebrow);
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--champagne);
}
.eyebrow::before {
  content: ""; width: clamp(24px, 4vw, 54px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--champagne));
}
.eyebrow.center-eyebrow { justify-content: center; }
.eyebrow.center-eyebrow::after {
  content: ""; width: clamp(24px, 4vw, 54px); height: 1px;
  background: linear-gradient(90deg, var(--champagne), transparent);
}

/* ---------- Reveal animation primitives (GSAP-driven, CSS fallback) ---------- */
.reveal { opacity: 0; }
.no-js .reveal { opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent;
  position: relative;
  display: inline-flex; align-items: center; gap: 0.9em;
  padding: 1.05em 2.4em;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ivory);
  border: 1px solid var(--hair-strong);
  border-radius: 2px;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.6s var(--ease-luxe), border-color 0.6s var(--ease-luxe);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--champagne), var(--champagne-soft));
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.7s var(--ease-luxe);
}
.btn .btn-arrow { transition: transform 0.6s var(--ease-luxe); }
.btn:hover { color: var(--ink); border-color: transparent; }
.btn:hover::before { transform: scaleX(1); }
.btn:hover .btn-arrow { transform: translateX(6px); }
.btn:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 4px; }

.btn--solid { color: var(--ink); border-color: transparent; }
.btn--solid::before { transform: scaleX(1); }
.btn--solid:hover { color: var(--ivory); }
.btn--solid:hover::before { transform: scaleX(0); transform-origin: right center; }
.btn--solid:hover { border-color: var(--hair-strong); }

.btn--ghost { padding-inline: 0; border: none; border-radius: 0; }
.btn--ghost::before { display: none; }
.btn--ghost { border-bottom: 1px solid var(--hair-strong); padding-bottom: 0.7em; }
.btn--ghost:hover { color: var(--champagne); border-color: var(--champagne); }
.btn--ghost:hover .btn-arrow { transform: translateX(6px); }

/* text link */
.tlink {
  position: relative; display: inline-block;
  letter-spacing: 0.04em;
  background-image: linear-gradient(var(--champagne), var(--champagne));
  background-size: 0% 1px; background-repeat: no-repeat; background-position: left bottom;
  transition: background-size 0.5s var(--ease-luxe), color 0.5s var(--ease-luxe);
  padding-bottom: 2px;
}
.tlink:hover { color: var(--champagne); background-size: 100% 1px; }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(1.1rem, 2vw, 1.9rem) var(--gutter);
  transition: background 0.6s var(--ease-soft), padding 0.6s var(--ease-soft), border-color 0.6s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(247, 243, 236, 0.82);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border-bottom-color: var(--hair);
  padding-block: clamp(0.8rem, 1.4vw, 1.1rem);
}
.brand {
  display: flex; flex-direction: column; line-height: 1;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}
.brand b { font-weight: 500; font-size: 1.65rem; }
.brand small {
  font-family: var(--font-body); font-size: 0.65rem; font-weight: 300;
  letter-spacing: 0.5em; text-transform: uppercase; color: var(--champagne);
  margin-top: 0.42em; padding-left: 0.06em;
}
.nav-links {
  display: flex; align-items: center; gap: clamp(1.6rem, 3vw, 3rem);
  list-style: none;
}
.nav-links a {
  position: relative;
  font-size: 0.925rem; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 300; color: var(--ivory);
  transition: color 0.5s var(--ease-luxe);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -7px; height: 1px; width: 100%;
  background: var(--champagne); transform: scaleX(0); transform-origin: left;
  transition: transform 0.55s var(--ease-luxe);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--champagne); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 4px; }
.nav-cta .btn { padding: 0.85em 1.9em; font-size: 0.85rem; }
/* Centered menu links (absolute so they stay dead-centre regardless of the
   left/right cluster widths). Logo sits left, toggle + CTA sit right. */
/* Light nav while sitting over the dark cinematic hero (until scrolled) */
body.has-dark-hero .nav:not(.is-scrolled) .brand b,
body.has-dark-hero .nav:not(.is-scrolled) .nav-links a,
body.has-dark-hero .nav:not(.is-scrolled) .theme-toggle { color: #fff; }
body.has-dark-hero .nav:not(.is-scrolled) .brand small,
body.has-dark-hero .nav:not(.is-scrolled) .nav-links a[aria-current="page"] { color: rgba(255,255,255,0.78); }
body.has-dark-hero .nav:not(.is-scrolled) .nav-links a::after { background: #fff; }
body.has-dark-hero .nav:not(.is-scrolled) .theme-toggle { border-color: rgba(255,255,255,0.4); }
body.has-dark-hero .nav:not(.is-scrolled) .nav-cta .btn { color: #fff; border-color: rgba(255,255,255,0.55); }
body.has-dark-hero .nav:not(.is-scrolled) .nav-toggle { border-color: rgba(255,255,255,0.4); }
body.has-dark-hero .nav:not(.is-scrolled) .nav-toggle span,
body.has-dark-hero .nav:not(.is-scrolled) .nav-toggle span::before,
body.has-dark-hero .nav:not(.is-scrolled) .nav-toggle span::after { background: #fff; }

.nav-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
}
.nav-right { display: flex; align-items: center; gap: clamp(0.6rem, 1.4vw, 1.1rem); }

/* mobile toggle */
.nav-toggle {
  display: none; width: 44px; height: 44px; position: relative; z-index: 60;
  border: 1px solid var(--hair-strong); border-radius: 2px;
  align-items: center; justify-content: center;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.nav-toggle span { display: block; width: 17px; height: 1px; background: var(--ivory); position: relative; transition: background 0.3s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 1px; background: var(--ivory);
  transition: transform 0.45s var(--ease-luxe), top 0.3s;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
/* .nav is a stacking context (fixed + z-index), so the toggle's own z-index
   cannot escape it. Lift the whole bar above the drawer while it is open,
   otherwise the close button is hidden behind the menu and untappable. */
body.menu-open .nav { z-index: 60; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* mobile drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  background: linear-gradient(160deg, var(--ink) 0%, #efe7da 100%);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding: var(--gutter);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.9s var(--ease-luxe);
  pointer-events: none;
}
body.menu-open .mobile-menu { clip-path: inset(0 0 0% 0); pointer-events: auto; }
/* padding/margin reset: the browser's default ul indent was pushing the links
   off-centre inside the drawer. */
.mobile-menu ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; align-items: center; gap: 0.4em;
}
.mobile-menu a {
  font-family: var(--font-display); font-size: clamp(2.4rem, 11vw, 4rem); font-weight: 300;
  color: var(--ivory); opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s var(--ease-luxe), transform 0.6s var(--ease-luxe), color 0.4s;
}
body.menu-open .mobile-menu a { opacity: 1; transform: translateY(0); }
body.menu-open .mobile-menu li:nth-child(1) a { transition-delay: 0.18s; }
body.menu-open .mobile-menu li:nth-child(2) a { transition-delay: 0.26s; }
body.menu-open .mobile-menu li:nth-child(3) a { transition-delay: 0.34s; }
body.menu-open .mobile-menu li:nth-child(4) a { transition-delay: 0.42s; }
.mobile-menu a:hover { color: var(--champagne); }
.mobile-menu .mm-foot { margin-top: 3rem; color: var(--grey); font-size: 0.8rem; letter-spacing: 0.04em; text-align: center; }
.mobile-menu .mm-foot a { font-family: var(--font-body); font-size: 0.9rem; color: var(--champagne); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-block: 8rem 4rem;
}
#hero-canvas {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(82% 62% at 50% 44%, transparent 0%, rgba(247,243,236,0.42) 66%, var(--ink) 100%),
    linear-gradient(180deg, rgba(247,243,236,0.55) 0%, transparent 24%, transparent 66%, var(--ink) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero h1 { margin-block: 0.32em 0; }
.hero .hero-eyebrow { margin-bottom: 2rem; }
.hero-sub {
  max-width: 30ch; margin-top: 2rem;
  color: var(--grey); font-size: var(--fs-lead); line-height: 1.5; font-weight: 300;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 3rem; align-items: center; }

/* ---------- Cinematic "spotlight piano reveal" hero ---------- */
.hero--cinematic { background: #07090b; }
.hero--cinematic::after { content: none; }            /* drop the light gradient */
/* Layer 1 — the photograph, with a slow cinematic push-in (Ken Burns) */
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% center;
  transform: scale(1.06); transform-origin: 60% 50%;
  animation: heroZoom 30s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1.16); } }
/* Layer 2 — the moving spotlight (transparent at the cursor, dark at the edges) */
.hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(46.4vw 46.4vw at var(--mx, 60%) var(--my, 42%),
    rgba(7,9,11,0) 0%, rgba(7,9,11,0.30) 34%, rgba(7,9,11,0.80) 72%, rgba(7,9,11,0.93) 100%);
}
/* Layer 3 — static legibility scrim (keeps the headline readable, fades base into the page) */
.hero-scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(102deg, rgba(7,9,11,0.80) 0%, rgba(7,9,11,0.34) 44%, rgba(7,9,11,0) 68%),
    /* Hold solid ink at the very bottom so the hero dissolves into the page
       with no visible seam, then fade the image back in higher up. */
    linear-gradient(0deg, var(--ink) 0%, var(--ink) 10%, rgba(7,9,11,0.65) 20%, rgba(7,9,11,0) 42%);
}
.hero--cinematic .hero-inner { z-index: 3; }
.hero--cinematic .hero-eyebrow { color: var(--champagne); }
.hero--cinematic h1.display { color: #fff; }
.hero--cinematic .hero-sub { color: rgba(255,255,255,0.82); }
.hero--cinematic .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.45); }
.hero--cinematic .btn--ghost:hover { color: var(--champagne); border-color: var(--champagne); }
.hero--cinematic .scroll-cue { color: rgba(255,255,255,0.7); }
.hero--cinematic .scroll-cue .line { background: linear-gradient(rgba(255,255,255,0.85), transparent); }

/* scroll cue */
.scroll-cue {
  position: absolute; bottom: clamp(1.6rem, 4vh, 3rem); left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0.9rem;
  font-size: 0.58rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--grey-dim);
}
.scroll-cue .line { width: 1px; height: 56px; background: linear-gradient(var(--champagne), transparent); position: relative; overflow: hidden; }
.scroll-cue .line::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--ivory);
  animation: scrollDrop 2.6s var(--ease-luxe) infinite;
}
@keyframes scrollDrop { 0% { top: -55%; } 60%,100% { top: 105%; } }

/* word reveal mask */
.line-mask { display: block; overflow: hidden; padding-block: 0.02em 0.2em; }
.line-mask > span { display: block; will-change: transform; }

/* ==========================================================================
   GENERIC SECTION INTRO
   ========================================================================== */
.intro-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
}
.intro-grid .eyebrow { margin-bottom: 1.8rem; }
.intro-grid p + p { margin-top: 1.3rem; }
/* Photo slot. To drop in your own photograph, add an inline style on the
   .figure element, e.g.  style="--fig:url('../images/ceremony.jpg')"
   NOTE: the path is relative to THIS stylesheet (assets/css/), so use
   ../images/… — files live in assets/images/. The gradient below is the
   fallback shown until a photo is supplied. */
.figure {
  position: relative; aspect-ratio: 4/5; border-radius: 2px; overflow: hidden;
  /* Layer 1 = your photo (when --fig is set); Layer 2 = graceful gradient
     fallback shown until the image file exists. */
  background-image: var(--fig, none), linear-gradient(150deg, #ece3d6 0%, #f4eee4 55%, #e6ecef 100%);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  border: 1px solid var(--hair);
  box-shadow: 0 30px 70px -40px rgba(38,43,47,0.35);
}
.figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 30% 20%, rgba(85,141,171,0.16), transparent 60%),
              radial-gradient(120% 90% at 80% 90%, rgba(231,211,197,0.30), transparent 55%);
}
.figure .figure-cap {
  position: absolute; left: 0; bottom: 0; z-index: 2; padding: 1.4rem 1.6rem;
  font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--ivory);
  text-shadow: 0 1px 18px rgba(247,243,236,0.7);
}
/* Figures holding a real photograph: swap the brand tint for a legibility
   scrim and force a light caption so it reads over any image, in any theme. */
.figure.has-photo::after {
  background: linear-gradient(to top, rgba(15,18,20,0.58) 0%, rgba(15,18,20,0.14) 34%, transparent 60%);
}
.figure.has-photo .figure-cap { color: #fff; text-shadow: 0 2px 22px rgba(0,0,0,0.55); }

/* ---------- Full-bleed cinematic image band ---------- */
.image-band {
  position: relative; z-index: 2; overflow: hidden;
  min-height: clamp(440px, 78vh, 760px);
  display: flex; align-items: center; text-align: center;
  background-image: var(--fig, none), linear-gradient(135deg, #20262b, #12161a);
  background-size: cover, cover; background-position: center, center; background-repeat: no-repeat, no-repeat;
}
.image-band::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(12,15,18,0.42) 0%, rgba(12,15,18,0.30) 45%, rgba(12,15,18,0.6) 100%);
}
.image-band .wrap { position: relative; z-index: 1; }
.image-band .eyebrow, .image-band .display { color: #fff; }
.image-band .eyebrow { justify-content: center; }
.image-band .eyebrow::before { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.85)); }
.image-band .eyebrow::after { content: ""; width: clamp(24px, 4vw, 54px); height: 1px; background: linear-gradient(90deg, rgba(255,255,255,0.85), transparent); }
.image-band h2 { margin: 1.4rem auto 2.4rem; max-width: 18ch; }

/* ---------- Theme toggle (light / dark) ---------- */
.theme-toggle {
  width: 44px; height: 44px; flex: none; position: relative; z-index: 60;
  display: inline-grid; place-items: center;
  border: 1px solid var(--hair-strong); border-radius: 50%; color: var(--ivory);
  transition: color 0.5s var(--ease-luxe), border-color 0.5s var(--ease-luxe), background 0.5s var(--ease-luxe);
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.theme-toggle:hover { color: var(--champagne); border-color: var(--champagne); }
.theme-toggle:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 4px; }
.theme-toggle svg { width: 18px; height: 18px; display: block; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
.nav-tools { display: flex; align-items: center; gap: 0.9rem; }

/* stat row */
.stats { display: flex; flex-wrap: wrap; gap: clamp(2rem, 5vw, 4.5rem); margin-top: 3.2rem; }
.stat { display: flex; flex-direction: column; gap: 0.3rem; }
.stat b { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 400; color: var(--champagne); font-variant-numeric: tabular-nums; line-height: 1; }
.stat span { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--grey-dim); }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.section-head { max-width: 60ch; }
.section-head.center { margin-inline: auto; }
.section-head .eyebrow { margin-bottom: 1.6rem; }
.section-head h2 { margin-bottom: 1.4rem; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(3rem, 6vw, 5rem); background: var(--hair); border: 1px solid var(--hair); }
.service {
  position: relative; padding: clamp(2.2rem, 3vw, 3.4rem) clamp(1.8rem, 2.5vw, 2.6rem);
  background: var(--ink); overflow: hidden;
  transition: background 0.7s var(--ease-luxe);
  min-height: 360px; display: flex; flex-direction: column;
}
.service::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0;
  background: radial-gradient(120% 100% at 50% 120%, rgba(85,141,171,0.16), transparent 70%);
  transition: opacity 0.8s var(--ease-luxe);
}
.service:hover { background: var(--ink-2); }
.service:hover::before { opacity: 1; }
.service .svc-num { font-family: var(--font-display); font-size: 0.95rem; color: var(--champagne); letter-spacing: 0.1em; position: relative; z-index: 1; }
.service h3 { position: relative; z-index: 1; margin-block: 1.6rem 1rem; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.service p { position: relative; z-index: 1; color: var(--grey); font-size: 0.98rem; }
.service .svc-foot {
  position: relative; z-index: 1; margin-top: auto; padding-top: 1.8rem;
  font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--champagne);
  display: inline-flex; align-items: center; gap: 0.7em;
  opacity: 0; transform: translateY(8px); transition: opacity 0.6s var(--ease-luxe), transform 0.6s var(--ease-luxe);
}
.service:hover .svc-foot { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   ENSEMBLES / COLLABORATIONS (about)
   ========================================================================== */
.duos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 3vw, 3rem) clamp(2rem, 4vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.duo { padding-top: 1.5rem; border-top: 1px solid var(--hair); }
.duo h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.1; margin-bottom: 0.8rem; }
.duo p { color: var(--grey); font-size: 0.96rem; }
@media (max-width: 860px) { .duos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .duos { grid-template-columns: 1fr; } }

/* ==========================================================================
   FLOWING GOLD SECTION DIVIDERS (about)
   ========================================================================== */
.gold-divider {
  position: relative; z-index: 2;
  width: 100%; height: clamp(64px, 10vw, 140px);
  margin-block: clamp(0.5rem, 3vw, 2.5rem);
  overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 87%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 87%, transparent 100%);
}
.gold-divider .gd-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.gold-divider path {
  fill: none; stroke: var(--champagne); stroke-width: 2; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 5px rgba(210,182,138,0.45));
}
.gold-divider .gd-flow-1 { animation: gdFlow 19s linear infinite; }
.gold-divider .gd-flow-2 { animation: gdFlow 27s linear infinite; opacity: 0.65; }
@keyframes gdFlow { from { transform: translateX(0); } to { transform: translateX(-480px); } }

/* ==========================================================================
   VIDEO / FILM PLACEHOLDER (home + about)
   ========================================================================== */
.video-section .section-head { margin-inline: auto; text-align: center; }
.video-section .section-head .eyebrow { justify-content: center; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; margin-top: clamp(2.5rem, 5vw, 4rem);
  border-radius: 3px; overflow: hidden; border: 1px solid var(--hair);
  display: grid; place-items: center;
  background-image: var(--fig, none), linear-gradient(135deg, #20262b, #12161a);
  background-size: cover, cover; background-position: center, center; background-repeat: no-repeat, no-repeat;
  box-shadow: 0 50px 100px -60px rgba(0,0,0,0.6);
}
.video-frame::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(12,15,18,0.34) 0%, rgba(12,15,18,0.5) 100%);
}
/* When you add a real video/embed, it covers the poster + play button. */
.video-frame video, .video-frame iframe { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; object-fit: cover; border: 0; }
/* A frame holding a real video is capped near the source's native width so the
   footage is not upscaled (which reads as blurry, especially on retina). */
.video-frame.has-video { max-width: 900px; margin-inline: auto; }
.video-play {
  position: relative; z-index: 2;
  width: clamp(64px, 8vw, 94px); height: clamp(64px, 8vw, 94px);
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.75); color: #fff;
  display: grid; place-items: center; background: rgba(255,255,255,0.06);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  transition: transform 0.6s var(--ease-luxe), background 0.6s var(--ease-luxe), border-color 0.6s var(--ease-luxe);
}
.video-play:hover { transform: scale(1.07); background: rgba(85,141,171,0.22); border-color: var(--blue-soft); }
.video-play svg { width: 34%; height: 34%; fill: currentColor; margin-left: 6%; }
.video-note {
  position: absolute; bottom: clamp(1rem, 2.5vw, 1.6rem); z-index: 2;
  font-size: 0.66rem; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255,255,255,0.72);
}

/* ==========================================================================
   MARQUEE / REPERTOIRE STRIP
   ========================================================================== */
.marquee { position: relative; z-index: 2; overflow: hidden; padding-block: clamp(3rem, 6vw, 5rem); border-block: 1px solid var(--hair); }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 38s linear infinite; }
/* Loops continuously — intentionally never pauses, even on hover. */
.marquee-track span {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem); color: transparent;
  -webkit-text-stroke: 1px var(--hair-strong); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 3.5rem;
}
.marquee-track span::after { content: "✦"; -webkit-text-stroke: 0; color: var(--champagne); font-size: 0.5em; font-style: normal; }
.marquee-track .lit { color: var(--ivory); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   EXPERIENCE / FEATURE SPLIT
   ========================================================================== */
.feature { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.feature.flip { direction: rtl; }
.feature.flip > * { direction: ltr; }
.feature .figure { aspect-ratio: 3/4; }
.feature-body .eyebrow { margin-bottom: 1.6rem; }
/* Sized so the forced three-line break holds without re-wrapping in this column. */
.feature-body h2 { margin-bottom: 1.6rem; font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3.5rem); }
.feature-body p { color: var(--grey); }
.feature-list { list-style: none; margin-top: 2.2rem; display: flex; flex-direction: column; gap: 0; }
.feature-list li { display: flex; gap: 1.2rem; padding-block: 1.2rem; border-top: 1px solid var(--hair); align-items: baseline; }
.feature-list li:last-child { border-bottom: 1px solid var(--hair); }
.feature-list .fl-k { font-family: var(--font-display); font-size: 1.3rem; color: var(--champagne); min-width: 1.6em; }
.feature-list .fl-v b { display: block; font-weight: 400; color: var(--ivory); font-size: 1.05rem; letter-spacing: 0.01em; }
.feature-list .fl-v span { color: var(--grey-dim); font-size: 0.92rem; }
.feature-actions { margin-top: 2.6rem; }

/* ==========================================================================
   TESTIMONIAL
   ========================================================================== */
.quote-section { position: relative; z-index: 2; padding-block: clamp(3rem, 5vw, 5rem); }
.quote-mark { font-family: var(--font-display); font-size: clamp(6rem, 14vw, 12rem); line-height: 0.6; color: var(--blue); opacity: 0.25; height: 0.55em; }
.quote-section blockquote {
  font-family: var(--font-display); font-weight: 300; font-style: italic;
  font-size: clamp(1.7rem, 1rem + 2.8vw, 3.4rem); line-height: 1.28; letter-spacing: -0.01em;
  max-width: 30ch; margin-inline: auto; color: var(--ivory); text-wrap: balance;
}
.quote-section blockquote em { color: var(--champagne); font-style: italic; }
.quote-cite { margin-top: 2.6rem; display: flex; flex-direction: column; gap: 0.4rem; align-items: center; }
.quote-cite b { font-weight: 400; letter-spacing: 0.1em; }
.quote-cite span { font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--champagne); }

/* nav row: prev arrow · dots · next arrow */
.q-nav { display: flex; align-items: center; justify-content: center; gap: clamp(1.2rem, 3vw, 2.2rem); margin-top: 2.6rem; }
.q-arrow {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  border: 1px solid var(--hair-strong); border-radius: 2px; color: var(--ivory);
  transition: color 0.5s var(--ease-luxe), border-color 0.5s var(--ease-luxe), background 0.5s var(--ease-luxe);
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.q-arrow svg { width: 18px; height: 18px; display: block; }
.q-arrow:hover { color: var(--champagne); border-color: var(--champagne); background: rgba(210,182,138,0.06); }
.q-arrow:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 3px; }
/* mobile swipe hint */
.q-hint {
  display: none; margin-top: 1.1rem; text-align: center;
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--grey-dim);
}
@media (hover: none), (pointer: coarse), (max-width: 700px) { .q-hint { display: block; } }

/* dots */
.q-dots { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; margin-top: 0; }
.q-dots button { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--grey-dim); transition: all 0.5s var(--ease-luxe); padding: 0; }
.q-dots button[aria-selected="true"] { background: var(--champagne); border-color: var(--champagne); transform: scale(1.25); }

/* Fixed-height stack: every quote is absolutely positioned and cross-fades,
   so the section (and everything below it) never shifts as quotes change. */
.q-stack { position: relative; min-height: clamp(300px, 32vh, 360px); margin-top: 1rem; }
.q-slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0; visibility: hidden;
  /* Outgoing quote clears first... */
  transition: opacity 0.55s var(--ease-luxe), visibility 0.55s var(--ease-luxe);
}
/* ...then the incoming one fades in, so the two never sit legibly on top of
   each other mid-transition. */
.q-slide.is-active {
  opacity: 1; visibility: visible;
  transition: opacity 0.85s var(--ease-luxe) 0.4s, visibility 0s;
}

/* ==========================================================================
   PROCESS (about)
   ========================================================================== */
.steps { counter-reset: step; margin-top: clamp(2.5rem, 5vw, 4rem); }
.step {
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1.5rem, 4vw, 4rem);
  align-items: baseline; padding-block: clamp(2rem, 3.5vw, 3.2rem);
  border-top: 1px solid var(--hair);
}
.step:last-child { border-bottom: 1px solid var(--hair); }
.step .step-n { font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.26em; color: var(--champagne); padding-top: 0.7rem; }
.step .step-t { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 300; transition: transform 0.7s var(--ease-luxe), color 0.5s; }
.step .step-d { color: var(--grey); max-width: 40ch; font-size: 0.98rem; }
.step:hover .step-t { color: var(--champagne); transform: translateX(10px); }
@media (max-width: 800px) { .step { grid-template-columns: 1fr; gap: 1rem; } .step .step-d { max-width: none; } }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band { position: relative; z-index: 2; text-align: center; overflow: hidden; padding-block: clamp(7rem, 12vw, 12rem); }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 80% at 50% 120%, rgba(85,141,171,0.22), transparent 60%),
    radial-gradient(50% 60% at 50% -10%, rgba(210,182,138,0.14), transparent 60%);
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 1.6rem; }
.cta-band p { max-width: 46ch; margin-inline: auto; color: var(--grey); margin-bottom: 3rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; z-index: 2; border-top: 1px solid var(--hair); padding-block: clamp(2.4rem, 4vw, 3.4rem) clamp(1.8rem, 3vw, 2.6rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.footer .brand b { font-size: 1.7rem; }
.footer-col h4 { font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--champagne); font-weight: 400; margin-bottom: 1.4rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.8rem; }
.footer-col a, .footer-col p { color: var(--grey); font-size: 0.95rem; }
.footer-tag { margin-top: 1.6rem; color: var(--grey-dim); max-width: 32ch; font-size: 0.95rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: clamp(1.6rem, 3vw, 2.4rem); padding-top: 1.5rem; border-top: 1px solid var(--hair); color: var(--grey-dim); font-size: 0.78rem; letter-spacing: 0.04em; }
.footer-bottom .socials { display: flex; gap: 1.6rem; }
.footer-bottom .socials a:hover { color: var(--champagne); }


/* ==========================================================================
   PAGE HEADER (about / contact)
   ========================================================================== */
.page-head { position: relative; z-index: 2; min-height: 64vh; display: flex; align-items: flex-end; padding-bottom: clamp(3rem, 6vw, 5rem); padding-top: 12rem; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(70% 60% at 80% 0%, rgba(85,141,171,0.14), transparent 60%);
}
.page-head .wrap { position: relative; z-index: 1; width: 100%; }
.page-head .eyebrow { margin-bottom: 1.8rem; }
.page-head h1 { font-size: clamp(2.8rem, 1.6rem + 5.5vw, 7rem); }
.page-head .ph-sub { max-width: 44ch; margin-top: 2rem; color: var(--grey); font-size: var(--fs-lead); line-height: 1.5; }

/* Page hero with a full-bleed photograph (e.g. the About page). */
.page-head.has-photo {
  min-height: 78vh;
  background-image: var(--fig, none), linear-gradient(135deg, #20262b, #12161a);
  background-size: cover, cover; background-position: center, center; background-repeat: no-repeat, no-repeat;
}
.page-head.has-photo::before {
  background: linear-gradient(180deg, rgba(12,15,18,0.55) 0%, rgba(12,15,18,0.30) 45%, rgba(12,15,18,0.78) 100%);
}
.page-head.has-photo h1,
.page-head.has-photo .ph-sub { color: #fff; }
.page-head.has-photo .eyebrow { color: #fff; }
.page-head.has-photo .eyebrow::before { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.85)); }

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact-aside .eyebrow { margin-bottom: 1.6rem; }
.contact-aside h2 { margin-bottom: 1.6rem; }
.contact-aside p { color: var(--grey); }
.contact-detail { margin-top: 2.8rem; display: flex; flex-direction: column; gap: 1.8rem; }
.contact-detail .cd { border-top: 1px solid var(--hair); padding-top: 1.4rem; }
.contact-detail .cd h4 { font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--champagne); font-weight: 400; margin-bottom: 0.6rem; }
.contact-detail .cd a, .contact-detail .cd p { color: var(--ivory); font-size: 1.08rem; }

/* form — sits on its own softly lifted panel so the ambient notes and waves
   drift *behind* it rather than through the fields */
.enquiry {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.8rem);
  background: rgba(255, 255, 255, 0.038);
  border: 1px solid var(--hair);
  border-radius: 2px;
  backdrop-filter: blur(7px) saturate(115%);
  -webkit-backdrop-filter: blur(7px) saturate(115%);
  box-shadow: 0 40px 90px -55px rgba(0,0,0,0.9);
}
.field { position: relative; margin-bottom: 2.2rem; }
.field label {
  display: block; font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--champagne); margin-bottom: 0.9rem; font-weight: 400;
}
.field input, .field select, .field textarea {
  width: 100%; background: transparent; color: var(--ivory);
  border: none; border-bottom: 1px solid var(--hair-strong);
  padding: 0.7rem 0; font-family: var(--font-body); font-size: 1.05rem; font-weight: 300;
  transition: border-color 0.5s var(--ease-luxe);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--grey-dim); font-weight: 300; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--champagne); }
.field select { color: var(--ivory); background: var(--ink); cursor: pointer; }
.field select option { background: var(--ink); color: var(--ivory); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2.2rem); }
.field .err { display: none; margin-top: 0.6rem; font-size: 0.78rem; letter-spacing: 0.04em; color: var(--blue-soft); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-bottom-color: var(--blue-soft); }
.field.invalid .err { display: block; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; margin-top: 2.6rem; }
.form-foot .note { color: var(--grey-dim); font-size: 0.8rem; max-width: 30ch; }
.enquiry .btn[disabled] { opacity: 0.55; cursor: progress; }
.enquiry .btn .spinner { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; display: none; }
.enquiry.is-sending .btn .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* success state */
.form-success {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(160deg, rgba(255,255,255,0.95), rgba(247,243,236,0.97));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--hair); padding: 3rem;
  opacity: 0; visibility: hidden; transform: scale(0.98);
  transition: opacity 0.8s var(--ease-luxe), transform 0.8s var(--ease-luxe), visibility 0.8s;
}
.enquiry.is-sent .form-success { opacity: 1; visibility: visible; transform: scale(1); }
.form-success .seal { width: 64px; height: 64px; border: 1px solid var(--champagne); border-radius: 50%; display: grid; place-items: center; margin-bottom: 2rem; color: var(--champagne); }
.form-success h3 { margin-bottom: 1rem; }
.form-success p { color: var(--grey); max-width: 38ch; }

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
.cursor { position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; transform: translate(-50%, -50%); }
.cursor-ring { position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none; width: 40px; height: 40px; border: 1px solid rgba(85,141,171,0.55); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.4s var(--ease-luxe), height 0.4s var(--ease-luxe), border-color 0.4s, background 0.4s; will-change: transform; }
.cursor-ring.is-hover { width: 64px; height: 64px; border-color: var(--blue); background: rgba(85,141,171,0.07); }
/* Replace the native cursor entirely once the custom cursor is active. */
html.cursor-on, html.cursor-on * { cursor: none !important; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-ring { display: none; } }

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader { position: fixed; inset: 0; z-index: 200; background: var(--ink); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2rem; }
.preloader .pl-mark { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: 0.08em; color: var(--ivory); overflow: hidden; }
.preloader .pl-mark span { display: inline-block; }
.preloader .pl-bar { width: min(260px, 60vw); height: 1px; background: var(--hair); position: relative; overflow: hidden; }
.preloader .pl-bar i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--champagne), var(--blue-soft)); }
.preloader .pl-pct { font-size: 0.66rem; letter-spacing: 0.3em; color: var(--grey-dim); font-variant-numeric: tabular-nums; }
body.is-loading { overflow: hidden; }
/* Preloader shows once per visit (first whole-site load), not on every page navigation. */
html.preloaded .preloader { display: none !important; }
html.preloaded body.is-loading { overflow: auto; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .intro-grid { grid-template-columns: 1fr; gap: 3rem; }
  .intro-grid .figure { order: -1; max-width: 440px; }
  .feature { grid-template-columns: 1fr; gap: 3rem; }
  .feature.flip { direction: ltr; }
  .feature .figure { order: -1; max-width: 480px; }
  .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .btn { padding: 1em 2em; }
}

/* ==========================================================================
   MOBILE REFINEMENTS
   ========================================================================== */
@media (max-width: 860px) {
  /* The desktop scrim darkens the LEFT (text sits beside the subject). On a
     narrow screen the headline spans full width, so switch to a vertical
     wash that keeps every line legible over the photograph. */
  .hero--cinematic .hero-scrim {
    background: linear-gradient(180deg,
      rgba(7,9,11,0.82) 0%,
      rgba(7,9,11,0.55) 24%,
      rgba(7,9,11,0.68) 55%,
      rgba(7,9,11,0.88) 82%,
      var(--ink) 100%);
  }
  /* Soften the spotlight so it does not re-brighten the area behind the text. */
  .hero--cinematic .hero-veil { opacity: 0.55; }
  /* Keep the hero eyebrow on a single line. */
  .hero-eyebrow { letter-spacing: 0.26em; font-size: 0.62rem; }

  /* Photographic page heads (About) crop tightly on a narrow screen, so the
     heading can land on a bright area. Deepen the wash to keep it readable. */
  .page-head.has-photo::before {
    background: linear-gradient(180deg,
      rgba(12,15,18,0.72) 0%,
      rgba(12,15,18,0.58) 38%,
      rgba(12,15,18,0.80) 72%,
      rgba(12,15,18,0.94) 100%);
  }
}

@media (max-width: 560px) {
  .brand b { font-size: 1.45rem; }
  .brand small { font-size: 0.58rem; letter-spacing: 0.38em; }
}

/* Standalone CTA row beneath a grid of cards */
.cta-row { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* A section that opens a page (no hero above it) needs to clear the fixed nav. */
.section--first { padding-top: clamp(8rem, 6rem + 8vw, 13rem); }

/* Mobile: every call to action sits centred. */
@media (max-width: 700px) {
  .cta-row,
  .feature-actions { display: flex; justify-content: center; }
  .form-foot { flex-direction: column; align-items: center; text-align: center; }
  .form-foot .note { max-width: none; }
  .contact-aside,
  .section--first .section-head { text-align: center; }
  .contact-aside .eyebrow,
  .section--first .section-head .eyebrow { justify-content: center; }
  .contact-detail .cd { text-align: center; }
}

/* Testimonial dots: keep the delicate 7px look, but give each a finger-sized
   invisible hit area so they are actually tappable. */
@media (hover: none), (pointer: coarse), (max-width: 700px) {
  .q-dots { gap: 1.35rem; }
  .q-dots button { position: relative; }
  .q-dots button::after {
    content: ""; position: absolute; inset: -16px -10px;
  }
}

/* honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* skip link */
.skip-link {
  position: fixed; top: 0; left: 50%; transform: translate(-50%, -120%);
  z-index: 300; padding: 0.9em 1.8em; background: var(--champagne); color: var(--ink);
  font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; border-radius: 0 0 4px 4px;
  transition: transform 0.45s var(--ease-luxe);
}
.skip-link:focus-visible { transform: translate(-50%, 0); outline: 2px solid var(--blue-deep); outline-offset: 2px; }
#main { scroll-margin-top: 90px; }

/* Tighten the transition from the Artist intro into the Offerings section. */
#intro { padding-bottom: clamp(2rem, 3vw, 3.5rem); }
#offerings { padding-top: clamp(2rem, 3vw, 3.5rem); }

/* Hero → Artist: let the waves straddle the seam so the two sections blend,
   and pull the Artist content up closer beneath them. */
.gold-divider--overlap {
  margin-top: clamp(-140px, -9vw, -70px);
  margin-bottom: 0;
  z-index: 5;
}
.hero--cinematic + .gold-divider--overlap + #intro { padding-top: clamp(1.5rem, 3vw, 3rem); }

/* ==========================================================================
   DARK MODE — the original cinematic champagne theme, now a toggle.
   Re-points the design tokens to the dark palette, then restores the handful
   of rules that hard-code light-specific colours.
   ========================================================================== */
html[data-theme="dark"] {
  color-scheme: dark;
  --ink:        #07090b;
  --ink-2:      #0d1115;
  --grey:       #b7b7b7;
  --grey-dim:   #7e8893;
  --champagne:  #d2b68a;          /* dark mode brings back warm champagne */
  --champagne-soft: #e3cda7;
  --ivory:      #eee5d3;
  --blue:       #558dab;
  --blue-soft:  #7aa9c2;
  --blue-deep:  #2f5566;
  --hair:       rgba(238, 229, 211, 0.14);
  --hair-strong:rgba(238, 229, 211, 0.28);
}
html[data-theme="dark"] .grain { opacity: 0.05; mix-blend-mode: screen; }
html[data-theme="dark"] .vignette {
  background: radial-gradient(120% 100% at 50% 0%, transparent 55%, rgba(0,0,0,0.55) 100%);
}
html[data-theme="dark"] .nav.is-scrolled { background: rgba(7, 9, 11, 0.72); }
html[data-theme="dark"] .hero::after {
  background:
    radial-gradient(80% 60% at 50% 42%, transparent 0%, rgba(7,9,11,0.35) 70%, var(--ink) 100%),
    linear-gradient(180deg, rgba(7,9,11,0.4) 0%, transparent 25%, transparent 70%, var(--ink) 100%);
}
html[data-theme="dark"] .mobile-menu { background: linear-gradient(160deg, var(--ink) 0%, #0a0f13 100%); }
html[data-theme="dark"] .figure {
  background-image: var(--fig, none), linear-gradient(150deg, #11161b, #0a0d10);
  box-shadow: 0 40px 80px -50px rgba(0,0,0,0.8);
}
html[data-theme="dark"] .figure:not(.has-photo) .figure-cap { text-shadow: 0 2px 18px rgba(0,0,0,0.6); }
html[data-theme="dark"] .form-success {
  background: linear-gradient(160deg, rgba(10,14,17,0.96), rgba(7,9,11,0.98));
}
html[data-theme="dark"] .cursor { mix-blend-mode: difference; }
html[data-theme="dark"] .cursor-dot { background: var(--ivory); }
html[data-theme="dark"] .cursor-ring { border-color: rgba(238,229,211,0.5); }
html[data-theme="dark"] .cursor-ring.is-hover { border-color: var(--champagne); background: rgba(210,182,138,0.06); }

/* Smooth, unhurried cross-fade between themes */
html.theme-ready body,
html.theme-ready .nav,
html.theme-ready .figure,
html.theme-ready .service,
html.theme-ready .btn,
html.theme-ready .field input,
html.theme-ready .field textarea,
html.theme-ready .field select {
  transition: background-color 0.8s var(--ease-luxe), color 0.8s var(--ease-luxe), border-color 0.8s var(--ease-luxe);
}
