/* Guide studio — figurative coach help + Calm radio. Uses pack tokens. */
.guide-deck{
  position:relative;
  margin:0 0 22px;
  border:1px solid var(--line);
  border-radius:var(--r-xl);
  overflow:hidden;
  background:
    radial-gradient(1200px 420px at 10% -10%, color-mix(in srgb, var(--focus) 22%, transparent), transparent 58%),
    radial-gradient(900px 380px at 110% 0%, color-mix(in srgb, var(--long) 18%, transparent), transparent 55%),
    var(--surface);
  box-shadow:var(--shadow-2);
}
.guide-slide{
  display:grid;
  grid-template-columns:minmax(220px,.9fr) minmax(0,1.15fr);
  min-height:280px;
}
.guide-photo{
  position:relative;
  margin:0;
  min-height:240px;
  overflow:hidden;
  background:radial-gradient(ellipse at 50% 45%, color-mix(in srgb, var(--focus) 24%, var(--surface-2)), var(--surface-2));
  isolation:isolate;
}
.guide-photo-image{
  position:absolute; inset:0; z-index:0; display:block; width:100%; height:100%; object-fit:cover;
  transition:transform .5s cubic-bezier(.2,.7,.2,1);
}
.guide-slide:hover .guide-photo-image{transform:scale(1.025)}
.guide-photo-fallback{
  position:absolute; inset:0; z-index:0; display:none; place-items:center;
  color:var(--accent); background:radial-gradient(ellipse at 50% 45%, color-mix(in srgb, var(--focus) 24%, var(--surface-2)), var(--surface-2));
}
.guide-photo-fallback svg{display:block; width:min(70%,300px); height:82%; max-height:220px; opacity:.82}
.guide-photo.is-fallback .guide-photo-image,.guide-card .shot.is-fallback .guide-photo-image{display:none}
.guide-photo.is-fallback .guide-photo-fallback,.guide-card .shot.is-fallback .guide-photo-fallback{display:grid}
.guide-photo.is-fallback::after{display:none}
.guide-photo.has-photo::after{z-index:1;pointer-events:none}
.guide-card .shot{
  height:118px; position:relative; overflow:hidden; isolation:isolate;
  background:radial-gradient(ellipse at 50% 40%, color-mix(in srgb, var(--focus) 24%, var(--surface-2)), var(--surface-2));
}
.guide-card .shot::after{
  content:""; position:absolute; inset:35% 0 0; z-index:1; pointer-events:none;
  background:linear-gradient(transparent,rgba(15,18,16,.65));
}
.guide-card .shot .guide-photo-image{transition:transform .35s ease}
.guide-card:hover .shot .guide-photo-image{transform:scale(1.04)}
.guide-card .shot .guide-photo-fallback svg{width:76%;height:100%;max-height:105px;opacity:.7}
.guide-photo-tag{
  position:absolute; left:12px; bottom:10px; z-index:2;
  font-family:var(--font-mono); font-size:10px; letter-spacing:.14em; text-transform:uppercase;
  color:#fff; text-shadow:0 1px 8px #000;
}
.guide-photo::after{
  content:"";
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(90deg, transparent 40%, color-mix(in srgb, var(--surface) 88%, transparent) 100%);
}
.guide-copy{
  padding:28px 28px 22px;
  display:flex; flex-direction:column; gap:10px;
  justify-content:center;
}
.guide-kicker{
  font-family:var(--font-mono);
  font-size:calc(11px*var(--ts,1));
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--focus);
}
.guide-copy h3{
  font-size:clamp(22px, 3vw, 34px);
  line-height:1.05;
  max-width:18ch;
}
.guide-copy p{
  margin:0;
  color:var(--ink-2);
  max-width:46ch;
  font-size:calc(14.5px*var(--ts,1));
}
.guide-say{
  display:inline-block;
  margin-top:4px;
  padding:6px 10px;
  border-radius:999px;
  background:var(--surface-2);
  border:1px solid var(--line);
  font-family:var(--font-mono);
  font-size:calc(12px*var(--ts,1));
}
.guide-nav{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:10px 16px 14px;
  border-top:1px solid var(--line);
  background:color-mix(in srgb, var(--surface) 82%, transparent);
}
.guide-dots{display:flex; gap:6px; flex-wrap:wrap}
.guide-dots button{
  width:9px; height:9px; border-radius:99px; border:0; padding:0;
  background:var(--line-2); cursor:pointer;
}
.guide-dots button.on{background:var(--focus); width:22px}
.guide-actions{display:flex; gap:8px; flex-wrap:wrap}
.guide-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:14px;
  margin:0 0 22px;
}
.guide-card{
  border:1px solid var(--line);
  border-radius:var(--r-l);
  background:var(--surface);
  overflow:hidden;
  box-shadow:var(--shadow-1);
  display:flex; flex-direction:column;
}
.guide-card .pad{padding:14px 16px 16px; display:flex; flex-direction:column; gap:8px; flex:1}
.guide-card h3{font-size:calc(16px*var(--ts,1))}
.guide-card p{margin:0; color:var(--ink-2); font-size:calc(13px*var(--ts,1))}
.help-lead.guide-lead{max-width:62ch}
.radio{
  margin:18px 0 0;
  border:1px solid var(--line);
  border-radius:var(--r-xl);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--rest) 10%, var(--surface)), var(--surface));
  box-shadow:var(--shadow-2);
  overflow:hidden;
}
.radio-head{
  display:flex; justify-content:space-between; gap:16px; align-items:flex-end;
  padding:18px 20px 8px;
}
.radio-head h3{font-size:calc(20px*var(--ts,1))}
.radio-head p{margin:4px 0 0; color:var(--muted); max-width:46ch; font-size:calc(13px*var(--ts,1))}
.radio-now{
  display:grid;
  grid-template-columns:88px minmax(0,1fr) auto;
  gap:14px; align-items:center;
  padding:8px 20px 16px;
}
.radio-art{
  width:88px; height:88px; border-radius:18px;
  background:#20312c center/cover no-repeat;
  box-shadow:var(--shadow-2);
}
.radio-now h4{margin:0; font-size:calc(18px*var(--ts,1))}
.radio-meta{color:var(--muted); font-size:calc(12px*var(--ts,1))}
.radio-controls{display:flex; gap:8px; align-items:center}
.radio-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:10px;
  padding:0 16px 18px;
}
.station{
  text-align:left;
  border:1px solid var(--line);
  background:var(--surface-2);
  border-radius:14px;
  padding:10px 12px;
  cursor:pointer;
  display:grid;
  grid-template-columns:44px minmax(0,1fr);
  gap:10px; align-items:center;
}
.station.on{border-color:var(--rest); box-shadow:0 0 0 3px var(--rest-wash)}
.station .thumb{
  width:44px; height:44px; border-radius:10px;
  background:#1b2724 center/cover no-repeat;
}
.station b{display:block; font-size:calc(13px*var(--ts,1))}
.station small{color:var(--muted); font-size:calc(11px*var(--ts,1))}
.radio audio{width:min(420px,100%); margin-top:8px}
@media (max-width:820px){
  .guide-slide{grid-template-columns:1fr}
  .guide-photo{min-height:160px}
  .guide-photo-fallback svg{height:75%;max-height:150px}
  .guide-photo::after{background:linear-gradient(180deg, transparent 20%, var(--surface) 100%)}
  .radio-now{grid-template-columns:64px minmax(0,1fr); }
  .radio-controls{grid-column:1/-1}
}
@media (prefers-reduced-motion:reduce){
  .guide-dots button{transition:none}
}
