/* 베르디 라디오 — radio.verthi.me */

:root {
  --white: #FFFFFF;
  --paper: #F6F6F4;
  --stone: #EFECE6;
  --stone-2: #E6E2DA;
  --ink: #111318;
  --ink-2: #3A3D45;
  --ink-3: #6B6E76;
  --ink-4: #9A9CA2;
  --hair: rgba(17, 19, 24, .18);
  --hair-soft: rgba(17, 19, 24, .09);
  --onair: #E5484D;
  --lav: #B8A9FF;
  --ice: #9FE3EE;
  --rose: #F2CDBB;
  --prism: linear-gradient(90deg, var(--lav), var(--ice) 52%, var(--rose));
  --gut: clamp(16px, 4vw, 56px);
  --col-gap: clamp(16px, 2vw, 28px);
  --max: 1440px;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --serif: "Instrument Serif", "Newsreader", "Times New Roman", serif;
  --read: "Newsreader", "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
:root[data-lang="ja"] {
  --sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Pretendard Variable", Pretendard, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
:root[data-lang="ko"] body { word-break: keep-all; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
.num { font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 4px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

/* ---------- masthead ---------- */
.mast {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: .5px solid var(--hair);
}
.mast__row { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.brand__ko { font-weight: 700; font-size: 16px; letter-spacing: -0.02em; }
.brand__en { font-size: 10.5px; letter-spacing: .18em; color: var(--ink-3); font-weight: 500; padding-left: 10px; border-left: .5px solid var(--hair); line-height: 1; }
.mast__nav { display: flex; gap: 26px; font-size: 14px; color: var(--ink-2); }
.mast__nav a { text-decoration: none; padding-block: 6px; }
.mast__nav a:hover { color: var(--ink); }
.lang { display: flex; align-items: center; gap: 2px; font-size: 13px; padding-left: 20px; border-left: .5px solid var(--hair); }
.lang button {
  appearance: none; background: none; border: 0; cursor: pointer;
  padding: 6px 8px; color: var(--ink-3); position: relative; white-space: nowrap;
}
.lang button[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
.lang button[aria-pressed="true"]::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 1px; height: 1.5px; background: var(--prism); border-radius: 1px;
}

.ticker { border-top: .5px solid var(--hair-soft); background: var(--white); }
.ticker__row { display: flex; align-items: center; gap: 22px; height: 34px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.ticker__onair { display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; letter-spacing: .16em; font-weight: 700; color: var(--ink); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--onair); box-shadow: 0 0 0 3px rgba(229, 72, 77, .16); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(229, 72, 77, 0); } }
.ticker__clock { color: var(--ink-3); padding-right: 22px; border-right: .5px solid var(--hair); }
.ticker__item { display: inline-flex; align-items: baseline; gap: 6px; min-width: 0; }
.ticker__item b { font-weight: 600; color: var(--ink); }
.ticker__now { color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; max-width: 34ch; }
.ticker__now::before { content: "— "; color: var(--ink-4); }

/* ---------- hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: start; }
.hero__copy { grid-column: 1 / span 5; padding-top: clamp(8px, 2vw, 28px); }
.hero__photo { grid-column: 6 / span 7; margin-right: calc(var(--gut) * -1); }
.hero__photo img { width: 100%; height: min(82vh, 860px); object-fit: cover; object-position: 58% 50%; }
.hero__photo figcaption, .slot__photo figcaption, .slot__cap {
  margin-top: 10px; font-size: 12px; color: var(--ink-3); display: flex; gap: 10px; letter-spacing: 0;
}
.hero__photo figcaption .num, .slot__photo figcaption .num, .slot__cap .num { color: var(--ink); }

.kicker { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--ink-3); letter-spacing: .02em; }
.kicker__sep { width: 28px; height: .5px; background: var(--ink-3); }
.hero__title {
  margin-top: 26px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(40px, 5.1vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.hero__title em {
  font-family: var(--serif); font-style: normal; font-weight: 400;
  font-size: 1.22em; letter-spacing: -0.02em; line-height: .9;
}
:root[data-lang="en"] .hero__title { letter-spacing: -0.035em; }
.hero__lede { margin-top: 24px; max-width: 40ch; font-size: clamp(16px, 1.25vw, 18px); color: var(--ink-2); line-height: 1.7; }

/* tuner */
.tuner {
  margin-top: clamp(28px, 3.4vw, 44px);
  background: var(--white);
  border: .5px solid var(--hair);
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 24px 48px -32px rgba(17, 19, 24, .28);
  max-width: 520px;
}
.tuner__display { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.tuner__freq { display: flex; align-items: baseline; gap: 8px; }
.tuner__mhz { font-family: var(--serif); font-size: clamp(64px, 6vw, 88px); line-height: .82; letter-spacing: -0.03em; }
.tuner__unit { font-size: 12px; letter-spacing: .14em; color: var(--ink-3); font-weight: 600; }
.tuner__meta { text-align: right; display: grid; gap: 2px; padding-bottom: 6px; min-width: 0; }
.tuner__chan { font-weight: 600; font-size: 14px; }
.tuner__prog { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dial { position: relative; height: 36px; margin: 18px 0 16px; border-top: .5px solid var(--hair); border-bottom: .5px solid var(--hair); overflow: hidden; }
.dial__scale { position: absolute; inset: 0; }
.dial__scale i { position: absolute; bottom: 0; width: .5px; height: 7px; background: var(--ink-4); }
.dial__scale i.major { height: 14px; background: var(--ink-2); }
.dial__scale span { position: absolute; top: 3px; transform: translateX(-50%); font-size: 9.5px; color: var(--ink-3); letter-spacing: .02em; z-index: 2; background: var(--white); padding: 0 3px; line-height: 1.3; }
.dial__needle {
  position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px;
  background: var(--ink); left: 52%;
  transition: left .9s var(--ease);
}
.dial__needle::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -10px; width: 22px;
  background: linear-gradient(180deg, rgba(184,169,255,.0), rgba(159,227,238,.35), rgba(242,205,187,.0));
  filter: blur(4px);
}

.tuner__presets { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.preset {
  appearance: none; cursor: pointer; text-align: left;
  display: grid; gap: 2px;
  padding: 11px 14px 12px;
  border-radius: 12px; border: .5px solid var(--hair);
  background: var(--paper);
  transition: background .2s, border-color .2s, transform .2s var(--ease);
}
.preset:hover { background: var(--white); }
.preset:active { transform: translateY(1px); }
.preset[aria-checked="true"] { background: var(--white); border-color: var(--ink); box-shadow: 0 0 0 .5px var(--ink) inset; }
.preset__f { font-family: var(--serif); font-size: 26px; line-height: 1; }
.preset__n { font-size: 12.5px; color: var(--ink-3); }
.preset[aria-checked="true"] .preset__n { color: var(--ink); }

.tuner__deck { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; margin-top: 16px; }
.playbtn {
  appearance: none; border: 0; cursor: pointer; position: relative;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--ink); color: var(--white);
  display: grid; place-items: center;
  transition: transform .2s var(--ease);
}
.playbtn:hover { transform: scale(1.04); }
.playbtn:active { transform: scale(.97); }
.playbtn svg { width: 22px; height: 22px; fill: currentColor; grid-area: 1 / 1; }
.playbtn .i-pause { display: none; }
.is-playing .playbtn .i-play, .playbtn.is-playing .i-play { display: none; }
.is-playing .playbtn .i-pause, .playbtn.is-playing .i-pause { display: block; }
.playbtn__ring { position: absolute; inset: -5px; border-radius: 50%; border: 1px solid transparent; }
.is-loading .playbtn__ring { border-color: var(--hair); border-top-color: var(--ink); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.tuner__now { display: grid; min-width: 0; }
.tuner__state { font-size: 11.5px; letter-spacing: .04em; color: var(--ink-3); }
.is-playing .tuner__state { color: var(--onair); }
.tuner__title { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meter { width: 120px; height: 20px; opacity: .9; }
.tuner__caption {
  margin-top: 14px; padding-top: 12px; border-top: .5px solid var(--hair-soft);
  font-size: 14.5px; line-height: 1.55; color: var(--ink-2);
  min-height: 3.1em;
}
.tuner__caption::before { content: "CC"; font-size: 9.5px; letter-spacing: .1em; font-weight: 700; border: .5px solid var(--ink-3); color: var(--ink-3); border-radius: 3px; padding: 1px 4px; margin-right: 8px; vertical-align: 2px; }

/* ---------- section heads ---------- */
.sechead { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: baseline; column-gap: var(--col-gap); padding-bottom: 18px; border-bottom: .5px solid var(--hair); }
.sechead__no { font-family: var(--serif); font-size: 22px; color: var(--ink-3); }
.sechead__title { font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.2; }
.sechead__vol { font-family: var(--serif); font-weight: 400; font-style: italic; color: var(--ink-3); letter-spacing: 0; margin-left: 6px; }
.sechead__aside { font-size: 13px; color: var(--ink-3); }
.sechead__aside b { color: var(--ink); font-weight: 600; margin-left: 4px; }
.sechead__lede { grid-column: 2 / -1; margin-top: 12px; max-width: 54ch; color: var(--ink-2); }

/* ---------- 24h ---------- */
.day { background: var(--white); padding: clamp(40px, 5vw, 72px) 0; border-top: .5px solid var(--hair); }
.clock24 { position: relative; margin-top: 34px; padding-bottom: 30px; }
.clock24__bar { position: relative; height: 74px; border-top: .5px solid var(--ink); border-bottom: .5px solid var(--hair); }
.blk {
  position: absolute; top: 0; bottom: 0;
  left: calc(var(--from) / 24 * 100%); width: calc((var(--to) - var(--from)) / 24 * 100%);
  border-left: .5px solid var(--hair);
  padding: 10px 12px; display: flex; flex-direction: column; justify-content: space-between;
  font-size: 13px; overflow: hidden;
  transition: background .3s;
}
.blk__t { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blk__f { font-family: var(--serif); font-size: 20px; line-height: 1; color: var(--ink-3); }
.blk--night-a, .blk--night { background: repeating-linear-gradient(90deg, transparent 0 5px, rgba(17,19,24,.035) 5px 6px); }
.blk--night-a .blk__t { color: var(--ink-3); font-weight: 500; }
.blk.is-on { background: var(--stone); }
.blk.is-on .blk__f { color: var(--ink); }
.blk.is-on .blk__t::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--onair); margin-right: 7px; vertical-align: 2px; }
.clock24__now { position: absolute; top: -6px; height: 86px; width: 1.5px; background: var(--ink); left: 50%; }
.clock24__now::before { content: ""; position: absolute; top: -3px; left: -3.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.clock24__ticks { position: relative; height: 20px; margin-top: 8px; font-size: 11.5px; color: var(--ink-3); }
.clock24__ticks li { position: absolute; left: calc(var(--h) / 24 * 100%); transform: translateX(-50%); }
.clock24__ticks li:first-child { transform: none; }
.clock24__ticks li:last-child { transform: translateX(-100%); }

/* ---------- essay ---------- */
.essay { background: var(--paper); padding: clamp(56px, 8vw, 120px) 0 0; }
.essay__head { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: var(--col-gap); align-items: baseline; padding-bottom: clamp(36px, 5vw, 72px); }
.essay__head h2 { display: grid; gap: 10px; }
.essay__en { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7.4vw, 112px); line-height: .94; letter-spacing: -0.025em; }
.essay__ko { font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; color: var(--ink-2); letter-spacing: -0.02em; }

.slot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); padding-bottom: clamp(64px, 9vw, 140px); }
.slot__photo img { width: 100%; height: auto; }
.slot__time { font-family: var(--serif); font-size: clamp(54px, 6vw, 92px); line-height: .85; letter-spacing: -0.02em; }
.slot__name { margin-top: 18px; font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.035em; }
.slot__meta { margin-top: 6px; font-size: 13.5px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 4px 10px; }
.slot__meta .num { color: var(--ink); font-weight: 600; }
.slot__hosts { padding-left: 10px; border-left: .5px solid var(--hair); }
.slot__body { margin-top: 18px; color: var(--ink-2); max-width: 36ch; font-size: 16px; }
.slot__range { margin-top: 22px; padding-top: 12px; border-top: .5px solid var(--hair); font-size: 12px; letter-spacing: .06em; color: var(--ink-3); max-width: 36ch; }

.slot--dawn .slot__photo { grid-column: 1 / span 7; margin-left: calc(var(--gut) * -1); }
.slot--dawn .slot__text { grid-column: 9 / span 4; align-self: end; padding-bottom: 34px; }
.slot--lounge .slot__text { grid-column: 1 / span 4; padding-top: 12px; }
.slot--lounge .slot__photo { grid-column: 5 / span 8; margin-top: clamp(40px, 7vw, 120px); }

.slot--evening { display: block; padding-bottom: clamp(64px, 9vw, 140px); }
.slot__photo--bleed img { width: 100%; height: clamp(320px, 52vw, 760px); object-fit: cover; object-position: 50% 58%; }
.slot__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); margin-top: clamp(24px, 3vw, 40px); align-items: start; }
.slot__time--xl { grid-column: 1 / span 5; font-size: clamp(88px, 13vw, 200px); line-height: .78; }
.slot--evening .slot__text { grid-column: 7 / span 4; }
.slot--evening .slot__cap { grid-column: 11 / span 2; margin-top: 4px; flex-direction: column; gap: 2px; }

.slot--night { display: block; background: var(--ink); color: #EDEDEA; padding: clamp(64px, 8vw, 120px) 0; }
.slot__nightgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: center; }
.slot--night .slot__photo { grid-column: 1 / span 7; }
.slot--night .slot__text { grid-column: 9 / span 4; }
.slot--night .slot__meta, .slot--night .slot__range, .slot--night figcaption { color: #9A9CA2; }
.slot--night .slot__meta .num, .slot--night figcaption .num { color: #EDEDEA; }
.slot--night .slot__body { color: #C9CACD; }
.slot--night .slot__hosts, .slot--night .slot__range { border-color: rgba(255,255,255,.18); }
.pull { margin: 30px 0 0; padding: 0; }
.pull p { font-family: var(--read); font-style: italic; font-weight: 300; font-size: clamp(22px, 2vw, 28px); line-height: 1.38; letter-spacing: -0.01em; color: #fff; }
:root[data-lang="ko"] .pull p, :root[data-lang="ja"] .pull p { font-family: var(--sans); font-style: normal; font-weight: 400; font-size: clamp(20px, 1.8vw, 25px); letter-spacing: -0.03em; }
.pull footer { margin-top: 12px; font-size: 12.5px; color: #9A9CA2; }
.pull footer::before { content: ""; display: inline-block; width: 18px; height: 1px; background: var(--prism); vertical-align: 4px; margin-right: 10px; }

/* ---------- originals ---------- */
.orig { background: var(--stone); padding: clamp(56px, 8vw, 120px) 0; }
.sechead--orig { border-color: rgba(17,19,24,.22); }
.room { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); margin-top: clamp(32px, 4vw, 56px); align-items: start; }
.sleeve { grid-column: 1 / span 6; position: relative; aspect-ratio: 1; background: var(--stone-2); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 40px 60px -40px rgba(17,19,24,.55), 0 2px 6px rgba(17,19,24,.12); }
.sleeve img { width: 100%; height: 100%; object-fit: cover; }
.sleeve::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.14), transparent 38%); pointer-events: none; }
.playbtn--sleeve { position: absolute; right: 22px; bottom: 22px; width: 68px; height: 68px; background: rgba(255,255,255,.94); color: var(--ink); z-index: 2; box-shadow: 0 8px 24px -8px rgba(0,0,0,.45); }
.playbtn--sleeve svg { width: 26px; height: 26px; }

.deck { grid-column: 8 / span 5; display: flex; flex-direction: column; min-height: 100%; }
.deck__head { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.deck__no { font-family: var(--serif); font-size: 64px; line-height: .8; color: var(--ink-3); }
.deck__title { font-size: clamp(24px, 2.3vw, 32px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.2; }
.deck__sub { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink-2); line-height: 1.3; margin-top: 2px; }
.deck__specs { margin-top: 18px; font-size: 12px; letter-spacing: .06em; color: var(--ink-3); text-transform: uppercase; }
.deck__note { margin-top: 10px; color: var(--ink-2); font-size: 15px; max-width: 44ch; }
.scrub { display: grid; grid-template-columns: 3.2em 1fr 3.2em; align-items: center; gap: 12px; margin-top: 22px; font-size: 12px; color: var(--ink-3); }
.scrub span:last-child { text-align: right; }
.scrub input { -webkit-appearance: none; appearance: none; width: 100%; height: 18px; background: transparent; cursor: pointer; --p: 0%; }
.scrub input::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--ink) var(--p), rgba(17,19,24,.18) var(--p)); }
.scrub input::-moz-range-track { height: 2px; background: rgba(17,19,24,.18); }
.scrub input::-moz-range-progress { height: 2px; background: var(--ink); }
.scrub input::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); margin-top: -5px; border: 0; }
.scrub input::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 0; }

.lyrics {
  margin-top: 20px; position: relative;
  height: clamp(300px, 34vw, 420px); overflow-y: auto; overscroll-behavior: contain;
  border-top: .5px solid rgba(17,19,24,.22);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 36px, #000 calc(100% - 56px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 36px, #000 calc(100% - 56px), transparent 100%);
  scrollbar-width: none;
}
.lyrics::-webkit-scrollbar { display: none; }
.lyrics ol { padding: 34px 0 120px; }
.lyrics li { padding: 6px 0; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; letter-spacing: -0.03em; color: rgba(17,19,24,.34); transition: color .35s, transform .35s var(--ease); transform-origin: left center; cursor: pointer; }
.lyrics li.sec { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); padding: 18px 0 4px; cursor: default; }
.lyrics li.sec:first-child { padding-top: 0; }
.lyrics li.done { color: rgba(17,19,24,.55); }
.lyrics li.on { color: var(--ink); font-weight: 600; transform: translateX(6px); }
.lyrics li.on::before { content: ""; position: absolute; left: 0; margin-top: .72em; width: 3px; height: 3px; border-radius: 50%; background: var(--ink); transform: translateX(-10px); }
.lyrics__empty { color: var(--ink-3); font-size: 14px; }

.shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); margin-top: clamp(40px, 5vw, 72px); padding-top: 22px; border-top: .5px solid rgba(17,19,24,.22); }
.shelf button { appearance: none; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; width: 100%; }
.shelf img { width: 96px; height: 96px; object-fit: cover; box-shadow: 0 12px 20px -14px rgba(17,19,24,.6); transition: transform .3s var(--ease); }
.shelf button:hover img { transform: translateY(-2px); }
.shelf .t { font-weight: 600; letter-spacing: -0.03em; font-size: 16px; line-height: 1.3; display: block; }
.shelf .s { font-family: var(--serif); font-style: italic; color: var(--ink-2); font-size: 16px; display: block; line-height: 1.3; }
.shelf .m { font-size: 11.5px; color: var(--ink-3); letter-spacing: .05em; display: block; margin-top: 6px; }
.shelf [aria-current="true"] .t::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); margin-right: 8px; vertical-align: 3px; }

/* ---------- app ---------- */
.app { background: var(--white); padding: clamp(56px, 8vw, 120px) 0 clamp(40px, 6vw, 80px); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); padding: 5px 12px; border: .5px solid var(--hair); border-radius: 999px; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--prism); }

.phones { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.phone { margin: 0; }
.phone__frame {
  position: relative; border-radius: 15.5% / 7.2%;
  padding: 3.2%;
  background: linear-gradient(145deg, #2a2d33, #0d0e11 40%, #1c1e23);
  box-shadow: 0 0 0 .5px rgba(0,0,0,.6), 0 1px 1px rgba(255,255,255,.1) inset, 0 50px 70px -40px rgba(17,19,24,.55), 0 18px 30px -24px rgba(17,19,24,.4);
}
.phone__frame img { width: 100%; border-radius: 12.6% / 5.8%; background: #fff; aspect-ratio: 1206 / 2622; object-fit: cover; }
.phone figcaption { margin-top: 16px; font-size: 13px; color: var(--ink-3); text-align: center; }
.phone--a { grid-column: 1 / span 3; }
.phone--b { grid-column: 4 / span 3; margin-top: 64px; }
.phone--c { grid-column: 7 / span 3; margin-top: 128px; }
.phones__notes { grid-column: 10 / span 3; display: grid; gap: 18px; color: var(--ink-2); font-size: 15px; align-self: end; padding-bottom: 60px; }
.phones__notes p { padding-top: 14px; border-top: .5px solid var(--hair); }

.wake { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); margin-top: clamp(72px, 10vw, 150px); align-items: center; }
.wake__scene { grid-column: 1 / span 7; position: relative; margin: 0 0 0 calc(var(--gut) * -1); }
.wake__bg { width: 100%; height: clamp(420px, 46vw, 680px); object-fit: cover; object-position: 30% 50%; }
.phone--alarm { position: absolute; width: clamp(150px, 15vw, 230px); right: 8%; bottom: -8%; }
.wake__text { grid-column: 9 / span 4; }
.wake__title { font-size: clamp(26px, 2.6vw, 38px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.2; }
.notes { margin-top: 28px; display: grid; gap: 22px; }
.notes li { padding-top: 16px; border-top: .5px solid var(--hair); }
.notes h4 { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; display: flex; gap: 12px; align-items: baseline; }
.notes h4 .num { font-family: var(--serif); font-weight: 400; font-size: 18px; color: var(--ink-3); }
.notes p { margin-top: 6px; color: var(--ink-2); font-size: 15px; padding-left: 32px; }

.prism { position: relative; margin: clamp(80px, 11vw, 160px) calc(var(--gut) * -1) 0; }
.prism img { width: 100%; height: clamp(300px, 40vw, 600px); object-fit: cover; object-position: 50% 60%; }
.prism figcaption {
  position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(20px, 3vw, 44px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
}
.prism::after { content: ""; position: absolute; inset: 0; background: linear-gradient(20deg, rgba(17,19,24,.62), rgba(17,19,24,.18) 42%, transparent 62%); pointer-events: none; }
.prism figcaption { z-index: 1; }
.prism__line { max-width: 16ch; font-size: clamp(24px, 2.8vw, 40px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.22; color: #fff; text-shadow: 0 1px 18px rgba(0,0,0,.25); }
.prism__cta { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; background: #fff; color: var(--ink); padding: 14px 22px; border-radius: 999px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.prism__cta::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--onair); }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #C9CACD; padding: 56px 0 calc(48px + env(safe-area-inset-bottom)); font-size: 13.5px; }
.foot__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 28px; align-items: start; }
.foot__brand { grid-column: 1 / span 4; display: flex; gap: 14px; align-items: center; }
.foot__brand img { border-radius: 10px; }
.foot__brand b { color: #fff; font-size: 15px; }
.foot__brand span { font-size: 11px; letter-spacing: .16em; color: #8E9097; }
.foot__freq { grid-column: 5 / span 3; display: grid; gap: 8px; }
.foot__freq div { display: flex; gap: 12px; align-items: baseline; }
.foot__freq dt { font-family: var(--serif); font-size: 24px; color: #fff; min-width: 3ch; line-height: 1; }
.foot__links { grid-column: 9 / span 4; display: grid; gap: 8px; justify-items: start; }
.foot__links a { text-decoration: none; border-bottom: .5px solid rgba(255,255,255,.3); padding-bottom: 1px; }
.foot__links a:hover { color: #fff; border-color: #fff; }
.foot__copy { grid-column: 1 / -1; padding-top: 22px; border-top: .5px solid rgba(255,255,255,.14); color: #8E9097; font-size: 12px; }
.foot__copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot__note { max-width: 60ch; }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .rv.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot, .is-loading .playbtn__ring { animation: none; }
  .dial__needle { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .mast__nav { display: none; }
  .phones__notes { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 24px; padding: 48px 0 0; }
  .phone--a { grid-column: 1 / span 4; } .phone--b { grid-column: 5 / span 4; } .phone--c { grid-column: 9 / span 4; }
}
@media (max-width: 959px) {
  html { scroll-padding-top: 96px; }
  .hero__grid, .slot, .slot__row, .slot__nightgrid, .room, .phones, .wake, .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__copy, .hero__photo, .slot > *, .slot__row > *, .slot__nightgrid > *, .room > *, .wake > *, .foot__grid > * { grid-column: 1 / -1 !important; }
  .hero__photo { order: -1; margin: 0 calc(var(--gut) * -1) 6px; }
  .hero__photo img { height: 38vh; min-height: 250px; }
  .hero__photo figcaption { padding-inline: var(--gut); }
  .hero__title { margin-top: 18px; }
  .tuner { max-width: none; }
  .slot--dawn .slot__photo, .wake__scene { margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1); }
  .slot--dawn .slot__photo figcaption, .slot--lounge .slot__photo figcaption { padding-inline: var(--gut); }
  .slot--dawn .slot__text { padding: 28px 0 0; }
  .slot--lounge .slot__photo { margin: 32px calc(var(--gut) * -1) 0; }
  .slot--lounge .slot__text { padding-top: 0; }
  .slot__time--xl { font-size: 104px; }
  .slot--evening .slot__text { margin-top: 18px; }
  .slot--evening .slot__cap { flex-direction: row; gap: 10px; }
  .slot--night .slot__photo { margin: 0 calc(var(--gut) * -1) 32px; }
  .slot--night figcaption { padding-inline: var(--gut); }
  .sechead { grid-template-columns: 40px minmax(0, 1fr); }
  .sechead__aside { grid-column: 2; margin-top: 8px; }
  .sechead__lede { grid-column: 1 / -1; }
  .essay__head { grid-template-columns: 40px minmax(0, 1fr); }
  .sleeve { margin-bottom: 28px; }
  .shelf { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .shelf button { grid-template-columns: 72px 1fr; }
  .shelf img { width: 72px; height: 72px; }
  .phones { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 10px; }
  .phone--a { grid-column: 1 !important; } .phone--b { grid-column: 2 !important; margin-top: 28px; } .phone--c { grid-column: 3 !important; margin-top: 56px; }
  .phone figcaption { font-size: 11.5px; line-height: 1.4; }
  .phones__notes { grid-template-columns: minmax(0, 1fr); padding-top: 36px; }
  .wake__bg { height: 400px; }
  .phone--alarm { width: 150px; right: var(--gut); bottom: -48px; }
  .wake__text { margin-top: 80px; }
  .notes p { padding-left: 0; }
  .prism figcaption { flex-direction: column; align-items: flex-start; }
  .clock24__bar { height: 92px; }
  .blk { padding: 8px 6px; font-size: 11px; }
  .blk__t { white-space: normal; line-height: 1.25; }
  .blk__f { font-size: 15px; }
  .blk--night-a .blk__t { display: none; }
  .clock24__now { height: 104px; }
}
@media (max-width: 640px) {
  .brand__en { display: none; }
  .lang { padding-left: 0; border: 0; }
  .lang button { padding: 6px 6px; font-size: 12.5px; }
  .ticker__row { gap: 14px; }
  .ticker__clock { padding-right: 14px; }
  .ticker__item#tickMusic { display: none; }
  .ticker__now { max-width: 18ch; }
  .tuner { padding: 18px 16px 14px; border-radius: 16px; }
  .meter { display: none; }
  .tuner__deck { grid-template-columns: auto minmax(0, 1fr); }
  .blk--lounge .blk__t, .blk--morning .blk__t, .blk--evening .blk__t, .blk--night .blk__t { font-size: 10.5px; }
  .blk--night .blk__t, .blk--night .blk__f { display: none; }
}

/* Japanese display sizes: wider glyphs need a smaller setting to keep the two-line title. */
:root[data-lang="ja"] .hero__title { font-size: clamp(32px, 3.7vw, 56px); letter-spacing: -0.03em; line-height: 1.16; }
:root[data-lang="ja"] .hero__title em { font-size: 1.28em; }
:root[data-lang="ja"] .sechead__title, :root[data-lang="ja"] .wake__title { letter-spacing: -0.02em; }
