/* The Dragonfly Catalyst — site styles
   Layout concept: night sky to blue fire. Full-bleed atmospheric art, emblems as luminous
   medallions, editorial serif headlines, long-form story pages set like a book. */
:root {
  --night: #070a12;
  --ink: #0b111f;
  --surface: #101929;
  --surface-2: #162238;
  --line: rgba(150, 190, 255, 0.13);
  --line-strong: rgba(150, 190, 255, 0.26);
  --text: #eef3fb;
  --muted: #a3b0c7;
  --faint: #6f7d96;
  --fire: #72d9ff;
  --fire-deep: #2f8cff;
  --gold: #e9c47c;
  --ok: #8fe3b6;

  --display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --step-3: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  --step-4: clamp(2.6rem, 1.8rem + 3.4vw, 4.25rem);
  --step-5: clamp(3.2rem, 2rem + 5.6vw, 6.5rem);

  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --max: 1200px;
  --radius: 22px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--fire); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.06; margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--night); padding: 10px 16px; border-radius: 999px; z-index: 50; }
.skip:focus { left: 16px; }
.wrap { width: 100%; max-width: calc(var(--max) + 40px); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.narrow { max-width: 760px; }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fire); font-weight: 600; }
.muted { color: var(--muted); }
.serif-i { font-family: var(--display); font-style: italic; }
.gold { color: var(--gold); }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--night); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(7, 10, 18, 0.62);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(7, 10, 18, 0.86); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: 40px; }
.brand span { font-family: var(--display); font-size: 1.32rem; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a, .nav button { font: 500 0.95rem/1 var(--body); color: var(--muted); text-decoration: none; padding: 10px 14px; border-radius: 999px; background: none; border: 0; cursor: pointer; transition: color .2s, background .2s; }
.nav a:hover, .nav button:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(150, 190, 255, 0.08); }
.dropdown { position: relative; }
.dropdown > button::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.dropdown-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: 520px; padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: rgba(16, 25, 41, 0.97); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.dropdown:hover .dropdown-panel, .dropdown:focus-within .dropdown-panel, .dropdown.open .dropdown-panel { opacity: 1; visibility: visible; }
.dropdown-panel a { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; color: var(--text); line-height: 1.3; }
.dropdown-panel a small { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 2px; }
.dropdown-panel img { width: 44px; height: 44px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 600 0.98rem/1 var(--body); text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s, background .2s, border-color .2s, box-shadow .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-fire { background: linear-gradient(135deg, #9be6ff, var(--fire) 40%, #3aa4ff); color: #04121f; box-shadow: 0 10px 34px -10px rgba(114, 217, 255, 0.7); }
.btn-fire:hover { box-shadow: 0 14px 44px -10px rgba(114, 217, 255, 0.9); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(7, 10, 18, 0.3); }
.btn-ghost:hover { border-color: rgba(150, 190, 255, 0.5); }
.btn-gold { background: linear-gradient(135deg, #f6dca4, var(--gold)); color: #1a1205; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.site-header .btn { min-height: 42px; padding: 0 18px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 1.5px; background: currentColor; margin: auto; position: relative; transition: transform .25s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; }

@media (max-width: 1180px) {
  .nav, .site-header .btn { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .mobile-menu { display: block; position: fixed; inset: calc(72px + env(safe-area-inset-top, 0px)) 0 0; z-index: 19; background: var(--night); overflow-y: auto; padding: 16px var(--gutter-r) 40px var(--gutter); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
  .menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
  .menu-open { overflow: hidden; }
  .mobile-menu .group { border-bottom: 1px solid var(--line); padding: 14px 0; display: grid; gap: 2px; }
  .mobile-menu .group > span { font-size: 0.75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); padding: 6px 0; }
  .mobile-menu a { font-family: var(--display); font-size: 1.7rem; text-decoration: none; padding: 6px 0; }
  .mobile-menu .btn { margin-top: 24px; width: 100%; font-family: var(--body); font-size: 1rem; }
}

/* ---------- heroes ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-art { position: absolute; inset: 0; z-index: -2; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,10,18,.55) 0%, rgba(7,10,18,.35) 35%, rgba(7,10,18,.85) 78%, var(--night) 100%), radial-gradient(80% 60% at 20% 40%, rgba(7,10,18,.55), transparent 70%); }
.hero-home { padding-block: clamp(72px, 12vw, 150px) clamp(80px, 11vw, 140px); }
.hero-home .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.hero-home h1 { font-size: var(--step-5); font-weight: 500; line-height: .98; }
.hero-home h1 em { display: block; font-style: italic; color: var(--fire); text-shadow: 0 0 40px rgba(114, 217, 255, 0.45); }
.hero-lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: #cfd8e8; max-width: 34em; margin-top: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-page { padding-block: clamp(64px, 9vw, 120px) clamp(56px, 7vw, 96px); }
.hero-page .wrap { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.hero-page h1 { font-size: var(--step-5); }
.hero-page .hero-lede { margin-top: 22px; }
.hero-page .medallion { width: clamp(180px, 22vw, 290px); }
.crumbs { display: flex; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 22px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; color: var(--muted); } .crumbs a:hover { color: var(--text); }

/* medallion: an emblem with glow + slow orbit ring */
.medallion { position: relative; aspect-ratio: 1; max-width: 100%; justify-self: center; }
.medallion img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 28px rgba(114, 217, 255, 0.35)); }
.medallion::before { content: ""; position: absolute; inset: -9%; border-radius: 50%; border: 1px solid rgba(114, 217, 255, 0.28); border-top-color: rgba(114, 217, 255, 0.9); animation: orbit 14s linear infinite; }
.medallion::after { content: ""; position: absolute; inset: -18%; border-radius: 50%; border: 1px dashed rgba(150, 190, 255, 0.14); animation: orbit 60s linear infinite reverse; }
.medallion.gold img { filter: drop-shadow(0 0 28px rgba(233, 196, 124, 0.35)); }
.medallion.gold::before { border-color: rgba(233, 196, 124, .25); border-top-color: rgba(233, 196, 124, .9); }
@keyframes orbit { to { transform: rotate(360deg); } }
.hero-home .medallion { width: min(400px, 78vw); }

/* ---------- sections ---------- */
section { padding-block: clamp(72px, 9vw, 128px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: var(--step-4); margin-top: 14px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.band { background: linear-gradient(180deg, var(--night), var(--ink) 20%, var(--ink) 80%, var(--night)); }

/* credentials strip */
.creds { border-block: 1px solid var(--line); padding-block: 26px; background: rgba(16, 25, 41, 0.5); }
.creds ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; color: var(--muted); font-size: .92rem; }
.creds li { display: flex; align-items: center; gap: 10px; }
.creds li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--fire); box-shadow: 0 0 10px var(--fire); }

/* paths (service cards) */
.paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.path {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 26px 26px;
  border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none;
  background: radial-gradient(120% 70% at 50% 0%, rgba(114, 217, 255, 0.10), transparent 60%), var(--surface);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.path:hover { transform: translateY(-4px); border-color: rgba(114, 217, 255, .4); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(114,217,255,.1); }
.path img { width: 112px; height: 112px; margin-bottom: 8px; filter: drop-shadow(0 0 18px rgba(114,217,255,.25)); transition: transform .5s; }
.path:hover img { transform: rotate(-8deg) scale(1.04); }
.path h3 { font-size: 1.9rem; }
.path p { color: var(--muted); font-size: .97rem; flex: 1; }
.path .meta { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); font-size: .92rem; }
.path .meta b { font-weight: 600; }
.path .meta span { color: var(--fire); }

/* split story block */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.flip > :first-child { order: 2; }
.art-frame { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 100px -40px rgba(0,0,0,.9); }
.art-frame img { width: 100%; height: 100%; object-fit: cover; }
.art-frame figcaption { position: absolute; left: 16px; bottom: 14px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(238,243,251,.8); }
.split h2 { font-size: var(--step-4); margin: 14px 0 22px; }
.split .stack > p + p { margin-top: 16px; }
.stack p { color: #c8d2e3; }

/* big quote */
.quote { text-align: center; position: relative; isolation: isolate; overflow: hidden; }
.quote blockquote { margin: 0 auto; max-width: 18em; font-family: var(--display); font-size: var(--step-4); line-height: 1.12; }
.quote blockquote em { color: var(--gold); }
.quote cite { display: block; margin-top: 26px; font-style: normal; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.quote .hero-art { opacity: .35; }

/* family grid */
.family { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.fam { grid-column: span 2; position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .3s, transform .3s; overflow: hidden; }
.fam.wide { grid-column: span 3; }
.fam:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.fam img.em { width: 72px; height: 72px; }
.fam h3 { font-size: 1.75rem; }
.fam p { color: var(--muted); font-size: .97rem; flex: 1; }
.fam .go { font-weight: 600; font-size: .92rem; color: var(--fire); }
.tag { align-self: flex-start; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }
.tag.live { color: var(--ok); border-color: rgba(143,227,182,.35); background: rgba(143,227,182,.06); }
.tag.soon { color: var(--gold); border-color: rgba(233,196,124,.35); background: rgba(233,196,124,.06); }

/* portal */
.portal-sec { text-align: center; }
.portal { display: inline-grid; place-items: center; width: clamp(220px, 34vw, 320px); aspect-ratio: 1; border-radius: 50%; margin: 40px auto 0; position: relative; text-decoration: none; }
.portal::before, .portal::after { content: ""; position: absolute; inset: 0; border-radius: 50%; }
.portal::before { background: conic-gradient(from 0deg, transparent, rgba(114,217,255,.9), transparent 30%, rgba(47,140,255,.7), transparent 60%, rgba(233,196,124,.6), transparent 85%); filter: blur(14px); animation: orbit 9s linear infinite; }
.portal::after { inset: 10px; background: radial-gradient(circle, #0d1830 0%, var(--night) 70%); border: 1px solid rgba(114,217,255,.35); }
.portal img { position: relative; z-index: 1; width: 58%; transition: transform .6s; filter: drop-shadow(0 0 22px rgba(114,217,255,.5)); }
.portal:hover img { transform: scale(1.08) rotate(6deg); }
.portal-sec h2 { font-size: var(--step-4); }
.portal-sec p { color: var(--muted); max-width: 32em; margin: 18px auto 0; }
.portal-note { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-top: 26px !important; }

/* connect */
.connect { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.connect a { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; transition: border-color .25s; min-width: 0; }
.connect a:hover { border-color: var(--line-strong); }
.connect b { font-size: 1.05rem; }
.connect span { color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }

/* ---------- service pages ---------- */
.prose { font-size: 1.12rem; line-height: 1.8; color: #d3dbe9; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: var(--step-3); color: var(--text); margin-top: 1.8em; }
.prose h3 { font-size: var(--step-2); color: var(--text); margin-top: 1.6em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose .lead { font-family: var(--display); font-size: var(--step-2); line-height: 1.35; color: var(--text); }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--fire); font-family: var(--display); font-size: var(--step-2); line-height: 1.35; color: var(--text); font-style: italic; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.aside-card { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.aside-card h3 { font-size: 1.6rem; margin-bottom: 14px; }
.aside-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--muted); font-size: .97rem; }
.aside-card li { display: flex; gap: 12px; }
.aside-card li::before { content: "✦"; color: var(--fire); font-size: .8rem; line-height: 1.9; }
.aside-card .btn { width: 100%; margin-top: 22px; }

.prices { display: grid; gap: 14px; }
.price { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 18px 28px; align-items: center; padding: 22px 26px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.price h3 { font-family: var(--body); font-size: 1.08rem; font-weight: 600; }
.price p { color: var(--muted); font-size: .92rem; margin-top: 3px; }
.price .amt { font-family: var(--display); font-size: 2.3rem; font-variant-numeric: lining-nums tabular-nums; line-height: 1; }
.price.feature { border-color: rgba(114, 217, 255, .4); background: radial-gradient(100% 120% at 100% 0%, rgba(114,217,255,.10), transparent 60%), var(--surface); }
.pay-note { font-size: .88rem; color: var(--faint); margin-top: 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { font-size: .88rem; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(150,190,255,.05); }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

/* forms */
.form { display: grid; gap: 16px; padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--muted); }
.form input, .form textarea, .form select { font: inherit; color: var(--text); background: var(--ink); border: 1px solid var(--line-strong); border-radius: 12px; padding: 13px 14px; width: 100%; min-width: 0; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--fire); box-shadow: 0 0 0 3px rgba(114,217,255,.15); }
.form .hp { position: absolute; left: -5000px; }
.form .btn { justify-self: start; }
.form-status { font-size: .95rem; min-height: 1.4em; }
.form-status.ok { color: var(--ok); } .form-status.err { color: #ffb4a8; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.checks label { display: flex; flex-direction: row; gap: 10px; align-items: center; font-weight: 400; color: var(--text); }
.checks input { width: 18px; height: 18px; accent-color: var(--fire); }

/* pillars (Phoenix Catalyst) */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pillar { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; align-items: start; }
.pillar img { width: 96px; height: 96px; }
.pillar h3 { font-size: 1.8rem; margin-bottom: 10px; }
.pillar p { color: var(--muted); font-size: .98rem; }
.pillar details { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.pillar summary { cursor: pointer; font-weight: 600; font-size: .93rem; color: var(--fire); list-style: none; }
.pillar summary::-webkit-details-marker { display: none; }
.pillar summary::after { content: " +"; }
.pillar details[open] summary::after { content: " −"; }
.pillar ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: .93rem; display: grid; gap: 6px; }

/* long-form story (about, decks) */
.progress { position: fixed; left: 0; top: env(safe-area-inset-top, 0px); height: 2px; width: 0; z-index: 40; background: linear-gradient(90deg, var(--fire-deep), var(--fire), var(--gold)); box-shadow: 0 0 12px var(--fire); }
.story { max-width: 720px; margin-inline: auto; }
.story p { font-size: 1.16rem; line-height: 1.85; color: #d3dbe9; }
.story p + p { margin-top: 1.1em; }
.story .beat { font-family: var(--display); font-size: var(--step-3); line-height: 1.2; color: var(--text); margin-block: 1.4em; }
.story .beat em { color: var(--fire); }
.story .list-beats { list-style: none; padding: 0; margin: 1.6em 0; display: grid; gap: 4px; font-family: var(--display); font-size: var(--step-2); color: var(--text); }
.chapter { display: flex; align-items: center; gap: 18px; margin: 2.8em 0 1.4em; }
.chapter span { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--fire); white-space: nowrap; }
.chapter::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.chapter h2 { font-size: var(--step-3); }
.story figure { margin: 3em -6vw; }
.story figure.portrait { margin-inline: auto; max-width: 420px; }
.story figcaption { text-align: center; font-size: .85rem; color: var(--faint); margin-top: 12px; }
.warn { margin: 3em 0; padding: 30px; border-radius: 22px; border: 1px solid rgba(233,196,124,.35); background: radial-gradient(100% 120% at 0% 0%, rgba(233,196,124,.08), transparent 60%), var(--surface); }
.warn p { color: var(--text); }
.toc { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.toc a { font-size: .85rem; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--text); }

/* products */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.product { border-radius: 26px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.product .pic { aspect-ratio: 4/3; overflow: hidden; background: #0c1324; display: grid; place-items: center; }
.product .pic img { width: 100%; height: 100%; object-fit: cover; }
.product .body { padding: 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product h3 { font-size: 2rem; }
.product p { color: var(--muted); flex: 1; }
.product .buy { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.product .amt { font-family: var(--display); font-size: 2.2rem; }

/* phoenix fire */
.pf-hero .wrap { grid-template-columns: 1fr 1fr; }
.pf-hero .hero::after { background: linear-gradient(180deg, rgba(7,10,18,.75), rgba(7,10,18,.6) 60%, var(--night)); }
.spec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.spec div { padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.spec b { display: block; font-family: var(--display); font-size: 1.6rem; font-weight: 500; }
.spec span { color: var(--muted); font-size: .92rem; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.tier { display: flex; flex-direction: column; gap: 12px; padding: 30px; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); }
.tier.feature { border-color: rgba(114,217,255,.45); background: radial-gradient(100% 80% at 50% 0%, rgba(114,217,255,.12), transparent 60%), var(--surface); }
.tier h3 { font-family: var(--body); font-size: 1rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tier .amt { font-family: var(--display); font-size: 3.2rem; line-height: 1; }
.tier .amt small { font-family: var(--body); font-size: 1rem; color: var(--muted); }
.tier ul { padding-left: 18px; margin: 4px 0 8px; color: var(--muted); font-size: .95rem; display: grid; gap: 6px; flex: 1; }
.fine { font-size: .82rem; color: var(--faint); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 64px 40px; background: var(--ink); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-brand img { width: 64px; height: 64px; margin-bottom: 18px; }
.foot-brand p { color: var(--muted); max-width: 26em; font-size: .95rem; }
.foot-col h4 { font-family: var(--body); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 14px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-col a { text-decoration: none; color: var(--muted); font-size: .95rem; }
.foot-col a:hover { color: var(--text); }
.foot-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .82rem; color: var(--faint); }

/* responsive */
@media (max-width: 1020px) {
  .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .family { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fam, .fam.wide { grid-column: span 1; }
  .connect { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiers { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero-home .wrap, .hero-page .wrap, .pf-hero .wrap { grid-template-columns: 1fr; }
  .hero-home .medallion { order: -1; width: min(250px, 62vw); justify-self: start; }
  .hero-page .medallion { order: -1; width: 150px; justify-self: start; }
  .section-head { grid-template-columns: 1fr; }
  .split, .two-col { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .aside-card { position: static; }
  .pillars, .products, .gallery { grid-template-columns: 1fr; }
  .story figure { margin-inline: 0; }
}
@media (max-width: 560px) {
  .paths, .family, .connect { grid-template-columns: 1fr; }
  .price { grid-template-columns: 1fr auto; }
  .price .btn { grid-column: 1 / -1; width: 100%; }
  .pillar { grid-template-columns: 1fr; }
  .pillar img { width: 76px; height: 76px; }
  .form .row, .checks { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .brand span { font-size: 1.12rem; }
  .spec { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- v2: intent-led sections ---------- */
.h2 { font-size: var(--step-4); margin: 14px 0 32px; }
.btn-link { background: none; border: 0; color: var(--fire); padding: 0 4px; min-height: 48px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(114,217,255,.4); }
.btn-link:hover { transform: none; text-decoration-color: var(--fire); }
.aside-card .btn-link { width: auto; margin-top: 8px; padding: 0; min-height: 40px; }
.hero-slim { padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.hero-slim .wrap { grid-template-columns: 1fr; }
.pull { font-size: 1.5rem; color: var(--text) !important; margin-top: 26px !important; line-height: 1.35; }
.dropdown-panel .dropdown-all { grid-column: 1 / -1; display: block; text-align: center; padding: 12px; margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; color: var(--fire); font-weight: 600; font-size: .92rem; }
.nav button[aria-current="page"] { color: var(--text); }

/* start where you are */
.start { display: grid; border-top: 1px solid var(--line); }
.start-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 15rem) 40px; gap: 24px; align-items: center; padding: 26px 8px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .25s, padding .25s; }
.start-row .q { font-family: var(--display); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.2; }
.start-row .a { color: var(--muted); font-size: .95rem; }
.start-row .go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--fire); transition: background .25s, color .25s, transform .25s; }
.start-row:hover { background: linear-gradient(90deg, rgba(114,217,255,.07), transparent 70%); padding-left: 20px; }
.start-row:hover .go { background: var(--fire); color: var(--night); transform: translateX(4px); }
.start-note { margin-top: 26px; color: var(--muted); }
.start-note a { color: var(--fire); }

/* method */
.method { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.method li { padding: 34px 30px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.method li + li { border-left: 1px solid var(--line); }
.method .step { font-family: var(--display); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--fire); text-shadow: 0 0 30px rgba(114,217,255,.35); }
.method li:nth-child(3) .step { color: var(--gold); text-shadow: 0 0 30px rgba(233,196,124,.3); }
.method h3 { font-family: var(--body); font-size: 1.05rem; font-weight: 600; }
.method p { color: var(--muted); font-size: .98rem; flex: 1; }
.method-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.method-links a { font-size: .86rem; text-decoration: none; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); transition: border-color .2s, background .2s; }
.method-links a:hover { border-color: var(--fire); background: rgba(114,217,255,.08); }

/* credentials */
.creds-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cred { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.cred img { width: 56px; height: 56px; margin-bottom: 14px; }
.cred h3 { font-size: 1.7rem; margin-bottom: 14px; }
.cred ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.cred li { display: grid; gap: 1px; font-size: .95rem; line-height: 1.4; }
.cred li b { font-weight: 500; }
.cred li span { color: var(--faint); font-size: .84rem; }
.cred .more-note { color: var(--fire); font-size: .88rem; }

/* fam with product picture */
.fam img.fam-pic { width: 100%; height: 120px; object-fit: cover; border-radius: 14px; }

/* service blocks (prices hub) */
.svc-list { display: grid; gap: 22px; }
.svc { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px; padding: 32px; border-radius: 26px; background: var(--ink); border: 1px solid var(--line); align-items: start; }
.svc header { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; align-items: start; }
.svc header img { width: 72px; height: 72px; }
.svc h2 { font-size: var(--step-3); }
.svc header p { color: var(--muted); margin-top: 8px; }
.svc header a { display: inline-block; margin-top: 14px; color: var(--fire); font-weight: 600; font-size: .93rem; text-decoration: none; }
.amt-sm { font-size: 1.4rem !important; color: var(--muted); }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.steps li::before { content: counter(s); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 1.4rem; color: var(--fire); border: 1px solid rgba(114,217,255,.35); }
.steps span { color: var(--muted); font-size: .95rem; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--fire); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 18px; }
.faq a { color: var(--fire); }

/* service page parts */
.fit { padding: 28px 30px; border-radius: var(--radius); border: 1px solid rgba(114,217,255,.28); background: radial-gradient(100% 120% at 0% 0%, rgba(114,217,255,.08), transparent 60%), var(--surface); margin-bottom: 1.6em; }
.prose .fit h2 { font-size: 1.05rem; font-family: var(--body); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fire); margin: 0 0 16px; }
.fit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fit li { font-family: var(--display); font-size: 1.45rem; line-height: 1.3; color: var(--text); padding-left: 28px; position: relative; }
.fit li::before { content: "✦"; position: absolute; left: 0; top: .2em; font-size: .8rem; color: var(--fire); }
.pairs { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 18px; align-items: center; margin-top: 28px; padding: 18px 22px; border-radius: 18px; border: 1px dashed var(--line-strong); text-decoration: none; transition: border-color .2s; }
.pairs:hover { border-color: var(--fire); }
.pairs img { width: 64px; height: 64px; }
.pairs small { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.pairs b { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 500; }
.pairs span span { color: var(--muted); font-size: .93rem; }
.pairs .arrow { color: var(--fire); font-size: 1.3rem; }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.fieldset legend { font-size: .9rem; color: var(--muted); margin-bottom: 8px; }
.ch-title { font-size: var(--step-3); margin-bottom: 1em; }
.foot-mail { margin-top: 14px !important; }
.foot-mail a { color: var(--fire); text-decoration: none; }

/* beliefs */
.beliefs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.beliefs li { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.beliefs h3 { font-size: 1.7rem; margin-bottom: 10px; }
.beliefs p { color: var(--muted); font-size: .98rem; }

@media (max-width: 1020px) {
  .creds-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .beliefs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .method { grid-template-columns: 1fr; }
  .method li + li { border-left: 0; border-top: 1px solid var(--line); }
  .start-row { grid-template-columns: minmax(0, 1fr) 40px; gap: 6px 16px; }
  .start-row .q { grid-column: 1; }
  .start-row .a { grid-column: 1; grid-row: 2; }
  .start-row .go { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 560px) {
  .creds-grid, .beliefs { grid-template-columns: 1fr; }
  .svc { padding: 22px; }
  .svc header { grid-template-columns: 56px minmax(0, 1fr); }
  .svc header img { width: 56px; height: 56px; }
  .pairs { grid-template-columns: 48px minmax(0, 1fr); }
  .pairs img { width: 48px; height: 48px; }
  .pairs .arrow { display: none; }
}
.hero-page .wrap:not(:has(.medallion)) { grid-template-columns: minmax(0, 640px); }
.pf-hero .wrap { grid-template-columns: minmax(0, 640px) !important; }
.hero:has(img[src*="gen-"])::after { background: linear-gradient(90deg, rgba(7,10,18,.88) 0%, rgba(7,10,18,.6) 40%, rgba(7,10,18,.1) 70%, rgba(7,10,18,.2) 100%), linear-gradient(180deg, transparent 70%, var(--night) 100%); }
@media (max-width: 860px) { .hero:has(img[src*="gen-"])::after { background: linear-gradient(180deg, rgba(7,10,18,.35), rgba(7,10,18,.8) 55%, var(--night)); } .hero:has(img[src*="gen-"]) .hero-art img { object-position: 75% center; } }
.fam.wide img.fam-pic { height: 170px; }
.tub-stage { margin: 0; display: grid; place-items: center; padding: 40px 20px; border-radius: 28px; border: 1px solid var(--line); background: radial-gradient(60% 55% at 50% 55%, rgba(47,140,255,.35), transparent 70%), radial-gradient(40% 30% at 50% 90%, rgba(114,217,255,.25), transparent 70%), var(--ink); }
.tub-stage img { width: min(340px, 70%); filter: drop-shadow(0 30px 40px rgba(0,0,0,.7)) drop-shadow(0 0 40px rgba(114,217,255,.25)); }
.fam img.fam-tub { width: 72px; height: 104px; object-fit: contain; filter: drop-shadow(0 0 14px rgba(114,217,255,.35)); }
.community-band { padding-block: clamp(56px, 7vw, 96px); }
.community-band h2 { font-size: var(--step-4); margin: 14px 0 22px; }
ul.beliefs { list-style: none; }
.ranks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ranks li { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-family: var(--display); font-size: 1.3rem; color: var(--text); }
.ranks span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--body); font-size: .85rem; background: rgba(114,217,255,.12); color: var(--fire); }
.nav a, .nav button { padding: 10px 11px; }

.nav a, .nav button { white-space: nowrap; }
