/* ==========================================================================
   Queen & Capital — site styles
   Royal purple field, gilt gold rule, ivory letterform, parchment paper.
   ========================================================================== */

:root {
  /* Royal purple */
  --royal-950: #1A0B2E;
  --royal-900: #241B36;
  --royal-800: #4B1C7E;
  --royal-700: #5C2A92;
  --royal-600: #6E3FA3;
  --royal-500: #8456B8;
  --royal-400: #A480CC;
  --royal-300: #C6B0DF;

  /* Gilt gold */
  --gold-800: #7A5E22;
  --gold-700: #97772C;
  --gold-600: #B08A38;
  --gold-500: #C6A24B;
  --gold-400: #D4B66E;
  --gold-300: #E2CD96;
  --gold-200: #EFE0BE;
  --gold-100: #F6EFD9;

  /* Parchment / ivory */
  --ivory-50: #FBF9F3;
  --ivory-100: #F4F1EA;
  --ivory-200: #ECE6DA;
  --ivory-300: #DED3C0;

  /* Ink */
  --ink-900: #1A1622;
  --ink-700: #322B3C;
  --ink-500: #565061;
  --ink-400: #837C90;
  --ink-200: #D5D0DC;
  --paper: #FFFFFF;

  --rule-hairline: var(--ink-200);
  --rule-on-dark: color-mix(in srgb, var(--gold-500) 42%, transparent);

  --font-serif: "EB Garamond", "Garamond", "Hoefler Text", Georgia, serif;

  --radius-sm: 4px;
  --shadow-sm: 0 2px 6px rgba(36, 17, 72, 0.09);
  --shadow-md: 0 8px 24px rgba(36, 17, 72, 0.12);
  --shadow-lg: 0 18px 48px rgba(36, 17, 72, 0.16);
  --shadow-gold: 0 6px 22px rgba(150, 119, 44, 0.24);

  --field-sovereign: linear-gradient(165deg, var(--royal-700) 0%, var(--royal-800) 42%, #341059 100%);
  --foil-gold: linear-gradient(100deg, var(--gold-600) 0%, var(--gold-300) 45%, var(--gold-500) 70%, var(--gold-700) 100%);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-serif);
  font-variant-numeric: oldstyle-nums;
  color: var(--royal-900);
  background: var(--ivory-100);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: var(--gold-700); text-decoration: none; transition: color 200ms var(--ease); }
a:hover { color: var(--gold-500); }
h1, h2, h3 { font-weight: 400; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold-300); color: var(--royal-900); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 2px; }
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 12px 18px; background: var(--gold-500); color: var(--royal-900); }
.skip:focus { left: 12px; top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Grain — a fixed, non-interactive overlay that gives the paper some tooth */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.05; 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");
}

/* --------------------------------------------------------------------------
   Type devices
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-700);
}
.eyebrow.rule::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow.on-dark { color: var(--gold-400); }
.label {
  font-size: 14px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-700);
}
.h-display { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.08; color: var(--royal-800); }
.amp { font-style: italic; color: var(--gold-500); }
.foil {
  background: var(--foil-gold); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: foil 7s ease-in-out infinite;
}
@keyframes foil { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.link-rule {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-700); padding-bottom: 4px; border-bottom: 1px solid var(--gold-500);
}
.link-rule .arrow { transition: transform 260ms var(--ease-out); }
.link-rule:hover { color: var(--royal-800); }
.link-rule:hover .arrow { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-serif); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  line-height: 1; white-space: nowrap; cursor: pointer;
  padding: 12px 24px; font-size: 14px;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 700ms var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 17px 32px; font-size: 15px; }
.btn-sm { padding: 11px 20px; font-size: 14px; letter-spacing: 0.12em; }
.btn-primary { background: var(--gold-500); color: var(--royal-900); border-color: var(--gold-600); box-shadow: var(--shadow-gold); }
.btn-primary:hover { background: var(--gold-400); color: var(--royal-900); transform: translateY(-1px); }
.btn-royal { background: var(--royal-800); color: var(--ivory-100); border-color: var(--royal-700); box-shadow: var(--shadow-sm); }
.btn-royal:hover { background: var(--royal-700); color: var(--ivory-100); }
.btn-outline-gold { background: transparent; color: var(--gold-400); border-color: var(--rule-on-dark); }
.btn-outline-gold:hover { color: var(--gold-300); border-color: var(--gold-400); background: rgba(198, 162, 75, 0.08); }

/* --------------------------------------------------------------------------
   Crest (seal + wordmark)
   -------------------------------------------------------------------------- */
.crest { display: inline-flex; align-items: center; gap: 16px; color: var(--royal-800); }
.crest img { width: 44px; height: 44px; border-radius: 50%; transition: transform 900ms var(--ease-out); }
.crest:hover img { transform: rotate(360deg); }
.crest-word {
  font-size: 24px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1; white-space: nowrap;
  color: var(--royal-800);
}
.crest-word .amp { display: inline-block; padding: 0 0.04em; font-weight: 600; color: var(--gold-600); transform: translateY(-0.07em); }
.crest.on-dark .crest-word { color: var(--ivory-100); font-size: 20px; }
.crest.on-dark .crest-word .amp { color: var(--gold-500); }
.crest.on-dark img { width: 37px; height: 37px; }

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60;
  background: var(--foil-gold); transform-origin: 0 50%; transform: scaleX(0);
}
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ivory-50) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--rule-hairline);
  transition: box-shadow 300ms var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { padding: 14px 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px 40px; }
.site-nav { display: flex; align-items: center; gap: 4px 20px; font-size: 19px; }
.menu { position: relative; }
.menu > button {
  display: flex; align-items: center; gap: 7px; padding: 12px; border: 0; background: none; cursor: pointer; color: var(--royal-900);
  transition: color 200ms var(--ease);
}
.menu > button:hover, .menu.open > button { color: var(--gold-700); }
.menu > button svg { margin-top: 3px; transition: transform 220ms var(--ease); }
.menu.open > button svg { transform: rotate(180deg); }
.menu-panel {
  position: absolute; top: 100%; left: 0; padding-top: 6px; z-index: 20;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 200ms var(--ease), transform 260ms var(--ease-out), visibility 0s linear 200ms;
}
.menu.open .menu-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu-panel-inner {
  width: 360px; display: flex; flex-direction: column; padding: 8px;
  background: var(--paper); border: 1px solid var(--rule-hairline); border-top: 2px solid var(--gold-500);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
}
.menu-panel a { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: var(--radius-sm); transition: background 180ms var(--ease); }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--ivory-100); }
.menu-panel .t { font-size: 19px; color: var(--royal-800); }
.menu-panel .d { font-size: 15px; line-height: 1.4; color: var(--ink-500); }
.nav-cta { margin-left: 12px; }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ivory-50); }
  .header-inner { padding: 12px 24px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--rule-hairline);
    background: var(--paper); border-radius: var(--radius-sm); cursor: pointer;
    font-size: 14px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--royal-800);
  }
  .nav-toggle .bars { width: 18px; height: 10px; position: relative; }
  .nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 260ms var(--ease); }
  .nav-toggle .bars::before { top: 0; } .nav-toggle .bars::after { bottom: 0; }
  .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(4.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-4.25px) rotate(-45deg); }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 40;
    flex-direction: column; align-items: stretch; gap: 0; padding: 16px 24px 40px; overflow-y: auto;
    background: var(--ivory-50);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 240ms var(--ease), transform 300ms var(--ease-out), visibility 0s linear 240ms;
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .menu { border-bottom: 1px solid var(--rule-hairline); }
  .menu > button { width: 100%; justify-content: space-between; padding: 18px 0; font-size: 24px; }
  .menu-panel { position: static; padding: 0 0 12px; opacity: 1; visibility: visible; transform: none; display: none; }
  .menu.open .menu-panel { display: block; }
  .menu-panel-inner { width: auto; border: 0; box-shadow: none; padding: 0; background: transparent; }
  .menu-panel a { padding: 10px 0; }
  .nav-cta { margin: 28px 0 0; align-self: flex-start; }
  .crest-word { font-size: 19px; }
  .crest img { width: 36px; height: 36px; }
}
@media (max-width: 420px) { .crest-word { font-size: 16px; } .crest { gap: 10px; } }

/* --------------------------------------------------------------------------
   Reveal on scroll (only when JS is present)
   -------------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 900ms var(--ease-out), transform 1100ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--field-sovereign); color: var(--ivory-100);
}
.hero::after { /* soft vignette + gold bloom */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 82% 22%, rgba(198, 162, 75, 0.16), transparent 60%),
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(26, 11, 46, 0.55), transparent 65%);
}
.hero-motion { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.rosette { position: absolute; will-change: transform; }
.rosette svg { width: 100%; height: 100%; display: block; }
.rosette-a { right: -340px; top: -300px; width: 1150px; height: 1150px; }
.rosette-a svg { animation: qcSpin 160s linear infinite; }
.rosette-b { left: -420px; bottom: -560px; width: 960px; height: 960px; }
.rosette-b svg { animation: qcSpinRev 200s linear infinite, qcBreathe 14s ease-in-out infinite; }
.hero-seal {
  position: absolute; right: 125px; top: 165px; width: 220px; height: 220px; will-change: transform;
}
.hero-seal img { width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 0 1px rgba(198, 162, 75, 0.35), 0 30px 80px rgba(10, 0, 30, 0.55); animation: sealFloat 9s ease-in-out infinite; }
.hero-seal::before {
  content: ""; position: absolute; inset: -38px; border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 205, 150, 0.35), transparent 65%);
  animation: qcBreathe 6s ease-in-out infinite;
}
@keyframes qcSpin { to { transform: rotate(360deg); } }
@keyframes qcSpinRev { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }
@keyframes qcBreathe { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@keyframes sealFloat { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }

.hero-inner { position: relative; max-width: 1280px; margin: 0 auto; padding: 152px 32px 136px; display: flex; flex-direction: column; gap: 36px; }
.hero h1 { max-width: 15ch; font-size: clamp(46px, 7vw, 96px); line-height: 1.02; letter-spacing: -0.015em; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero h1 .w > span { display: inline-block; }
.js .hero h1 .w > span { transform: translateY(105%); animation: rise 1100ms var(--ease-out) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
@keyframes rise { to { transform: none; } }
.js .hero .fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp 1000ms var(--ease-out) forwards; animation-delay: var(--d, 700ms); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.hero-sub { max-width: 64ch; font-size: 20px; line-height: 1.62; color: var(--royal-300); }
.hero-sub .amp { color: var(--gold-400); }
.actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-400);
}
.hero-scroll::after { content: ""; width: 1px; height: 42px; background: linear-gradient(var(--gold-400), transparent); animation: drip 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 1000px) {
  .hero-seal { opacity: 0.18; right: -40px; top: 40px; }
  .hero-inner { padding: 112px 24px 120px; }
  .hero-scroll { display: none; }
}

/* Ribbon marquee */
.ribbon { background: var(--royal-950); color: var(--gold-300); border-top: 1px solid var(--rule-on-dark); border-bottom: 1px solid var(--rule-on-dark); overflow: hidden; }
.ribbon-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-group { display: flex; align-items: center; gap: 36px; padding: 18px 18px; font-size: 17px; letter-spacing: 0.22em; text-transform: uppercase; white-space: nowrap; }
.ribbon-group .dia { width: 7px; height: 7px; background: var(--gold-500); transform: rotate(45deg); flex: none; }
.ribbon-group em { font-style: italic; text-transform: none; letter-spacing: 0.02em; font-size: 22px; color: var(--ivory-100); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: 120px 0; }
.section + .section, .bt { border-top: 1px solid var(--rule-hairline); }
.bg-ivory { background: var(--ivory-100); }
.bg-paper { background: var(--paper); }
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
.section-head.center { align-items: center; text-align: center; }
.section-head .note { font-size: 18px; color: var(--ink-500); }
@media (max-width: 720px) { .section { padding: 88px 0; } .wrap { padding: 0 22px; } }

/* Audience cards */
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 40px 36px;
  background: var(--paper); border: 1px solid var(--rule-hairline); border-top: 2px solid var(--gold-500);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); color: var(--royal-900); overflow: hidden;
  transition: box-shadow 300ms var(--ease), transform 300ms var(--ease-out), border-color 300ms var(--ease);
}
.card::before { /* gilt sweep on the top rule */
  content: ""; position: absolute; top: -2px; left: 0; right: 0; height: 2px; background: var(--foil-gold);
  transform: scaleX(0); transform-origin: left; transition: transform 600ms var(--ease-out);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); color: var(--royal-900); }
.card:hover::before { transform: scaleX(1); }
.card .num { font-size: 15px; font-style: italic; color: var(--gold-600); letter-spacing: 0.04em; }
.card h3 { font-size: 30px; color: var(--royal-800); }
.card p { flex: 1; font-size: 18px; line-height: 1.6; color: var(--ink-500); }
.card .label { display: inline-flex; align-items: center; gap: 10px; }
.card .label .arrow { transition: transform 300ms var(--ease-out); }
.card:hover .label .arrow { transform: translateX(6px); }
.card .ghost-amp {
  position: absolute; right: -10px; bottom: -48px; font-size: 220px; line-height: 1; font-style: italic; color: var(--gold-100);
  pointer-events: none; transition: transform 700ms var(--ease-out), color 400ms var(--ease); z-index: 0;
}
.card > *:not(.ghost-amp) { position: relative; z-index: 1; }
.card:hover .ghost-amp { transform: rotate(-12deg) scale(1.08); color: var(--gold-200); }

/* Board summary */
.split { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.prose { display: flex; flex-direction: column; gap: 24px; }
.prose p { max-width: 62ch; font-size: 19px; line-height: 1.62; color: var(--ink-700); }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mosaic figure { margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-sm); background: var(--ivory-200); }
.mosaic figure:nth-child(2), .mosaic figure:nth-child(5) { transform: translateY(28px); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.85) contrast(1.05); transition: filter 600ms var(--ease), transform 900ms var(--ease-out); }
.mosaic figure:hover img { filter: none; transform: scale(1.05); }
.mosaic figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px; font-size: 15px; line-height: 1.2; color: var(--ivory-100);
  background: linear-gradient(transparent, rgba(26, 11, 46, 0.85));
  opacity: 0; transform: translateY(8px); transition: opacity 300ms var(--ease), transform 400ms var(--ease-out);
}
.mosaic figure:hover figcaption { opacity: 1; transform: none; }
.mosaic figcaption small { display: block; font-size: 13px; color: var(--gold-300); letter-spacing: 0.06em; }
.mosaic .seal-tile { background: var(--field-sovereign); display: flex; align-items: center; justify-content: center; }
.mosaic .seal-tile img { width: 72%; height: auto; aspect-ratio: 1; filter: none; border-radius: 50%; animation: qcSpin 60s linear infinite; }
.mosaic .seal-tile:hover img { transform: none; }
.mosaic .seal-tile::after { content: ""; position: absolute; inset: 10px; border: 1px solid var(--rule-on-dark); border-radius: 2px; }

/* Board tiers */
.tiers { display: flex; flex-direction: column; gap: 56px; }
.tier-label {
  display: block; padding-bottom: 12px; border-bottom: 1px solid var(--gold-500); text-align: center;
  font-size: 14px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 24px;
}
.tier-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 24px; }
.director {
  width: 180px; padding: 0; border: 0; background: none; cursor: pointer; text-align: center;
  display: flex; flex-direction: column; gap: 12px; color: inherit; perspective: 700px;
}
.director .frame {
  position: relative; width: 180px; height: 225px; border-radius: var(--radius-sm); overflow: hidden; background: var(--ivory-200);
  transition: transform 500ms var(--ease-out), box-shadow 400ms var(--ease);
}
.director .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-out); }
.director .frame::after { content: ""; position: absolute; inset: 0; border: 1px solid transparent; border-radius: inherit; transition: border-color 300ms var(--ease), inset 300ms var(--ease); }
.director .frame .read {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 10px 12px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-300);
  background: linear-gradient(transparent, rgba(26, 11, 46, 0.85)); opacity: 0; transform: translateY(10px);
  transition: opacity 300ms var(--ease), transform 400ms var(--ease-out);
}
.director:hover .frame, .director:focus-visible .frame { transform: translateY(-6px) rotateX(4deg); box-shadow: var(--shadow-lg); }
.director:hover .frame img { transform: scale(1.06); }
.director:hover .frame::after { inset: 8px; border-color: rgba(226, 205, 150, 0.8); }
.director:hover .frame .read, .director:focus-visible .frame .read { opacity: 1; transform: none; }
.director .n { font-size: 20px; line-height: 1.2; color: var(--royal-800); }
.director .r { font-size: 16px; color: var(--ink-500); }
.seat { width: 180px; display: flex; flex-direction: column; gap: 12px; text-align: center; color: inherit; }
.seat .frame {
  width: 180px; height: 225px; border: 1px dashed var(--gold-600); border-radius: var(--radius-sm); background: var(--ivory-50);
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
  transition: background 400ms var(--ease), border-color 400ms var(--ease);
}
.seat .frame span { font-size: 44px; font-style: italic; color: var(--gold-500); transition: transform 700ms var(--ease-out), font-size 500ms var(--ease-out); }
.seat .frame::after { content: "Enquire"; position: absolute; bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-300); opacity: 0; transition: opacity 300ms var(--ease); }
.seat:hover .frame { background: var(--royal-800); border-color: var(--gold-500); border-style: solid; }
.seat:hover .frame span { transform: rotate(-12deg) scale(1.9); }
.seat:hover .frame::after { opacity: 1; }
.seat .n { font-size: 20px; line-height: 1.2; color: var(--royal-800); }
.seat .r { font-size: 16px; color: var(--gold-700); }
.board-note { margin-top: 56px; text-align: center; font-size: 17px; color: var(--ink-500); }

/* Biography dialog */
.bio-dialog {
  width: min(900px, calc(100% - 32px)); max-height: 88vh; padding: 0; border: 0; border-top: 2px solid var(--gold-500);
  border-radius: var(--radius-sm); background: var(--paper); color: var(--royal-900); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.bio-dialog[open] { display: flex; animation: dialogIn 420ms var(--ease-out); }
.bio-dialog::backdrop { background: rgba(26, 11, 46, 0.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fadeIn 300ms var(--ease); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
@keyframes fadeIn { from { opacity: 0; } }
.bio-inner { display: grid; grid-template-columns: 240px 1fr; width: 100%; max-height: 88vh; }
.bio-photo { background: var(--royal-800); position: relative; }
.bio-photo img { width: 100%; height: 100%; object-fit: cover; }
.bio-photo::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(226, 205, 150, 0.7); pointer-events: none; }
.bio-body { padding: 44px 48px; overflow-y: auto; display: flex; flex-direction: column; gap: 22px; }
.bio-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.bio-top h3 { font-size: 38px; line-height: 1.1; color: var(--royal-800); margin-top: 8px; }
.bio-close {
  flex: none; padding: 8px 14px; border: 1px solid var(--rule-hairline); border-radius: var(--radius-sm); background: none; cursor: pointer;
  font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--royal-800);
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}
.bio-close:hover { background: var(--ivory-100); border-color: var(--gold-500); }
.bio-text { display: flex; flex-direction: column; gap: 18px; font-size: 18px; line-height: 1.62; color: var(--ink-700); }
.bio-text p:first-child::first-letter { float: left; font-size: 64px; line-height: 0.85; padding: 6px 10px 0 0; color: var(--gold-600); font-style: italic; }
@media (max-width: 720px) {
  .bio-inner { grid-template-columns: 1fr; overflow-y: auto; }
  .bio-photo { height: 220px; }
  .bio-photo img { object-position: center 25%; }
  .bio-body { padding: 28px 24px; overflow: visible; }
  .bio-top h3 { font-size: 30px; }
}

/* Criteria rows */
.rows { display: flex; flex-direction: column; border-top: 1px solid var(--gold-500); }
.row {
  position: relative; display: flex; flex-wrap: wrap; gap: 8px 48px; padding: 28px 0 28px 0; border-bottom: 1px solid var(--rule-hairline);
  transition: padding 400ms var(--ease-out), background 300ms var(--ease);
}
.row::before { content: ""; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; background: var(--gold-500); transform: translate(-20px, -50%) rotate(45deg) scale(0); transition: transform 400ms var(--ease-out); }
.row:hover { padding-left: 28px; }
.row:hover::before { transform: translate(0, -50%) rotate(45deg) scale(1); }
.row .k { flex: 0 0 220px; font-size: 16px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--royal-800); padding-top: 4px; }
.row .v { flex: 1 1 420px; min-width: 0; font-size: 20px; line-height: 1.55; color: var(--ink-700); }
.rows.compact .row { padding: 0 0 20px; gap: 6px 40px; border-top: 0; }
.rows.compact { border-top: 0; gap: 20px; }
.rows.compact .row .k { flex-basis: 200px; font-size: 14px; padding-top: 5px; }
.rows.compact .row .v { flex-basis: 320px; }
.rows.compact .row::before { top: 14px; }

/* Approach */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 40px; }
.principle { position: relative; display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid var(--gold-500); }
.principle .roman { font-size: 64px; line-height: 0.9; font-style: italic; color: var(--gold-500); opacity: 0.85; transition: transform 600ms var(--ease-out); transform-origin: left bottom; }
.principle:hover .roman { transform: scale(1.15) rotate(-4deg); }
.principle h3 { font-size: 28px; color: var(--royal-800); }
.principle p { font-size: 18px; line-height: 1.6; color: var(--ink-500); }
.center-link { display: flex; justify-content: center; margin-top: 56px; }

/* Performance */
.performance { position: relative; overflow: hidden; isolation: isolate; background: var(--royal-950); color: var(--ivory-100); padding: 104px 0; }
.performance .bg-rosette { position: absolute; right: -260px; top: 50%; width: 820px; height: 820px; transform: translateY(-50%); z-index: -1; opacity: 0.7; }
.performance .bg-rosette svg { width: 100%; height: 100%; animation: qcSpin 220s linear infinite; }
.performance h2 { max-width: 30ch; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
.stats { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.stat {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 26px 24px;
  background: color-mix(in srgb, var(--royal-700) 70%, transparent); border: 1px solid var(--rule-on-dark); border-top: 2px solid var(--gold-500);
  border-radius: var(--radius-sm); transition: transform 400ms var(--ease-out), background 300ms var(--ease);
}
.stat:hover { transform: translateY(-4px); background: var(--royal-700); }
.stat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 35%, rgba(226, 205, 150, 0.16) 50%, transparent 65%); transform: translateX(-100%); transition: transform 1000ms var(--ease-out); }
.stat:hover::after { transform: translateX(100%); }
.stat .v { font-size: 52px; font-weight: 600; line-height: 1; letter-spacing: -0.01em; color: var(--gold-400); font-variant-numeric: lining-nums tabular-nums; }
.stat .k { margin-top: 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ivory-100); }
.stat .s { font-size: 16px; font-style: italic; color: var(--royal-300); }

/* Contact */
.contact { position: relative; overflow: hidden; isolation: isolate; background: var(--field-sovereign); color: var(--ivory-100); padding: 96px 0; }
.contact .bg-rosette { position: absolute; left: -300px; bottom: -380px; width: 760px; height: 760px; z-index: -1; opacity: 0.8; }
.contact .bg-rosette svg { width: 100%; height: 100%; animation: qcSpinRev 240s linear infinite; }
.contact-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.contact-band > div { display: flex; flex-direction: column; gap: 14px; flex: 1 1 480px; }
.contact-lede { max-width: 40ch; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.contact-grid .intro { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 32px); }
.contact-grid .intro p.small { font-size: 18px; line-height: 1.6; color: var(--royal-300); max-width: 42ch; }
.contact-grid .direct { font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-400); }
.contact-grid .direct a { display: inline-block; margin-top: 6px; font-size: 24px; letter-spacing: 0; text-transform: none; color: var(--ivory-100); border-bottom: 1px solid var(--gold-500); }
.contact-grid .direct a:hover { color: var(--gold-300); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } .contact-grid .intro { position: static; } }

.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; padding: 40px;
  background: rgba(26, 11, 46, 0.42); border: 1px solid var(--rule-on-dark); border-top: 2px solid var(--gold-500); border-radius: var(--radius-sm);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-300); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 18px; color: var(--ivory-100);
  background: rgba(244, 241, 234, 0.06); border: 1px solid rgba(198, 162, 75, 0.35); border-radius: var(--radius-sm);
  transition: border-color 200ms var(--ease), background 200ms var(--ease), box-shadow 200ms var(--ease);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10' fill='none' stroke='%23D4B66E' stroke-width='1.6'%3E%3Cpath d='M2 3.5L5 6.5L8 3.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field select option { color: var(--royal-900); }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-400); background: rgba(244, 241, 234, 0.1); box-shadow: 0 0 0 3px rgba(198, 162, 75, 0.2); }
.field.invalid input, .field.invalid select { border-color: #E39A93; }
.field .err { font-size: 15px; font-style: italic; color: #F0B6B0; min-height: 0; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-foot small { font-size: 15px; font-style: italic; color: var(--royal-300); }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; padding: 26px 20px; } }

/* Footer */
.site-footer { background: var(--royal-950); color: var(--royal-300); }
.footer-inner { padding: 72px 32px 40px; display: flex; flex-direction: column; gap: 56px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px; }
.footer-cols div { display: flex; flex-direction: column; gap: 14px; }
.footer-cols h2 { font-size: 14px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-400); }
.footer-cols a { font-size: 17px; color: var(--ivory-100); }
.footer-cols a:hover { color: var(--gold-400); }
.footer-mark { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-top: 32px; border-top: 1px solid var(--rule-on-dark); }
.footer-mark .conf { font-size: 14px; letter-spacing: 0.22em; font-weight: 600; color: var(--gold-400); }
.footer-legal { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.7; }
.footer-legal span:last-child { max-width: 110ch; }

/* --------------------------------------------------------------------------
   Sub-pages
   -------------------------------------------------------------------------- */
.subhero { position: relative; overflow: hidden; isolation: isolate; background: var(--ivory-100); }
.subhero .bg-rosette { position: absolute; left: 50%; top: 50%; width: 1100px; height: 1100px; transform: translate(-50%, -50%); z-index: -1; }
.subhero .bg-rosette svg { width: 100%; height: 100%; animation: qcSpin 240s linear infinite; }
.subhero-inner { max-width: 1000px; margin: 0 auto; padding: 120px 32px 104px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--royal-800); }
.crumbs .dia { width: 6px; height: 6px; background: var(--gold-500); transform: rotate(45deg); }
.crumbs a { color: var(--royal-800); }
.crumbs a:hover { color: var(--gold-700); }
.subhero h1 { max-width: 17ch; font-size: clamp(42px, 6vw, 76px); line-height: 1.08; color: var(--royal-900); }
.subhero .lede { max-width: 62ch; font-size: 22px; line-height: 1.6; color: var(--ink-700); }
.subhero .rule-orn { display: flex; align-items: center; gap: 14px; color: var(--gold-500); }
.subhero .rule-orn::before, .subhero .rule-orn::after { content: ""; width: 64px; height: 1px; background: var(--gold-500); }
.subhero .rule-orn span { font-size: 26px; font-style: italic; }

.subsec { background: var(--paper); border-top: 1px solid var(--rule-hairline); }
.subsec:nth-of-type(even) { background: var(--ivory-50); }
.subsec-inner { max-width: 1280px; margin: 0 auto; padding: 96px 32px; display: flex; flex-wrap: wrap; gap: 32px 72px; }
.subsec-head { flex: 1 1 340px; max-width: 440px; display: flex; flex-direction: column; gap: 16px; align-self: flex-start; position: sticky; top: calc(var(--header-h) + 40px); }
.subsec-head .idx { font-size: 15px; font-style: italic; color: var(--gold-600); }
.subsec-head h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; color: var(--royal-800); }
.subsec-body { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.subsec-body > p { max-width: 66ch; font-size: 20px; line-height: 1.62; color: var(--ink-700); }
.subsec-body > p:first-child::first-letter { font-size: 1.6em; font-style: italic; color: var(--gold-600); }
@media (max-width: 900px) { .subsec-head { position: static; } .subsec-inner { padding: 80px 22px; } }

.faq { border-bottom: 1px solid var(--rule-hairline); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 6px 0 20px;
  font-size: 24px; color: var(--royal-800); transition: color 200ms var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-700); }
.faq summary .pm { flex: none; position: relative; width: 26px; height: 26px; border: 1px solid var(--gold-500); border-radius: 50%; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--gold-700); transform: translate(-50%, -50%); transition: transform 300ms var(--ease); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq p { max-width: 62ch; padding: 0 0 24px; font-size: 19px; line-height: 1.6; color: var(--ink-700); }
.faq[open] p { animation: fadeUp 500ms var(--ease-out); }
.faq + .faq summary { padding-top: 20px; }

/* Process timeline */
.timeline-wrap { background: var(--ivory-100); padding: 0 0 104px; }
.timeline-scroll { overflow-x: auto; padding: 4px 0 8px; }
.timeline { position: relative; min-width: 820px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.timeline .track, .timeline .fill { position: absolute; top: 31px; left: 8.333%; right: 8.333%; height: 2px; }
.timeline .track { background: var(--ivory-300); }
.timeline .fill { background: var(--foil-gold); transform-origin: left; transform: scaleX(0); transition: transform 700ms var(--ease-out); }
.stage-btn { position: relative; padding: 0 6px; border: 0; background: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.stage-btn .dot {
  width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--royal-800); background: var(--paper); color: var(--royal-800);
  display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px;
  transition: background 300ms var(--ease), color 300ms var(--ease), transform 400ms var(--ease-out), box-shadow 300ms var(--ease);
}
.stage-btn:hover .dot { transform: scale(1.08); }
.stage-btn.done .dot { background: var(--gold-100); border-color: var(--gold-600); color: var(--gold-800); }
.stage-btn[aria-selected="true"] .dot { background: var(--royal-800); color: var(--ivory-100); border-color: var(--royal-800); transform: scale(1.12); box-shadow: 0 0 0 6px rgba(198, 162, 75, 0.25), var(--shadow-md); }
.stage-btn .s { font-size: 24px; line-height: 1.15; color: var(--royal-900); }
.stage-btn .w { font-size: 18px; font-style: italic; color: var(--ink-400); }
.timeline-note { margin: 56px auto; max-width: 46ch; text-align: center; font-size: 22px; font-style: italic; line-height: 1.55; color: var(--ink-700); }
.stage-card {
  max-width: 860px; margin: 0 auto; padding: 44px 48px; background: var(--paper); border: 1px solid var(--rule-hairline); border-top: 2px solid var(--gold-500);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden;
}
.stage-card .big-num { position: absolute; right: 28px; top: -20px; font-size: 200px; line-height: 1; font-style: italic; color: var(--gold-100); pointer-events: none; }
.stage-card > *:not(.big-num) { position: relative; }
.stage-card.swap > *:not(.big-num) { animation: fadeUp 520ms var(--ease-out); }
.stage-card.swap .big-num { animation: fadeIn 600ms var(--ease); }
.stage-card h2 { font-size: 36px; line-height: 1.12; color: var(--royal-800); }
.stage-card .body { font-size: 20px; line-height: 1.62; color: var(--ink-700); }
.stage-card .meta { font-size: 19px; line-height: 1.55; color: var(--ink-700); }
.stage-card .meta b, .step .meta b { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-700); margin-right: 10px; }
.stage-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--rule-hairline); }
.stage-nav button { border: 0; background: none; cursor: pointer; font-size: 14px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-700); padding: 6px 0; }
.stage-nav button:hover { color: var(--royal-800); }
.stage-nav button:disabled { opacity: 0.3; cursor: default; }
@media (max-width: 720px) { .stage-card { padding: 32px 24px; } .stage-card h2 { font-size: 30px; } }

/* Related */
.related { background: var(--ivory-100); border-top: 1px solid var(--rule-hairline); padding: 96px 0; }
.related .label-head { margin-bottom: 28px; }
.related .card h3 { font-size: 28px; }
.related .card { padding: 36px 32px; gap: 16px; }

/* Small utility pages */
.plain-page { min-height: 100vh; display: flex; align-items: center; background: var(--field-sovereign); color: var(--ivory-100); position: relative; overflow: hidden; isolation: isolate; }
.plain-page .bg-rosette { position: absolute; right: -300px; top: 50%; width: 1000px; height: 1000px; transform: translateY(-50%); z-index: -1; }
.plain-page .bg-rosette svg { width: 100%; height: 100%; animation: qcSpin 160s linear infinite; }
.plain-page .inner { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; padding-top: 64px; padding-bottom: 64px; }
.plain-page h1 { font-size: clamp(40px, 5.5vw, 72px); line-height: 1.06; max-width: 18ch; }
.plain-page p { font-size: 21px; line-height: 1.6; color: var(--royal-300); max-width: 52ch; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero h1 .w > span, .js .hero .fade-up { transform: none; opacity: 1; }
}

/* Biography pop-up: framed portrait beside the name, no sidebar */
.bio-inner { display: block; position: relative; overflow-y: auto; max-height: 88vh; }
.bio-body { overflow: visible; }
.bio-photo { position: absolute; top: 44px; left: 48px; width: 112px; height: 140px; padding: 4px; background: var(--paper); border: 1px solid var(--gold-500); box-sizing: border-box; z-index: 1; }
.bio-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.bio-photo::after { display: none; }
.bio-top { padding-left: 136px; min-height: 140px; align-items: center; box-sizing: border-box; }
@media (max-width: 720px) {
  .bio-photo { top: 28px; left: 24px; width: 88px; height: 110px; padding: 3px; }
  .bio-top { padding-left: 106px; min-height: 110px; }
}
