/* === Spencer Kozej — flagship site === */

:root {
  --bg: #ffffff;
  --fg: #0a0a0a;
  --fg-2: #5c5c5c;
  --fg-3: #8a8a8a;
  --line: #e5e5e5;
  --line-2: #f1f1f1;
  --accent: #0abab5; /* Tiffany Blue, used sparingly */
  --accent-ink: #0a0a0a;
  --max: 1440px;
  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  font-feature-settings: "ss01", "cv11";
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.mono {
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-feature-settings: "tnum", "zero";
  letter-spacing: -0.01em;
}

.display {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.92;
  text-wrap: balance;
}

.eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--fg-2);
  display: inline-block;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 18px;
}
.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.25s ease;
  position: relative;
}
.logo-dot:hover { transform: scale(1.4); }
.logo-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.18;
  filter: blur(8px);
}
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 13px;
  color: var(--fg-2);
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--fg);
  padding: 12px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid var(--accent);
  transition: all 0.2s ease;
}
.nav-cta:hover {
  background: var(--fg);
  color: #fff;
  border-color: var(--fg);
}
.nav-cta .arr { font-family: "JetBrains Mono", monospace; }

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

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 18px 26px;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
  background: transparent;
  color: var(--fg);
}
.btn .arr { font-family: "JetBrains Mono", monospace; font-weight: 500; transition: transform 0.25s ease; }
.btn:hover .arr { transform: translateX(4px); }

.btn-primary {
  background: var(--fg);
  color: #fff;
  border-color: var(--fg);
}
.btn-primary:hover {
  border-color: var(--accent);
}
.btn-secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--fg);
}
.btn-secondary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--fg);
}
.btn-text {
  padding: 0;
  border: 0;
  position: relative;
}
.btn-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.btn-text:hover::after { width: 100%; }

/* ============ SECTION CHROME ============ */
section { padding: clamp(80px, 10vw, 160px) var(--pad); position: relative; }
.section-rule {
  height: 1px;
  background: var(--accent);
  width: 64px;
  margin: 0 auto;
  display: block;
  opacity: 0.9;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 64px;
  align-items: end;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.section-head .sh-meta { color: var(--fg-2); font-size: 13px; }
.section-head h2 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
  font-size: clamp(40px, 6vw, 84px);
  margin: 0;
  text-wrap: balance;
}
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}

/* ============ HERO ============ */
.hero {
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(40px, 5vw, 72px);
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 186, 181, 0.28) 0%, rgba(10, 186, 181, 0) 60%);
  filter: blur(20px);
  right: -120px;
  top: 18%;
  pointer-events: none;
  z-index: 0;
}

.hero-portrait {
  position: absolute;
  right: clamp(-20px, 2vw, 80px);
  /* Anchor TOP (not bottom) — on HD viewports the giant headline pushes the
     hero taller than the viewport, so bottom-anchoring puts Spencer's head
     way down. Top-anchor + viewport-bounded height keeps him in the visible
     fold across HD (1080), 1440, 2K, and 4K. */
  top: clamp(80px, 8vh, 200px);
  height: min(82vh, calc(100vh - clamp(180px, 18vh, 380px)));
  width: auto;
  filter: grayscale(1) contrast(1.06) brightness(1.02);
  z-index: 1;
  pointer-events: none;
  user-select: none;
}
.hero-portrait-line {
  position: absolute;
  right: 0;
  /* Sit at Spencer's feet level (same offset + height formula) */
  top: calc(clamp(80px, 8vh, 200px) + min(82vh, calc(100vh - clamp(180px, 18vh, 380px))));
  width: 32%;
  height: 1px;
  background: var(--accent);
  z-index: 0;
  opacity: 0.85;
}
/* Widescreen 16:9 PC — narrow the headline column so Spencer gets the right half */
@media (min-width: 1500px) {
  .hero-headline { max-width: 56%; }
  .hero-bottom { max-width: 52%; }
}
@media (min-width: 1900px) {
  .hero-portrait { right: clamp(20px, 4vw, 140px); }
  .hero-headline { max-width: 52%; }
  .hero-bottom { max-width: 48%; }
}
@media (max-width: 1100px) {
  .hero-portrait { top: auto; bottom: clamp(132px, 14vh, 172px); height: 62vh; right: -8%; opacity: 0.95; }
  .hero-portrait-line { display: none; }
}
@media (max-width: 820px) {
  .hero-portrait { top: auto; bottom: clamp(132px, 14vh, 172px); height: 48vh; right: -20%; opacity: 0.32; }
}
.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.hero-tagline {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
  max-width: 280px;
}
.hero-tagline span {
  display: block;
  color: var(--fg);
  margin-bottom: 6px;
}
.hero-headline {
  font-family: "Inter Tight", sans-serif;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.86;
  font-size: clamp(64px, 11vw, 200px);
  margin: 0;
  position: relative;
  z-index: 2;
  max-width: 62%;
}
@media (max-width: 820px) { .hero-headline { max-width: 100%; } }
.hero-headline .ital {
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.03em;
}
.hero-headline .accent {
  color: var(--accent);
}
.hero-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  position: relative;
  z-index: 2;
  max-width: 58%;
}
@media (max-width: 1100px) { .hero-bottom { max-width: 64%; } }
@media (max-width: 820px) { .hero-bottom { max-width: 100%; } }
.hero-pos {
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 600px;
  color: var(--fg);
}
.hero-pos .muted { color: var(--fg-2); }
.hero-ctas {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: stretch;
  justify-self: start;
  flex-wrap: wrap;
}
@media (max-width: 540px) { .hero-ctas { flex-direction: column; align-self: stretch; } .hero-ctas .btn { width: 100%; } }
.hero-ctas .btn { justify-content: space-between; }

/* Income ticker */
.ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  margin-top: 24px;
  position: relative;
  z-index: 3;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
}
.ticker-cell {
  padding: 0 24px;
  border-left: 1px solid var(--line);
}
.ticker-cell:first-child { border-left: 0; padding-left: 0; }
.ticker-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.live-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: livepulse 1.4s ease-in-out infinite;
}
@keyframes livepulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.ticker-value {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(20px, 2.6vw, 34px);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.ticker-value .pre { color: var(--fg); margin-right: 4px; }
@media (max-width: 820px) {
  .ticker { grid-template-columns: repeat(2, 1fr); }
  .ticker-cell:nth-child(3) { border-left: 0; padding-left: 0; }
  .ticker-cell:nth-child(3), .ticker-cell:nth-child(4) { padding-top: 16px; }
}

/* ============ AI CHAT ============ */
.ai-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 980px) { .ai-wrap { grid-template-columns: 1fr; } }
.ai-side h2 { margin-top: 0; }
.ai-side .display {
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.0;
  margin: 16px 0 40px;
}
.ai-side p {
  color: var(--fg-2);
  font-size: 16px;
  line-height: 1.6;
  max-width: 460px;
  margin: 0 0 32px;
}
.ai-pill-row { display: flex; gap: 10px; flex-wrap: wrap; }
.ai-pill {
  border: 1px solid var(--line);
  padding: 10px 14px;
  font-size: 12px;
  background: #fff;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
  color: var(--fg);
}
.ai-pill:hover { border-color: var(--fg); }
.ai-pill.accent { color: var(--accent); border-color: var(--accent); }

.ai-chat {
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 540px;
  max-height: 640px;
  background: #fff;
  position: relative;
}
.ai-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.ai-chat-head .left { display: inline-flex; align-items: center; gap: 8px; }
.ai-chat-head .left .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.ai-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px 22px 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
}
.ai-chat-body::-webkit-scrollbar { width: 4px; }
.ai-chat-body::-webkit-scrollbar-thumb { background: var(--line); }

.msg {
  max-width: 84%;
  font-size: 14.5px;
  line-height: 1.55;
  white-space: pre-wrap;
}
.msg.user {
  align-self: flex-end;
  background: var(--fg);
  color: #fff;
  padding: 10px 14px;
}
.msg.bot {
  align-self: flex-start;
  color: var(--fg);
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 14px;
}
.msg.bot .typing-cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--accent);
  vertical-align: -2px;
  margin-left: 2px;
  animation: blink 0.9s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.ai-starters {
  padding: 0 22px 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-2);
  padding-top: 14px;
}
.ai-starter {
  font-size: 12px;
  border: 1px solid var(--line);
  padding: 8px 12px;
  background: #fff;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  color: var(--fg-2);
}
.ai-starter:hover { border-color: var(--fg); color: var(--fg); }
.ai-input-wrap {
  display: flex;
  border-top: 1px solid var(--line);
}
.ai-input {
  flex: 1;
  padding: 18px;
  border: 0;
  font-family: inherit;
  font-size: 14.5px;
  background: transparent;
  outline: none;
  color: var(--fg);
}
.ai-send {
  padding: 0 22px;
  background: var(--fg);
  color: #fff;
  border: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}
.ai-send:hover { background: var(--accent); color: var(--fg); }
.ai-send:disabled { opacity: 0.4; cursor: not-allowed; }

/* ============ STORY ============ */
.story {
  background: #fafafa;
}
.story-headline {
  font-family: "Inter Tight", sans-serif;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.9;
  font-size: clamp(48px, 8.5vw, 132px);
  margin: 0 0 80px;
  max-width: 1100px;
  text-wrap: balance;
}
.story-headline .ital { font-style: italic; font-weight: 300; }
.story-beats {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
}
@media (max-width: 820px) { .story-beats { grid-template-columns: 1fr; } }

.story-beat {
  display: contents;
}
.beat-year {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  padding: 36px 24px 36px 0;
  border-top: 1px solid var(--line);
}
.beat-body {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 980px) { .beat-body { grid-template-columns: 1fr; gap: 24px; } }
.beat-body h3 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: clamp(22px, 2.4vw, 32px);
  margin: 0 0 12px;
  line-height: 1.1;
}
.beat-body p {
  color: var(--fg-2);
  margin: 0;
  max-width: 480px;
  line-height: 1.6;
}
.beat-body p + p { margin-top: 12px; }
.beat-img {
  background: #fff;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
}
.beat-img.color { border: 0; }
@media (max-width: 820px) {
  .beat-year { padding-bottom: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .beat-body { border-top: 0; padding-top: 12px; }
}

.scripture {
  margin-top: 96px;
  border-top: 1px solid var(--line);
  padding-top: 48px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  align-items: start;
}
.scripture .label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.scripture-quote {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.scripture-ref { color: var(--accent); }
@media (max-width: 820px) { .scripture { grid-template-columns: 1fr; gap: 16px; } }

/* ============ YOUTUBE ============ */
.yt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 980px) { .yt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .yt-grid { grid-template-columns: 1fr; } }
.yt-card { cursor: pointer; }
.yt-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: #f1f1f1;
  overflow: hidden;
}
.yt-thumb img, .yt-thumb .placeholder {
  width: 100%;
  height: 100%;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.4s ease, transform 0.6s ease;
}
.yt-card:hover .yt-thumb img,
.yt-card:hover .yt-thumb .placeholder { filter: grayscale(0) contrast(1.05); }
.yt-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.yt-play svg {
  width: 56px;
  height: 56px;
  fill: var(--accent);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}
.yt-card:hover .yt-play { opacity: 1; }
.yt-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  background: rgba(10,10,10,0.85);
  color: #fff;
  padding: 3px 6px;
}
.yt-meta { padding-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.yt-title {
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  position: relative;
  display: inline-block;
}
.yt-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.yt-card:hover .yt-title::after { width: 100%; }
.yt-views {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--fg-2);
}

.section-foot {
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ============ INSTAGRAM ============ */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
@media (max-width: 980px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }
.ig-tile {
  aspect-ratio: 1;
  background: #ededed;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.ig-tile .placeholder, .ig-tile img {
  width: 100%;
  height: 100%;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.5s ease, transform 0.6s ease;
}
.ig-tile.color .placeholder { filter: none; }
.ig-tile:hover .placeholder, .ig-tile:hover img {
  filter: grayscale(0);
  transform: scale(1.04);
}
.ig-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 186, 181, 0.78);
  color: var(--fg);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-wrap: balance;
}
.ig-tile:hover .ig-overlay { opacity: 1; }
.ig-likes {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #fff;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ig-tile:hover .ig-likes { opacity: 1; }

/* ============ SPEAK ============ */
.speak {
  background: #0a0a0a;
  color: #fff;
}
.speak * { border-color: rgba(255,255,255,0.12) !important; }
.speak .section-head { border-top-color: rgba(255,255,255,0.12); }
.speak .section-head h2 { color: #fff; }
.speak .section-head .sh-meta { color: rgba(255,255,255,0.55); }
.speak .eyebrow { color: rgba(255,255,255,0.55); }
.speak .eyebrow::before { background: rgba(255,255,255,0.55); }

.speak-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
}
@media (max-width: 980px) { .speak-grid { grid-template-columns: 1fr; gap: 48px; } }
.speak-info h3 {
  font-family: "Inter Tight", sans-serif;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 32px 0 12px;
  font-weight: 600;
}
.speak-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14.5px;
  color: rgba(255,255,255,0.7);
  line-height: 1.85;
}
.speak-info ul li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 12px 0;
  gap: 24px;
}
.speak-info ul li .where { color: #fff; }
.speak-info ul li .when { font-family: "JetBrains Mono", monospace; font-size: 12px; }
.speak-info .topics-row { display: flex; flex-wrap: wrap; gap: 8px; }
.speak-topic {
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.speak-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.field {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 18px 20px;
}
.field.full { grid-column: 1 / -1; }
.field + .field:not(.full) { border-left: 1px solid rgba(255,255,255,0.15); }
.field label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  background: transparent;
  border: 0;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  padding: 0;
  outline: none;
  resize: none;
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.3); }
.field select option { color: #0a0a0a; }
.speak-submit {
  grid-column: 1 / -1;
  background: var(--accent);
  color: var(--fg);
  border: 0;
  padding: 22px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
  font-weight: 600;
}
.speak-submit:hover { background: #fff; }

/* ============ RESOURCES / COURSE ============ */
.course {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 980px) { .course { grid-template-columns: 1fr; gap: 56px; } }
.course-hero {
  border: 1px solid var(--line);
  padding: 40px;
  position: relative;
}
.course-tag {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent);
  color: var(--fg);
  padding: 8px 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.course-hero h3 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  margin: 16px 0 24px;
  text-wrap: balance;
}
.course-modules {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  border-top: 1px solid var(--line);
}
.course-modules li {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  align-items: center;
}
.course-modules li .num { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--fg-2); }
.course-modules li .len { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--fg-2); }
.course-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--fg);
  padding-top: 20px;
  margin-top: 24px;
}
.course-price .amt {
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: 42px;
  letter-spacing: -0.03em;
}
.course-price .amt .cur { font-size: 22px; vertical-align: top; margin-right: 2px; color: var(--fg-2); }
.course-price .terms { font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--fg-2); }
.course .btn { width: 100%; justify-content: space-between; }

.lead-magnets { display: flex; flex-direction: column; gap: 0; }
.lead-magnets h3 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 22px;
  margin: 0 0 24px;
}
.lead-card {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  align-items: center;
  cursor: pointer;
  transition: padding 0.25s ease;
}
.lead-card:last-of-type { border-bottom: 1px solid var(--line); }
.lead-card:hover { padding-left: 12px; }
.lead-card .icon {
  width: 60px;
  height: 60px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lead-card .icon svg { width: 22px; height: 22px; stroke: var(--fg); }
.lead-card h4 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 4px;
  font-size: 17px;
}
.lead-card p { margin: 0; color: var(--fg-2); font-size: 13.5px; }
.lead-card .arr { font-family: "JetBrains Mono", monospace; color: var(--accent); }
.email-cap {
  margin-top: 32px;
  display: flex;
  border: 1px solid var(--fg);
}
.email-cap input {
  flex: 1;
  border: 0;
  padding: 16px 18px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.email-cap button {
  background: var(--fg);
  color: #fff;
  border: 0;
  padding: 0 22px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ============ MERCH ============ */
.merch-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  margin-bottom: 64px;
}
@media (max-width: 820px) { .merch-hero { grid-template-columns: 1fr; } }
.merch-hero-img {
  aspect-ratio: 4/3;
  background: #0a0a0a;
  position: relative;
  overflow: hidden;
}
.merch-hero-info { padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.merch-hero-info h3 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(28px, 3.4vw, 46px);
  margin: 0;
  line-height: 1.02;
  text-wrap: balance;
}
.merch-hero-info p { color: var(--fg-2); max-width: 360px; margin: 16px 0 0; }
.merch-hero-foot {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.merch-price {
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.025em;
}
.merch-price .cur { font-size: 16px; vertical-align: top; color: var(--fg-2); margin-right: 2px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 24px;
}
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .product-grid { grid-template-columns: 1fr; } }
.product { display: flex; flex-direction: column; cursor: pointer; }
.product-img {
  aspect-ratio: 1;
  background: #f5f5f5;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}
.product-img .placeholder {
  width: 100%; height: 100%;
  transition: transform 0.5s ease;
}
.product:hover .product-img .placeholder { transform: scale(1.04); }
.product-add {
  position: absolute;
  inset: auto 0 0 0;
  background: var(--fg);
  color: #fff;
  border: 0;
  padding: 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transform: translateY(100%);
  transition: transform 0.25s ease, background 0.2s ease;
}
.product:hover .product-add { transform: translateY(0); }
.product-add:hover { background: var(--accent); color: var(--fg); }
.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.product-name {
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.product-price {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--fg);
}
.product-color {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--fg-2);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.product-color .swatch {
  display: inline-block;
  width: 8px; height: 8px;
  background: currentColor;
  margin-right: 6px;
  vertical-align: 0;
}
.product-color.tiff { color: var(--accent); }

/* ============ WALL OF WINS ============ */
.wins {
  background: #fafafa;
  padding-bottom: 80px;
  padding-top: 80px;
}
.wins-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 0 var(--pad) 16px;
  margin: 0 calc(-1 * var(--pad));
  scrollbar-width: thin;
  scroll-snap-type: x mandatory;
}
.wins-track::-webkit-scrollbar { height: 4px; }
.wins-track::-webkit-scrollbar-thumb { background: var(--line); }
.win-card {
  flex: 0 0 320px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-snap-align: start;
}
.win-card .who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.win-avatar {
  width: 36px; height: 36px;
  background: #ededed;
  border-radius: 50%;
}
.win-who-meta { font-size: 13px; line-height: 1.3; }
.win-who-meta .name { font-weight: 600; }
.win-who-meta .tenure { color: var(--fg-2); font-family: "JetBrains Mono", monospace; font-size: 11px; }
.win-msg { font-size: 14px; line-height: 1.5; color: var(--fg); }
.win-figure {
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 36px;
  color: var(--accent);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.win-figure .lbl { font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-2); display: block; margin-bottom: 4px; }

/* ============ FOOTER ============ */
.footer {
  background: #0a0a0a;
  color: #fff;
  padding: 80px var(--pad) 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer .logo { color: #fff; font-size: 22px; }
.footer-tag {
  color: rgba(255,255,255,0.55);
  font-size: 13.5px;
  max-width: 280px;
  line-height: 1.5;
}
.footer-col h5 {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col a { color: rgba(255,255,255,0.85); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--accent); }

.footer-news {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-news p { color: rgba(255,255,255,0.55); font-size: 13.5px; margin: 0; }
.footer-news form {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}
.footer-news input {
  flex: 1;
  background: transparent;
  border: 0;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  padding: 12px 0;
  outline: none;
}
.footer-news input::placeholder { color: rgba(255,255,255,0.3); }
.footer-news button {
  background: transparent;
  border: 0;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}
.socials { display: flex; gap: 14px; margin-top: 8px; }
.socials a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.socials svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  gap: 24px;
  flex-wrap: wrap;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
}
.footer-bottom .cross {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom .cross::before {
  content: "✝";
  font-size: 14px;
  color: var(--accent);
  opacity: 0.7;
}
.footer-disclaimer {
  margin-top: 32px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  max-width: 720px;
  line-height: 1.5;
}

/* ============ PLACEHOLDERS ============ */
.placeholder {
  background:
    repeating-linear-gradient(
      135deg,
      #ededed 0,
      #ededed 1px,
      #f5f5f5 1px,
      #f5f5f5 8px
    );
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.placeholder.dark {
  background:
    repeating-linear-gradient(
      135deg,
      #121212 0,
      #121212 1px,
      #1a1a1a 1px,
      #1a1a1a 8px
    );
  color: #555;
}
.placeholder.tiff {
  background:
    repeating-linear-gradient(
      135deg,
      #0abab5 0,
      #0abab5 1px,
      #6fd8d4 1px,
      #6fd8d4 8px
    );
  color: rgba(10,10,10,0.6);
}

/* === reveal animation === */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* === selection === */
::selection { background: var(--accent); color: var(--fg); }

/* === cart drawer === */
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  background: #fff;
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.cart-head button { background: transparent; border: 0; font-family: inherit; cursor: pointer; }
.cart-body { flex: 1; padding: 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.cart-empty { color: var(--fg-2); font-size: 14px; text-align: center; padding: 40px 0; }
.cart-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line-2); }
.cart-item .placeholder { width: 60px; height: 60px; }
.cart-item .nm { font-weight: 600; font-size: 14px; }
.cart-item .vr { font-size: 12px; color: var(--fg-2); font-family: "JetBrains Mono", monospace; }
.cart-item .pr { font-family: "JetBrains Mono", monospace; font-size: 13px; }
.cart-foot { padding: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.cart-total { display: flex; justify-content: space-between; font-family: "JetBrains Mono", monospace; font-size: 13px; }
.cart-foot .btn { justify-content: space-between; }
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 99;
}
.cart-backdrop.open { opacity: 1; pointer-events: auto; }
