/* ShieldWall site. Navy, gold and the app's shield. One bold thing per page: on the home page it's the 3D wall. */
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(/fonts/BarlowCondensed-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(/fonts/BarlowCondensed-700.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400 700; font-display: swap; src: url(/fonts/Manrope-400-700.woff2) format("woff2"); }

:root {
  color-scheme: dark;
  --ink: #07141c;
  --ink-2: #0a1a24;
  --panel: #0f202b;
  --panel-2: #152a37;
  --line: #20323e;
  --line-2: #2c414f;
  --gold: #d9a236;
  --gold-hi: #f2c45a;
  --gold-lo: #9a6419;
  --gold-wash: rgba(217, 162, 54, 0.1);
  --text: #f1ebdf;
  --muted: #b3b8b9;
  --dim: #85919a;
  --red: #e5392f;
  --c911: #d92d20;
  --c988: #2563eb;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p, dl, dd, figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.h2 { font-size: clamp(38px, 5vw, 64px); }
.lede { color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; max-width: 600px; margin-top: 18px; }
.band { padding: clamp(72px, 9vw, 120px) 0; border-top: 1px solid var(--line); }

/* Buttons: sentence case, set in the display face, no decoration */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none; font: 600 21px/1 var(--display); letter-spacing: .01em; padding: 15px 26px 16px; border-radius: 3px; transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-gold:active { transform: translateY(1px); }
.btn-line { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn svg { width: 18px; height: 18px; }
.btn-sm { font-size: 18px; padding: 11px 18px 12px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.linkish { background: none; border: 0; padding: 0; color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 20, 28, .78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; height: var(--header); gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .em { height: 38px; width: auto; }
.brand .wm { height: 16px; width: auto; }
.site-header nav { margin-left: auto; }
.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--muted); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--text); border-bottom-color: var(--gold); }
@media (max-width: 860px) { .site-header nav { display: none; } .nav .btn { margin-left: auto; } .brand .wm { height: 13px; } }
@media (max-width: 360px) { .brand .wm { display: none; } }

.invite-banner { display: none; background: var(--gold-wash); border-top: 1px solid rgba(217, 162, 54, .3); }
.invite-banner.show { display: block; }
.invite-banner .wrap { display: flex; align-items: center; gap: 14px; padding-top: 12px; padding-bottom: 12px; font-size: 14.5px; }
.invite-banner img { width: 20px; height: auto; }
.invite-banner strong { color: var(--gold-hi); }

/* ---------- Home hero: the wall ---------- */
.hero { position: relative; min-height: min(calc(100svh - var(--header)), 900px); display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 72% 45%, rgba(217, 162, 54, .1), transparent 70%), radial-gradient(40% 50% at 70% 50%, rgba(25, 60, 82, .5), transparent 80%); }
.hero-copy { position: relative; z-index: 2; padding-top: 56px; padding-bottom: 72px; pointer-events: none; }
.hero-copy > * { pointer-events: auto; max-width: 560px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--gold-hi); border: 1px solid rgba(217, 162, 54, .35); border-radius: 999px; padding: 6px 14px 6px 12px; background: rgba(7, 20, 28, .5); }
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 0 0 rgba(242, 196, 90, .6); animation: beacon 2.4s infinite; }
@keyframes beacon { 70% { box-shadow: 0 0 0 9px rgba(242, 196, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 196, 90, 0); } }
.hero h1 { font-size: clamp(64px, 8.4vw, 132px); line-height: .88; margin-top: 26px; letter-spacing: -0.02em; }
.hero .lede { font-size: clamp(17px, 1.45vw, 20px); color: #cdd0cf; margin-top: 26px; max-width: 500px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.stage { --cap: 104px; position: absolute; z-index: 1; top: 0; bottom: 0; right: max(0px, calc((100vw - var(--wrap)) / 2 - 60px)); width: min(56vw, 780px); user-select: none; -webkit-user-select: none; }
/* The canvas stops above the caption, so the wall never runs under the words */
.stage canvas.wall3d { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% - var(--cap)); display: block; }
.stage .flat { position: absolute; left: 50%; top: 48%; width: min(86%, 540px); aspect-ratio: 1; transform: translate(-50%, -50%); }
.stage.is-3d .flat, .stage.is-3d .core .ring, .stage.is-3d .core-btn > * { display: none; }
.stage.is-3d .core-btn { background: transparent; box-shadow: none; animation: none; border-radius: 42% 42% 50% 50%; }
.stage.is-3d .core { width: 30%; aspect-ratio: .82; top: calc((100% - var(--cap)) * .5); cursor: pointer; transition: width .8s var(--ease); }
.stage.is-3d.raised .core { width: 21%; }
.wall-tags { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.wall-tag { position: absolute; left: 0; top: 0; white-space: nowrap; font: 700 15px/1 var(--display); letter-spacing: .02em; color: var(--ink); background: var(--gold-hi); padding: 6px 9px 7px; border-radius: 2px; opacity: 0; transition: opacity .35s var(--ease); box-shadow: 0 6px 20px -6px rgba(0, 0, 0, .7); }
.wall-tag.on { opacity: 1; }

.flat .orbit { position: absolute; inset: 9%; border-radius: 50%; border: 1px dashed rgba(217, 162, 54, .18); }
.flat .orbit.two { inset: 24%; border-style: solid; border-color: rgba(255, 255, 255, .04); }
.brothers, .beams { position: absolute; inset: 0; }
.brother { position: absolute; width: 15%; transform: translate(-50%, -50%); text-align: center; }
.brother svg { width: 100%; height: auto; overflow: visible; }
.brother .sh { fill: rgba(17, 29, 39, .9); stroke: var(--line-2); stroke-width: 1.5; transition: fill .5s var(--ease), stroke .5s var(--ease), filter .5s; }
.brother .ini { font: 700 15px var(--display); fill: var(--dim); transition: fill .4s; }
.brother .tag { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 6px) scale(.9); opacity: 0; white-space: nowrap; font: 700 13px/1 var(--display); color: var(--ink); background: var(--gold-hi); padding: 5px 7px; border-radius: 2px; transition: opacity .35s var(--ease), transform .35s var(--ease); pointer-events: none; }
.brother.on .sh { fill: url(#goldFill); stroke: var(--gold-hi); filter: drop-shadow(0 0 14px rgba(242, 196, 90, .55)); }
.brother.on .ini { fill: var(--ink); }
.brother.on .tag { opacity: 1; transform: translate(-50%, 10px) scale(1); }
.brother.up .tag { top: auto; bottom: 100%; transform: translate(-50%, -2px) scale(.9); }
.brother.up.on .tag { transform: translate(-50%, -6px) scale(1); }
.beam { position: absolute; left: 50%; top: 50%; width: 2px; height: 31%; transform-origin: top center; transform: rotate(calc(var(--a) + 180deg)); background: linear-gradient(to bottom, rgba(242, 196, 90, .9), transparent); opacity: 0; }
.stage.firing .beam.go { animation: beam .9s var(--ease) forwards; }
@keyframes beam { 0% { opacity: 0; clip-path: inset(0 0 100% 0); } 30% { opacity: 1; } 100% { opacity: 0; clip-path: inset(0 0 0 0); } }

.core { position: absolute; z-index: 3; left: 50%; top: 48%; width: min(35%, 210px); aspect-ratio: 1; transform: translate(-50%, -50%); }
.core-btn { position: absolute; inset: 0; border-radius: 50%; border: 0; cursor: pointer; padding: 0; background: radial-gradient(circle at 50% 35%, #ff4d40, var(--red) 55%, #a8180f); box-shadow: 0 0 0 10px rgba(229, 57, 47, .12), 0 0 0 22px rgba(229, 57, 47, .06), 0 30px 60px -20px rgba(168, 24, 15, .8); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; transition: transform .2s var(--ease); touch-action: none; -webkit-tap-highlight-color: transparent; }
.core-btn:active, .core-btn.holding { transform: scale(.97); }
.core-btn .medal { width: 40%; aspect-ratio: 1; border-radius: 50%; background: var(--ink); border: 2px solid var(--gold); display: grid; place-items: center; margin-bottom: 6px; }
.core-btn .medal img { width: 52%; height: auto; }
.core-btn .t1 { font: 700 clamp(18px, 2.2vw, 24px)/1 var(--display); color: #fff; }
.core-btn .t2 { font: 600 clamp(11px, 1vw, 13px)/1 var(--body); color: #ffe4e1; }
.core .ring { position: absolute; inset: -9%; width: 118%; height: 118%; transform: rotate(-90deg); pointer-events: none; }
.core .ring circle { fill: none; stroke-width: 3; }
.core .ring .track { stroke: rgba(229, 57, 47, .25); }
.core .ring .prog { stroke: var(--gold-hi); stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; }
.stage:not(.is-3d).raised .core-btn { animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(229, 57, 47, .55); } 70% { box-shadow: 0 0 0 40px rgba(229, 57, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 57, 47, 0); } }
.raise-caption { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(20px, 5vh, 56px); text-align: center; padding: 0 16px; }
.raise-caption .big { font: 600 24px/1.1 var(--display); }
.raise-caption .small { font-size: 13px; color: var(--dim); margin-top: 6px; }
.raise-caption button { background: none; border: 0; color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 13px; padding: 4px; }
.flash { animation: flash 1.4s var(--ease); }
@keyframes flash { 0%, 100% { outline: 0 solid rgba(242, 196, 90, 0); } 30% { outline: 6px solid rgba(242, 196, 90, .5); } }

@media (max-width: 960px) {
  /* Phone and tablet: headline, then the Shield, then the rest */
  .hero { min-height: 0; display: flex; flex-direction: column; }
  .hero-copy { display: contents; }
  .hero-copy > * { margin-left: var(--gutter); margin-right: var(--gutter); max-width: none; }
  .kicker { order: 1; align-self: flex-start; margin-top: 22px; font-size: 13px; }
  .hero h1 { order: 2; margin-top: 16px; }
  .stage { --cap: 76px; order: 3; position: relative; right: auto; width: 100%; height: min(108vw, 560px); margin-top: 4px; }
  .hero .lede { order: 4; margin-top: 4px; }
  .hero-cta { order: 5; margin-bottom: 56px; }
  .core { top: calc((100% - var(--cap)) * .48); }
  .stage .flat { top: calc((100% - var(--cap)) * .48); width: min(84%, 420px); }
  .raise-caption { bottom: 6px; }
  .raise-caption .big { font-size: 21px; }
  .wall-tag { font-size: 12.5px; padding: 4px 6px 5px; }
}

/* Mission: one line, set large */
.mission { padding: clamp(64px, 8vw, 104px) 0; border-top: 1px solid var(--line); background: var(--ink-2); }
.mission-line { font: 700 clamp(30px, 3.6vw, 50px)/1.08 var(--display); max-width: 980px; text-wrap: balance; }

/* Steps: a real sequence, so numbered */
.band-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 32px; }
.more { color: var(--gold-hi); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(242, 196, 90, .4); padding-bottom: 2px; }
.more:hover { border-bottom-color: var(--gold-hi); }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.steps li { padding: 26px 24px 8px 0; position: relative; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.steps .num { font: 700 52px/1 var(--display); color: var(--line-2); }
.steps li.hl .num { color: var(--red); }
.steps h3 { font-size: 28px; font-weight: 700; margin-top: 18px; }
.steps p { color: var(--muted); font-size: 15px; margin-top: 10px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps li:nth-child(3) { border-left: 0; padding-left: 0; } .steps li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .steps li, .steps li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } .steps li:first-child { border-top: 0; } .steps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 8px; padding-bottom: 20px; } .steps .num { grid-row: span 2; font-size: 40px; } .steps h3 { margin-top: 2px; } }

/* Group text vs ShieldWall */
.vs-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.vs-list > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.vs-list > div:first-child { padding-top: 6px; }
.vs-list dt { font: 600 24px/1.15 var(--display); color: var(--dim); text-decoration: line-through; text-decoration-color: rgba(229, 57, 47, .7); text-decoration-thickness: 2px; }
.vs-list dd { margin-top: 8px; font-size: 16.5px; }
@media (max-width: 860px) { .vs-wrap { grid-template-columns: 1fr; } }

/* Ask band */
.ask-band { background: radial-gradient(70% 120% at 85% 50%, rgba(217, 162, 54, .09), transparent 70%), var(--ink-2); }
.ask-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.ask-cta { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.orb { width: 132px; height: 132px; border-radius: 50%; border: 1px solid rgba(242, 196, 90, .6); background: radial-gradient(circle at 50% 38%, #2a3d49, var(--ink) 70%); color: var(--gold-hi); display: grid; place-items: center; cursor: pointer; position: relative; transition: transform .2s var(--ease); }
.orb::before, .orb::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(242, 196, 90, .25); animation: halo 3s infinite var(--ease); }
.orb::after { animation-delay: 1.5s; }
@keyframes halo { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.orb:hover { transform: scale(1.03); }
.orb svg { width: 44px; height: 44px; }
.ask-chips { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ask-chips button { background: transparent; border: 1px solid var(--line-2); color: var(--text); border-radius: 999px; padding: 9px 15px; font-size: 14.5px; cursor: pointer; text-align: left; transition: border-color .2s, color .2s; }
.ask-chips button:hover { border-color: var(--gold); color: var(--gold-hi); }
@media (max-width: 860px) { .ask-wrap { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ask-cta { grid-template-columns: 1fr; justify-items: start; } .orb { width: 104px; height: 104px; } }

/* Join */
.join { padding: clamp(72px, 9vw, 120px) 0; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.join-grid { display: grid; grid-template-columns: 1fr minmax(320px, 460px); gap: clamp(32px, 6vw, 96px); align-items: start; }
.wall-steps { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: w; }
.wall-steps li { counter-increment: w; display: grid; grid-template-columns: 34px 1fr; padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); }
.wall-steps li::before { content: counter(w); font: 700 22px/1.2 var(--display); color: var(--gold); }
.wall-steps strong { color: var(--text); font-weight: 600; }
@media (max-width: 860px) { .join-grid { grid-template-columns: 1fr; } }

/* Doors to the detail pages */
.doors { border-top: 1px solid var(--line); }
.doors-grid { display: grid; grid-template-columns: 1fr 1fr; }
.door { display: block; padding: clamp(28px, 4vw, 48px) clamp(0px, 2vw, 32px) clamp(28px, 4vw, 48px) 0; text-decoration: none; transition: background .2s; }
.door + .door { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 40px); }
.door-t { display: block; font: 700 clamp(28px, 3vw, 38px)/1 var(--display); }
.door-t::after { content: ""; display: inline-block; width: 12px; height: 12px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); transform: rotate(45deg) translate(-2px, 2px); margin-left: 14px; transition: transform .2s var(--ease); }
.door:hover .door-t::after { transform: rotate(45deg) translate(2px, -2px); }
.door-d { display: block; color: var(--muted); margin-top: 10px; max-width: 420px; }
@media (max-width: 700px) { .doors-grid { grid-template-columns: 1fr; } .door + .door { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; } }

/* Detail pages */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 72px); background: radial-gradient(50% 120% at 90% 0%, rgba(217, 162, 54, .08), transparent 70%); }
.page-hero h1 { font-size: clamp(52px, 7vw, 104px); line-height: .9; max-width: 980px; }
.page-hero .lede { font-size: clamp(17px, 1.4vw, 19px); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.toc a { text-decoration: none; font-size: 14px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; transition: border-color .2s, color .2s; }
.toc a:hover { border-color: var(--gold); color: var(--text); }
.wide-photo { margin-top: 48px; border: 1px solid var(--line); overflow: hidden; }
.wide-photo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; max-height: 640px; }
.why-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.photo { margin-top: 32px; }
.photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--line); }
.photo figcaption { font-size: 13px; color: var(--dim); margin-top: 10px; }
.pillars > div, .feat-grid > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.pillars > div:first-child { padding-top: 4px; }
.pillars dt, .feat-grid dt { font: 700 28px/1.05 var(--display); }
.pillars dd, .feat-grid dd { color: var(--muted); margin-top: 8px; max-width: 560px; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } }
.platform-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; margin-top: 44px; }
.core-box, .mod-box { padding: 26px 28px; border: 1px solid var(--line); }
.core-box { border-color: rgba(217, 162, 54, .5); background: var(--gold-wash); }
.core-box h3, .mod-box h3 { font-size: 22px; font-weight: 600; color: var(--muted); }
.core-box ul, .mod-box ul { list-style: none; margin: 14px 0 0; padding: 0; }
.core-box li { font: 700 30px/1.25 var(--display); }
.mod-box ul { columns: 2; column-gap: 24px; }
.mod-box li { font: 600 22px/1.6 var(--display); break-inside: avoid; }
@media (max-width: 760px) { .platform-grid { grid-template-columns: 1fr; } .mod-box ul { columns: 1; } }
.aside-note { border-left: 2px solid var(--gold); padding: 4px 0 4px 20px; color: var(--muted); max-width: 640px; margin-top: 36px; }
.punch { font: 700 clamp(28px, 3vw, 40px)/1.1 var(--display); margin-top: 36px; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 40px; margin-top: 36px; }
.feat-grid > div.hl dt { color: var(--gold-hi); }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }
.two-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; color: var(--muted); }
.two-notes strong { color: var(--text); }
@media (max-width: 760px) { .two-notes { grid-template-columns: 1fr; gap: 20px; } }
.church-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .church-wrap { grid-template-columns: 1fr; } }

/* FAQ */
.faq { padding-top: 24px; }
.faq-wrap { max-width: 860px; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font: 700 clamp(24px, 2.4vw, 30px)/1.1 var(--display); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--gold); font-weight: 600; flex: none; transition: transform .2s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa > div { padding: 0 0 24px; color: var(--muted); max-width: 720px; font-size: 16.5px; }
.qa a { color: var(--gold-hi); }

/* Forms */
.form-card { background: var(--panel); border: 1px solid var(--line); padding: clamp(22px, 3vw, 34px); border-radius: 4px; }
.field { display: grid; gap: 8px; margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 600; padding: 0; }
.opt { color: var(--dim); font-weight: 400; margin-left: 4px; }
.req { color: var(--gold); }
.input { width: 100%; background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 3px; padding: 13px 14px; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.input::placeholder { color: #5f6c75; }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 162, 54, .18); }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23b3b8b9' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
textarea.input { min-height: 110px; resize: vertical; }
.seg { grid-template-columns: 1fr 1fr; gap: 8px; }
.seg legend { margin-bottom: 8px; grid-column: 1 / -1; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg label span { display: block; text-align: center; padding: 12px; border: 1px solid var(--line-2); border-radius: 3px; background: var(--ink-2); font-weight: 600; transition: border-color .2s, background .2s, color .2s; }
.seg input:checked + span { border-color: var(--gold); background: var(--gold-wash); color: var(--gold-hi); }
.seg input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.form-card .btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--dim); margin-top: 14px; }
.form-error { color: #ff8a80; font-size: 14px; margin-top: 12px; min-height: 1em; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.grid-2 .span { grid-column: 1 / -1; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
.done { display: none; }
.done.show { display: block; }

/* After joining: your link and your wall */
.joined .check { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-wash); border: 1px solid rgba(217, 162, 54, .5); margin-bottom: 18px; }
.joined .check svg { width: 24px; height: 24px; color: var(--gold-hi); }
.joined h3 { font-size: 34px; }
.joined p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.linkbox { display: flex; gap: 8px; margin-top: 20px; }
.linkbox .input { font-size: 14px; color: var(--gold-hi); }
.linkbox .btn { width: auto; padding: 0 18px; font-size: 18px; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.joined .share-row { margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--muted); font: 600 13px/1 var(--body); text-decoration: none; cursor: pointer; transition: border-color .2s, color .2s; }
.chip:hover { border-color: var(--gold); color: var(--text); }
.chip svg { width: 13px; height: 13px; }
.wall-slots { display: flex; gap: 6px; margin-top: 22px; flex-wrap: wrap; }
.wall-slots svg { width: 26px; height: auto; }
.wall-slots .sh { fill: var(--ink-2); stroke: var(--line-2); stroke-width: 1.5; }
.wall-slots .on .sh { fill: url(#goldFill); stroke: var(--gold-hi); }
.wall-count { font-size: 14px; color: var(--muted); margin-top: 10px; }
.lead-toggle { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.lead-toggle summary { cursor: pointer; font: 700 24px/1.1 var(--display); list-style: none; display: flex; align-items: center; justify-content: space-between; color: var(--gold-hi); }
.lead-toggle summary::-webkit-details-marker { display: none; }
.lead-toggle summary::after { content: "+"; color: var(--gold); font-size: 26px; }
.lead-toggle[open] summary::after { content: "\2212"; }
.lead-toggle .sub { color: var(--muted); font-size: 14.5px; margin: 8px 0 18px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: 14px; color: var(--muted); background: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.2fr .8fr 1.2fr; gap: 32px; }
.site-footer .brand .em { height: 30px; }
.site-footer .brand .wm { height: 12px; }
.tag { margin-top: 12px; }
.foot-nav { display: grid; gap: 8px; align-content: start; }
.foot-nav a, .foot-base a { text-decoration: none; }
.foot-nav a:hover, .foot-base a:hover { color: var(--text); }
.foot-h { font-weight: 600; color: var(--text); margin-bottom: 10px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
.foot-base p a { margin-right: 14px; }
.crisis-line { color: var(--dim); }
.crisis-line a { color: var(--muted); text-decoration: underline; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; } }

/* Legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 72px var(--gutter) 96px; }
.legal h1 { font-size: clamp(44px, 6vw, 68px); margin-bottom: 30px; }
.legal h2 { font-size: 30px; margin: 44px 0 14px; }
.legal h3 { font-size: 21px; font-weight: 600; margin: 26px 0 10px; }
.legal p, .legal li { color: #cfd2d5; font-size: 15px; }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--gold-hi); }

/* Ask ShieldWall */
.ask-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; border: 1px solid rgba(217, 162, 54, .55); background: rgba(10, 26, 36, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--text); cursor: pointer; font: 600 19px/1 var(--display); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .8); transition: transform .2s var(--ease), opacity .2s; }
.ask-fab:hover { transform: translateY(-2px); }
.ask-fab .em-dot { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); border: 1px solid var(--gold); display: grid; place-items: center; }
.ask-fab .em-dot img { width: 15px; height: auto; }
.ask-fab.hide { opacity: 0; pointer-events: none; }
.ask-panel { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: min(420px, calc(100vw - 24px)); height: min(640px, calc(100dvh - 40px)); display: none; flex-direction: column; background: var(--ink-2); border: 1px solid var(--line-2); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9); border-radius: 8px; overflow: hidden; }
.ask-panel.open { display: flex; animation: rise .28s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.ask-head { display: flex; align-items: center; gap: 10px; padding: 12px 10px 12px 16px; border-bottom: 1px solid var(--line); background: var(--panel); }
.ask-head img { width: 18px; }
.ask-head .t { font: 700 21px/1 var(--display); flex: 1; }
.ask-head .t small { display: block; font: 400 12px/1.35 var(--body); color: var(--dim); margin-top: 4px; }
.ask-icon { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 8px; border-radius: 6px; }
.ask-icon svg { width: 20px; height: 20px; display: block; }
.ask-icon.on { color: var(--gold-hi); background: var(--gold-wash); }
.ask-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 88%; padding: 11px 14px; border-radius: 14px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; }
.msg.bot { background: var(--panel-2); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.me { background: #233d52; border: 1px solid #2f4d66; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg .act { display: inline-flex; margin-top: 10px; padding: 9px 14px 10px; font-size: 17px; }
.msg.typing { color: var(--dim); }
.crisis { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.crisis a { flex: 1; min-width: 120px; text-align: center; text-decoration: none; padding: 10px 12px; border-radius: 8px; font-weight: 700; font-size: 14px; color: #fff; }
.crisis .c911 { background: var(--c911); }
.crisis .c988 { background: var(--c988); }
.ask-sugg { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 12px; }
.ask-sugg button { border: 1px solid var(--line-2); background: transparent; color: var(--muted); border-radius: 999px; padding: 7px 11px; font-size: 13px; cursor: pointer; }
.ask-sugg button:hover { border-color: var(--gold); color: var(--text); }
.ask-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--panel); align-items: center; }
.ask-form .input { padding: 11px 12px; }
.ask-form .send { width: auto; padding: 11px 14px 12px; font-size: 18px; }
.mic { --lvl: 0; position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(217, 162, 54, .6); background: var(--ink); color: var(--gold-hi); display: grid; place-items: center; cursor: pointer; }
.mic svg { width: 22px; height: 22px; grid-area: 1 / 1; }
.mic .i-stop { display: none; }
.mic .lvl { position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--red); opacity: 0; transform: scale(calc(1 + var(--lvl) * .35)); transition: transform .08s linear; }
.ask-panel.listening .mic { background: var(--red); border-color: var(--red); color: #fff; }
.ask-panel.listening .mic .i-mic { display: none; }
.ask-panel.listening .mic .i-stop { display: block; }
.ask-panel.listening .mic .lvl { opacity: .8; }
.ask-panel.speaking .ask-head img { animation: speak 1s infinite var(--ease); }
@keyframes speak { 50% { transform: scale(1.18); filter: drop-shadow(0 0 6px rgba(242, 196, 90, .8)); } }
.ask-foot { font-size: 11px; color: var(--dim); padding: 0 14px 10px; background: var(--panel); }
@media (max-width: 520px) { .ask-panel { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; border: 0; } .ask-fab { right: 14px; bottom: 14px; padding: 6px; } .ask-fab .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .ask-fab .em-dot { width: 44px; height: 44px; } .ask-fab .em-dot img { width: 18px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
