/* ==========================================================================
   ونيس — Wanees podcast landing page
   Brand palette (from the brand PDF): blue #003399 · peach #FFEADC · black · white
   Type: Markazi Text (display) + IBM Plex Sans Arabic (text & UI)
   ========================================================================== */

:root {
  --blue: #003399;
  --blue-700: #002b85;
  --blue-900: #001a52;
  --blue-300: #7c9be0;
  --peach: #ffeadc;
  --peach-deep: #f7c6a3;
  --paper: #fff7f1;
  --white: #ffffff;
  --black: #0b0b0b;
  --ink: #0f1a3d;
  --ink-soft: #46506f;
  --line: rgb(0 51 153 / 0.14);
  --line-strong: rgb(0 51 153 / 0.28);

  --font-display: "Markazi Text", "Amiri", "Noto Naskh Arabic", "Times New Roman", serif;
  --font-body: "IBM Plex Sans Arabic", "Segoe UI", "Geeza Pro", Tahoma, Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(80px, 11vw, 150px);
  --header-h: 72px;
  --radius: 20px;
  --radius-lg: clamp(20px, 2.6vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--peach);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.95;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
@media (min-width: 768px) {
  body { font-size: 1.125rem; }
}

h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .35em; }
strong { font-weight: 600; }
em { font-style: normal; }

::selection { background: var(--blue); color: var(--peach); }
.on-blue ::selection { background: var(--peach); color: var(--blue); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.on-blue :focus-visible { outline-color: var(--peach); }

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

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

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.nw { white-space: nowrap; }

/* on wider screens, keeps a phrase together so line breaks fall between phrases */
@media (min-width: 768px) {
  .ph { display: inline-block; }
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 54px;
  padding: 0 1.6em;
  border-radius: 999px;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  transition: transform .3s var(--ease), background-color .3s, box-shadow .3s, color .3s;
}
.btn-sm { min-height: 44px; padding: 0 1.15em; font-size: .9375rem; }
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .3s var(--ease); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 14px 28px -16px rgb(0 51 153 / .85);
}
.btn-primary:hover { background: var(--blue-700); transform: translateY(-2px); }
.btn-primary:hover .icon { transform: translateX(-3px); }
.header-cta:hover .icon { transform: none; }

.btn-ghost {
  color: var(--blue);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn-ghost:hover { background: rgb(0 51 153 / .05); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn:active { transform: translateY(0); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 234 220 / .86);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  backdrop-filter: saturate(1.3) blur(14px);
  transition: box-shadow .3s;
}
.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgb(0 26 82 / .45);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  height: var(--header-h);
}

.brand { flex: none; color: var(--blue); border-radius: 8px; }
.brand svg { width: clamp(92px, 9vw, 116px); height: auto; fill: currentColor; }

.site-nav { margin-inline-start: auto; }
.site-nav ul { display: flex; gap: 2px; }
.site-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  transition: color .2s, background-color .2s;
}
.site-nav a:hover { color: var(--blue); background: rgb(0 51 153 / .06); }
.site-nav a.is-active { color: var(--blue); background: rgb(0 51 153 / .1); }

.nav-toggle { display: none; }

@media (max-width: 960px) {
  .header-cta { margin-inline-start: auto; }

  /* the menu button needs main.js, so it only appears once the script is running */
  .js .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgb(0 51 153 / .08);
    color: var(--blue);
    cursor: pointer;
  }
  .nav-toggle .icon { width: 22px; height: 22px; }
  .nav-toggle .icon-close,
  .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    margin: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--peach);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgb(0 26 82 / .5);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 12px 14px; border-radius: 14px; font-size: 1.0625rem; }
}

@media (max-width: 380px) {
  .header-cta .icon { display: none; }
}

/* ---------- Shared section pieces ---------- */
.section { position: relative; padding-block: var(--section-y); }
.on-blue { background: var(--blue); color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font: 600 .9375rem/1.6 var(--font-body);
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: .7;
}
.on-blue .eyebrow { color: var(--peach); }

.h2 {
  margin-top: 12px;
  color: var(--blue);
  font: 700 clamp(2.375rem, 1.4rem + 3.8vw, 4.5rem)/1.25 var(--font-display);
  text-wrap: balance;
}
.on-blue .h2 { color: var(--white); }

.section-head { max-width: 880px; }
.section-head--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-inline: auto;
  text-align: center;
}

.section-lead {
  margin-top: 18px;
  color: var(--ink);
  font: 500 clamp(1.5rem, 1.15rem + 1.3vw, 2.125rem)/1.6 var(--font-display);
  text-wrap: pretty;
}
.on-blue .section-lead { color: rgb(255 255 255 / .92); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding-top: clamp(36px, 6vw, 80px);
  text-align: center;
}

.hero-watermark {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  color: var(--blue);
}
.hero-watermark svg {
  position: absolute;
  top: 30%;
  left: 50%;
  width: max(1600px, 150vw);
  max-width: none;
  transform: translateX(-46%);
  opacity: .045;
  fill: currentColor;
}

.hero-inner { display: flex; flex-direction: column; align-items: center; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 14px;
  border-radius: 999px;
  background: rgb(0 51 153 / .07);
  color: var(--blue);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.6;
}

.wave { display: inline-flex; align-items: center; gap: 2.5px; height: 14px; }
.wave i {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: currentColor;
  transform: scaleY(var(--s, .6));
}
.wave i:nth-child(1) { --s: .45; }
.wave i:nth-child(2) { --s: .9; }
.wave i:nth-child(3) { --s: .6; }
.wave i:nth-child(4) { --s: 1; }
.wave i:nth-child(5) { --s: .4; }
@media (prefers-reduced-motion: no-preference) {
  .wave i { animation: wave 1.3s ease-in-out infinite; }
  .wave i:nth-child(2) { animation-delay: -.9s; }
  .wave i:nth-child(3) { animation-delay: -.4s; }
  .wave i:nth-child(4) { animation-delay: -1.1s; }
  .wave i:nth-child(5) { animation-delay: -.6s; }
}
@keyframes wave {
  0%, 100% { transform: scaleY(.3); }
  50% { transform: scaleY(1); }
}

.hero-logo { margin-top: clamp(22px, 3vw, 34px); color: var(--blue); }
.hero-logo svg { width: clamp(250px, 46vw, 560px); height: auto; fill: currentColor; }

.hero-tagline {
  max-width: 860px;
  margin-top: clamp(22px, 3vw, 36px);
  color: var(--blue);
  font: 700 clamp(1.875rem, 1.1rem + 2.7vw, 3.25rem)/1.4 var(--font-display);
  text-wrap: balance;
}

.hero-sub {
  max-width: 660px;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.3125rem);
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 40px);
}

.hero-figure { position: relative; margin-top: clamp(48px, 6vw, 80px); }
.hero-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: #b0a8a2;
  box-shadow: 0 50px 90px -50px rgb(0 26 82 / .55);
}

.hero-caption {
  position: absolute;
  bottom: clamp(12px, 2.4vw, 28px);
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgb(255 234 220 / .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px -14px rgb(0 26 82 / .5);
  color: var(--blue);
  font-size: clamp(.8125rem, .75rem + .3vw, .9375rem);
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  transform: translateX(-50%);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-eyebrow, .hero-logo, .hero-tagline, .hero-sub, .hero-actions, .hero-figure {
    animation: rise 1s var(--ease) both;
  }
  .hero-logo { animation-name: rise-logo; animation-delay: .08s; }
  .hero-tagline { animation-delay: .2s; }
  .hero-sub { animation-delay: .28s; }
  .hero-actions { animation-delay: .36s; }
  .hero-figure { animation-delay: .46s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes rise-logo { from { opacity: 0; transform: translateY(10px) scale(.96); } }

/* ---------- About ---------- */
.about { padding-top: clamp(72px, 9vw, 128px); }

.about-lead {
  max-width: 1000px;
  margin-top: 18px;
  color: var(--ink);
  font: 500 clamp(1.75rem, 1.15rem + 2.3vw, 3rem)/1.55 var(--font-display);
  text-wrap: balance;
}
.about-lead strong { color: var(--blue); font-weight: 700; }

.about-cols {
  display: grid;
  gap: 18px 56px;
  max-width: 1000px;
  margin-top: clamp(28px, 4vw, 44px);
  color: var(--ink-soft);
}
@media (min-width: 800px) {
  .about-cols { grid-template-columns: 1fr 1fr; }
}

.belief {
  margin-top: clamp(56px, 8vw, 104px);
  padding-block: clamp(30px, 4vw, 48px);
  border-block: 1px solid var(--line-strong);
  text-align: center;
}
.belief p {
  max-width: 920px;
  margin-inline: auto;
  color: var(--blue);
  font: 700 clamp(1.875rem, 1.2rem + 2.7vw, 3.5rem)/1.45 var(--font-display);
  text-wrap: balance;
}

/* ---------- Story ---------- */
.story { background: var(--paper); }

.story-grid { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .story-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 88px;
    align-items: start;
  }
  .story-head { position: sticky; top: calc(var(--header-h) + 48px); }
}

.story-opening {
  margin-top: 22px;
  color: var(--ink);
  font: 600 clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem)/1.5 var(--font-display);
  text-wrap: balance;
}

.prose > * + * { margin-top: 1.1em; }
.story-body { color: var(--ink-soft); }

.pull-quote {
  position: relative;
  margin-block: 1.8em;
  padding: clamp(24px, 3vw, 36px);
  padding-inline-start: clamp(38px, 4.6vw, 60px);
  border-radius: var(--radius);
  background: var(--peach);
}
.prose > .pull-quote { margin-top: 1.8em; }
.pull-quote::before {
  content: "";
  position: absolute;
  inset-block: clamp(24px, 3vw, 36px);
  inset-inline-start: clamp(16px, 2vw, 24px);
  width: 4px;
  border-radius: 4px;
  background: var(--blue);
}
.pull-quote p {
  color: var(--blue);
  font: 600 clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem)/1.6 var(--font-display);
}

.story-birth {
  color: var(--blue);
  font: 700 clamp(1.625rem, 1.25rem + 1.4vw, 2.375rem)/1.5 var(--font-display);
}

.prose > .two-to-many { margin-top: 2.2em; }
.two-to-many { padding-top: 28px; border-top: 1px solid var(--line); }
.two-to-many svg { width: min(360px, 100%); height: auto; }
.ttm-line { fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-dasharray: 3 6; opacity: .45; }
.ttm-two { fill: var(--blue); }
.ttm-many circle { fill: var(--blue); opacity: .55; }
.ttm-many circle:nth-child(3n) { fill: var(--peach-deep); opacity: 1; }
.ttm-many circle:nth-child(3n + 1) { opacity: .85; }
.two-to-many p {
  margin-top: 18px;
  color: var(--ink);
  font: 600 clamp(1.375rem, 1.1rem + 1vw, 1.875rem)/1.6 var(--font-display);
}
.two-to-many p span { color: var(--blue); }

/* ---------- Library ---------- */
.library .section-lead { max-width: 840px; }

.shelf-wrap { position: relative; margin-top: clamp(56px, 8vw, 104px); }

.shelf {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(3px, .7vw, 10px);
  height: clamp(200px, 27vw, 340px);
  padding-inline: clamp(4px, 3vw, 40px);
}
.shelf::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -14px;
  height: 14px;
  border-radius: 3px;
  background: linear-gradient(var(--peach), #efcdb6);
  box-shadow: 0 22px 34px -14px rgb(0 0 0 / .5);
}

.book {
  --w: 60px;
  --h: 90%;
  --bg: var(--peach);
  --fg: var(--blue);
  position: relative;
  flex: 0 1 auto;
  display: grid;
  place-items: center;
  width: var(--w);
  min-width: 0;
  height: var(--h);
  overflow: hidden;
  border-radius: 5px 5px 2px 2px;
  background: var(--bg);
  color: var(--fg);
  box-shadow: inset 8px 0 12px -10px rgb(0 0 0 / .45), inset -4px 0 8px -6px rgb(255 255 255 / .55);
  writing-mode: vertical-rl;
  white-space: nowrap;
  font: 700 clamp(.9375rem, .75rem + .75vw, 1.4375rem)/1 var(--font-display);
  transform: var(--rest, none);
  transition: transform .45s var(--ease);
}
.book::before,
.book::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: .35;
}
.book::before { top: 14px; }
.book::after { bottom: 14px; }
.book:not(.book--ghost):hover { transform: translateY(-14px); }

.book--outline { background: transparent; box-shadow: inset 0 0 0 2px var(--fg); }
/* books still to come: dashed outlines that fade towards the end of the shelf */
.book--ghost {
  --o: .6;
  opacity: var(--o);
  background: transparent;
  box-shadow: none;
  border: 1.5px dashed var(--peach);
}
.book--ghost::before,
.book--ghost::after { display: none; }
.book--ghost:nth-last-child(2) { --o: .4; }
.book--ghost:nth-last-child(1) { --o: .22; }
.book--lean { --rest: rotate(-9deg); transform-origin: bottom left; margin-inline-start: 12px; }

@media (max-width: 640px) {
  .shelf { gap: 3px; padding-inline: 0; }
  .book { width: calc(var(--w) * .62); }
  .book::before { top: 9px; }
  .book::after { bottom: 9px; }
  .book--ghost:nth-last-child(-n + 2) { display: none; }
}

.journey { display: grid; gap: 44px; margin-top: clamp(80px, 10vw, 128px); }
@media (min-width: 900px) {
  .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
}

.step { position: relative; padding-top: 30px; border-top: 1px solid rgb(255 255 255 / .24); }
.step-num {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  padding-inline-end: 14px;
  background: var(--blue);
  color: var(--peach);
  font: 700 1.5rem/1 var(--font-display);
  transform: translateY(-55%);
}
.step-label { color: var(--peach); font-size: .875rem; font-weight: 600; opacity: .9; }
.step h3 {
  margin-top: 4px;
  color: var(--white);
  font: 700 clamp(1.75rem, 1.4rem + 1vw, 2.25rem)/1.35 var(--font-display);
}
.step h3 + p { margin-top: 12px; color: rgb(255 255 255 / .84); }

.library-close {
  max-width: 920px;
  margin: clamp(72px, 9vw, 112px) auto 0;
  color: var(--peach);
  font: 600 clamp(1.75rem, 1.15rem + 2.3vw, 3rem)/1.5 var(--font-display);
  text-align: center;
  text-wrap: balance;
}

/* ---------- Philosophy ---------- */
.philosophy .statement {
  max-width: 1000px;
  margin-top: 18px;
  color: var(--blue);
  font: 700 clamp(1.875rem, 1.25rem + 2.5vw, 3.25rem)/1.5 var(--font-display);
  text-wrap: pretty;
}

.zoom {
  --step: clamp(14px, 5vw, 84px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: clamp(52px, 7vw, 96px);
  font-family: var(--font-display);
}
.zoom-line {
  --base: clamp(1.625rem, 1.05rem + 2.4vw, 3.125rem);
  padding-inline-start: calc(var(--i) * var(--step));
  color: var(--ink-soft);
  font-size: calc(var(--base) * (1 - var(--i) * .1));
  font-weight: 500;
  line-height: 1.55;
}
.zoom-line em { color: var(--blue); font-weight: 700; }
.zoom-burst {
  margin-top: .05em;
  padding-inline-start: calc(4 * var(--step));
  color: var(--blue);
  font-size: clamp(2.75rem, 1.3rem + 6.4vw, 7rem);
  font-weight: 700;
  line-height: 1.25;
}
@media (max-width: 640px) {
  .zoom-burst { padding-inline-start: calc(2 * var(--step)); }
}

.philosophy-foot {
  display: grid;
  gap: 12px 56px;
  max-width: 1000px;
  margin-top: clamp(52px, 7vw, 88px);
}
@media (min-width: 820px) {
  .philosophy-foot { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: baseline; }
}
.philosophy-turn {
  color: var(--blue);
  font: 700 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.5 var(--font-display);
}
.philosophy-belief { color: var(--ink-soft); }

.belief--framed {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: clamp(56px, 7vw, 96px);
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px);
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--blue);
}
.belief--framed::after {
  content: "";
  position: absolute;
  inset: auto -8% -60% auto;
  z-index: -1;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 234 220 / .16), transparent);
}
.belief--framed p { color: var(--white); }

/* ---------- Why ---------- */
.why { background: var(--paper); }

.values-intro {
  margin-top: clamp(44px, 6vw, 72px);
  color: var(--ink);
  font: 700 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.5 var(--font-display);
}

.values { display: grid; gap: 16px; margin-top: 18px; }
@media (min-width: 860px) {
  .values { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .value { min-height: clamp(250px, 22vw, 290px); }
}

.value {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 var(--line), 0 26px 50px -38px rgb(0 26 82 / .5);
}
.value-icon { width: 54px; height: 54px; fill: none; stroke: var(--blue); stroke-width: 1.6; }
.value-icon text { fill: var(--blue); stroke: none; font: 700 30px var(--font-display); }
.value-icon .fill { fill: var(--blue); stroke: none; }
.value-kicker { margin-top: auto; padding-top: 28px; color: var(--ink-soft); font-size: 1rem; }
.value-word {
  color: var(--blue);
  font: 700 clamp(2.125rem, 1.6rem + 1.6vw, 3rem)/1.25 var(--font-display);
  text-wrap: balance;
}

.why-text {
  display: grid;
  gap: 18px 56px;
  max-width: 1060px;
  margin-top: clamp(44px, 6vw, 72px);
  color: var(--ink-soft);
}
@media (min-width: 860px) {
  .why-text { grid-template-columns: 1fr 1fr; }
}

/* ---------- Hosts ---------- */
.hosts { text-align: center; }

.hosts-names { margin-top: clamp(36px, 5vw, 60px); }
.hosts-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.6vw, 40px);
}
.hosts-name {
  color: var(--blue);
  font: 700 clamp(2.75rem, 1.4rem + 5vw, 5.75rem)/1.2 var(--font-display);
  white-space: nowrap;
}
.hosts-and {
  width: auto;
  height: clamp(90px, 10vw, 160px);
  flex: none;
  color: var(--blue);
  fill: currentColor;
}
@media (max-width: 720px) {
  .hosts-lockup { flex-direction: column; gap: 0; }
  .hosts-and { height: 84px; margin-block: 4px 10px; }
}

.hosts-lead {
  max-width: 820px;
  margin: clamp(32px, 4vw, 52px) auto 0;
  color: var(--ink);
  font: 600 clamp(1.5rem, 1.15rem + 1.3vw, 2.125rem)/1.6 var(--font-display);
  text-wrap: balance;
}

.hosts-cols {
  display: grid;
  gap: 18px 40px;
  margin-top: clamp(36px, 5vw, 60px);
  color: var(--ink-soft);
  text-align: start;
}
@media (min-width: 900px) {
  .hosts-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hosts-cols p { padding-top: 20px; border-top: 1px solid var(--line-strong); }
}

/* ---------- Vision ---------- */
.vision { overflow: hidden; isolation: isolate; }

.vision-watermark {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  color: var(--white);
}
.vision-watermark svg {
  position: absolute;
  bottom: -16%;
  left: 50%;
  width: max(1500px, 150vw);
  max-width: none;
  transform: translateX(-42%);
  opacity: .045;
  fill: currentColor;
}

.vision-statement {
  max-width: 1040px;
  margin-top: 18px;
  color: var(--white);
  font: 700 clamp(2.25rem, 1.3rem + 4vw, 4.75rem)/1.3 var(--font-display);
  text-wrap: balance;
}

.vision-cols {
  display: grid;
  gap: 18px 40px;
  margin-top: clamp(44px, 6vw, 80px);
  color: rgb(255 255 255 / .86);
}
@media (min-width: 900px) {
  .vision-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vision-cols p { padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .24); }
}

/* ---------- Listen ---------- */
.listen { text-align: center; }

.doors-intro {
  margin-top: clamp(44px, 6vw, 64px);
  color: var(--ink-soft);
  font: 600 clamp(1.375rem, 1.15rem + .8vw, 1.75rem)/1.5 var(--font-display);
}

.doors {
  --door-gap: clamp(10px, 2vw, 24px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--door-gap);
  max-width: 800px;
  margin: 18px auto 0;
}
.door {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 18px);
  aspect-ratio: 4 / 5;
  padding: clamp(28px, 5vw, 56px) clamp(8px, 2vw, 22px) clamp(16px, 2.4vw, 28px);
  /* an arch: on a 4:5 box, 40% of the height equals 50% of the width, so the top is a true semicircle */
  border-radius: 50% 50% 18px 18px / 40% 40% 18px 18px;
  background: linear-gradient(180deg, rgb(255 255 255 / .85), rgb(255 255 255 / .3));
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  color: var(--blue);
}
/* where supported, size the arch from the column width so all doors share one height and a true semicircle */
@supports (width: 1cqi) {
  .doors { container-type: inline-size; }
  .door {
    --r: calc((100cqi - 2 * var(--door-gap)) / 6);
    aspect-ratio: auto;
    min-height: calc(var(--r) * 2.5);
    border-radius: var(--r) var(--r) 18px 18px;
  }
}
.door-icon {
  display: grid;
  place-items: center;
  width: clamp(44px, 5.4vw, 64px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--peach);
}
.door .icon { width: 46%; height: 46%; stroke-width: 1.5; }
.door-text {
  color: var(--ink);
  font: 600 clamp(1rem, .78rem + 1vw, 1.5rem)/1.45 var(--font-display);
  text-wrap: balance;
}

.listen-browse { margin-top: clamp(40px, 5vw, 56px); color: var(--ink-soft); }

.platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}
.platform {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 214px;
  padding: 12px 22px 12px 26px;
  border-radius: 16px;
  background: var(--blue);
  box-shadow: 0 14px 28px -18px rgb(0 51 153 / .9);
  color: var(--white);
  text-align: right;
  text-decoration: none;
  transition: transform .3s var(--ease), background-color .3s;
}
.platform:hover { background: var(--blue-700); transform: translateY(-3px); }
.platform svg { width: 30px; height: 30px; flex: none; fill: currentColor; }
.platform small { display: block; font-size: .75rem; line-height: 1.5; opacity: .8; }
.platform strong { display: block; font: 600 1.0625rem/1.3 var(--font-body); text-align: right; }

.listen-maybe {
  max-width: 780px;
  margin: clamp(64px, 8vw, 104px) auto 0;
  color: var(--blue);
  font: 600 clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem)/1.6 var(--font-display);
  text-wrap: balance;
}

.signoff {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: clamp(48px, 6vw, 72px);
  color: var(--blue);
}
.signoff svg { width: clamp(150px, 16vw, 220px); height: auto; fill: currentColor; }
.signoff-line {
  color: var(--ink-soft);
  font: 600 clamp(1.375rem, 1.15rem + .8vw, 1.75rem)/1.5 var(--font-display);
}

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(56px, 7vw, 88px) 28px; }

.footer-inner {
  display: grid;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgb(255 255 255 / .18);
}
@media (min-width: 860px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr auto; align-items: start; }
}

.footer-brand svg { width: 150px; height: auto; color: var(--white); fill: currentColor; }
.footer-brand p { margin-top: 10px; color: var(--peach); font: 600 1.5rem/1.5 var(--font-display); }

.footer-nav ul { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a,
.to-top { color: rgb(255 255 255 / .85); text-decoration: none; }
.footer-nav a:hover,
.to-top:hover { color: var(--white); text-decoration: underline; }

.footer-label { color: rgb(255 255 255 / .7); font-size: .875rem; }
.footer-listen ul { display: flex; gap: 10px; margin-top: 10px; }
.footer-listen a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgb(255 255 255 / .1);
  color: var(--white);
  transition: background-color .25s, color .25s, transform .25s var(--ease);
}
.footer-listen a:hover { background: var(--white); color: var(--blue); transform: translateY(-2px); }
.footer-listen svg { width: 20px; height: 20px; fill: currentColor; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  color: rgb(255 255 255 / .7);
  font-size: .875rem;
}
.to-top { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Scroll reveal (enabled by main.js) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

.js .shelf-wrap[data-reveal] { transform: none; }
.js .shelf-wrap .book { opacity: 0; }
.js .shelf-wrap.is-visible .book {
  opacity: var(--o, 1);
  animation: book-in .9s var(--ease) backwards;
  animation-delay: calc(var(--i) * 80ms + .15s);
}
@keyframes book-in { from { opacity: 0; transform: translateY(-44px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .shelf-wrap .book { opacity: var(--o, 1); }
}
