/* =====================================================================
   DURGA PUBLIC SCHOOL, PILANI — PREMIUM DESIGN SYSTEM
   Brand palette drawn from the official crest:
   Wine (Devotion) · Saffron (Duty) · Green (Perfection) · Gold · Sky
   Fonts: Playfair Display (display) · Plus Jakarta Sans (UI) · JetBrains Mono (labels)
   ===================================================================== */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Brand core */
  --wine-950: #2E0815;
  --wine-900: #47102A;
  --wine-800: #5C1636;
  --wine-700: #7D1D3F;   /* Primary brand wine (crest band) */
  --wine-600: #96274E;
  --wine-500: #B03A5F;

  --saffron-700: #B4410F;
  --saffron-600: #D9541A;
  --saffron-500: #E8641B;  /* Duty band */
  --saffron-400: #F58A33;

  --green-800: #0F5427;
  --green-700: #176B33;
  --green-600: #1E8A3C;   /* Perfection band */
  --green-500: #2FA84F;

  --gold-600: #A87C1F;
  --gold-500: #C9962E;
  --gold-400: #DFAF45;
  --gold-300: #EBC877;
  --gold-200: #F5E3B3;

  --sky-400: #82C3DC;
  --sky-300: #A9D6E5;     /* Crest halo blue */
  --sky-200: #D3ECF4;

  /* Surfaces */
  --cream: #FBF7EF;
  --cream-200: #F4ECDC;
  --sand-300: #E9DCC4;
  --white: #FFFFFF;

  /* Ink (warm, wine-tinted neutrals) */
  --ink-900: #2A111A;
  --ink-700: #46303A;
  --ink-500: #6E5560;
  --ink-400: #866A73;
  --ink-300: #A48D95;

  /* Typefaces */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-ui: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-label: 'JetBrains Mono', 'Consolas', monospace;

  /* Metrics */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --arch: 50% 50% 12px 12px / 38% 38% 12px 12px;
  --shadow-soft: 0 12px 36px -14px rgba(46, 8, 21, 0.12);
  --shadow-lift: 0 28px 60px -24px rgba(46, 8, 21, 0.24);
  --line-warm: 1px solid rgba(93, 30, 51, 0.09);

  --container: 100%;
  --page-margin: 1.5cm;
  --topbar-h: 40px;
  --header-h: 72px;

  /* Liquid Glassmorphism & Wine Tint Tokens */
  --glass-surface: linear-gradient(165deg, rgba(252, 247, 237, 0.90) 0%, rgba(246, 238, 224, 0.82) 50%, rgba(248, 234, 239, 0.76) 100%);
  --glass-surface-hover: linear-gradient(165deg, rgba(254, 249, 240, 0.94) 0%, rgba(248, 240, 228, 0.88) 50%, rgba(249, 236, 241, 0.82) 100%);
  --glass-nav: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(254, 248, 251, 0.44) 45%, rgba(125, 29, 63, 0.08) 100%);
  --glass-nav-scrolled: linear-gradient(135deg, rgba(255, 255, 255, 0.78) 0%, rgba(254, 247, 250, 0.64) 50%, rgba(125, 29, 63, 0.11) 100%);
  --glass-border: 1px solid rgba(217, 184, 138, 0.38);
  --glass-border-wine: 1px solid rgba(125, 29, 63, 0.16);
  --glass-blur: blur(22px) saturate(180%);
  --glass-blur-sm: blur(14px) saturate(160%);
  --glass-shadow: 0 16px 38px -10px rgba(46, 8, 21, 0.07), inset 0 1px 1.5px 0 rgba(255, 248, 230, 0.85), inset 0 0 20px rgba(255, 238, 185, 0.14);
  --glass-shadow-lift: 0 26px 55px -12px rgba(125, 29, 63, 0.16), inset 0 1px 1.5px 0 rgba(255, 248, 230, 0.95);
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; overflow-x: clip; max-width: 100%; scroll-padding-top: var(--header-h); }
@media (min-width: 769px) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-900);
  background-color: var(--cream);
  background-image:
    radial-gradient(1100px 550px at 15% 8%, rgba(125, 29, 63, 0.05), transparent 60%),
    radial-gradient(1200px 600px at 85% 28%, rgba(201, 150, 46, 0.06), transparent 55%),
    radial-gradient(950px 480px at 20% 60%, rgba(125, 29, 63, 0.04), transparent 60%),
    radial-gradient(1100px 550px at 80% 88%, rgba(201, 150, 46, 0.05), transparent 55%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--wine-700); text-decoration: none; }
ul[role="list"], .no-list { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink-900); line-height: 1.12; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.7vw, 2.9rem); letter-spacing: -0.015em; }
h3 { font-size: 1.32rem; }
h4 { font-size: 1.06rem; }
p { color: var(--ink-700); }

::selection { background: var(--wine-700); color: #fff; }

.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding-inline: 1.5cm;
}
@media (max-width: 768px) {
  .container {
    padding-inline: 18px;
  }
}
.container-narrow { max-width: 1100px; margin: 0 auto; padding-inline: 1.5cm; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 3000;
  background: var(--wine-900); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--saffron-500); outline-offset: 2px; border-radius: 4px; }

/* Scroll progress bar (injected by JS) */
#scrollProgressBar {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--saffron-500), var(--gold-400), var(--wine-600));
  z-index: 2500;
}

/* ---------- 3. BUTTONS & PILLS (Liquid Glassmorphism with Wine Tint) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-ui); font-weight: 700; font-size: 0.9rem; letter-spacing: .01em;
  padding: 14px 30px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer;
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  line-height: 1.2; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Liquid Ruby-Wine Glass Button */
.btn-wine {
  background: linear-gradient(135deg, rgba(145, 35, 75, 0.92) 0%, rgba(105, 22, 52, 0.95) 50%, rgba(65, 12, 32, 0.98) 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow:
    0 12px 28px -8px rgba(95, 18, 48, 0.48),
    inset 0 1px 1px rgba(255, 255, 255, 0.55),
    inset 0 -1px 2px rgba(46, 8, 21, 0.3);
}
.btn-wine:hover {
  background: linear-gradient(135deg, rgba(165, 42, 85, 0.96) 0%, rgba(125, 29, 63, 0.98) 100%);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow:
    0 18px 36px -8px rgba(95, 18, 48, 0.58),
    inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

/* Liquid Saffron-Wine Glass Button */
.btn-saffron {
  background: linear-gradient(135deg, rgba(232, 100, 27, 0.92) 0%, rgba(195, 65, 18, 0.96) 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 12px 28px -8px rgba(217, 84, 26, 0.48),
    inset 0 1px 1px rgba(255, 255, 255, 0.55),
    inset 0 -1px 2px rgba(140, 40, 10, 0.25);
}
.btn-saffron:hover {
  background: linear-gradient(135deg, rgba(245, 115, 42, 0.96) 0%, rgba(215, 80, 25, 0.98) 100%);
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow:
    0 18px 36px -8px rgba(217, 84, 26, 0.58),
    inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

/* Liquid Frosted Glass with Wine Tint */
.btn-outline-wine {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(253, 246, 249, 0.45) 50%, rgba(125, 29, 63, 0.08) 100%);
  color: var(--wine-700);
  border: 1px solid rgba(125, 29, 63, 0.28);
  box-shadow:
    0 8px 22px -6px rgba(46, 8, 21, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
}
.btn-outline-wine:hover {
  background: linear-gradient(135deg, rgba(125, 29, 63, 0.14) 0%, rgba(71, 16, 42, 0.18) 100%);
  color: var(--wine-900);
  border-color: var(--wine-700);
  box-shadow:
    0 14px 28px -6px rgba(125, 29, 63, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.95);
}

/* Liquid Crystalline Glass Button */
.btn-ghost-light {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.14) 100%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 14px 32px -8px rgba(24, 4, 14, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.75),
    inset 0 -1px 1px rgba(0, 0, 0, 0.2);
}
.btn-ghost-light:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.24) 100%);
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow:
    0 18px 38px -8px rgba(24, 4, 14, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

/* Liquid Gold Glass Button */
.btn-gold {
  background: linear-gradient(135deg, rgba(235, 200, 119, 0.94) 0%, rgba(201, 150, 46, 0.96) 100%);
  color: var(--wine-950);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 12px 28px -8px rgba(201, 150, 46, 0.48),
    inset 0 1px 1px rgba(255, 255, 255, 0.75),
    inset 0 -1px 2px rgba(120, 80, 10, 0.25);
}
.btn-gold:hover {
  background: linear-gradient(135deg, rgba(245, 215, 140, 0.98) 0%, rgba(215, 165, 55, 0.98) 100%);
  box-shadow:
    0 18px 36px -8px rgba(201, 150, 46, 0.58),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

/* ---------- 4. TOP NOTICE BAR ---------- */
.dps-topbar {
  background: var(--wine-950);
  color: rgba(255,255,255,.92); font-size: .82rem;
  position: relative; z-index: 1200;
}
.dps-topbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--saffron-500), var(--gold-400), var(--green-600));
}
.dps-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--topbar-h); flex-wrap: wrap; padding-block: 6px; }
.topbar-note { display: flex; align-items: center; gap: 10px; }
.topbar-chip {
  font-family: var(--font-label); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: var(--saffron-500); color: #fff; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.dps-topbar-links { display: flex; gap: 22px; list-style: none; flex-wrap: wrap; }
.dps-topbar-links a { color: rgba(255,255,255,.85); font-weight: 600; }
.dps-topbar-links a:hover { color: var(--gold-300); }

/* ---------- 5. HEADER / NAVIGATION (Fully Transparent Liquid Glass with Wine Tint) ---------- */
.dps-header {
  position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1100;
  height: var(--header-h);
  background: var(--glass-nav);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(125, 29, 63, 0.12);
  box-shadow:
    0 12px 36px -12px rgba(46, 8, 21, 0.08),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 1px 0 rgba(125, 29, 63, 0.06);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

@media (min-width: 769px) {
  body {
    padding-top: var(--header-h);
  }
}

.dps-header.is-scrolled {
  background: var(--glass-nav-scrolled);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  backdrop-filter: blur(28px) saturate(200%);
  border-bottom: 1px solid rgba(125, 29, 63, 0.18);
  box-shadow:
    0 16px 42px -12px rgba(46, 8, 21, 0.12),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 1px 0 rgba(125, 29, 63, 0.09);
}

.dps-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: var(--header-h); }

.dps-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.dps-brand img {
  width: 44px; height: 44px; object-fit: cover; border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85), 0 6px 18px -4px rgba(125, 29, 63, 0.45);
  flex-shrink: 0;
}
.dps-brand-text { display: flex; flex-direction: column; line-height: 1.15; flex-shrink: 0; }
.dps-brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.04rem; color: var(--ink-900); white-space: nowrap; }
.dps-brand-sub { font-family: var(--font-label); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--saffron-600); white-space: nowrap; }

.dps-nav { display: flex; align-items: center; flex: 1 1 auto; justify-content: center; min-width: 0; }
.dps-nav > .nav-list { display: flex; align-items: center; justify-content: center; gap: 3px; list-style: none; flex-wrap: nowrap; margin: 0; padding: 0; }
.nav-link {
  display: inline-block; padding: 7px 11px; border-radius: 999px;
  font-weight: 600; font-size: .85rem; color: var(--ink-700);
  border: 1px solid transparent;
  white-space: nowrap !important;
  line-height: 1.2;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover {
  background: rgba(125, 29, 63, 0.08);
  color: var(--wine-700);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-color: rgba(125, 29, 63, 0.14);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8), 0 4px 12px rgba(125, 29, 63, 0.06);
}
.nav-link[aria-current="page"] {
  background: linear-gradient(135deg, rgba(145, 35, 75, 0.92) 0%, rgba(105, 22, 52, 0.95) 50%, rgba(71, 16, 42, 0.98) 100%);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 20px -6px rgba(125, 29, 63, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.55);
}
.nav-link[aria-current="page"]:hover {
  background: linear-gradient(135deg, rgba(165, 42, 85, 0.95) 0%, rgba(125, 29, 63, 0.98) 100%);
  box-shadow: 0 10px 24px -6px rgba(125, 29, 63, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

.dps-header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.dps-header-actions .btn { padding: 9px 18px; font-size: .84rem; font-weight: 700; white-space: nowrap !important; line-height: 1.2; }

.mobile-nav-toggle {
  display: none; appearance: none;
  background: linear-gradient(135deg, rgba(145, 35, 75, 0.92) 0%, rgba(71, 16, 42, 0.98) 100%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px -6px rgba(125, 29, 63, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  border-radius: 999px; padding: 10px 18px; font: 700 .82rem var(--font-ui); cursor: pointer;
  transition: all 0.2s ease;
}
.mobile-nav-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -6px rgba(125, 29, 63, 0.55);
}

/* ---------- 6. PAGE HERO (inner pages — light editorial) ---------- */
.page-hero {
  position: relative;
  background: var(--cream);
  color: var(--ink-900); padding: 88px 0 76px;
  border-bottom: 1px solid var(--line-warm);
}
.page-hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-label); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--saffron-600); margin-bottom: 16px;
}
/* Home hero keeps the liquid-glass chip treatment */
.home-hero .hero-eyebrow {
  padding: 9px 18px 9px 14px; border-radius: 999px;
  color: var(--gold-300);
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.07));
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -1px 0 rgba(255,255,255,.08),
    0 12px 28px -14px rgba(24,4,14,.55);
}
.hero-eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--saffron-500); border-radius: 2px; }
.page-hero h1 { color: var(--ink-900); max-width: 18ch; margin-bottom: 16px; }
.page-hero h1 em { font-style: italic; color: var(--wine-600); }
.page-hero .hero-lead { color: var(--ink-500); }
.hero-lead { font-size: 1.08rem; max-width: 620px; }
.hero-badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(125,29,63,.05); border: 1px solid rgba(125,29,63,.18);
  color: var(--wine-800); padding: 9px 17px; border-radius: 999px; font-size: .8rem; font-weight: 600;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.hero-pill:hover { background: #fff; border-color: var(--wine-600); transform: translateY(-2px); }
.hero-pill svg { width: 14px; height: 14px; color: var(--saffron-600); flex-shrink: 0; }

/* ---------- 7. SECTION SCAFFOLDING ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-cream { background: var(--cream); }
.section-sand { background: var(--cream-200); border-block: var(--line-warm); }
.section-split { padding: 84px 0; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head-center { max-width: 720px; margin: 0 auto 62px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-label); font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--saffron-600); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--green-600); border-radius: 2px; }
.section-head-center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--green-600); border-radius: 2px; }
.sec-title { margin-bottom: 12px; }
.sec-title em { font-style: italic; color: var(--wine-600); }
.sec-lead { color: var(--ink-500); font-size: 1.02rem; }

/* ---------- 8. HERO (homepage, v2 — curved photo + liquid glass) ---------- */
.home-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 560px at 100% -20%, rgba(223,175,69,.2), transparent 62%),
    radial-gradient(1000px 500px at -10% 120%, rgba(217, 84, 26, .28), transparent 55%),
    linear-gradient(150deg, var(--wine-950), var(--wine-900) 55%, var(--wine-800));
  color: #fff; padding: 88px 0 72px;
}
.home-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1.4px);
  background-size: 28px 28px; pointer-events: none;
}
.home-hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 54px; align-items: center;
}
.home-hero h1 { color: #fff; margin-bottom: 20px; }
.home-hero h1 em { font-style: italic; color: var(--gold-300); }

/* --- Liquid glass primitives --- */
.btn-glass {
  background: linear-gradient(135deg, rgba(255,255,255,.4), rgba(255,255,255,.2));
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(255,255,255,.55);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.65),
    inset 0 -1px 0 rgba(255,255,255,.12),
    0 14px 32px -14px rgba(24,4,14,.55);
}
.btn-glass:hover { background: linear-gradient(135deg, rgba(255,255,255,.52), rgba(255,255,255,.3)); }

.btn-glass-strong {
  background: linear-gradient(135deg, rgba(234,110,35,.96), rgba(219,86,28,.94));
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(255,255,255,.6);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.6),
    inset 0 -2px 6px rgba(120,32,4,.35),
    0 16px 34px -12px rgba(217,84,26,.6);
}
.btn-glass-strong:hover { background: linear-gradient(135deg, rgba(247,141,56,.98), rgba(234,104,30,.96)); }

.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Glass trust pills */
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-trust-item {
  display: flex; flex-direction: column; justify-content: center;
  padding: 12px 18px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.07));
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.32);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -1px 0 rgba(255,255,255,.08),
    0 18px 44px -18px rgba(24,4,14,.6);
}
.hero-trust-item strong {
  font-family: var(--font-display); font-size: 1.3rem; color: var(--gold-300); line-height: 1.05;
}
.hero-trust-item span {
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.72); font-weight: 600;
}

/* Curved-bottom photo showcase */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-curve-frame {
  position: relative; width: min(470px, 100%); margin: 0;
  border-radius: 28px 28px 50% 50% / 28px 28px 13% 13%;
  overflow: hidden;
  background: var(--wine-900);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    0 30px 70px -24px rgba(24,4,14,.75),
    0 0 0 8px rgba(255,255,255,.06);
}
.hero-curve-frame img { width: 100%; height: 540px; object-fit: cover; object-position: center top; }
.hero-curve-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.12), transparent 18%, transparent 70%, rgba(24,4,14,.42));
}
.hero-photo-chip {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 9px;
  padding: 9px 18px; border-radius: 999px; white-space: nowrap;
  font-size: .78rem; font-weight: 700; color: #fff;
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  background: linear-gradient(135deg, rgba(255,255,255,.2), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 12px 28px -12px rgba(24,4,14,.6);
  z-index: 2;
}
.hero-photo-chip svg { width: 14px; height: 14px; color: var(--gold-300); flex-shrink: 0; }

/* Floating glass cards on photo */
.glass-card {
  position: absolute; z-index: 3;
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.07));
  border: 1px solid rgba(255,255,255,.36);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -1px 0 rgba(255,255,255,.08),
    0 18px 44px -18px rgba(24,4,14,.62);
}
.hero-float-card {
  left: -20px; bottom: 96px;
  border-radius: 18px; padding: 13px 17px;
  display: flex; align-items: center; gap: 12px;
}
.hero-float-card .hf-icon {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, rgba(46,168,79,.85), rgba(15,84,39,.85));
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
}
.hero-float-card .hf-icon svg { width: 20px; height: 20px; }
.hero-float-card strong { display: block; font-size: .86rem; color: #fff; }
.hero-float-card span { font-size: .74rem; color: rgba(255,255,255,.75); }

.hero-rank-card {
  right: -14px; top: 44px; border-radius: 18px; padding: 14px 18px;
}
.hero-rank-card strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--gold-300); }
.hero-rank-card span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.75); font-weight: 600; }

/* --- Parallax float animation (hero photo + glass cards) --- */
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-curve-frame { animation: heroFloat 7s ease-in-out infinite; }
.hero-float-card { animation: heroFloat 5.5s ease-in-out infinite; animation-delay: .6s; }
.hero-rank-card { animation: heroFloat 8s ease-in-out infinite; animation-delay: 1.1s; }
@media (prefers-reduced-motion: reduce) {
  .hero-curve-frame, .hero-float-card, .hero-rank-card { animation: none; }
  .hero-pill:hover { transform: none; }
}

/* ---------- 9. STAT BAND (Liquid Translucent Ribbon) ---------- */
.stat-band {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72) 0%, rgba(254, 248, 250, 0.58) 50%, rgba(125, 29, 63, 0.06) 100%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border-block: 1px solid rgba(125, 29, 63, 0.12);
  box-shadow: 0 14px 34px -10px rgba(46, 8, 21, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(125, 29, 63, 0.06);
}
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-cell { padding: 46px 18px; text-align: center; position: relative; }
.stat-cell + .stat-cell::before {
  content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(125, 29, 63, 0.18), transparent);
}
.stat-num {
  font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; line-height: 1;
  display: block; margin-bottom: 6px; background: linear-gradient(120deg, var(--wine-700), var(--saffron-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-400); }

/* ---------- 10. CARD SYSTEMS (Liquid Glassmorphism with Wine Tint) ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

.card {
  background: var(--glass-surface);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  transition: transform .28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .28s ease, border-color .28s ease;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(125, 29, 63, 0.28);
  box-shadow: var(--glass-shadow-lift);
}
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-200); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-label); font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: linear-gradient(135deg, rgba(145, 35, 75, 0.92) 0%, rgba(71, 16, 42, 0.98) 100%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff; padding: 5px 12px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(46, 8, 21, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.card-tag.tag-green { background: linear-gradient(135deg, rgba(23, 107, 51, 0.92) 0%, rgba(15, 84, 39, 0.98) 100%); }
.card-tag.tag-saffron { background: linear-gradient(135deg, rgba(232, 100, 27, 0.92) 0%, rgba(180, 65, 15, 0.98) 100%); }
.card-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.card-title { font-size: 1.28rem; }
.card-text { font-size: .93rem; color: var(--ink-500); }
.card-foot {
  margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(125, 29, 63, 0.1);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: .84rem; font-weight: 600; color: var(--ink-400);
}
.card-foot a {
  color: var(--wine-700); font-weight: 700; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 999px;
  background: rgba(125, 29, 63, 0.06);
  border: 1px solid rgba(125, 29, 63, 0.12);
  transition: all 0.2s ease;
}
.card-foot a:hover {
  background: var(--wine-700); color: #fff; border-color: var(--wine-700);
  transform: translateX(2px);
}

/* Arch card (deluxe palace arch top photo with Liquid Glass Shell) */
.arch-card {
  background: linear-gradient(165deg, rgba(252, 247, 237, 0.92) 0%, rgba(246, 238, 224, 0.84) 50%, rgba(248, 234, 239, 0.78) 100%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(217, 184, 138, 0.42) !important;
  box-shadow:
    0 16px 40px -10px rgba(46, 8, 21, 0.09),
    inset 0 1px 2px 0 rgba(255, 248, 230, 0.88),
    inset 0 0 24px rgba(255, 238, 185, 0.16) !important;
  overflow: visible;
  transition: transform .32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .32s ease, border-color .32s ease;
  display: flex;
  flex-direction: column;
}

/* Alternating Asymmetric Architectural Card Crowns */
.arch-card:nth-child(odd) {
  border-radius: 36px 16px 28px 16px;
}
.arch-card:nth-child(even) {
  border-radius: 16px 36px 16px 28px;
}

.arch-card:hover {
  transform: translateY(-8px) scale(1.012);
  border-color: rgba(125, 29, 63, 0.35);
  box-shadow: 0 26px 65px -16px rgba(125, 29, 63, 0.22);
}

/* Creative Sculptural Media Frames (Replacing repetitive regular arches) */
.arch-media {
  margin: 14px 14px 0;
  overflow: hidden;
  aspect-ratio: 4 / 4.75;
  box-shadow:
    0 12px 30px -8px rgba(46, 8, 21, 0.18),
    inset 0 0 0 1.5px rgba(201, 150, 46, 0.45);
  background: #EDE8DE;
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease;
}

/* Stage 1 (Foundational): Sweeping Organic Left Lancet Arc */
.arch-card:nth-child(1) .arch-media {
  border-radius: 135px 22px 44px 18px / 145px 26px 38px 18px;
}

/* Stage 2 (Preparatory): Mirrored Dynamic Right Lancet Arc */
.arch-card:nth-child(2) .arch-media {
  border-radius: 22px 135px 18px 44px / 26px 145px 18px 38px;
}

/* Stage 3 (Middle): Sweeping Left Arc with Sculptural Shoulders */
.arch-card:nth-child(3) .arch-media {
  border-radius: 135px 22px 44px 18px / 145px 26px 38px 18px;
}

/* Stage 4 (Senior Secondary): Mirrored Right Arc with Sculptural Apex */
.arch-card:nth-child(4) .arch-media {
  border-radius: 22px 135px 18px 44px / 26px 145px 18px 38px;
}

.arch-card:hover .arch-media {
  box-shadow:
    0 18px 40px -8px rgba(125, 29, 63, 0.28),
    inset 0 0 0 2px rgba(201, 150, 46, 0.85);
}

.arch-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1);
}

.arch-card:hover .arch-media img {
  transform: scale(1.08);
}

.arch-media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -75px 95px -40px rgba(46, 8, 21, 0.65);
  border-radius: inherit;
  pointer-events: none;
}

/* Creative Floating Glass Stage Chip (Warm Tinted Champagne Glass) */
.arch-chip {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  background: rgba(252, 246, 234, 0.95);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  color: var(--wine-900, #420b1e);
  font-family: var(--font-label, monospace);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(201, 150, 46, 0.55);
  box-shadow: 0 6px 18px rgba(46, 8, 21, 0.12), inset 0 1px 1px rgba(255, 248, 230, 0.85);
  white-space: nowrap;
  transition: all 0.28s ease;
  z-index: 2;
}

.arch-card:hover .arch-chip {
  background: rgba(255, 242, 212, 0.98);
  border-color: var(--wine-700, #7d1d3f);
  color: var(--wine-700, #7d1d3f);
  box-shadow: 0 8px 22px rgba(125, 29, 63, 0.24);
  transform: translateX(-50%) translateY(-2px);
}

.arch-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.arch-title { font-size: 1.22rem; }
.arch-text { font-size: .9rem; color: var(--ink-500); }
.arch-foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(125, 29, 63, 0.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem; font-weight: 600; color: var(--ink-400);
}
.arch-foot a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 999px;
  background: rgba(125, 29, 63, 0.06);
  border: 1px solid rgba(125, 29, 63, 0.12);
  color: var(--wine-700); font-weight: 700;
  transition: all 0.2s ease;
}
.arch-foot a:hover {
  background: var(--wine-700); color: #fff; border-color: var(--wine-700);
  transform: translateX(2px);
}

/* Wine feature card (dark) */
.card-wine {
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(223,175,69,.14), transparent 60%),
    linear-gradient(150deg, var(--wine-950), var(--wine-800));
  color: #fff; border: 1px solid rgba(223,175,69,.35); box-shadow: var(--shadow-lift);
}
.card-wine h3, .card-wine h4 { color: #fff; }
.card-wine h3 em, .card-wine h2 em { color: var(--gold-300); }
.card-wine p, .card-wine .card-text { color: rgba(255,255,255,.82); }
.card-wine .card-foot { border-top-color: rgba(255,255,255,.16); color: rgba(255,255,255,.66); }
.card-wine .card-foot a { color: var(--gold-300); }
.card-wine .list-check li::before { background: var(--gold-300); }

/* List with sugar dots */
.list-check { list-style: none; display: grid; gap: 9px; font-size: .92rem; color: var(--ink-700); }
.list-check li { padding-left: 26px; position: relative; }
.list-check li::before {
  content: ""; position: absolute; left: 2px; top: 8px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--saffron-500); box-shadow: 0 0 0 3px rgba(232,100,27,.16);
}
.list-check strong { color: var(--ink-900); }

/* Info tiles (Liquid Glassmorphism) */
.tile {
  background: var(--glass-surface);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px; box-shadow: var(--glass-shadow);
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .25s ease, border-color .25s ease;
}
.tile:hover {
  transform: translateY(-5px);
  border-color: rgba(125, 29, 63, 0.28);
  box-shadow: var(--glass-shadow-lift);
}
.tile-kicker { font-family: var(--font-label); font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green-700); display: block; margin-bottom: 8px; }
.tile h3 { font-size: 1.15rem; margin-bottom: 8px; }
.tile p { font-size: .9rem; color: var(--ink-500); }
.tile .tile-meta { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(125, 29, 63, 0.1); font-size: .88rem; color: var(--ink-900); line-height: 1.8; }

/* ---------- 11. SPLIT / NARRATIVE LAYOUTS ---------- */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-2-uneven { grid-template-columns: 1.05fr .95fr; }
.visual-arch {
  border-radius: var(--arch); overflow: hidden; width: min(480px, 100%); margin-inline: auto;
  box-shadow: 0 24px 55px -15px rgba(46, 8, 21, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.4);
  position: relative;
}
.visual-arch img { width: 100%; height: 560px; object-fit: cover; }
.visual-caption {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(254, 248, 251, 0.78) 100%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(125, 29, 63, 0.22);
  padding: 10px 22px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--wine-800);
  white-space: nowrap; box-shadow: 0 8px 24px -4px rgba(46, 8, 21, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.9);
}
.visual-stack { position: relative; }
.visual-mini {
  position: absolute; right: 0; bottom: -34px; width: 200px; aspect-ratio: 4/4.8;
  border-radius: var(--arch); overflow: hidden; border: 4px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 38px -10px rgba(46, 8, 21, 0.25);
}
.visual-mini img { width: 100%; height: 100%; object-fit: cover; }

.quote-mark { font-family: var(--font-display); font-size: 4.4rem; line-height: .6; color: var(--saffron-400); display: block; margin-bottom: 10px; }
.principal-quote { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; line-height: 1.6; color: var(--ink-700); margin-bottom: 20px; }
.signature-name { font-family: var(--font-display); font-size: 1.2rem; color: var(--wine-700); font-weight: 800; }
.signature-role { font-size: .84rem; color: var(--ink-400); }

/* ---------- 12. TIMELINE (process/steps) ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 40px; counter-reset: step; }
.step-item { display: flex; gap: 18px; align-items: flex-start; }
.step-num {
  counter-increment: step; flex-shrink: 0;
  width: 52px; height: 52px; border-radius: 50% 50% 14px 14px;
  background: linear-gradient(145deg, rgba(145, 35, 75, 0.92) 0%, rgba(46, 8, 21, 0.98) 100%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--gold-300); font-family: var(--font-display); font-size: 1.05rem; font-weight: 800;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 24px -8px rgba(46, 8, 21, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  position: relative;
}
.step-num::before { content: counter(step, decimal-leading-zero); }
.step-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step-item p { font-size: .9rem; color: var(--ink-500); }

/* ---------- 13. FAQ (Liquid Glass Accordion) ---------- */
.faq-list { display: grid; gap: 16px; max-width: 860px; margin: 0 auto; }
.faq {
  background: var(--glass-surface);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  transition: all 0.25s ease;
}
.faq:hover {
  border-color: rgba(125, 29, 63, 0.25);
  box-shadow: var(--glass-shadow-lift);
}
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; font-weight: 700; color: var(--ink-900); font-size: 1rem; font-family: var(--font-ui);
}
.faq summary::-webkit-details-marker { display: none; }
.faq-q { flex: 1; }
.faq-icon {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(125, 29, 63, 0.08); color: var(--wine-700);
  border: 1px solid rgba(125, 29, 63, 0.16);
  display: grid; place-items: center;
  font-size: 1.2rem; font-weight: 400; transition: transform .25s ease, background .25s ease, color .25s ease;
}
.faq[open] .faq-icon {
  transform: rotate(45deg);
  background: linear-gradient(135deg, rgba(145, 35, 75, 0.92) 0%, rgba(71, 16, 42, 0.98) 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 12px rgba(125, 29, 63, 0.35);
}
.faq-a { padding: 0 24px 22px 24px; color: var(--ink-500); font-size: .95rem; }
.faq-a strong { color: var(--ink-700); }

/* ---------- 14. TABLES (Liquid Glass Data Frame) ---------- */
.table-wrap {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.85) 0%, rgba(254, 248, 251, 0.7) 100%);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: var(--glass-border);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: var(--glass-shadow);
}
.psm-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
.psm-table thead th {
  background: rgba(125, 29, 63, 0.07);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--wine-800); text-align: left; padding: 14px 18px; font-weight: 700; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  border-bottom: 2px solid rgba(125, 29, 63, 0.28);
}
.psm-table tbody td { padding: 14px 18px; border-top: 1px solid rgba(125, 29, 63, 0.08); color: var(--ink-700); vertical-align: top; }
.psm-table tbody tr:nth-child(even) { background: rgba(125, 29, 63, 0.02); }
.psm-table tbody td:first-child { font-weight: 700; color: var(--ink-900); }
.table-note { font-size: .84rem; color: var(--ink-400); margin-top: 12px; }

/* ---------- 15. FORMS (Liquid Glass Stage) ---------- */
.form-stage {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.86) 0%, rgba(254, 248, 251, 0.74) 60%, rgba(125, 29, 63, 0.05) 100%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-lg);
  box-shadow:
    0 28px 65px -15px rgba(46, 8, 21, 0.12),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 1px 0 rgba(125, 29, 63, 0.08);
  padding: 44px; max-width: 760px; margin: 0 auto;
  position: relative;
}
.form-stage::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(232,100,27,.05), transparent 34%, rgba(125,29,63,.05));
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.label { font-weight: 700; font-size: .84rem; color: var(--ink-900); }
.input, .select, .textarea {
  width: 100%; font: 500 .95rem var(--font-ui); color: var(--ink-900);
  background: rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(125, 29, 63, 0.18);
  border-radius: 12px;
  padding: 13px 16px;
  box-shadow: inset 0 1px 2px rgba(46, 8, 21, 0.04);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--wine-600);
  box-shadow: 0 0 0 4px rgba(125,29,63,.14), 0 4px 14px rgba(125, 29, 63, 0.08);
  background: #fff;
}
.textarea { min-height: 130px; resize: vertical; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.consent-box {
  display: flex; gap: 13px;
  background: rgba(125, 29, 63, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px dashed rgba(125,29,63,.32);
  border-radius: var(--radius-md); padding: 16px 18px; margin-bottom: 20px;
}
.consent-box input { flex-shrink: 0; width: 19px; height: 19px; margin-top: 2px; accent-color: var(--wine-700); }
.consent-box span { font-size: .84rem; color: var(--ink-500); line-height: 1.65; }
.consent-box strong { color: var(--ink-900); }

/* ---------- 16. CTA BANNERS ---------- */
/* CTA banners — light editorial with a single tri-colour crest line */
.cta-banner {
  border-radius: var(--radius-lg); padding: 54px 56px; position: relative; overflow: hidden;
  background: #fff; border: var(--line-warm);
  color: var(--ink-900); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  box-shadow: var(--shadow-soft);
}
.cta-banner::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--wine-700), var(--saffron-500), var(--green-600));
}
.cta-banner h3 { color: var(--ink-900); font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 8px; position: relative; }
.cta-banner h3 em { font-style: italic; color: var(--wine-600); }
.cta-banner p { color: var(--ink-500); max-width: 520px; position: relative; }
.cta-banner .btn { position: relative; }
.cta-tag {
  display: inline-block; font-family: var(--font-label); font-size: .64rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--saffron-600); margin-bottom: 10px; position: relative;
}

/* ---------- 17. GALLERY ---------- */
.gal-filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.gal-filter-btn {
  appearance: none; cursor: pointer;
  border: 1.5px solid rgba(125,29,63,.3); background: #fff; color: var(--ink-700);
  font: 600 .84rem var(--font-ui); padding: 10px 20px; border-radius: 999px;
  transition: all .18s ease;
}
.gal-filter-btn:hover { border-color: var(--wine-600); color: var(--wine-700); }
.gal-filter-btn.active { background: var(--wine-700); border-color: var(--wine-700); color: #fff; box-shadow: 0 8px 20px -8px rgba(125,29,63,.6); }

.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gal-item {
  background: #fff; border: var(--line-warm); border-radius: var(--radius-md); overflow: hidden;
  cursor: pointer; box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .2s ease;
}
.gal-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.gal-item.hidden { display: none; }
.gal-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.gal-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gal-item:hover .gal-media img { transform: scale(1.06); }
.gal-chip {
  position: absolute; top: 12px; left: 12px;
  background: rgba(46,8,21,.78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  color: #fff; font-family: var(--font-label); font-size: .6rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 999px;
}
.gal-expand {
  position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--wine-800); display: grid; place-items: center;
  opacity: 0; transition: opacity .25s ease; box-shadow: var(--shadow-soft);
}
.gal-item:hover .gal-expand { opacity: 1; }
.gal-expand svg { width: 15px; height: 15px; }
.gal-body { padding: 16px 18px 18px; }
.gal-title { font-size: 1rem; margin-bottom: 4px; }
.gal-desc { font-size: .82rem; color: var(--ink-500); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Lightbox */
.lightbox-modal {
  position: fixed; inset: 0; z-index: 2000; display: none;
  background: rgba(24, 4, 14, .93); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.lightbox-modal.active { display: flex; align-items: center; justify-content: center; }
.lightbox-stage {
  position: relative; width: min(960px, 94vw); max-height: 88vh;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.lightbox-main-img { max-width: 100%; max-height: 72vh; object-fit: contain; border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); }
.lightbox-meta { text-align: center; color: #fff; max-width: 720px; }
.lightbox-title { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold-300); }
.lightbox-caption { font-size: .9rem; color: rgba(255,255,255,.78); margin-top: 4px; }
.lightbox-category-chip {
  display: inline-block; font-family: var(--font-label); font-size: .62rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--wine-950);
  background: var(--gold-300); padding: 4px 12px; border-radius: 999px; margin: 12px 0 2px;
}
.lightbox-counter { font-family: var(--font-label); font-size: .72rem; color: rgba(255,255,255,.6); margin-top: 10px; }
.lightbox-nav-arrow {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 2005;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1); color: #fff; font-size: 1.4rem; cursor: pointer;
  display: grid; place-items: center; transition: background .15s ease;
}
.lightbox-nav-arrow:hover { background: rgba(255,255,255,.25); }
.lightbox-nav-arrow.prev { left: 22px; }
.lightbox-nav-arrow.next { right: 22px; }
.lightbox-btn-close {
  position: fixed; top: 20px; right: 24px; z-index: 2005;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1); color: #fff; font-size: 1.2rem; cursor: pointer;
}
.lightbox-btn-close:hover { background: rgba(255,255,255,.25); }

/* ---------- 18. FOOTER ---------- */
.dps-footer {
  background:
    radial-gradient(1000px 500px at 80% 0%, rgba(125, 29, 63, 0.18), transparent 60%),
    linear-gradient(175deg, rgba(46, 8, 21, 0.98) 0%, rgba(28, 5, 13, 0.99) 100%);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: rgba(255,255,255,.8); padding: 72px 0 0; position: relative;
}
.dps-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--saffron-500), var(--gold-400), var(--green-600));
}
.foot-brand { display: flex; align-items: center; gap: 16px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.12); }
.foot-brand img { width: 60px; height: 60px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(223,175,69,.5); }
.foot-brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: #fff; display: block; }
.foot-brand-sub { font-size: .82rem; color: rgba(255,255,255,.6); }
.foot-motto {
  margin-left: auto;
  text-align: right;
  font-family: var(--font-ui, 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif) !important;
  font-style: normal !important;
  font-size: 0.86rem !important;
  color: rgba(255, 255, 255, 0.92) !important;
  max-width: 380px !important;
  line-height: 1.5 !important;
}
.foot-motto span.foot-motto-label,
.foot-motto > span:first-child {
  display: block !important;
  font-family: var(--font-label, sans-serif) !important;
  font-style: normal !important;
  font-size: 0.66rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: var(--saffron-400, #FBBF24) !important;
  margin-bottom: 4px !important;
}
.foot-motto-auth {
  display: block !important;
  font-weight: 700 !important;
  color: #FFF !important;
  font-size: 0.88rem !important;
  line-height: 1.4 !important;
  letter-spacing: 0.01em !important;
}
.foot-motto-reg {
  display: block !important;
  font-family: var(--font-label, monospace, sans-serif) !important;
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  color: #FDE68A !important;
  letter-spacing: 0.03em !important;
  margin-top: 3px !important;
}

.foot-drawer-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.12);
  color: #fff; font: 700 .9rem var(--font-ui); padding: 20px 4px; cursor: pointer;
}
.foot-drawer-toggle .symbol { font-size: 1.3rem; color: var(--gold-300); }

.foot-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 36px; padding: 48px 0; }
.foot-col h4 { color: var(--gold-300); font-family: var(--font-ui); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.foot-col p { font-size: .87rem; color: rgba(255,255,255,.66); margin-bottom: 10px; }
.foot-list { list-style: none; display: grid; gap: 10px; }
.foot-list a { color: rgba(255,255,255,.74); font-size: .88rem; transition: color .15s ease; }
.foot-list a:hover { color: var(--gold-300); }
.foot-contact-line { color: rgba(255,255,255,.74); font-size: .88rem; }

.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: .78rem; color: rgba(255,255,255,.55);
}
.foot-stats-row { display: flex; gap: 14px; flex-wrap: wrap; list-style: none; }
.foot-stats-row a { color: rgba(255,255,255,.66); }
.foot-stats-row a:hover { color: var(--gold-300); }

/* ---------- 19. COOKIE DOCK ---------- */
.cookie-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500; display: none;
  background: rgba(24,4,14,.96); color: #fff;
  border-top: 2px solid var(--gold-400);
  box-shadow: 0 -14px 40px -18px rgba(0,0,0,.6);
}
.cookie-dock .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 16px; flex-wrap: wrap; }
.cookie-dock-copy { font-size: .82rem; color: rgba(255,255,255,.78); max-width: 780px; }
.cookie-dock-copy strong { color: var(--gold-300); }
.cookie-dock-copy a { color: var(--gold-300); text-decoration: underline; }
.cookie-dock-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ---------- 20. REVEAL & MOTION ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease var(--reveal-delay, 0ms), transform .7s ease var(--reveal-delay, 0ms); }
.reveal.revealed { opacity: 1; transform: none; }
body.page-exit { opacity: 0; transition: opacity .28s ease; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover, .arch-card:hover, .tile:hover, .btn:hover { transform: none; }
}

/* ---------- 21B. LEGACY COMPATIBILITY SHIM (statutory policy pages) ---------- */
:root {
  --brand-burgundy: var(--wine-700);
  --brand-mocha: var(--wine-600);
  --brand-latte: var(--gold-300);
  --brand-latte-soft: var(--cream-200);
  --border-latte-solid: rgba(201, 150, 46, .45);
  --border-mocha-solid: rgba(201, 150, 46, .45);
  --text-brown-on-mocha: var(--ink-900);
  --canvas-subtle: var(--cream-200);
  --canvas-surface: #fff;
  --text-primary: var(--ink-900);
  --text-secondary: var(--ink-700);
  --text-muted: var(--ink-400);
  --font-serif: var(--font-display);
  --font-mono: var(--font-label);
  --radius-subtle: 14px;
  --space-md: 24px; --space-lg: 32px; --space-xl: 40px;
  --space-3xl: 56px; --space-4xl: 72px;
}

.dps-topbar, .top-compliance-bar {
  background: linear-gradient(90deg, var(--wine-900), var(--wine-700) 55%, var(--wine-800));
  color: rgba(255,255,255,.92); font-size: .82rem;
  position: relative; z-index: 1200;
}
topbar-note, .top-compliance-note, .top-compliance-bar .container > div { display: flex; align-items: center; gap: 10px; }
.topbar-chip, .compliance-badge {
  font-family: var(--font-label); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: var(--saffron-500); color: #fff; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.dps-topbar-links, .top-compliance-links { display: flex; gap: 22px; list-style: none; flex-wrap: wrap; }
.dps-topbar-links a, .top-compliance-links a { color: rgba(255,255,255,.85); font-weight: 600; }
.dps-topbar-links a:hover, .top-compliance-links a:hover { color: var(--gold-300); }

.section-header-left, .section-header-center { max-width: 720px; margin-bottom: 44px; }
.category-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-label); font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--saffron-600); margin-bottom: 12px;
}
.bento-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.bento-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.bento-grid-asym { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; }
.bento-card {
  background: #fff; border: var(--line-warm); border-radius: var(--radius-md);
  padding: 24px 24px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 10px;
}
.bento-card-burgundy {
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(223,175,69,.14), transparent 60%),
    linear-gradient(150deg, var(--wine-950), var(--wine-800));
  color: #fff; border: 1px solid rgba(223,175,69,.35);
}
.bento-card-burgundy h2, .bento-card-burgundy h3, .bento-card-burgundy h4 { color: #fff; }
.bento-card-mocha, .bento-card-latte { border-top: 4px solid var(--gold-500); }
.bento-tag-number {
  font-family: var(--font-label); font-size: .64rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--green-700); display: block;
}
.bento-card-title { font-size: 1.25rem; margin-bottom: 6px; }
.bento-card-body { font-size: .95rem; color: var(--ink-500); }
.bento-photo { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.apple-accordion-list { display: grid; gap: 14px; }
details.apple-expandable-item {
  background: #fff; border: var(--line-warm); border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft); overflow: hidden;
}
details.apple-expandable-item > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-weight: 700; color: var(--ink-900);
}
details.apple-expandable-item > summary::-webkit-details-marker { display: none; }
details.apple-expandable-item > summary::after {
  content: "+"; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--cream-200); color: var(--wine-700); display: grid; place-items: center;
  font-size: 1.2rem; font-weight: 400; transition: transform .25s ease;
}
details.apple-expandable-item[open] > summary::after { transform: rotate(45deg); background: var(--wine-700); color: #fff; }
.apple-expandable-body { padding: 0 24px 22px 24px; color: var(--ink-500); font-size: .95rem; }
.apple-expandable-body p { margin-bottom: 10px; }
.apple-expandable-body ul { padding-left: 20px; }
.table-wrap, .table-wrapper {
  background: #fff; border: var(--line-warm); border-radius: var(--radius-md);
  overflow-x: auto; box-shadow: var(--shadow-soft);
}
.psm-table, .apple-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
.psm-table thead th, .apple-table thead th {
  background: linear-gradient(120deg, var(--wine-900), var(--wine-800));
  color: #fff; text-align: left; padding: 14px 18px; font-weight: 700; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.psm-table tbody td, .apple-table tbody td {
  padding: 14px 18px; border-top: 1px solid rgba(93,30,51,.1); color: var(--ink-700); vertical-align: top;
}
.psm-table tbody tr:nth-child(even), .apple-table tbody tr:nth-child(even) { background: var(--cream); }
.lead-text { font-size: 1.05rem; color: var(--ink-700); }

/* ---------- 21. MISC ---------- */
.divider-om { display: flex; align-items: center; gap: 14px; color: var(--gold-500); }
.divider-om::before, .divider-om::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,150,46,.5)); }
.divider-om::after { background: linear-gradient(90deg, rgba(201,150,46,.5), transparent); }

.center-cta { text-align: center; margin-top: 44px; }
.center-cta .btn + .btn { margin-left: 12px; }

.nf-title { font-size: clamp(4rem, 12vw, 8rem); background: linear-gradient(120deg, var(--wine-700), var(--saffron-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 22. RESPONSIVE ---------- */
@media (max-width: 1120px) {
  .dps-nav > .nav-list { gap: 0; }
  .nav-link { padding: 9px 9px; font-size: .84rem; }
}

@media (max-width: 980px) {
  .home-hero-grid, .split-2 { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; padding-top: 8px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-motto { display: none; }
  .visual-arch img { height: 440px; }

  /* Mobile nav drawer (Liquid Glass with Wine Tint) */
  .mobile-nav-toggle { display: inline-flex; }
  .dps-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 247, 250, 0.92) 50%, rgba(125, 29, 63, 0.08) 100%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    backdrop-filter: blur(28px) saturate(200%);
    border-bottom: 1px solid rgba(125, 29, 63, 0.16);
    box-shadow: 0 26px 60px -16px rgba(46, 8, 21, 0.22);
    z-index: 1200;
  }
  .dps-nav.active {
    display: block;
    animation: dpsMobileNavSlide .22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  @keyframes dpsMobileNavSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .dps-nav > .nav-list { flex-direction: column; align-items: stretch; padding: 14px 20px 18px; gap: 4px; }
  .nav-link {
    padding: 12px 18px;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--wine-950);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(125, 29, 63, 0.08);
  }
  .nav-link:hover {
    background: rgba(125, 29, 63, 0.1);
    color: var(--wine-700);
    border-color: rgba(125, 29, 63, 0.2);
  }
  .nav-link[aria-current="page"] {
    background: linear-gradient(135deg, rgba(145, 35, 75, 0.95) 0%, rgba(105, 22, 52, 0.98) 100%);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
  }
}

@media (max-width: 680px) {
  .dps-topbar-links { display: none; }
  .grid-2, .grid-3, .grid-4, .steps-grid, .form-row { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(3)::before { display: none; }
  .stat-cell { padding: 24px 14px; }
  .section { padding: 64px 0; }
  .form-stage { padding: 24px 18px; }
  .cta-banner { padding: 32px 24px; }
  .hero-curve-frame img { height: 380px; }
  .hero-rank-card { right: 0; top: 18px; padding: 10px 14px; }
  .hero-rank-card strong { font-size: 1.05rem; }
  .hero-float-card { left: 0; bottom: 84px; padding: 10px 14px; }
  .gal-grid { grid-template-columns: 1fr; }
  .visual-arch img { height: 340px; }
  .visual-mini { width: 140px; bottom: -20px; }
  .consent-box { flex-direction: column; }
  .cookie-dock .container { flex-direction: column; align-items: stretch; }
}


/* ==========================================================================
   HIGH-CONTRAST & LIQUID GLASS VISIBILITY SUITE (ZERO INVISIBLE TEXT)
   Guaranteed legibility across all viewport sizes, light surfaces, and wine stages.
   ========================================================================== */

/* 1. Deep Wine Cards & Bento Containers (Guaranteed Crisp White / Gold Text) */
.card-wine,
.bento-card-burgundy,
.cta-banner-wine {
  background: radial-gradient(500px 260px at 100% 0%, rgba(223, 175, 69, 0.18), transparent 60%),
              linear-gradient(150deg, #2E0815 0%, #4A1024 55%, #631431 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(223, 175, 69, 0.35) !important;
}

.card-wine h2, .card-wine h3, .card-wine h4,
.bento-card-burgundy h2, .bento-card-burgundy h3, .bento-card-burgundy h4,
.cta-banner-wine h2, .cta-banner-wine h3, .cta-banner-wine h4 {
  color: #ffffff !important;
}

.card-wine h2 em, .card-wine h3 em,
.bento-card-burgundy h2 em, .bento-card-burgundy h3 em,
.cta-banner-wine h2 em, .cta-banner-wine h3 em {
  color: var(--gold-300, #DFB048) !important;
}

.card-wine p, .card-wine .card-text, .card-wine .principal-quote,
.bento-card-burgundy p, .bento-card-burgundy .bento-card-body,
.cta-banner-wine p {
  color: rgba(255, 255, 255, 0.92) !important;
  line-height: 1.7;
}

.card-wine .tile-kicker,
.bento-card-burgundy .bento-tag-number,
.cta-banner-wine .cta-tag {
  color: var(--gold-300, #DFB048) !important;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.card-wine .card-foot {
  border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: rgba(255, 255, 255, 0.75) !important;
}

.card-wine .card-foot a {
  color: var(--gold-300, #DFB048) !important;
  font-weight: 700;
}

.card-wine .list-check {
  color: rgba(255, 255, 255, 0.92) !important;
}

.card-wine .list-check strong {
  color: #ffffff !important;
}

.card-wine .list-check li::before {
  background: var(--gold-300, #DFB048) !important;
  box-shadow: 0 0 0 3px rgba(223, 175, 69, 0.25) !important;
}

/* 2. Light / Sand Glass Cards (Warm Tinted Champagne & Soft Wine Liquid Glass) */
.card:not(.card-wine),
.bento-card:not(.bento-card-burgundy),
.tile,
.arch-card {
  background: linear-gradient(165deg, rgba(252, 247, 237, 0.92) 0%, rgba(246, 238, 224, 0.84) 50%, rgba(248, 234, 239, 0.78) 100%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(217, 184, 138, 0.42) !important;
  box-shadow:
    0 16px 40px -10px rgba(46, 8, 21, 0.09),
    inset 0 1px 2px 0 rgba(255, 248, 230, 0.88),
    inset 0 0 24px rgba(255, 238, 185, 0.16) !important;
}

.card:not(.card-wine):hover,
.bento-card:not(.bento-card-burgundy):hover,
.tile:hover,
.arch-card:hover {
  background: linear-gradient(165deg, rgba(254, 249, 240, 0.95) 0%, rgba(248, 240, 228, 0.88) 50%, rgba(249, 235, 240, 0.84) 100%) !important;
  border-color: rgba(125, 29, 63, 0.35) !important;
  box-shadow:
    0 24px 60px -14px rgba(125, 29, 63, 0.2),
    inset 0 1px 2px 0 rgba(255, 248, 230, 0.96),
    inset 0 0 28px rgba(255, 238, 185, 0.24) !important;
}

.card:not(.card-wine) h2, .card:not(.card-wine) h3, .card:not(.card-wine) h4,
.bento-card:not(.bento-card-burgundy) h2, .bento-card:not(.bento-card-burgundy) h3, .bento-card:not(.bento-card-burgundy) h4,
.tile h2, .tile h3, .tile h4,
.arch-card h2, .arch-card h3, .arch-card h4 {
  color: #2E0815 !important;
  font-weight: 700;
}

.card:not(.card-wine) p, .card:not(.card-wine) .card-text,
.bento-card:not(.bento-card-burgundy) p, .bento-card:not(.bento-card-burgundy) .bento-card-body,
.tile p,
.arch-card p, .arch-card .arch-text {
  color: #4A303A !important;
  line-height: 1.68;
}

.arch-card strong, .tile strong, .card strong {
  color: #1D1D1F !important;
}

.arch-card .arch-foot, .card .card-foot {
  color: #6E5560 !important;
}

.arch-card .arch-foot a, .card .card-foot a {
  color: #7D1D3F !important;
  font-weight: 700;
}

/* 3. Section Titles & Eyebrows Across Light Surfaces */
.sec-title {
  color: #2E0815 !important;
}

.sec-title em {
  color: #8C1D40 !important;
  font-style: italic;
}

.sec-lead {
  color: #4A303A !important;
}

.section-head-center .sec-lead,
.section-head .sec-lead {
  color: #4A303A !important;
}

/* 4. Tables Touch Scrolling & Cell Contrast */
.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.psm-table th {
  color: #2E0815 !important;
  background: rgba(125, 29, 63, 0.08) !important;
  font-weight: 700 !important;
  border-bottom: 2px solid rgba(125, 29, 63, 0.16) !important;
}

.psm-table td {
  color: #2E0815 !important;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(125, 29, 63, 0.08) !important;
}

.psm-table td strong {
  color: #1D1D1F !important;
}

.table-note {
  color: #6E5560 !important;
}

/* 5. Apple Expandable Accordions (Policies & FAQs) */
details.apple-expandable-item,
.faq {
  background: linear-gradient(165deg, rgba(252, 247, 237, 0.92) 0%, rgba(248, 240, 228, 0.84) 100%) !important;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(125, 29, 63, 0.14) !important;
}

details.apple-expandable-item summary,
.faq summary {
  color: #2E0815 !important;
  font-weight: 700 !important;
}

.apple-expandable-body,
.faq-a {
  color: #3D2831 !important;
  line-height: 1.75 !important;
}

/* 6. Form Fields & Labels */
.form-stage {
  background: linear-gradient(165deg, rgba(252, 247, 237, 0.92) 0%, rgba(248, 240, 228, 0.84) 100%) !important;
  border: 1px solid rgba(125, 29, 63, 0.16) !important;
  box-shadow: 0 20px 50px -15px rgba(46, 8, 21, 0.12) !important;
}

.label {
  color: #2E0815 !important;
  font-weight: 700 !important;
}

.input, .select, .textarea {
  background: #ffffff !important;
  color: #1D1D1F !important;
  border: 1.5px solid rgba(125, 29, 63, 0.18) !important;
}

.input:focus, .select:focus, .textarea:focus {
  border-color: #8C1D40 !important;
  box-shadow: 0 0 0 4px rgba(140, 29, 64, 0.15) !important;
  outline: none !important;
}

/* 7. Mobile Viewport Refinements (320px - 768px) */
@media (max-width: 768px) {
  /* Consistent Mobile Ordering: Photo at top (order: 1), Narrative text below (order: 2) */
  .section .split-2 > .visual-stack {
    order: 1 !important;
    margin-bottom: 4px !important;
  }
  .section .split-2 > div:not(.visual-stack) {
    order: 2 !important;
  }
  #about, #results {
    scroll-margin-top: calc(var(--header-h, 72px) + 20px) !important;
  }

  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .dps-brand-text {
    display: flex;
    flex-direction: column;
  }

  .dps-brand-name {
    font-size: 1.15rem !important;
    line-height: 1.15 !important;
  }

  .dps-brand-sub {
    font-size: 0.68rem !important;
  }

  .hero-editorial-title {
    font-size: clamp(2rem, 8.5vw, 2.75rem) !important;
    line-height: 1.12 !important;
  }

  .hero-editorial-lead {
    font-size: 0.98rem !important;
    line-height: 1.6 !important;
  }

  .hero-editorial-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 20px !important;
    box-sizing: border-box !important;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    font-size: clamp(0.70rem, 3.1vw, 0.80rem) !important;
    padding: 11px 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    border-radius: 100px !important;
    box-sizing: border-box !important;
  }

  .hero-photo-pills {
    display: flex !important;
    overflow-x: auto !important;
    padding-bottom: 6px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .photo-pill-btn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .client-curved-card {
    margin-top: 24px !important;
  }

  .curved-notch-pill.top-left {
    top: 12px !important;
    left: 12px !important;
    padding: 6px 12px !important;
  }

  .curved-notch-pill.bottom-right {
    bottom: 12px !important;
    right: 12px !important;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .split-2, .split-2-uneven {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .visual-arch img {
    height: 280px !important;
    min-height: unset !important;
  }

  .dps-mega-card {
    width: calc(100% - 16px) !important;
    top: 66px !important;
    border-radius: 20px !important;
  }

  .dps-mega-grid {
    grid-template-columns: 1fr !important;
    padding: 16px 14px !important;
  }

  .dps-mega-card-footer {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    padding: 16px 14px !important;
  }

  .mega-portal-btn {
    justify-content: center !important;
    width: 100% !important;
  }

  /* Founders stay 2-col side-by-side vertically parallel divided by line on all screen sizes */
  @media (max-width: 640px) {
    .dageroz-modal .founders-vertical-split {
      grid-template-columns: 1fr 1px 1fr !important;
      gap: 10px !important;
    }

    .dageroz-modal .founders-vertical-divider {
      width: 1px !important;
      height: auto !important;
      min-height: 100% !important;
      margin: 0 !important;
    }
  }
}

/* =========================================================================
   DELUXE EDITORIAL SUBPAGE LANDING HERO (Premium Split Stage Architecture)
   ========================================================================= */
.page-hero {
  position: relative;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 217, 138, 0.28) 0%, transparent 60%),
    radial-gradient(circle at 10% 85%, rgba(125, 29, 63, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, var(--cream, #FBF7EF) 0%, #F5ECDD 100%);
  color: var(--ink-900);
  padding: 68px 0 64px;
  border-bottom: 1px solid var(--line-warm, rgba(125, 29, 63, 0.12));
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(125, 29, 63, 0.03) 1px, transparent 1px),
    linear-gradient(to right, rgba(201, 150, 46, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(201, 150, 46, 0.04) 1px, transparent 1px);
  background-size: 32px 32px, 64px 64px, 64px 64px;
  pointer-events: none;
  opacity: 0.8;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

/* Two-Column Editorial Hero Grid */
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  gap: 48px;
  align-items: center;
}

.page-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Luxury Eyebrow Pill with Pulsing Gold Beacon */
.hero-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label, monospace);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7D1D3F;
  background: rgba(255, 217, 138, 0.35);
  border: 1px solid rgba(255, 217, 138, 0.8);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 18px;
  align-self: flex-start;
  box-shadow: 0 4px 14px rgba(46, 8, 21, 0.06);
}

.hero-eyebrow-pill .kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #C9962E;
  box-shadow: 0 0 10px #FFD98A;
  animation: kickerPulse 1.8s infinite;
}

.page-hero h1 {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 700;
  color: #2E0815;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 16px;
}

.page-hero h1 em {
  font-style: italic;
  color: #8C1D40;
}

.page-hero .hero-lead {
  font-family: var(--font-ui, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.05rem;
  line-height: 1.72;
  color: #4A303A;
  max-width: 580px;
  margin-bottom: 22px;
}

/* Warm Tinted Interactive Hero Pills */
.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(252, 246, 234, 0.92);
  border: 1px solid rgba(217, 184, 138, 0.45);
  color: var(--wine-800, #5C1636);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(46, 8, 21, 0.06), inset 0 1px 1px rgba(255, 248, 230, 0.85);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.hero-pill:hover {
  background: rgba(255, 242, 212, 0.98);
  border-color: var(--wine-700, #7D1D3F);
  color: var(--wine-700, #7D1D3F);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(125, 29, 63, 0.16);
}

/* Right Column Visual Photo Stage */
.page-hero-media-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero-stage-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 36px 140px 36px 36px;
  padding: 10px;
  background: linear-gradient(165deg, rgba(252, 247, 237, 0.95) 0%, rgba(246, 238, 224, 0.88) 50%, rgba(248, 234, 239, 0.82) 100%);
  border: 2px solid rgba(255, 243, 218, 0.85);
  box-shadow:
    0 24px 60px -15px rgba(46, 8, 21, 0.22),
    0 0 40px rgba(255, 217, 138, 0.35),
    inset 0 1px 2px rgba(255, 248, 230, 0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.page-hero-stage-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 30px 70px -18px rgba(125, 29, 63, 0.26),
    0 0 50px rgba(255, 217, 138, 0.45);
}

.page-hero-photo-inner {
  position: relative;
  width: 100%;
  height: 310px;
  border-radius: 28px 132px 28px 28px;
  overflow: hidden;
  background: #EDE8DE;
}

.page-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-hero-stage-card:hover .page-hero-photo {
  transform: scale(1.05);
}

.page-hero-photo-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -60px 80px -30px rgba(46, 8, 21, 0.45);
  pointer-events: none;
}

/* Floating Notched Liquid Glass Badge */
.page-hero-float-badge {
  position: absolute;
  bottom: -16px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 252, 244, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(201, 150, 46, 0.5);
  border-radius: 100px;
  padding: 8px 20px;
  box-shadow: 0 12px 32px rgba(46, 8, 21, 0.16);
  z-index: 2;
  transition: transform 0.25s ease;
}

.page-hero-stage-card:hover .page-hero-float-badge {
  transform: translateY(-2px);
}

.page-hero-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFD98A 0%, #C9962E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2E0815;
  font-weight: 800;
  font-size: 0.82rem;
  box-shadow: 0 4px 12px rgba(201, 150, 46, 0.35);
  flex-shrink: 0;
}

.page-hero-badge-text {
  display: flex;
  flex-direction: column;
}

.page-hero-badge-text strong {
  font-family: var(--font-display, serif);
  font-size: 0.85rem;
  font-weight: 700;
  color: #2E0815;
  line-height: 1.15;
}

.page-hero-badge-text span {
  font-family: var(--font-label, monospace);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #7D1D3F;
  text-transform: uppercase;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: stretch;
  }
  .page-hero-stage-card {
    max-width: 100%;
  }
  .page-hero-photo-inner {
    height: 260px;
  }
}

/* =========================================================================
   60FPS / 120FPS HARDWARE COMPOSITING & JANK-FREE SCROLL OPTIMIZATION
   Eliminates all momentary lag when scrolling between sections
   ========================================================================= */
.section {
  contain: layout paint;
}

/* Dedicated GPU layer promotion for liquid glass cards and visual stacks */
.arch-card,
.card,
.tile,
.modern-pillar-card,
.visual-arch,
.visual-mini,
.visual-stack,
.section-head,
.section-head-center {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.arch-media img,
.card-media img,
.visual-arch img,
.visual-mini img,
.client-curved-img {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Hardware accelerate fixed floating elements so they never trigger viewport repaints on scroll */
.dps-cookie-dock,
#dagerozFloatBtn {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Optimized Lightweight Reveal: Smooth opacity and subtle GPU translation without layout thrashing */
.reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  -webkit-transform: translate3d(0, 16px, 0);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

/* ============================================================================
   SECRET ADMINISTRATIVE CONSOLE & LOGO GESTURE STYLES
   ============================================================================ */

/* Logo Tap Pulse Feedback */
.logo-tap-pulse {
  transform: scale(0.92) !important;
  filter: brightness(1.25) drop-shadow(0 0 10px rgba(217, 184, 138, 0.8)) !important;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), filter 0.15s ease !important;
}

/* Modal Overlay Container */
.secret-admin-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.secret-admin-modal.is-open {
  opacity: 1;
  visibility: visible;
}

/* Backdrop */
.sam-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 4, 11, 0.86);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}

/* Card */
.sam-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: rgba(30, 6, 15, 0.94);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  border: 1.5px solid rgba(217, 184, 138, 0.65);
  border-radius: 24px;
  padding: 36px 30px;
  box-shadow:
    0 30px 80px -10px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 2px rgba(255, 255, 255, 0.25);
  text-align: center;
  transform: scale(0.92) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.secret-admin-modal.is-open .sam-card {
  transform: scale(1) translateY(0);
}

/* Close Button */
.sam-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(217, 184, 138, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #FDE68A;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sam-close:hover {
  background: #7D1D3F;
  color: #FFFFFF;
  border-color: #D9B88A;
  transform: rotate(90deg);
}

/* Crest Disc */
.sam-crest-disc {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2.5px solid #D9B88A;
  display: grid;
  place-items: center;
  box-shadow:
    0 0 24px rgba(217, 184, 138, 0.5),
    0 8px 18px rgba(0, 0, 0, 0.3);
}

.sam-crest-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

/* Title & Subtitle */
.sam-title {
  margin: 0 0 6px 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.sam-sub {
  margin: 0 0 24px 0;
  font-family: var(--font-ui, sans-serif);
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(253, 230, 138, 0.85);
}

.sam-sub strong {
  color: #FFFFFF;
}

/* Form Fields */
.sam-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.sam-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sam-label {
  font-family: var(--font-label, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D9B88A;
}

.sam-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.sam-input {
  width: 100%;
  height: 48px;
  padding: 0 46px 0 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(217, 184, 138, 0.45);
  background: rgba(14, 2, 7, 0.75);
  color: #FFFFFF;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.sam-input:focus {
  border-color: #D9B88A;
  box-shadow: 0 0 0 3px rgba(217, 184, 138, 0.35);
  background: rgba(14, 2, 7, 0.95);
}

.sam-eye-btn {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: rgba(217, 184, 138, 0.8);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 6px;
  transition: color 0.15s ease;
}

.sam-eye-btn:hover {
  color: #FFFFFF;
}

/* Feedback message */
.sam-feedback {
  min-height: 18px;
  font-family: var(--font-ui, sans-serif);
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 4px;
}

.sam-feedback.error {
  color: #EF4444;
}

.sam-feedback.success {
  color: #10B981;
}

/* Submit Button */
.sam-submit-btn {
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid #D9B88A;
  background: linear-gradient(135deg, #7D1D3F 0%, #460B21 100%);
  color: #FFFFFF;
  font-family: var(--font-ui, sans-serif);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px -4px rgba(46, 8, 21, 0.5);
}

.sam-submit-btn:hover {
  background: linear-gradient(135deg, #912249 0%, #5C0E2C 100%);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -4px rgba(46, 8, 21, 0.7);
}

.sam-submit-btn:active {
  transform: translateY(0);
}

.sam-foot-note {
  margin-top: 18px;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-ui, sans-serif);
}

/* Shake Animation on Wrong Password */
@keyframes samShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.sam-card.sam-shake {
  animation: samShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}


/* ========================================================
   LEADERSHIP MESSAGES EXPANDABLE ACCORDION SYSTEM
   (Director, Principal, Academic Coordinator Desks)
   ======================================================== */

.leadership-card {
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Ensure typography stays elegant, readable and never clamped */
.leadership-quote,
.principal-quote,
.leadership-card p {
  line-height: 1.72;
}

.leadership-card .principal-quote,
.leadership-card .leadership-quote {
  font-family: var(--font-display, Georgia, serif);
  font-style: italic;
  margin-bottom: 14px;
}

/* Smooth expandable accordion container via CSS grid & max-height */
.leadership-expandable-wrap {
  display: grid;
  grid-template-rows: 0fr;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: grid-template-rows 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.35s ease;
}

.leadership-expandable-wrap.is-expanded {
  grid-template-rows: 1fr;
  max-height: 1400px;
  opacity: 1;
}

.leadership-expandable-inner {
  overflow: hidden;
  min-height: 0;
}

.leadership-expandable-inner p {
  margin-top: 10px;
  margin-bottom: 12px;
}

/* Toggle buttons */
.leadership-expand-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border-radius: 999px;
  font-family: var(--font-ui, sans-serif);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 18px;
  transition: all 0.25s ease;
  margin-top: 12px;
  margin-bottom: 8px;
  outline: none;
  border: 1px solid transparent;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  width: auto;
}

.leadership-expand-btn .chevron-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
  flex-shrink: 0;
}

.leadership-expand-btn[aria-expanded="true"] .chevron-icon {
  transform: rotate(180deg);
}

/* Wine Card Button Variant (Director's card) */
.leadership-expand-btn-wine {
  background: rgba(217, 184, 138, 0.12);
  border-color: rgba(217, 184, 138, 0.35);
  color: #F6E2C6;
}

.leadership-expand-btn-wine:hover,
.leadership-expand-btn-wine:focus-visible {
  background: rgba(217, 184, 138, 0.24);
  border-color: rgba(217, 184, 138, 0.65);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

/* Light Card Button Variant (Principal and Coordinator cards) */
.leadership-expand-btn-light {
  background: rgba(125, 29, 63, 0.06);
  border-color: rgba(125, 29, 63, 0.22);
  color: #7D1D3F;
}

.leadership-expand-btn-light:hover,
.leadership-expand-btn-light:focus-visible {
  background: #7D1D3F;
  border-color: #7D1D3F;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(125, 29, 63, 0.18);
}

@media (max-width: 768px) {
  .leadership-expand-btn {
    font-size: 0.78rem;
    padding: 8px 16px;
    width: 100%;
    justify-content: center;
  }
}
