/* ============================================================
   Roshan Cariappa — personal one-pager
   Palette: charcoal / coffee / saffron. Type: Fraunces + DM Sans.
   ============================================================ */

:root {
  --bg: #1A1A1A;
  --bg-coffee: #2C1A0E;
  --bg-night: #10141B;
  --ink: #F0EDE8;
  --ink-dim: rgba(240, 237, 232, 0.62);
  --ink-faint: rgba(240, 237, 232, 0.55);
  --amber: #E8912D;
  --gold: #B8860B;
  --terracotta: #C75B12;
  --hairline: rgba(240, 237, 232, 0.1);
  --card: rgba(240, 237, 232, 0.035);
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", -apple-system, sans-serif;
  --kannada: "Noto Sans Kannada", sans-serif;
  --devanagari: "Noto Serif Devanagari", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }
html, body { overflow-x: hidden; overflow-x: clip; width: 100%; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 390;
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--amber); color: #1A1208; }

a { color: inherit; }

/* ---------- fixed layers ---------- */

.bg-morph {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--bg);
  will-change: background-color;
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 90;
  background: transparent;
}
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--terracotta), var(--amber));
  transform: scaleX(0);
  transform-origin: left center;
}

/* ---------- primitives ---------- */

.container {
  width: min(92vw, 1200px);
  margin-inline: auto;
}

section, .hero { position: relative; }

section {
  padding: clamp(6.5rem, 13vh, 11rem) 0;
}

.section-head { margin-bottom: clamp(3rem, 6vh, 5rem); }

.kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.4rem;
}

h2 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 380;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: 1.6rem;
}
h2 em {
  font-style: normal;
  color: var(--amber);
}

.lede {
  max-width: 60ch;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  color: var(--ink-dim);
}
.lede a { color: var(--ink); text-decoration-color: var(--gold); }
.lede--center { margin-inline: auto; text-align: center; }

.divider {
  height: 1px;
  background: var(--hairline);
  position: relative;
}
.divider::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 8px; height: 8px;
  background: var(--amber);
  transform: translate(-50%, -50%) rotate(45deg);
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1.15rem clamp(1.2rem, 4vw, 2.8rem);
  background: linear-gradient(to bottom, rgba(20, 18, 16, 0.78), rgba(20, 18, 16, 0));
  pointer-events: none;
}
.nav a { pointer-events: auto; }

.nav-mark {
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
}

.nav-hello {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  text-decoration: none;
  transition: color 0.25s;
}
.nav-hello:hover { color: var(--ink); }

/* ---------- hero ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6.5rem 0 2.6rem;
  overflow: hidden;
}

.kolam {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(240, 237, 232, 0.14) 1px, transparent 1.6px),
    radial-gradient(rgba(232, 145, 45, 0.1) 1px, transparent 1.6px);
  background-size: 34px 34px, 34px 34px;
  background-position: 0 0, 17px 17px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, black 25%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, black 25%, transparent 72%);
  opacity: 0.5;
}

.hero-glow {
  position: absolute;
  width: 90vw; height: 70vh;
  left: 50%; top: 38%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(199, 91, 18, 0.16) 0%, rgba(232, 145, 45, 0.07) 40%, transparent 70%);
  filter: blur(10px);
}

.hero-kannada {
  position: absolute;
  left: 50%; top: 44%;
  transform: translate(-50%, -50%);
  font-family: var(--kannada);
  font-weight: 600;
  font-size: clamp(11rem, 32vw, 26rem);
  color: rgba(240, 237, 232, 0.028);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
}

.hero-inner {
  position: relative;
  width: min(94vw, 1400px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portrait {
  position: relative;
  width: 96px; height: 96px;
  margin-bottom: 1.8rem;
  border-radius: 50%;
  padding: 3px;
  border: 2px solid rgba(232, 145, 45, 0.65);
}
.portrait img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--bg);
}
.portrait-fallback {
  display: none;
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #241A10;
  color: var(--amber);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 88px;
  text-align: center;
}
.portrait.no-photo img { display: none; }
.portrait.no-photo .portrait-fallback { display: block; }

.hero-name {
  font-family: var(--serif);
  font-weight: 420;
  font-size: clamp(3.4rem, 10vw, 8.2rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 1.7rem;
}
.hero-name em {
  font-style: normal;
  font-weight: 420;
  color: var(--amber);
}

.hero-line {
  max-width: 62ch;
  color: var(--ink-dim);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  margin-bottom: 3rem;
}
.hero-line a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(232, 145, 45, 0.55);
  text-underline-offset: 3px;
  transition: color 0.25s, text-decoration-color 0.25s;
}
.hero-line a:hover { color: var(--amber); text-decoration-color: var(--amber); }

/* constellation */

.constellation {
  position: relative;
  width: min(90vw, 980px);
  height: 160px;
}
.constellation-lines {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.constellation-lines polyline {
  stroke: rgba(240, 237, 232, 0.28);
  stroke-width: 1.6;
  stroke-dasharray: 0.5 8;
  stroke-linecap: round;
}

.node {
  position: absolute;
  left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
/* zigzag: top-row nodes carry their label above the dot,
   bottom-row nodes below — labels stay clear of the dotted line */
.node:nth-of-type(odd) { flex-direction: column-reverse; }

.node-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--amber);
  background: rgba(232, 145, 45, 0.12);
  transition: background 0.3s, box-shadow 0.3s;
}

.node-label {
  font-size: 0.72rem;
  font-weight: 550;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  transition: color 0.3s;
  white-space: nowrap;
}
.node:hover .node-dot { background: var(--amber); box-shadow: 0 0 14px rgba(232, 145, 45, 0.55); }
.node:hover .node-label { color: var(--ink); }

.scroll-cue {
  margin-top: clamp(1.8rem, 4vh, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink-faint);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.scroll-cue i {
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, var(--amber), transparent);
  animation: cueDrop 2.2s ease-in-out infinite;
}
@keyframes cueDrop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- operator timeline ----------
   Base layout: vertical column (works with no JS, reduced motion, CDN failure).
   html.tl-pin (added by main.js on wide+tall viewports) switches to the pinned
   horizontal scrub layout. */

.operator { padding-bottom: 0; }

.tl-wrap {
  position: relative;
  padding-bottom: 4rem;
}
html.tl-pin .tl-wrap {
  padding-bottom: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.tl-track {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 3rem);
  width: min(92vw, 560px);
  margin-inline: auto;
}
html.tl-pin .tl-track {
  flex-direction: row;
  width: max-content;
  margin: 0;
  padding-left: max(4vw, calc((100vw - 1200px) / 2));
  padding-right: 8vw;
  will-change: transform;
}

.tl-card {
  flex: 0 0 auto;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 2.2rem 2.2rem 4.4rem;
  position: relative;
  transition: border-color 0.35s, transform 0.35s;
}
html.tl-pin .tl-card { width: min(420px, 80vw); }
.tl-card:hover { border-color: rgba(232, 145, 45, 0.4); transform: translateY(-6px); }

.tl-era {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.1rem;
}
.tl-card h3 {
  font-family: var(--serif);
  font-weight: 420;
  font-size: 1.9rem;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}
.tl-card h3 a {
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 145, 45, 0.35);
  transition: color 0.25s, border-color 0.25s;
}
.tl-card h3 a:hover { color: var(--amber); border-color: var(--amber); }

.tl-role {
  font-size: 0.85rem;
  font-weight: 550;
  color: var(--gold);
  margin-bottom: 1rem;
}
.tl-card > p:not(.tl-role):not(.tl-footnote) {
  color: var(--ink-dim);
  font-size: 0.98rem;
}
.tl-press { color: var(--ink); text-decoration-color: var(--gold); }

.tl-card blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
  border-left: 2px solid var(--amber);
  padding-left: 1rem;
  margin-top: 1.2rem;
}
.tl-footnote {
  margin-top: 1.1rem;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

.tl-chip {
  position: absolute;
  bottom: 1.6rem;
  left: 2.2rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}
.tl-chip--amber { color: var(--amber); border-color: rgba(232, 145, 45, 0.45); }

.tl-card--next { border-style: dashed; border-color: rgba(232, 145, 45, 0.4); }

/* progress dots for the pinned horizontal timeline (built by main.js) */
.tl-dots { display: none; }
html.tl-pin .tl-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(1.8rem, 4.5vh, 3.2rem);
  transform: translateX(-50%);
  display: flex;
  gap: 0.7rem;
}
.tl-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(232, 145, 45, 0.5);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.tl-dot:hover { border-color: var(--amber); }
.tl-dot.is-active {
  background: var(--amber);
  border-color: var(--amber);
  transform: scale(1.3);
}

/* ---------- bharatvaarta ---------- */

.devanagari {
  display: block;
  font-family: var(--devanagari);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  color: var(--ink-faint);
  margin-top: 0.8rem;
  letter-spacing: 0.02em;
}

.section-head { position: relative; }

.steam {
  position: absolute;
  right: max(2vw, calc((100% - 1200px) / 2));
  top: 0;
  width: 44px;
  height: 66px;
  overflow: visible;
}
.steam path {
  fill: none;
  stroke: rgba(232, 145, 45, 0.4);
  stroke-width: 1.6;
  stroke-linecap: round;
  animation: steamRise 4.5s ease-in-out infinite;
}
.steam path:nth-child(2) { animation-delay: 1.4s; }
@keyframes steamRise {
  0% { opacity: 0; transform: translateY(8px); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-10px); }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2.6rem 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: clamp(3.5rem, 7vh, 6rem);
}
.stat-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
}

/* guest book — static wall, nothing moves */

.guestbook { margin-bottom: clamp(3.5rem, 7vh, 6rem); }
.marquee-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.6rem;
}

.guest-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.guest-chips span {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-dim);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  white-space: nowrap;
}
.guest-chips i {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  margin-left: 0.5rem;
}

/* episode stack */

.ep-intro { margin-bottom: 3rem; }
.ep-heading {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.15;
}
.ep-heading em { color: var(--amber); font-style: normal; }

.ep-stack {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  margin-bottom: clamp(4rem, 8vh, 6.5rem);
}

.ep-card {
  position: sticky;
  top: calc(8vh + var(--i) * 1.8rem);
  background: #241509;
  border: 1px solid rgba(232, 145, 45, 0.18);
  border-radius: 14px;
  padding: clamp(1.5rem, 2.6vw, 2.4rem);
  box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.4);
}

.ep-head {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  margin-bottom: 0.7rem;
}
.ep-num {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  color: rgba(232, 145, 45, 0.75);
  line-height: 1;
  flex: 0 0 auto;
}
.ep-card h4 {
  font-family: var(--serif);
  font-weight: 440;
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  line-height: 1.2;
}
.ep-card p { color: var(--ink-dim); font-size: 0.98rem; margin-bottom: 1.2rem; max-width: 72ch; }

.ep-video {
  aspect-ratio: 16 / 9;
  max-width: 860px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: #000;
  margin-bottom: 1.2rem;
}
.ep-video iframe { width: 100%; height: 100%; border: 0; display: block; }

.ep-link {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--amber);
  text-decoration: none;
  transition: letter-spacing 0.3s;
}
.ep-link:hover { letter-spacing: 0.1em; }

.ep-more { margin-bottom: clamp(3rem, 6vh, 5rem); }
.ep-channel {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 145, 45, 0.45);
  padding-bottom: 0.2rem;
  transition: color 0.3s, border-color 0.3s;
}
.ep-channel:hover { color: var(--amber); border-color: var(--amber); }

/* platforms */

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.platforms a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-dim);
  text-decoration: none;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  transition: color 0.3s, border-color 0.3s, transform 0.3s;
}
.platforms a:hover {
  color: var(--amber);
  border-color: rgba(232, 145, 45, 0.5);
  transform: translateY(-2px);
}

/* ---------- writer ---------- */

.writer-index { border-bottom: 1px solid var(--hairline); }

.w-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.1rem 0.5rem;
  border-top: 1px solid var(--hairline);
  text-decoration: none;
  transition: background 0.35s, padding-left 0.35s;
}
.w-row:hover { background: rgba(240, 237, 232, 0.025); padding-left: 1.2rem; }

.w-row h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.15;
  margin-bottom: 0.35rem;
  transition: color 0.3s;
}
.w-row:hover h3 { color: var(--amber); }
.w-row p { color: var(--ink-faint); font-size: 0.92rem; max-width: 56ch; }
.w-featured { color: var(--ink-dim); font-style: italic; }

.w-row--sub h3 { font-size: clamp(1.15rem, 2.2vw, 1.6rem); }
.w-row--sub { padding-left: 2.4rem; }
.w-row--sub:hover { padding-left: 3.4rem; }

.w-arrow {
  font-size: 1.6rem;
  color: var(--ink-faint);
  transition: transform 0.35s, color 0.35s;
  flex: 0 0 auto;
}
.w-row:hover .w-arrow { transform: translateX(10px); color: var(--amber); }

/* ---------- musician ---------- */

.musician-grid {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.vinyl-wrap { display: flex; justify-content: center; }
.vinyl {
  width: min(380px, 70vw);
  will-change: transform;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.55));
}
.v-disc { fill: #0B0D12; stroke: rgba(240, 237, 232, 0.12); stroke-width: 1; }
.v-groove { fill: none; stroke: rgba(240, 237, 232, 0.07); stroke-width: 1; }
.v-label { fill: var(--terracotta); }
.v-hole { fill: #0B0D12; }
.v-text {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  fill: rgba(16, 12, 8, 0.85);
  text-anchor: middle;
}
.v-text--yr { font-size: 8px; fill: rgba(16, 12, 8, 0.6); }

.musician-copy .lede strong { color: var(--amber); font-weight: 550; }

.spotify-embed {
  margin-top: 2.2rem;
  border-radius: 14px;
  overflow: hidden;
  max-width: 560px;
}
.spotify-embed iframe { display: block; border: 0; }

.musician-links { display: flex; gap: 1rem; margin-top: 1.4rem; flex-wrap: wrap; }
.musician-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-dim);
  text-decoration: none;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  transition: color 0.3s, border-color 0.3s;
}
.musician-links a:hover { color: var(--amber); border-color: rgba(232, 145, 45, 0.5); }

/* ---------- thinker ---------- */

.thinker { text-align: center; }

.creed-lead {
  font-size: clamp(2.1rem, 4.5vw, 3.7rem);
  line-height: 1.12;
  max-width: 34ch;
  margin-inline: auto;
  margin-bottom: clamp(2.4rem, 5vh, 3.4rem);
}
.creed-lead span {
  display: block;
  text-wrap: balance;
}

.quote-scrub {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(1.3rem, 2.5vw, 2.05rem);
  line-height: 1.42;
  max-width: 38ch;
  margin: 0 auto 1.5rem;
  color: var(--ink);
}
.quote-scrub .w { opacity: 0.12; }

.quote-cite { color: var(--ink-faint); font-size: 0.9rem; }
.quote-cite a { color: var(--ink-dim); text-decoration-color: var(--gold); }
.quote-cite a:hover { color: var(--amber); }

/* ---------- press ---------- */

.heard { margin-top: 4.5rem; }
.heard + .heard { margin-top: 2.4rem; }
.heard .marquee-title { margin-bottom: 1.2rem; }
.heard-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.heard-chips a {
  font-size: 0.82rem;
  color: var(--ink-dim);
  text-decoration: none;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  transition: color 0.3s, border-color 0.3s, transform 0.3s;
}
.heard-chips a:hover {
  color: var(--amber);
  border-color: rgba(232, 145, 45, 0.5);
  transform: translateY(-2px);
}

.press-pub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 0.5rem;
}

/* ---------- connect ---------- */

.connect { text-align: center; padding-bottom: clamp(5rem, 9vh, 8rem); }

.tumbler {
  width: 74px;
  margin: 0 auto 1.8rem;
  display: block;
  overflow: visible;
}
.t-cup { fill: none; stroke: rgba(232, 145, 45, 0.75); stroke-width: 2; }
.t-steam {
  fill: none;
  stroke: rgba(232, 145, 45, 0.45);
  stroke-width: 1.6;
  stroke-linecap: round;
  animation: steamRise 4s ease-in-out infinite;
}
.t-steam:nth-child(2) { animation-delay: 1.2s; }

.connect-title {
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  margin-bottom: 1.4rem;
}

.connect-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  margin-top: 3.6rem;
}
.connect-tiles a {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: flex-start;
  text-align: left;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 1.5rem 1.6rem;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.connect-tiles a:hover {
  border-color: rgba(232, 145, 45, 0.5);
  background: rgba(232, 145, 45, 0.05);
  transform: translateY(-4px);
}
.connect-tiles strong { font-family: var(--serif); font-weight: 450; font-size: 1.15rem; }
.connect-tiles span { font-size: 0.82rem; color: var(--ink-faint); word-break: break-all; }

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--hairline);
  padding: 3.2rem 0 3.6rem;
}
.footer-inner { text-align: center; }
.footer-kannada {
  display: block;
  font-family: var(--kannada);
  font-size: 1.5rem;
  color: rgba(232, 145, 45, 0.55);
  margin-bottom: 0.9rem;
}
.footer p { color: var(--ink-dim); font-size: 0.9rem; }
.footer-fine { margin-top: 0.4rem; color: var(--ink-faint) !important; font-size: 0.78rem !important; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .musician-grid { grid-template-columns: 1fr; }
  .vinyl { width: min(300px, 62vw); }
}

@media (max-width: 860px) {
  .constellation { height: auto; margin-top: 0.5rem; }
  .constellation-lines { display: none; }
  .constellation {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem 0.5rem;
  }
  .node { position: static; transform: none; animation: none; }
  .node:nth-of-type(odd) { flex-direction: column; }

  .steam { display: none; }
  .w-row--sub { padding-left: 1.2rem; }
}

@media (max-width: 520px) {
  .nav { padding: 0.95rem 1.1rem; }
  .nav-mark { font-size: 0.9rem; }
  .stats { gap: 1.4rem; }
  .constellation { grid-template-columns: repeat(2, 1fr); }
}

/* Very short viewports: let episode cards flow instead of sticking. */
@media (max-height: 560px) {
  .ep-card { position: static; }
}

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

@media (prefers-reduced-motion: reduce) {
  .scroll-cue i, .steam path, .t-steam {
    animation: none !important;
  }
  .quote-scrub .w { opacity: 1; }
}
