/* 2Gaff homepage ("The Front Door", fun edition). Fonts and media are served from this site only. */

@font-face { font-family: 'Fraunces'; src: url('/www/fonts/Fraunces_400Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/www/fonts/Fraunces_400Regular_Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/www/fonts/Fraunces_300Light_Italic.ttf') format('truetype'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/www/fonts/Fraunces_600SemiBold_Italic.ttf') format('truetype'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/www/fonts/Figtree_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/www/fonts/Figtree_500Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/www/fonts/Figtree_600SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/www/fonts/Figtree_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/www/fonts/Figtree_900Black.ttf') format('truetype'); font-weight: 900; font-display: swap; }

:root {
  --forest: #0F3D32;
  --forest-deep: #0A2A22;
  --ivory: #FAF7F2;
  --paper: #FBF8F2;
  --gold: #D4AF7C;
  --gold-text: #7F5B34;
  --ink: #2D2D2D;
  --body: #4A4A45;
  --muted: #6D6458;
  --line: #E0D5C4;
  --sage: #EAF0E9;
  --sand: #E8DFD0;
  --on-forest: #C9D3CE;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
  --max: 1296px;
  --shadow-card: 0 28px 48px -24px rgba(15, 61, 50, 0.45);
  --shadow-soft: 0 20px 34px -18px rgba(15, 61, 50, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: var(--forest); }
a:hover { color: var(--forest-deep); }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { 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: 50; background: var(--forest); color: var(--ivory); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; color: var(--ivory); }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.serif { font-family: var(--serif); }
em { font-style: italic; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 16px/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.btn svg { width: 18px; height: 18px; }
.btn-solid { background: var(--forest); color: var(--ivory); box-shadow: 5px 5px 0 var(--gold); }
.btn-solid:hover { color: var(--ivory); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--gold); }
.btn-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-outline:hover { background: var(--sage); }
.btn-gold { background: var(--gold); color: var(--forest); font-weight: 700; box-shadow: 5px 5px 0 var(--ivory); }
.btn-gold:hover { color: var(--forest); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ivory); }
.btn-outline-light { border-color: var(--ivory); color: var(--ivory); }
.btn-outline-light:hover { background: rgba(250, 247, 242, 0.1); color: var(--ivory); }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 15px; box-shadow: none; }
.btn-small:hover { box-shadow: none; transform: none; }

.kicker { display: inline-flex; align-items: center; gap: 12px; font: 700 12px/1.2 var(--sans); letter-spacing: 2.2px; text-transform: uppercase; color: var(--gold-text); margin: 0; }
.kicker::before { content: ''; width: 32px; height: 2px; border-radius: 1px; background: var(--gold); }
.kicker-light { color: var(--gold); }
.kicker-dark { color: var(--forest); }
.kicker-dark::before { background: var(--forest); }
.pill-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 12px; border-radius: 999px; background: var(--sage); color: var(--forest); font: 700 12px/1 var(--sans); letter-spacing: 2px; text-transform: uppercase; }
.pill-kicker::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }

h1, h2, h3 { margin: 0; color: var(--forest); font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.03em; }
h2 em { font-weight: 300; }
.lede { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; color: var(--body); margin: 0; }

/* Stickers and confetti */
.sticker { position: absolute; display: grid; place-items: center; text-align: center; border-radius: 50%; font-family: var(--serif); font-style: italic; line-height: 1.15; box-shadow: 0 14px 24px -8px rgba(15, 61, 50, 0.35); z-index: 4; }
.sticker::after { content: ''; position: absolute; inset: 7%; border-radius: 50%; border: 1.5px dashed currentColor; opacity: .7; }
.sticker b { font-weight: 600; display: block; }
.sticker-gold { background: var(--gold); color: var(--forest); }
.sticker-forest { background: var(--forest); color: var(--ivory); }
.sticker-forest::after { border-color: var(--gold); }
.sticker-ivory { background: var(--ivory); color: var(--forest); }
.sticker-ivory::after { border-color: var(--gold); }
.wobble { animation: wobble 6s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(var(--r, 10deg)); } 50% { transform: rotate(calc(var(--r, 10deg) - 8deg)); } }
.spark { position: absolute; width: var(--s, 28px); height: var(--s, 28px); color: var(--gold); pointer-events: none; }
.dot { position: absolute; width: var(--s, 14px); height: var(--s, 14px); border-radius: 50%; background: var(--gold); pointer-events: none; }
.dot.forest { background: var(--forest); }
.spark.forest { color: var(--forest); }
.spark.ivory { color: var(--ivory); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(250, 247, 242, 0.97); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); font: 700 26px/1 var(--sans); letter-spacing: -1.1px; }
.logo svg { width: 44px; height: 29px; }
.logo:hover { color: var(--forest); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--forest); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.play-badge img { height: 40px; width: auto; }
.signin-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: 15px; text-decoration: none; }
.signin-link svg { width: 18px; height: 18px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--forest); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.mobile-menu { display: none; }

/* Hero */
.hero { position: relative; padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.hero h1 { margin-top: 22px; font-size: clamp(52px, 7.4vw, 104px); line-height: 0.96; letter-spacing: -0.035em; }
.hero h1 .closer { position: relative; display: inline-block; font-style: italic; }
.hero h1 .squiggle { position: absolute; left: 0; right: 4px; bottom: -0.16em; height: 0.18em; width: calc(100% - 4px); color: var(--gold); overflow: visible; }
.hero-copy .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-copy .note { margin: 18px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.hero-copy .note strong { color: var(--ink); font-weight: 600; }

.stage { position: relative; margin-top: clamp(40px, 5vw, 64px); }
.stage-frame { position: relative; aspect-ratio: 16 / 9; }
.stage-outline { position: absolute; inset: 0; transform: translate(clamp(10px, 1.8vw, 24px), clamp(-24px, -1.8vw, -10px)); color: var(--gold); pointer-events: none; }
.stage-outline svg { width: 100%; height: 100%; overflow: visible; }
.stage-media { position: absolute; inset: 0; overflow: hidden; background: var(--sand); clip-path: polygon(50% 0, 100% 19.5%, 100% 100%, 0 100%, 0 19.5%); border-radius: 0 0 28px 28px; transform: translateZ(0); will-change: transform; contain: paint; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blob { position: absolute; right: -12%; bottom: -12%; width: 44%; aspect-ratio: 1; border-radius: 50%; background: var(--sage); z-index: -1; }
.chip { position: absolute; display: flex; align-items: center; gap: 14px; width: min(340px, 44%); padding: 16px 20px 16px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-card); opacity: 0; transform: translateY(16px) rotate(var(--r, 0deg)); transition: opacity .25s ease, transform .25s ease; z-index: 3; pointer-events: none; }
.chip.on { opacity: 1; transform: translateY(0) rotate(var(--r, 0deg)); transition: opacity .5s ease .3s, transform .5s ease .3s; }
.chip.left { left: clamp(-40px, -2.5vw, -8px); bottom: 8%; --r: 3deg; }
.chip.right { right: clamp(-40px, -2.5vw, -8px); bottom: 8%; --r: -3deg; }
.chip .ic { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--forest); color: var(--gold); display: grid; place-items: center; }
.chip .ic svg { width: 21px; height: 21px; }
.chip.gold .ic { background: var(--gold); color: var(--forest); }
.chip.dark { background: var(--forest); border-color: var(--forest); }
.chip.dark .k { color: var(--gold); }
.chip.dark .b { color: var(--ivory); }
.chip.dark .ic { background: var(--gold); color: var(--forest); }
.chip .k { display: block; font: 700 11px/1.3 var(--sans); letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold-text); }
.chip .b { display: block; margin-top: 4px; font: 500 15px/1.35 var(--sans); color: var(--ink); }
.hero .sticker { width: clamp(96px, 11vw, 156px); aspect-ratio: 1; left: clamp(12px, 8%, 120px); top: 4%; --r: 12deg; transform: rotate(12deg); font-size: clamp(15px, 1.6vw, 24px); }

.stage-bar { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); margin-top: 36px; }
.labels { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.6vw, 20px); max-width: 880px; }
.lab { display: flex; flex-direction: column; gap: 10px; }
.lab span { font: 700 12px/1.2 var(--sans); letter-spacing: 1.3px; text-transform: uppercase; color: var(--muted); transition: color .4s ease; }
.lab.on span { color: var(--forest); }
.track { display: block; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.fill { display: block; height: 100%; background: var(--forest); transform-origin: left center; transform: scaleX(0); }
.pause { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--forest); display: grid; place-items: center; cursor: pointer; }
.pause svg { width: 16px; height: 16px; }
.pause:hover { background: var(--sage); }
.take { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.take img { height: 48px; width: auto; }
.take p { margin: 0; width: 190px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.take strong { display: block; color: var(--ink); font-weight: 600; }

/* Marquee */
.marquee { position: relative; height: 180px; margin: 10px 0 20px; overflow: hidden; }
.band { position: absolute; left: -5%; width: 110%; display: flex; overflow: hidden; contain: paint; }
.band-forest { top: 30px; height: 96px; background: var(--forest); transform: rotate(-1.8deg); box-shadow: 0 16px 30px -12px rgba(15, 61, 50, 0.3); z-index: 2; }
.band-gold { top: 108px; height: 52px; background: var(--gold); transform: rotate(1.6deg); }
.track-row { display: flex; align-items: center; gap: 30px; padding-right: 30px; flex-shrink: 0; white-space: nowrap; animation: slide 38s linear infinite; will-change: transform; backface-visibility: hidden; }
.marquee.paused .track-row, .paused .wobble { animation-play-state: paused; }
.band-gold .track-row { animation-duration: 55s; animation-direction: reverse; gap: 36px; }
.band-forest .track-row span { font: italic 400 40px/1 var(--serif); color: var(--ivory); }
.band-gold .track-row span { font: 700 13px/1 var(--sans); letter-spacing: 2.4px; color: var(--forest); }
.track-row .spark { position: static; --s: 24px; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* Sections */
section { position: relative; }
section[id] { scroll-margin-top: 96px; }
[tabindex="-1"]:focus { outline: none; }
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section-head .lede { max-width: 440px; }
.section-head > div { max-width: 820px; }
.section-head h2 { margin-top: 20px; }

/* Everyday essentials */
.essentials { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(32px, 5vw, 64px); margin-top: 56px; align-items: start; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { position: relative; display: flex; flex-direction: column; padding: 30px 30px 28px; border-radius: 32px; transform: rotate(var(--r, 0deg)); transition: transform .35s ease; min-height: 300px; }
.card:hover { transform: rotate(0deg) translateY(-4px); }
.card .num { font: italic 400 22px/1 var(--serif); }
.card .ic { position: absolute; top: 24px; right: 24px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; }
.card .ic svg { width: 26px; height: 26px; }
.card h3 { margin-top: 40px; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.12; letter-spacing: -0.02em; color: inherit; }
.card p { margin: 12px 0 0; font-size: 16px; line-height: 1.5; }
.card .extra { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; background: var(--ivory); color: var(--forest); font: 600 13px/1 var(--sans); }
.tag svg { width: 15px; height: 15px; }
.tag.on { background: var(--forest); color: var(--ivory); }
.tag.on svg { color: var(--gold); }
.card-forest { background: var(--forest); color: var(--ivory); --r: 1.2deg; }
.card-forest p, .card-forest .num { color: var(--on-forest); }
.card-forest .ic { background: var(--gold); color: var(--forest); }
.card-gold { background: var(--gold); color: var(--forest); --r: -1deg; }
.card-gold p, .card-gold .num { color: #3D3A30; }
.card-gold .ic { background: var(--forest); color: var(--gold); }
.card-sage { background: var(--sage); color: var(--forest); --r: -0.8deg; }
.card-sage p, .card-sage .num { color: var(--body); }
.card-sage .ic { background: var(--forest); color: var(--ivory); }
.card-sand { background: var(--sand); color: var(--forest); --r: 1deg; }
.card-sand p, .card-sand .num { color: var(--body); }
.card-sand .ic { background: var(--forest); color: var(--gold); }
.card-wide { grid-column: 1 / -1; background: var(--ivory); color: var(--forest); border: 2px solid var(--forest); box-shadow: 8px 8px 0 var(--gold); --r: 0.4deg; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: center; }
.card-wide p, .card-wide .num { color: var(--body); }
.card-wide .ic { right: 334px; }
.card-wide .ic { background: var(--gold); color: var(--forest); }
.bubbles { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.bubble { max-width: 80%; padding: 10px 14px; border-radius: 18px; font: 500 13px/1.35 var(--sans); }
.bubble.me { background: var(--forest); color: var(--ivory); border-bottom-right-radius: 4px; align-self: flex-start; }
.bubble.them { background: var(--ivory); color: var(--forest); border-bottom-left-radius: 4px; align-self: flex-end; }
.listing { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 16px; box-shadow: var(--shadow-soft); transform: rotate(-3deg); }
.listing .who { display: flex; align-items: center; gap: 10px; }
.listing .av { width: 36px; height: 36px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; }
.listing .av svg { width: 24px; }
.listing .who b { display: block; font-size: 14px; color: var(--forest); }
.listing .who small { font-size: 12px; color: var(--muted); }
.listing p { margin: 12px 0 10px; font: 600 15px/1.35 var(--sans); color: var(--ink); }
.listing .tag { background: var(--sage); font-size: 12px; padding: 6px 10px; }

.phone-zone { position: relative; padding-top: 30px; }
.phone-zone .house-bg { position: absolute; left: 0; right: 0; top: 90px; bottom: -20px; background: var(--sand); clip-path: polygon(50% 0, 100% 24%, 100% 100%, 0 100%, 0 24%); border-radius: 0 0 24px 24px; }
.phone { position: relative; width: 300px; margin: 0 auto; padding: 10px; border-radius: 46px; background: #1E2622; box-shadow: 0 40px 70px -30px rgba(15, 61, 50, 0.55); }
.screen { border-radius: 36px; background: var(--ivory); padding: 30px 18px 20px; display: flex; flex-direction: column; gap: 14px; min-height: 620px; }
.screen .bar { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.screen .bar b { color: var(--forest); font-weight: 600; }
.screen .t { font: 400 25px/1.1 var(--serif); color: var(--forest); }
.screen .s { font-size: 12px; color: var(--muted); margin-top: 4px; }
.screen img { width: 100%; height: 96px; object-fit: cover; object-position: 20% 60%; border-radius: 14px; }
.screen .cap { font: 700 10px/1 var(--sans); letter-spacing: 1.4px; color: var(--muted); }
.days { display: flex; gap: 7px; }
.days span { flex: 1; height: 54px; border-radius: 12px; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 10px; }
.days b { font-size: 16px; }
.days .on { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.times span { height: 36px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; font: 600 13px/1 var(--sans); }
.times .on { border: 1.5px solid var(--forest); background: var(--sage); color: var(--forest); }
.times .off { border-style: dashed; color: #6B6357; text-decoration: line-through; } /* 4.5:1 on the card (was #A39C91) */
.guide { font-size: 11px; line-height: 1.45; color: var(--body); background: var(--sage); border-radius: 10px; padding: 10px 12px; }
.confirm { margin-top: auto; height: 46px; border-radius: 999px; background: var(--forest); color: var(--ivory); display: grid; place-items: center; font: 600 14px/1 var(--sans); }
.phone-zone .sticker { width: 128px; aspect-ratio: 1; right: -6px; top: 0; --r: -10deg; transform: rotate(-10deg); font-size: 22px; }
.phone-zone .sticker small { display: block; font: 700 11px/1.2 var(--sans); font-style: normal; margin-top: 2px; }

/* Two sides */
.sides { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); margin-top: 56px; }
.side { position: relative; padding: clamp(110px, 12vw, 150px) clamp(24px, 4vw, 56px) 48px; text-align: center; clip-path: polygon(50% 0, 100% 150px, 100% 100%, 0 100%, 0 150px); border-radius: 0 0 30px 30px; }
.side-sage { background: var(--sage); color: var(--forest); }
.side-forest { background: var(--forest); color: var(--ivory); }
.side .photo { width: 120px; height: 120px; margin: 0 auto; border-radius: 50%; padding: 5px; background: var(--gold); }
.side .photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.side h3 { margin-top: 20px; font-size: clamp(28px, 3vw, 38px); color: inherit; }
.side ul { list-style: none; padding: 0; margin: 26px auto 32px; display: grid; gap: 14px; text-align: left; max-width: 380px; }
.side li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: 17px; line-height: 1.4; }
.side li i { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; }
.side li i svg { width: 16px; height: 16px; }
.side-sage li i { background: var(--forest); color: var(--gold); }
.side-forest li i { background: var(--gold); color: var(--forest); }
.sides .sticker { width: 140px; aspect-ratio: 1; left: 50%; top: 52%; margin-left: -70px; --r: -8deg; transform: rotate(-8deg); font-size: 20px; }

/* Privacy */
.privacy { background: var(--gold); overflow: hidden; }
.privacy-top { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: center; }
.privacy .statement { margin-top: 22px; font: 400 clamp(30px, 3.8vw, 54px)/1.12 var(--serif); letter-spacing: -0.02em; color: var(--forest); }
.privacy .statement em { font-weight: 300; }
.nametag { width: 320px; max-width: 100%; margin-inline: auto; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 26px 40px -16px rgba(15, 61, 50, 0.45); transform: rotate(6deg); text-align: center; }
.nametag .top { background: var(--forest); padding: 12px 0 12px; }
.nametag .top b { display: block; font: 900 30px/1.1 var(--sans); letter-spacing: 4px; color: var(--ivory); }
.nametag .top small { font: 600 14px/1 var(--sans); color: var(--gold); }
.nametag .name { padding: 22px 0 26px; font: italic 600 46px/1 var(--serif); color: var(--forest); }
.nametag .base { height: 24px; background: var(--forest); }
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.pcard { background: var(--ivory); border-radius: 28px; padding: 28px; box-shadow: var(--shadow-soft); transform: rotate(var(--r, 0deg)); }
.pcard:nth-child(1) { --r: 1deg; } .pcard:nth-child(2) { --r: -1deg; } .pcard:nth-child(3) { --r: 1.2deg; }
.pcard .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--forest); color: var(--gold); display: grid; place-items: center; }
.pcard .ic svg { width: 26px; height: 26px; }
.pcard h3 { margin-top: 20px; font: 700 20px/1.3 var(--sans); color: var(--forest); }
.pcard p { margin: 10px 0 0; color: var(--body); line-height: 1.55; }

/* Joining */
.board { position: relative; margin-top: 64px; height: 470px; }
.board-path { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gold); overflow: visible; }
.step { position: absolute; width: 320px; text-align: center; transform: translateX(-50%); }
.step .circle { position: relative; width: 120px; height: 120px; margin: 0 auto; border-radius: 50%; background: var(--ivory); border: 3px solid var(--gold); display: grid; place-items: center; box-shadow: var(--shadow-soft); font: italic 400 52px/1 var(--serif); color: var(--forest); }
.step .circle.home { background: var(--forest); border-color: var(--forest); }
.step .circle.home svg { width: 68px; }
.step h3 { margin-top: 22px; font-size: 30px; letter-spacing: -0.01em; }
.step p { margin: 10px auto 0; max-width: 320px; color: var(--muted); line-height: 1.5; }
.step .tag { position: absolute; top: -18px; left: calc(50% + 30px); background: var(--sage); transform: rotate(-6deg); white-space: nowrap; }
.step .tag.gold { background: var(--gold); transform: rotate(8deg); }
.steps { list-style: none; margin: 0; padding: 0; }
.s1 { left: 14%; top: 50px; } .s2 { left: 50%; top: 150px; } .s3 { left: 86%; top: 30px; }

/* Closing */
.closing { background: var(--forest); color: var(--ivory); overflow: hidden; }
.closing .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.closing h2 { margin-top: 22px; color: var(--ivory); font-weight: 300; font-size: clamp(48px, 6vw, 84px); line-height: 1; }
.closing h2 em { color: var(--gold); }
.closing .cols { display: grid; grid-template-columns: 1fr 1fr; margin-top: 44px; }
.closing .cols > div { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.closing .cols > div + div { padding-left: 32px; border-left: 1px solid rgba(212, 175, 124, 0.4); }
.closing .cols > div:first-child { padding-right: 32px; }
.closing .cols p { margin: 0; color: var(--on-forest); font-size: 15px; line-height: 1.55; }
.closing .get { display: flex; align-items: center; gap: 20px; margin-top: 48px; color: var(--on-forest); font-size: 14px; }
.closing .get img { height: 56px; width: auto; }
.closing-art { position: relative; aspect-ratio: 500 / 560; max-width: 520px; margin-left: auto; width: 100%; }
.closing-art .outline { position: absolute; inset: 0; transform: translate(28px, -28px); color: var(--gold); }
.closing-art .outline svg { width: 100%; height: 100%; overflow: visible; }
.closing-art .pic { position: absolute; inset: 0; clip-path: polygon(50% 0, 100% 30%, 100% 100%, 0 100%, 0 30%); border-radius: 0 0 28px 28px; overflow: hidden; }
.closing-art .pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.closing .sticker { width: 150px; aspect-ratio: 1; left: -60px; bottom: 60px; --r: -10deg; transform: rotate(-10deg); font-size: 26px; }

/* Footer */
.site-footer { padding: 72px 0 40px; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; flex-wrap: wrap; }
.foot-top > div:first-child { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.foot-top .tagline { margin: 0; color: var(--muted); font-size: 15px; max-width: 300px; }
.foot-links { display: flex; gap: clamp(32px, 6vw, 88px); flex-wrap: wrap; align-items: flex-start; }
.foot-links h3 { font: 700 12px/1 var(--sans); letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold-text); margin: 0 0 14px; }
.foot-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-links a { text-decoration: none; color: var(--ink); font-size: 15px; }
.foot-links a:hover { color: var(--forest); text-decoration: underline; }
.foot-links .play-badge img { height: 48px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot-bottom p { margin: 0; }

/* Reveal on scroll */
.reveal { opacity: 0; translate: 0 24px; transition: opacity .7s ease, translate .7s ease; }
.reveal.shown { opacity: 1; translate: 0 0; }

/* Tablet */
@media (max-width: 1100px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .essentials { grid-template-columns: 1fr; }
  .phone-zone { max-width: 420px; margin-inline: auto; width: 100%; }
  .privacy-top { grid-template-columns: 1fr; }
  .board { height: auto; }
  .steps { display: grid; gap: 56px; }
  .board-path { display: none; }
  .step { position: relative; left: auto; top: auto; transform: none; width: auto; }
  .step .tag { left: calc(50% + 34px); }
  .closing .wrap { grid-template-columns: 1fr; }
  .closing-art { margin: 20px auto 0; max-width: 420px; }
  .closing .sticker { left: -20px; }
}

/* Phone */
@media (max-width: 767px) {
  .header-actions .play-badge, .header-actions .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-menu.open { display: block; border-top: 1px solid var(--line); padding: 8px var(--gutter) 20px; background: var(--ivory); }
  .mobile-menu a { display: block; padding: 12px 0; font-weight: 600; font-size: 17px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { display: flex; margin-top: 16px; }
  .hero-top { grid-template-columns: 1fr; }
  .hero-copy .actions .btn { flex: 1 1 100%; }
  .stage-outline { transform: translate(8px, -8px); }
  .stage-media { clip-path: polygon(50% 0, 100% 16%, 100% 100%, 0 100%, 0 16%); border-radius: 0 0 16px 16px; }
  .chip, .chip.left, .chip.right { width: calc(100% - 24px); left: 12px; right: auto; bottom: auto; top: calc(100% - 38px); padding: 11px 14px 11px 12px; gap: 10px; border-radius: 14px; }
  .chip .ic { width: 34px; height: 34px; }
  .chip .ic svg { width: 17px; height: 17px; }
  .chip .k { font-size: 10px; }
  .chip .b { font-size: 13px; }
  .stage { margin-bottom: 0; }
  .stage-bar { margin-top: 86px; flex-wrap: wrap; gap: 14px; }
  .labels { gap: 6px; }
  .lab span { font-size: 9px; letter-spacing: .6px; }
  .lab .long { display: none; }
  .take { margin-left: 0; width: 100%; }
  .hero .sticker { left: -4px; top: -40px; }
  .marquee { height: 146px; }
  .band-forest { height: 70px; top: 22px; }
  .band-gold { height: 42px; top: 88px; }
  .band-forest .track-row span { font-size: 28px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card-wide { grid-template-columns: 1fr; }
  .card-wide .ic { right: 24px; }
  .sides { grid-template-columns: 1fr; gap: 28px; }
  .side { clip-path: polygon(50% 0, 100% 90px, 100% 100%, 0 100%, 0 90px); padding-top: 70px; }
  .sides .sticker { display: none; }
  .pcards { grid-template-columns: 1fr; }
  .nametag { width: 260px; }
  .nametag .name { font-size: 36px; }
  .closing .cols { grid-template-columns: 1fr; gap: 28px; }
  .closing .cols > div + div { padding-left: 0; border-left: 0; }
  .closing .cols > div:first-child { padding-right: 0; }
  .closing .cols .btn { width: 100%; }
  .closing .get { flex-wrap: wrap; }
  .closing .sticker { width: 110px; font-size: 19px; left: -8px; bottom: 30px; }
  .foot-top { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track-row, .wobble { animation: none; }
  .chip, .lab span, .reveal, .card, .btn { transition: none; }
  .reveal { opacity: 1; translate: 0 0; }
}

/* The Google Play badges show now that the Android app is live on Google Play (29 Sep 2026). An App
   Store badge is added only once Apple's public listing is confirmed. */
