/* ===== Tokens ===== */
:root {
  --green: #167A43;      /* darkened for readable white text (5.4:1) */
  --green-dark: #11653A;
  --gold: #D4A017;
  --blue: #2C5F8A;
  --cream: #FDF6E3;
  --navy: #1A1A2E;
  --navy-deep: #13131F;
  --white: #FFFFFF;
  --text-muted: #6B6B8A;
  --on-dark-muted: rgba(255,255,255,.7);
  --line-dark: rgba(255,255,255,.12);

  --font-head: "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--navy);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
img, video { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ===== Buttons & forms ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 17px;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: var(--radius-pill);
  cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-dark); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn--ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px #D9D2BF; }
.btn--ghost:hover { background: rgba(26,26,46,.05); }

/* Shown in place of every form once someone has joined */
.joined {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: var(--radius-md);
  background: rgba(22,122,67,.12); border: 1px solid rgba(22,122,67,.35);
  font-weight: 600; font-size: 15px;
}
.joined::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.joined span { font-weight: 400; opacity: .8; }
.join .joined, .hero .joined { color: var(--white); }
.join .joined { justify-content: center; max-width: 440px; margin: 0 auto; }
.signup__error { color: #F4A3A3; font-size: 13px; margin-top: 6px; }
.features .signup__error { color: #C0392B; }

/* Sign-up popup */
.modal {
  width: min(440px, calc(100% - 32px)); padding: 40px 32px 32px; border: 0;
  border-radius: 24px; background: var(--cream); color: var(--navy); text-align: center;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.5);
}
.modal::backdrop { background: rgba(19,19,31,.6); backdrop-filter: blur(4px); }
.modal__badge {
  width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 36px no-repeat;
}
.modal__title { font-size: 28px; font-weight: 900; margin-bottom: 12px; }
.modal__text { color: var(--text-muted); margin-bottom: 12px; }
.modal__actions { display: grid; gap: 8px; margin-top: 24px; }

.signup input {
  width: 100%; min-height: 52px; padding: 0 20px;
  font: inherit; color: var(--navy); background: var(--white);
  border: 1px solid #E4E0D4; border-radius: var(--radius-pill);
}
.signup input::placeholder { color: #8A8AA3; }
.signup__note { font-size: 13px; color: var(--text-muted); }

.signup--stacked { display: grid; gap: 12px; }
.signup--stacked .btn { width: 100%; }
.signup--stacked .signup__note { text-align: center; color: var(--on-dark-muted); }
.signup--narrow { max-width: 440px; margin: 0 auto; width: 100%; }

.signup--inline { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.signup--inline .signup__note { grid-column: 1 / -1; }

.signup--footer { display: flex; flex-wrap: wrap; max-width: 420px; }
.signup--footer input { flex: 1 1 0; min-width: 0; width: auto; }
.signup--footer .btn { flex: none; padding: 0 18px; }
.signup--footer .signup__note { flex-basis: 100%; margin-top: 10px; color: var(--on-dark-muted); }
.signup--footer input {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm); min-height: 44px;
  background: rgba(255,255,255,.06); border-color: var(--line-dark); color: var(--white);
}
.signup--footer .btn { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; min-height: 44px; font-size: 15px; }

.signup__done { font-family: var(--font-head); font-weight: 800; font-size: 18px; }
.signup__done span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 15px; opacity: .8; margin-top: 4px; }

/* ===== Placeholders (remove when real art arrives) ===== */
.placeholder {
  display: grid; place-items: center; text-align: center;
  font-size: 13px; font-weight: 600; border: 2px dashed; border-radius: var(--radius-md);
}
.placeholder--on-gold { color: rgba(26,26,46,.55); border-color: rgba(26,26,46,.3); }
.placeholder--on-blue { color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.35); }

/* ===== 1. Hero ===== */
.hero {
  display: grid; grid-template-columns: 58fr 42fr;
  background: var(--navy); color: var(--white); min-height: 100vh;
}
.hero__main {
  display: flex; flex-direction: column;
  padding: 24px var(--gutter) 64px;
}
.logo { display: inline-block; line-height: 0; text-decoration: none; }
.logo img { display: block; height: 56px; width: auto; }
.hero__content { margin: auto 0; padding-top: 48px; max-width: 600px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px 4px 6px; border-radius: var(--radius-pill);
  background: var(--cream); color: var(--navy); font-size: 14px; font-weight: 500;
}
.tick {
  width: 20px; height: 20px; border-radius: 50%; background: var(--green); position: relative; flex: none;
}
.tick::after {
  content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px;
  border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

.hero__title { font-size: clamp(36px, 5vw, 64px); font-weight: 900; letter-spacing: -0.01em; margin-bottom: 20px; }
.hl { color: var(--green); }
.hero__lead { color: var(--on-dark-muted); font-size: 16px; max-width: 56ch; margin-bottom: 32px; }

.hero__side { display: grid; grid-template-rows: 1fr; }
.panel { position: relative; overflow: hidden; }
.panel--gold {
  background: var(--gold); border-radius: 0 0 0 var(--radius-lg);
  display: flex; flex-direction: column; padding: 24px; min-height: 300px;
}
.panel__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0; transition: opacity .6s; }
.panel--gold.has-video .panel__media { opacity: 1; }
.panel__placeholder { position: absolute; inset: 80px 24px 24px; z-index: 0; }
.panel--gold.has-video .panel__placeholder { display: none; }
.panel__cta { position: relative; z-index: 2; align-self: flex-end; }

.expand-btn {
  position: absolute; right: 20px; bottom: 20px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px;
  border: 0; border-radius: var(--radius-pill); cursor: pointer;
  background: rgba(26,26,46,.72); color: var(--white); font: 600 14px var(--font-body);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .25s cubic-bezier(.22,1,.36,1), background-color .2s;
}
.expand-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.expand-btn:hover { background: var(--navy); transform: translateY(-2px); }
.expand-btn:hover svg { transform: scale(1.15); }

/* Full-screen viewer */
.viewer { position: fixed; inset: 0; z-index: 900; background: rgba(13,13,22,.94); }
.viewer[hidden] { display: none; }
.viewer__frame { position: absolute; inset: 0; background: var(--gold); overflow: hidden; }
.viewer__video { width: 100%; height: 100%; object-fit: cover; background: var(--navy); }
@media (orientation: portrait) { .viewer__video { object-fit: contain; } }
.viewer__placeholder { position: absolute; inset: 24px; font-size: 18px; }
.viewer.has-video .viewer__placeholder { display: none; }
.viewer:not(.has-video) .viewer__video { display: none; }
.viewer__close {
  position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(255,255,255,.14); color: var(--white);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background-color .2s, transform .3s cubic-bezier(.34,1.56,.64,1), opacity .25s;
}
.viewer__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.viewer__close:hover { background: rgba(255,255,255,.25); transform: rotate(90deg); }
.viewer.is-animating .viewer__close { opacity: 0; }
html.viewer-open { overflow: hidden; }

.panel--blue {
  background: var(--blue); border-radius: var(--radius-lg) 0 0 0;
  display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 16px;
  padding: 32px 0 0 32px;
}
.panel__text {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.2; align-self: center; padding-bottom: 32px;
}
.panel__art { height: 100%; min-height: 160px; border-radius: var(--radius-md) 0 0 0; border-right: 0; border-bottom: 0; }

/* ===== Section headings (cream sections) ===== */
.section-title { font-size: clamp(30px, 4vw, 48px); font-weight: 900; text-align: center; }
.section-sub { text-align: center; color: var(--text-muted); max-width: 56ch; margin: 12px auto 0; }

/* ===== 2. Stories ===== */
.stories { background: var(--cream); padding: 96px 0; }
.stories__grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 56px;
}
.story {
  grid-column: span 2; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-end;
  min-height: 300px; padding: 24px; background: var(--white); border-radius: var(--radius-lg);
  cursor: pointer;
}
.story--wide { grid-column: span 3; }
.story__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; pointer-events: none;
}
.story__tag {
  position: relative; z-index: 1;
  padding: 8px 14px; border-radius: var(--radius-sm);
  background: var(--cream); font-size: 14px; font-weight: 500; text-align: right;
}

/* ===== 3. Features ===== */
.features { background: var(--cream); padding: 32px 0 112px; }
.features__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.features__text { max-width: 540px; justify-self: center; }
.features__title { font-size: clamp(30px, 4vw, 48px); font-weight: 900; margin-bottom: 16px; }
.features__intro { color: var(--text-muted); margin-bottom: 28px; }

.tabs-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; margin: 28px 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }

/* Coming soon: tooltip only */
.soon-wrap { position: relative; }
.tab--soon { cursor: help; }
.tab--soon:hover { background: transparent; border-color: var(--navy); color: var(--navy); }
.tooltip {
  position: absolute; bottom: calc(100% + 10px); left: 50%; z-index: 5;
  width: max-content; max-width: min(240px, calc(100vw - 32px));
  padding: 10px 14px; border-radius: 12px;
  background: var(--navy); color: var(--white); font-size: 13px; line-height: 1.45; text-align: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(calc(-50% + var(--nudge, 0px)), 6px);
  transition: opacity .2s, transform .25s cubic-bezier(.22,1,.36,1), visibility .2s;
}
.tooltip::after {
  content: ""; position: absolute; top: 100%; left: calc(50% - var(--nudge, 0px)); margin-left: -6px;
  border: 6px solid transparent; border-top-color: var(--navy);
}
.soon-wrap.is-open .tooltip, .tab--soon:focus-visible + .tooltip {
  opacity: 1; visibility: visible; transform: translate(calc(-50% + var(--nudge, 0px)), 0);
}
@media (hover: hover) {
  .tab--soon:hover + .tooltip { opacity: 1; visibility: visible; transform: translate(calc(-50% + var(--nudge, 0px)), 0); }
}
.tab {
  font: 500 14px var(--font-body); color: var(--navy); background: transparent;
  border: 1.5px solid var(--navy); border-radius: var(--radius-pill);
  padding: 8px 18px; cursor: pointer;
}
.tab:hover { background: rgba(26,26,46,.06); }
.tab.is-active { background: var(--navy); color: var(--white); }
.tab--soon { border: 1.5px dashed var(--text-muted); color: var(--text-muted); }

.tabpanel h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.tabpanel p { color: var(--text-muted); }
.tabpanel { min-height: 150px; margin-bottom: 16px; }
.tabpanel p { max-width: 46ch; }

.phone {
  justify-self: center; width: min(320px, 100%); aspect-ratio: 9 / 19;
  padding: 12px; background: var(--white); border-radius: 44px;
  box-shadow: 0 30px 60px -20px rgba(26,26,46,.25), 0 0 0 1px #ECE6D6;
}
.phone__screen {
  position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden;
  background: var(--cream);
}

.phone__status, .phone__home { display: none; }

/* ===== Phone mock screens ===== */
.screen {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px;
  padding: 28px 16px 20px; font-size: 13px; color: var(--navy);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98);
  transition: opacity .35s, transform .45s cubic-bezier(.22,1,.36,1), visibility .35s;
}
.screen.is-active { opacity: 1; visibility: visible; transform: none; }
.screen--dark { background: var(--navy); color: var(--white); align-items: center; justify-content: center; gap: 20px; }
.scr-top { display: flex; align-items: center; gap: 10px; padding-bottom: 4px; }
.scr-back { width: 28px; height: 28px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 1px #ECE6D6; flex: none; position: relative; }
.scr-back::after { content: ""; position: absolute; left: 11px; top: 9px; width: 7px; height: 7px; border: solid var(--navy); border-width: 0 0 2px 2px; transform: rotate(45deg); }
.scr-title { font-family: var(--font-head); font-weight: 800; font-size: 14px; }
.scr-label { font-size: 11px; font-weight: 600; color: var(--text-muted); }
.scr-btn {
  margin-top: auto; padding: 12px; border-radius: var(--radius-pill); text-align: center;
  background: var(--green); color: var(--white); font-family: var(--font-head); font-weight: 800;
}

/* stories */
.scr-art { flex: 1; border-radius: 20px; position: relative; overflow: hidden; }
.scr-art--sea { background: linear-gradient(180deg, #7FB3D5 0%, var(--blue) 55%, #1E4466 100%); }
.scr-wave { position: absolute; left: -10%; right: -10%; top: 38%; height: 30px; border-radius: 50%; background: rgba(255,255,255,.25); }
.scr-read { font-family: var(--font-head); font-weight: 800; font-size: 16px; line-height: 1.35; }
.scr-read mark { background: var(--gold); color: var(--navy); border-radius: 4px; padding: 0 3px; }
.scr-dots { display: flex; gap: 6px; justify-content: center; }
.scr-dots i { width: 6px; height: 6px; border-radius: 50%; background: #D9D2BF; }
.scr-dots i.on { background: var(--green); }
.scr-hint { text-align: center; font-size: 11px; color: var(--text-muted); }

/* games */
.scr-q { font-family: var(--font-head); font-weight: 800; font-size: 17px; line-height: 1.3; margin-top: 8px; }
.scr-q--light { color: var(--white); text-align: center; }
.scr-options { display: grid; gap: 8px; }
.scr-options span { padding: 12px 14px; border-radius: 14px; background: var(--white); box-shadow: 0 0 0 1px #ECE6D6; font-weight: 500; }
.scr-options .right { background: var(--green); color: var(--white); box-shadow: none; }
.scr-cheer { margin-top: auto; text-align: center; font-family: var(--font-head); font-weight: 800; color: var(--green); font-size: 16px; }

/* trust */
.scr-card { display: grid; gap: 4px; padding: 14px; border-radius: 14px; background: var(--white); box-shadow: 0 0 0 1px #ECE6D6; }
.scr-card strong { font-family: var(--font-head); font-size: 15px; }
.scr-card--ok { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.scr-check { width: 22px; height: 22px; border-radius: 50%; flex: none; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* trivia */
.scr-chip { padding: 4px 12px; border-radius: var(--radius-pill); background: rgba(229,115,115,.2); color: #F4A3A3; font-weight: 600; font-size: 11px; }
.scr-versus { display: flex; align-items: center; gap: 14px; }
.scr-versus > div { display: grid; justify-items: center; gap: 4px; }
.scr-versus b { font-size: 12px; }
.scr-versus em { font-style: normal; font-family: var(--font-head); font-weight: 900; font-size: 24px; color: var(--gold); }
.scr-avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; background: var(--green); }
.scr-avatar--ai { background: var(--blue); }
.scr-vs { font-family: var(--font-head); font-weight: 900; color: var(--on-dark-muted); }
.scr-buzzer {
  width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #F07A7A, #C0392B); color: var(--white);
  font-family: var(--font-head); font-weight: 900; font-size: 22px;
  box-shadow: 0 8px 0 #8E2A20, 0 18px 30px -10px rgba(0,0,0,.6);
}
.screen.is-active .scr-buzzer { animation: buzz 1.6s ease-in-out infinite; }
@keyframes buzz { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* parent stories */
.scr-banner { padding: 12px; border-radius: 14px; background: var(--gold); font-weight: 600; text-align: center; }
.scr-story { display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 14px; background: var(--white); box-shadow: 0 0 0 1px #ECE6D6; }
.scr-story div { display: grid; }
.scr-story b { font-size: 13px; }
.scr-story div span { font-size: 11px; color: var(--text-muted); }
.scr-vote { margin-left: auto; flex: none; padding: 6px 10px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--green); color: var(--green); }
.scr-vote.is-voted { background: var(--green); color: var(--white); }

/* trivia: 4 players */
.scr-players { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.scr-players > div { display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border-radius: 14px; background: rgba(255,255,255,.06); }
.scr-players > div.me { background: rgba(22,122,67,.25); box-shadow: inset 0 0 0 1.5px var(--green); }
.scr-players .scr-avatar { width: 40px; height: 40px; font-size: 20px; }
.scr-players b { font-size: 11px; }
.scr-players em { font-style: normal; font-family: var(--font-head); font-weight: 900; font-size: 18px; color: var(--gold); }
.scr-avatar--b { background: var(--gold); } .scr-avatar--c { background: var(--blue); } .scr-avatar--d { background: #7A5C9E; }
.screen--dark .scr-buzzer { width: 96px; height: 96px; font-size: 18px; }
.scr-meta { margin-left: auto; font-size: 11px; color: var(--text-muted); font-weight: 600; }

/* badges: rank */
.scr-rank { display: grid; gap: 8px; padding: 14px; border-radius: 14px; background: var(--navy); color: var(--white); }
.scr-rank .scr-label { color: var(--on-dark-muted); }
.scr-rank__row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.scr-rank__row span { font-size: 11px; color: var(--on-dark-muted); }
.scr-rank__bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.15); overflow: hidden; }
.scr-rank__bar i { display: block; height: 100%; background: var(--gold); border-radius: 4px; }



/* ===== 4. Join ===== */
.join { background: var(--navy); color: var(--white); padding: 128px var(--gutter); }
.join__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.join__title { font-size: clamp(30px, 4.5vw, 52px); font-weight: 900; margin-bottom: 16px; }
.join__text { color: var(--on-dark-muted); margin-bottom: 32px; }

.ticker { background: var(--gold); overflow: hidden; }
.ticker__track { display: flex; width: max-content; }
.ticker__group {
  display: flex; align-items: center; gap: 32px; padding: 18px 16px; white-space: nowrap; flex: none;
  font-family: var(--font-head); font-weight: 900; font-size: 17px; color: var(--navy);
}
.ticker .star { font-size: 14px; }

/* ===== 5. FAQ ===== */
.faq { background: var(--navy); color: var(--white); padding: 96px 0; }
.faq__grid { display: grid; grid-template-columns: 1fr 2fr; }
.faq__intro { padding-right: 48px; border-right: 1px solid var(--line-dark); }
.faq__title { font-size: clamp(32px, 4vw, 52px); font-weight: 900; }
.faq__intro p { color: var(--on-dark-muted); max-width: 30ch; }
.rule { display: block; width: 44px; height: 3px; margin: 20px 0; border-radius: 2px; }
.rule--green { background: var(--green); }
.rule--gold { background: var(--gold); }

.faq__list { padding-left: 64px; }
.faq details { border-bottom: 1px solid var(--line-dark); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: 17px; font-weight: 500; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: 18px; line-height: 1;
  background: rgba(255,255,255,.1);
}
.faq details[open] summary::after { content: "−"; background: var(--green); }
.faq__answer { overflow: hidden; }
.faq details p { color: var(--on-dark-muted); font-size: 15px; padding-bottom: 16px; max-width: 68ch; }
.faq details p:last-child { padding-bottom: 24px; }

/* ===== 6 + 7. Closing line under a rising footer ===== */
.outro { position: relative; background: var(--navy); }
.closing {
  position: sticky; top: 0; z-index: 0;
  height: 100vh; height: 100svh;
  display: grid; place-items: center; padding: 0 var(--gutter);
}
.closing__text {
  font-family: var(--font-head); font-weight: 900; color: var(--white); text-align: center;
  font-size: clamp(40px, 7.5vw, 112px); line-height: 1.05; letter-spacing: -0.02em;
  text-wrap: balance; will-change: transform, opacity;
}

.footer {
  position: relative; z-index: 1;
  background: var(--navy-deep); color: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden;
  padding-top: 64px; min-height: 75vh;
  box-shadow: 0 -30px 60px -20px rgba(0,0,0,.45);
}
.footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 56px; }
.logo--footer { margin-bottom: 8px; }
.logo--footer img { height: 64px; }
.footer__brand p { color: var(--on-dark-muted); font-size: 14px; margin-bottom: 16px; }
.footer__cols { display: flex; gap: 64px; }
.footer__cols h3 { font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--gold); margin-bottom: 14px; letter-spacing: .04em; }
.footer__cols li { margin-bottom: 8px; }
.footer__cols a { color: var(--on-dark-muted); text-decoration: none; font-size: 14px; }
.footer__cols a:hover { color: var(--white); }

.footer__bottom {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
  padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--line-dark);
  font-size: 13px; color: var(--on-dark-muted);
}
.footer__disclaimer { text-align: center; }
.footer__legal { display: flex; gap: 24px; white-space: nowrap; }
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { color: var(--white); }

.footer__watermark {
  font-family: var(--font-head); font-weight: 900; text-align: center;
  font-size: clamp(56px, 13.5vw, 200px); line-height: .8; white-space: nowrap; color: rgba(255,255,255,.05);
  margin-top: 24px; margin-bottom: -0.15em; user-select: none;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  /* hero stays two-column down to 900px (landscape tablets) */
  .hero__title { font-size: clamp(36px, 5.4vw, 56px); }

  .stories__grid { grid-template-columns: 1fr 1fr; }
  .story, .story--wide { grid-column: span 1; }
  .story:last-child { grid-column: 1 / -1; }

  /* phone screen sits right under the tab text, form goes last */
  .features__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .features__text { display: contents; }
  .phone { order: 5; margin: 8px auto 0; }
  /* the founding-family form follows straight after, so skip this one */
  .features .signup--inline, .features .joined { display: none; }
  .features { padding-bottom: 96px; }

  .faq__grid { grid-template-columns: 1fr; gap: 40px; }
  .faq__intro { border-right: 0; padding-right: 0; }
  .faq__list { padding-left: 0; }
  .footer__bottom { grid-template-columns: 1fr; gap: 12px; }
  .footer__disclaimer { text-align: left; }
}

/* ---- Portrait tablet and below: hero stacks ---- */
@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__main { padding-bottom: 48px; }
  .hero__content { padding-top: 40px; max-width: 640px; }
  .hero__side { grid-template-rows: auto auto; gap: 12px; padding: 0 var(--gutter) 56px; }
  .panel--gold, .panel--blue { border-radius: var(--radius-lg); }
  .panel--gold { min-height: 0; aspect-ratio: 16 / 9; }
  .panel__cta { display: none; } /* the form sits right above it */
  .panel__placeholder { inset: 24px; }
  .expand-btn span { display: none; }
  .expand-btn { width: 44px; height: 44px; padding: 0; justify-content: center; right: 16px; bottom: 16px; }
  .panel--blue { padding: 28px 0 0 28px; }
}

@media (max-width: 640px) {
  /* Hero order on phones: headline, video, then pitch and form */
  .hero { display: flex; flex-direction: column; padding-bottom: 48px; }
  .hero__main, .hero__content, .hero__side { display: contents; }
  .hero__main > *, .hero__content > *, .hero__side > * { margin-inline: var(--gutter); }
  .logo { order: 0; align-self: flex-start; margin-top: 20px; margin-bottom: 28px; }
  .logo img { height: 46px; }
  .logo--footer img { height: 52px; }
  .chips { order: 1; margin-bottom: 16px; }
  .hero__title { order: 2; margin-bottom: 24px; }
  .panel--gold { order: 3; margin-bottom: 24px; aspect-ratio: 4 / 3; padding: 16px; }
  .hero__lead { order: 4; margin-bottom: 24px; }
  .hero .signup, .hero .joined { order: 5; }
  .panel--blue { order: 6; }
  .chip { font-size: 13px; }
  .panel__placeholder { inset: 16px; }
  .panel--blue { grid-template-columns: 1fr; padding: 24px 24px 0; }
  .panel__text { padding-bottom: 0; }
  .panel__art { min-height: 140px; border-radius: var(--radius-md) var(--radius-md) 0 0; border-right: 2px dashed; }

  .stories { padding: 72px 0; }
  /* Stories: swipeable row, next card peeks in */
  .stories__grid {
    display: flex; gap: 12px; margin: 40px calc(-1 * var(--gutter)) 0;
    padding: 4px var(--gutter) 28px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .stories__grid::-webkit-scrollbar { display: none; }
  .story, .story--wide, .story:last-child { flex: 0 0 82%; min-height: 0; aspect-ratio: 4 / 5; scroll-snap-align: start; }
  .footer { min-height: 0; }

  .features { padding-bottom: 80px; }
  .signup--inline { grid-template-columns: 1fr; }
  .signup--inline .btn { width: 100%; }
  .tabpanel { min-height: 0; }
  /* Tabs: one scrollable row, Coming soon underneath */
  .tabs-row { display: grid; justify-items: start; gap: 12px; }
  .tabs {
    justify-self: stretch; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
            mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; min-height: 44px; }

  .join { padding: 88px var(--gutter); }
  .faq { padding: 72px 0; }
  .faq summary { font-size: 16px; padding: 20px 0; }

  .footer__cols { gap: 40px; }
  .footer__bottom { grid-template-columns: 1fr; gap: 12px; }
  .footer__disclaimer { text-align: left; }
  .phone { width: min(260px, 100%); }
}


/* =========================================================
   TABLET + PHONE ONLY (1024px and below). Desktop is untouched.
   ========================================================= */
@media (max-width: 1024px) {
  /* Hero: no blue card; gold card takes the whole side */
  .panel--blue { display: none; }
  .hero__side { grid-template-rows: 1fr; }
  .panel--gold { height: 100%; }

  /* Tab section: heading and content centred */
  .features__title, .tabpanel { text-align: center; }
  .tabpanel p { margin-inline: auto; }
  .tabpanel { min-height: 0; margin-bottom: 32px; }

  /* Hero: chips, heading, paragraph and form centred (logo stays left) */
  .hero__content { text-align: center; margin-inline: auto; }
  .hero .chips { justify-content: center; }
  .hero__lead { margin-inline: auto; }
  .hero .signup input { text-align: left; }
  .hero .joined { justify-content: center; text-align: left; }

  /* FAQ intro: heading, accent line and paragraph centred */
  .faq__intro { text-align: center; }
  .faq__intro .rule, .faq__intro p { margin-inline: auto; }

  /* Footer: Information and Contact share the width equally */
  .footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; flex: 1 1 100%; }
  .tabs-row, .tabs { justify-content: center; }

  /* Phone mockup: real device look */
  .phone {
    position: relative; width: min(330px, 100%); aspect-ratio: 9 / 19.5;
    padding: 11px; background: var(--navy); border-radius: 52px;
    box-shadow: inset 0 0 0 2px #3A3A52, 0 0 0 1.5px #2A2A40,
      0 40px 70px -24px rgba(26,26,46,.45), 0 12px 24px -12px rgba(26,26,46,.3);
  }
  .phone::before, .phone::after { content: ""; position: absolute; width: 4px; background: #2A2A40; }
  .phone::before { right: -4px; top: 27%; height: 13%; border-radius: 0 3px 3px 0; }
  .phone::after { left: -4px; top: 22%; height: 8%; border-radius: 3px 0 0 3px; box-shadow: 0 52px 0 #2A2A40; }
  .phone__screen { border-radius: 42px; }
  .screen { padding: 56px 18px 28px; }
  .phone__status {
    position: absolute; top: 0; left: 0; right: 0; z-index: 3; height: 46px;
    display: flex; align-items: center; justify-content: space-between; padding: 4px 26px 0 30px;
    color: var(--navy);
  }
  .phone__time { font: 700 13px var(--font-body); }
  .phone__island {
    position: absolute; left: 50%; top: 11px; width: 32%; height: 26px;
    transform: translateX(-50%); background: #000; border-radius: 999px;
  }
  .phone__icons { display: flex; align-items: center; gap: 5px; }
  .phone__signal { width: 15px; height: 10px; background:
    linear-gradient(currentColor,currentColor) 0 100% / 3px 40% no-repeat,
    linear-gradient(currentColor,currentColor) 4px 100% / 3px 60% no-repeat,
    linear-gradient(currentColor,currentColor) 8px 100% / 3px 80% no-repeat,
    linear-gradient(currentColor,currentColor) 12px 100% / 3px 100% no-repeat; }
  .phone__battery { position: relative; width: 22px; height: 11px; border-radius: 3px; box-shadow: inset 0 0 0 1px currentColor; }
  .phone__battery::before { content: ""; position: absolute; inset: 2px 5px 2px 2px; border-radius: 1px; background: currentColor; }
  .phone__battery::after { content: ""; position: absolute; right: -3px; top: 3.5px; width: 2px; height: 4px; background: currentColor; }
  .phone__home {
    display: block; position: absolute; z-index: 3; left: 50%; bottom: 8px; width: 36%; height: 5px;
    transform: translateX(-50%); border-radius: 3px; background: var(--navy);
  }
  .phone.is-dark .phone__status { color: var(--white); }
  .phone.is-dark .phone__home { background: var(--white); }
}

@media (max-width: 640px) {
  /* phone: scrolling tab row stays centred when it fits, starts at the left when it doesn't */
  .tabs-row { justify-items: center; }
  .tabs { justify-content: flex-start; }
  .tabs .tab:first-of-type { margin-left: auto; }
  .tabs .tab:last-of-type { margin-right: auto; }
  .phone { width: min(300px, 84vw); }
  .hero__lead { margin-inline: var(--gutter); } /* keep page padding on phones */
}



/* =========================================================
   MOTION
   ========================================================= */
:root {
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-inout: cubic-bezier(.76, 0, .24, 1);
}

/* --- First-visit intro: cream screen, navy opens from the centre --- */
.intro { display: none; }
.intro-on .intro {
  display: block; position: fixed; inset: 0; z-index: 1000; background: var(--cream);
}
.intro__curtain {
  position: absolute; inset: 0; background: var(--navy);
  transform: scaleX(0); transform-origin: 50% 50%;
}
.intro-on.intro-play .intro__curtain { transform: scaleX(1); transition: transform .9s var(--ease-inout); }
.intro-on.intro-done .intro { display: none; }
.intro-on:not(.intro-done) { overflow: hidden; }

/* --- Hero entrance (after the intro, or straight away on return visits) --- */
.js [data-enter] { opacity: 0; transform: translateY(18px); }
.js.is-loaded [data-enter] {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: calc(var(--d) * 90ms + 350ms);
}
/* Gold panel unfolds from the top-right corner, blue follows */
.js [data-reveal] { clip-path: inset(0 0 100% 70%); }
.js [data-reveal="blue"] { clip-path: inset(0 0 0 100%); }
.js.is-loaded [data-reveal] {
  clip-path: inset(0 0 0 0);
  transition: clip-path .9s var(--ease-inout);
}
.js.is-loaded [data-reveal="blue"] { transition-delay: .3s; }
.js.is-loaded .chip .tick { animation: pop .5s var(--ease-spring) both; }
.js.is-loaded .chip:nth-child(1) .tick { animation-delay: .75s; }
.js.is-loaded .chip:nth-child(2) .tick { animation-delay: .85s; }
.js.is-loaded .chip:nth-child(3) .tick { animation-delay: .95s; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }

/* --- Buttons & inputs --- */
.btn { transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--green:hover { box-shadow: 0 10px 24px -8px rgba(22,122,67,.6); }
.btn--gold:hover { box-shadow: 0 10px 24px -8px rgba(212,160,23,.6); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.signup input { transition: border-color .2s, box-shadow .25s var(--ease-out); }
.signup input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(22,122,67,.22); }
.signup.is-invalid input { border-color: #E57373; animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.joined { animation: rise .5s var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* --- Story cards: reveal once, hover shows only the card (and its video) --- */
.js .story { opacity: 0; transform: translateY(24px); }
.js .story.is-visible {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease-out), transform .7s var(--ease-out), box-shadow .3s;
  transition-delay: calc(var(--i) * 80ms);
}
.story__tag, .story__video { transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
.story.is-playing .story__tag { opacity: 0; transform: translateY(-8px); }
.story.is-playing .story__video.has-src { opacity: 1; }
.story.is-playing { box-shadow: 0 22px 40px -22px rgba(26,26,46,.35); }
.story:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* --- Tabs: sliding pill + content crossfade --- */
.tabs { position: relative; isolation: isolate; }
.tabs__indicator {
  position: absolute; z-index: -1; top: 0; left: 0; width: 0; height: 0;
  background: var(--navy); border-radius: var(--radius-pill);
  transition: transform .4s var(--ease-out), width .4s var(--ease-out), height .4s var(--ease-out);
}
.js .tabs .tab.is-active { background: transparent; }
.tab { transition: color .3s, background-color .2s, border-color .3s; }
.tabpanel.is-entering { animation: panelIn .45s var(--ease-out) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.phone.is-bumping { animation: phoneBump .5s var(--ease-out); }
@keyframes phoneBump { 40% { transform: translateY(-6px) rotate(-1deg); } }

/* --- FAQ --- */
.faq summary { transition: color .2s; }
.faq summary:hover { color: var(--gold); }
.faq summary::after { transition: transform .35s var(--ease-out), background-color .3s; }
.faq details[open] summary::after { transform: rotate(180deg); }

/* --- Ticker: seamless loop. JS sets --shift to one group's width --- */
.ticker__track { animation: marquee var(--dur, 30s) linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-1 * var(--shift, 50%))); } }

/* --- Closing line: words fill as you scroll --- */
.closing__text .word { opacity: var(--o, .18); }

/* --- Footer links --- */
.footer__cols a, .footer__legal a {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .3s var(--ease-out), color .2s;
}
.footer__cols a:hover, .footer__legal a:hover { background-size: 100% 1px; }

/* --- Popup --- */
.modal[open] { animation: modalIn .45s var(--ease-spring) both; }
.modal[open]::backdrop { animation: fadeIn .3s ease both; }
.modal.is-closing { animation: modalOut .2s ease forwards; }
.modal[open] .modal__badge { animation: pop .5s var(--ease-spring) .15s both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes modalOut { to { opacity: 0; transform: scale(.97); } }
@keyframes fadeIn { from { opacity: 0; } }

/* --- Reduced motion: everything static and visible --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .screen { transform: none !important; }
  .js [data-enter], .js .story { opacity: 1 !important; transform: none !important; }
  .js [data-reveal] { clip-path: none !important; }
  .closing__text .word { opacity: 1 !important; }
  .closing__text { transform: none !important; }
  .btn:hover { transform: none; }
}


/* =========================================================
   v17 additions
   ========================================================= */
.signup__note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.signup__note a:hover { color: var(--white); }
.features .signup__note a:hover { color: var(--navy); }

/* Story cards: title, one line, Quran source */
.story__tag { max-width: 340px; text-align: left; padding: 14px 16px; border-radius: var(--radius-md); }
.story__title { font-family: var(--font-head); font-size: 17px; font-weight: 800; line-height: 1.25; margin: 0 0 6px; }
.story__desc { font-size: 14px; line-height: 1.5; color: #4A4A66; margin: 0 0 8px; }
.story__src { font-size: 12px; font-weight: 600; color: var(--green); margin: 0; }

/* "Planned feature" label on Trivia and Parent stories */
.planned {
  display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600; color: var(--navy);
  border: 1.5px dashed #B9B2A0; background: transparent;
}


/* Popup: WhatsApp invite */
.modal__reward {
  display: grid; gap: 4px; margin-top: 8px; padding: 14px 16px; border-radius: var(--radius-md);
  background: var(--white); box-shadow: inset 0 0 0 1px #ECE6D6; text-align: left;
}
.modal__reward strong { font-family: var(--font-head); font-weight: 800; font-size: 16px; }
.modal__reward span { font-size: 14px; color: #4A4A66; }
.btn--whatsapp { background: var(--green); color: var(--white); gap: 10px; }
.btn--whatsapp:hover { background: var(--green-dark); }
.btn--whatsapp svg { width: 22px; height: 22px; fill: currentColor; }
.btn--outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn--outline:hover { background: rgba(26,26,46,.05); }

/* Footer: Information / Contact / Follow */
@media (max-width: 1024px) {
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > div:nth-child(2) { grid-column: 1 / -1; order: 3; }
  .story__tag { max-width: none; }
}

/* =========================================================
   Founders (v18)
   ========================================================= */
.founders { background: var(--white); padding: 112px 0; text-align: center; }
.ticket {
  position: relative; display: inline-block; margin-bottom: 18px; padding: 8px 22px;
  background: var(--gold); color: var(--navy); border-radius: 6px;
  font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  border-radius: 50%; background: var(--white);
}
.ticket::before { left: -6px; } .ticket::after { right: -6px; }

.founders__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; text-align: left; }
.founder {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  border: 1.5px dashed #C9C1AE; border-radius: var(--radius-lg); overflow: hidden; background: var(--white);
}
.founder__photo, .founder__img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; display: block; }
.founder__photo {
  display: grid; place-items: center; background: var(--cream);
  border-right: 1.5px dashed #C9C1AE;
}
.founder__img { border-right: 1.5px dashed #C9C1AE; }
.founder__photo span {
  display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%;
  background: var(--gold); color: var(--navy); font-family: var(--font-head); font-weight: 900; font-size: 32px;
}
.founder__body { padding: 36px 32px; }
.founder__role { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin: 0 0 16px; }
.founder__name { font-family: var(--font-head); font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 3vw, 42px); line-height: .98; margin: 0 0 20px; color: var(--navy); }
.founder__bio { font-size: 15px; line-height: 1.65; color: #4A4A66; margin: 0; }

.goal { max-width: 860px; margin: 72px auto 0; }
.goal__label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.goal__quote {
  position: relative; margin: 0; padding-top: 40px;
  font-family: var(--font-head); font-weight: 800; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.35; color: var(--navy);
}
.goal__quote::before {
  content: "“"; position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  font-size: 96px; line-height: 1; color: var(--gold);
}

@media (max-width: 1024px) {
  .founders { padding: 88px 0; }
  .founders__grid { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
  .founder { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
}
@media (max-width: 640px) {
  .founders { padding: 72px 0; }
  .founders__grid { margin-top: 40px; gap: 20px; }
  .founder { grid-template-columns: 1fr; }
  .founder__photo, .founder__img { min-height: 0; height: auto; aspect-ratio: 4 / 3; border-right: 0; border-bottom: 1.5px dashed #C9C1AE; }
  .founder__body { padding: 28px 22px 30px; }
  .goal { margin-top: 56px; }
}

/* Founder photos: transparent cut-outs on brand green */
.founder__photo { background: var(--green); }
.founder__photo .founder__img { min-height: 0; border: 0; object-position: center top; }
picture.founder__photo { display: block; position: relative; }
picture.founder__photo .founder__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Blue hero card: boy cut-out sits at the bottom right */
.panel__art--photo { display: flex; align-items: flex-end; justify-content: center; min-height: 0; height: 100%; overflow: hidden; }
.panel__art--photo img { display: block; width: 100%; max-width: 280px; height: auto; max-height: 100%; object-fit: contain; object-position: bottom center; }

picture.founder__photo .founder__img--taimoor { object-position: 82% top; }

/* Sign-up button while sending */
.btn:disabled { opacity: .7; cursor: progress; }
