:root {
  --night: #130805;
  --night-2: #241109;
  --ember: #C4561A;
  --ink: #2A1B14;
  --paper: #FBF7F1;
  --tint: #F1E7DA;
  --saffron: #E8B65A;
  --saffron-deep: #94560C;
  --muted: #6B5A4E;
  --line: #E0D2C0;
  --radius: 10px;
  --display: "Tiro Devanagari Hindi", Georgia, serif;
  --body: "Hind", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0 0 1rem; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
p { margin: 0 0 1rem; }

.wrap { width: min(1080px, 100% - 2rem); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--saffron); color: var(--night); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem max(1rem, calc((100% - 1080px) / 2));
  background: rgba(19, 8, 5, .94);
  backdrop-filter: blur(8px);
  color: #fff;
}
.brand { font-family: var(--display); font-size: 1.35rem; text-decoration: none; color: var(--saffron); }
.nav nav { display: flex; gap: 1.6rem; }
.nav nav a { text-decoration: none; font-size: .98rem; color: #F0E4D4; padding: .25rem 0; border-bottom: 2px solid transparent; }
.nav nav a:hover { border-color: var(--saffron); }
.nav-toggle { display: none; background: none; border: 1px solid #7A5A44; color: #fff; padding: .4rem .8rem; border-radius: 6px; font: inherit; cursor: pointer; }

/* HERO */
.hero {
  background: radial-gradient(120% 100% at 50% 0%, #3A180B 0%, var(--night) 70%);
  color: #fff;
  padding: 0 0 clamp(2.5rem, 6vw, 4rem);
}
.hero-banner { display: block; width: 100%; }
.hero-banner img { width: 100%; height: auto; }
.hero-inner { width: min(1080px, 100% - 2rem); margin-inline: auto; padding-top: clamp(1.8rem, 4vw, 3rem); text-align: center; }
.hero-sub { max-width: 40rem; margin: 0 auto; font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: #EBDDCB; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; justify-content: center; }

/* TOPICS */
.topics { background: var(--night-2); color: #fff; border-top: 1px solid #3A2216; }
.topic-list { display: grid; grid-template-columns: repeat(5, 1fr); margin-block: 0; padding: 0; }
.topic-list div { padding: 1.5rem 1.2rem; border-left: 1px solid #3A2216; }
.topic-list div:first-child { border-left: 0; padding-left: 0; }
.topic-list dt { font-family: var(--display); font-size: 1.25rem; color: var(--saffron); margin-bottom: .3rem; }
.topic-list dd { margin: 0; font-size: .95rem; line-height: 1.5; color: #D9C7B0; }

/* BUTTONS */
.btn {
  display: inline-block; cursor: pointer; border: 2px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none;
  padding: .75rem 1.4rem; border-radius: 999px;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--saffron); color: var(--night); }
.btn-primary:hover { background: #F3C97A; }
.btn-ghost { border-color: #9C7650; color: #fff; }
.btn-ghost:hover { border-color: var(--saffron); color: var(--saffron); }

/* SECTIONS */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--night); color: #fff; }
.section-dark .lead { color: #E3D2BC; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.fine { font-size: .92rem; color: var(--muted); margin-top: 1rem; }
.section-dark .fine { color: #C9B59C; }

/* HUB */
.hub { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 1rem; margin-top: 2rem; }
.hub a {
  display: flex; flex-direction: column; gap: .5rem; text-decoration: none;
  padding: 1.5rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff;
  transition: border-color .2s, transform .2s;
}
.hub a:hover { border-color: var(--saffron); transform: translateY(-2px); }
.hub-main { grid-row: span 2; background: var(--night); color: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.hub-main-text { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; }
.hub-main-text .hub-link { text-decoration: none; }
.hub-main-text .hub-link:hover { text-decoration: underline; }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; }
.player-btn, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; }
.player-btn { cursor: pointer; background: #000; display: block; }
.player-btn img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.player-btn:hover img { opacity: 1; }
.play-icon { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--saffron); box-shadow: 0 6px 24px rgba(0,0,0,.45); }
.play-icon::after { content: ""; position: absolute; left: 30px; top: 22px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent var(--night); }
.player-btn:hover .play-icon { background: #F3C97A; }
.hub-title { font-family: var(--display); font-size: 1.7rem; }
.hub-main .hub-title { font-size: 2.3rem; color: var(--saffron); }
.hub-text { color: var(--muted); }
.hub-main .hub-text { color: #E3D2BC; }
.hub-link { font-weight: 600; color: var(--saffron-deep); }
.hub-main .hub-link { color: var(--saffron); }

/* hub: link inside the video card, and side cards */
.hub .hub-main-text a { display: inline; padding: 0; border: 0; background: none; border-radius: 0; }
.hub .hub-main-text a:hover { transform: none; border: 0; }
.hub-side { justify-content: space-between; }
.side-top { display: flex; flex-direction: column; gap: .5rem; }
.side-icon { color: var(--saffron-deep); margin-bottom: .6rem; }
.side-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; padding-top: 1.2rem; margin-top: 1.2rem; border-top: 1px solid var(--line); }
.side-stat { color: var(--muted); }
.side-stat strong { font-family: var(--display); font-weight: 400; font-size: 1.7rem; color: var(--ink); margin-right: .2rem; }
.side-cta { font-weight: 600; font-size: .95rem; padding: .5rem 1.1rem; border-radius: 999px; background: var(--night); color: var(--saffron); transition: background .2s, color .2s; }
.hub-side:hover .side-cta { background: var(--saffron); color: var(--night); }

/* listen row */
.listen { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.listen-card { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.listen-card h3 { margin: 0; font-weight: 400; }
.listen-card .hub-text { margin: 0; }
.listen-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; padding-top: 1rem; }
.pill { display: inline-block; text-decoration: none; font-weight: 600; font-size: .95rem; padding: .55rem 1.2rem; border-radius: 999px; background: var(--night); color: var(--saffron); border: 2px solid var(--night); transition: background .2s, color .2s; }
.pill:hover { background: var(--saffron); color: var(--night); border-color: var(--saffron); }
.pill-alt { background: transparent; color: var(--night); }

/* platform colours: make the cards stand out */
.hub-side, .listen-card, .hub-main { box-shadow: 0 12px 30px rgba(19, 8, 5, .12); }
.hub .hub-side.brand-ig { border-top: 5px solid #EE2A7B; }
.hub .hub-side.brand-x { border-top: 5px solid #111; }
.listen-card.brand-podcast { border-top: 5px solid #1DB954; }
.listen-card.brand-music { border-top: 5px solid #FA243C; }
.hub .hub-side:hover, .listen-card:hover { box-shadow: 0 18px 40px rgba(19, 8, 5, .2); }
.listen-card { transition: transform .2s, box-shadow .2s; }
.listen-card:hover { transform: translateY(-2px); }

.icon-tile { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 15px; color: #fff; margin-bottom: .6rem; }
.icon-tile .side-icon { color: inherit; margin: 0; }
.brand-ig .icon-tile { background: linear-gradient(45deg, #F9A825, #EE2A7B 55%, #6228D7); }
.brand-x .icon-tile { background: #111; }
.brand-podcast .icon-tile { background: linear-gradient(145deg, #2A140B, #130805); color: var(--saffron); }
.brand-music .icon-tile { background: linear-gradient(145deg, #E8672A, #C4561A); }

.brand-ig .side-cta { background: linear-gradient(45deg, #F9A825, #EE2A7B 55%, #6228D7); color: #fff; }
.brand-x .side-cta { background: #111; color: #fff; }
.hub .brand-ig:hover .side-cta, .hub .brand-x:hover .side-cta { filter: brightness(1.12); color: #fff; }
.brand-ig:hover .side-cta { background: linear-gradient(45deg, #F9A825, #EE2A7B 55%, #6228D7); }
.brand-x:hover .side-cta { background: #111; }

.pill-spotify { background: #1DB954; border-color: #1DB954; color: #08130C; }
.pill-spotify:hover { background: #3DD672; border-color: #3DD672; color: #08130C; }
.pill-yt { background: #E62117; border-color: #E62117; color: #fff; }
.pill-yt:hover { background: #FF4136; border-color: #FF4136; color: #fff; }
.pill-apple { background: #FA243C; border-color: #FA243C; color: #fff; }
.pill-apple:hover { background: #FF4F63; border-color: #FF4F63; color: #fff; }

/* ABOUT */
.about { display: grid; grid-template-columns: 340px 1fr; gap: 3.5rem; align-items: start; }
.portrait { margin: 0; }
.portrait img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 18px 40px rgba(19, 8, 5, .22); }
.portrait figcaption { margin-top: .7rem; font-size: .95rem; color: var(--muted); }
.prose { max-width: 38rem; }
.byline { color: var(--muted); font-size: .98rem; padding-top: .8rem; border-top: 1px solid var(--line); }

/* MISSION */
.mission-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3.5rem; align-items: start; }
.mission-statement { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.15rem); line-height: 1.3; color: var(--saffron); margin: 0; }
.mission .prose p { color: #EBDDCB; }
.pledges { margin: 2rem 0 0; padding: 0; border-top: 1px solid #3A2216; }
.pledges div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #3A2216; }
.pledges dt { font-family: var(--display); font-size: 1.15rem; color: #fff; }
.pledges dd { margin: 0; color: #D9C7B0; }

/* BOOK */
.book { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; align-items: center; }
.book-cover {
  aspect-ratio: 2 / 3; border-radius: 6px 12px 12px 6px;
  background: linear-gradient(145deg, var(--night-2), var(--night));
  box-shadow: -8px 0 0 #0A0402 inset, 0 18px 40px rgba(19, 8, 5, .3);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 1.6rem 1.4rem 1.6rem 1.8rem; color: #fff;
}
.book-cover-label { color: var(--saffron); font-size: .95rem; }
.book-cover-title { font-family: var(--display); font-size: 1.7rem; line-height: 1.2; color: #E3D2BC; }

/* FORMS */
.inline-form { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; max-width: 30rem; }
.inline-form input { flex: 1 1 14rem; }
input, textarea {
  font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #CDBBA4; border-radius: 8px; padding: .75rem .9rem; width: 100%;
}
input:focus, textarea:focus { border-color: var(--night); outline: 3px solid rgba(242, 169, 0, .5); outline-offset: 0; }
.stack-form { display: grid; gap: .5rem; margin-top: 1.2rem; max-width: 30rem; }
.stack-form label { font-weight: 600; font-size: .95rem; margin-top: .4rem; }
.stack-form .btn { justify-self: start; margin-top: .8rem; }
.form-status { min-height: 1.5rem; margin: .8rem 0 0; font-weight: 500; }
.form-status.ok { color: #1E7A4C; }
.form-status.err { color: #B3261E; }

/* COLLAB */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2.2rem 0; padding: 0; }
.stats div { border-top: 2px solid var(--saffron); padding-top: .8rem; }
.stats dt { color: #E3D2BC; font-size: .98rem; order: 2; }
.stats dd { margin: 0; font-family: var(--display); font-size: clamp(2rem, 5vw, 3.2rem); color: var(--saffron); line-height: 1.1; }
.stats div { display: flex; flex-direction: column; }
.formats { padding-left: 1.2rem; margin: 0 0 2rem; max-width: 38rem; }
.formats li { margin-bottom: .6rem; color: #EBDDCB; }

/* PODCAST */
.two-col { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3.5rem; }
.news { padding: 1.8rem; border-radius: var(--radius); background: var(--tint); align-self: start; }

/* FOOTER */
.footer { background: #0C0503; color: #E3D2BC; padding: 2.5rem 0; }
.footer-in { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: flex-start; }
.footer-brand { font-family: var(--display); font-size: 1.5rem; color: var(--saffron); margin: 0; }
.footer-tag { margin: 0; }
.footer-links { list-style: none; display: flex; gap: 1.4rem; padding: 0; margin: 0; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--saffron); }
.copy { flex-basis: 100%; font-size: .9rem; margin: 0; padding-top: 1.2rem; border-top: 1px solid #2E1A10; }

/* RESPONSIVE */
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--night); padding: .5rem 1rem 1rem;
  }
  .nav nav.open { display: flex; }
  .nav nav a { padding: .8rem 0; border-bottom: 1px solid #3A2216; }
  .hub, .about, .book, .two-col, .mission-grid, .listen { grid-template-columns: 1fr; }
  .mission-grid { gap: 1.5rem; }
  .pledges div { grid-template-columns: 1fr; gap: .2rem; }
  .about { gap: 2rem; }
  .portrait { max-width: 320px; }
  .topic-list { grid-template-columns: 1fr 1fr; }
  .topic-list div, .topic-list div:first-child { border-left: 0; padding: 1rem 0; border-top: 1px solid #3A2216; }
  .topic-list div:first-child { border-top: 0; }
  .hub-main { grid-row: auto; }
  .book { gap: 2rem; }
  .book-cover { max-width: 220px; }
  .stats { grid-template-columns: 1fr; }
  .two-col { gap: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hub a, .btn { transition: none; }
}
