/* =====================================================================
   GOSPIFY — Christian-Renaissance promo site
   ===================================================================== */

/* ── Design tokens ─────────────────────────────────────────────────── */
:root {
  /* Palette — mirrored from the native app's Gospify.Colors */
  --parchment:      #F2E6CC;
  --parchment-2:    #E9D9B8;
  --parchment-3:    #F7EED8;
  --vellum:         #FFF8E7;
  --ink:            #1F1509;
  --ink-light:      #2A1E10;
  --muted:          #6E5838;
  --muted-2:        #8F7350;

  --teal:           #3F5EA8;   /* Marian lapis — primary */
  --teal-700:       #2C4688;
  --teal-50:        rgba(63, 94, 168, 0.10);

  --amber:          #B8863F;   /* Burnished gilt — secondary */
  --amber-300:      #D9A65A;
  --amber-500:      #F4D98F;
  --amber-700:      #7E5A24;

  --burgundy:       #8E3A3A;   /* Madder rose */
  --burgundy-deep:  #5C2424;
  --sage:           #6F7A5A;
  --slate:          #2C4266;

  /* Layout */
  --container:      1200px;
  --container-narrow: 720px;
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      22px;
  --radius-xl:      32px;

  /* Motion */
  --ease:           cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-fast:      cubic-bezier(0.4, 0, 0.2, 1);

  /* Surfaces */
  --surface:        rgba(255, 248, 231, 0.72);
  --surface-strong: rgba(255, 248, 231, 0.94);
  --surface-edge:   rgba(184, 134, 63, 0.18);
  --shadow-card:    0 8px 28px rgba(31, 21, 9, 0.10), 0 1px 2px rgba(31, 21, 9, 0.08);
  --shadow-lift:    0 18px 44px rgba(31, 21, 9, 0.16), 0 2px 6px rgba(31, 21, 9, 0.10);
}

@media (prefers-color-scheme: dark) {
  :root {
    --parchment:      #0B1526;
    --parchment-2:    #0F1B30;
    --parchment-3:    #14233B;
    --vellum:         #132039;
    --ink:            #F2E6CC;
    --ink-light:      #E7D5B3;
    --muted:          #BFA77C;
    --muted-2:        #9E885F;

    --teal:           #7A9BD6;
    --teal-700:       #9BB6E2;
    --teal-50:        rgba(122, 155, 214, 0.16);

    --amber:          #D9A65A;
    --amber-300:      #F4D98F;
    --amber-500:      #FBE9B8;

    --surface:        rgba(20, 35, 59, 0.72);
    --surface-strong: rgba(20, 35, 59, 0.92);
    --surface-edge:   rgba(217, 166, 90, 0.24);
    --shadow-card:    0 8px 28px rgba(0, 0, 0, 0.40), 0 1px 2px rgba(0, 0, 0, 0.30);
    --shadow-lift:    0 18px 44px rgba(0, 0, 0, 0.55);
  }
}

/* ── Reset ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Crimson Pro', 'Iowan Old Style', Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
p { margin: 0; }

/* ── Parchment grain overlay (fixed, behind content) ──────────────── */
.grain-overlay {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(184, 134, 63, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(142, 58, 58, 0.04) 0%, transparent 45%);
  mix-blend-mode: multiply;
}
.grain-overlay::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.09 0 0 0 0 0.05 0 0 0 0.3 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.08;
  mix-blend-mode: overlay;
}
@media (prefers-color-scheme: dark) {
  .grain-overlay::after { opacity: 0.14; }
}

/* ── Cursor halation (gilt aura that follows pointer) ─────────────── */
.cursor-halo {
  position: fixed;
  width: 340px; height: 340px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(244, 217, 143, 0.18) 0%, rgba(217, 166, 90, 0.08) 35%, transparent 70%);
  mix-blend-mode: screen;
  z-index: 2;
  opacity: 0;
  transition: opacity 400ms var(--ease);
  will-change: left, top, opacity;
}
@media (hover: hover) and (pointer: fine) {
  body:hover .cursor-halo { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor-halo { display: none; }
}

/* ── Layout ────────────────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; position: relative; z-index: 5; }
.container.narrow { max-width: var(--container-narrow); }
main { position: relative; z-index: 5; }

/* ── Site header ───────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 400ms var(--ease), backdrop-filter 400ms var(--ease), border-color 400ms var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--parchment) 82%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--surface-edge);
}
.nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.brand-mark { display: inline-flex; filter: drop-shadow(0 2px 4px rgba(184, 134, 63, 0.35)); }
.brand-mark img {
  width: 32px; height: 32px;
  border-radius: 7px;
  display: block;
  box-shadow: 0 0 0 1px rgba(184, 134, 63, 0.35), 0 2px 8px rgba(31, 21, 9, 0.18);
}
.footer-brand .brand-mark img { width: 36px; height: 36px; border-radius: 8px; }
.brand-word { line-height: 1; }
.nav-links {
  display: flex; gap: 28px;
  margin-left: auto;
  font-family: 'Crimson Pro', serif;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a {
  color: var(--muted);
  transition: color 200ms var(--ease);
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber-300), transparent);
  transform: scaleX(0);
  transition: transform 300ms var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { margin-left: 4px; }
.nav-toggle { display: none; }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  font-family: 'Crimson Pro', serif;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease), color 200ms var(--ease);
  text-align: center;
  justify-content: center;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-primary {
  background: #D9A65A !important;
  background-image: none !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  font-weight: 700 !important;
  justify-content: center;
  text-shadow: none !important;
  box-shadow: 0 6px 18px rgba(184, 134, 63, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: #B8863F !important;
  box-shadow: 0 10px 26px rgba(184, 134, 63, 0.45);
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}
.btn-ghost {
  color: var(--ink);
  background: var(--surface);
  backdrop-filter: blur(8px);
  border: 1px solid var(--surface-edge);
}
.btn-ghost:hover {
  background: var(--surface-strong);
  transform: translateY(-2px);
  border-color: var(--amber-300);
}
.btn-store {
  justify-content: center;
  width: 100%;
}

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-fresco {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
  will-change: transform;
}
.hero-fresco img {
  position: absolute;
  inset: -5%;
  width: 110%; height: 110%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.78) brightness(0.98);
  transform: translate3d(0, 0, 0) scale(1.04);
}
.hero-fresco-wash {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 560px 320px at 50% 52%,
      color-mix(in srgb, var(--parchment) 38%, transparent) 0%,
      color-mix(in srgb, var(--parchment) 0%, transparent) 72%),
    linear-gradient(180deg,
      color-mix(in srgb, var(--parchment) 45%, transparent) 0%,
      color-mix(in srgb, var(--parchment) 0%, transparent) 25%,
      color-mix(in srgb, var(--parchment) 0%, transparent) 65%,
      color-mix(in srgb, var(--parchment) 88%, transparent) 100%);
}
.hero-fresco-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 40%, transparent 30%, rgba(31, 21, 9, 0.40) 100%);
  mix-blend-mode: multiply;
  opacity: 0.55;
}
.hero-inner {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 0 16px;
}
.ornament { display: inline-block; }
.ornament-top { width: 240px; margin-bottom: 24px; opacity: 0.95; }

.eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow.gilt {
  background: linear-gradient(135deg, var(--amber-700), var(--amber-300), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-title {
  font-size: clamp(48px, 9vw, 108px);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero-title-line-1, .hero-title-line-2 { display: block; }
.hero-title-line-2 {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(135deg, #7E5A24, #F4D98F 40%, #B8863F 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(31, 21, 9, 0.45)) drop-shadow(0 0 1px rgba(31, 21, 9, 0.4));
}
.hero-title-line-1 {
  display: inline-block;
  animation: heroTitleGlow 3.8s ease-in-out infinite;
  will-change: text-shadow;
}
/* Each keyframe has four shadow layers in the same order so CSS
   can interpolate opacity/spread smoothly across the cycle. */
@keyframes heroTitleGlow {
  0%, 100% {
    text-shadow:
      0 1px 2px rgba(31, 21, 9, 0.25),
      0 2px 18px rgba(255, 248, 231, 0.55),
      0 0 22px rgba(217, 166, 90, 0.18),
      0 0 40px rgba(244, 217, 143, 0.05);
  }
  50% {
    text-shadow:
      0 1px 2px rgba(31, 21, 9, 0.25),
      0 2px 28px rgba(255, 248, 231, 0.85),
      0 0 52px rgba(217, 166, 90, 0.38),
      0 0 100px rgba(244, 217, 143, 0.55);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-title-line-1 { animation: none; text-shadow: 0 1px 2px rgba(31, 21, 9, 0.25), 0 2px 18px rgba(255, 248, 231, 0.55); }
}
.hero-sub {
  font-size: clamp(17px, 2.1vw, 22px);
  color: var(--ink-light);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.55;
  text-shadow: 0 1px 12px rgba(255, 248, 231, 0.45);
}
.hero-inner .eyebrow {
  text-shadow: 0 1px 8px rgba(255, 248, 231, 0.5);
}
.cta-row {
  display: flex; gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.platforms-mini {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.platform-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--surface);
  backdrop-filter: blur(6px);
  border: 1px solid var(--surface-edge);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-light);
}
.platform-chip-soon { color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; }
.dot-live { background: var(--sage); box-shadow: 0 0 0 3px rgba(111, 122, 90, 0.18); }
.dot-soon { background: var(--amber); box-shadow: 0 0 0 3px rgba(184, 134, 63, 0.22); }

.hero-scroll-hint {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--muted);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
  animation: floatHint 2.8s var(--ease) infinite;
  z-index: 3;
}
@keyframes floatHint {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 6px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-hint { animation: none; }
}

/* ── Intro ─────────────────────────────────────────────────────────── */
.intro {
  padding: 120px 0 100px;
  position: relative;
}
.ornamental-divider { display: flex; justify-content: center; margin-bottom: 56px; }
.ornamental-divider svg { width: 320px; height: 24px; opacity: 0.9; }

.drop-cap-para {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(19px, 2.1vw, 23px);
  line-height: 1.65;
  color: var(--ink-light);
  text-align: left;
  margin-bottom: 48px;
}
.drop-cap-para em { font-style: italic; color: var(--amber); }

.drop-cap {
  float: left;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(78px, 10vw, 108px);
  line-height: 0.82;
  margin: 6px 14px 0 0;
  background: linear-gradient(135deg, var(--amber-700), var(--amber-300), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 0 rgba(184, 134, 63, 0.08);
}

.quote-scripture {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(26px, 3.6vw, 36px);
  text-align: center;
  color: var(--ink);
  line-height: 1.35;
  padding: 24px 0;
}
.quote-mark {
  color: var(--amber-300);
  font-size: 1.4em;
  line-height: 0;
  position: relative;
  top: 0.1em;
}
.quote-cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-family: 'Crimson Pro', serif;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Icon seal (app icon between scripture and features) ─────────── */
.icon-seal {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 56px auto 0;
  display: grid;
  place-items: center;
}
.icon-seal img {
  position: relative;
  z-index: 2;
  width: 140px;
  height: 140px;
  border-radius: 30px;
  box-shadow:
    0 0 0 1px rgba(184, 134, 63, 0.45),
    0 0 0 8px color-mix(in srgb, var(--amber-500) 14%, transparent),
    0 18px 44px rgba(31, 21, 9, 0.22),
    0 3px 8px rgba(31, 21, 9, 0.14);
  transition: transform 600ms var(--ease), box-shadow 600ms var(--ease);
}
.icon-seal:hover img { transform: translateY(-2px) scale(1.015); }
.icon-seal-halo {
  position: absolute;
  inset: -60px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(244, 217, 143, 0.35) 0%, rgba(217, 166, 90, 0.18) 30%, transparent 65%);
  filter: blur(6px);
  z-index: 0;
  animation: sealGlow 6s var(--ease) infinite;
}
@keyframes sealGlow {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .icon-seal-halo { animation: none; }
}
@media (prefers-color-scheme: dark) {
  .icon-seal img {
    box-shadow:
      0 0 0 1px rgba(217, 166, 90, 0.55),
      0 0 0 10px color-mix(in srgb, var(--amber-300) 12%, transparent),
      0 22px 60px rgba(0, 0, 0, 0.65),
      0 4px 12px rgba(0, 0, 0, 0.55);
  }
  .icon-seal-halo {
    background: radial-gradient(circle, rgba(244, 217, 143, 0.30) 0%, rgba(217, 166, 90, 0.14) 30%, transparent 65%);
  }
}
@media (max-width: 720px) {
  .icon-seal, .icon-seal img { width: 112px; height: 112px; }
  .icon-seal img { border-radius: 24px; }
  .icon-seal { margin-top: 40px; }
}
/* Slightly smaller + snugger seal when used in the closing section */
.icon-seal-closing {
  width: 120px; height: 120px;
  margin: 0 auto 36px;
}
.icon-seal-closing img {
  width: 120px; height: 120px;
  border-radius: 26px;
}
@media (max-width: 720px) {
  .icon-seal-closing, .icon-seal-closing img { width: 96px; height: 96px; }
  .icon-seal-closing img { border-radius: 22px; }
  .icon-seal-closing { margin-bottom: 28px; }
}

/* ── Section heading ───────────────────────────────────────────────── */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-head h2 {
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.05;
  font-weight: 600;
  margin-bottom: 18px;
}
.section-lede {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--muted);
  line-height: 1.55;
}
.display-title {
  font-size: clamp(42px, 6.5vw, 84px);
  font-style: italic;
  line-height: 1;
  background: linear-gradient(135deg, var(--amber-700), var(--amber-300), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

/* ── Features ──────────────────────────────────────────────────────── */
.features {
  padding: 100px 0 120px;
  background:
    linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--parchment-3) 40%, transparent) 50%, transparent 100%);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  backdrop-filter: blur(10px);
  border: 1px solid var(--surface-edge);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease), border-color 320ms var(--ease);
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 0%, var(--accent-soft), transparent 60%);
  opacity: 0;
  transition: opacity 400ms var(--ease);
  pointer-events: none;
}
.feature-card[data-accent="teal"]    { --accent: var(--teal);     --accent-soft: rgba(63, 94, 168, 0.14); }
.feature-card[data-accent="amber"]   { --accent: var(--amber);    --accent-soft: rgba(184, 134, 63, 0.16); }
.feature-card[data-accent="burgundy"]{ --accent: var(--burgundy); --accent-soft: rgba(142, 58, 58, 0.14); }
.feature-card[data-accent="sage"]    { --accent: var(--sage);     --accent-soft: rgba(111, 122, 90, 0.14); }

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--surface-edge));
}
.feature-card:hover::before { opacity: 1; }
/* featured card intentionally styled the same as others —
   the "Meet Lumen →" link inside it signals the specialness */
.feature-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 12%, var(--vellum));
  color: var(--accent);
  margin-bottom: 18px;
  position: relative;
}
.feature-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--ink);
}
.feature-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.feature-more {
  display: inline-block;
  margin-top: 14px;
  color: var(--amber);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: color 200ms var(--ease), transform 200ms var(--ease);
}
.feature-more:hover { color: var(--amber-700); transform: translateX(2px); }

/* ── Lumen ─────────────────────────────────────────────────────────── */
.lumen {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.lumen-fresco {
  position: absolute; inset: 0; z-index: 0;
}
.lumen-fresco img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0.28;
  filter: saturate(0.62) contrast(0.95);
  mix-blend-mode: multiply;
}
.lumen-fresco::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      var(--parchment) 0%,
      color-mix(in srgb, var(--parchment) 30%, transparent) 22%,
      color-mix(in srgb, var(--parchment) 30%, transparent) 78%,
      var(--parchment) 100%),
    radial-gradient(ellipse at 80% 40%, rgba(244, 217, 143, 0.14), transparent 60%);
}
.lumen-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.lumen-copy .lead {
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.65;
  color: var(--ink-light);
  margin-bottom: 28px;
}
.lumen-surfaces {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 24px;
}
.lumen-surfaces li {
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--surface-edge);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-light);
  font-weight: 500;
  transition: transform 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease);
}
.lumen-surfaces li:hover {
  transform: translateY(-2px);
  background: var(--surface-strong);
  border-color: var(--amber-300);
}
.lumen-copy .note {
  font-size: 15px;
  color: var(--muted);
  font-style: italic;
  padding-top: 8px;
  border-top: 1px solid var(--surface-edge);
}
.lumen-showcase { position: relative; }
.lumen-card {
  background: var(--surface-strong);
  border: 1px solid var(--surface-edge);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-lift), 0 0 80px rgba(244, 217, 143, 0.15);
  backdrop-filter: blur(18px);
  transition: transform 400ms var(--ease);
  max-width: 460px;
  margin: 0 auto;
}
.lumen-card:hover { transform: translateY(-4px); }
.lumen-card-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--surface-edge);
}
.lumen-avatar { display: inline-flex; filter: drop-shadow(0 4px 14px rgba(217, 166, 90, 0.45)); }
.lumen-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.1;
}
.lumen-sub {
  font-family: 'Crimson Pro', serif;
  font-size: 13px;
  color: var(--amber);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
  font-weight: 500;
}
.lumen-body {
  min-height: 230px;
  transition: opacity 280ms var(--ease);
}
.lumen-q {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 19px;
  color: var(--ink);
  padding: 12px 16px;
  border-left: 3px solid var(--amber-300);
  background: color-mix(in srgb, var(--amber-500) 18%, transparent);
  border-radius: 0 10px 10px 0;
  margin-bottom: 16px;
  line-height: 1.45;
}
.lumen-verses { display: flex; flex-direction: column; gap: 10px; }
.lumen-verses > div {
  padding: 12px 14px;
  background: color-mix(in srgb, var(--vellum) 60%, transparent);
  border: 1px solid var(--surface-edge);
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-light);
}
.lumen-verses strong {
  display: inline-block;
  min-width: 44px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: var(--teal);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-right: 10px;
}
.lumen-quiz-q {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.4;
}
.lumen-quiz-opts { display: flex; flex-direction: column; gap: 8px; }
.lumen-quiz-opts div {
  padding: 12px 16px;
  background: color-mix(in srgb, var(--vellum) 60%, transparent);
  border: 1px solid var(--surface-edge);
  border-radius: 10px;
  font-size: 15px;
  color: var(--ink-light);
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}
.lumen-quiz-opts div.correct {
  background: color-mix(in srgb, var(--sage) 22%, var(--vellum));
  border-color: var(--sage);
  color: var(--ink);
  font-weight: 500;
}
.lumen-deep-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 10px;
}
.lumen-deep-body {
  font-size: 15px;
  color: var(--ink-light);
  line-height: 1.6;
}
.lumen-deep-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.lumen-deep-chips span {
  padding: 5px 11px;
  background: color-mix(in srgb, var(--teal) 14%, transparent);
  color: var(--teal);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.lumen-plan-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 12px;
}
.lumen-plan-days { display: flex; flex-direction: column; gap: 6px; }
.lumen-plan-days div {
  display: flex; gap: 12px; align-items: baseline;
  padding: 10px 14px;
  background: color-mix(in srgb, var(--vellum) 60%, transparent);
  border: 1px solid var(--surface-edge);
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-light);
}
.lumen-plan-days strong {
  color: var(--amber);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  min-width: 58px;
}

.lumen-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--surface-edge);
}
.lumen-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex: 1;
}
.lumen-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.3;
  cursor: pointer;
  transition: opacity 300ms var(--ease), background 300ms var(--ease), transform 300ms var(--ease);
}
.lumen-dot.active { opacity: 1; background: var(--amber-300); transform: scale(1.2); }

.lumen-arrow {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--surface-edge);
  cursor: pointer;
  transition: color 200ms var(--ease), background 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease);
}
@media (max-width: 720px) {
  .lumen-arrow { width: 40px; height: 40px; }
  .nav-toggle { width: 40px; height: 40px; }
}
.lumen-arrow:hover {
  color: var(--amber);
  background: color-mix(in srgb, var(--amber-500) 18%, transparent);
  border-color: var(--amber-300);
  transform: translateY(-1px);
}
.lumen-arrow:active { transform: translateY(0); }
.lumen-arrow:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber-500) 40%, transparent);
}

/* ── Why Gospify (differentiators) ─────────────────────────────────── */
.why-gospify {
  padding: 120px 0 100px;
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in srgb, var(--teal) 7%, transparent) 0%, transparent 60%),
    var(--parchment);
}

/* Comparison table — "them vs us" */
.compare-table {
  max-width: 1100px;
  margin: 48px auto 0;
  border-radius: 18px;
  background: color-mix(in srgb, var(--parchment) 94%, #000 6%);
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  overflow: hidden;
}

.compare-head,
.compare-row {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  gap: 0;
}

.compare-head {
  background: color-mix(in srgb, var(--amber-500) 10%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}

.compare-head > div {
  padding: 18px 22px;
  font-family: "Crimson Pro", serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 65%, transparent);
}

.compare-head-us {
  color: var(--amber);
  font-weight: 600;
}

.compare-row {
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 7%, transparent);
  transition: background 200ms ease;
}

.compare-row:last-child { border-bottom: none; }

.compare-row:hover {
  background: color-mix(in srgb, var(--amber-500) 4%, transparent);
}

.compare-label {
  padding: 22px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  border-right: 1px solid color-mix(in srgb, var(--ink) 7%, transparent);
}

.compare-them,
.compare-us {
  padding: 22px;
  font-family: "Crimson Pro", serif;
  font-size: 0.98rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
}

.compare-them {
  border-right: 1px solid color-mix(in srgb, var(--ink) 7%, transparent);
  color: color-mix(in srgb, var(--ink) 60%, transparent);
  font-style: italic;
}

.compare-us {
  color: var(--ink);
  background: color-mix(in srgb, var(--amber-500) 3%, transparent);
}

.compare-us strong {
  color: var(--amber);
  font-weight: 600;
  font-style: normal;
}

/* Four pillars */
.pillars {
  max-width: 1100px;
  margin: 96px auto 0;
}

.pillars-head {
  text-align: center;
  margin-bottom: 36px;
}

.pillars-head h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  color: var(--ink);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.pillar {
  --accent: var(--teal);
  --accent-soft: rgba(63, 94, 168, 0.12);
  position: relative;
  padding: 32px 30px 28px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--parchment) 94%, #000 6%);
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.pillar[data-accent="teal"]     { --accent: var(--teal);     --accent-soft: rgba(63, 94, 168, 0.14); }
.pillar[data-accent="amber"]    { --accent: var(--amber);    --accent-soft: rgba(184, 134, 63, 0.16); }
.pillar[data-accent="burgundy"] { --accent: var(--burgundy); --accent-soft: rgba(142, 58, 58, 0.14); }
.pillar[data-accent="sage"]     { --accent: var(--sage);     --accent-soft: rgba(111, 122, 90, 0.14); }

.pillar:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -18px color-mix(in srgb, var(--accent) 50%, transparent);
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
}

.pillar-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--accent);
  color: var(--parchment);
  font-family: "Cormorant Garamond", serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 8px;
}

.pillar h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.32rem;
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--ink);
}

.pillar p {
  font-family: "Crimson Pro", serif;
  font-size: 0.98rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--ink) 80%, transparent);
  margin: 0 0 12px;
}

.pillar-proof {
  font-size: 0.78rem !important;
  color: color-mix(in srgb, var(--ink) 52%, transparent) !important;
  letter-spacing: 0.02em;
}

.pillar-proof code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 0.82em;
  padding: 1px 6px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--accent);
}

/* Quiet philosophy closer */
.why-philosophy {
  max-width: 720px;
  margin: 96px auto 0;
  text-align: center;
  padding: 0 24px;
}

.why-philosophy-quote {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 12px;
}

.why-philosophy-tag {
  font-family: "Crimson Pro", serif;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: color-mix(in srgb, var(--ink) 55%, transparent);
}

@media (max-width: 820px) {
  .compare-head,
  .compare-row {
    grid-template-columns: 1fr;
  }
  .compare-head > div:first-child { display: none; }
  .compare-head-them,
  .compare-head-us {
    border-bottom: 1px solid color-mix(in srgb, var(--ink) 7%, transparent);
  }
  .compare-label {
    padding: 16px 22px 6px;
    border-right: none;
    background: color-mix(in srgb, var(--amber-500) 8%, transparent);
    font-size: 1rem;
  }
  .compare-them,
  .compare-us {
    padding: 14px 22px;
    border-right: none;
  }
  .compare-them::before { content: "Typical Bible app — "; font-weight: 600; color: color-mix(in srgb, var(--ink) 50%, transparent); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.7rem; display: block; margin-bottom: 6px; font-style: normal; }
  .compare-us::before   { content: "Gospify — "; font-weight: 600; color: var(--amber); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.7rem; display: block; margin-bottom: 6px; }
  .pillar-grid { grid-template-columns: 1fr; }
}

/* ── Journey (ranks) ───────────────────────────────────────────────── */
.journey {
  padding: 140px 0 120px;
  position: relative;
}
.rank-ladder {
  display: flex; flex-direction: column;
  max-width: 760px;
  margin: 0 auto 72px;
  gap: 14px;
  position: relative;
}
.rank-ladder::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 30px; bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--amber-300), transparent);
  opacity: 0.6;
  z-index: 0;
}
.rank-step {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 24px;
  background: var(--surface);
  backdrop-filter: blur(10px);
  border: 1px solid var(--surface-edge);
  border-radius: var(--radius-md);
  position: relative;
  z-index: 1;
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease), border-color 280ms var(--ease);
}
.rank-step:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-card);
  border-color: var(--amber-300);
}
.rank-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-500), var(--amber-300), var(--amber));
  font-size: 22px;
  box-shadow: 0 4px 14px rgba(217, 166, 90, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}
.rank-body { flex: 1; }
.rank-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.rank-verse {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.35;
}
.rank-level {
  font-family: 'Crimson Pro', serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 600;
  padding: 5px 11px;
  background: color-mix(in srgb, var(--amber-500) 18%, transparent);
  border-radius: 999px;
  flex-shrink: 0;
}

.currencies {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}
.currency {
  display: flex; gap: 18px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--surface-edge);
  border-radius: var(--radius-lg);
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease);
}
.currency:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.currency-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  font-size: 24px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--amber-500) 25%, var(--vellum));
  flex-shrink: 0;
}
.currency-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.currency-desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

/* ── Platforms ─────────────────────────────────────────────────────── */
.platforms {
  padding: 140px 0 140px;
  position: relative;
  overflow: hidden;
}
.platforms-fresco {
  position: absolute; inset: 0; z-index: 0;
}
.platforms-fresco img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.22;
  filter: saturate(0.68);
  mix-blend-mode: multiply;
}
.platforms-fresco::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--parchment) 0%, color-mix(in srgb, var(--parchment) 40%, transparent) 18%, color-mix(in srgb, var(--parchment) 40%, transparent) 82%, var(--parchment) 100%);
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.platform-card {
  background: var(--surface-strong);
  border: 1px solid var(--surface-edge);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}
.platform-card-soon { opacity: 0.92; }

.platform-mockup {
  display: grid; place-items: center;
  padding: 20px 0 10px;
}

/* Phone mockup */
.phone-frame {
  width: 200px;
  aspect-ratio: 9 / 19;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  border-radius: 30px;
  padding: 8px;
  position: relative;
  box-shadow:
    0 12px 32px rgba(31, 21, 9, 0.28),
    inset 0 0 0 2px rgba(255, 255, 255, 0.04);
}
.phone-frame-android { border-radius: 22px; }
.phone-notch {
  position: absolute; top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 16px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%;
  background: var(--parchment);
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}
.phone-shots {
  position: absolute; inset: 0;
}
.phone-shot {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity 900ms var(--ease);
}
.phone-shot.is-active { opacity: 1; }
.phone-frame-android .phone-screen { border-radius: 16px; }
.mock-ios {
  padding: 32px 12px 16px;
  height: 100%;
  display: flex; flex-direction: column;
  gap: 10px;
}
.mock-android { padding-top: 20px; }
.mock-ios-header {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px;
  color: var(--ink);
  font-weight: 600;
  font-family: 'Crimson Pro', serif;
}
.mock-logo {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--amber-300), var(--amber));
  border-radius: 50%;
  color: var(--ink);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 14px;
}
.mock-ios-hero {
  background: var(--vellum);
  border: 1px solid var(--surface-edge);
  border-radius: 12px;
  padding: 10px;
}
.mock-greet {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--teal);
  margin-bottom: 4px;
}
.mock-verse {
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-size: 9.5px;
  line-height: 1.35;
  color: var(--ink-light);
}
.mock-ios-ring {
  display: grid; place-items: center;
  padding: 6px 0;
}
.mock-ios-rows {
  display: flex; flex-direction: column;
  gap: 6px;
  margin-top: auto;
}
.mock-ios-rows div {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--vellum);
  border: 1px solid var(--surface-edge);
  border-radius: 9px;
  padding: 7px 10px;
  font-size: 10px;
  color: var(--ink-light);
  font-family: 'Crimson Pro', serif;
  font-weight: 500;
}
.mock-ios-rows em {
  font-style: normal;
  color: var(--amber);
}
.mock-soon-seal {
  display: grid; place-items: center;
  padding: 10px 0;
  animation: slowSpin 40s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .mock-soon-seal { animation: none; }
}
@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Mac mockup */
.platform-mockup-mac { padding: 20px 8px 10px; }
.mac-frame {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
  border-radius: 10px;
  padding: 6px;
  box-shadow:
    0 16px 36px rgba(31, 21, 9, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
}
.mac-bar {
  display: flex; gap: 5px;
  padding: 6px 8px;
  flex-shrink: 0;
}
.mac-dot { width: 9px; height: 9px; border-radius: 50%; }
.mac-dot-r { background: #ff5f57; }
.mac-dot-y { background: #febc2e; }
.mac-dot-g { background: #28c840; }
.mac-screen {
  flex: 1;
  position: relative;
  background: var(--parchment);
  border-radius: 6px;
  overflow: hidden;
}
.mac-shots { position: absolute; inset: 0; }
.mac-shot {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top left;
  opacity: 0;
  transition: opacity 900ms var(--ease);
}
.mac-shot.is-active { opacity: 1; }
.mock-mac-sidebar {
  background: var(--parchment-3);
  padding: 10px 8px;
  border-right: 1px solid var(--surface-edge);
}
.mock-mac-user {
  font-family: 'Cormorant Garamond', serif;
  font-size: 9px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.mock-mac-sidebar ul { display: flex; flex-direction: column; gap: 4px; }
.mock-mac-sidebar li {
  font-family: 'Crimson Pro', serif;
  font-size: 10px;
  padding: 4px 6px;
  border-radius: 4px;
  color: var(--ink-light);
}
.mock-mac-sidebar li.active {
  background: color-mix(in srgb, var(--teal) 18%, transparent);
  color: var(--teal);
  font-weight: 600;
}
.mock-mac-detail { padding: 12px 14px; }
.mock-mac-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.mock-mac-bubble {
  background: var(--vellum);
  border: 1px solid var(--surface-edge);
  border-radius: 9px;
  padding: 8px 10px;
  font-size: 9.5px;
  color: var(--ink-light);
  font-family: 'Crimson Pro', serif;
  line-height: 1.4;
  margin-bottom: 6px;
  max-width: 80%;
}
.mock-mac-bubble-reply {
  background: color-mix(in srgb, var(--teal) 10%, var(--vellum));
  border-color: color-mix(in srgb, var(--teal) 30%, var(--surface-edge));
  margin-left: auto;
}

.platform-head { flex: 1; }
.platform-status {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  font-weight: 600;
  font-family: 'Crimson Pro', serif;
  margin-bottom: 10px;
}
.platform-status-live {
  background: color-mix(in srgb, var(--sage) 22%, transparent);
  color: var(--sage);
}
.platform-status-soon {
  background: color-mix(in srgb, var(--amber-500) 25%, transparent);
  color: var(--amber-700);
}
.platform-card h3 {
  font-size: 28px;
  margin-bottom: 8px;
}
.platform-head p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}

/* ── Closing verse ─────────────────────────────────────────────────── */
.closing {
  padding: 100px 0 120px;
  text-align: center;
}
.closing-verse {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.3;
  color: var(--ink);
  max-width: 720px;
  margin: 24px auto 16px;
}
.closing-cite {
  font-family: 'Crimson Pro', serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Footer ────────────────────────────────────────────────────────── */
.site-footer {
  padding: 64px 0 40px;
  background: var(--parchment-2);
  border-top: 1px solid var(--surface-edge);
  position: relative;
  z-index: 5;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}
.footer-brand {
  display: flex; gap: 14px; align-items: center;
}
.footer-brand-word {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}
.footer-tag {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
}

/* ── Footer contact row (lives in the footer-bottom strip) ────────── */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 22px;
  font-family: 'Crimson Pro', serif;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  width: 100%;
}
.footer-contact li {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.footer-contact li + li::before {
  content: '·';
  position: absolute;
  left: -14px;
  color: var(--muted);
  opacity: 0.45;
  font-size: 16px;
  line-height: 1;
}
.footer-contact-link,
.footer-contact-addr {
  display: inline;
  color: var(--muted);
  font-style: normal;
  transition: color 220ms var(--ease);
}
.footer-contact-link:hover,
.footer-contact-link:focus-visible {
  color: var(--amber);
}
.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}
@media (max-width: 720px) {
  .footer-contact { font-size: 12.5px; gap: 8px 18px; }
  .footer-contact li + li::before { left: -11px; }
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col-head {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.footer-nav a {
  display: block;
  font-size: 15px;
  color: var(--ink-light);
  padding: 4px 0;
  transition: color 200ms var(--ease);
}
.footer-nav a:hover { color: var(--amber); }
.footer-bottom {
  display: flex; flex-direction: column; align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--surface-edge);
  font-size: 13px;
  color: var(--muted);
  gap: 14px;
}
.footer-scripture em {
  font-family: 'Cormorant Garamond', serif;
  color: var(--amber);
  font-size: 14px;
}

/* ── Footer credit — "Developed with [heart] by Honorius M. Neogy" ─ */
.footer-credit {
  font-family: 'Crimson Pro', serif;
  font-size: 14px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.5;
}
.footer-credit-link {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: color 220ms var(--ease), border-color 220ms var(--ease);
}
.footer-credit-link:hover,
.footer-credit-link:focus-visible {
  color: var(--amber);
  border-bottom-color: var(--amber-300);
}
.heart-pulse {
  display: inline-block;
  color: #E04C60;
  font-style: normal;
  font-size: 15px;
  line-height: 1;
  transform-origin: center;
  animation: heartPulse 1.6s ease-in-out infinite;
  filter:
    drop-shadow(0 0 4px rgba(224, 76, 96, 0.55))
    drop-shadow(0 1px 2px rgba(224, 76, 96, 0.35));
  will-change: transform;
  user-select: none;
}
@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  14%      { transform: scale(1.28); }
  28%      { transform: scale(1); }
  42%      { transform: scale(1.18); }
  70%      { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .heart-pulse { animation: none; }
}

/* ── Scroll-reveal ─────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .lumen-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 720px) {
  .nav { padding: 12px 20px; gap: 16px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 4px;
    margin-left: auto;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
  }
  .nav-toggle span {
    display: block;
    width: 22px; height: 1.5px;
    background: var(--ink);
    transition: transform 200ms var(--ease), opacity 200ms var(--ease);
  }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

  .site-header.nav-open .nav-links {
    display: flex;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column;
    padding: 20px 24px;
    gap: 14px;
    background: var(--surface-strong);
    backdrop-filter: blur(18px);
    border-top: 1px solid var(--surface-edge);
    border-bottom: 1px solid var(--surface-edge);
  }

  .hero { padding: 100px 16px 60px; }
  .ornament-top { width: 180px; }
  .intro, .features, .lumen, .journey, .platforms, .closing { padding-left: 20px; padding-right: 20px; }
  .intro { padding-top: 80px; padding-bottom: 60px; }
  .features, .lumen, .journey, .platforms { padding-top: 80px; padding-bottom: 80px; }

  .feature-grid { gap: 14px; }
  .feature-card { padding: 26px 22px; }

  .rank-ladder::before { left: 27px; }
  .rank-step { padding: 16px 18px; gap: 14px; }
  .rank-icon { width: 40px; height: 40px; font-size: 19px; }
  .rank-name { font-size: 19px; }
  .rank-verse { font-size: 13px; }
  .rank-level { font-size: 11px; padding: 4px 9px; }

  .footer-nav { grid-template-columns: 1fr 1fr; gap: 24px; }

  .lumen-card { padding: 22px; }
  .phone-frame { width: 180px; }
}

/* ── High-density parchment effect on supported color-mix browsers ─ */
@supports not (background: color-mix(in srgb, red, blue)) {
  .site-header.scrolled { background: rgba(242, 230, 204, 0.82); }
  .lumen-fresco::after,
  .platforms-fresco::after,
  .hero-fresco-wash { opacity: 0.9; }
}

/* =====================================================================
   SUBPAGE STYLES — Knowledge Center, FAQ, Terms, Support, Privacy,
   Accessibility, Contact
   ===================================================================== */

/* ── Page hero (smaller than home, no fresco backdrop) ────────────── */
.page-hero {
  position: relative;
  padding: 140px 0 60px;
  text-align: center;
  overflow: hidden;
}
.page-hero-fresco {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
}
.page-hero-fresco img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.28;
  filter: saturate(0.72);
  mix-blend-mode: multiply;
}
.page-hero-fresco::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--parchment) 35%, transparent) 0%,
    color-mix(in srgb, var(--parchment) 15%, transparent) 45%,
    var(--parchment) 100%);
}
.page-hero-inner {
  position: relative; z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.page-hero .ornament { width: 200px; margin-bottom: 18px; }
.page-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.0;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.page-hero h1 .italic {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(135deg, var(--amber-700), var(--amber-300), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(17px, 2vw, 22px);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 10px;
  line-height: 1.4;
}
.page-hero-meta {
  font-family: 'Crimson Pro', serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 18px;
}

/* ── Page body ────────────────────────────────────────────────────── */
.page-body {
  padding: 40px 0 100px;
}
.page-body .container { max-width: 860px; }

/* ── Cards (used by Privacy, Terms, Support, Contact) ─────────────── */
.page-card {
  background: var(--surface-strong);
  border: 1px solid var(--surface-edge);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
}
.page-card h2 {
  font-size: clamp(24px, 3.2vw, 30px);
  line-height: 1.2;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-card h2 .h2-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--amber-500), var(--amber-300));
  border-radius: 10px;
  font-size: 20px;
  box-shadow: 0 3px 10px rgba(217, 166, 90, 0.30);
  flex-shrink: 0;
}
.page-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 22px 0 10px;
}
.page-card p,
.page-card li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-light);
  margin-bottom: 12px;
}
.page-card p:last-child,
.page-card li:last-child { margin-bottom: 0; }
.page-card ul,
.page-card ol {
  padding-left: 22px;
  margin-bottom: 16px;
}
.page-card ul li { list-style: disc; list-style-position: outside; }
.page-card ol li { list-style: decimal; list-style-position: outside; }
.page-card strong { color: var(--ink); font-weight: 600; }
.page-card a {
  color: var(--teal);
  border-bottom: 1px solid color-mix(in srgb, var(--teal) 40%, transparent);
  padding-bottom: 1px;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.page-card a:hover {
  color: var(--amber);
  border-color: var(--amber);
}
.page-card code {
  font-family: ui-monospace, 'SF Mono', Consolas, monospace;
  font-size: 14px;
  background: color-mix(in srgb, var(--amber-500) 20%, transparent);
  color: var(--amber-700);
  padding: 2px 7px;
  border-radius: 5px;
}
.page-card-cta,
.page-card a.page-card-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  padding: 14px 28px;
  min-width: 220px;
  /* Solid darker gold — no gradient glare; max contrast for black text. */
  background: #D9A65A !important;
  background-image: none !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  border: 0 !important;
  border-bottom: 0 !important;
  border-radius: var(--radius-md);
  font-family: 'Crimson Pro', serif;
  font-weight: 700 !important;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none !important;
  text-shadow: none !important;
  opacity: 1 !important;
  box-shadow: 0 4px 14px rgba(184, 134, 63, 0.32);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease);
}
.page-card-cta:hover,
.page-card a.page-card-cta:hover {
  transform: translateY(-2px);
  background: #B8863F !important;
  box-shadow: 0 8px 22px rgba(184, 134, 63, 0.44);
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  border-color: transparent !important;
}

/* ── Intro blurb (appears once above cards) ───────────────────────── */
.page-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
  padding: 0 24px;
}
.page-intro p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--ink-light);
  line-height: 1.55;
}

/* ── TOC (Knowledge Center) ───────────────────────────────────────── */
.page-toc {
  background: var(--surface);
  border: 1px solid var(--surface-edge);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 36px;
}
.page-toc h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.page-toc ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px 20px;
}
.page-toc a {
  display: block;
  padding: 6px 0;
  color: var(--ink-light);
  font-size: 15px;
  border-bottom: 1px solid transparent;
  transition: color 180ms var(--ease), padding-left 180ms var(--ease);
}
.page-toc a:hover {
  color: var(--amber);
  padding-left: 6px;
  border-color: transparent;
}

/* ── KC section (header + accordion group) ────────────────────────── */
.kc-section { margin-bottom: 36px; scroll-margin-top: 100px; }
.kc-section-head {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--surface-edge);
}
.kc-section-head .kc-section-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--amber-500), var(--amber-300));
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(217, 166, 90, 0.30);
}
.kc-section-head h2 {
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 2px;
}
.kc-section-head p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

/* ── Accordion (<details>) ────────────────────────────────────────── */
.page-accordion {
  background: var(--surface-strong);
  border: 1px solid var(--surface-edge);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}
.page-accordion:hover { border-color: var(--amber-300); }
.page-accordion[open] {
  box-shadow: var(--shadow-card);
  border-color: var(--amber-300);
}
.page-accordion summary {
  padding: 18px 22px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.page-accordion summary::-webkit-details-marker { display: none; }
.page-accordion summary::after {
  content: '＋';
  width: 24px; height: 24px;
  display: grid; place-items: center;
  color: var(--amber);
  font-size: 22px;
  font-weight: 300;
  transition: transform 220ms var(--ease);
  flex-shrink: 0;
}
.page-accordion[open] summary::after { content: '−'; }
.page-accordion-body {
  padding: 0 22px 20px;
  color: var(--ink-light);
  font-size: 16px;
  line-height: 1.65;
}
.page-accordion-body p,
.page-accordion-body li { margin-bottom: 10px; }
.page-accordion-body ul,
.page-accordion-body ol { padding-left: 20px; margin: 8px 0 12px; }
.page-accordion-body li { list-style: disc; list-style-position: outside; }
.page-accordion-body ol li { list-style: decimal; }
.page-accordion-body strong { color: var(--ink); font-weight: 600; }
.page-accordion-body a {
  color: var(--teal);
  border-bottom: 1px solid color-mix(in srgb, var(--teal) 40%, transparent);
}
.page-accordion-body a:hover { color: var(--amber); border-color: var(--amber); }
.page-accordion-body .scripture {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--amber-700);
  padding: 10px 14px;
  background: color-mix(in srgb, var(--amber-500) 14%, transparent);
  border-left: 3px solid var(--amber-300);
  border-radius: 0 8px 8px 0;
  margin: 12px 0 0;
}

/* ── Check-list (accessibility) ───────────────────────────────────── */
.check-list { list-style: none !important; padding: 0 !important; }
.check-list li {
  list-style: none !important;
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 4px; top: 0;
  color: var(--sage);
  font-weight: 700;
  font-size: 16px;
}

/* ── Feature grid (accessibility) ─────────────────────────────────── */
.a11y-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 14px 0 0;
}
.a11y-feature {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--vellum);
  border: 1px solid var(--surface-edge);
  border-radius: var(--radius-md);
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}
.a11y-feature:hover {
  transform: translateY(-2px);
  border-color: var(--amber-300);
}
.a11y-feature-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--teal) 14%, var(--vellum));
  color: var(--teal);
  font-size: 18px;
  flex-shrink: 0;
}
.a11y-feature h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 4px;
}
.a11y-feature p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

/* ── Search input (KC) ────────────────────────────────────────────── */
.page-search {
  position: relative;
  margin-bottom: 28px;
}
.page-search input {
  width: 100%;
  padding: 14px 18px 14px 46px;
  font-family: 'Crimson Pro', serif;
  font-size: 16px;
  background: var(--surface-strong);
  border: 1px solid var(--surface-edge);
  border-radius: var(--radius-md);
  color: var(--ink);
  transition: border-color 200ms var(--ease);
}
.page-search input:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber-500) 30%, transparent);
}
.page-search-icon {
  position: absolute;
  top: 50%; left: 16px;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--muted);
  pointer-events: none;
}

/* ── Contact form (contact page) ──────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.contact-grid.contact-grid-single { grid-template-columns: 1fr; }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--surface-edge);
  border-radius: var(--radius-lg);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease);
}
.contact-item:hover {
  transform: translateY(-3px);
  border-color: var(--amber-300);
}
.contact-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--amber-500), var(--amber-300));
  border-radius: 12px;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(217, 166, 90, 0.25);
}
.contact-item h3 {
  font-size: 18px;
  margin-bottom: 4px;
}
.contact-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 6px;
}
.contact-item a {
  font-family: 'Crimson Pro', serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--teal);
}

/* ── Pill row (for contact subjects) ──────────────────────────────── */
.contact-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.contact-subjects a {
  padding: 8px 16px;
  background: var(--vellum);
  border: 1px solid var(--surface-edge);
  border-radius: 999px;
  color: var(--ink-light);
  font-size: 14px;
  font-weight: 500;
  transition: background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}
.contact-subjects a:hover {
  background: color-mix(in srgb, var(--amber-500) 24%, var(--vellum));
  border-color: var(--amber-300);
  color: var(--amber-700);
}

/* ── Subpage responsive ───────────────────────────────────────────── */
@media (max-width: 720px) {
  .page-hero { padding: 110px 0 40px; }
  .page-card { padding: 24px 20px; }
  .page-toc { padding: 18px 20px; }
  .page-card h2 { font-size: 22px; }
  .kc-section-head h2 { font-size: 22px; }
  .page-accordion summary { padding: 16px 18px; font-size: 16px; }
  .page-accordion-body { padding: 0 18px 18px; }
}

/* ── Active nav link (for subpages) ───────────────────────────────── */
.nav-links a.active {
  color: var(--amber);
}
.nav-links a.active::after {
  transform: scaleX(1);
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}

/* =====================================================================
   PRESS KIT page
   ===================================================================== */
.pk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.pk-card {
  background: var(--surface-strong);
  border: 1px solid var(--surface-edge);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease), border-color 280ms var(--ease);
  backdrop-filter: blur(10px);
}
.pk-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--amber-300);
}
.pk-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 40%, color-mix(in srgb, var(--amber-500) 18%, transparent), transparent 70%),
    var(--parchment-3);
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--surface-edge);
}
.pk-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 600ms var(--ease);
}
.pk-card:hover .pk-thumb img { transform: scale(1.04); }
.pk-thumb-icon img {
  width: 108px; height: 108px;
  object-fit: contain;
  border-radius: 24px;
  box-shadow:
    0 0 0 1px rgba(184, 134, 63, 0.45),
    0 0 0 8px color-mix(in srgb, var(--amber-500) 14%, transparent),
    0 10px 30px rgba(31, 21, 9, 0.20);
}
.pk-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pk-body h3 {
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 8px;
}
.pk-body p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
}
.pk-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin: 0 0 18px;
  padding: 12px 0;
  border-top: 1px solid var(--surface-edge);
  border-bottom: 1px solid var(--surface-edge);
}
.pk-meta > div { min-width: 0; }
.pk-meta dt {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 2px;
}
.pk-meta dd {
  margin: 0;
  font-family: 'Crimson Pro', serif;
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.35;
}
.pk-download {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: #D9A65A !important;
  background-image: none !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  border: 0 !important;
  border-radius: var(--radius-md);
  font-family: 'Crimson Pro', serif;
  font-weight: 700 !important;
  font-size: 15px;
  text-shadow: none !important;
  box-shadow: 0 4px 14px rgba(184, 134, 63, 0.32);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
  text-align: center;
}
.pk-download:hover {
  transform: translateY(-2px);
  background: #B8863F !important;
  box-shadow: 0 8px 22px rgba(184, 134, 63, 0.44);
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  border-color: transparent;
}
.pk-card-icon .pk-body h3 {
  background: linear-gradient(135deg, var(--amber-700), var(--amber-300), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 720px) {
  .pk-grid { gap: 14px; }
  .pk-body { padding: 18px 20px 20px; }
  .pk-meta { grid-template-columns: 1fr 1fr; gap: 8px 14px; }
}

/* ── Press-kit gallery sections ───────────────────────────────────── */
.pk-section {
  margin-bottom: 64px;
  scroll-margin-top: 90px;
}
.pk-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--surface-edge);
  flex-wrap: wrap;
}
.pk-section-head h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.15;
  margin-bottom: 4px;
}
.pk-section-head p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
  max-width: 560px;
}
.pk-zip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: 'Crimson Pro', serif;
  font-weight: 700 !important;
  font-size: 14px;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  background: #D9A65A !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: var(--radius-md);
  text-shadow: none !important;
  box-shadow: 0 4px 14px rgba(184, 134, 63, 0.32);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}
.pk-zip-btn:hover {
  transform: translateY(-2px);
  background: #B8863F !important;
  box-shadow: 0 8px 22px rgba(184, 134, 63, 0.44);
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  border-color: transparent;
}

/* Gallery grids — different aspect ratios per device */
.pk-gallery {
  display: grid;
  gap: 16px;
}
.pk-gallery-phone { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.pk-gallery-tablet { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.pk-gallery-mac { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.pk-gallery-hero {
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 780px;
  margin: 0 auto;
}

.pk-item {
  background: var(--surface-strong);
  border: 1px solid var(--surface-edge);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 240ms var(--ease), border-color 240ms var(--ease), box-shadow 240ms var(--ease);
  margin: 0;
}
.pk-item:hover {
  transform: translateY(-3px);
  border-color: var(--amber-300);
  box-shadow: var(--shadow-card);
}
.pk-item-preview {
  display: block;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 40%, color-mix(in srgb, var(--amber-500) 12%, transparent), transparent 70%),
    var(--parchment-3);
}
.pk-gallery-phone .pk-item-preview {
  aspect-ratio: 9 / 19.5;
}
/* Hero: no forced aspect; let the real composition height show. */
.pk-gallery-hero .pk-item-preview img {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  object-position: center top;
  transition: transform 500ms var(--ease);
}
.pk-gallery-hero .pk-item-preview {
  padding: 24px;
  background:
    radial-gradient(ellipse at 50% 30%, color-mix(in srgb, var(--amber-500) 14%, transparent), transparent 70%),
    var(--parchment-3);
}
.pk-gallery-hero .pk-item-title { font-size: 18px; }
.pk-gallery-hero .pk-item-meta { font-size: 13px; }
.pk-gallery-tablet .pk-item-preview {
  aspect-ratio: 3 / 4;
}
.pk-gallery-mac .pk-item-preview {
  aspect-ratio: 16 / 10;
}
.pk-item-preview img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 500ms var(--ease);
}
.pk-item:hover .pk-item-preview img { transform: scale(1.04); }
.pk-item-preview-icon {
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  padding: 24px;
}
.pk-item-preview-icon img {
  width: 60%; height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 22px;
  box-shadow:
    0 0 0 1px rgba(184, 134, 63, 0.45),
    0 0 0 6px color-mix(in srgb, var(--amber-500) 14%, transparent),
    0 8px 24px rgba(31, 21, 9, 0.20);
  transition: transform 400ms var(--ease);
}
.pk-item-caption {
  padding: 12px 14px 4px;
}
.pk-item-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
  line-height: 1.25;
}
.pk-item-meta {
  font-family: 'Crimson Pro', serif;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.pk-item-btn {
  margin: 10px 14px 14px;
  padding: 8px 12px;
  font-family: 'Crimson Pro', serif;
  font-size: 13px;
  font-weight: 700 !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  background: #D9A65A !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 8px;
  text-align: center;
  text-shadow: none !important;
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}
.pk-item-btn:hover {
  background: #B8863F !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  border-color: transparent;
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .pk-section-head { gap: 14px; }
  .pk-gallery-phone { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
  .pk-gallery-tablet { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pk-gallery-mac { grid-template-columns: 1fr; }
  .pk-item-caption { padding: 10px 12px 12px; }
  .pk-item-title { font-size: 14px; }
}
@media (max-width: 420px) {
  .pk-gallery-phone { grid-template-columns: repeat(2, 1fr); }
}

/* ── Press-kit lightbox ───────────────────────────────────────────── */
.pk-lightbox {
  position: fixed; inset: 0;
  z-index: 1000;
  display: grid; place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 220ms var(--ease);
}
.pk-lightbox.is-open { opacity: 1; }
.pk-lightbox[hidden] { display: none; }
.pk-lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(8, 12, 24, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.pk-lb-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  max-width: 1180px;
  width: 100%;
  max-height: calc(100vh - 48px);
  color: var(--ink);
  animation: pkLbIn 320ms var(--ease);
}
@keyframes pkLbIn {
  from { transform: translateY(8px) scale(0.98); opacity: 0; }
  to   { transform: translateY(0) scale(1);    opacity: 1; }
}
.pk-lb-stage {
  display: grid; place-items: center;
  min-height: 0;
  max-height: calc(100vh - 48px);
  padding: 8px;
}
.pk-lb-stage img {
  max-width: 100%;
  max-height: calc(100vh - 80px);
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(184, 134, 63, 0.28);
}

.pk-lb-info {
  background: var(--surface-strong);
  border: 1px solid var(--surface-edge);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  backdrop-filter: blur(14px);
}
.pk-lb-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 26px;
  margin-bottom: 10px;
  line-height: 1.2;
  color: var(--ink);
}
.pk-lb-info p {
  font-family: 'Crimson Pro', serif;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 20px;
}
.pk-lb-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 20px;
  padding: 0;
}
.pk-lb-meta > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--surface-edge);
}
.pk-lb-meta > div:first-child { border-top: 1px solid var(--surface-edge); }
.pk-lb-meta dt {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.pk-lb-meta dd {
  margin: 0;
  font-family: 'Crimson Pro', serif;
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
  text-align: right;
  word-break: break-all;
}
.pk-lb-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  background: #D9A65A !important;
  background-image: none !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  border: 0 !important;
  border-radius: var(--radius-md);
  font-family: 'Crimson Pro', serif;
  font-weight: 700 !important;
  font-size: 16px;
  text-shadow: none !important;
  box-shadow: 0 6px 18px rgba(184, 134, 63, 0.38);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
  text-align: center;
  margin-top: auto;
}
.pk-lb-download:hover {
  transform: translateY(-2px);
  background: #B8863F !important;
  box-shadow: 0 10px 26px rgba(184, 134, 63, 0.50);
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  border-color: transparent;
}
.pk-lb-counter {
  text-align: center;
  font-family: 'Crimson Pro', serif;
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
  letter-spacing: 0.1em;
}

/* Close / nav buttons */
.pk-lb-close, .pk-lb-nav {
  position: absolute;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: rgba(20, 35, 59, 0.65);
  border: 1px solid rgba(217, 166, 90, 0.30);
  color: var(--ink-light);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease);
  z-index: 2;
}
@media (prefers-color-scheme: light) {
  .pk-lb-close, .pk-lb-nav {
    background: rgba(255, 248, 231, 0.92);
    color: var(--ink);
    border-color: var(--surface-edge);
  }
}
.pk-lb-close { top: 18px; right: 18px; }
.pk-lb-nav { top: 50%; transform: translateY(-50%); }
.pk-lb-prev { left: 18px; }
.pk-lb-next { right: 18px; }
.pk-lb-close:hover, .pk-lb-nav:hover {
  background: var(--amber-300);
  color: var(--ink);
  border-color: var(--amber);
}
.pk-lb-nav:hover { transform: translateY(-50%) scale(1.06); }

.pk-open { cursor: zoom-in; }

@media (max-width: 900px) {
  .pk-lb-content { grid-template-columns: 1fr; max-height: none; overflow-y: auto; }
  .pk-lb-stage { max-height: 60vh; }
  .pk-lb-stage img { max-height: 58vh; }
  .pk-lb-info { max-height: none; padding: 20px; }
  .pk-lb-info h3 { font-size: 22px; }
  .pk-lb-nav { top: auto; bottom: 18px; transform: none; }
  .pk-lb-nav:hover { transform: scale(1.06); }
  .pk-lb-prev { left: 18px; }
  .pk-lb-next { right: 18px; }
}
