@font-face {
  font-family: Manrope;
  src: url("./assets/manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  src: url("./assets/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --ink: #141715;
  --surface: #252b26;
  --paper: #f4f5f2;
  --pale: #e6e8e0;
  --muted: #4c554d;
  --white: #f7f8f3;
  --soft-white: #c6cec5;
  --accent: #cefa6d;
  --accent-hover: #dafa95;
  --wave: #69796d;
  --body: 1rem;
  --small: .875rem;
  --lead: clamp(1.1rem, 1.02rem + .4vw, 1.35rem);
  --subhead: clamp(1.45rem, 1.23rem + .95vw, 2.15rem);
  --heading: clamp(2.75rem, 1.68rem + 4.5vw, 6rem);
  --gutter: clamp(20px, 4.7vw, 76px);
  --space: clamp(70px, 8vw, 132px);
  --radius: 20px;
  --type: Manrope, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--ink); font: 500 var(--body)/1.55 var(--type); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 800; }
h2, h3 { text-wrap: balance; }
h2 { font-size: var(--heading); letter-spacing: -.057em; line-height: .96; }
h3 { font-size: var(--subhead); letter-spacing: -.036em; line-height: 1.1; }
p { text-wrap: pretty; }
a { color: inherit; }
button, input, textarea { font: inherit; }
img { display: block; width: 100%; object-fit: cover; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
::selection { background: var(--accent); color: var(--ink); }
[id] { scroll-margin-top: 24px; }
.wrap { width: min(100% - 2 * var(--gutter), 1350px); margin-inline: auto; }
.section-pad { padding-block: var(--space); }
.skip { position: fixed; z-index: 5; inset: 14px auto auto 14px; padding: 12px 20px; color: var(--ink); background: var(--accent); transform: translateY(-150%); }
.skip:focus { transform: none; }

.header { position: relative; z-index: 2; color: var(--white); background: var(--ink); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; min-height: 82px; }
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; text-decoration: none; font-weight: 800; letter-spacing: -.035em; line-height: 1.2; }
.brand img { width: 36px; height: 36px; flex: none; }
.header nav, .footer-links { display: flex; gap: clamp(14px, 3vw, 42px); }
.header nav a, .footer-links a { display: flex; align-items: center; gap: 6px; min-height: 44px; text-decoration: none; color: var(--soft-white); }
.header nav a:hover, .footer-links a:hover { color: var(--accent); }
.header-action { justify-self: end; color: var(--white); background: var(--surface); }
.header-action:hover { color: var(--accent); }
.button { display: inline-flex; width: fit-content; min-height: 52px; align-items: center; justify-content: center; gap: 12px; padding: 11px 20px; border: 0; border-radius: 28px; text-decoration: none; font-weight: 800; line-height: 1.22; transition: transform .2s ease, background-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button-accent { color: var(--ink); background: var(--accent); }
.button-accent:hover { background: var(--accent-hover); }
.button-ink { color: var(--white); background: var(--ink); }
.button-ink:hover { background: var(--surface); }
.button-secondary { color: var(--ink); background: var(--pale); }
.button-secondary:hover { background: var(--accent); }
.play-icon { display: inline-block; width: .76em; height: .85em; flex: none; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }

.hero { position: relative; isolation: isolate; color: var(--white); background: var(--ink); overflow: clip; }
.hero-photo { position: absolute; z-index: -1; inset: 0 0 0 auto; width: min(84%, 1550px); overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-position: 63% 40%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink), rgba(20,23,21,.91) 11%, rgba(20,23,21,.39) 35%, transparent 61%), linear-gradient(0deg, var(--ink), rgba(20,23,21,.64) 14%, transparent 52%); } /* taste-skill-ignore: neutral scrim over the studio photograph */
.hero-layout { position: relative; display: grid; align-content: end; min-height: clamp(550px, 48vw, 750px); padding-block: 50px clamp(38px, 5.4vw, 85px); }
.hero h1 { grid-row: 2; display: flex; gap: .18em; width: fit-content; max-width: 100%; font-size: clamp(4rem, 9.8vw, 9.9rem); line-height: .88; letter-spacing: -.071em; white-space: nowrap; }
.hero h1 span { display: inline-block; }
.hero-story { grid-row: 1; margin-bottom: clamp(95px, 10.2vw, 148px); }
.hero-lede { width: min(100%, 25ch); margin-bottom: 25px; font-size: var(--lead); font-weight: 650; line-height: 1.48; }
.hero-down { position: absolute; right: 2px; top: clamp(40px, 5vw, 80px); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--white); background: var(--surface); text-decoration: none; font-size: 1.25rem; }
.hero-down:hover { color: var(--ink); background: var(--accent); }

.archive { background: var(--paper); }
.archive-head { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 38px; }
.archive-head p, .section-lede { max-width: 36ch; font-size: var(--lead); line-height: 1.45; }
.archive-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(24px, 4.2vw, 70px); align-items: start; }
.player { color: var(--white); background: var(--ink); border-radius: var(--radius); padding: clamp(22px, 3.2vw, 47px); }
.player p { margin-top: 12px; }
.player h3 { max-width: 19ch; }
.player-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 7px; color: var(--soft-white); font-size: var(--small); }
.player-meta a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; text-underline-offset: 4px; }
.player-meta a:hover { color: var(--white); }
.player-actions { display: flex; align-items: center; gap: 9px; }
.audio-mute { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; color: var(--soft-white); background: none; cursor: pointer; }
.audio-mute:hover { color: var(--white); }
.audio-mute .sound-off, .audio-mute[aria-pressed="true"] .sound-waves { display: none; }
.audio-mute[aria-pressed="true"] .sound-off { display: block; }
.audio-line { margin-top: 22px; }
.audio-line audio { width: 100%; min-width: 0; height: 46px; color-scheme: dark; }
.player-controls { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 15px; margin-top: 24px; }
.audio-toggle { display: grid; place-items: center; width: 54px; height: 54px; border: 0; border-radius: 50%; background: var(--accent); color: var(--ink); cursor: pointer; transition: transform .16s ease, background-color .16s ease; }
.audio-toggle:hover { transform: scale(1.05); background: var(--accent-hover); }
.audio-toggle:active { transform: scale(.97); }
.audio-toggle .play-icon { width: 15px; height: 17px; margin-left: 3px; }
.audio-toggle .pause-icon { display: none; width: 14px; height: 16px; border-inline: 4px solid currentColor; }
.audio-toggle[data-playing="true"] .play-icon { display: none; }
.audio-toggle[data-playing="true"] .pause-icon { display: block; }
.audio-wave { position: relative; min-width: 0; height: 54px; }
.audio-wave:focus-within { outline: 2px solid var(--white); outline-offset: 4px; }
.audio-wave svg, .audio-wave input { display: block; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; }
.audio-wave input { opacity: 0; cursor: pointer; }
.audio-wave input:disabled { cursor: default; }
.wave-track { fill: var(--wave); }
.wave-progress { fill: var(--accent); clip-path: inset(0 calc(100% - var(--progress, 0%)) 0 0); }
.audio-times { display: flex; justify-content: space-between; color: var(--soft-white); font-size: var(--small); font-variant-numeric: tabular-nums; }
#audio-error { color: var(--accent); }
.platform-strip { color: var(--white); background: var(--surface); }
.platform-inner { display: grid; grid-template-columns: minmax(170px, .85fr) minmax(0, 2.5fr); align-items: center; gap: 0 24px; padding-block: 13px; }
.platform-inner p { color: var(--soft-white); font-size: var(--small); font-weight: 650; }
.platforms { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1.38fr) minmax(0,.76fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.platforms a { display: grid; grid-template-columns: 22px minmax(0,1fr) auto; align-items: center; gap: 8px; height: 100%; min-height: 45px; padding-inline: 13px; border-radius: 9px; background: var(--ink); text-decoration: none; font-weight: 750; }
.platforms a img { width: 22px; height: 22px; object-fit: contain; }
.platform-arrow { color: var(--accent); }
.platforms a:hover { color: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; text-underline-offset: 4px; font-weight: 750; }
.text-link:hover { text-decoration-thickness: 2px; }
.episode-list { display: grid; gap: 5px; list-style: none; margin: 0; padding: 0; }
.episode { display: grid; grid-template-columns: minmax(0,1fr) auto 38px; align-items: center; gap: 0 13px; min-height: 66px; padding: 9px 12px 9px 17px; background: var(--pale); border-radius: 10px; text-decoration: none; transition: background-color .16s ease; }
.episode:hover, .episode[aria-current="true"] { background: var(--accent); }
.episode-name { grid-column: 1; grid-row: 1; align-self: end; font-weight: 800; line-height: 1.25; }
.episode-description { grid-column: 1; grid-row: 2; align-self: start; margin-top: 3px; color: var(--muted); font-size: var(--small); line-height: 1.3; }
.duration { grid-column: 2; grid-row: 1 / span 2; color: var(--muted); font-size: var(--small); white-space: nowrap; font-variant-numeric: tabular-nums; }
.episode > .play-icon { grid-column: 3; grid-row: 1 / span 2; place-self: center; }

.practice { background: var(--accent); }
.practice-grid { display: grid; grid-template-columns: .87fr 1.13fr; align-items: center; gap: clamp(26px, 6vw, 110px); }
.practice h2 { font-size: clamp(2.65rem, 5.85vw, 5.3rem); }
.practice p.section-lede { margin-top: 23px; }
.practice-links { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 13px; }
.worksheet { color: var(--white); background: var(--ink); border-radius: var(--radius); padding: clamp(20px, 4vw, 47px); }
.worksheet-controls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 26px; }
.worksheet-controls button { min-height: 46px; border: 0; border-radius: 9px; padding: 8px 5px; background: var(--surface); color: var(--white); cursor: pointer; font-weight: 800; transition: background-color .16s ease, transform .16s ease; }
.worksheet-controls button:hover { background: var(--wave); }
.worksheet-controls button:active { transform: translateY(1px); }
.worksheet-controls button[aria-pressed="true"] { background: var(--accent); color: var(--ink); }
.worksheet-controls button:focus-visible { outline-color: var(--white); }
.worksheet-prompt { min-height: 112px; }
.worksheet-prompt p { max-width: 38ch; margin-top: 10px; }
.worksheet-note { margin-top: 10px; color: var(--soft-white); font-size: var(--small); }
.worksheet noscript p { margin-block: 10px; }

.hosts { color: var(--white); background: var(--ink); }
.hosts-intro { display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.hosts-intro p { max-width: 31ch; color: var(--soft-white); font-size: var(--lead); line-height: 1.45; }
.portraits { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 4vw, 62px); margin-top: 38px; }
.portrait img { height: auto; aspect-ratio: 1.28; border-radius: var(--radius); object-position: 50% 21%; }
.portrait-offset { margin-top: clamp(25px, 5vw, 75px); }
.portrait-artem img { object-position: 50% 28%; }
.portrait figcaption { padding-top: 16px; }
.portrait p { max-width: 38ch; margin-top: 8px; color: var(--soft-white); }

.formats { background: var(--paper); }
.formats-inner { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(32px, 7vw, 115px); }
.formats-intro p { max-width: 29ch; margin-top: 22px; font-size: var(--lead); line-height: 1.45; }
.format-options { display: grid; gap: 10px; align-content: start; }
.format { padding: clamp(20px, 3.2vw, 44px); background: var(--accent); border-radius: var(--radius); }
.format + .format { background: var(--pale); }
.format .button-secondary { background: var(--paper); }
.format .button-secondary:hover { background: var(--accent); }
.format p { max-width: 45ch; margin: 10px 0 17px; }
.questionnaire {
  width: min(520px, 100% - 36px);
  max-height: calc(100dvh - 36px);
  padding: clamp(19px, 4vw, 34px);
  overflow: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
}
.questionnaire::backdrop { background: rgba(20, 23, 21, .72); }
.questionnaire-header { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.questionnaire h2 { font-size: var(--subhead); line-height: 1.1; letter-spacing: -.036em; }
.questionnaire-close {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  margin: -7px -5px 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--pale);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.questionnaire-close:hover { background: var(--accent); }
[data-open-questionnaire] { cursor: pointer; }
#questionnaire-note { margin-top: 12px; color: var(--muted); }
.questionnaire form { display: grid; gap: 7px; margin-top: 19px; }
.questionnaire label { margin-top: 8px; font-weight: 800; }
.questionnaire label span { color: var(--muted); font-size: var(--small); font-weight: 500; }
.questionnaire input, .questionnaire textarea {
  width: 100%;
  min-height: 45px;
  padding: 9px 12px;
  border: 1px solid #929990;
  border-radius: 9px;
  color: var(--ink);
  background: var(--white);
}
.questionnaire textarea { resize: vertical; }
.questionnaire form .button { margin-top: 10px; cursor: pointer; }
#questionnaire-status { margin-top: 5px; }
.footer { color: var(--white); background: var(--ink); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 13px; min-height: 106px; padding-block: 18px; }

@media (min-width: 850px) and (prefers-reduced-motion: no-preference) {
  .hero-photo img { animation: studio-drift 9s ease-out both; }
  @keyframes studio-drift { from { transform: scale(1.07); } to { transform: scale(1); } }
}
@keyframes enter { from { opacity: .45; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.entered { animation: enter .54s cubic-bezier(.2,.72,.2,1) both; animation-delay: var(--enter-delay, 0ms); }

@media (max-width: 900px) {
  .platform-inner { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .platforms a { font-size: var(--small); }
  .header-inner { gap: 15px; }
  .header nav { gap: 16px; }
  .archive-grid { gap: 21px; }
  .episode { gap: 0 8px; grid-template-columns: minmax(0,1fr) auto 24px; padding-inline: 12px; }
}
@media (max-width: 720px) {
  .header-inner { grid-template-columns: 1fr auto; gap: 4px 12px; padding-top: 10px; min-height: 0; }
  .header nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; }
  .header nav a, .header-action { font-size: var(--small); }
  .header-action { min-height: 43px; padding-inline: 13px; }
  .brand { font-size: var(--small); gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .hero-layout { align-content: end; min-height: clamp(470px, 144vw, 625px); padding-block: clamp(222px, 67vw, 340px) 36px; }
  .hero-photo { width: 100%; bottom: auto; height: clamp(340px, 104vw, 560px); }
  .hero-photo img { object-position: 60% 38%; }
  .hero-photo::after { background: linear-gradient(0deg, var(--ink), rgba(20,23,21,.7) 22%, transparent 68%); } /* taste-skill-ignore: neutral scrim over the studio photograph */
  .hero h1 { grid-row: 1; flex-direction: column; gap: 0; width: min-content; max-width: 100%; font-size: clamp(3.5rem, 14vw, 6.4rem); line-height: .88; white-space: normal; }
  .hero-story { grid-row: 2; margin: 18px 0 0; }
  .hero-lede { margin-bottom: 17px; }
  .hero-down { display: none; }
  .platform-inner { grid-template-columns: minmax(0,1fr); gap: 8px; padding-block: 15px; }
  .platforms { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .platforms a { gap: 6px; padding-inline: 9px; }
  .archive-head, .hosts-intro { display: grid; gap: 16px; }
  .archive-head { margin-bottom: 24px; }
  .archive-grid, .practice-grid, .formats-inner { grid-template-columns: minmax(0,1fr); }
  .archive-grid { gap: 22px; }
  .practice p.section-lede, .formats-intro p { margin-top: 15px; }
  .worksheet-prompt { min-height: 111px; }
  .portraits { margin-top: 24px; }
  .portrait img { aspect-ratio: .88; }
  .portrait-offset { margin-top: 25px; }
  .footer-inner { min-height: 85px; }
  .footer-links { gap: 11px; font-size: var(--small); }
}
@media (max-width: 360px) {
  .footer-inner { flex-wrap: wrap; }
  .portraits { grid-template-columns: 1fr; }
  .portrait-offset { margin-top: 7px; }
  .portrait img { aspect-ratio: 1.25; }
  .episode { grid-template-columns: minmax(0,1fr) auto 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
