/* ============================================================================
   Bitcoin Northern Beaches: "Headland" theme (redesign 2026-11)
   Night-sea ink, sandstone headlands, Bitcoin orange kept for what matters:
   the next meetup and the one action on each screen.
   Class names are preserved so scripts/update-events.js keeps patching
   index.html, events.html and bitcoin-meetup-sydney.html.
   ============================================================================ */

:root {
  --ink: #0e1a2b;          /* night sea */
  --ink-2: #16263b;
  --deep: #163a45;         /* rock pool */
  --foam: #f2f5f3;         /* page */
  --paper: #ffffff;
  --sand: #c9a374;         /* sandstone headland */
  --sand-2: #e8d8bf;
  --sand-3: #f6efe4;
  --orange: #f7931a;       /* bitcoin, used sparingly */
  --orange-ink: #b45f00;   /* orange text on light backgrounds (AA) */

  --text: #0e1a2b;
  --text-2: #44546a;
  --text-3: #7b8796;
  --on-ink: #e9eef2;
  --on-ink-2: #a9b6c4;
  --line: #dde3e2;

  /* legacy aliases used by inline page styles */
  --primary: var(--deep);
  --primary-dark: var(--ink);
  --primary-light: var(--sand-3);
  --accent: var(--orange);
  --accent-hover: #e8850c;
  --accent-light: var(--sand-3);
  --surface: var(--paper);
  --surface-alt: var(--foam);
  --text-secondary: var(--text-2);
  --text-muted: var(--text-3);
  --border: var(--line);
  --border-light: var(--line);

  --display: 'Bricolage Grotesque', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --section-y: clamp(64px, 8vw, 120px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--text);
  background: var(--foam);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2 {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 78%;
  font-variation-settings: "wdth" 78;
  letter-spacing: -0.02em;
  line-height: 0.96;
  text-transform: uppercase;
}
h3, h4, h5 { font-family: var(--body); font-weight: 700; letter-spacing: -0.005em; line-height: 1.25; }
a { color: var(--deep); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--orange-ink); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.muted { color: var(--text-3); }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* Kicker: mono, like a tide-table column head */
.overline {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--deep); margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
}
.overline::before { content: ''; width: 18px; height: 2px; background: var(--sand); }

/* ── NAV ──────────────────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14,26,43,0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,163,116,0.18);
}
nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo {
  display: flex; align-items: center; gap: 10px; color: var(--on-ink);
  font-family: var(--display); font-weight: 800; font-size: 1.05rem;
  font-variation-settings: "wdth" 80; text-transform: uppercase; letter-spacing: 0.01em;
}
.nav-logo:hover { color: #fff; }
.nav-logo img { width: 34px; height: 34px; border-radius: 50%; background: #fff; }
.nav-links { display: flex; gap: 2px; list-style: none; align-items: center; }
.nav-links a {
  display: block; padding: 8px 12px;
  font-size: 0.9rem; font-weight: 600; color: var(--on-ink-2);
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; border-bottom-color: var(--orange); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--on-ink); border-radius: 2px; }

/* ── HERO ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--on-ink);
  padding: clamp(40px, 6vw, 88px) 0 clamp(130px, 13vw, 200px);
}
/* the beach photo, pushed back into the night sea */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url('/images/hero-bg.jpg') center 40%/cover no-repeat;
  opacity: 0.16; filter: grayscale(1) contrast(1.1);
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-kicker {
  font-family: var(--mono); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--sand);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(3.6rem, 10.5vw, 8.4rem);
  line-height: 0.88; letter-spacing: -0.005em;
  color: #fff; margin-bottom: 28px;
}
.hero h1 .grad { color: var(--orange); }
.hero h1 .outline { color: var(--sand); }
.hero .tagline {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6;
  color: var(--on-ink-2); max-width: 30em; margin-bottom: 30px;
}
.hero-aside { position: relative; width: 100%; display: flex; justify-content: center; }

/* Sponsor line: sits under the intro like a credit */
.hero-sponsor {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px;
  padding-top: 18px; border-top: 1px solid rgba(201,163,116,0.28);
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--on-ink-2); max-width: 30rem;
}
.hero-sponsor a {
  font-family: var(--body); font-size: 1rem; letter-spacing: 0; text-transform: none;
  font-weight: 700; color: #fff;
  border-bottom: 2px solid var(--sand); padding-bottom: 1px;
}
.hero-sponsor a:hover { color: var(--sand-2); }

/* Headland: layered sandstone cliffs where the hero meets the page */
.headland {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1;
  width: 100%; height: clamp(90px, 11vw, 160px); display: block;
}

/* ── THE TICKET (signature) ───────────────────────────────────────────── */
.hero-card {
  --notch: 14px;
  position: relative; width: 100%; max-width: 430px;
  background: var(--sand-3); color: var(--ink);
  border-radius: var(--r-lg);
  padding: 30px 30px 0;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.6), 0 2px 0 rgba(255,255,255,0.4) inset;
  transform: rotate(-2.2deg);
}
.hero-card .label {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--deep);
  padding-bottom: 14px; margin-bottom: 18px;
  border-bottom: 1.5px solid var(--ink);
}
.hero-card h3 {
  font-family: var(--display); font-weight: 800;
  font-variation-settings: "wdth" 80; text-transform: uppercase;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.05;
  letter-spacing: -0.01em; color: var(--ink); margin-bottom: 10px;
}
/* the weekday is the headline of the ticket */
.hero-card h3::first-line { font-size: 2.35em; color: var(--orange-ink); letter-spacing: -0.02em; }
.hero-card .hero-time {
  font-family: var(--mono); font-size: 0.95rem; font-weight: 700;
  color: var(--ink); margin-bottom: 18px;
}
.hero-detail {
  display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start;
  padding: 9px 0; border-top: 1px dashed rgba(14,26,43,0.22);
  font-size: 0.93rem; color: var(--ink);
}
.hero-detail .icon { font-size: 0; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; border: 2px solid var(--sand); }
.hero-detail:first-of-type .icon { background: var(--orange); border-color: var(--orange); }
.hero-detail strong { font-weight: 700; }
.hero-card-cta {
  position: relative; margin: 22px -30px 0; padding: 24px 30px 26px;
  border-top: 2px dashed rgba(14,26,43,0.35);
  background: var(--sand-2); border-radius: 0 0 var(--r-lg) var(--r-lg);
  text-align: center;
}
/* notches punched where the stub tears off */
.hero-card-cta::before, .hero-card-cta::after {
  content: ''; position: absolute; top: calc(-1 * var(--notch) - 1px);
  width: calc(var(--notch) * 2); height: calc(var(--notch) * 2);
  border-radius: 50%; background: var(--ink);
}
.hero-card-cta::before { left: calc(-1 * var(--notch)); }
.hero-card-cta::after { right: calc(-1 * var(--notch)); }
.hero-card-cta .btn-primary { width: 100%; }
.hero-card-cta .rsvp-note {
  margin-top: 10px; font-family: var(--mono); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--deep);
}
.hero-card-sublink { margin-top: 14px; text-align: center; font-size: 0.9rem; }

/* Rubber stamp over the ticket corner */
.ticket-stamp {
  position: absolute; z-index: 3; top: -18px; right: max(0px, calc(50% - 250px));
  width: 112px; height: 112px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--mono); font-size: 0.68rem; font-weight: 700; line-height: 1.3;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--orange); border: 3px solid var(--orange);
  box-shadow: 0 0 0 4px var(--ink), inset 0 0 0 4px var(--ink), inset 0 0 0 6px var(--orange);
  background: var(--ink);
  transform: rotate(12deg);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-card { animation: ticket-in 0.9s var(--ease) 0.1s both; }
  .ticket-stamp { animation: stamp-in 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) 0.85s both; }
  .hero h1, .hero .tagline, .hero-kicker, .hero-sponsor { animation: rise 0.7s var(--ease) both; }
  .hero .tagline { animation-delay: 0.08s; }
  .hero-sponsor { animation-delay: 0.16s; }
  @keyframes ticket-in {
    from { opacity: 0; transform: translateY(60px) rotate(6deg); }
    to   { opacity: 1; transform: translateY(0) rotate(-2.2deg); }
  }
  @keyframes stamp-in {
    from { opacity: 0; transform: scale(1.8) rotate(-8deg); }
    to   { opacity: 1; transform: scale(1) rotate(12deg); }
  }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* ── BUTTONS ──────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block; padding: 15px 30px;
  background: var(--orange); color: var(--ink);
  font-family: var(--body); font-weight: 800; font-size: 1rem;
  border-radius: var(--r-sm); border: none; cursor: pointer;
  box-shadow: 0 4px 0 #b86a0c;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.2s;
}
.btn-primary:hover { color: var(--ink); background: #ffa53a; transform: translateY(-2px); box-shadow: 0 6px 0 #b86a0c; }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 #b86a0c; }
.btn-outline {
  display: inline-block; padding: 8px 16px;
  border: 1.5px solid var(--ink); border-radius: var(--r-sm);
  font-size: 0.85rem; font-weight: 700; color: var(--ink);
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-accent {
  display: inline-block; padding: 11px 22px;
  background: var(--ink); color: #fff; border-radius: var(--r-sm);
  font-weight: 700; font-size: 0.9rem; transition: background 0.2s;
}
.btn-accent:hover { background: var(--deep); color: #fff; }

/* ── INNER PAGE HERO ──────────────────────────────────────────────────── */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--on-ink);
  padding: clamp(44px, 6vw, 76px) 0 clamp(84px, 9vw, 124px);
}
.page-hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(60px, 8vw, 110px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 110' preserveAspectRatio='none'%3E%3Cpath fill='%23c9a374' d='M0 70 L120 52 L210 60 L330 28 L420 34 L520 62 L700 66 L820 40 L900 44 L1010 18 L1090 24 L1200 58 L1330 62 L1440 48 L1440 110 L0 110Z'/%3E%3Cpath fill='%23f2f5f3' d='M0 92 L160 84 L300 90 L460 78 L640 92 L820 84 L980 92 L1160 80 L1300 90 L1440 84 L1440 110 L0 110Z'/%3E%3C/svg%3E") bottom/100% 100% no-repeat;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .overline { color: var(--sand); }
.page-hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); color: #fff; margin-bottom: 14px; max-width: 20ch; }
.page-hero p { font-size: 1.1rem; color: var(--on-ink-2); max-width: 36em; }

/* ── SECTIONS ─────────────────────────────────────────────────────────── */
section { padding: var(--section-y) 0; }
.section-header { margin-bottom: 44px; max-width: 760px; }
.section-header h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--ink); margin-bottom: 14px; }
.section-header p { font-size: 1.05rem; color: var(--text-2); max-width: 36em; }

/* ── ABOUT ────────────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-text h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); color: var(--ink); margin-bottom: 22px; }
.about-text p { color: var(--text-2); margin-bottom: 14px; max-width: 34em; }
.about-photo {
  position: relative; border-radius: var(--r-md);
  box-shadow: 14px 14px 0 var(--sand);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-md); }

/* Hosts */
.hosts-divider { border: none; border-top: 1.5px solid var(--ink); margin: clamp(64px, 8vw, 104px) 0 36px; }
.hosts-inline-header { margin-bottom: 36px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.hosts-inline-header .overline { width: 100%; margin-bottom: 0; }
.hosts-inline-header h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--ink); }
.hosts-inline-header p { color: var(--text-2); }
.hosts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.host-card {
  display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: start;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 28px;
}
.host-avatar { grid-row: span 3; width: 120px; height: 120px; border-radius: var(--r-md); object-fit: cover; filter: saturate(0.9); }
.host-card h3 { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 80; text-transform: uppercase; font-size: 1.55rem; line-height: 1; color: var(--ink); }
.host-card p { font-size: 0.95rem; color: var(--text-2); line-height: 1.65; }
.host-links { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── EVENTS: each card is a ticket stub ───────────────────────────────── */
.events-section, .next-event-section { background: var(--sand-3); }
.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.event-card {
  position: relative; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 24px 24px 22px 28px;
  border-left: 8px solid var(--sand);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.event-card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(14,26,43,0.4); }
.event-card.highlight { border-left-color: var(--orange); background: var(--paper); }
.event-badge {
  display: inline-block; padding: 4px 10px; border-radius: 4px;
  background: var(--ink); color: var(--orange);
  font-family: var(--mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 12px;
}
.event-date {
  font-family: var(--mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--deep); margin-bottom: 10px;
  padding-bottom: 10px; border-bottom: 1px dashed var(--line);
}
.event-card.highlight .event-date { color: var(--orange-ink); }
.event-card h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: 8px; }
.event-card .venue { font-weight: 700; color: var(--ink); font-size: 0.95rem; margin-bottom: 2px; }
.event-card .address { font-size: 0.88rem; color: var(--text-3); margin-bottom: 8px; }
.event-card .desc { font-size: 0.92rem; color: var(--text-2); line-height: 1.6; }
.events-footer, .next-event-cta { margin-top: 32px; }
.events-footer a, .next-event-cta a { font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--sand); }
.next-event-wrap { max-width: 620px; }
.next-event-wrap .event-card { border-left-color: var(--orange); }

/* ── LEARN ────────────────────────────────────────────────────────────── */
.edu-sub, .res-sub { margin-bottom: 64px; }
.edu-sub:last-child, .res-sub:last-child { margin-bottom: 0; }
.edu-sub h3, .res-sub h3 {
  font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 80;
  text-transform: uppercase; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1;
  color: var(--ink); margin-bottom: 24px; padding-bottom: 12px;
  border-bottom: 1.5px solid var(--ink);
}
.video-grid, .course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.video-card, .course-card, .tool-card {
  display: block; color: inherit; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
}
.video-card:hover, .course-card:hover, .tool-card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(14,26,43,0.4); border-color: var(--sand); color: inherit; }
.video-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute; left: 16px; bottom: 16px; z-index: 1;
  width: 48px; height: 48px; border-radius: 50%; background: var(--orange);
  display: flex; align-items: center; justify-content: center;
}
.video-play::after {
  content: ''; border-style: solid; border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent var(--ink); margin-left: 3px;
}
.video-info { padding: 18px 20px 20px; }
.video-info h4 { font-size: 1.05rem; color: var(--ink); margin-bottom: 4px; }
.video-info .author { font-family: var(--mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--deep); margin-bottom: 8px; }
.video-info p { font-size: 0.92rem; color: var(--text-2); }
.course-card img { width: 100%; object-fit: cover; }
.course-card span { display: block; padding: 14px 18px; font-weight: 700; color: var(--ink); }

.book-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.book-card { color: inherit; display: block; }
.book-card img {
  width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 3px 8px 8px 3px;
  margin-bottom: 14px; box-shadow: 8px 8px 0 var(--sand-2);
  transition: transform 0.2s var(--ease);
}
.book-card:hover img { transform: translate(-3px, -3px); }
.book-card h4 { font-size: 0.98rem; color: var(--ink); margin-bottom: 3px; }
.book-card .author { font-family: var(--mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--deep); margin-bottom: 6px; }
.book-card p { font-size: 0.86rem; color: var(--text-3); line-height: 1.5; }

.podcast-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.podcast-card { display: block; color: inherit; }
.podcast-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); margin-bottom: 10px; transition: transform 0.2s var(--ease); }
.podcast-card:hover img { transform: translateY(-3px); }
.podcast-card span { font-size: 0.88rem; font-weight: 600; color: var(--text-2); line-height: 1.35; display: block; }

/* ── RESOURCES / CHAMBER ──────────────────────────────────────────────── */
.resources-section { background: var(--sand-3); }
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logo-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.merchant-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logo-card, .merchant-card {
  display: block; color: inherit; text-align: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 24px 16px;
  transition: transform 0.2s var(--ease), border-color 0.2s;
}
.logo-card:hover, .merchant-card:hover { transform: translateY(-3px); border-color: var(--ink); color: inherit; }
.logo-card img, .merchant-card img { height: 64px; width: auto; object-fit: contain; margin: 0 auto 12px; }
.logo-card span { font-size: 0.88rem; font-weight: 600; color: var(--text-2); }
.merchant-card h4 { font-size: 0.95rem; color: var(--ink); margin-bottom: 3px; }
.merchant-card span { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.tool-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.tool-card span { display: block; padding: 13px 15px; font-size: 0.9rem; font-weight: 700; color: var(--ink); }

/* ── GET INVOLVED ─────────────────────────────────────────────────────── */
.cta-section { background: var(--deep); color: var(--on-ink); }
.cta-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.cta-text .overline { color: var(--sand); }
.cta-text h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); color: #fff; margin-bottom: 18px; }
.cta-text p { color: var(--on-ink-2); margin-bottom: 28px; max-width: 32em; }
.cta-partners { display: flex; flex-direction: column; gap: 14px; }
.cta-partner-card {
  display: flex; align-items: center; gap: 18px; color: inherit;
  padding: 20px 22px; border-radius: var(--r-md);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(201,163,116,0.3);
  transition: background 0.2s, border-color 0.2s;
}
.cta-partner-card:hover { background: rgba(255,255,255,0.1); border-color: var(--sand); color: inherit; }
.cta-partner-icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.cta-partner-card img { height: 30px; width: auto; }
.cta-partner-body { flex: 1; min-width: 0; }
.cta-partner-card h4 { font-size: 1.02rem; color: #fff; margin-bottom: 2px; }
.cta-partner-card p { font-size: 0.9rem; color: var(--on-ink-2); }
.cta-partner-arrow { color: var(--sand); font-size: 1.2rem; font-weight: 700; transition: transform 0.2s var(--ease); }
.cta-partner-card:hover .cta-partner-arrow { transform: translateX(4px); }

/* ── FOOTER ───────────────────────────────────────────────────────────── */
footer { background: var(--ink); color: var(--on-ink-2); }
.footer-top { background: var(--sand); padding: 44px 0; }
.footer-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.footer-top-inner h3 {
  font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 80;
  text-transform: uppercase; font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1; color: var(--ink); max-width: 18ch;
}
.footer-main { padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 50%; background: #fff; }
.footer-brand span { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 80; text-transform: uppercase; font-size: 1.15rem; color: #fff; }
.footer-main p { font-size: 0.92rem; line-height: 1.65; max-width: 360px; }
.footer-partners { display: flex; gap: 14px; align-items: center; margin-top: 20px; }
.footer-partners a img { height: 32px; width: auto; border-radius: 6px; opacity: 0.85; }
.footer-partners a img.logo-tall { height: auto; width: 22px; }
.footer-partners a:hover img { opacity: 1; }
footer h4 { font-family: var(--mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand); margin-bottom: 14px; }
footer ul { list-style: none; }
footer li { margin-bottom: 8px; }
footer ul a { font-size: 0.92rem; color: var(--on-ink-2); }
footer ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(201,163,116,0.22); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--text-3);
}
.footer-bottom a { color: var(--text-3); }
.footer-bottom a:hover { color: #fff; }

/* ── SCROLL REVEAL (subtle; content is visible without support) ───────── */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .section-header, .about-grid, .hosts-grid, .events-grid, .edu-sub, .res-sub, .merchant-grid, .cta-inner {
      animation: reveal-up both linear; animation-timeline: view(); animation-range: entry 0% cover 18%;
    }
    @keyframes reveal-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ── RESPONSIVE ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-aside { padding-top: 24px; }
  .ticket-stamp { right: 8px; top: 4px; width: 96px; height: 96px; font-size: 0.6rem; }
  .about-grid, .cta-inner { grid-template-columns: 1fr; }
  .hosts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  body { font-size: 1rem; }
  .hamburger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 22px 16px;
    background: var(--ink); border-bottom: 1px solid rgba(201,163,116,0.25);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 1rem; }
  .nav-links a.active { border-bottom-color: var(--orange); }
  .hero-card { transform: rotate(-1deg); }
  .events-grid, .video-grid, .course-grid { grid-template-columns: 1fr; }
  .book-grid { grid-template-columns: repeat(2, 1fr); }
  .podcast-grid { grid-template-columns: repeat(3, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .merchant-grid, .logo-grid, .logo-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .about-photo { box-shadow: 8px 8px 0 var(--sand); }
}
@media (max-width: 520px) {
  .host-card { grid-template-columns: 1fr; }
  .host-avatar { grid-row: auto; width: 96px; height: 96px; }
  .hero-card { padding: 24px 22px 0; }
  .hero-card-cta { margin: 20px -22px 0; padding: 22px; }
  .hero-card h3::first-line { font-size: 2.1em; }
}
