/* ==========================================================================
   Lodj marketing site
   Mobile first. One breakpoint at 900px for the desktop layout.
   Colors come from the app (lib/theme/house_tokens.dart) plus Lamplight,
   the lit-door color from the Lodge icon.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL OFL 1.1, same four families as the app) */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/fraunces-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/fraunces-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 500; font-display: swap; src: url('../assets/fonts/fraunces-latin-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../assets/fonts/inter-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'Graduate'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/graduate-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/big-shoulders-display-latin-700-normal.woff2') format('woff2'); }

/* ---------- Tokens */
:root {
  --navy: #1B2A4A;
  --ink: #14203A;
  --deep: #0F182B;
  --cream: #F3EDE0;
  --paper: #FBF8F1;
  --paper-2: #ECE4D3;
  --line: #DCD1BB;
  --text: #15213B;
  --muted: #565C6C;
  --brass: #B08A3E;
  --brass-ink: #7A6230;
  --brass-light: #DDBE78;
  --lamp: #E9B449;
  --red: #9B2226;
  --on-navy: #F6EFE3;
  --on-navy-muted: #C3C9D6;
  --fine: #A9AEBB;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --varsity: 'Graduate', Rockwell, 'Courier New', serif;
  --numerals: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
}

/* ---------- Base */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #1B2A4A; }
.page { font-family: var(--sans); color: var(--text); background: var(--cream); line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.page * { box-sizing: border-box; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid #E9B449; outline-offset: 3px; border-radius: 6px; }

.cuff { display: flex; flex-direction: column; gap: 2px; background: var(--navy); }
.cuff-brass { height: 3px; background: var(--brass); }
.cuff-red { height: 3px; background: var(--red); }

.kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--brass-ink); }
.kicker-on-navy { color: var(--brass-light); }
.h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 36px; line-height: 1.05; letter-spacing: -0.6px; color: var(--text); }
.h2-on-navy { color: var(--on-navy); }
.sec { padding: 72px 0; }
.sec-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }

/* ---------- Nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-navy); }
.brand-mark { width: 30px; height: 31px; display: block; }
.brand-name { font-family: var(--varsity); font-size: 18px; letter-spacing: 5px; line-height: 1; color: var(--on-navy); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-tag { display: none; font-size: 11px; font-weight: 700; letter-spacing: 1.8px; color: var(--brass-light); }
.nav-tag-show { display: block; }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--brass-light); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--on-navy); text-decoration: none; white-space: nowrap; transition: background-color 0.15s ease, color 0.15s ease; }
.nav-cta:hover { background: var(--brass-light); color: var(--ink); }

/* ---------- Hero */
.hero { position: relative; z-index: 1; color: var(--on-navy); }
.hero-grid { display: flex; flex-direction: column; gap: 44px; padding: 28px 0 0; }
.hero-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.hero-kicker { display: flex; align-items: center; gap: 10px; }
.lamp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 0 4px rgba(233, 180, 73, 0.22); flex-shrink: 0; }
.display { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(42px, 12.4vw, 54px); line-height: 0.98; letter-spacing: -1.2px; color: var(--on-navy); }
.display-em { display: block; font-style: italic; font-weight: 500; color: var(--lamp); }
.lede { margin: 0; font-size: 17px; line-height: 1.5; color: var(--on-navy-muted); max-width: 520px; }
.hero-form { margin-top: 6px; max-width: 520px; }

.hero-stage { position: relative; display: flex; justify-content: center; min-width: 0; margin-bottom: -84px; }
.glow { position: absolute; left: 50%; top: 8%; width: 520px; height: 520px; margin-left: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(233, 180, 73, 0.34) 0%, rgba(233, 180, 73, 0.12) 38%, rgba(233, 180, 73, 0) 68%); pointer-events: none; }

/* ---------- Waitlist form (always sits on navy) */
.wl { display: flex; flex-direction: column; gap: 12px; }
.wl-form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.wl-row { display: flex; flex-direction: column; gap: 10px; }
.wl-field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; min-width: 0; }
.wl-label { font-size: 12px; font-weight: 600; letter-spacing: 0.4px; color: var(--on-navy-muted); }
.wl-input { width: 100%; height: 56px; padding: 0 16px; border: 2px solid transparent; border-radius: 14px; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 17px; font-weight: 500; line-height: 1.2; appearance: none; -webkit-appearance: none; }
.wl-input::placeholder { color: #8A8D96; font-weight: 400; }
.wl-input:focus { outline: none; border-color: var(--lamp); box-shadow: 0 0 0 4px rgba(233, 180, 73, 0.28); }
.wl-input[aria-invalid="true"] { border-color: #E2725B; }
.wl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; padding: 0 24px; border: 0; border-radius: 14px; background: var(--lamp); color: var(--ink); font-family: var(--sans); font-size: 17px; font-weight: 700; letter-spacing: 0.1px; white-space: nowrap; cursor: pointer; transition: transform 0.12s ease, background-color 0.15s ease; }
.wl-btn:hover { background: #F2C465; }
.wl-btn:active { transform: translateY(1px); }
.wl-btn[disabled] { opacity: 0.7; cursor: progress; }
.wl-more { align-self: flex-start; min-height: 44px; margin: -6px 0 -8px; padding: 0; border: 0; background: none; color: var(--brass-light); font-family: var(--sans); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wl-check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 0 0; cursor: pointer; }
.wl-box { width: 22px; height: 22px; margin: 0; flex-shrink: 0; accent-color: #E9B449; cursor: pointer; }
.wl-check-text { font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--on-navy); }
.wl-fine { margin: 0; padding-left: 34px; font-size: 11px; line-height: 1.5; color: var(--fine); }
.wl-error { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.4; color: #F3A68F; }

.wl-success { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 22px; border: 1px solid rgba(221, 190, 120, 0.45); border-radius: 20px; background: rgba(246, 239, 227, 0.06); }
.wl-success-top { display: flex; align-items: center; gap: 14px; }
.wl-success-mark { width: 44px; height: 46px; flex-shrink: 0; }
.wl-success-title { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 34px; line-height: 1.05; letter-spacing: -0.5px; color: var(--on-navy); }
.wl-success-line { margin: 0; font-size: 16px; line-height: 1.5; color: var(--on-navy-muted); }
.wl-success-rule { width: 100%; height: 1px; background: rgba(221, 190, 120, 0.3); margin: 4px 0; }
.wl-crew { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; width: 100%; }
.wl-crew-title { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--on-navy); }
.wl-share { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 1.5px solid var(--brass-light); border-radius: 12px; background: none; color: var(--on-navy); font-family: var(--sans); font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease; }
.wl-share:hover { background: var(--brass-light); color: var(--ink); }
.wl-late { display: flex; flex-direction: column; gap: 10px; width: 100%; margin: 0; }
.wl-late-row { display: flex; gap: 8px; }
.wl-late-input { height: 48px; font-size: 16px; border-radius: 12px; }
.wl-late-btn { height: 48px; padding: 0 18px; font-size: 15px; border-radius: 12px; }

/* ---------- Phone mockup (drawn in HTML, no image) */
.phone { position: relative; width: 300px; max-width: 100%; flex-shrink: 0; padding: 9px; border-radius: 48px; background: #0B1220; box-shadow: 0 0 0 1.5px #2C3A5C, 0 40px 80px rgba(6, 10, 20, 0.55), 0 12px 28px rgba(6, 10, 20, 0.4); }
.phone-screen { position: relative; display: flex; flex-direction: column; border-radius: 40px; overflow: hidden; background: var(--cream); color: var(--text); }
.phone-island { position: absolute; top: 11px; left: 50%; width: 86px; height: 25px; margin-left: -43px; border-radius: 14px; background: #0B1220; z-index: 2; }
.app-head { display: flex; align-items: center; gap: 10px; padding: 50px 14px 12px; }
.crest { width: 30px; height: 34px; padding: 1.5px; flex-shrink: 0; background: var(--brass); clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); }
.crest-in { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding-bottom: 4px; background: var(--navy); color: var(--on-navy); font-family: var(--varsity); font-size: 11px; line-height: 1; clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); }
.app-name { flex: 1 1 auto; min-width: 0; font-family: var(--varsity); font-size: 14px; letter-spacing: 0.6px; line-height: 1.1; color: var(--on-navy); white-space: nowrap; }
.faces { display: flex; align-items: center; }
.face { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-left: -7px; border: 2px solid var(--navy); border-radius: 50%; color: var(--on-navy); font-family: var(--varsity); font-size: 10px; line-height: 1; flex-shrink: 0; }
.face-first { margin-left: 0; }
.face-a { background: #7A6230; }
.face-b { background: #2F5D50; }
.face-c { background: #8E2A2A; }
.face-d { background: #3D4F7C; }
.face-on-paper { border-color: var(--paper); }
.app-cuff-brass { height: 2px; background: var(--brass); }
.app-cuff-red { height: 2px; background: var(--red); }
.app-body { display: flex; flex-direction: column; gap: 9px; padding: 12px 12px 14px; }
.app-label { display: flex; align-items: center; gap: 6px; font-size: 9.5px; font-weight: 700; letter-spacing: 1.5px; line-height: 1.2; color: var(--brass-ink); }
.app-label-navy { color: var(--navy); }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.app-card { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--brass); border-radius: 14px; background: var(--paper); }
.app-card-title { font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.15; color: var(--text); }
.app-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; font-weight: 500; line-height: 1.3; color: var(--muted); }
.app-btns { display: flex; gap: 8px; }
.app-btn { display: flex; align-items: center; justify-content: center; flex: 1 1 0; height: 34px; border-radius: 10px; font-size: 12.5px; font-weight: 700; line-height: 1; }
.app-btn-fill { background: var(--navy); color: var(--on-navy); }
.app-btn-line { border: 1.5px solid #9C927A; color: var(--text); }
.app-tiles { display: flex; gap: 8px; }
.app-tile { display: flex; flex-direction: column; gap: 3px; flex: 1 1 0; min-width: 0; padding: 10px; border-radius: 12px; background: var(--navy); color: var(--on-navy); }
.app-tile-kick { font-size: 8.5px; font-weight: 700; letter-spacing: 1.3px; line-height: 1.2; color: var(--brass-light); }
.app-tile-big { font-family: var(--numerals); font-weight: 700; font-size: 19px; letter-spacing: 0.5px; line-height: 1.05; color: var(--on-navy); white-space: nowrap; }
.app-tile-sub { font-size: 10px; font-weight: 500; line-height: 1.25; color: var(--on-navy-muted); }
.app-chat { display: flex; flex-direction: column; gap: 5px; }
.msg { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.msg-me { align-items: flex-end; }
.msg-who { padding-left: 10px; font-size: 9px; font-weight: 700; letter-spacing: 0.4px; line-height: 1.2; color: var(--muted); }
.bubble { max-width: 84%; padding: 7px 11px; border-radius: 14px 14px 14px 4px; background: #FFFFFF; border: 1px solid var(--line); font-size: 12px; font-weight: 500; line-height: 1.3; color: var(--text); }
.bubble-me { border-radius: 14px 14px 4px 14px; background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.app-tabs { display: flex; align-items: flex-end; justify-content: space-between; padding: 6px 10px 14px; border-top: 1px solid var(--line); background: var(--paper); }
.app-tab { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1 1 0; font-size: 7.5px; font-weight: 700; letter-spacing: 0.8px; line-height: 1; color: #7E8189; }
.app-tab-on { color: var(--navy); }
.app-tab-icon { width: 18px; height: 18px; display: block; }
.app-home { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-top: -20px; border: 2px solid var(--brass); border-radius: 50%; background: var(--navy); }
.app-home-mark { width: 22px; height: 23px; display: block; }

.float { display: none; position: absolute; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); color: var(--text); box-shadow: 0 18px 40px rgba(6, 10, 20, 0.35); z-index: 3; }
.float-icon { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: var(--navy); flex-shrink: 0; }
.float-kick { font-size: 9.5px; font-weight: 700; letter-spacing: 1.4px; line-height: 1.2; color: var(--brass-ink); }
.float-text { font-size: 13.5px; font-weight: 600; line-height: 1.25; color: var(--text); white-space: nowrap; }
.float-a { top: 150px; right: -100px; transform: rotate(-4deg); }
.float-b { bottom: 214px; right: -96px; transform: rotate(3deg); }

/* ---------- Problem */
.problem { padding-top: 156px; }
.lines { display: flex; flex-direction: column; gap: 0; margin: 36px 0 0; padding: 0; list-style: none; }
.line { display: flex; gap: 18px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); }
.line-n { font-family: var(--numerals); font-weight: 700; font-size: 22px; letter-spacing: 1px; line-height: 1; color: var(--brass); flex-shrink: 0; }
.line-text { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.22; letter-spacing: -0.2px; color: var(--text); }
.swap { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; padding: 22px; border-radius: 20px; background: var(--paper-2); }
.swap-left { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.swap-label { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--brass-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip { padding: 8px 14px; border: 1px solid #C9BDA3; border-radius: 999px; font-size: 14px; font-weight: 500; line-height: 1.2; color: var(--muted); text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.swap-to { display: flex; align-items: center; gap: 14px; }
.swap-icon { width: 52px; height: 52px; border-radius: 12px; display: block; flex-shrink: 0; }
.swap-text { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.1; color: var(--text); }

/* ---------- Features */
.features { padding-top: 24px; }
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 36px; }
.card { display: flex; flex-direction: column; gap: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); min-width: 0; }
.card-art { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-height: 168px; padding: 16px; border-radius: 14px; background: var(--cream); min-width: 0; }
.card-art-navy { color: var(--on-navy); }
.card-copy { display: flex; flex-direction: column; gap: 6px; padding: 0 4px 4px; }
.card-name { margin: 0; font-family: var(--varsity); font-size: 13px; letter-spacing: 2px; line-height: 1.2; text-transform: uppercase; color: var(--brass-ink); }
.card-line { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 23px; line-height: 1.15; letter-spacing: -0.2px; color: var(--text); }
.card-fine { margin: 0; font-size: 11px; line-height: 1.4; color: #6B6352; }

.react { align-self: flex-start; margin: -8px 0 0 12px; padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; background: #FFFFFF; font-size: 11px; font-weight: 700; line-height: 1.3; color: var(--brass-ink); }
.score { display: flex; flex-direction: column; gap: 0; border-radius: 12px; overflow: hidden; }
.score-head { display: flex; justify-content: space-between; gap: 8px; padding: 0 2px 10px; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; line-height: 1.2; color: var(--brass-light); }
.score-row { display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-top: 1px solid rgba(246, 239, 227, 0.16); }
.score-patch { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brass-ink); color: var(--on-navy); font-family: var(--varsity); font-size: 12px; line-height: 1; flex-shrink: 0; }
.score-patch-b { background: #3D4F7C; }
.score-name { flex: 1 1 auto; min-width: 0; font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--on-navy); }
.score-name-dim { color: var(--on-navy-muted); font-weight: 500; }
.score-pts { font-family: var(--numerals); font-weight: 700; font-size: 26px; letter-spacing: 0.5px; line-height: 1; color: var(--on-navy); }
.score-pts-dim { color: var(--on-navy-muted); }

.duo { display: flex; gap: 12px; align-items: center; }
.board { display: grid; grid-template-columns: repeat(4, 26px); grid-auto-rows: 26px; border: 2px solid var(--navy); border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.sq { display: flex; align-items: center; justify-content: center; font-size: 19px; line-height: 1; color: var(--ink); background: #EFE6D2; }
.sq-dark { background: #50648A; }
.sq-w { color: #FFFFFF; }
.quiz { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; min-width: 0; }
.quiz-q { font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--text); }
.quiz-a { padding: 6px 10px; border: 1px solid #C9BDA3; border-radius: 9px; font-size: 12px; font-weight: 600; line-height: 1.2; color: var(--text); background: var(--paper); }
.quiz-a-on { border-color: var(--navy); background: var(--navy); color: var(--on-navy); }

.watch-score { display: flex; align-items: center; justify-content: center; gap: 12px; }
.watch-team { font-family: var(--varsity); font-size: 13px; letter-spacing: 1.5px; line-height: 1; color: var(--on-navy-muted); }
.watch-num { font-family: var(--numerals); font-weight: 700; font-size: 38px; line-height: 1; color: var(--on-navy); }
.watch-clock { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; line-height: 1.2; color: var(--brass-light); }
.watch-says { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.watch-line { font-size: 12.5px; line-height: 1.3; color: var(--on-navy-muted); }
.watch-who { font-weight: 700; color: var(--on-navy); }

.meme { align-self: center; display: flex; flex-direction: column; gap: 8px; width: 210px; max-width: 100%; padding: 10px 10px 12px; background: #FFFFFF; border: 1px solid var(--line); box-shadow: 0 10px 22px rgba(21, 33, 59, 0.14); transform: rotate(-2.5deg); }
.meme-img { display: flex; flex-direction: column; justify-content: space-between; height: 92px; padding: 9px; background: var(--navy); color: var(--on-navy); font-family: var(--numerals); font-weight: 700; font-size: 17px; letter-spacing: 0.5px; line-height: 1.05; text-transform: uppercase; text-align: center; }
.meme-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 10px; font-weight: 700; letter-spacing: 1.2px; line-height: 1.2; color: var(--red); }
.meme-votes { color: var(--muted); letter-spacing: 0.3px; }

.plan { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--brass); border-radius: 14px; background: var(--paper); }
.plan-title { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.15; color: var(--text); }
.plan-when { font-size: 12.5px; font-weight: 500; line-height: 1.3; color: var(--muted); }
.rsvp { display: flex; gap: 6px; flex-wrap: wrap; }
.rsvp-pill { display: flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; border: 1.5px solid #9C927A; font-size: 11.5px; font-weight: 700; letter-spacing: 0.6px; line-height: 1.1; color: var(--text); }
.rsvp-in { border-color: var(--navy); background: var(--navy); color: var(--on-navy); }

.receipt { display: flex; flex-direction: column; gap: 0; padding: 14px 16px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 8px 18px rgba(21, 33, 59, 0.1); }
.receipt-head { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 10px; border-bottom: 1.5px dashed #C9BDA3; font-size: 10.5px; font-weight: 700; letter-spacing: 1.4px; line-height: 1.3; color: var(--text); }
.receipt-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 8px 0 0; font-size: 13.5px; line-height: 1.3; color: var(--text); }
.receipt-who { font-weight: 600; }
.receipt-what { font-weight: 500; color: var(--muted); }
.receipt-flag { font-weight: 700; color: var(--red); }

/* ---------- Invite only */
.gate { color: var(--on-navy); }
.gate-grid { display: flex; flex-direction: column; gap: 36px; align-items: flex-start; }
.gate-art { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; padding: 12px 0 0; }
.gate-glow { position: absolute; left: 50%; top: 50%; width: 320px; height: 320px; margin: -90px 0 0 -160px; border-radius: 50%; background: radial-gradient(circle, rgba(233, 180, 73, 0.4) 0%, rgba(233, 180, 73, 0.14) 40%, rgba(233, 180, 73, 0) 70%); }
.gate-mark { position: relative; width: 190px; height: 197px; display: block; }
.gate-copy { display: flex; flex-direction: column; gap: 16px; }
.gate-lede { margin: 0; font-size: 18px; line-height: 1.5; color: var(--on-navy-muted); max-width: 520px; }
.gate-strong { color: var(--on-navy); font-weight: 600; }
.knock { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 380px; margin-top: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); color: var(--text); box-shadow: 0 18px 40px rgba(6, 10, 20, 0.35); }
.knock-top { display: flex; align-items: center; gap: 12px; }
.knock-face { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #8E2A2A; color: var(--on-navy); font-family: var(--varsity); font-size: 17px; line-height: 1; flex-shrink: 0; }
.knock-kick { font-size: 10px; font-weight: 700; letter-spacing: 1.6px; line-height: 1.2; color: var(--brass-ink); }
.knock-text { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.15; color: var(--text); }
.knock-btns { display: flex; gap: 8px; }
.knock-btn { display: flex; align-items: center; justify-content: center; flex: 1 1 0; min-height: 40px; padding: 0 10px; border-radius: 10px; font-size: 13px; font-weight: 700; line-height: 1.1; text-align: center; }
.knock-btn-fill { background: var(--navy); color: var(--on-navy); }
.knock-btn-line { border: 1.5px solid #9C927A; color: var(--text); }

/* ---------- Final call to action */
.cta { padding: 72px 0; }
.cta-card { display: flex; flex-direction: column; gap: 28px; padding: 32px 22px; border-radius: 28px; color: var(--on-navy); }
.cta-copy { display: flex; flex-direction: column; gap: 14px; }
.cta-lede { margin: 0; font-size: 17px; line-height: 1.5; color: var(--on-navy-muted); max-width: 460px; }
.cta-crew { display: flex; align-items: flex-start; gap: 12px; margin: 6px 0 0; padding-top: 18px; border-top: 1px solid rgba(221, 190, 120, 0.3); font-size: 15px; line-height: 1.45; color: var(--on-navy-muted); max-width: 460px; }
.cta-crew-strong { color: var(--on-navy); font-weight: 700; }
.cta-form { min-width: 0; }

/* ---------- Footer */
.footer { background: var(--deep); color: var(--on-navy-muted); }
.footer-in { display: flex; flex-direction: column; gap: 22px; padding-top: 36px; padding-bottom: 36px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; list-style: none; }
.footer-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; color: var(--on-navy); text-decoration: none; }
.footer-link:hover { color: var(--brass-light); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--fine); }
.gate-lock { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 0; max-width: 520px; font-size: 16px; line-height: 1.5; color: var(--on-navy-muted); }
.gate-lock-icon { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; color: var(--lamp); }
.gate-lock-title { color: var(--on-navy); font-weight: 600; }
.card-note { margin: 8px 0 0; font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--brass-ink); }
.footer-fine { margin: 0; font-size: 10px; line-height: 1.5; color: var(--fine); }
.lost-link { color: var(--brass-light); text-underline-offset: 3px; }
.join-app { border-top: 0; padding-top: 0; }

/* ---------- /join/CODE */
.bar { color: var(--on-navy); }
.join { padding: 44px 0 64px; }
.join-in { display: flex; flex-direction: column; gap: 28px; max-width: 600px; margin: 0 auto; }
.join-top { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.crest-xl { width: 76px; height: 86px; padding: 2.5px; }
.crest-xl-in { font-size: 27px; padding-bottom: 8px; }
.crest-mark { width: 36px; height: 37px; display: block; }
.join-title { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 38px; line-height: 1.05; letter-spacing: -0.6px; color: var(--text); }
.join-house { font-style: italic; font-weight: 500; color: var(--brass-ink); }
.join-lede { margin: 0; font-size: 17px; line-height: 1.5; color: var(--muted); }
.join-card { display: flex; flex-direction: column; gap: 18px; padding: 24px 20px; border-radius: 24px; color: var(--on-navy); }
.join-card-title { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.1; color: var(--on-navy); }
.join-code { display: flex; align-items: baseline; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: 1.6px; color: var(--brass-ink); }
.join-code-val { font-family: var(--numerals); font-weight: 700; font-size: 24px; letter-spacing: 3px; line-height: 1; color: var(--text); }
.join-what { margin: 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--muted); }
.join-what-link { color: var(--brass-ink); font-weight: 600; text-underline-offset: 3px; }

/* ---------- 404 */
.lost { display: flex; flex-direction: column; min-height: 100vh; color: var(--on-navy); }
.lost-main { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 20px; flex: 1 1 auto; padding-top: 48px; padding-bottom: 72px; }
.lost-mark { width: 120px; height: 124px; display: block; }
.lost-code { font-family: var(--numerals); font-weight: 700; font-size: 20px; letter-spacing: 4px; line-height: 1; color: var(--brass-light); }
.lost-title { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(44px, 13vw, 60px); line-height: 0.98; letter-spacing: -1.2px; color: var(--on-navy); }
.lost-lede { margin: 0; font-size: 18px; line-height: 1.5; color: var(--on-navy-muted); max-width: 440px; }
.lost-btn { text-decoration: none; margin-top: 8px; }

/* ---------- Navy pinstripe ground. Kept after the components so their background shorthands do not reset it. */
.pinstripe { background-color: var(--navy); background-image: repeating-linear-gradient(90deg, rgba(246, 239, 227, 0.05) 0, rgba(246, 239, 227, 0.05) 1px, rgba(246, 239, 227, 0) 1px, rgba(246, 239, 227, 0) 14px); }

/* ---------- Motion (light, and off for people who ask for less) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .pop { opacity: 0; transform: translateY(8px) scale(0.97); animation: pop 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.js .pop-1 { animation-delay: 0.5s; }
.js .pop-2 { animation-delay: 1.1s; }
.js .pop-3 { animation-delay: 1.7s; }
.js .breathe { animation: breathe 5s ease-in-out infinite; }
@keyframes pop { to { opacity: 1; transform: none; } }
@keyframes breathe { 0%, 100% { opacity: 0.75; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .pop { opacity: 1; transform: none; transition: none; animation: none; }
  .js .breathe { animation: none; }
}

/* ==========================================================================
   Desktop
   ========================================================================== */
@media (min-width: 900px) {
  .wrap { padding: 0 40px; }
  .sec { padding: 120px 0; }
  .h2 { font-size: 60px; letter-spacing: -1.4px; line-height: 1; }
  .nav { padding: 24px 0; }
  .brand-mark { width: 34px; height: 35px; }
  .brand-name { font-size: 20px; }
  .nav-tag { display: block; }

  .hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 48px; align-items: center; padding: 56px 0 0; }
  .hero-copy { gap: 24px; padding-bottom: 96px; }
  .display { font-size: clamp(64px, 6.6vw, 88px); letter-spacing: -2.4px; line-height: 0.95; }
  .lede { font-size: 20px; }
  .hero-form { margin-top: 10px; }
  .hero-stage { margin-bottom: -120px; }
  .glow { width: 720px; height: 720px; margin-left: -360px; top: 2%; }
  .phone { width: 340px; padding: 10px; border-radius: 54px; }
  .phone-screen { border-radius: 45px; }
  .app-head { padding: 54px 16px 14px; }
  .app-body { padding: 14px 14px 16px; gap: 11px; }

  .wl-row { flex-direction: row; align-items: flex-end; }
  .wl-btn-end { flex-shrink: 0; align-self: flex-end; }

  .problem { padding-top: 200px; }
  .lines { flex-direction: row; gap: 40px; margin-top: 56px; }
  .line { flex-direction: column; gap: 18px; flex: 1 1 0; padding: 26px 0 0; border-top: 2px solid var(--text); }
  .line-n { font-size: 26px; }
  .line-text { font-size: 30px; line-height: 1.15; letter-spacing: -0.4px; }
  .swap { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; margin-top: 64px; padding: 26px 32px; border-radius: 24px; }
  .swap-text { font-size: 28px; white-space: nowrap; }
  .swap-icon { width: 64px; height: 64px; border-radius: 14px; }

  .features { padding-top: 0; }
  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
  .card { padding: 22px; gap: 22px; border-radius: 26px; }
  .card-3 { grid-column: span 3; }
  .card-2 { grid-column: span 2; }
  .card-art { min-height: 210px; padding: 22px; border-radius: 16px; }
  .card-art-wide { padding: 26px 40px; }
  .card-line { font-size: 27px; letter-spacing: -0.4px; }
  .card-2 .card-line { font-size: 24px; }

  .gate-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
  .gate-art { padding: 0; }
  .gate-glow { width: 460px; height: 460px; margin: -110px 0 0 -230px; }
  .gate-mark { width: 300px; height: 311px; }
  .gate-copy { gap: 22px; }
  .gate-lede { font-size: 21px; }
  .knock { margin-top: 14px; }

  .cta { padding: 120px 0; }
  .cta-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 72px 64px; border-radius: 36px; }
  .cta-lede { font-size: 19px; }

  .footer-in { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
  .footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
  .footer-links { justify-content: flex-end; }

  .join { padding: 80px 0 110px; }
  .join-in { gap: 36px; }
  .join-title { font-size: 56px; letter-spacing: -1.2px; line-height: 1; }
  .join-lede { font-size: 19px; }
  .join-card { padding: 36px; border-radius: 28px; }

  .lost-main { align-items: center; text-align: center; gap: 24px; }
  .lost-mark { width: 160px; height: 166px; }
  .lost-title { font-size: 88px; letter-spacing: -2.4px; }
  .lost-lede { font-size: 20px; }
}

/* Floating chips beside the phone: only where there is room for them */
@media (min-width: 1360px) {
  .float { display: flex; }
}
