/* =========================================================
   1st Blue Sapphire — Official Launch & CEO's 55th Birthday
   Tokens are tuned to the supplied artwork: deep sapphire,
   the signage's royal blue, the headline ice-blue, soft gold.
   ========================================================= */
/* ---------- Fonts (self-hosted, SIL OFL 1.1 — see assets/fonts) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); }

:root {
  --navy: #071530;
  --navy-2: #0b1f45;
  --deep: #102b50;
  --royal: #1446a8;
  --royal-2: #1d5fd0;
  --sky: #dcecf8;
  --ice: #8fd6f5;
  --white: #ffffff;
  --gold: #c7a45d;
  --gold-2: #d9bb78;
  --gold-pale: #e8d8ad;
  --cocoa: #4a2a16;
  --bg: #f6f8fb;
  --text: #172235;
  --muted: #5b6678; /* darkened from #657184 for AA on --bg */
  --line: #dfe6ef;
  --line-dark: rgba(220, 236, 248, 0.16);

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(7, 21, 48, 0.06), 0 4px 14px rgba(7, 21, 48, 0.06);
  --shadow: 0 2px 6px rgba(7, 21, 48, 0.06), 0 18px 40px -12px rgba(7, 21, 48, 0.22);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; }
p { margin: 0 0 1em; }
address { font-style: normal; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nowrap { white-space: nowrap; }
.break { overflow-wrap: anywhere; }
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px;
  background: var(--gold); color: var(--navy); border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.section { padding: var(--section-y) 0; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font: 700 0.75rem/1.3 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--royal);
}
.eyebrow .rule { width: 34px; height: 2px; background: currentColor; opacity: 0.7; flex: none; }
.eyebrow--light { color: var(--sky); }
.eyebrow--gold { color: var(--gold-2); }
.eyebrow--sky { color: var(--ice); }
.section-title { font-family: var(--font-display); font-size: clamp(2.1rem, 4.6vw, 3.4rem); color: var(--navy); letter-spacing: -0.01em; }
.section-title--light { color: var(--white); }
.section-sub { margin-top: 16px; max-width: 62ch; color: var(--muted); font-size: 1.06rem; }
.section-sub--light { color: rgba(220, 236, 248, 0.82); }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { text-align: center; }
.section-head--center .section-sub { margin-left: auto; margin-right: auto; }
.lede { font-size: 1.16rem; color: var(--text); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: var(--white); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg); text-decoration: none; cursor: pointer;
  font: 700 0.92rem/1 var(--font-body); letter-spacing: 0.04em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(7, 21, 48, 0.45); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--gold { --btn-bg: linear-gradient(180deg, #d8ba76, #c39c50); --btn-fg: var(--navy); background: var(--btn-bg); }
.btn--sky { --btn-bg: var(--ice); --btn-fg: var(--navy); }
.btn--navy { --btn-bg: var(--navy); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: rgba(7, 21, 48, 0.3); }
.btn--outline:hover { --btn-bd: var(--navy); }
.btn--ghost-light { --btn-bg: rgba(255, 255, 255, 0.04); --btn-fg: var(--white); --btn-bd: rgba(220, 236, 248, 0.5); }
.btn--ghost-light:hover { --btn-bd: var(--white); --btn-bg: rgba(255, 255, 255, 0.1); }
.btn--block { width: 100%; }
.btn--lg { min-height: 58px; padding: 0 32px; font-size: 1rem; }
.wa-icon { width: 20px; height: 20px; fill: currentColor; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; background: none; border: 0; cursor: pointer;
  color: var(--royal); font-weight: 700; text-decoration: none; border-bottom: 1.5px solid rgba(20, 70, 168, 0.25);
  transition: border-color 0.2s, gap 0.2s var(--ease);
}
.text-link:hover { border-color: currentColor; gap: 12px; }
.text-link--light { color: var(--ice); border-color: rgba(143, 214, 245, 0.35); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: var(--white); transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s;
}
.site-header::before { /* soft legibility veil over hero before scroll */
  content: ""; position: absolute; inset: 0 0 -30px; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 21, 48, 0.6), rgba(7, 21, 48, 0)); transition: opacity 0.35s;
}
.site-header.is-solid { background: rgba(7, 21, 48, 0.94); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6); backdrop-filter: saturate(1.2) blur(10px); }
.site-header.is-solid::before { opacity: 0; }
.header-inner {
  position: relative; height: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 28px;
}
.nav { display: flex; gap: clamp(18px, 2.4vw, 34px); }
.nav { justify-content: flex-end; }
.nav a, .mobile-menu nav a {
  position: relative; text-decoration: none; font-weight: 600; font-size: 0.86rem; letter-spacing: 0.06em; white-space: nowrap;
  color: rgba(255, 255, 255, 0.88); padding: 8px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--gold-2);
  transform: scaleX(0); transform-origin: center; transition: transform 0.3s var(--ease);
}
.nav a:hover, .nav a[aria-current="true"] { color: var(--white); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand-mark { position: relative; width: 58px; height: 58px; flex: none; border-radius: 50%; }
.brand-mark::after { /* restrained gold ring + glow */
  content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1.5px solid rgba(217, 187, 120, 0.75);
  box-shadow: 0 0 0 0 rgba(217, 187, 120, 0);
}
picture.brand-face { display: block; }
.brand-face { position: absolute; inset: 0; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.brand-face img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.brand-face--birthday { opacity: 0; transform: scale(0.92); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; letter-spacing: 0.01em; }
.brand-sub { position: relative; display: grid; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-pale); }
.brand-sub > span { grid-area: 1 / 1; transition: opacity 0.7s var(--ease); white-space: nowrap; }
.brand-sub-birthday { opacity: 0; color: var(--gold-2); }

.brand-mark.is-glowing::after { animation: glow 2.4s var(--ease) 1; }
@keyframes glow {
  0% { box-shadow: 0 0 0 0 rgba(217, 187, 120, 0); transform: scale(1); }
  40% { box-shadow: 0 0 22px 4px rgba(217, 187, 120, 0.45), 0 0 40px 8px rgba(29, 95, 208, 0.25); transform: scale(1.06); }
  100% { box-shadow: 0 0 0 0 rgba(217, 187, 120, 0); transform: scale(1); }
}
.brand.is-birthday .brand-face--crest { opacity: 0; transform: scale(0.92); }
.brand.is-birthday .brand-face--birthday { opacity: 1; transform: scale(1); }
.brand.is-birthday .brand-sub-default { opacity: 0; }
.brand.is-birthday .brand-sub-birthday { opacity: 1; }

.menu-toggle { display: none; }

/* Mobile header */
@media (max-width: 1023px) {
  :root { --header-h: 68px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .brand-mark { width: 46px; height: 46px; }
  .brand-name { font-size: 1.18rem; }
  .menu-toggle {
    display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -6px;
    background: transparent; border: 1px solid rgba(220, 236, 248, 0.35); border-radius: 50%; color: var(--white); cursor: pointer;
  }
  .menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
    display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.2s;
  }
  .menu-toggle-bars { position: relative; }
  .menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle-bars::before { top: -6px; }
  .menu-toggle-bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .mobile-menu {
    position: fixed; inset: var(--header-h) 0 auto; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    background: var(--navy); border-top: 1px solid var(--line-dark); padding: 12px var(--gutter) 28px;
    box-shadow: 0 30px 40px -20px rgba(0, 0, 0, 0.6);
  }
  .mobile-menu nav { display: grid; margin-bottom: 20px; }
  .mobile-menu nav a { font-size: 1.05rem; padding: 15px 2px; border-bottom: 1px solid var(--line-dark); }
  body.menu-open { overflow: hidden; }
  .site-header.menu-is-open { background: var(--navy); }
}
@media (max-width: 380px) { .brand-sub { letter-spacing: 0.1em; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 900px); display: grid; align-items: center; background: var(--navy); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; animation: hero-in 1.8s var(--ease) both; }
@keyframes hero-in { from { transform: scale(1.05); opacity: 0.6; } to { transform: scale(1); opacity: 1; } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 21, 48, 0.96) 0%, rgba(7, 21, 48, 0.9) 38%, rgba(10, 34, 82, 0.42) 63%, rgba(7, 21, 48, 0) 80%),
    linear-gradient(0deg, rgba(7, 21, 48, 0.75) 0%, rgba(7, 21, 48, 0) 34%);
}
.hero-content { padding-top: calc(var(--header-h) + 56px); padding-bottom: 72px; color: var(--white); }
.hero-content > * { max-width: 600px; animation: rise 1s var(--ease) both; }
.hero-content > :nth-child(2) { animation-delay: 0.12s; }
.hero-content > :nth-child(3) { animation-delay: 0.24s; }
.hero-content > :nth-child(4) { animation-delay: 0.36s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero .eyebrow { max-width: 520px; line-height: 1.5; }
.hero-title { display: grid; gap: 14px; margin-bottom: 34px; }
.hero-title-main {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em;
  font-size: clamp(3rem, 8.4vw, 6rem); line-height: 0.95;
  background: linear-gradient(180deg, #ffffff 20%, var(--sky) 60%, var(--ice) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-title-sub { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 3.2vw, 2.25rem); color: var(--gold-pale); line-height: 1.2; }
.hero-when {
  display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 36px; padding: 0;
  border: 1px solid rgba(217, 187, 120, 0.45); border-radius: var(--radius); background: rgba(7, 21, 48, 0.55);
}
.hero-when > div { padding: 16px 22px; flex: 1 1 220px; }
.hero-when > div + div { border-left: 1px solid rgba(217, 187, 120, 0.3); }
.hero-when dt { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 4px; }
.hero-when dd { margin: 0; font-weight: 600; font-size: 1.04rem; }
.hero-when-alt { display: block; font-weight: 500; font-size: 0.86rem; color: rgba(220, 236, 248, 0.78); margin-top: 2px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 767px) {
  .hero { min-height: 0; align-items: end; }
  .hero-media { position: relative; inset: auto; height: 62vw; min-height: 260px; max-height: 440px; margin-top: var(--header-h); }
  .hero-media img { object-position: 76% 20%; }
  .hero-shade { background: linear-gradient(0deg, var(--navy) 0%, rgba(7, 21, 48, 0.8) 18%, rgba(7, 21, 48, 0) 46%); top: 0; height: calc(62vw + var(--header-h)); max-height: calc(440px + var(--header-h)); min-height: calc(260px + var(--header-h)); bottom: auto; }
  .hero { grid-template-rows: auto auto; }
  .hero-content { padding-top: 8px; padding-bottom: 56px; margin-top: -40px; position: relative; }
  .hero-when > div + div { border-left: 0; border-top: 1px solid rgba(217, 187, 120, 0.3); }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Countdown ---------- */
.countdown-band {
  position: relative; background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white);
  padding: clamp(56px, 7vw, 88px) 0; border-top: 1px solid var(--line-dark);
}
.countdown-band::after { content: ""; position: absolute; left: 50%; bottom: 0; width: min(560px, 70%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0.7; }
.countdown-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.countdown-title { font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 2.7rem); color: var(--white); margin-bottom: 10px; }
.countdown-meta { color: rgba(220, 236, 248, 0.78); margin: 0; }
.countdown-units { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.countdown-units li {
  display: grid; justify-items: center; gap: 6px; min-width: 112px; padding: 22px 14px 18px;
  border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255, 255, 255, 0.03);
}
.cd-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; font-variant-numeric: tabular-nums lining-nums; color: var(--white); }
.cd-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-2); }
.countdown-message {
  max-width: 520px; padding: 26px 28px; border-radius: var(--radius); border: 1px solid rgba(217, 187, 120, 0.45); background: rgba(199, 164, 93, 0.08);
}
.countdown-message strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--gold-pale); margin-bottom: 6px; line-height: 1.15; }
.countdown-message p { margin: 0; color: rgba(220, 236, 248, 0.85); }
@media (max-width: 900px) {
  .countdown-inner { grid-template-columns: 1fr; text-align: center; }
  .countdown-intro .eyebrow { justify-content: center; }
  .countdown-units li { min-width: 0; padding: 16px 6px 14px; }
  .countdown-message { margin: 0 auto; }
}
@media (max-width: 380px) { .countdown-units { gap: 8px; } .cd-label { letter-spacing: 0.12em; font-size: 0.62rem; } }

/* ---------- Celebration ---------- */
.celebration { position: relative; isolation: isolate; overflow: hidden; background: var(--cocoa); color: var(--white); min-height: 640px; display: grid; align-items: center; }
.celebration-media { position: absolute; inset: 0; z-index: -2; }
.celebration-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.celebration::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(56, 30, 14, 0.82) 0%, rgba(74, 42, 22, 0.55) 42%, rgba(74, 42, 22, 0) 62%);
}
.celebration-content { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.celebration-content > * { max-width: 520px; }
.celebration-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 0.98; color: #fff7ea; margin-bottom: 18px; }
.celebration-title em {
  display: block; font-style: normal;
  background: linear-gradient(180deg, #f3e2b3 0%, var(--gold-2) 55%, #b58a3f 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.celebration-lede { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.25; color: #fff2dc; }
.celebration-body { color: rgba(255, 244, 228, 0.86); }
.celebration-name { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 2.2vw, 1.5rem); color: var(--gold-pale); margin: 22px 0 26px; padding-top: 18px; border-top: 1px solid rgba(232, 216, 173, 0.35); }
.milestones { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 32px; padding: 0; list-style: none; }
.milestones li { padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(40, 20, 8, 0.4); border: 1px solid rgba(232, 216, 173, 0.25); }
.milestone-kicker { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 4px; }
.milestone-text { font-size: 0.92rem; line-height: 1.45; color: #fff4e4; }
@media (max-width: 767px) {
  .celebration { display: block; min-height: 0; }
  .celebration-media { position: relative; height: 66vw; max-height: 420px; }
  .celebration-media img { object-position: 78% 20%; }
  .celebration::before { background: linear-gradient(0deg, var(--cocoa) 0%, var(--cocoa) calc(100% - min(66vw, 420px)), rgba(74, 42, 22, 0) calc(100% - min(66vw, 420px) + 120px)); }
  .celebration-content { padding-top: 0; margin-top: -48px; position: relative; }
  .milestones { grid-template-columns: 1fr; }
}

/* ---------- Slider ---------- */
.gallery { background: var(--bg); }
.slider { position: relative; }
.slider-viewport { overflow: hidden; border-radius: var(--radius-lg); background: var(--navy); box-shadow: var(--shadow); touch-action: pan-y; }
.slider-track { display: flex; margin: 0; padding: 0; list-style: none; transition: transform 0.8s var(--ease); will-change: transform; }
.slide { flex: 0 0 100%; aspect-ratio: 1663 / 946; display: grid; place-items: center; background: var(--navy); }
.slide img { width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; }
.slider-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; box-shadow: var(--shadow-sm);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.slider-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.slider-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.slider-btn--play .i-play { display: none; fill: currentColor; stroke: none; }
.slider-btn--play[aria-pressed="true"] .i-play { display: block; }
.slider-btn--play[aria-pressed="true"] .i-pause { display: none; }
.slider-dots { display: flex; gap: 4px; }
.slider-dot { width: 32px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; padding: 0; }
.slider-dot::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: #b9c6d8; transition: width 0.35s var(--ease), background-color 0.35s; }
.slider-dot[aria-current="true"]::before { width: 28px; background: var(--royal); }
@media (max-width: 600px) { .slider-viewport { border-radius: var(--radius); } .slider-controls { gap: 6px; } .slider-dot { width: 24px; } }

/* ---------- About ---------- */
.about { position: relative; isolation: isolate; background: #efece6; overflow: hidden; }
.about-media { position: absolute; inset: 0; z-index: -1; }
.about-media img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 20%; }
.about::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(240, 237, 231, 0.96) 0%, rgba(240, 237, 231, 0.85) 42%, rgba(240, 237, 231, 0) 64%); }
.about-content { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.about-content > * { max-width: 520px; }
.about-content p:not(.eyebrow):not(.lede) { color: #3b4658; }
.about-content .section-title { margin-bottom: 22px; }
.about-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 34px 0 0; padding: 26px 0 0; list-style: none; border-top: 1px solid rgba(7, 21, 48, 0.14); }
.about-points strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); }
.about-points span { font-size: 0.9rem; color: var(--muted); line-height: 1.45; display: block; }
@media (max-width: 860px) {
  .about-media { position: relative; height: 56vw; max-height: 380px; }
  .about-media img { object-position: 74% 18%; }
  .about::before { display: none; }
  .about-content { padding-top: 48px; }
  .about-points { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- Services ---------- */
.services { background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.service-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-media { aspect-ratio: 16 / 9.5; overflow: hidden; background: var(--sky); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service-card--pharmacy .service-media img { object-position: 88% 22%; }
.service-card--aesthetics .service-media img { object-position: 82% 50%; }
.service-card:hover .service-media img { transform: scale(1.03); }
.service-body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; flex: 1; }
.service-kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.service-card h3 { font-family: var(--font-display); font-size: clamp(1.7rem, 2.6vw, 2.1rem); color: var(--navy); margin-bottom: 14px; }
.service-card p:not(.service-kicker) { color: var(--muted); }
.service-body .text-link { margin-top: auto; align-self: flex-start; }
.service-card--aesthetics { background: linear-gradient(180deg, #eef6fc, var(--bg)); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.pillars li { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 20px 12px; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); }
.pillars li + li { border-left: 1px solid var(--line); }
.pillars svg { width: 30px; height: 30px; fill: none; stroke: var(--royal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
@media (max-width: 899px) { .service-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillars li:nth-child(3) { border-left: 0; }
  .pillars li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ---------- Skin Assessment Studio ---------- */
.studio { position: relative; background: radial-gradient(1200px 600px at 85% -10%, rgba(29, 95, 208, 0.45), transparent 60%), linear-gradient(180deg, var(--navy) 0%, #0a1b3d 100%); color: var(--white); overflow: hidden; }
.studio-steps { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: -16px 0 36px; padding: 0; list-style: none; color: rgba(220, 236, 248, 0.85); font-weight: 600; font-size: 0.92rem; }
.studio-steps li { display: flex; align-items: center; gap: 10px; }
.studio-steps span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(143, 214, 245, 0.55); color: var(--ice); font-size: 0.8rem; }
.studio-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 32px); align-items: start; }
.studio-panel { border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.035); padding: clamp(18px, 2.4vw, 28px); }
.camera-stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #050f24; border: 1px solid var(--line-dark); }
.camera-stage video, .camera-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.camera-stage video { opacity: 0; transition: opacity 0.4s; }
.camera-stage[data-state="live"] video { opacity: 1; }
.camera-guide { position: absolute; left: 50%; top: 50%; width: 42%; aspect-ratio: 3 / 4; transform: translate(-50%, -52%); border: 1.5px dashed rgba(220, 236, 248, 0.38); border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity 0.4s, border-color 0.4s; }
.camera-stage[data-state="live"] .camera-guide { opacity: 1; }
.camera-stage[data-framed="true"] .camera-guide { border-color: rgba(143, 214, 245, 0.9); border-style: solid; }
.camera-placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: rgba(220, 236, 248, 0.55); font-weight: 600; }
.camera-placeholder svg { width: 54px; height: 54px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.camera-placeholder p { margin: 0; }
.camera-stage[data-state="live"] .camera-placeholder { display: none; }
.camera-loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; background: rgba(5, 15, 36, 0.78); font-weight: 600; color: var(--sky); text-align: center; padding: 16px; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(143, 214, 245, 0.25); border-top-color: var(--ice); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.camera-badge { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(5, 15, 36, 0.75); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; color: var(--white); }
.camera-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #ff5a5a; box-shadow: 0 0 0 3px rgba(255, 90, 90, 0.25); }
.privacy-note { margin-top: 20px; }
.privacy-note h3 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ice); margin-bottom: 10px; }
.privacy-note ul { margin: 0 0 16px; padding: 0 0 0 18px; color: rgba(220, 236, 248, 0.86); font-size: 0.93rem; }
.privacy-note li + li { margin-top: 6px; }
.privacy-note strong { color: var(--white); }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(143, 214, 245, 0.08); border: 1px solid rgba(143, 214, 245, 0.25); cursor: pointer; font-size: 0.93rem; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ice); flex: none; }
.camera-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.camera-error { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(255, 196, 120, 0.1); border: 1px solid rgba(255, 196, 120, 0.4); color: #ffe2b8; font-size: 0.93rem; }

/* Studio v2 — one-tap start, on-video coaching, phone-first */
.studio-steps a { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-height: 44px; }
.studio-steps a:hover { color: var(--white); }
.studio-film { margin: 0 0 36px; border-radius: 22px; overflow: hidden; background: #050d1a; border: 1px solid rgba(143, 214, 245, 0.28); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.studio-film-video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #050d1a; }
.studio-film figcaption { padding: 14px 20px 16px; color: var(--ice, #dcecf8); font-weight: 600; font-size: 0.95rem; }
.studio-film figcaption span { display: block; margin-top: 4px; font-weight: 400; font-size: 0.82rem; color: rgba(220, 236, 248, 0.72); }
.camera-stage[data-facing="environment"] video, .camera-stage[data-facing="environment"] canvas { transform: none; }
.camera-launch {
  position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 20px;
  width: 100%; border: 0; cursor: pointer; text-align: center; color: var(--white); font: inherit;
  background: radial-gradient(60% 55% at 50% 45%, rgba(29, 95, 208, 0.35), rgba(5, 15, 36, 0) 70%), #050f24;
}
.camera-launch:disabled { cursor: progress; }
.camera-launch-ring {
  display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%;
  background: var(--ice); color: var(--navy); box-shadow: 0 0 0 10px rgba(143, 214, 245, 0.15), 0 0 0 22px rgba(143, 214, 245, 0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.camera-launch-ring svg { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; }
.camera-launch:hover .camera-launch-ring { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(143, 214, 245, 0.2), 0 0 0 26px rgba(143, 214, 245, 0.08); }
.camera-launch:focus-visible { outline-offset: -6px; }
.camera-launch-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 3vw, 1.75rem); line-height: 1.15; margin-top: 10px; }
.camera-launch-sub { font-size: 0.86rem; font-weight: 600; color: rgba(220, 236, 248, 0.75); }
@media (prefers-reduced-motion: no-preference) {
  .camera-launch-ring { animation: launch-pulse 2.8s var(--ease) infinite; }
  @keyframes launch-pulse { 0%, 100% { box-shadow: 0 0 0 10px rgba(143, 214, 245, 0.15), 0 0 0 22px rgba(143, 214, 245, 0.06); } 50% { box-shadow: 0 0 0 14px rgba(143, 214, 245, 0.1), 0 0 0 30px rgba(143, 214, 245, 0.03); } }
}
.camera-loading { z-index: 3; }
.camera-badge { z-index: 3; }
.stage-controls { position: absolute; top: 10px; right: 10px; z-index: 3; display: flex; gap: 8px; }
.stage-btn {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(220, 236, 248, 0.35); background: rgba(5, 15, 36, 0.72); color: var(--white);
}
.stage-btn:hover { background: rgba(5, 15, 36, 0.92); }
.stage-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.camera-tip {
  position: absolute; left: 50%; bottom: 14px; z-index: 3; transform: translateX(-50%); width: max-content; max-width: calc(100% - 28px);
  margin: 0; padding: 10px 16px; border-radius: 999px; text-align: center; font-weight: 700; font-size: 0.92rem; line-height: 1.3;
  background: rgba(5, 15, 36, 0.82); color: var(--white); border: 1px solid rgba(220, 236, 248, 0.25);
  transition: background-color 0.3s, border-color 0.3s;
}
.camera-tip[data-tone="good"] { background: rgba(143, 214, 245, 0.95); color: var(--navy); border-color: var(--ice); }
.camera-tip[data-tone="warn"] { border-color: rgba(217, 187, 120, 0.8); }
.camera-tip[data-tone="warn"]::before { content: "! "; color: var(--gold-2); }
.camera-tip[data-tone="good"]::before { content: "✓ "; }
.btn-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.camera-actions .btn { flex: 1 1 auto; }
.camera-privacy { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; font-size: 0.86rem; color: rgba(220, 236, 248, 0.8); }
.camera-privacy svg { width: 18px; height: 18px; flex: none; margin-top: 2px; fill: none; stroke: var(--ice); stroke-width: 2; }
.camera-privacy strong { color: var(--white); }
.camera-error p { margin: 0; }
.camera-help { margin: 10px 0 0; padding-left: 18px; font-size: 0.88rem; }
.camera-help li + li { margin-top: 4px; }
.readings-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); margin: 26px 0 12px; }
.studio-camera .capabilities { margin-bottom: 0; }
.chip-count { margin: -4px 0 16px; font-size: 0.82rem; font-weight: 700; color: var(--ice); }
.chips span { min-height: 44px; }
.summary-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 8px; }
.studio-camera { scroll-margin-top: calc(var(--header-h) + 8px); }
@media (max-width: 600px) {
  .studio-panel { padding: 14px; border-radius: var(--radius); }
  .camera-stage { aspect-ratio: 3 / 4; border-radius: 14px; }
  .camera-guide { width: 62%; }
  .camera-actions { position: sticky; bottom: max(10px, env(safe-area-inset-bottom, 0px)); z-index: 4; }
  .camera-actions .btn { flex: 1 1 100%; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6); }
  .btn--block-mobile { width: 100%; }
  .studio-steps { gap: 4px 18px; margin-bottom: 24px; }
  .readings { grid-template-columns: 1fr 1fr; }
  .camera-tip { font-size: 0.86rem; bottom: 12px; }
}

.studio-results h3 { font-family: var(--font-display); font-size: 1.7rem; color: var(--white); margin-bottom: 6px; }
.results-explain { color: rgba(220, 236, 248, 0.72); font-size: 0.88rem; }
.readings { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 16px; }
.reading { padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark); }
.reading dt { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(220, 236, 248, 0.6); margin-bottom: 4px; }
.reading dd { margin: 0; font-weight: 600; font-size: 0.95rem; line-height: 1.35; }
.reading[data-tone="good"] { border-color: rgba(143, 214, 245, 0.55); }
.reading[data-tone="good"] dd::before { content: "✓ "; color: var(--ice); }
.reading[data-tone="warn"] { border-color: rgba(217, 187, 120, 0.6); }
.reading[data-tone="warn"] dd::before { content: "! "; color: var(--gold-2); font-weight: 800; }
.capabilities { margin-bottom: 22px; border-radius: var(--radius-sm); border: 1px solid var(--line-dark); }
.capabilities summary { cursor: pointer; padding: 12px 16px; font-weight: 700; font-size: 0.9rem; color: var(--sky); }
.capabilities > div { padding: 0 16px 6px; font-size: 0.9rem; color: rgba(220, 236, 248, 0.85); }
.self-check fieldset { border: 0; margin: 0 0 16px; padding: 20px 0 0; border-top: 1px solid var(--line-dark); min-width: 0; }
.self-check legend { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--white); padding: 0; margin-bottom: 4px; float: left; width: 100%; }
.fieldset-help { clear: both; font-size: 0.88rem; color: rgba(220, 236, 248, 0.72); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(220, 236, 248, 0.3); font-size: 0.86rem; font-weight: 600; color: rgba(220, 236, 248, 0.9); transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.chips input:checked + span { background: var(--ice); border-color: var(--ice); color: var(--navy); }
.chips input:checked + span::before { content: "✓"; margin-right: 6px; }
.chips input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.field { display: grid; gap: 8px; font-size: 0.9rem; font-weight: 600; color: rgba(220, 236, 248, 0.9); }
.field small { font-weight: 500; color: rgba(220, 236, 248, 0.6); }
.field textarea { width: 100%; resize: vertical; min-height: 84px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid rgba(220, 236, 248, 0.3); background: rgba(5, 15, 36, 0.5); color: var(--white); font: inherit; font-weight: 500; }
.field textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; }
.summary { margin-top: 22px; padding: 20px; border-radius: var(--radius); background: rgba(143, 214, 245, 0.08); border: 1px solid rgba(143, 214, 245, 0.35); }
.summary:focus { outline: none; }
.summary h4 { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); margin-bottom: 4px; }
.summary-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-2); }
.summary ul { margin: 0 0 12px; padding-left: 20px; }
.summary-notes { font-style: italic; color: rgba(220, 236, 248, 0.85); white-space: pre-wrap; overflow-wrap: anywhere; }
.medical-notice { margin: 28px 0 0; padding: 16px 20px; border-left: 3px solid var(--gold); background: rgba(199, 164, 93, 0.08); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 0.9rem; color: rgba(255, 244, 228, 0.9); }
.medical-notice strong { color: var(--gold-pale); }
.consult-cta { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 40px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); background: linear-gradient(120deg, rgba(20, 70, 168, 0.55), rgba(16, 43, 80, 0.6)); border: 1px solid rgba(143, 214, 245, 0.3); }
.consult-cta h3 { font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--white); margin-bottom: 10px; }
.consult-cta p { color: rgba(220, 236, 248, 0.86); }
.share-toggle { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: rgba(220, 236, 248, 0.9); cursor: pointer; }
.share-toggle input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ice); flex: none; }
.share-preview { margin-top: 12px; }
.share-preview-label { font-size: 0.78rem; color: rgba(220, 236, 248, 0.66); margin-bottom: 6px !important; }
.share-preview blockquote { margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(5, 15, 36, 0.5); font-size: 0.88rem; color: var(--sky); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 180px; overflow: auto; }
@media (max-width: 960px) {
  .studio-grid { grid-template-columns: 1fr; }
  .consult-cta { grid-template-columns: 1fr; }
  .consult-cta .btn { width: 100%; }
}


/* ---------- Next step ---------- */
.next-step { background: var(--bg); }
.action-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.action-grid > li { grid-column: span 2; display: flex; }
.action-grid > li:nth-child(n + 4) { grid-column: span 3; }
.action-card {
  display: flex; flex-direction: column; gap: 6px; width: 100%; min-height: 168px; padding: 26px 26px 22px;
  border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--text);
  box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.action-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9d6e8; }
.action-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.action-value { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--navy); line-height: 1.2; overflow-wrap: anywhere; }
.action-value--email { font-size: 1.18rem; }
.action-hint { margin-top: auto; padding-top: 12px; font-weight: 700; font-size: 0.88rem; color: var(--royal); }
.action-card--primary { background: var(--navy); border-color: var(--navy); color: var(--white); }
.action-card--primary .action-value { color: var(--white); }
.action-card--primary .action-label { color: var(--gold-2); }
.action-card--primary .action-hint { color: var(--ice); }
@media (max-width: 960px) { .action-grid { grid-template-columns: 1fr 1fr; } .action-grid > li, .action-grid > li:nth-child(n + 4) { grid-column: span 1; } .action-grid > li:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .action-grid { grid-template-columns: 1fr; } .action-card { min-height: 0; } }

/* ---------- Event ---------- */
.event { background: linear-gradient(180deg, var(--deep) 0%, var(--navy) 100%); color: var(--white); }
.event-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.event-summary .section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 28px; }
.event-facts { margin: 0 0 32px; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.event-facts > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.event-facts dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-2); padding-top: 4px; }
.event-facts dd { margin: 0; font-size: 1.1rem; font-weight: 600; }
.tz-row { display: flex; align-items: baseline; gap: 12px; }
.tz-row + .tz-row { margin-top: 4px; }
.tz-tag { display: inline-block; min-width: 54px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(220, 236, 248, 0.6); }
.tz-note { display: block; margin-top: 8px; font-size: 0.84rem; font-weight: 500; color: rgba(220, 236, 248, 0.72); }
.event-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.venue-cards { display: grid; gap: 18px; }
.venue-card { border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); }
.venue-card--launch { background: var(--white); color: var(--text); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55); }
.venue-card--uk { border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.03); }
.venue-kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.venue-card--uk .venue-kicker { color: rgba(220, 236, 248, 0.6); }
.venue-card h3 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 14px; color: var(--navy); }
.venue-card--uk h3 { color: var(--white); font-size: 1.5rem; }
.venue-card address { font-size: 1.04rem; line-height: 1.7; }
.venue-card--uk address { color: rgba(220, 236, 248, 0.86); }
.venue-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.copy-status { min-height: 1.4em; margin: 10px 0 0; font-size: 0.86rem; font-weight: 600; color: var(--royal); }
.venue-fineprint { margin: 0; font-size: 0.8rem; color: var(--muted); }
@media (max-width: 960px) { .event-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .event-facts > div { grid-template-columns: 1fr; gap: 6px; } .venue-actions .btn, .event-actions .btn { flex: 1 1 100%; } }

/* ---------- Contact ---------- */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-list { margin: 0; border-top: 1px solid var(--line); }
.contact-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); padding-top: 3px; }
.contact-list dd { margin: 0; font-weight: 500; }
.contact-list a { color: var(--navy); font-weight: 700; text-decoration-color: rgba(20, 70, 168, 0.3); text-underline-offset: 4px; }
.contact-list a:hover { text-decoration-color: currentColor; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .contact-list > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(220, 236, 248, 0.8); padding: 72px 0 0; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 48px; }
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 16px; box-shadow: 0 0 0 1.5px rgba(217, 187, 120, 0.6); }
.footer-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--white); line-height: 1.25; }
.footer-event { color: var(--gold-pale); }
.footer-head { font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 14px; }
.footer-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer-links a { color: var(--white); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--line-dark); font-size: 0.82rem; }
.footer-base p { margin: 0; }
.to-top { color: var(--sky); text-decoration: none; font-weight: 700; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll (content visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@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; }
  .js .reveal { opacity: 1; transform: none; }
  .spinner { animation: spin 1.6s linear infinite !important; animation-duration: 1.6s !important; animation-iteration-count: infinite !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .slider-controls, .studio, .hero-actions, .menu-toggle { display: none !important; }
  .hero, .countdown-band, .event, .site-footer { background: #fff !important; color: #000 !important; }
}

.studio-results .self-check fieldset { border-top: 0; padding-top: 0; }

/* Close-up review */
.closeup { margin-top: 18px; padding: 18px; border-radius: var(--radius); border: 1px solid rgba(217, 187, 120, 0.45); background: rgba(5, 15, 36, 0.55); }
.closeup:focus { outline: none; }
.closeup-head h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); margin-bottom: 6px; }
.closeup-head p { font-size: 0.88rem; color: rgba(220, 236, 248, 0.8); }
.closeup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.closeup-grid figure { margin: 0; }
.closeup-grid canvas { display: block; width: 100%; height: auto; border-radius: 10px; background: #050f24; }
.closeup-grid figcaption { margin-top: 6px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-2); }
.closeup-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 16px; }
.closeup-retry { margin-top: 12px; min-height: 44px; }

/* ---------- Full-screen face scan ---------- */
.scan-ring { position: absolute; left: 50%; top: 50%; width: 42%; height: auto; aspect-ratio: 3 / 4; transform: translate(-50%, -52%); z-index: 1; pointer-events: none; overflow: visible; opacity: 0; transition: opacity 0.4s; }
.camera-stage[data-state="live"] .scan-ring { opacity: 1; }
.scan-ring ellipse, .scan-ring path { fill: none; stroke-width: 7; vector-effect: non-scaling-stroke; }
.scan-ring .ring-track { stroke: rgba(255, 255, 255, 0.85); stroke-dasharray: 2 0; }
.scan-ring .ring-fill { stroke: #2f8cff; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 0.2s linear; filter: drop-shadow(0 0 6px rgba(47, 140, 255, 0.8)); }
.camera-stage[data-scan="done"] .ring-track { stroke: #2f8cff; }
.camera-stage[data-scan="done"] .scan-ring { filter: drop-shadow(0 0 18px rgba(47, 140, 255, 0.75)); }
.scan-done-badge { position: absolute; left: 50%; top: 50%; z-index: 3; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #2f8cff; color: #fff; transform: translate(-50%, -50%) scale(0.4); opacity: 0; pointer-events: none; box-shadow: 0 0 0 10px rgba(47, 140, 255, 0.25); transition: transform 0.45s var(--ease), opacity 0.3s; }
.scan-done-badge svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.camera-stage[data-scan="done"] .scan-done-badge { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.camera-stage[data-scan="done"] canvas { opacity: 0.35; }
.scan-title { position: absolute; left: 0; right: 0; top: 0; z-index: 2; margin: 0; padding: calc(16px + env(safe-area-inset-top, 0px)) 72px 14px; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: #fff; background: linear-gradient(180deg, rgba(5, 15, 36, 0.85), rgba(5, 15, 36, 0)); pointer-events: none; }
.scan-actions { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 16px max(16px, env(safe-area-inset-left, 0px)) calc(18px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(0deg, rgba(5, 15, 36, 0.92), rgba(5, 15, 36, 0)); }
.scan-actions .btn { flex: 1 1 200px; max-width: 320px; }
.camera-stage:not(.is-full) .scan-actions { position: absolute; }

/* The standalone view */
.camera-stage.is-full { position: fixed; inset: 0; z-index: 200; width: 100vw; height: 100vh; height: 100dvh; max-width: none; aspect-ratio: auto; border: 0; border-radius: 0; background: #020a1a; }
.camera-stage.is-full .scan-ring { width: auto; height: min(62vh, 120vw); }
.camera-stage.is-full .stage-controls { top: calc(10px + env(safe-area-inset-top, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); }
.camera-stage.is-full .camera-badge { top: auto; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); }
.camera-stage.is-full .camera-tip { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); font-size: 1rem; padding: 12px 20px; }
.camera-stage.is-full[data-scan="done"] .camera-tip { display: none; } /* the check badge, ticked zones and action buttons say it; screen readers get the status line */
.camera-stage.is-full[data-scan="done"] .camera-badge { display: none; }
body.scan-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .scan-ring .ring-fill, .scan-done-badge { transition: none; } }
@media (max-width: 600px) { .camera-stage:not(.is-full) .scan-ring { width: 62%; } }

@media (min-width: 1024px) and (max-width: 1180px) { .nav { gap: 18px; } .nav a { font-size: 0.8rem; letter-spacing: 0.03em; } }

.scan-zones { display: none; }
.camera-stage.is-full .scan-zones { position: absolute; z-index: 2; left: 0; right: 0; top: calc(58px + env(safe-area-inset-top, 0px)); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0 12px; list-style: none; pointer-events: none; }
.scan-zones li { padding: 5px 11px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.7); background: rgba(2, 10, 26, 0.5); border: 1px solid rgba(255, 255, 255, 0.25); transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.scan-zones li[data-state="active"] { color: #fff; border-color: #2f8cff; }
.scan-zones li[data-state="done"] { color: #fff; background: #2f8cff; border-color: #2f8cff; }
.scan-zones li[data-state="done"]::before { content: "✓ "; }
