/* King Jesus Roundtable: midnight, royal gold, parchment */
:root {
  --bg: #0b0d12;
  --bg2: #141821;
  --gold: #c9a45c;
  --gold-hi: #f1d796;
  --bronze: #8c6a32;
  --cream: #f3ecdc;
  --muted: #a9a594;
  --line: rgba(241, 215, 150, .22);
  --serif: "Cormorant Garamond", Georgia, serif;
  --caps: "Cinzel", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
html:not(.lenis) { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--cream); font: 400 16px/1.65 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.04; margin: 0 0 .4em; letter-spacing: -.01em; }
h2 { font-size: clamp(38px, 5.6vw, 76px); }
h2 em { font-style: italic; color: var(--gold-hi); }
.eyebrow { font: 600 11px/1 var(--caps); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.eyebrow.center { text-align: center; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.row.center { justify-content: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; font: 600 14px/1 var(--sans); letter-spacing: .04em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, background .3s; transform: translate(var(--mx, 0), var(--my, 0)); }
.btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--bronze)); color: #1b1307; box-shadow: 0 10px 30px -12px rgba(201, 164, 92, .7); }
.btn-gold:hover { box-shadow: 0 16px 40px -12px rgba(241, 215, 150, .8); }
.btn-ghost { background: rgba(11, 13, 18, .35); color: var(--cream); border-color: rgba(241, 215, 150, .45); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(241, 215, 150, .12); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 13px; }

/* loader */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-items: center; transition: opacity .9s ease, visibility .9s; }
html:not(.pre) .loader { opacity: 0; visibility: hidden; }
.loader-in { text-align: center; }
.loader-crest { width: 84px; height: 105px; color: var(--gold-hi); animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 50% { filter: drop-shadow(0 0 18px rgba(241, 215, 150, .55)); } }
.loader-name { font: 600 12px/1 var(--caps); letter-spacing: .4em; color: var(--muted); margin: 18px 0 26px; padding-left: .4em; }
.loader-bar { width: 180px; height: 1px; background: var(--line); margin: 0 auto; overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 0; background: var(--gold-hi); transition: width .3s; }
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 16px var(--gutter); transition: background .4s, padding .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(11, 13, 18, .84); backdrop-filter: blur(14px); padding-top: 10px; padding-bottom: 10px; border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-crest { width: 34px; height: 42px; color: var(--gold-hi); }
.brand-name { font: 700 14px/1.05 var(--caps); letter-spacing: .2em; }
.brand-name small { display: block; font-size: 9.5px; letter-spacing: .42em; color: var(--gold); margin-top: 3px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--muted); transition: color .3s; }
.nav-links a:hover { color: var(--gold-hi); }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--cream); transition: transform .35s, top .35s; }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
html.menu-open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
html.menu-open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: rgba(11, 13, 18, .97); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 22px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.mobile-menu a:not(.btn) { font: 600 34px/1.1 var(--serif); text-decoration: none; }
.mobile-menu .btn { margin-top: 10px; }
html.menu-open .mobile-menu { opacity: 1; visibility: visible; }

/* scrub sections */
.scrub { position: relative; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(11, 13, 18, .05), rgba(11, 13, 18, .62) 78%), linear-gradient(180deg, rgba(11, 13, 18, .55), transparent 26%, transparent 70%, rgba(11, 13, 18, .92)); pointer-events: none; }
.reveal-line { position: absolute; opacity: 0; will-change: transform, opacity; }
.reveal-line.side { top: 50%; max-width: min(580px, calc(100% - 2 * var(--gutter))); transform: translateY(-50%); }
.reveal-line.side.left { left: var(--gutter); }
.reveal-line.side.right { right: var(--gutter); text-align: right; }
.reveal-line.side.right .row { justify-content: flex-end; }
.reveal-line.side p { color: var(--cream); opacity: .88; font-size: 17px; max-width: 470px; }
.reveal-line.side.right p { margin-left: auto; }
.reveal-line h2 { text-shadow: 0 4px 40px rgba(0, 0, 0, .6); }
.hero-intro { left: 0; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--gutter); }
.hero-intro::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(1200px, 130vw); height: min(680px, 76vh); transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(11, 13, 18, .66), transparent 68%); z-index: -1; pointer-events: none; }
.hero-crest { width: clamp(70px, 8vw, 110px); height: clamp(88px, 10vw, 138px); color: var(--gold-hi); margin-bottom: 18px; filter: drop-shadow(0 6px 30px rgba(0, 0, 0, .6)); }
.logo { margin: 0; line-height: 1; text-shadow: 0 6px 50px rgba(0, 0, 0, .6); }
.logo-top { display: block; font: 600 clamp(22px, 4vw, 58px)/1 var(--caps); letter-spacing: .3em; padding-left: .3em; }
.logo-name { display: block; font: 600 clamp(40px, 10.4vw, 170px)/1.05 var(--caps); letter-spacing: .06em; padding-left: .06em; background: linear-gradient(180deg, #fffaf0 10%, var(--gold-hi) 45%, var(--gold) 70%, var(--bronze)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 8px 30px rgba(0, 0, 0, .55)); }
.logo-sub { font: italic 500 clamp(20px, 2.4vw, 30px)/1.3 var(--serif); padding: 14px 26px; margin: 18px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-sub span { font: 600 11px/1 var(--caps); letter-spacing: .3em; color: var(--gold); margin-left: 10px; white-space: nowrap; }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font: 600 10px/1 var(--caps); letter-spacing: .3em; color: var(--muted); transition: opacity .5s; }
.scroll-hint i { width: 1px; height: 44px; background: linear-gradient(var(--gold-hi), transparent); animation: drip 2s infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.progress { position: absolute; right: 18px; top: 50%; height: 120px; width: 1px; transform: translateY(-50%); background: var(--line); }
.progress span { display: block; height: 100%; background: var(--gold-hi); transform-origin: top; transform: scaleY(0); }

/* story */
.story { padding: clamp(90px, 13vw, 170px) 0; text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(201, 164, 92, .1), transparent 60%); }
.lede { font: 500 clamp(24px, 3.2vw, 42px)/1.3 var(--serif); max-width: 1000px; margin: 0 auto; }
.word-scrub .w { opacity: .18; transition: opacity .4s; }
.word-scrub .w.on { opacity: 1; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 80px; text-align: left; }
.pillar { border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px; background: linear-gradient(170deg, rgba(241, 215, 150, .06), transparent 60%); }
.pillar span { font: 600 13px/1 var(--caps); letter-spacing: .3em; color: var(--gold); }
.pillar h3 { font-size: 36px; margin: 14px 0 8px; }
.pillar p { margin: 0; color: var(--muted); }

/* story copy, vision + mission */
.story-copy { max-width: 820px; margin: 60px auto 0; text-align: left; color: var(--muted); font-size: 17.5px; }
.story-copy p { margin: 0 0 1.1em; }
.vm { padding: 0 0 clamp(90px, 12vw, 150px); }
.vm-quote { max-width: 960px; margin: 0 auto 60px; text-align: center; font: italic 500 clamp(24px, 3vw, 38px)/1.35 var(--serif); }
.vm-quote cite { display: block; font: 600 11px/1 var(--caps); font-style: normal; letter-spacing: .3em; color: var(--gold); margin-top: 22px; }
.vm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vm-card { border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px; background: var(--bg2); }
.vm-card h3 { font-size: 30px; margin-bottom: 12px; }
.vm-card p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 15.5px; }
.agenda { list-style: none; padding: 0; margin: 18px 0; border-top: 1px solid var(--line); }
.agenda li { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--cream); font-size: 15px; }
.agenda b { font: 600 12px/1.9 var(--caps); letter-spacing: .1em; color: var(--gold-hi); min-width: 74px; }
.gather-copy .dress { font-size: 14px !important; }

/* declaration on parchment */
.declaration { padding: 30px 0 clamp(100px, 13vw, 170px); }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto 50px; }
.sec-head p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.scroll-doc { position: relative; max-width: 860px; margin: 0 auto 40px; padding: clamp(44px, 7vw, 90px) clamp(24px, 7vw, 96px); color: #3a2614; background: #e9d6ad url("assets/parchment.jpg") center/cover; border-radius: 6px; box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .8), inset 0 0 90px rgba(120, 72, 24, .45), inset 0 0 18px rgba(120, 72, 24, .5); font: 500 clamp(18px, 1.7vw, 21px)/1.7 var(--serif); text-align: justify; hyphens: auto; }
.scroll-doc::before, .scroll-doc::after { content: ""; position: absolute; left: -14px; right: -14px; height: 26px; border-radius: 14px; background: linear-gradient(180deg, #8a5a2b, #5c3815 45%, #8a5a2b); box-shadow: 0 8px 20px rgba(0, 0, 0, .5); }
.scroll-doc::before { top: -12px; }
.scroll-doc::after { bottom: -12px; }
.scroll-doc h3 { font: 700 clamp(40px, 6vw, 76px)/1 var(--caps); text-align: center; color: #7a4a22; letter-spacing: .06em; margin-bottom: 36px; }
.scroll-doc b { font-family: var(--caps); font-weight: 700; font-size: .86em; letter-spacing: .04em; }
.scroll-doc sup { font-size: .6em; color: #7a4a22; }
.scroll-doc .shema { text-align: center; font-size: 1.08em; }
.scroll-doc p { margin: 0 0 1.1em; }
.scroll-doc .flourish { height: 1px; margin: 30px auto 22px; width: 70%; background: linear-gradient(90deg, transparent, #7a4a22, transparent); }
.refs { margin: 0; padding-left: 1.4em; font-size: .78em; columns: 2; color: #5a3a1c; text-align: left; }
.scroll-doc p, .scroll-doc .refs { opacity: .22; transition: opacity 1s ease; }
.scroll-doc .lit { opacity: 1; }

/* nations counters */
#nations .reveal-line.side { background: rgba(11, 13, 18, .62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3vw, 36px); max-width: min(520px, calc(100% - 2 * var(--gutter))); }
#nations .reveal-line.side.right { text-align: center; }
#nations .reveal-line.side.right .row { justify-content: center; }
.counters { display: flex; gap: clamp(26px, 4vw, 60px); justify-content: center; }
.counters div { text-align: center; }
.counters b { display: block; font: 600 clamp(80px, 11vw, 150px)/.9 var(--serif); background: linear-gradient(180deg, #fff6e0, var(--gold-hi) 40%, var(--gold) 70%, var(--bronze)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.counters span { font: 600 11px/1.4 var(--caps); letter-spacing: .26em; text-transform: uppercase; color: var(--cream); }

/* wall */
.wall { padding: clamp(90px, 12vw, 150px) 0 60px; }
.wall-tools { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; max-width: 1000px; margin: 0 auto 26px; }
.wall-tools input { flex: 1 1 280px; font: 400 16px var(--sans); color: var(--cream); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 999px; padding: 14px 22px; outline: none; }
.wall-tools input:focus { border-color: var(--gold-hi); }
.wall-tools span { font: 600 11px/1 var(--caps); letter-spacing: .22em; color: var(--muted); }
.names { list-style: none; padding: 0; margin: 0 auto; max-width: 1000px; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.names li { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; background: linear-gradient(160deg, rgba(241, 215, 150, .05), rgba(11, 13, 18, .6)); animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.names li.new { border-color: var(--gold-hi); box-shadow: 0 0 0 1px var(--gold-hi), 0 20px 50px -20px rgba(241, 215, 150, .5); }
.names b { display: block; font: 600 23px/1.15 var(--serif); overflow-wrap: anywhere; }
.names i { display: block; font-style: normal; color: var(--muted); font-size: 14px; margin-top: 4px; overflow-wrap: anywhere; }
.names em { display: inline-block; font: 600 10px/1 var(--caps); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 10px; }
.names .empty { grid-column: 1 / -1; text-align: center; color: var(--muted); border-style: dashed; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
#wall-more[hidden] { display: none; }

/* sign */
.sign { position: relative; padding: clamp(100px, 13vw, 180px) 0; overflow: hidden; }
.sign-bg { position: absolute; inset: -10% 0; }
.sign-bg img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--py, 0)); }
.sign-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg), rgba(11, 13, 18, .72) 28%, rgba(11, 13, 18, .84) 70%, var(--bg)); }
.sign-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.sign-crest { width: 60px; height: 75px; color: var(--gold-hi); margin-bottom: 20px; }
.sign-copy p:not(.eyebrow) { font-size: 18px; opacity: .9; max-width: 460px; }
.sign-copy p.small { font-size: 14px; color: var(--muted); opacity: 1; }
.form { position: relative; background: rgba(15, 18, 25, .84); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3vw, 36px); backdrop-filter: blur(12px); }
.f { margin-bottom: 16px; }
.f label { display: block; font: 600 11px/1.4 var(--caps); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.f label small { font: 400 12px var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
.f input, .f select, .nl input { width: 100%; font: 400 16px/1.5 var(--sans); color: var(--cream); background-color: rgba(255, 255, 255, .04); border: 1px solid rgba(241, 215, 150, .25); border-radius: 14px; padding: 14px 16px; outline: none; transition: border-color .3s, background-color .3s; }
.f select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.f select option { background: var(--bg2); color: var(--cream); }
.f input:focus, .f select:focus, .nl input:focus { border-color: var(--gold-hi); background-color: rgba(255, 255, 255, .07); }
.f.bad input, .f.bad select, .nl input.bad { border-color: #ff8a7a; }
.check { display: flex; gap: 12px; align-items: center; min-height: 44px; margin: 0 0 8px; font-size: 14.5px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--gold); flex: none; }
.check.bad span { color: #ffb4a8; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.f-alert { color: #ffb4a8; font-size: 14px; margin: 0 0 12px; }
.f-send { width: 100%; }
.f-send.busy { opacity: .6; pointer-events: none; }
.f-done { text-align: center; padding: 24px 0 6px; outline: none; }
.f-done b { display: block; font: 600 38px/1.05 var(--serif); color: var(--gold-hi); margin: 10px 0 8px; }
.f-done span { display: block; margin-bottom: 18px; color: var(--muted); }
.done-crest { width: 54px; height: 68px; color: var(--gold-hi); }
.sent > :not(.f-done) { display: none !important; }

/* ambassadors */
.amb { padding: clamp(90px, 12vw, 160px) 0; background: radial-gradient(ellipse at 50% 100%, rgba(201, 164, 92, .08), transparent 60%); }
.amb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.amb-card { border: 1px solid var(--line); border-radius: 22px; padding: 16px 16px 24px; background: var(--bg2); }
.amb-card figure { margin: 0 0 18px; aspect-ratio: 336 / 376; border-radius: 14px; overflow: hidden; }
.amb-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) contrast(1.05); transition: filter .6s, transform .8s cubic-bezier(.2, .8, .2, 1); }
.amb-card:hover img { filter: none; transform: scale(1.03); }
.amb-card .role { font: 600 10px/1.4 var(--caps); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 6px 6px; }
.amb-card h3 { font-size: 30px; margin: 0 6px 10px; }
.amb-card p:not(.role) { margin: 0 6px; font-size: 14.5px; color: var(--muted); }
.amb-link { display: inline-flex; align-items: center; min-height: 44px; margin: 6px 6px 0; color: var(--gold-hi); font-size: 14px; }

/* gatherings */
.gather { padding: 20px 0 clamp(100px, 12vw, 160px); }
.gather-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(26px, 4vw, 60px); align-items: center; }
.gather-feature figure { margin: 0; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.gather-feature img { width: 100%; height: 100%; object-fit: cover; }
.when { font: 600 11px/1 var(--caps); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.gather-copy h3 { font-size: clamp(32px, 3.4vw, 46px); }
.gather-copy p:not(.when) { color: var(--muted); font-size: 16.5px; }
.next { margin-top: 60px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 44px); background: linear-gradient(120deg, rgba(241, 215, 150, .08), transparent 60%); }
.next h3 { font-size: 38px; margin-bottom: 6px; }
.next p:not(.eyebrow) { color: var(--muted); margin: 0; }
.nl { position: relative; display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 10px; }
.nl .f-send { width: auto; }
.nl .f-alert, .nl .f-done { grid-column: 1 / -1; margin: 0; }
.nl .f-done { padding: 6px 0; text-align: left; }
.nl .f-done b { font-size: 28px; margin: 0 0 4px; }

/* footer */
.foot { text-align: center; padding: 70px var(--gutter) 50px; border-top: 1px solid var(--line); }
.foot-crest { width: 50px; height: 62px; color: var(--gold-hi); }
.foot-name { font: 700 16px/1 var(--caps); letter-spacing: .34em; margin-top: 14px; padding-left: .34em; }
.verse { font: italic 500 20px/1.5 var(--serif); max-width: 640px; margin: 22px auto 0; opacity: .88; }
.verse span { display: block; font: 600 11px/1 var(--caps); letter-spacing: .26em; color: var(--gold); margin-top: 10px; }
.foot .small { font-size: 13px; color: var(--muted); margin-top: 30px; line-height: 2; }
.foot .small a { display: inline-block; padding: 10px 2px; }

/* reveals */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s, transform 1s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1100px) { .amb-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .sign-in, .gather-feature, .next { grid-template-columns: 1fr; }
  .pillars, .vm-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .reveal-line.side, .reveal-line.side.right { left: var(--gutter); right: var(--gutter); top: auto; bottom: 12vh; transform: none; text-align: left; max-width: none; }
  .reveal-line.side.right .row { justify-content: flex-start; }
  .reveal-line.side.right p { margin-left: 0; }
  .shade { background: linear-gradient(180deg, rgba(11, 13, 18, .5), transparent 30%, rgba(11, 13, 18, .35) 55%, rgba(11, 13, 18, .94)); }
  .amb-grid { grid-template-columns: 1fr; }
  .nl { grid-template-columns: 1fr; }
  .nl .f-send { width: 100%; }
  .refs { columns: 1; }
  .scroll-doc { text-align: left; hyphens: manual; }
  .scroll-doc::before, .scroll-doc::after { left: -6px; right: -6px; }
  .logo-sub span { display: block; margin: 8px 0 0; }
  .progress { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .scroll-doc p, .scroll-doc .refs { opacity: 1; transform: none; transition: none; }
}
