/* ============================================================
   Secure Labs — Website CSS
   Single shared stylesheet for every page in V3.
   Cinematic palette: light cream hero → dark noir deep-dive → light close.
   ============================================================ */

:root {
  /* NOIR — dark surfaces */
  --noir-000: #020A05;
  --noir-100: #05140A;
  --noir-200: #0A1E11;
  --noir-300: #142B1C;
  --noir-400: #1E3A2A;

  /* INK extras */
  --ink-dim: #4A4438;

  /* STATUS — fixed, non-overridable per Brand Book V2 */
  --status-green:  #4ade80;
  --status-blue:   #60a5fa;
  --status-red:    #f87171;
  --status-amber:  #fbbf24;
  --status-purple: #a78bfa;

  /* GOLD — rose-gold metallic */
  --gold-900: #6B3E10;
  --gold-800: #8A5A30;
  --gold-700: #B87745;
  --gold-600: #C08860;
  --gold-500: #D69A5E;
  --gold-400: #E6B070;
  --gold-300: #F4C888;
  --gold-200: #FFE8C0;
  --signal:   #F4A261;

  /* INK — text on dark */
  --ink:      #F5EEDE;
  --ink-soft: #C9BFA8;
  --ink-muted:#7A7160;

  /* PAPER — light surfaces */
  --paper:        #F8F3E7;
  --paper-ivory:  #FAF5E8;
  --paper-cream:  #F2EBD9;
  --paper-edge:   #E6DFC8;

  /* INK on light */
  --ink-dark:     #1A1410;
  --ink-dark-soft:#3A2F20;
  --ink-dark-mute:#7A6D55;

  /* RULES */
  --rule-dark:        rgba(244, 200, 136, 0.14);
  --rule-dark-strong: rgba(244, 200, 136, 0.32);
  --rule-light:       rgba(107, 62, 16, 0.16);
  --rule-light-strong:rgba(107, 62, 16, 0.32);

  /* GRADIENTS */
  --gold-metal: linear-gradient(135deg, #B87745 0%, #D69A5E 20%, #F4C888 45%, #E6B070 65%, #C08860 85%, #8A5A30 100%);
  --gold-metal-text: linear-gradient(90deg, #C08860 0%, #F4C888 50%, #C08860 100%);

  /* TYPE — declared once */
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:  'JetBrains Mono', 'Courier New', monospace;

  /* SPACING / WIDTH */
  --max-width: 1280px;
  --max-prose: 760px;
  --gutter: clamp(20px, 4vw, 56px);
}

/* ============================================================
   RESET
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper-ivory);
  color: var(--ink-dark);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }

/* ============================================================
   LAYOUT — sections alternate light & dark
   ============================================================ */
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }

section.light, section.dark {
  position: relative;
  padding: clamp(80px, 9vw, 140px) 0;
}
section.dark {
  background: var(--noir-100);
  color: var(--ink);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(46, 73, 50, 0.28) 0%, transparent 65%),
    radial-gradient(ellipse 60% 30% at 50% 100%, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
}
section.cream { background: var(--paper-cream); }

/* SVG seam — paper torn into noir, adds the cinematic break */
.seam {
  display: block;
  width: 100%;
  height: 64px;
  margin: 0;
  padding: 0;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-700);
}
section.dark .kicker { color: var(--signal); }

h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: inherit;
}
h1 em, h2 em, h3 em, .display em {
  font-style: italic;
  color: var(--gold-700);
}
section.dark h1 em, section.dark h2 em, section.dark h3 em {
  background: var(--gold-metal-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1, .h1 {
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.02em;
}
h2, .h2 {
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.04;
}
h3, .h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.22;
}
h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-700);
}
section.dark h4 { color: var(--signal); }

.dek {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.5;
  color: var(--ink-dark-soft);
  max-width: 780px;
}
section.dark .dek { color: var(--ink-soft); }

p { max-width: var(--max-prose); margin-bottom: 16px; }
p.note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-dark-mute);
}
section.dark p.note { color: var(--ink-muted); }

.gold-text {
  background: var(--gold-metal-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
header.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 243, 231, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule-light);
}
header.site-nav .nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-lockup .mark { width: 36px; height: auto; }
.brand-lockup .word {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  color: var(--ink-dark);
}
.brand-lockup .word em { color: var(--gold-700); font-style: italic; }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
}
.nav-links a {
  color: var(--ink-dark-soft);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink-dark); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold-700);
}
.nav-cta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 18px;
  background: var(--ink-dark);
  color: var(--paper);
  border: 1px solid var(--ink-dark);
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--gold-800); border-color: var(--gold-800); color: var(--ink); }

.nav-toggle { display: none; }
@media (max-width: 900px) {
  .nav-cta { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    width: 32px; height: 32px;
    align-items: center; justify-content: center;
  }
  .nav-toggle span {
    display: block; width: 22px; height: 1px; background: var(--ink-dark);
    transition: transform 0.22s ease, opacity 0.18s ease;
    transform-origin: center;
  }
  header.site-nav.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  header.site-nav.open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  header.site-nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-links {
    flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper-ivory);
    padding: 24px var(--gutter) 20px;
    gap: 18px;
    border-bottom: 1px solid transparent;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      opacity 0.22s ease,
      visibility 0s linear 0.28s,
      border-color 0.2s;
  }
  header.site-nav.open .nav-links {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    border-bottom-color: var(--rule-light);
    transition:
      transform 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      opacity 0.22s ease,
      visibility 0s linear 0s,
      border-color 0.2s;
  }
  header.site-nav.open .nav-cta {
    display: inline-block;
    margin: 0 var(--gutter) 24px;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 26px;
  border: 1px solid currentColor;
  transition: all 0.25s;
  cursor: pointer;
}
.btn .arrow { transition: transform 0.25s; }
.btn:hover .arrow { transform: translateX(4px); }

.btn.primary {
  background: var(--ink-dark);
  color: var(--paper);
  border-color: var(--ink-dark);
}
.btn.primary:hover {
  background: var(--gold-800);
  border-color: var(--gold-800);
  color: var(--ink);
}
section.dark .btn.primary {
  background: var(--gold-metal);
  color: var(--noir-000);
  border: none;
  position: relative;
}
section.dark .btn.primary:hover {
  filter: brightness(1.1);
}
.btn.ghost {
  background: transparent;
  color: inherit;
}
section.light .btn.ghost { color: var(--ink-dark); border-color: rgba(26, 20, 16, 0.30); }
section.light .btn.ghost:hover { background: rgba(107, 62, 16, 0.05); border-color: var(--gold-700); color: var(--gold-800); }
section.dark .btn.ghost { color: var(--ink); border-color: var(--rule-dark-strong); }
section.dark .btn.ghost:hover { background: var(--noir-300); border-color: var(--gold-500); }

/* ============================================================
   SECTION HEADER pattern
   ============================================================ */
.section-head {
  margin-bottom: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; gap: 12px; }
}
.section-head .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(54px, 7vw, 96px);
  line-height: 1;
  color: var(--gold-700);
  opacity: 0.85;
}
section.dark .section-head .num { color: var(--gold-500); opacity: 0.75; }
.section-head .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 14px;
}
section.dark .section-head .label { color: var(--signal); }

/* ============================================================
   FOOTER
   ============================================================ */
footer.site-foot {
  background: var(--noir-000);
  color: var(--ink-soft);
  padding: clamp(60px, 8vw, 100px) 0 30px;
  background-image: radial-gradient(ellipse 100% 60% at 50% 0%, rgba(184, 119, 69, 0.10) 0%, transparent 60%);
}
footer.site-foot .foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule-dark);
}
@media (max-width: 900px) {
  footer.site-foot .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}
@media (max-width: 560px) {
  footer.site-foot .foot-grid { grid-template-columns: 1fr; }
}
footer.site-foot .foot-brand .word {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 12px;
}
footer.site-foot .foot-brand .word em {
  font-style: italic;
  background: var(--gold-metal-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
footer.site-foot .foot-brand p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 32ch;
}
footer.site-foot h5 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 14px;
  font-weight: 500;
}
footer.site-foot ul { list-style: none; }
footer.site-foot ul li { padding: 5px 0; font-size: 13.5px; }
footer.site-foot ul a { color: var(--ink-soft); transition: color 0.2s; }
footer.site-foot ul a:hover { color: var(--gold-300); }
footer.site-foot .foot-meta {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
footer.site-foot .foot-meta a { color: var(--ink-muted); }
footer.site-foot .foot-meta a:hover { color: var(--gold-500); }

/* ============================================================
   PROSPECTUS MODAL — primary CTA conversion surface
   ============================================================ */
.prospectus-modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex;
  align-items: center; justify-content: center;
  background: rgba(2, 10, 5, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.prospectus-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.prospectus-modal .panel {
  max-width: 540px; width: 100%;
  background: var(--noir-100);
  color: var(--ink);
  border: 1px solid var(--rule-dark-strong);
  padding: clamp(28px, 5vw, 48px);
  position: relative;
  background-image: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(46, 73, 50, 0.28) 0%, transparent 65%);
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.08s, opacity 0.3s ease 0.08s;
}
.prospectus-modal.open .panel {
  transform: translateY(0);
  opacity: 1;
}
.prospectus-modal .close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  font-family: var(--mono); font-size: 16px;
  color: var(--ink-soft);
}
.prospectus-modal .close:hover { color: var(--gold-300); }
.prospectus-modal h3 {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 12px;
}
.prospectus-modal h3 em {
  font-style: italic;
  background: var(--gold-metal-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.prospectus-modal p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.prospectus-modal label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 14px 0 6px;
}
.prospectus-modal input, .prospectus-modal select {
  width: 100%;
  padding: 12px 14px;
  background: transparent;
  border: 1px solid var(--rule-dark-strong);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.prospectus-modal input:focus, .prospectus-modal select:focus { border-color: var(--gold-500); }
.prospectus-modal .submit {
  margin-top: 22px;
  width: 100%;
  padding: 16px;
  background: var(--gold-metal);
  color: var(--noir-000);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
}
.prospectus-modal .submit:hover { filter: brightness(1.1); }
.prospectus-modal .success {
  text-align: center;
  padding: 20px 0;
}
.prospectus-modal .success .check {
  width: 48px; height: 48px; margin: 0 auto 16px;
  border: 1px solid var(--gold-500);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-300);
  font-size: 22px;
}

/* ============================================================
   COMMON CARD COMPONENTS
   ============================================================ */
.card {
  padding: clamp(22px, 3vw, 32px);
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--rule-light);
}
section.dark .card {
  background: var(--noir-200);
  border-color: var(--rule-dark);
}
.card h3 { margin-bottom: 10px; }
.card .meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 8px;
}
section.dark .card .meta { color: var(--signal); }


/* ============================================================
   UTILITY
   ============================================================ */
.center-text { text-align: center; }
.muted { color: var(--ink-dark-mute); }
section.dark .muted { color: var(--ink-muted); }
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  margin: 40px auto;
  max-width: 200px;
}
.placeholder-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 3px 7px;
  background: rgba(244, 162, 97, 0.14);
  border: 1px dashed var(--gold-700);
  color: var(--gold-700);
  margin-left: 8px;
  vertical-align: middle;
}
section.dark .placeholder-tag {
  background: rgba(244, 162, 97, 0.10);
  color: var(--gold-300);
  border-color: var(--gold-500);
}

/* ============================================================
   ENTRANCE ANIMATIONS — hero reveal on page load
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Homepage hero */
.hero .label  { animation: fadeUp 0.7s  cubic-bezier(0.25,0.46,0.45,0.94) both 0.05s; }
.hero h1      { animation: fadeUp 0.75s cubic-bezier(0.25,0.46,0.45,0.94) both 0.15s; }
.hero .lede   { animation: fadeUp 0.7s  cubic-bezier(0.25,0.46,0.45,0.94) both 0.26s; }
.hero .actions{ animation: fadeUp 0.65s cubic-bezier(0.25,0.46,0.45,0.94) both 0.35s; }
.hero .right-art { animation: fadeUp 0.8s cubic-bezier(0.25,0.46,0.45,0.94) both 0.12s; }
.hero .meta-strip { animation: fadeUp 0.65s cubic-bezier(0.25,0.46,0.45,0.94) both 0.44s; }

/* Subpage heroes — first four children stagger */
.ph-hero .wrap > *, .mod-hero .wrap > *, .pr-hero .wrap > *,
.c-hero .wrap > *,  .a-hero .wrap > *,  .ct-hero .wrap > *,
.j-hero .wrap > *,  .h-hero .wrap > * {
  animation: fadeUp 0.65s cubic-bezier(0.25,0.46,0.45,0.94) both;
}
.ph-hero .wrap > *:nth-child(1), .mod-hero .wrap > *:nth-child(1),
.pr-hero .wrap > *:nth-child(1), .c-hero .wrap > *:nth-child(1),
.a-hero .wrap > *:nth-child(1),  .ct-hero .wrap > *:nth-child(1),
.j-hero .wrap > *:nth-child(1),  .h-hero .wrap > *:nth-child(1) { animation-delay: 0.04s; }

.ph-hero .wrap > *:nth-child(2), .mod-hero .wrap > *:nth-child(2),
.pr-hero .wrap > *:nth-child(2), .c-hero .wrap > *:nth-child(2),
.a-hero .wrap > *:nth-child(2),  .ct-hero .wrap > *:nth-child(2),
.j-hero .wrap > *:nth-child(2),  .h-hero .wrap > *:nth-child(2) { animation-delay: 0.16s; }

.ph-hero .wrap > *:nth-child(3), .mod-hero .wrap > *:nth-child(3),
.pr-hero .wrap > *:nth-child(3), .c-hero .wrap > *:nth-child(3),
.a-hero .wrap > *:nth-child(3),  .ct-hero .wrap > *:nth-child(3),
.j-hero .wrap > *:nth-child(3),  .h-hero .wrap > *:nth-child(3) { animation-delay: 0.26s; }

.ph-hero .wrap > *:nth-child(4), .mod-hero .wrap > *:nth-child(4),
.pr-hero .wrap > *:nth-child(4), .c-hero .wrap > *:nth-child(4),
.a-hero .wrap > *:nth-child(4),  .ct-hero .wrap > *:nth-child(4),
.j-hero .wrap > *:nth-child(4),  .h-hero .wrap > *:nth-child(4) { animation-delay: 0.34s; }

/* ============================================================
   SCROLL REVEALS — sections enter the viewport
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Grid container reveals — container fades in fast, children cascade after */
.feat-grid.reveal, .kpi-grid.reveal, .deferred-list.reveal, .stack.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.22s ease, transform 0.28s ease;
}
.feat-grid.visible, .kpi-grid.visible, .deferred-list.visible, .stack.visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes gridReveal {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.feat-grid.visible .f,
.kpi-grid.visible .k,
.deferred-list.visible .row,
.stack.visible .floor {
  animation: gridReveal 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.feat-grid.visible .f:nth-child(1),
.kpi-grid.visible .k:nth-child(1),
.deferred-list.visible .row:nth-child(1),
.stack.visible .floor:nth-child(1)        { animation-delay: 0.18s; }
.feat-grid.visible .f:nth-child(2),
.kpi-grid.visible .k:nth-child(2),
.deferred-list.visible .row:nth-child(2),
.stack.visible .floor:nth-child(2)        { animation-delay: 0.26s; }
.feat-grid.visible .f:nth-child(3),
.kpi-grid.visible .k:nth-child(3),
.deferred-list.visible .row:nth-child(3),
.stack.visible .floor:nth-child(3)        { animation-delay: 0.34s; }
.feat-grid.visible .f:nth-child(4),
.kpi-grid.visible .k:nth-child(4),
.deferred-list.visible .row:nth-child(4),
.stack.visible .floor:nth-child(4)        { animation-delay: 0.42s; }
.feat-grid.visible .f:nth-child(5)        { animation-delay: 0.50s; }
.feat-grid.visible .f:nth-child(6)        { animation-delay: 0.58s; }
/* Stagger day-rail rows */
.day-rail:nth-child(2).reveal { transition-delay: 0.09s; }
.day-rail:nth-child(3).reveal { transition-delay: 0.18s; }
.day-rail:nth-child(4).reveal { transition-delay: 0.27s; }
.day-rail:nth-child(5).reveal { transition-delay: 0.34s; }
.day-rail:nth-child(6).reveal { transition-delay: 0.40s; }

/* Respect user preference — disable all motion */
@media (prefers-reduced-motion: reduce) {
  .hero .label, .hero h1, .hero .lede, .hero .actions,
  .hero .right-art, .hero .meta-strip,
  .ph-hero .wrap > *, .mod-hero .wrap > *, .pr-hero .wrap > *,
  .c-hero .wrap > *,  .a-hero .wrap > *,  .ct-hero .wrap > *,
  .j-hero .wrap > *,  .h-hero .wrap > * {
    animation: none;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .feat-grid.visible .f,
  .kpi-grid.visible .k,
  .deferred-list.visible .row,
  .stack.visible .floor {
    animation: none !important;
  }
  .prospectus-modal .panel {
    transform: none;
    transition: none;
  }
}

/* ============================================================
   DARK SECTION GLOW VARIANTS
   Subtle gradient position/tone shifts so dark sections
   don't all read identically across long pages.
   ============================================================ */
section.dark.glow-warm {
  background-image:
    radial-gradient(ellipse 100% 65% at 20% 0%, rgba(107, 62, 16, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 80% 100%, rgba(0, 0, 0, 0.52) 0%, transparent 70%);
}
section.dark.glow-right {
  background-image:
    radial-gradient(ellipse 85% 55% at 85% 0%, rgba(20, 43, 28, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 35% at 15% 100%, rgba(0, 0, 0, 0.44) 0%, transparent 72%);
}
section.dark.glow-deep {
  background-image:
    radial-gradient(ellipse 60% 42% at 50% 10%, rgba(14, 30, 20, 0.40) 0%, transparent 52%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(0, 0, 0, 0.55) 0%, transparent 75%);
}

/* ============================================================
   CLOSING QUOTE — warm atmosphere
   Applied via .closing-bg wrapper class on the section.
   ============================================================ */
section.closing-bg {
  position: relative;
  overflow: hidden;
}
section.closing-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 28% 50%, rgba(107, 62, 16, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 55% 60% at 72% 50%, rgba(184, 119, 69, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-nav, .site-foot { display: none !important; }
}

/* Honeypot anti-spam field — visually hidden, off-screen, skipped by keyboard/AT.
   Real users never see or fill it; bots that do are silently rejected server-side. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============================================================
   PRODUCT SHOTS — framed app screenshots (real product UI)
   Self-hosted JPEGs in /assets/product. Works on light and dark sections.
   ============================================================ */
.shot {
  margin: 0;
  border: 1px solid var(--rule-light);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px -34px rgba(0, 0, 0, 0.45);
}
.shot .bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 15px;
  background: var(--paper-cream);
  border-bottom: 1px solid var(--rule-light);
}
.shot .bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d8cbb0;
  display: inline-block;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
}
.shot figcaption {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dark-mute);
  padding: 13px 16px;
  border-top: 1px solid var(--rule-light);
  background: #fff;
}
.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 760px) {
  .shot-grid { grid-template-columns: 1fr; }
}
/* Dark-section variant */
.dark .shot {
  border-color: var(--rule-dark);
  background: var(--noir-200);
  box-shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.8);
}
.dark .shot .bar {
  background: var(--noir-100);
  border-bottom-color: var(--rule-dark);
}
.dark .shot .bar i { background: #2a3b30; }
.dark .shot figcaption {
  color: var(--ink-muted);
  border-top-color: var(--rule-dark);
  background: var(--noir-200);
}

/* ============================================================
   MINI-FAQ — compact contextual FAQ accordion for deep pages.
   Canonical FAQPage schema lives on /help; these are visible-only.
   ============================================================ */
.mini-faq { max-width: 820px; }
.mini-faq details {
  border-bottom: 1px solid var(--rule-light);
  padding: 20px 0;
}
.mini-faq details:first-child { border-top: 1px solid var(--rule-light); }
.mini-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.35;
  color: var(--ink-dark);
}
.mini-faq summary::-webkit-details-marker { display: none; }
.mini-faq summary .pl {
  font-family: var(--mono);
  font-size: 18px;
  color: var(--gold-700);
  flex: 0 0 auto;
  transition: transform 0.2s;
}
.mini-faq details[open] summary .pl { transform: rotate(45deg); }
.mini-faq .ans {
  margin-top: 12px;
  color: var(--ink-dark-soft);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 72ch;
}
/* Dark-section variant */
.dark .mini-faq details { border-bottom-color: var(--rule-dark); }
.dark .mini-faq details:first-child { border-top-color: var(--rule-dark); }
.dark .mini-faq summary { color: var(--ink); }
.dark .mini-faq summary .pl { color: var(--gold-300); }
.dark .mini-faq .ans { color: var(--ink-soft); }
