/* Floremus website: shared styles for every page (site/build.mjs writes the pages). */
:root {
  /* Royal (dark sections) */
  --royal-night: #14052a;
  --royal-deep: #22083f;
  --royal: #4c1489;
  --purple: #6b21a8;
  --purple-bright: #8b3fd1;
  --on-royal: #fbf6ec;
  --on-royal-muted: #d6c9e6;
  /* Ivory (light sections) */
  --ivory: #fbf8f2;
  --ivory-2: #f4eee3;
  --lavender: #efe6f8;
  --ink: #1d1230;
  --ink-muted: #574b68;
  /* Gold and sage */
  --gold: #d8b46a;
  --gold-light: #fff1cf;
  --gold-deep: #a9803a;
  --sage: #7f9670;
  --edge-dark: rgba(255, 241, 207, 0.16);
  --edge-light: rgba(76, 20, 137, 0.12);
  --title: 'Libre Caslon Display', 'Libre Caslon Text', Georgia, serif;
  --body: 'Libre Caslon Text', Georgia, serif;
  --label: 'Cormorant SC', 'Libre Caslon Text', Georgia, serif;
  --gutter: clamp(16px, 5vw, 48px);
  --foil-gold: linear-gradient(100deg, #c9a05a 0%, #fff1cf 18%, #d8b46a 34%, #fff8e6 50%, #b98d45 66%, #f6dfa6 82%, #c9a05a 100%);
  --foil-royal: linear-gradient(100deg, #4c1489 0%, #8b3fd1 20%, #4c1489 40%, #b07ae6 55%, #6b21a8 72%, #4c1489 100%);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--ivory); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--title); font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; }
.label { display: inline-block; font-family: var(--label); font-weight: 600; font-size: 17px; line-height: 1.4; letter-spacing: 0.14em; }
.dark { background: var(--royal-night); color: var(--on-royal); }
.dark .label { color: var(--gold); }
.light .label { color: var(--purple); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.light :focus-visible { outline-color: var(--purple); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold-light); color: var(--ink); padding: 12px 18px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* Foil text: shimmer that moves across the letters */
.foil-gold, .foil-royal { background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: foil 7s ease-in-out infinite alternate; padding: 0.06em 0.04em 0.1em; margin: -0.06em -0.04em -0.1em; }
.foil-gold { background-image: var(--foil-gold); }
.foil-royal { background-image: var(--foil-royal); }
@keyframes foil { from { background-position: 0% 0; } to { background-position: 100% 0; } }

/* Buttons with a sheen that sweeps across every few seconds */
.btn {
  position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 30px; border-radius: 999px; font-family: var(--body); font-size: 17px; text-decoration: none;
  white-space: nowrap; cursor: pointer; transition: transform 0.25s, box-shadow 0.25s;
}
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 66%);
  background-size: 300% 100%; background-position: 140% 0; animation: sweep 5.5s ease-in-out infinite;
}
@keyframes sweep { 0%, 55% { background-position: 140% 0; } 100% { background-position: -40% 0; } }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.98); }
.btn-gold { color: #2a1305; background: var(--foil-gold); background-size: 200% 100%; box-shadow: 0 14px 34px -14px rgba(216, 180, 106, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.btn-royal { color: #fff; background: linear-gradient(135deg, var(--purple-bright), var(--purple) 45%, var(--royal)); box-shadow: 0 16px 34px -14px rgba(107, 33, 168, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-royal::after { background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 48%, transparent 66%); background-size: 300% 100%; background-position: 140% 0; }
.btn-outline { color: var(--purple); border: 1.5px solid rgba(107, 33, 168, 0.35); background: #fff; }
.btn-outline::after { display: none; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; white-space: nowrap; }
.dark .text-link { color: var(--gold-light); text-decoration-color: rgba(255, 241, 207, 0.4); }
.light .text-link { color: var(--purple); text-decoration-color: rgba(107, 33, 168, 0.35); }

/* Sparkles */
.sparkles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.sparkles i { position: absolute; width: 10px; height: 10px; opacity: 0; animation: twinkle 4.8s ease-in-out infinite; }
.sparkles i::before { content: ''; position: absolute; inset: 0; background: var(--gold-light);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); filter: drop-shadow(0 0 6px rgba(255, 241, 207, 0.9)); }
.sparkles i:nth-child(1) { left: 8%; top: 22%; animation-delay: 0.2s; }
.sparkles i:nth-child(2) { left: 18%; top: 70%; animation-delay: 1.6s; transform: scale(0.7); }
.sparkles i:nth-child(3) { left: 32%; top: 12%; animation-delay: 3.1s; transform: scale(0.6); }
.sparkles i:nth-child(4) { left: 46%; top: 84%; animation-delay: 0.9s; }
.sparkles i:nth-child(5) { left: 61%; top: 18%; animation-delay: 2.4s; transform: scale(0.8); }
.sparkles i:nth-child(6) { left: 74%; top: 62%; animation-delay: 3.8s; transform: scale(0.6); }
.sparkles i:nth-child(7) { left: 88%; top: 30%; animation-delay: 1.2s; }
.sparkles i:nth-child(8) { left: 93%; top: 80%; animation-delay: 2.9s; transform: scale(0.7); }
@keyframes twinkle { 0%, 100% { opacity: 0; } 45% { opacity: 1; } 60% { opacity: 0.85; } }

/* Nav */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 10; color: var(--on-royal); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 88px; padding-top: 6px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font-family: var(--title); font-size: 27px; }
.nav-logo { display: block; height: 56px; width: auto; filter: drop-shadow(0 0 14px rgba(255, 241, 207, 0.22)); }
.nav .text-link { color: var(--gold-light); text-decoration-color: rgba(255, 241, 207, 0.4); font-size: 16px; }

/* Hero */
.hero {
  overflow: hidden; isolation: isolate; padding: clamp(120px, 14vw, 150px) 0 clamp(72px, 9vw, 110px);
  background:
    radial-gradient(ellipse 55% 60% at 78% 40%, rgba(139, 63, 209, 0.55), transparent 70%),
    radial-gradient(ellipse 60% 55% at 15% 10%, rgba(216, 180, 106, 0.16), transparent 65%),
    linear-gradient(160deg, var(--royal-night) 0%, var(--royal-deep) 45%, #3a0c6b 100%);
}
.rays { position: absolute; left: 50%; top: 40%; width: 1800px; height: 1800px; margin: -900px 0 0 -900px; z-index: -1; pointer-events: none; opacity: 0.22;
  background: repeating-conic-gradient(from 0deg, rgba(255, 241, 207, 0.22) 0deg 3deg, transparent 3deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 0%, transparent 60%); mask: radial-gradient(circle, #000 0%, transparent 60%);
  animation: spin 120s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 72px); align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(44px, 6.6vw, 80px); line-height: 1.04; letter-spacing: -0.018em; color: var(--on-royal); }
.hero h1 .foil-gold { display: inline; }
.hero .lede { font-size: clamp(18px, 1.9vw, 21px); color: var(--on-royal-muted); max-width: 32em; margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 38px; }
.hero-note { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 8px 16px 8px 10px; border-radius: 999px; font-size: 15px;
  color: var(--on-royal); background: rgba(255, 241, 207, 0.08); border: 1px solid var(--edge-dark); }
.hero-note b { font-weight: 400; color: var(--gold-light); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(216, 180, 106, 0.7); animation: pulse 2.4s ease-out infinite; flex-shrink: 0; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(216, 180, 106, 0.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(216, 180, 106, 0); } }

/* Phone frame with a moving gleam */
.phone { position: relative; width: 100%; max-width: 320px; margin: 0 auto; border-radius: 46px; padding: 10px;
  background: linear-gradient(145deg, #3d2a57, #120722 40%, #2b1a42 70%, #0d0518);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 241, 207, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.15); }
.phone img { border-radius: 37px; width: 100%; aspect-ratio: 660 / 1408; object-fit: cover; object-position: top; background: var(--ivory); }
.phone::after { content: ''; position: absolute; inset: 10px; border-radius: 37px; pointer-events: none;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.35) 47%, transparent 58%); background-size: 300% 100%;
  animation: gleam 6.5s ease-in-out infinite; mix-blend-mode: soft-light; }
@keyframes gleam { 0%, 50% { background-position: 150% 0; } 100% { background-position: -50% 0; } }
.hero .phone { transform: rotate(-3deg); }
.hero .phone-wrap { position: relative; }
.hero .phone-wrap::before { content: ''; position: absolute; inset: 8% -8%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(216, 180, 106, 0.35), transparent 65%); filter: blur(20px); }

/* Entrance */
.rise { opacity: 0; transform: translateY(18px); animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.rise-1 { animation-delay: 0.1s; } .rise-2 { animation-delay: 0.3s; } .rise-3 { animation-delay: 0.5s; } .rise-4 { animation-delay: 0.7s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Meaning (light) */
.meaning { padding: clamp(96px, 13vw, 160px) 0; text-align: center; overflow: hidden;
  background: radial-gradient(ellipse 50% 60% at 50% 40%, var(--lavender), transparent 70%), var(--ivory); }
.meaning .word { font-family: var(--title); font-size: clamp(64px, 14vw, 156px); line-height: 1; letter-spacing: -0.02em; }
.meaning .gloss { margin-top: 18px; font-size: clamp(20px, 2.4vw, 26px); color: var(--ink); }
.meaning .gloss em { color: var(--purple); }
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 40px auto 0; }
.ornament span { width: 90px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-deep)); }
.ornament span:last-child { transform: scaleX(-1); }
.medallion { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; flex-shrink: 0;
  background: radial-gradient(circle at 35% 30%, #3a0c6b, var(--royal-night) 75%);
  box-shadow: 0 0 0 1.5px rgba(216, 180, 106, 0.55), 0 12px 28px -10px rgba(76, 20, 137, 0.7); }
.medallion img { width: 50px; height: auto; }
.meaning blockquote { max-width: 32em; margin: 28px auto 0; font-style: italic; font-size: clamp(18px, 2vw, 21px); color: var(--ink-muted); line-height: 1.8; }
.meaning cite { display: block; margin-top: 12px; font-style: normal; font-family: var(--label); font-weight: 600; font-size: 17px; letter-spacing: 0.14em; color: var(--purple); }

/* Thesis (dark) */
.thesis { padding: clamp(88px, 12vw, 150px) 0; overflow: hidden; background: linear-gradient(180deg, var(--royal-deep), var(--royal-night)); }
.thesis blockquote { position: relative; z-index: 1; font-family: var(--title); font-size: clamp(32px, 5vw, 60px); line-height: 1.14; letter-spacing: -0.01em; max-width: 19em; }
.thesis p { position: relative; z-index: 1; margin-top: 28px; color: var(--on-royal-muted); max-width: 36em; font-size: 19px; }
.thesis .who { display: block; margin-top: 22px; }

/* Week (light) */
.week { padding: clamp(88px, 12vw, 150px) 0; background: var(--ivory); }
.section-head { max-width: 38em; margin-bottom: clamp(48px, 7vw, 88px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.08; letter-spacing: -0.012em; margin-top: 10px; }
.section-head p { margin-top: 18px; color: var(--ink-muted); }
.dark .section-head p { color: var(--on-royal-muted); }
.day { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.day + .day { margin-top: clamp(72px, 10vw, 128px); }
.day.flip .day-text { order: 2; }
.day h3 { font-size: clamp(44px, 6vw, 72px); line-height: 1; letter-spacing: -0.015em; margin: 8px 0 22px; }
.day h4 { font-family: var(--body); font-weight: 700; font-size: 20px; line-height: 1.4; margin-bottom: 8px; }
.day p { color: var(--ink-muted); }
.day p + h4 { margin-top: 24px; }
.day .phone { max-width: 300px; }
.day-visual { position: relative; }
.day-visual::before { content: ''; position: absolute; inset: 6% 4%; z-index: 0; border-radius: 40px; background: linear-gradient(150deg, var(--lavender), #f7ecd6); transform: rotate(4deg); }
.day.flip .day-visual::before { transform: rotate(-4deg); }
.day-visual .phone { z-index: 1; }

.nav-links { display: flex; align-items: center; gap: 24px; }
.new { padding: clamp(80px, 11vw, 130px) 0; background: linear-gradient(180deg, var(--ivory-2), var(--ivory)); }
.newgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.new .also { margin-top: 36px; }
.allweek { margin-top: clamp(72px, 10vw, 128px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; overflow: hidden; isolation: isolate; padding: 28px; border-radius: 28px; background: #fff; border: 1px solid var(--edge-light);
  box-shadow: 0 24px 50px -32px rgba(76, 20, 137, 0.45); }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(216, 180, 106, 0.18) 50%, transparent 65%);
  background-size: 300% 100%; background-position: 150% 0; transition: background-position 1.1s ease; }
.tile:hover::after, .tile.in::after { background-position: -50% 0; }
.tile .ico { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(145deg, var(--purple-bright), var(--royal)); box-shadow: 0 10px 20px -10px rgba(76, 20, 137, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.tile .ico svg { width: 22px; height: 22px; stroke: var(--gold-light); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tile h4 { font-family: var(--title); font-weight: 400; font-size: 24px; line-height: 1.2; margin-bottom: 8px; }
.tile p { color: var(--ink-muted); font-size: 16px; }
.also { margin-top: 40px; text-align: center; color: var(--ink-muted); max-width: 46em; margin-left: auto; margin-right: auto; font-size: 17px; }
.also strong { color: var(--ink); font-weight: 700; }

/* Proof (dark) */
.proof { padding: clamp(88px, 12vw, 150px) 0; overflow: hidden;
  background: radial-gradient(ellipse 60% 70% at 20% 50%, rgba(139, 63, 209, 0.35), transparent 70%), var(--royal-night); }
.proof-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.figure { font-family: var(--title); font-size: clamp(38px, 5.4vw, 62px); line-height: 1.12; }
.figure + .figure { margin-top: 2px; }
.figures .label { margin-bottom: 18px; }
.figures .note { margin-top: 22px; color: var(--on-royal-muted); font-size: 17px; max-width: 26em; }
.quote-card { position: relative; padding: clamp(28px, 4vw, 44px); border-radius: 30px; background: rgba(255, 241, 207, 0.06); border: 1px solid var(--edge-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.quote-card svg { width: 40px; height: 40px; fill: var(--gold); opacity: 0.9; margin-bottom: 14px; }
.quote-card p { font-style: italic; font-size: clamp(21px, 2.4vw, 26px); line-height: 1.55; }
.quote-card footer { margin-top: 20px; }

/* Founder (light) */
.founder { padding: clamp(88px, 12vw, 150px) 0; background: linear-gradient(180deg, var(--ivory), var(--ivory-2)); }
.founder-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.portrait { position: relative; max-width: 360px; width: 100%; padding: 6px; border-radius: 34px; background: var(--foil-gold); background-size: 250% 100%; animation: foil 7s ease-in-out infinite alternate;
  box-shadow: 0 40px 70px -36px rgba(76, 20, 137, 0.6); }
.portrait img { border-radius: 28px; aspect-ratio: 1; width: 100%; object-fit: cover; }
.founder h2 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.12; margin: 10px 0 20px; }
.founder p { color: var(--ink-muted); }
.founder p + p { margin-top: 16px; }
.signature { margin-top: 24px; color: var(--ink) !important; }

/* Offer (dark) */
.offer { padding: clamp(88px, 12vw, 150px) 0; overflow: hidden;
  background: radial-gradient(ellipse 60% 50% at 50% 35%, rgba(139, 63, 209, 0.45), transparent 70%), linear-gradient(180deg, var(--royal-deep), var(--royal-night)); }
.offer .wrap { position: relative; z-index: 1; }
.genesis-shell { position: relative; max-width: 780px; margin: 0 auto; padding: 2px; border-radius: 34px; overflow: hidden; isolation: isolate; }
.genesis-shell::before { content: ''; position: absolute; left: 50%; top: 50%; width: 160%; aspect-ratio: 1; z-index: -1; transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg, rgba(216, 180, 106, 0.15), #fff1cf 12%, rgba(216, 180, 106, 0.15) 25%, rgba(139, 63, 209, 0.6) 50%, rgba(216, 180, 106, 0.15) 75%, #fff1cf 88%, rgba(216, 180, 106, 0.15));
  animation: orbit 8s linear infinite; }
@keyframes orbit { to { transform: translate(-50%, -50%) rotate(360deg); } }
.genesis { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 56px); border-radius: 32px;
  background: linear-gradient(160deg, #2c0d52 0%, #1a0633 100%); }
.genesis::before { content: ''; position: absolute; top: -50px; right: -60px; width: 260px; height: 260px; pointer-events: none; opacity: 0.12; background: var(--foil-gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath d='M10 110A100 100 0 0 1 110 10A100 100 0 0 1 10 110Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath d='M10 110A100 100 0 0 1 110 10A100 100 0 0 1 10 110Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.genesis-top { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; padding-bottom: 28px; border-bottom: 1px solid var(--edge-dark); }
.genesis h3 { font-size: clamp(32px, 4.2vw, 44px); line-height: 1.1; margin-top: 8px; }
.price { font-family: var(--title); font-size: clamp(56px, 8vw, 80px); line-height: 1; white-space: nowrap; }
.price small { font-family: var(--body); font-size: 17px; color: var(--on-royal-muted); margin-left: 8px; -webkit-text-fill-color: var(--on-royal-muted); }
.genesis-terms { position: relative; margin-top: 22px; color: var(--on-royal); }
.genesis-terms span { color: var(--on-royal-muted); }
.includes { position: relative; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; margin: 28px 0 36px; }
.includes li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.5; }
.includes svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.genesis-cta { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.genesis-cta .fine { font-size: 15px; color: var(--on-royal-muted); }
.concierge { max-width: 780px; margin: 22px auto 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  padding: 26px clamp(24px, 4vw, 40px); border-radius: 26px; border: 1px solid var(--edge-dark); background: rgba(255, 241, 207, 0.05); }
.concierge h3 { font-size: 26px; line-height: 1.2; }
.concierge p { color: var(--on-royal-muted); font-size: 16px; margin-top: 6px; max-width: 30em; }
.btn-ghost-gold { color: var(--gold-light); border: 1.5px solid rgba(255, 241, 207, 0.4); background: transparent; }
.btn-ghost-gold::after { background: linear-gradient(115deg, transparent 30%, rgba(255, 241, 207, 0.25) 48%, transparent 66%); background-size: 300% 100%; background-position: 140% 0; }

/* Questions (light) */
.questions { padding: clamp(80px, 11vw, 130px) 0; background: var(--ivory); }
.questions .wrap { max-width: 780px; }
.questions h2 { font-size: clamp(32px, 4.4vw, 48px); margin: 10px 0 30px; }
details { border-bottom: 1px solid var(--edge-light); }
details:first-of-type { border-top: 1px solid var(--edge-light); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 68px; padding: 16px 0; font-size: 20px; }
summary::-webkit-details-marker { display: none; }
summary .plus { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--lavender); transition: transform 0.3s, background-color 0.3s; }
summary .plus svg { width: 16px; height: 16px; stroke: var(--purple); fill: none; stroke-width: 2; }
details[open] summary .plus { transform: rotate(45deg); background: #f5e7c4; }
details p { color: var(--ink-muted); padding: 0 0 26px; max-width: 40em; }
.inline-link { color: var(--purple); text-underline-offset: 4px; overflow-wrap: anywhere; }

/* Close (dark) */
.close { padding: clamp(100px, 14vw, 170px) 0; text-align: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 55% 65% at 50% 55%, rgba(139, 63, 209, 0.55), transparent 70%), var(--royal-night); }
.close .rays { top: 55%; opacity: 0.18; }
.close .wrap { position: relative; z-index: 1; }
.close h2 { font-size: clamp(42px, 7vw, 84px); line-height: 1.04; letter-spacing: -0.018em; }
.close p { color: var(--on-royal-muted); margin: 22px auto 0; max-width: 30em; font-size: 19px; }
.close .hero-actions { justify-content: center; }

footer.site { padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); border-top: 1px solid var(--edge-dark); font-size: 15px; color: var(--on-royal-muted); background: var(--royal-night); }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 32px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
footer.site .text-link { color: var(--gold-light); text-decoration-color: rgba(255, 241, 207, 0.35); }

@media (max-width: 900px) {
  .hero-grid, .day, .proof-grid, .founder-grid { grid-template-columns: minmax(0, 1fr); }
  .hero .phone { max-width: 280px; }
  .day.flip .day-text { order: 0; }
  .day .phone { max-width: 270px; }
  .allweek { grid-template-columns: minmax(0, 1fr); }
  .newgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portrait { max-width: 300px; }
}
@media (max-width: 640px) {
  .includes { grid-template-columns: minmax(0, 1fr); }
  .newgrid { grid-template-columns: minmax(0, 1fr); }
  .nav-new { display: none; }
}
@media (max-width: 420px) {
  body { font-size: 17px; }
  .hero-actions .btn, .genesis-cta .btn, .concierge .btn { width: 100%; }
  .nav .text-link { font-size: 15px; }
  .wordmark { font-size: 23px; }
  .nav-logo { height: 46px; }
  .label { font-size: 15px; letter-spacing: 0.1em; }
}

/* More shimmer and sheen */
.foil-gold, .foil-royal { animation-duration: 4.5s; }
.foil-gold { filter: drop-shadow(0 0 14px rgba(255, 241, 207, 0.3)); }
.foil-royal { filter: drop-shadow(0 0 12px rgba(176, 122, 230, 0.25)); }
.dark .label { background: var(--foil-gold); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: foil 6s ease-in-out infinite alternate; }
.dark .label.rise { animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards, foil 6s ease-in-out infinite alternate; }
.sparkles i:nth-child(9) { left: 4%; top: 52%; animation-delay: 4.2s; transform: scale(0.5); }
.sparkles i:nth-child(10) { left: 26%; top: 40%; animation-delay: 2s; transform: scale(0.9); }
.sparkles i:nth-child(11) { left: 54%; top: 48%; animation-delay: 3.5s; transform: scale(0.5); }
.sparkles i:nth-child(12) { left: 68%; top: 6%; animation-delay: 0.6s; transform: scale(1.2); }
.sparkles i:nth-child(13) { left: 82%; top: 46%; animation-delay: 4.5s; transform: scale(0.6); }
.sparkles i:nth-child(14) { left: 38%; top: 92%; animation-delay: 1.9s; transform: scale(0.8); }
.sparkles.on-light i::before { background: var(--gold); filter: drop-shadow(0 0 5px rgba(216, 180, 106, 0.85)); }
.meaning > .wrap, .new > .wrap { position: relative; z-index: 1; }
.phone::before { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: 46px; padding: 1.5px; pointer-events: none;
  background: linear-gradient(130deg, transparent 20%, rgba(255, 241, 207, 0.9) 45%, rgba(216, 180, 106, 0.25) 55%, transparent 80%); background-size: 250% 250%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: rim 6s ease-in-out infinite alternate; }
@keyframes rim { from { background-position: 100% 100%; } to { background-position: 0% 0%; } }
.phone::after { background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.5) 46%, rgba(255, 255, 255, 0.15) 50%, transparent 58%); background-size: 300% 100%; animation-duration: 5s; }
.tile::after { background: linear-gradient(115deg, transparent 35%, rgba(216, 180, 106, 0.22) 47%, rgba(255, 255, 255, 0.7) 50%, rgba(216, 180, 106, 0.22) 53%, transparent 65%); background-size: 300% 100%; }
.tile.in::after { animation: tilesheen 8s ease-in-out infinite; }
.tile:nth-child(2).in::after { animation-delay: 1.2s; } .tile:nth-child(3).in::after { animation-delay: 2.4s; }
.tile:nth-child(4).in::after { animation-delay: 3.6s; } .tile:nth-child(5).in::after { animation-delay: 4.8s; } .tile:nth-child(6).in::after { animation-delay: 6s; }
@keyframes tilesheen { 0% { background-position: 150% 0; } 30%, 100% { background-position: -50% 0; } }
.tile .ico { position: relative; overflow: hidden; }
.tile .ico::after, .medallion::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.6) 48%, transparent 66%); background-size: 300% 100%; animation: sweep 4.5s ease-in-out infinite; }
.medallion { position: relative; overflow: hidden; }
.genesis::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 241, 207, 0.1) 47%, rgba(255, 255, 255, 0.16) 50%, rgba(255, 241, 207, 0.1) 53%, transparent 62%); background-size: 300% 100%;
  animation: sweep 7s ease-in-out infinite; }
.hero::after { content: ''; position: absolute; inset: -20%; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 30% 30%, rgba(255, 241, 207, 0.12), transparent 35%), radial-gradient(circle at 70% 70%, rgba(176, 122, 230, 0.16), transparent 35%);
  animation: drift 16s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(12%, 8%); } }
.btn-gold { box-shadow: 0 14px 34px -14px rgba(216, 180, 106, 0.9), 0 0 24px -6px rgba(255, 241, 207, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.btn::after { animation-duration: 4s; }
/* ---------- Site-wide additions (multi-page site) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Glass: a frosted panel over the royal and lavender light behind it. Solid where blur is not supported. */
.glass { background: rgba(255, 241, 207, 0.06); border: 1px solid var(--edge-dark);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 30px 60px -40px rgba(0, 0, 0, 0.7); }
.light .glass { background: rgba(255, 255, 255, 0.58); border-color: var(--edge-light);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 26px 54px -34px rgba(76, 20, 137, 0.42); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: #2a0d4d; } .light .glass { background: #fff; }
}
/* Soft light behind glass panels on light sections */
.glow { position: absolute; z-index: 0; pointer-events: none; border-radius: 50%; filter: blur(60px); opacity: 0.55; }
.glow.violet { background: radial-gradient(circle, rgba(139, 63, 209, 0.45), transparent 70%); }
.glow.gold { background: radial-gradient(circle, rgba(216, 180, 106, 0.5), transparent 70%); }

/* Navigation: clear over the hero, frosted glass once the page scrolls */
.nav { position: fixed; transition: background-color 0.35s, box-shadow 0.35s; }
.nav .wrap { min-height: 76px; padding-top: 0; }
.nav.scrolled, .nav.open { background: rgba(20, 5, 42, 0.84); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 var(--edge-dark), 0 18px 40px -28px rgba(0, 0, 0, 0.6); }
.nav-logo { height: 48px; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-item { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; font-size: 16px; color: var(--on-royal); text-decoration: none; transition: background-color 0.25s, color 0.25s; }
.nav-item:hover, .nav-item[aria-current="page"] { background: rgba(255, 241, 207, 0.09); color: var(--gold-light); }
.nav-menu .btn { margin-left: 10px; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--edge-dark); background: rgba(255, 241, 207, 0.06); color: var(--gold-light); cursor: pointer; place-items: center; }
.menu-toggle svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.menu-toggle .close-icon, .nav.open .menu-toggle .open-icon { display: none; }
.nav.open .menu-toggle .close-icon { display: block; }
@media (max-width: 900px) {
  .menu-toggle { display: grid; }
  .nav-menu { display: none; position: absolute; top: calc(100% + 8px); left: var(--gutter); right: var(--gutter); flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px; border-radius: 26px; background: rgba(20, 5, 42, 0.96); border: 1px solid var(--edge-dark);
    -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
  .nav.open .nav-menu { display: flex; animation: menu-in 0.28s cubic-bezier(0.22, 1, 0.36, 1); }
  .nav-item { min-height: 52px; padding: 0 18px; font-size: 18px; }
  .nav-menu .btn { margin: 8px 0 0; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px) scale(0.98); } to { opacity: 1; transform: none; } }

/* Shorter dark hero for every page but Home */
.page-hero { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(136px, 15vw, 180px) 0 clamp(64px, 8vw, 100px);
  background: radial-gradient(ellipse 55% 70% at 70% 30%, rgba(139, 63, 209, 0.5), transparent 70%), radial-gradient(ellipse 50% 60% at 15% 10%, rgba(216, 180, 106, 0.14), transparent 65%),
    linear-gradient(160deg, var(--royal-night) 0%, var(--royal-deep) 55%, #3a0c6b 100%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.05; letter-spacing: -0.018em; max-width: 15em; margin: 14px auto 0; }
.page-hero .lede { margin: 22px auto 0; max-width: 34em; font-size: clamp(18px, 1.9vw, 21px); color: var(--on-royal-muted); }
.page-hero .hero-actions { justify-content: center; }

/* App store buttons. The official badges are used when public/site/badge-app-store.svg and badge-google-play.svg exist. */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.store-badge { display: inline-flex; min-height: 44px; border-radius: 10px; }
.store-badge img { height: 48px; width: auto; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px 0 14px; border-radius: 14px; text-decoration: none;
  color: var(--on-royal); background: rgba(255, 241, 207, 0.07); border: 1px solid var(--edge-dark); transition: background-color 0.25s, transform 0.25s; }
.store-btn:hover { background: rgba(255, 241, 207, 0.13); transform: translateY(-1px); }
.store-btn svg { width: 22px; height: 22px; stroke: var(--gold-light); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.2; font-size: 16px; }
.store-btn small { font-size: 12px; letter-spacing: 0.04em; color: var(--on-royal-muted); }
.light .store-btn { color: var(--ink); background: #fff; border-color: var(--edge-light); }
.light .store-btn svg { stroke: var(--purple); }
.light .store-btn small { color: var(--ink-muted); }

/* A week with Floremus: day switcher. Without JavaScript every day simply shows, one after another. */
.weektabs { position: relative; z-index: 1; }
.tablist { display: none; }
.js .tablist { display: flex; width: fit-content; max-width: 100%; margin: 0 auto clamp(40px, 6vw, 64px); padding: 6px; gap: 4px; border-radius: 999px; overflow-x: auto; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.tab { position: relative; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-family: var(--label); font-weight: 600; font-size: 17px; letter-spacing: 0.1em; color: var(--ink-muted); white-space: nowrap; transition: color 0.3s, background-color 0.3s, box-shadow 0.3s; }
.tab:hover { color: var(--purple); }
.tab[aria-selected="true"] { color: var(--gold-light); background: linear-gradient(135deg, var(--purple-bright), var(--purple) 45%, var(--royal)); box-shadow: 0 10px 24px -12px rgba(76, 20, 137, 0.8); }
.js .weektabs .day[hidden] { display: none; }
.js .weektabs .day + .day { margin-top: 0; }
.js .weektabs .day.showing .day-text, .js .weektabs .day.showing .day-visual { animation: panel-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both; }
.js .weektabs .day.showing .day-visual { animation-delay: 0.06s; }
@media (max-width: 560px) {
  .js .tablist { width: 100%; gap: 2px; padding: 5px; }
  .tab { flex: 1 1 auto; min-width: 0; padding: 0 6px; font-size: 14px; letter-spacing: 0.04em; }
}
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.day .more { display: inline-flex; margin-top: 18px; }

/* Email list */
.signup { position: relative; overflow: hidden; padding: clamp(80px, 11vw, 130px) 0; background: var(--ivory); }
.signup-card { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; padding: clamp(28px, 5vw, 56px); border-radius: 34px;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
.signup-card h2 { font-size: clamp(32px, 4.2vw, 46px); line-height: 1.1; margin-top: 8px; }
.signup-card > div > p { margin-top: 14px; color: var(--ink-muted); }
.list-form { width: 100%; }
.list-form .fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.list-form label { display: block; font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.dark .list-form label { color: var(--on-royal); }
.input { width: 100%; min-height: 54px; padding: 0 20px; border-radius: 16px; border: 1.5px solid rgba(76, 20, 137, 0.2); background: #fff;
  font: inherit; font-size: 17px; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; }
.input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(107, 33, 168, 0.14); }
.dark .input { background: rgba(255, 241, 207, 0.06); border-color: rgba(255, 241, 207, 0.22); color: var(--on-royal); }
.dark .input::placeholder { color: rgba(214, 201, 230, 0.7); }
.dark .input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(216, 180, 106, 0.18); }
.list-form .btn { width: 100%; margin-top: 4px; border: 0; }
.list-form .btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--ink-muted); }
.dark .form-note { color: var(--on-royal-muted); }
.form-note a { color: inherit; }
.form-status { margin-top: 12px; font-size: 16px; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status[data-state="ok"] { color: #3f5a33; }
.form-status[data-state="error"] { color: #9b1c38; }
.dark .form-status[data-state="ok"] { color: #cfe3c2; }
.dark .form-status[data-state="error"] { color: #ffc2cf; }

/* Footer */
footer.site { padding: clamp(56px, 8vw, 88px) 0 calc(32px + env(safe-area-inset-bottom)); }
footer.site .wrap { display: block; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 6fr); gap: 36px clamp(24px, 4vw, 48px); }
.foot-brand .wordmark { color: var(--on-royal); }
.foot-brand p { margin-top: 12px; max-width: 22em; }
.foot-brand .foot-social { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 18px; }
.foot-col h2 { font-family: var(--label); font-weight: 600; font-size: 15px; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 10px; }
.foot-col ul { list-style: none; display: grid; gap: 2px; }
.foot-col .text-link { font-size: 15px; }
.foot-list h2 { font-family: var(--title); font-size: 26px; line-height: 1.2; color: var(--on-royal); }
.foot-list > p { margin: 8px 0 16px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--edge-dark); font-size: 14px; }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand, .foot-list { grid-column: 1 / -1; } }
@media (max-width: 760px) { .signup-card { grid-template-columns: minmax(0, 1fr); } }

/* Subscribe page */
.status-card { max-width: 620px; margin: 0 auto; padding: clamp(28px, 5vw, 48px); border-radius: 30px; text-align: center; }
.status-card h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.12; }
.status-card p { margin-top: 14px; color: var(--ink-muted); }
.status-card .btn { margin-top: 26px; }

/* Headings that keep the old look at the right level */
.tile .tile-title { font-family: var(--title); font-weight: 400; font-size: 24px; line-height: 1.2; margin-bottom: 8px; }
.genesis .genesis-title { font-size: clamp(32px, 4.2vw, 44px); line-height: 1.1; margin-top: 8px; }
.concierge .concierge-title { font-size: 26px; line-height: 1.2; }
.week { overflow: hidden; }
.close .stores { justify-content: center; margin-top: 28px; }
.hero .stores { margin-top: 18px; }

/* Plain section for text pages */
.plain { position: relative; overflow: hidden; padding: clamp(80px, 11vw, 130px) 0; background: var(--ivory); }
.plain .wrap { position: relative; z-index: 1; }

/* Voices: real numbers, then what pastors and members say */
.voices-wrap { position: relative; z-index: 1; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: clamp(48px, 7vw, 80px); }
.stat { padding: clamp(20px, 3vw, 30px) 22px; border-radius: 26px; text-align: center; }
.stat-num { font-family: var(--title); font-size: clamp(42px, 5.4vw, 64px); line-height: 1; font-variant-numeric: tabular-nums;
  background: var(--foil-gold); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: foil 6s ease-in-out infinite alternate; }
.stat-label { margin-top: 10px; font-size: 16px; line-height: 1.4; color: var(--on-royal-muted); }
.voices-featured { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 18px; align-items: stretch; }
.voices-side { display: grid; gap: 18px; }
.voice { position: relative; margin: 0; padding: clamp(24px, 3.4vw, 40px); border-radius: 30px; display: flex; flex-direction: column; }
.voice > svg { width: 34px; height: 34px; fill: var(--gold); opacity: 0.9; margin-bottom: 14px; flex-shrink: 0; }
.voice blockquote p { font-style: italic; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.6; color: var(--on-royal); }
.voice blockquote p + p { margin-top: 14px; }
.voice.lead blockquote p { font-size: clamp(20px, 2.1vw, 26px); line-height: 1.55; }
.voice figcaption { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 15px; color: var(--on-royal-muted); }
.voice figcaption b { font-family: var(--label); font-weight: 600; font-size: 17px; letter-spacing: 0.1em; color: var(--gold-light); }
.voice-tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 12px; border-radius: 999px; font-size: 13px; letter-spacing: 0.04em;
  color: var(--gold-light); background: rgba(216, 180, 106, 0.12); border: 1px solid rgba(216, 180, 106, 0.3); }
.voices-sub { margin: clamp(48px, 7vw, 72px) 0 20px; text-align: center; font-family: var(--label); font-weight: 600; font-size: 18px; letter-spacing: 0.14em; color: var(--gold); }
.voices-members { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.voice.member { padding: 22px; border-radius: 24px; }
.voice.member blockquote p { font-size: 17px; line-height: 1.55; }
.voice.member figcaption { justify-content: space-between; font-size: 14px; }
@media (max-width: 1000px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .voices-featured { grid-template-columns: minmax(0, 1fr); }
  .voices-members { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Phones: members' words become a row to swipe through */
@media (max-width: 640px) {
  .stat { padding: 18px 12px; border-radius: 22px; }
  .stat-label { font-size: 14px; }
  .voices-members { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .voices-members::-webkit-scrollbar { display: none; }
  .voice.member { flex: 0 0 78%; scroll-snap-align: center; }
}

/* Drawn phone screens for days without a screenshot (sizes follow the phone's width) */
.phone { container-type: inline-size; }
.screen { position: relative; overflow: hidden; border-radius: 37px; aspect-ratio: 660 / 1408; font-family: var(--body); color: var(--ink); text-align: left; }
.screen.lock { color: #fff; padding: 15cqw 4.5cqw 0;
  background: radial-gradient(ellipse 95% 55% at 50% 0%, rgba(139, 63, 209, 0.75), transparent 70%), radial-gradient(ellipse 70% 40% at 80% 100%, rgba(216, 180, 106, 0.25), transparent 70%), linear-gradient(170deg, #2c0d52, #14052a 60%, #0b0318); }
.lock-date { text-align: center; font-size: 4.4cqw; letter-spacing: 0.02em; opacity: 0.85; }
.lock-time { text-align: center; font-family: var(--title); font-size: 25cqw; line-height: 1; margin-top: 1cqw; }
.notes { display: grid; gap: 2.6cqw; margin-top: 9cqw; }
.note { padding: 3.4cqw 4cqw; border-radius: 5.5cqw; background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 3.9cqw; line-height: 1.38; }
.note-head { display: flex; align-items: center; gap: 2cqw; font-size: 3.1cqw; letter-spacing: 0.06em; opacity: 0.8; margin-bottom: 1.2cqw; }
.note-head i { width: 5cqw; height: 5cqw; border-radius: 1.4cqw; background: linear-gradient(145deg, #8b3fd1, #4c1489); box-shadow: inset 0 0 0 1px rgba(255, 241, 207, 0.4); }
.note-head span:last-child { margin-left: auto; letter-spacing: 0; }
.note b { display: block; font-weight: 700; }
.day .screen .note p { margin: 0; color: rgba(255, 255, 255, 0.9); font-size: inherit; line-height: inherit; }
.screen.app { padding: 0 0 4cqw; background: linear-gradient(180deg, #fbf8f2, #f3ecf8); }
.app-top { display: flex; align-items: center; gap: 2.6cqw; padding: 4.4cqw 4.4cqw 3.4cqw; background: #fff; border-bottom: 1px solid rgba(76, 20, 137, 0.08); }
.app-top .av { width: 9cqw; height: 9cqw; border-radius: 50%; display: grid; place-items: center; font-size: 3.6cqw; font-weight: 700; color: #fff; background: #4c1489; box-shadow: 0 0 0 0.8cqw #efe6f8; }
.app-top b { display: block; font-family: var(--title); font-weight: 400; font-size: 5cqw; line-height: 1.1; }
.app-top small { font-size: 2.6cqw; letter-spacing: 0.22em; color: var(--ink-muted); }
.app-hero { margin: 4cqw 4cqw 0; padding: 5cqw 5cqw; border-radius: 5cqw; color: #fff; background: linear-gradient(120deg, #4c1489, #7b2fbf 60%, #8b3fd1); box-shadow: 0 4cqw 8cqw -5cqw rgba(76, 20, 137, 0.8); }
.app-hero small { display: block; font-size: 2.8cqw; letter-spacing: 0.22em; opacity: 0.85; }
.app-hero b { display: block; margin-top: 1.4cqw; font-family: var(--title); font-weight: 400; font-size: 6.6cqw; line-height: 1.1; }
.app-card { margin: 3.4cqw 4cqw 0; padding: 3.6cqw 4.4cqw; border-radius: 5cqw; background: #fff; border: 1px solid rgba(76, 20, 137, 0.08); box-shadow: 0 3cqw 7cqw -5cqw rgba(76, 20, 137, 0.45); }
.app-card .kicker { font-size: 2.7cqw; letter-spacing: 0.2em; color: var(--purple); }
.give-row { display: flex; align-items: center; gap: 3cqw; padding: 2.6cqw 0; font-size: 4.1cqw; border-bottom: 1px solid rgba(76, 20, 137, 0.08); }
.give-row:last-child { border-bottom: 0; }
.give-row i { width: 7.6cqw; height: 7.6cqw; border-radius: 2.2cqw; background: #efe6f8; display: grid; place-items: center; font-style: normal; font-size: 3.4cqw; color: var(--purple); font-weight: 700; }
.give-row span { margin-left: auto; color: var(--purple); font-size: 4.4cqw; }
.event-title { font-family: var(--title); font-size: 5.6cqw; line-height: 1.15; margin-top: 1cqw; }
.event-meta { font-size: 3.5cqw; color: var(--ink-muted); }
.rsvp { display: flex; gap: 2cqw; margin-top: 2.6cqw; }
.rsvp span { padding: 1.6cqw 3.6cqw; border-radius: 99px; font-size: 3.4cqw; border: 1px solid rgba(76, 20, 137, 0.25); color: var(--purple); }
.rsvp span.on { background: var(--purple); color: #fff; border-color: var(--purple); }
@media (max-width: 999px) { .tab .full { display: none; } }
@media (min-width: 1000px) { .tab .short { display: none; } }

/* Opening (Home only, once per visit, never with reduced motion), about 9 seconds:
   gold light rises, a comet of light traces the ring and the F, silver pours in and a shine sweeps
   across, the leaves burst open, the cross rises in a flare of rays, FLOREMUS appears letter by letter
   with its meaning, then Home opens through an expanding ring of light.
   The whole timeline is CSS, so Home always appears even if the script never runs. */
.intro { display: none; }
.intro-on .intro { position: fixed; inset: 0; z-index: 100; display: block; background: #07020f; animation: intro-clear 0.2s linear 8.1s forwards, intro-end 0.01s linear 9.4s forwards; }
.intro.leaving { animation: intro-out 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards !important; }
.intro-bg { position: absolute; inset: 0; overflow: hidden; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(ellipse 65% 55% at 50% 42%, #3d0d72 0%, #22083f 42%, #0b0318 78%);
  opacity: 0; animation: intro-fade 1.2s ease 0s forwards, intro-bg-out 0.2s linear 8.1s forwards; }
.intro-rays { position: absolute; left: 50%; top: 44%; width: 1600px; height: 1600px; margin: -800px 0 0 -800px; pointer-events: none; opacity: 0;
  background: repeating-conic-gradient(from 0deg, rgba(255, 241, 207, 0.3) 0deg 2.5deg, transparent 2.5deg 15deg);
  -webkit-mask: radial-gradient(circle, #000 0%, transparent 58%); mask: radial-gradient(circle, #000 0%, transparent 58%);
  animation: intro-rays 1.1s cubic-bezier(0.22, 1, 0.36, 1) 5.25s forwards, spin 40s linear infinite; }
.intro-dust { position: absolute; inset: 0; pointer-events: none; opacity: 0; animation: intro-fade 1.5s ease 0.3s forwards; }
.intro-dust i { position: absolute; left: var(--x); bottom: -12px; width: 5px; height: 5px; border-radius: 50%; background: #fff1cf;
  box-shadow: 0 0 10px 3px rgba(255, 233, 180, 0.55); animation: intro-dust var(--d) linear var(--delay) infinite; }
.intro-stage { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; animation: intro-zoom 0.6s cubic-bezier(0.55, 0, 0.6, 1) 7.95s forwards; }
.intro-halo { position: absolute; left: 50%; top: min(26vw, 140px); width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(255, 241, 207, 0.55), rgba(216, 180, 106, 0.18) 38%, transparent 68%); opacity: 0;
  animation: intro-halo 1.3s ease-out 5.2s forwards; }
.intro-seed { position: absolute; left: 50%; top: min(32vw, 172px); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fffaf0; pointer-events: none;
  box-shadow: 0 0 18px 6px rgba(255, 233, 180, 0.9), 0 0 60px 20px rgba(216, 180, 106, 0.45); opacity: 0;
  animation: intro-seed 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards; }
.intro-mark { width: min(56vw, 280px); height: auto; overflow: visible; }
/* Line drawing with plain numbers: each line's real length, measured once from the vector
   (ring 3660, F top 1090, swoosh 1285). No pathLength, calc() or variables, which Safari handles unevenly. */
.intro-mark .d1 { --at: 1.4s; --dur: 2s; } .intro-mark .d2 { --at: 2.5s; --dur: 1.15s; } .intro-mark .d3 { --at: 2.9s; --dur: 1s; }
.intro-mark .trace.d1, .intro-mark .draw.d1 { stroke-dasharray: 3660 7320; stroke-dashoffset: 3660; }
.intro-mark .trace.d2, .intro-mark .draw.d2 { stroke-dasharray: 1090 2180; stroke-dashoffset: 1090; }
.intro-mark .trace.d3, .intro-mark .draw.d3 { stroke-dasharray: 1285 2570; stroke-dashoffset: 1285; }
.intro-mark .head.d1 { stroke-dasharray: 165 7320; stroke-dashoffset: 165; animation-name: intro-comet1; }
.intro-mark .head.d2 { stroke-dasharray: 49 2180; stroke-dashoffset: 49; animation-name: intro-comet2; }
.intro-mark .head.d3 { stroke-dasharray: 58 2570; stroke-dashoffset: 58; animation-name: intro-comet3; }
.intro-mark .trace { animation: intro-draw var(--dur) cubic-bezier(0.45, 0, 0.25, 1) var(--at) forwards; }
.intro-mark .trail { animation: intro-trail 0.9s ease 3.9s forwards; }
.intro-mark .head { opacity: 0; animation-duration: var(--dur); animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); animation-delay: var(--at); animation-fill-mode: forwards; }
.intro-mark .draw { fill-opacity: 0; stroke-width: 7;
  animation: intro-draw var(--dur) cubic-bezier(0.45, 0, 0.25, 1) var(--at) forwards, intro-fill 0.9s ease 3.6s forwards, intro-thin 0.9s ease 3.6s forwards; }
.intro-mark .band { transform: translateX(-320px) skewX(-18deg); animation: intro-band 1.05s cubic-bezier(0.45, 0, 0.25, 1) 4.45s forwards; }
.intro-mark .leaf { transform-box: fill-box; opacity: 0; transform: scale(0.05) rotate(-35deg); animation: intro-leaf 0.95s cubic-bezier(0.34, 1.7, 0.64, 1) forwards; }
.intro-mark .l1 { transform-origin: 85% 95%; animation-delay: 4.5s; }
.intro-mark .l2 { transform-origin: 95% 90%; animation-delay: 4.68s; }
.intro-mark .spark { opacity: 0; animation: intro-spark 1.1s cubic-bezier(0.22, 1, 0.36, 1) calc(4.7s + var(--sd)) forwards; }
.intro-mark .cross { transform-box: fill-box; transform-origin: 50% 100%; opacity: 0; transform: translateY(30%) scaleY(0.5);
  animation: intro-cross 0.75s cubic-bezier(0.22, 1, 0.36, 1) 5.2s forwards; }
.intro-name { margin-top: 26px; font-family: var(--title); font-size: clamp(42px, 11vw, 78px); line-height: 1; letter-spacing: 0.1em; padding-left: 0.1em; white-space: nowrap; }
.intro-name span { display: inline-block; opacity: 0; transform: translateY(18px) scale(0.92);
  background: var(--foil-gold); background-size: 900% 100%; background-position: calc(var(--i) * 12.5%) 0; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: intro-letter 0.8s cubic-bezier(0.22, 1, 0.36, 1) calc(6s + var(--i) * 0.09s) forwards; }
.intro-latin { margin-top: 16px; font-size: clamp(18px, 4.4vw, 24px); color: var(--on-royal-muted); opacity: 0; transform: translateY(10px); animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 6.95s forwards; }
.intro-latin em { color: var(--gold-light); }
.intro-ring { position: absolute; left: 50%; top: 44%; width: 0; height: 0; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; opacity: 0;
  box-shadow: 0 0 0 3px rgba(255, 241, 207, 0.95), 0 0 70px 22px rgba(216, 180, 106, 0.6), inset 0 0 60px 10px rgba(216, 180, 106, 0.4), 0 0 0 300vmax #0b0318;
  animation: intro-ring 1.3s cubic-bezier(0.65, 0, 0.35, 1) 8.1s forwards; }
.intro-skip { position: absolute; top: calc(16px + env(safe-area-inset-top)); right: calc(16px + env(safe-area-inset-right)); z-index: 2; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--edge-dark); background: rgba(255, 241, 207, 0.08); color: var(--gold-light); font: inherit; font-size: 15px; cursor: pointer;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: intro-out 0.4s ease 8.1s forwards; }
.intro-skip:hover { background: rgba(255, 241, 207, 0.16); }
/* Home's own entrance waits for the opening to finish */
.intro-on .hero .rise-1 { animation-delay: 8.7s; } .intro-on .hero .rise-2 { animation-delay: 8.9s; }
.intro-on .hero .rise-3 { animation-delay: 9.1s; } .intro-on .hero .rise-4 { animation-delay: 9.3s; }
.intro-on .hero .label.rise { animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 8.7s forwards, foil 6s ease-in-out infinite alternate; }
@keyframes intro-fade { to { opacity: 1; } }
@keyframes intro-seed { 0% { opacity: 0; transform: translateY(42vh) scale(0.4); } 25% { opacity: 1; } 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(2.4); } }
@keyframes intro-draw { to { stroke-dashoffset: 0; } }
@keyframes intro-comet1 { 0% { opacity: 0; } 6% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: -3660; } }
@keyframes intro-comet2 { 0% { opacity: 0; } 6% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: -1090; } }
@keyframes intro-comet3 { 0% { opacity: 0; } 6% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: -1285; } }
@keyframes intro-trail { to { opacity: 0; } }
@keyframes intro-fill { to { fill-opacity: 1; } }
@keyframes intro-thin { to { stroke-width: 3; } }
@keyframes intro-band { to { transform: translateX(1050px) skewX(-18deg); } }
@keyframes intro-leaf { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes intro-spark { 0% { opacity: 0; transform: none; } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0.3); } }
@keyframes intro-cross { to { opacity: 1; transform: none; } }
@keyframes intro-rays { from { opacity: 0; scale: 0.4; } to { opacity: 0.55; scale: 1; } }
@keyframes intro-halo { 0% { opacity: 0; transform: scale(0.5); } 45% { opacity: 1; } 100% { opacity: 0.6; transform: scale(1); } }
@keyframes intro-letter { to { opacity: 1; transform: none; } }
@keyframes intro-dust { 0% { transform: translate(0, 0) scale(var(--s)); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 0.8; } 100% { transform: translate(var(--dx), -112vh) scale(var(--s)); opacity: 0; } }
@keyframes intro-zoom { to { opacity: 0; transform: scale(1.18); } }
@keyframes intro-bg-out { to { opacity: 0; } }
@keyframes intro-ring { 0% { width: 0; height: 0; opacity: 1; } 85% { opacity: 1; } 100% { width: 300vmax; height: 300vmax; opacity: 0; } }
@keyframes intro-clear { to { background-color: transparent; } }
@keyframes intro-end { to { visibility: hidden; pointer-events: none; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; pointer-events: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise, .reveal { opacity: 1; transform: none; }
  .sparkles { display: none; }
  .intro { display: none !important; }
}
  

/* How to videos (site/pages/how-to.html) */
.howto { padding: clamp(72px, 10vw, 120px) 0; background: var(--ivory); }
.howto.alt { background: linear-gradient(180deg, var(--ivory-2), var(--ivory)); }
.howto .section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.howto-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.howto-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; background: #fff; border: 1px solid var(--edge-light);
  box-shadow: 0 24px 50px -32px rgba(76, 20, 137, 0.45); scroll-margin-top: 96px; }
.howto-video { aspect-ratio: 4 / 5; background: var(--royal-night); }
.howto-video video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--royal-night); }
.howto-body { padding: 20px 24px 22px; }
.howto-num { font-family: var(--label); font-weight: 600; font-size: 15px; letter-spacing: 0.12em; color: var(--purple); }
.howto-body h3 { font-family: var(--title); font-weight: 400; font-size: 24px; line-height: 1.2; margin: 6px 0 8px; }
.howto-body > p { color: var(--ink-muted); font-size: 16px; }
.howto-card details { margin-top: 12px; border-bottom: 0; border-top: 1px solid var(--edge-light); }
.howto-card summary { min-height: 44px; padding: 10px 0 0; font-size: 15px; color: var(--purple); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(107, 33, 168, 0.35); }
.howto-card details p { padding: 10px 0 0; font-size: 15px; }
.howto-help { margin-bottom: 0; }
@media (max-width: 900px) { .howto-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .howto-grid { grid-template-columns: minmax(0, 1fr); max-width: 440px; margin: 0 auto; } }
