/* Revery v2: dark, video-led, scroll-driven. Loaded after styles.css and overrides it. */
body.v2 { --paper: #080c0f; --paper-2: #10171c; --text: #e9edef; --muted: #9eabb2; --line: rgba(255, 255, 255, .12); --gold: #d6b27a; background: var(--paper); color: var(--text); }
body.v2 h1, body.v2 h2, body.v2 h3 { color: #fff; }
body.v2 .eyebrow.dark { color: var(--gold); }
body.v2 ::selection { background: var(--gold); color: #000; }

.progress { position: fixed; left: 0; top: 0; height: 2px; width: 0; background: linear-gradient(90deg, #d6b27a, #f3e3c6); z-index: 40; }
.glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 1; background: radial-gradient(circle, rgba(214, 178, 122, .10), rgba(240, 220, 190, .04) 40%, transparent 68%); opacity: 0; transition: opacity .6s; mix-blend-mode: screen; }
body.v2 section, body.v2 footer, body.v2 header { position: relative; z-index: 2; }
body.v2 .nav { position: fixed; z-index: 30; }
body.v2 .nav.solid { background: rgba(8, 12, 15, .72); backdrop-filter: blur(16px) saturate(140%); color: #fff; box-shadow: 0 1px 0 var(--line); }

/* hero */
.wordmark { display: flex; justify-content: center; gap: .3em; margin-right: 0 !important; letter-spacing: 0 !important; }
.wordmark span { display: inline-block; opacity: 0; transform: translateY(40px) scale(1.08); filter: blur(14px); animation: letter 1.5s cubic-bezier(.2, .7, .2, 1) forwards; }
.wordmark span:nth-child(1) { animation-delay: .25s; } .wordmark span:nth-child(2) { animation-delay: .37s; } .wordmark span:nth-child(3) { animation-delay: .49s; }
.wordmark span:nth-child(4) { animation-delay: .61s; } .wordmark span:nth-child(5) { animation-delay: .73s; } .wordmark span:nth-child(6) { animation-delay: .85s; }
@keyframes letter { to { opacity: 1; transform: none; filter: blur(0); } }
body.v2 .hero .eyebrow, body.v2 .hero .lede, body.v2 .hero-actions { opacity: 0; animation: rise 1.2s 1.5s cubic-bezier(.2, .7, .2, 1) forwards; }
body.v2 .hero .lede { animation-delay: 1.7s; font-size: clamp(20px, 2.4vw, 30px); max-width: 760px; } body.v2 .hero-actions { animation-delay: 1.95s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
body.v2 .hero-video { transform: scale(1.06); transition: transform .2s linear; }
body.v2 .btn { transition: transform .25s cubic-bezier(.2, .7, .2, 1), background .25s, color .25s, border-color .25s, box-shadow .25s; }
body.v2 .btn-light:hover { box-shadow: 0 0 0 6px rgba(255, 255, 255, .12), 0 12px 40px rgba(214, 178, 122, .35); }

/* manifesto */
.manifesto { padding: clamp(110px, 16vw, 220px) 0 clamp(70px, 9vw, 120px); }
.kinetic { font-size: clamp(30px, 5.2vw, 76px); line-height: 1.14; max-width: 1180px; font-weight: 300; }
.kinetic .w { color: rgba(255, 255, 255, .16); transition: color .5s; }
.kinetic .w.lit { color: #fff; }
body.v2 .stats { border-top: 1px solid var(--line); margin-top: clamp(60px, 8vw, 110px); width: 100%; }
body.v2 .stats b { color: #fff; font-size: clamp(30px, 4vw, 58px); font-weight: 200; }
body.v2 .stats span { color: var(--muted); }

/* scroll-told sequences (a day here, how it works) */
.scrolly { height: calc(var(--n) * 100vh); }
.sc-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #000; }
.sc-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.sc-slide.on { opacity: 1; }
.sc-v, .ex-v, .bgv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-slide .sc-v { transform: scale(1.08); transition: transform 7s ease-out; } .sc-slide.on .sc-v { transform: scale(1); }
.sc-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 8, 10, .62) 0%, rgba(4, 8, 10, .08) 30%, rgba(4, 8, 10, .1) 52%, rgba(4, 8, 10, .86) 100%); }
.sc-head { position: absolute; top: clamp(84px, 11vh, 130px); left: 0; right: 0; width: min(1240px, 100% - 48px); margin: 0 auto; }
.sc-head h2 { font-size: clamp(24px, 3vw, 42px); max-width: 720px; text-shadow: 0 2px 30px rgba(0, 0, 0, .5); }
.sc-caps { position: absolute; left: 0; right: 0; bottom: clamp(70px, 12vh, 130px); width: min(1240px, 100% - 48px); margin: 0 auto; height: 250px; }
.sc-cap { position: absolute; left: 0; bottom: 0; max-width: 640px; opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
.sc-cap.on { opacity: 1; transform: none; }
.sc-time { font-family: var(--head); font-weight: 200; font-size: clamp(64px, 10vw, 150px); line-height: .95; color: #fff; margin: 0 0 10px; letter-spacing: -.02em; }
.sc-time small { font-size: .28em; letter-spacing: .12em; text-transform: uppercase; margin-left: .35em; color: var(--gold); }
.sc-cap h3 { font-size: clamp(24px, 3vw, 40px); font-weight: 300; margin-bottom: 8px; }
.sc-cap p:last-child { font-size: clamp(16px, 1.5vw, 20px); color: rgba(255, 255, 255, .86); margin: 0; }
.sc-dots { position: absolute; right: clamp(18px, 3vw, 44px); top: 50%; transform: translateY(-50%); display: grid; gap: 12px; }
.sc-dots i { width: 3px; height: 26px; border-radius: 2px; background: rgba(255, 255, 255, .25); transition: background .4s, height .4s; }
.sc-dots i.on { background: var(--gold); height: 46px; }

/* explore */
.explore { min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: #000; }
.ex-stage { position: absolute; inset: 0; }
.ex-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; } .ex-slide.on { opacity: 1; }
.ex-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 8, 10, .92) 0%, rgba(4, 8, 10, .72) 34%, rgba(4, 8, 10, .1) 72%); }
.ex-inner { position: relative; padding: 120px 0; }
.ex-inner h2 { max-width: 620px; margin-bottom: 36px; }
.ex-list { display: grid; max-width: 520px; }
.ex-item { all: unset; cursor: pointer; display: block; padding: 15px 0 15px 22px; border-left: 1px solid rgba(255, 255, 255, .2); transition: border-color .3s, padding .3s; }
.ex-item b { display: block; font-family: var(--head); font-weight: 300; font-size: clamp(20px, 2.1vw, 28px); color: rgba(255, 255, 255, .5); transition: color .3s; }
.ex-item span { display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: 16px; color: rgba(255, 255, 255, .85); transition: max-height .45s, opacity .45s, margin .45s; }
.ex-item.on { border-left: 2px solid var(--gold); padding-left: 28px; } .ex-item.on b, .ex-item:hover b { color: #fff; }
.ex-item.on span { max-height: 80px; opacity: 1; margin-top: 6px; }
.ex-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* the wall */
.wall { padding: clamp(80px, 10vw, 140px) 0; }
.wall-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.tabs { display: flex; gap: 8px; background: var(--paper-2); padding: 6px; border-radius: 999px; }
.tabs button { all: unset; cursor: pointer; padding: 10px 22px; border-radius: 999px; font-family: var(--head); font-size: 15px; color: var(--muted); transition: background .3s, color .3s; }
.tabs button.on { background: #fff; color: #000; }
.tabpane { display: none; } .tabpane.on { display: block; animation: rise .7s cubic-bezier(.2, .7, .2, 1); }
body.v2 .mosaic figure { transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s; }
body.v2 .mosaic figure:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(214, 178, 122, .5); z-index: 2; }
body.v2 .mosaic .reveal { opacity: 1; transform: none; }

/* warm palette only: no blue, no purple */
body.v2 i.s2 { background: #f1e6d2 !important; } body.v2 i.s5 { background: #8f7a5c !important; }

/* how it works numbers + argument, in the dark theme */
body.v2 .how { background: transparent; padding: clamp(70px, 9vw, 120px) 0; }
body.v2 .money { background: linear-gradient(160deg, #121b21, #0c1216); border: 1px solid var(--line); }
body.v2 .bar i { width: 0 !important; transition: width 1.6s cubic-bezier(.2, .7, .2, 1); } body.v2 .money.in .bar i { width: var(--w) !important; }
body.v2 .flip-card.old { background: var(--paper-2); color: var(--text); } body.v2 .flip-card.new { background: linear-gradient(160deg, #16232b, #0d1519); border: 1px solid rgba(214, 178, 122, .4); box-shadow: 0 0 80px rgba(214, 178, 122, .08); }
body.v2 .flip-card li { border-color: var(--line); }
body.v2 .quotes figure { background: var(--paper-2); border: 1px solid var(--line); transition: transform .5s, border-color .5s; } body.v2 .quotes figure:hover { transform: translateY(-6px); border-color: rgba(214, 178, 122, .6); }
body.v2 .quotes blockquote { color: #fff; }
body.v2 .both > div { background: var(--paper-2); } body.v2 .both .same { color: #fff; }
body.v2 .promise p:not(.eyebrow), body.v2 .sub, body.v2 .both p, body.v2 .leave-body p, body.v2 details p, body.v2 .split-text p, body.v2 .statement p { color: var(--muted); }
body.v2 .leave-card { background: var(--paper-2); border: 1px solid var(--line); position: relative; overflow: hidden; }
body.v2 .leave-card .card-v { position: relative; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
body.v2 .faq { padding-top: clamp(80px, 10vw, 140px); }
body.v2 details summary { color: #fff; }
body.v2 .btn-dark { background: #fff; color: #000; } body.v2 .btn-line { border-color: #fff; color: #fff; } body.v2 .play.dark { border-left-color: #fff; }
body.v2 .join-bg { opacity: .5; } body.v2 .feature-bg { opacity: .9; }
body.v2 footer { background: #05080a; }
body.v2 .reveal { transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1); }

.engine { padding: clamp(100px, 13vw, 190px) 0 clamp(80px, 10vw, 140px); }
.engine h2 { font-size: clamp(30px, 4.8vw, 70px); font-weight: 300; max-width: 1050px; }
.chainflow { display: grid; grid-template-columns: 1fr 60px 1fr 60px 1fr 60px 1.25fr; align-items: stretch; margin: clamp(50px, 7vw, 100px) 0; }
.cf { border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px; background: linear-gradient(160deg, #121b21, #0c1216); transition: transform .5s cubic-bezier(.2, .7, .2, 1), border-color .5s; }
.cf:hover { transform: translateY(-6px); border-color: rgba(214, 178, 122, .7); }
.cf span { display: block; font-family: var(--head); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.cf b { font-family: var(--head); font-weight: 300; font-size: clamp(18px, 1.7vw, 24px); color: #fff; line-height: 1.25; display: block; }
.cf.gold { border-color: rgba(214, 178, 122, .6); box-shadow: 0 0 70px rgba(214, 178, 122, .12); }
.chainflow > i { align-self: center; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px); background-size: 16px 2px; animation: cf 0.9s linear infinite; opacity: .8; }
@keyframes cf { to { background-position: 16px 0; } }
.engine-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 60px); }
.engine-cols h3 { font-size: clamp(21px, 2vw, 27px); margin-bottom: 12px; } .engine-cols p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .chainflow { grid-template-columns: 1fr; } .chainflow > i { width: 2px; height: 34px; justify-self: center; background: repeating-linear-gradient(180deg, var(--gold) 0 8px, transparent 8px 16px); animation: none; } .engine-cols { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .chainflow > i { animation: none; } }

/* the ledger: three numbers over the town at night */
.ledger { min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: #000; padding: 120px 0; }
.ledger-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 8, 10, .88), rgba(4, 8, 10, .62) 45%, rgba(4, 8, 10, .92)); }
.ledger .wrap { position: relative; }
.ledger h2 { font-size: clamp(30px, 4.6vw, 68px); font-weight: 300; max-width: 900px; }
.ledger-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); margin: clamp(48px, 7vw, 96px) 0 clamp(36px, 4vw, 56px); }
.lg b { display: block; font-family: var(--head); font-weight: 200; font-size: clamp(54px, 8.4vw, 132px); line-height: 1; letter-spacing: -.03em; color: #fff; }
.lg.gold b { color: var(--gold); text-shadow: 0 0 60px rgba(214, 178, 122, .35); }
.lg i { display: block; height: 2px; width: 0; margin: 22px 0 18px; background: rgba(255, 255, 255, .7); transition: width 2s cubic-bezier(.2, .7, .2, 1) .3s; }
.lg.gold i { background: var(--gold); box-shadow: 0 0 18px rgba(214, 178, 122, .8); }
.ledger-row.in .lg i { width: var(--w); }
.lg span { display: block; font-size: clamp(15px, 1.3vw, 18px); color: rgba(255, 255, 255, .78); max-width: 300px; }
.ledger-foot { color: rgba(255, 255, 255, .6); max-width: 620px; font-size: 16px; }

@media (max-width: 900px) {
  .ledger-row { grid-template-columns: 1fr; }
  .ex-shade { background: linear-gradient(180deg, rgba(4, 8, 10, .55), rgba(4, 8, 10, .9)); }
  .sc-dots { display: none; } .sc-caps { height: 230px; bottom: 60px; }
  .glow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wordmark span, body.v2 .hero .eyebrow, body.v2 .hero .lede, body.v2 .hero-actions { animation: none; opacity: 1; transform: none; filter: none; }
  .kinetic .w { color: #fff; } .sc-slide .sc-v { transform: none; transition: none; } .glow { display: none; } body.v2 .bar i { transition: none; }
}
body.v2 .stats { grid-template-columns: repeat(4, 1fr); }
body.v2 .stats b { font-size: clamp(40px, 5.4vw, 84px); }
@media (max-width: 900px) { body.v2 .stats { grid-template-columns: 1fr 1fr; gap: 34px 18px; } body.v2 .stats div:last-child { grid-column: auto; } }

.deeper { padding: clamp(80px, 10vw, 150px) 0; }
.deeper-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(36px, 5vw, 60px); }
.deeper-card { position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 11; text-decoration: none; color: #fff; border: 1px solid var(--line); transition: transform .5s cubic-bezier(.2, .7, .2, 1), border-color .5s; }
.deeper-card:hover { transform: translateY(-8px); border-color: rgba(214, 178, 122, .7); }
.deeper-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); } .deeper-card:hover img { transform: scale(1.06); }
.deeper-card div { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(20px, 3vw, 38px); background: linear-gradient(180deg, rgba(4, 8, 10, .05) 20%, rgba(4, 8, 10, .92)); }
.deeper-card span { font-family: var(--head); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.deeper-card h3 { font-size: clamp(22px, 2.6vw, 36px); margin: 8px 0; } .deeper-card p { margin: 0 0 14px; color: rgba(255, 255, 255, .82); max-width: 460px; }
.deeper-card b { font-family: var(--head); font-weight: 400; font-size: 15px; letter-spacing: .06em; border-bottom: 1px solid var(--gold); align-self: flex-start; padding-bottom: 3px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 14px 0 20px; } .foot-links a { color: rgba(255, 255, 255, .78); text-decoration: none; font-family: var(--head); font-size: 15px; } .foot-links a:hover { color: #fff; }
@media (max-width: 900px) { .deeper-grid { grid-template-columns: 1fr; } .deeper-card { aspect-ratio: 4 / 3; } }

.mosaic figure { position: relative; } .mosaic .stretch { color: inherit; text-decoration: none; } .mosaic .stretch::after { content: ''; position: absolute; inset: 0; }

.deeper-more { margin: 26px 0 0; color: var(--muted); font-family: var(--head); font-size: 16px; } .deeper-more a { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; } .deeper-more a:hover { color: var(--gold); }

/* phone menu */
.menu-btn { display: none; all: unset; cursor: pointer; width: 44px; height: 44px; position: relative; margin-left: 6px; z-index: 60; }
.menu-btn i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: #fff; transition: transform .3s, top .3s; } .menu-btn i:first-child { top: 17px; } .menu-btn i:last-child { top: 26px; }
.menu-btn.open i:first-child { top: 21.5px; transform: rotate(45deg); } .menu-btn.open i:last-child { top: 21.5px; transform: rotate(-45deg); }
.menu-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 8px; }
.menu-panel { position: fixed; inset: 0; z-index: 50; background: rgba(6, 10, 13, .97); backdrop-filter: blur(18px); display: flex; align-items: center; padding: 90px 28px 40px; overflow-y: auto; animation: rise .35s cubic-bezier(.2, .7, .2, 1); }
.menu-panel[hidden] { display: none; }
.menu-panel nav { display: grid; gap: 4px; width: 100%; } .menu-panel a:not(.btn) { font-family: var(--head); font-weight: 300; font-size: clamp(26px, 7vw, 38px); color: #fff; text-decoration: none; padding: 9px 0; border-bottom: 1px solid var(--line); }
.menu-panel .btn { margin-top: 26px; justify-content: center; }
body.v2 .nav { z-index: 55; }
@media (min-width: 901px) { .menu-btn, .menu-panel { display: none !important; } }
@media (max-width: 900px) { .menu-btn { display: block; } .nav nav { margin-left: auto; } }

/* Seven links plus the button: tighten the header on narrower desktop windows so it stays on one line. */
@media (min-width: 901px) and (max-width: 1160px) { .nav nav { gap: 16px; } .nav nav a:not(.btn) { font-size: 13px; letter-spacing: .02em; } .nav .brand { letter-spacing: .3em; } }
