/* ==========================================================================
   Rally for Relief — landing page
   Brand colours: black #0B0B0B, gold #D4A63A, cream #F5F2EA, grey #9C9585
   ========================================================================== */

:root {
  --black: #0B0B0B;
  --gold: #D4A63A;
  --gold-hi: #E2B54A;
  --gold-deep: #8C6A1E;
  --cream: #F5F2EA;
  --grey: #9C9585;

  /* Raised surfaces, tinted toward the cream so they stay warm */
  --surface: #151411;
  --surface-2: #201E1A;
  --line: rgba(245, 242, 234, 0.12);

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 28px;
  --section-pad: clamp(80px, 11vw, 140px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

::selection { background: var(--gold); color: var(--black); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  background: var(--gold);
  color: var(--black);
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 100;
}
.skip-link:focus { top: 16px; }

/* --- Shared bits ---------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
}
.eyebrow-dark { color: rgba(11, 11, 11, 0.7); }

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 166, 58, 0.22);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn span { transition: transform 0.2s ease; }
.btn:hover span { transform: translateX(3px); }

.btn-sm { padding: 11px 18px; font-size: 15px; }
.btn-lg { padding: 20px 30px; font-size: 17px; }

.btn-accent { background: var(--gold); color: var(--black); box-shadow: 0 4px 0 var(--gold-deep); }
.btn-accent:hover { background: var(--gold-hi); box-shadow: 0 6px 0 var(--gold-deep); }
.btn-sm.btn-accent { box-shadow: none; }
.btn-ghost { border-color: var(--cream); color: var(--cream); }
.btn-ghost:hover { background: var(--cream); color: var(--black); }

/* Buttons that sit on the gold join card */
.btn-black { background: var(--black); color: var(--cream); }
.btn-black:hover { background: var(--surface-2); }
.btn-outline-black { border-color: var(--black); color: var(--black); }
.btn-outline-black:hover { background: var(--black); color: var(--gold); }

.section { padding: var(--section-pad) 0; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }

.section-title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6.4vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.section-title em { color: var(--gold); font-size: 1.05em; }

.section-lede {
  margin-top: 20px;
  font-size: clamp(18px, 2vw, 21px);
  color: var(--grey);
  max-width: 54ch;
}

/* --- Header --------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 11, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo img { height: 34px; width: auto; }
.logo-text {
  padding-left: 14px;
  border-left: 1px solid var(--line);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav a:not(.btn) {
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  position: relative;
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: var(--surface-2);
  border: 1px solid var(--line);
  width: 48px; height: 48px;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.25s ease;
}
.nav-toggle-bar + .nav-toggle-bar { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

/* --- Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 76px);
  min-height: calc(100svh - 76px);
  display: grid;
  place-items: center;
  padding: clamp(32px, 6vh, 72px) 0 clamp(80px, 11vh, 112px);
  text-align: center;
  background:
    radial-gradient(48% 42% at 50% 46%, rgba(212, 166, 58, 0.16), transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo { margin: clamp(20px, 3vh, 32px) 0 0; }
.hero-logo img {
  /* Sized by both width and height so the whole hero fits on screen */
  width: min(78vw, 460px, 52vh);
  width: min(78vw, 460px, 52svh);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.6));
  animation: dash-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-lede {
  margin-top: clamp(20px, 3.5vh, 36px);
  max-width: 40ch;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--grey);
  text-wrap: balance;
  animation: fade-up 0.8s 0.35s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(24px, 4vh, 36px);
  animation: fade-up 0.8s 0.5s ease both;
}

/* Speed lines, echoing the streaks on the logo */
.hero-speed {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Keep the streaks in the side margins, clear of the logo and text */
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 16%, transparent 30%, transparent 70%, #000 84%, #000 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 16%, transparent 30%, transparent 70%, #000 84%, #000 100%);
}
.hero-speed span {
  position: absolute;
  left: -40%;
  height: 2px;
  width: 38%;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(245, 242, 234, 0.35));
  animation: streak 5s linear infinite;
}
.hero-speed span:nth-child(1) { top: 22%; animation-delay: 0s; }
.hero-speed span:nth-child(2) { top: 38%; width: 26%; animation-delay: 1.6s; animation-duration: 4.2s; }
.hero-speed span:nth-child(3) { top: 57%; width: 44%; animation-delay: 0.7s; animation-duration: 5.6s;
  background: linear-gradient(90deg, transparent, rgba(212, 166, 58, 0.55)); }
.hero-speed span:nth-child(4) { top: 71%; width: 30%; animation-delay: 2.6s; }
.hero-speed span:nth-child(5) { top: 84%; width: 20%; animation-delay: 3.4s; animation-duration: 4.6s;
  background: linear-gradient(90deg, transparent, rgba(212, 166, 58, 0.4)); }

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  translate: -50% 0;
  width: 28px; height: 46px;
  border: 2px solid var(--line);
  border-radius: 999px;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--gold);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes dash-in {
  from { opacity: 0; transform: translateX(-60px) skewX(-8deg); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes streak {
  from { transform: translateX(0); }
  to { transform: translateX(380%); }
}
@keyframes scroll-dot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(16px); opacity: 0; }
}

/* --- Next tournament promo (event ticket) ------------------------------- */

.promo { padding: 0 0 clamp(56px, 8vw, 96px); }

.ticket {
  --notch: 22px;
  position: relative;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(212, 166, 58, 0.14), transparent 55%),
    var(--surface);
  border: 1px solid rgba(212, 166, 58, 0.28);
  text-decoration: none;
  color: var(--cream);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.ticket:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 166, 58, 0.6);
  box-shadow: 0 30px 60px -30px rgba(212, 166, 58, 0.35);
}

/* Gold date stub */
.ticket-stub {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 28px 16px;
  background: var(--gold);
  color: var(--black);
  border-radius: calc(var(--radius) - 1px) 0 0 calc(var(--radius) - 1px);
  text-align: center;
}
.stub-top,
.stub-bottom {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.stub-day {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 84px;
  line-height: 0.85;
  letter-spacing: -0.05em;
}
.stub-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 6px;
}
.stub-top { font-size: 18px; letter-spacing: 0.2em; }
.stub-live {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stub-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--black);
  margin-bottom: 6px;
  animation: stub-pulse 1.4s ease-out infinite;
}
@keyframes stub-pulse {
  0% { box-shadow: 0 0 0 0 rgba(11, 11, 11, 0.55); }
  100% { box-shadow: 0 0 0 12px rgba(11, 11, 11, 0); }
}

/* Perforated tear line with notches cut out of the ticket */
.ticket-stub::after {
  content: "";
  position: absolute;
  top: 18px; bottom: 18px; right: -1px;
  border-right: 2px dashed rgba(11, 11, 11, 0.35);
}
.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  left: calc(200px - var(--notch) / 2);
  width: var(--notch);
  height: var(--notch);
  border-radius: 50%;
  background: var(--black);
  z-index: 1;
}
.ticket::before { top: calc(var(--notch) / -2 - 1px); box-shadow: inset 0 -1px 0 rgba(212, 166, 58, 0.28); }
.ticket::after { bottom: calc(var(--notch) / -2 - 1px); box-shadow: inset 0 1px 0 rgba(212, 166, 58, 0.28); }

/* Main body */
.ticket-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 40px;
  padding: clamp(28px, 3.6vw, 44px) clamp(24px, 3.6vw, 44px) clamp(28px, 3.6vw, 44px) clamp(32px, 4vw, 52px);
}
.promo-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.promo-title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.promo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.promo-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
}
.promo-meta .promo-hot { color: var(--gold); border-color: rgba(212, 166, 58, 0.4); }

.ticket-side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}
.countdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.countdown div {
  min-width: 76px;
  padding: 12px 8px 10px;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  text-align: center;
}
.countdown b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.countdown small {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}
.ticket-actions { display: flex; flex-direction: column; gap: 10px; }
.ticket-actions .btn { justify-content: center; }
.promo-title a { text-decoration: none; }
.promo-title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

@media (max-width: 900px) {
  .ticket-body { grid-template-columns: 1fr; }
}

/* Phones: stub on top, tear line runs across */
@media (max-width: 640px) {
  .ticket { grid-template-columns: 1fr; --notch: 20px; }
  .ticket-stub {
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    padding: 18px 24px;
    border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
    text-align: left;
  }
  .stub-day { font-size: 56px; order: -1; }
  .stub-stack { align-items: flex-start; margin-top: 0; }
  .stub-live { font-size: 34px; }
  .stub-dot { margin: 0; }
  .ticket-stub::after {
    top: auto; bottom: -1px; left: 18px; right: 18px;
    border-right: 0;
    border-bottom: 2px dashed rgba(11, 11, 11, 0.35);
  }
  .ticket::before,
  .ticket::after { left: auto; top: calc(var(--stub-h, 92px) - var(--notch) / 2); bottom: auto; }
  .ticket::before { left: calc(var(--notch) / -2 - 1px); box-shadow: inset -1px 0 0 rgba(212, 166, 58, 0.28); }
  .ticket::after { right: calc(var(--notch) / -2 - 1px); box-shadow: inset 1px 0 0 rgba(212, 166, 58, 0.28); }
  .ticket-body { padding: 26px 22px 24px; }
  .countdown div { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .stub-dot { animation: none; }
  .ticket { transition: none; }
}

/* --- Donate ---------------------------------------------------------------- */

.site-nav .nav-donate { color: var(--gold); }

.donate-section { padding-top: 0; }

.donate-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(32px, 5vw, 64px);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(90% 120% at 0% 100%, rgba(212, 166, 58, 0.16), transparent 60%),
    var(--surface);
  border: 1px solid rgba(212, 166, 58, 0.3);
}
.donate-copy .section-title { margin-top: 14px; }
.donate-blurb {
  margin-top: 18px;
  max-width: 46ch;
  font-size: clamp(18px, 2vw, 21px);
  color: var(--grey);
}

.donate-side { display: flex; flex-direction: column; gap: 16px; }
.donate-progress {
  padding: 24px;
  border-radius: 22px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.donate-raised {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--gold);
}
.donate-of { margin-top: 6px; color: var(--grey); font-size: 16px; }
.donate-bar {
  position: relative;
  height: 14px;
  margin-top: 18px;
  border-radius: 999px;
  background: rgba(245, 242, 234, 0.08);
  overflow: hidden;
}
.donate-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold) 60%, var(--gold-hi));
  min-width: 14px;
  transition: width 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.donate-pct { margin-top: 8px; text-align: right; font-weight: 700; font-size: 14px; color: var(--cream); }
.donate-btn { justify-content: center; }

@media (max-width: 820px) {
  .donate-card { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .donate-card { padding: 28px 22px; }
  .donate-progress { padding: 20px; }
}

/* --- Marquee -------------------------------------------------------------- */

.marquee-wrap { overflow: hidden; padding: 16px 0; }

.marquee {
  background: var(--gold);
  color: var(--black);
  overflow: hidden;
  padding: 22px 0;
  transform: rotate(-1.2deg);
  margin: 0 -40px;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 32px;
  align-items: center;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 40px);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.marquee-track i { font-style: normal; font-size: 0.7em; opacity: 0.55; }

@keyframes marquee { to { transform: translateX(-50%); } }

/* --- What we do (bento) --------------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.tile {
  grid-column: span 2;
  border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 40px);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
.tile:hover { transform: translateY(-4px) rotate(-0.4deg); }
.tile-wide { grid-column: span 3; }

.tile h3 {
  margin-top: auto;
  padding-top: 40px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.tile p { margin-top: 12px; max-width: 42ch; }

.tile-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.tile-icon svg {
  width: 28px; height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile-gold { background: var(--gold); color: var(--black); }
.tile-gold .tile-icon { background: var(--black); color: var(--gold); }
.tile-gold p { color: rgba(11, 11, 11, 0.78); }

.tile-dark { background: var(--surface); border: 1px solid var(--line); }
.tile-dark .tile-icon { background: var(--surface-2); color: var(--gold); }
.tile-dark p { color: var(--grey); }

.tile-cream { background: var(--cream); color: var(--black); }
.tile-cream .tile-icon { background: var(--black); color: var(--cream); }
.tile-cream p { color: rgba(11, 11, 11, 0.72); }

/* --- How it works --------------------------------------------------------- */

.section-dark {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0 clamp(8px, 1.5vw, 16px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.steps li {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--gold);
}
.steps h3 {
  margin-top: 40px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1;
}
.steps p {
  margin-top: 12px;
  color: var(--grey);
  max-width: 30ch;
}

/* --- Impact --------------------------------------------------------------- */

.impact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.impact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.impact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 166, 58, 0.5);
}
.tag {
  align-self: flex-start;
  background: var(--surface-2);
  color: var(--gold);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
}
.impact-card h3 {
  margin-top: 64px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 2.6vw, 32px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.impact-card p { margin-top: 12px; color: var(--grey); }

/* --- Values --------------------------------------------------------------- */

.values-section { padding-top: 0; }

.values-statement {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5.6vw, 72px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  max-width: 20ch;
}
.values-statement em { color: var(--gold); }

.hl {
  padding: 0 0.18em;
  border-radius: 0.3em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hl-gold { background: var(--gold); color: var(--black); }
.hl-cream { background: var(--cream); color: var(--black); }
.hl-dark { background: var(--surface-2); box-shadow: inset 0 0 0 1px rgba(212, 166, 58, 0.45); }

/* --- Team ----------------------------------------------------------------- */

#team { padding-top: 0; }

.founders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.founder {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
}
.avatar-gold { background: var(--gold); color: var(--black); }
.avatar-cream { background: var(--cream); color: var(--black); }
.avatar-dark { background: var(--surface-2); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(212, 166, 58, 0.45); }
.founder h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.founder p { color: var(--grey); font-size: 15px; }

/* --- Join ----------------------------------------------------------------- */

.join { padding: 0 0 clamp(40px, 6vw, 72px); }

.join-card {
  background: var(--gold);
  color: var(--black);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(36px, 7vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 40px 56px;
  align-items: end;
  position: relative;
  overflow: hidden;
}
.join-card::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  right: -140px; top: -180px;
  border-radius: 50%;
  border: 2px solid rgba(11, 11, 11, 0.15);
  box-shadow: 0 0 0 60px rgba(11, 11, 11, 0.04), 0 0 0 120px rgba(11, 11, 11, 0.03);
  pointer-events: none;
}
.join-title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(52px, 9vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.05em;
}
.join-lede {
  margin-top: 24px;
  font-size: clamp(18px, 2vw, 21px);
  max-width: 48ch;
  color: rgba(11, 11, 11, 0.8);
}
.join-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

/* --- Footer --------------------------------------------------------------- */

.site-footer { padding: 32px 0 48px; }

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 40px;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.footer-logo img { width: 150px; height: auto; }
.footer-tag {
  justify-self: end;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.footer-tag em { color: var(--gold); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { display: inline-block; padding: 10px 0; color: var(--grey); text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 4px; }
.footer-copy { justify-self: end; color: var(--grey); font-size: 15px; }

/* --- Reveal on scroll ----------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .hero-speed span, .scroll-cue span,
  .hero-logo img, .hero-lede, .hero-actions { animation: none; }
  .btn, .tile, .impact-card { transition: none; }
}

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 1000px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile, .tile-wide { grid-column: span 1; }
  .impact { grid-template-columns: 1fr; }
  .impact-card h3 { margin-top: 36px; }
  .founders { grid-template-columns: 1fr; max-width: 480px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 76px;
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 12px;
    box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.8);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 16px; font-size: 18px; border-radius: 14px; }
  .site-nav a:not(.btn):hover { background: var(--surface-2); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 8px; padding: 16px; }

  .steps { grid-template-columns: 1fr; gap: 8px; }
  .steps h3 { margin-top: 16px; }
  .join-card { grid-template-columns: 1fr; }
  .join-actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .logo img { height: 28px; }
  .logo-text { display: none; }

  .bento { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .tile h3 { padding-top: 28px; }

  .hero-actions { align-self: stretch; }
  .hero-actions .btn,
  .join-actions .btn { flex: 1 1 100%; }
  .scroll-cue, .hero-speed { display: none; }

  .founder { border-radius: 24px; padding: 16px; }
  .avatar { width: 60px; height: 60px; font-size: 26px; }

  /* Tighter rhythm on phones */
  :root { --section-pad: 72px; --radius: 22px; }
  .section-head { margin-bottom: 32px; }
  .section-dark { margin: 0 8px; padding: 56px 0; }
  .section-dark .container { padding: 0 20px; }
  .steps li { padding-top: 20px; padding-bottom: 12px; }
  .tile { padding: 24px; }
  .tile-icon { width: 52px; height: 52px; }
  .impact-card { padding: 24px; }
  .impact-card h3 { margin-top: 28px; }
  .values-statement { line-height: 1.2; }
  .join { padding-bottom: 24px; }
  .join .container { padding: 0 12px; }
  .join-card { padding: 36px 24px 28px; }
  .join-card::after { width: 300px; height: 300px; right: -160px; top: -140px; }
  .join-lede { margin-top: 18px; }
  .footer-logo img { width: 130px; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-tag, .footer-copy { justify-self: start; }
}
