/*
 * STLN — public site.
 *
 * Broadcast front door, not a startup landing page. Two things carry the whole
 * design: a real spinning globe painted on a <canvas>, and a wordmark set large
 * enough to be the loudest object on the screen. Everything else — tagline,
 * schedule, platforms, one CTA — is deliberately small counterpoint.
 *
 * Structure still follows tbpn.com: the landing page is one screen, everything
 * else lives on about.html. Resist adding sections.
 *
 * No build step, no external fonts, no network requests.
 */

/* ---------------------------------------------------------------- tokens */

:root {
  --ink: #0a0a0a;
  --paper: #f7f7f5;
  --signal: #1fbf75;
  --signal-dim: #178f58;

  --bg: #050b08;
  --fg: var(--paper);
  --muted: rgb(247 247 245 / 0.68);
  --faint: rgb(247 247 245 / 0.56);
  --line: rgb(255 255 255 / 0.14);
  --line-strong: rgb(255 255 255 / 0.28);
  --scrim: rgb(3 8 6 / 0.5);
  --scrim-solid: rgb(3 8 6 / 0.82);
  --surface: rgb(255 255 255 / 0.04);

  /* Globe palette. The canvas reads these, so the globe follows the theme.
     Every zero-alpha stop keeps its own hue — canvas gradients interpolate in
     straight (non-premultiplied) sRGB, so fading to `transparent` would drag a
     grey haze through the middle of the ramp. */
  --globe-0: #02120c; /* disc centre and outer edge — the deep end */
  --globe-1: #063724;
  --globe-2: #0d7a4c;
  --globe-3: #2ad489; /* the glowing band, ~88% of the radius */
  --globe-halo: rgb(31 191 117 / 0.2);
  --globe-halo-out: rgb(31 191 117 / 0);
  --globe-limb-in: rgb(1 16 10 / 0);
  --globe-limb-out: rgb(1 16 10 / 0.92);
  --globe-rim: #d8fff0;
  --globe-rim-soft: rgb(150 255 212 / 0.22);
  --globe-line: rgb(180 255 222 / 0.2);
  --globe-ripple: #c9ffe8;
  --globe-ring: rgb(255 255 255 / 0.55);
  --globe-core: #ffffff;
  --globe-core-glow: rgb(150 255 212 / 0.5);
  --globe-core-glow-out: rgb(31 191 117 / 0);
  --veil: 2 6 4;

  /* Earth. Land is the brand green against a near-black ocean, with a hard
     atmospheric ring on the limb — the tbpn.com framing. */
  --earth-ocean-0: #04231a;
  --earth-ocean-1: #02100b;
  --earth-land: #1fbf75;
  --earth-land-edge: rgb(180 255 220 / 0.3);
  --earth-glow: #5cffb0;
  --earth-glow-out: rgb(31 191 117 / 0);
  --earth-terminator: rgb(0 0 0 / 0.55);

  --radius-lg: 16px;

  --step: clamp(1rem, 0.6rem + 1.4vw, 1.5rem);
  --gap-section: clamp(3.5rem, 2rem + 7vw, 7rem);
  --wrap: 62rem;
  --frame: 90rem; /* 1440px — the widest the composition ever gets */

  --dur: 240ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, "Helvetica Neue", sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display",
    "Segoe UI", system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;

  color-scheme: dark;
}


/* ---------------------------------------------------------------- base */

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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* `display` is set on img and canvas below, which would otherwise win over the
   UA stylesheet's [hidden] rule — the globe fallback depends on this. */
[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--signal);
  color: #0a0a0a;
  font-weight: 700;
}
.skip:focus {
  left: 0;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  margin-right: 0.55rem;
  vertical-align: middle;
}

/* ---------------------------------------------------------------- globe */

/*
 * The globe is drawn by createGlobe() in app.js — an orthographic sphere with
 * rotating meridians and ripple rings expanding from a tilted pole. The canvas
 * sits behind everything; .globe-veil holds contrast at the top and bottom
 * edges where the interface actually lives.
 */

.globe-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.globe {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 700ms var(--ease);
}
.globe.is-ready {
  opacity: 1;
}

/* Shown only if the canvas context can't be created. Placed to sit roughly
   where the drawn dome would: wide, centred, apex around the 45% line. */
.globe-fallback {
  position: absolute;
  left: 50%;
  top: 45%;
  width: min(170vw, 190vh);
  height: auto;
  transform: translateX(-50%);
  opacity: 0.9;
  /* The asset has a black background baked in, which would show as a hard
     rectangle against the page. Mask it back down to the sphere itself —
     the ellipse matches where the globe sits inside the 512x430 file. */
  -webkit-mask-image: radial-gradient(
    ellipse 48.5% 57.8% at 50% 59.7%,
    #000 97%,
    rgb(0 0 0 / 0) 100%
  );
  mask-image: radial-gradient(
    ellipse 48.5% 57.8% at 50% 59.7%,
    #000 97%,
    rgb(0 0 0 / 0) 100%
  );
}

.globe-veil {
  position: absolute;
  inset: 0;
  /* Holds contrast where the interface actually sits: the top edge, and the
     bottom third where the schedule line, platform row and CTA land on the
     brightest part of the sphere. */
  background: linear-gradient(
    180deg,
    rgb(var(--veil) / 0.72) 0%,
    rgb(var(--veil) / 0) 20%,
    rgb(var(--veil) / 0) 58%,
    rgb(var(--veil) / 0.5) 74%,
    rgb(var(--veil) / 0.68) 92%,
    rgb(var(--veil) / 0.82) 100%
  );
}

/* ---------------------------------------------------------------- toggle */


/* ---------------------------------------------------------------- landing */

body.landing {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
}

.hero,
.landing-footer {
  position: relative;
  z-index: 1;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(2rem, 6vh, 4rem);
  width: 100%;
  max-width: var(--frame);
  margin: 0 auto;
  padding: clamp(1.25rem, 3.5vh, 2.5rem) var(--step) 0;
}

/* --- wordmark: the loudest thing on the page ------------------------------
   Sized fluidly in CSS, then fitted to the exact container width in JS so it
   runs edge to edge on any platform's font metrics without ever overflowing.
   data-fit is the fraction of the container to fill; data-fit-vh caps the
   result against viewport height so short windows don't get a cropped hero. */
.wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.75rem, 32vw, 20rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  /* Cropped tight to the caps — STLN has no descenders, and the wordmark is
     competing with the globe for vertical space. */
  line-height: 0.74;
  text-align: center;
  text-transform: uppercase;
  /* Tight, not ambient: a wide glow here would reach down and grey out the
     globe's core, which sits just below the baseline. */
  text-shadow: 0 3px 1px rgb(0 0 0 / 0.45), 0 0 16px rgb(2 8 5 / 0.5);
}
:root[data-theme="light"] .wordmark {
  text-shadow: 0 3px 1px rgb(255 255 255 / 0.6), 0 0 16px rgb(255 255 255 / 0.85);
}
.wordmark__text {
  display: inline-block;
  white-space: nowrap;
}

.hero__tagline {
  margin: 0 0 clamp(0.9rem, 2.2vh, 1.6rem);
  font-size: clamp(0.7rem, 1.9vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
  text-indent: 0.34em; /* balance the trailing letterspace */
}

.hero__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.1rem, 2.5vh, 1.75rem);
  padding-bottom: clamp(1.5rem, 4vh, 3rem);
}

.hero__schedule {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  /* Full strength, not muted: this line sits on the brightest part of the
     sphere, and anything dimmer drops under 4.5:1 there. */
  color: var(--fg);
}

/* platform row — the only navigation the landing page has */
.platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 44rem;
}

.platform {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--fg);
  background: var(--scrim-solid);
  border: 1px solid var(--line);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
.platform svg {
  width: 17px;
  height: 17px;
  flex: none;
}
.platform:hover {
  border-color: var(--signal);
  transform: translateY(-2px);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #0a0a0a;
  background: var(--signal);
  border-radius: 999px;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.cta:hover {
  background: var(--signal-dim);
  transform: translateY(-2px);
  box-shadow: 0 0 34px 6px rgb(31 191 117 / 0.28);
}
.cta:active {
  transform: translateY(0);
}
.cta__arrow {
  width: 16px;
  height: 16px;
}
.cta--inline {
  margin-top: 1.75rem;
}

.landing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: var(--frame);
  margin: 0 auto;
  padding: 0 var(--step) clamp(1rem, 3vh, 1.75rem);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------------------------------------------------------------- about */

body.about {
  min-height: 100vh;
}

.about-head {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem var(--step);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}

.about-head__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.about-head__brand img {
  width: 30px;
  height: 30px;
}

/* about hero — same globe treatment, smaller band */
.about-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: clamp(19rem, 46vh, 30rem);
  padding: clamp(2rem, 6vh, 4rem) var(--step) clamp(2rem, 5vh, 3.5rem);
  overflow: hidden;
}
.about-hero .globe-stage {
  position: absolute;
}
.about-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--frame);
  margin: 0 auto;
}
.about-hero .wordmark {
  font-size: clamp(2.75rem, 18vw, 11rem);
}
.about-hero__tagline {
  margin: 0 0 clamp(0.7rem, 1.8vh, 1.2rem);
  font-size: clamp(0.66rem, 1.7vw, 0.86rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
  text-indent: 0.3em;
  color: var(--muted);
}

body.about main {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--step);
}

.section {
  padding-block: var(--gap-section);
  border-bottom: 1px solid var(--line);
}
.section:last-of-type {
  border-bottom: 0;
}

.section--lead {
  padding-top: clamp(2.5rem, 6vh, 4rem);
}

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--signal);
}

.section h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6.5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.section__title {
  margin: 0 0 1.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}

.lead {
  margin: 1.4rem 0 0;
  font-size: clamp(1rem, 2.2vw, 1.14rem);
  color: var(--muted);
  max-width: 62ch;
}
.lead--muted {
  color: var(--faint);
}

.meta-line {
  margin: 2rem 0 0;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

/* placeholder marker — anything wearing this is scaffolding, not fact */
.placeholder {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
  border: 1px dashed currentColor;
  border-radius: 999px;
}

/* hosts */
.hosts {
  display: grid;
  gap: 1.5rem;
}
.host {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.host__photo {
  width: 96px;
  height: 96px;
  flex: none;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--signal);
  overflow: hidden;
}
.host__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.host__body {
  flex: 1 1 18rem;
  min-width: 0;
}
.host__body h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.host__role {
  margin: 0.2rem 0 0.75rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
}
.host__bio {
  margin: 0.35rem 0 0;
  color: var(--muted);
  max-width: 52ch;
}
.host__links {
  margin: 0.9rem 0 0;
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
}
.host__links a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.host__links a:hover {
  color: var(--fg);
  border-color: var(--signal);
}

/* episodes */
.episodes {
  display: grid;
  gap: 0.75rem;
}

.episode {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.episode:hover {
  border-color: var(--signal);
  transform: translateY(-2px);
}
.episode__num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--signal);
  flex: none;
  font-variant-numeric: tabular-nums;
}
.episode__body {
  min-width: 0;
  flex: 1;
}
.episode__title {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.012em;
}
.episode__guest {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.episode__meta {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.episodes__empty {
  padding: 2.5rem 1.25rem;
  text-align: center;
  color: var(--faint);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
}

/* newsletter */
.newsletter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
  max-width: 30rem;
}
.newsletter input {
  flex: 1 1 14rem;
  min-width: 0;
  padding: 0.8rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--fg);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color var(--dur) var(--ease);
}
.newsletter input::placeholder {
  color: var(--faint);
}
.newsletter input:focus-visible {
  border-color: var(--signal);
  outline: none;
  box-shadow: 0 0 0 3px rgb(31 191 117 / 0.22);
}
.newsletter button {
  padding: 0.8rem 1.5rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: var(--signal);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.newsletter button:hover {
  background: var(--signal-dim);
  transform: translateY(-1px);
}
.newsletter__note {
  margin: 0.85rem 0 0;
  min-height: 1.2rem;
  font-size: 0.84rem;
  color: var(--signal);
}
.newsletter__note[data-error="true"] {
  color: #ff8f8f;
}
:root[data-theme="light"] .newsletter__note[data-error="true"] {
  color: #b21f28;
}

/* about footer */
.about-foot {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: var(--gap-section) var(--step) 3rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
.platforms--foot {
  margin-inline: auto;
}
.about-foot .platform {
  background: var(--surface);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: var(--muted);
}
.about-foot .platform:hover {
  color: var(--fg);
}
.about-foot__legal {
  margin: 2rem 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------------------------------------------------------------- motion */

.reveal {
  opacity: 0;
  transform: translateY(14px);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .globe {
    opacity: 1;
  }
}

/* ---------------------------------------------------------------- small screens */

@media (max-width: 26rem) {
  /* Icons only — keeps the platform row to one or two lines at 375px. */
  .platform span {
    display: none;
  }
  .platform {
    padding: 0.65rem;
  }
  .platform svg {
    width: 19px;
    height: 19px;
  }
}
/* ---------------------------------------------------------------- broadcast chrome
 *
 * The tbpn.com landing layout: show name top-left, one horizontal control bar
 * under it, globe filling the bottom. The buttons are deliberately glossy —
 * bevelled highlight, inner shadow, hard rim — because that mid-2000s broadcast
 * hardware look is the whole point of the reference and a flat pill loses it.
 */

body.landing .hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3vh, 2rem);
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 4vw, 3.5rem);
}

.marquee {
  max-width: none;
}

.marquee__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.7vw, 2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--fg);
  text-shadow: 0 2px 18px rgb(0 0 0 / 0.55);
}

.marquee__sub {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.3vw, 1.65rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  /* Cool grey against the white title, as in the reference. */
  color: #93a7b8;
  text-shadow: 0 2px 14px rgb(0 0 0 / 0.5);
}

.controls {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
}

/* The dark slab holding the platform keys. */
.slab {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.8vw, 1.5rem);
  padding: 0.6rem 0.85rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #4a4f55 0%, #2a2e33 18%, #111417 72%, #06080a 100%);
  border: 1px solid rgb(255 255 255 / 0.22);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.35),
    inset 0 -1px 0 rgb(0 0 0 / 0.6),
    0 10px 28px -10px rgb(0 0 0 / 0.85);
}

.slab__label {
  padding: 0.28rem 0.6rem;
  background: #ffffff;
  color: #05070a;
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.9vw, 1.35rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}

.keys {
  display: flex;
  gap: 0.4rem;
}

/* Silver key caps. */
.key {
  display: grid;
  place-items: center;
  width: clamp(2.1rem, 4.6vw, 3.1rem);
  height: clamp(2.1rem, 4.6vw, 3.1rem);
  border-radius: 9px;
  color: #06080a;
  background: linear-gradient(180deg, #ffffff 0%, #e8ecef 45%, #b9c2c9 55%, #f2f5f7 100%);
  border: 1px solid rgb(0 0 0 / 0.55);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.9),
    inset 0 -2px 3px rgb(0 0 0 / 0.28),
    0 2px 6px rgb(0 0 0 / 0.5);
  transition: transform var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.key svg {
  width: 58%;
  height: 58%;
}
.key:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.key:active {
  transform: translateY(1px);
}

/* The green call to action. */
.jewel {
  display: grid;
  place-items: center;
  flex: 1 1 12rem;
  min-height: 3.4rem;
  padding: 0 clamp(1.5rem, 4vw, 3.5rem);
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.4vw, 1.8rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(180deg, #5fe6a8 0%, #24c47c 42%, #0e9257 58%, #37d693 100%);
  border: 1px solid rgb(255 255 255 / 0.5);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.65),
    inset 0 -2px 4px rgb(0 0 0 / 0.3),
    0 10px 30px -10px rgb(31 191 117 / 0.75);
  text-shadow: 0 1px 3px rgb(0 0 0 / 0.35);
  transition: transform var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.jewel:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}
.jewel:active {
  transform: translateY(1px);
}

@media (max-width: 30rem) {
  .slab {
    flex: 1 1 100%;
    justify-content: space-between;
  }
  .jewel {
    flex: 1 1 100%;
  }
}

/* Chrome wordmark — white at the crown falling to steel at the baseline, the
   way a broadcast network mark is lit. background-clip:text needs a solid
   fallback colour first for browsers that ignore it. */
body.landing .marquee .wordmark__text {
  margin: 0 0 0.15em;
  line-height: 0.82;
  letter-spacing: -0.045em;
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 0%, #f2fffa 46%, #a9f2d0 68%, #2fd08c 86%, #1fbf75 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  
  /* text-shadow MUST be none here. The glyphs are transparent (the gradient is
     painted through background-clip:text), so any inherited text-shadow renders
     behind them and shows through the letterforms — which is what was dragging
     the chrome down to charcoal and giving it that embossed look. Separation
     from the globe comes from the drop-shadow on the wrapper instead, which
     silhouettes the mark without bleeding into it. */
  text-shadow: none;
}

/* about: same chrome wordmark treatment as the landing page, in a shorter band */
body.about .about-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 4vw, 3.5rem) clamp(2rem, 5vw, 3.5rem);
}
body.about .about-hero__inner {
  position: relative;
  z-index: 1;
  max-width: none;
}
body.about .about-hero .wordmark__text {
  margin: 0 0 0.1em;
  line-height: 0.82;
  letter-spacing: -0.045em;
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 0%, #f2fffa 46%, #a9f2d0 68%, #2fd08c 86%, #1fbf75 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  
  /* text-shadow MUST be none here. The glyphs are transparent (the gradient is
     painted through background-clip:text), so any inherited text-shadow renders
     behind them and shows through the letterforms — which is what was dragging
     the chrome down to charcoal and giving it that embossed look. Separation
     from the globe comes from the drop-shadow on the wrapper instead, which
     silhouettes the mark without bleeding into it. */
  text-shadow: none;
}
body.about .about-hero .marquee__title { font-size: clamp(1.1rem, 3.2vw, 2.1rem); }
body.about .about-hero .marquee__sub { font-size: clamp(0.85rem, 2vw, 1.2rem); }

/* Section headings in the same broadcast voice as the hero. */
body.about .section__title {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.2vw, 1.35rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--fg);
  text-transform: uppercase;
}
body.about .section h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.controls--foot { justify-content: space-between; }

/* ---------------------------------------------------------------- about body
 * tbpn.com/about is three blocks: a studio still inside a glowing frame, a
 * two-column band, then the newsletter. Short on purpose.
 */

.about-body {
  max-width: 78rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem) clamp(3rem, 8vw, 6rem);
}

/* The green rim is the signature: a hard bright edge with the glow outside it. */
.still {
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
  border: 3px solid var(--signal);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.6), 0 0 60px -6px rgb(31 191 117 / 0.75);
}
.still img {
  width: 100%;
  display: block;
}
.still__placeholder {
  aspect-ratio: 16 / 8;
  display: grid;
  place-content: center;
  gap: 0.5rem;
  text-align: center;
  background: linear-gradient(180deg, #071b13, #030a07);
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.still__placeholder small {
  font-family: var(--font);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--faint);
}

.band {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
}
@media (min-width: 52rem) {
  .band { grid-template-columns: 1fr 1fr; }
}

/* Italic uppercase display, as on the reference. */
.band__title {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.9rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--fg);
}

.band__lead {
  margin: 0 0 1.5rem;
  max-width: 46ch;
  color: var(--muted);
}

.people { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.person { width: min(14rem, 100%); }

/* Halftone-ish green field behind the portrait, like the reference cards. */
.person__photo {
  aspect-ratio: 1 / 1.05;
  display: grid;
  place-items: center;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: #04120c;
  background-color: #12a465;
  background-image: radial-gradient(rgb(255 255 255 / 0.35) 1.2px, transparent 1.3px);
  background-size: 9px 9px;
}
.person__name {
  margin: 0.8rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.person__links { display: flex; gap: 0.9rem; margin: 0; }
.person__links a { color: var(--muted); transition: color var(--dur) var(--ease); }
.person__links a:hover { color: var(--signal); }
.person__links svg { width: 19px; height: 19px; fill: currentColor; }

.jewel--sm {
  display: inline-grid;
  flex: 0 0 auto;
  min-height: 2.9rem;
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  padding: 0 1.6rem;
}

.news {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
}
.news__row { display: grid; gap: 1.5rem; }
@media (min-width: 52rem) {
  .news__row { grid-template-columns: 1fr 1fr; align-items: start; }
}


/* The wrapper casts the separation shadow — the span cannot, because its
   glyphs are transparent. */
body.landing .marquee .wordmark,
body.about .about-hero .wordmark {
  text-shadow: none;
  filter: drop-shadow(0 3px 2px rgb(0 0 0 / 0.55)) drop-shadow(0 0 22px rgb(2 8 5 / 0.6));
}
