/* ==========================================================================
   Kulwant Kaur Chann — Official Website
   Palette: ivory, cream, brass gold, deep burgundy
   ========================================================================== */

/* ---------- Fonts (self-hosted: no third-party requests) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+FEFF, U+FFFD; }

@font-face { font-family: "Mukta Mahee"; font-weight: 400; font-display: swap;
  src: url("../fonts/mukta-mahee-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mukta Mahee"; font-weight: 400; font-display: swap;
  src: url("../fonts/mukta-mahee-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Mukta Mahee"; font-weight: 400; font-display: swap;
  src: url("../fonts/mukta-mahee-gurmukhi-400-normal.woff2") format("woff2");
  unicode-range: U+0951-0952, U+0964-0965, U+0A01-0A76, U+200C-200D, U+20B9, U+25CC, U+262C, U+A830-A839; }
@font-face { font-family: "Mukta Mahee"; font-weight: 600; font-display: swap;
  src: url("../fonts/mukta-mahee-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mukta Mahee"; font-weight: 600; font-display: swap;
  src: url("../fonts/mukta-mahee-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Mukta Mahee"; font-weight: 600; font-display: swap;
  src: url("../fonts/mukta-mahee-gurmukhi-600-normal.woff2") format("woff2");
  unicode-range: U+0951-0952, U+0964-0965, U+0A01-0A76, U+200C-200D, U+20B9, U+25CC, U+262C, U+A830-A839; }

@font-face { font-family: "Noto Serif Gurmukhi"; font-weight: 500; font-display: swap;
  src: url("../fonts/noto-serif-gurmukhi-gurmukhi-500-normal.woff2") format("woff2");
  unicode-range: U+0951-0952, U+0964-0965, U+0A01-0A76, U+200C-200D, U+20B9, U+25CC, U+262C, U+A830-A839; }
@font-face { font-family: "Noto Serif Gurmukhi"; font-weight: 600; font-display: swap;
  src: url("../fonts/noto-serif-gurmukhi-gurmukhi-600-normal.woff2") format("woff2");
  unicode-range: U+0951-0952, U+0964-0965, U+0A01-0A76, U+200C-200D, U+20B9, U+25CC, U+262C, U+A830-A839; }

/* ---------- Tokens ---------- */
:root {
  --ivory: #fbf7ef;
  --cream: #f3eadb;
  --sand: #e6d8bf;
  --gold: #a9863f;         /* decorative lines, large type */
  --gold-text: #8a6a2c;    /* gold for small text on light (AA) */
  --gold-light: #dcc188;   /* gold on dark backgrounds */
  --burgundy: #5a1726;
  --wine: #380d17;
  --ink: #2a1b1d;
  --muted: #69564f;
  --on-dark: #f6ecdc;
  --on-dark-muted: #d9c8b3;

  --display: "Cormorant Garamond", "Noto Serif Gurmukhi", Georgia, "Times New Roman", serif;
  --body: "Mukta Mahee", "Noto Sans Gurmukhi", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4.5vw, 40px);
  --section: clamp(72px, 11vw, 140px);
  --radius-arch: 999px 999px 6px 6px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1.0625rem, .35vw + 1rem, 1.1875rem);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[data-lang="pa"] body { line-height: 1.85; }
img, svg, iframe { display: block; max-width: 100%; }
p { margin: 0 0 1em; }
a { color: var(--burgundy); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--wine); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; }
:lang(pa-Guru), [lang="pa-Guru"] { letter-spacing: 0; }
html[data-lang="pa"] h1, html[data-lang="pa"] h2, html[data-lang="pa"] h3 { line-height: 1.3; }

:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; border-radius: 4px; }
.song :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-light); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--burgundy); color: var(--ivory); padding: .6em 1em; border-radius: 6px;
}
.skip-link:focus { top: 12px; color: var(--ivory); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.4em;
  font: 600 1rem/1.2 var(--body); letter-spacing: .01em;
  text-decoration: none; border-radius: 999px; border: 1px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  cursor: pointer;
}
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.btn-primary { background: var(--burgundy); color: var(--ivory); }
.btn-primary:hover { background: var(--wine); color: var(--ivory); }
.btn-ghost { border-color: var(--burgundy); color: var(--burgundy); }
.btn-ghost:hover { background: var(--burgundy); color: var(--ivory); }
.btn-light { background: var(--on-dark); color: var(--wine); }
.btn-light:hover { background: #fff; color: var(--wine); }
.btn-quiet { padding: .5em 0; min-height: 44px; color: var(--burgundy); border-radius: 0; border-bottom: 1px solid var(--gold); }
.btn-quiet:hover { color: var(--wine); border-color: var(--burgundy); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 239, .9);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid rgba(169, 134, 63, .22);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .55em; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand .moon { width: 22px; height: 22px; fill: var(--gold); }
.brand-name { font-family: var(--display); font-size: 1.35rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 2vw, 28px); }
.site-nav a { color: var(--ink); text-decoration: none; font-size: .98rem; padding: .4em 0; border-bottom: 1px solid transparent; }
.site-nav a:hover { color: var(--burgundy); border-color: var(--gold); }

.lang-switch { display: inline-flex; border: 1px solid var(--sand); border-radius: 999px; padding: 3px; background: var(--ivory); }
.lang-switch button {
  font: 600 .82rem/1 var(--body); color: var(--muted); background: none; border: 0;
  min-width: 38px; min-height: 34px; padding: 0 .6em; border-radius: 999px; cursor: pointer;
}
.lang-switch button[lang="pa-Guru"] { font-size: .95rem; }
.lang-switch button[aria-pressed="true"] { background: var(--burgundy); color: var(--ivory); }
.lang-switch button:hover:not([aria-pressed="true"]) { color: var(--burgundy); }

.nav-toggle { display: none; }

@media (max-width: 900px) {
  .header-inner { gap: 10px; }
  .brand-name { font-size: 1.2rem; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 0; background: none; cursor: pointer; border-radius: 8px;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    display: block; width: 22px; height: 1.5px; background: var(--ink); position: relative;
    transition: transform .25s var(--ease), background-color .2s;
  }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -7px; }
  .nav-toggle-bar::after { top: 7px; }
  .nav-open .nav-toggle-bar { background: transparent; }
  .nav-open .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ivory); border-bottom: 1px solid var(--sand);
    box-shadow: 0 18px 30px -24px rgba(56, 13, 23, .45);
    display: none;
  }
  .nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 18px; }
  .site-nav a { display: block; padding: .8em 0; font-size: 1.1rem; border-bottom: 1px solid rgba(169,134,63,.18); }
  html:not(.js) .site-nav { position: static; display: block; box-shadow: none; }
  html:not(.js) .nav-toggle { display: none; }
}
@media (max-width: 440px) { .brand-name { font-size: 1.05rem; } .brand .moon { width: 18px; height: 18px; } .lang-switch button { min-width: 32px; min-height: 32px; padding: 0 .45em; } }
@media (max-width: 350px) { .brand-name { font-size: .95rem; } }

/* ---------- Photos & placeholder ---------- */
.photo { position: relative; margin: 0; overflow: hidden; background: var(--cream); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.photo-placeholder {
  position: absolute; inset: 0; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  color: var(--gold-text); font-size: .95rem; text-align: center; padding: 24px;
  background:
    radial-gradient(120% 80% at 50% 20%, rgba(255,255,255,.55), transparent 60%),
    linear-gradient(170deg, var(--cream), var(--sand));
}
.photo-placeholder svg { width: 54px; height: 54px; fill: none; stroke: var(--gold); stroke-width: 1; }
.photo.is-missing .photo-placeholder { display: flex; }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 6vw, 72px) 0 var(--section); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(32px, 6vw, 88px); }
.hero-text { order: 1; }
.hero-photo { order: 2; }

.hero-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-arch);
  width: 100%; max-width: 480px; justify-self: center;
  box-shadow: 0 40px 70px -40px rgba(56, 13, 23, .55);
  overflow: visible;
  isolation: isolate;
}
.hero-photo img, .hero-photo .photo-placeholder { border-radius: inherit; }
.hero-photo::after {           /* thin brass arch drawn just outside the photo */
  content: ""; position: absolute; inset: -14px; z-index: -1;
  border: 1px solid var(--gold); border-radius: var(--radius-arch);
  opacity: .7; pointer-events: none;
}
.hero-photo img { border-radius: inherit; }

.hero-gurmukhi {
  font-family: "Noto Serif Gurmukhi", var(--display);
  font-weight: 500; color: var(--gold-text);
  font-size: clamp(1.25rem, 1.4vw + .9rem, 1.75rem);
  margin: 0 0 .35em;
}
.hero-name {
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: .92; letter-spacing: -.025em; color: var(--wine);
}
.hero-name span { display: block; }
.hero-name span + span { padding-left: .5em; }
html[data-lang="pa"] .hero-name { line-height: .92; }
.hero-subtitle {
  margin: 1.2em 0 0; color: var(--burgundy);
  font-size: clamp(1rem, .4vw + .95rem, 1.15rem); font-weight: 600; letter-spacing: .04em;
}
.hero-intro {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(1.35rem, 1vw + 1.05rem, 1.75rem); line-height: 1.35;
  color: var(--ink); max-width: 30ch; margin: .9em 0 1.4em;
}
html[data-lang="pa"] .hero-intro { font-style: normal; font-size: clamp(1.2rem, .8vw + 1rem, 1.5rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.social-row { display: flex; gap: 6px; margin-top: 26px; }
.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; color: var(--burgundy);
  border: 1px solid rgba(169,134,63,.45);
  transition: background-color .2s, color .2s, border-color .2s;
}
.social-icon svg { width: 18px; height: 18px; fill: currentColor; }
.social-icon:hover { background: var(--burgundy); border-color: var(--burgundy); color: var(--ivory); }

/* One orchestrated entrance, hero only */
@media (prefers-reduced-motion: no-preference) {
  .hero-photo { animation: rise 1.1s var(--ease) both; }
  .hero-gurmukhi, .hero-name span, .hero-subtitle, .hero-intro, .hero-actions, .hero .social-row {
    animation: rise .9s var(--ease) both;
  }
  .hero-gurmukhi { animation-delay: .15s; }
  .hero-name span:first-child { animation-delay: .25s; }
  .hero-name span + span { animation-delay: .35s; }
  .hero-subtitle { animation-delay: .5s; }
  .hero-intro { animation-delay: .6s; }
  .hero-actions, .hero .social-row { animation-delay: .7s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-width: 820px) {
  .hero { padding-top: 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero-photo { order: 1; max-width: min(66vw, 300px); }
  .hero-text { order: 2; }
  .hero-name span + span { padding-left: 0; }
  .hero-intro { margin-left: auto; margin-right: auto; }
  .hero-actions, .social-row { justify-content: center; }
  .hero-actions .btn { flex: 1 1 240px; max-width: 340px; }
}

/* ---------- Phulkari-inspired band (used once, above the song) ---------- */
.song::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M14 1 21 7 14 13 7 7Z' fill='none' stroke='%23dcc188' stroke-width='1'/%3E%3Cpath d='M14 4.5 16.5 7 14 9.5 11.5 7Z' fill='%23dcc188'/%3E%3Cpath d='M0 7h4M24 7h4' stroke='%23dcc188' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-position: center; opacity: .55;
}

/* ---------- Featured song ---------- */
.song {
  position: relative;
  background:
    radial-gradient(70% 55% at 50% 38%, rgba(140, 40, 60, .55), transparent 70%),
    linear-gradient(180deg, var(--burgundy), var(--wine));
  color: var(--on-dark);
  padding: calc(var(--section) * .85) 0 var(--section);
}
.song-head { text-align: center; max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); }
.song-gurmukhi {
  font-family: "Noto Serif Gurmukhi", var(--display); font-weight: 500;
  color: var(--gold-light); font-size: clamp(1.4rem, 1.6vw + 1rem, 2.1rem); margin: 0 0 .2em;
}
.song-title { font-size: clamp(2.6rem, 6vw, 5rem); color: var(--on-dark); }
.song-lead { color: var(--on-dark-muted); margin: .9em 0 0; font-size: 1.02rem; }

.video-frame {
  max-width: 980px; margin: 0 auto;
  padding: clamp(6px, 1vw, 10px);
  border: 1px solid rgba(220, 193, 136, .45);
  border-radius: 14px;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .7);
}
.video { position: relative; aspect-ratio: 16 / 9; background: #1d070c; border-radius: 8px; overflow: hidden; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video iframe, .video noscript iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: linear-gradient(180deg, rgba(29,7,12,.15), rgba(29,7,12,.55));
  color: var(--on-dark); font: 600 1rem/1.2 var(--body);
}
.video-play-icon {
  width: clamp(64px, 9vw, 92px); height: clamp(64px, 9vw, 92px); border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(246, 236, 220, .94); color: var(--wine);
  box-shadow: 0 0 0 10px rgba(246, 236, 220, .16);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.video-play-icon svg { width: 40%; height: 40%; fill: currentColor; margin-left: 6%; }
.video-play:hover .video-play-icon, .video-play:focus-visible .video-play-icon { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(246, 236, 220, .2); }
.video-play:focus-visible { outline: 2px solid var(--gold-light); outline-offset: -6px; }
.video-play-label { text-shadow: 0 1px 8px rgba(0,0,0,.6); }

.song-body {
  max-width: 980px; margin: clamp(40px, 6vw, 64px) auto 0;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 64px);
}
.song-text p { color: var(--on-dark); max-width: 60ch; }
.song-text p:first-child {
  font-family: var(--display); font-size: clamp(1.35rem, .9vw + 1.1rem, 1.65rem); line-height: 1.45;
}
html[data-lang="pa"] .song-text p:first-child { font-size: clamp(1.15rem, .6vw + 1rem, 1.35rem); line-height: 1.8; }
.song-text p + p { color: var(--on-dark-muted); }

.song-side { border-top: 1px solid rgba(220,193,136,.35); padding-top: 22px; }
.song .credits dt { color: var(--gold-light); }
.song .credits dd { color: var(--on-dark); }
.song-side .btn { margin-top: 22px; }
.small-note { font-size: .88rem; color: var(--on-dark-muted); margin-top: 14px; }

@media (max-width: 760px) {
  .song-body { grid-template-columns: 1fr; }
  .video-frame { margin: 0 calc(var(--gutter) * -.5); }
}

/* ---------- Credits (shared) ---------- */
.credits { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .45em 1.2em; font-size: .98rem; }
.credits dt { color: var(--gold-text); font-weight: 600; }
.credits dd { margin: 0; }

/* ---------- Section titles ---------- */
.section-title { font-size: clamp(2.4rem, 4.6vw, 3.8rem); color: var(--wine); margin-bottom: .45em; }

/* ---------- Her story ---------- */
.story { padding: var(--section) 0; }
.story-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.photo-story {
  aspect-ratio: 1; border-radius: 50%;
  max-width: 440px; width: 100%; justify-self: center;
  outline: 1px solid var(--gold); outline-offset: 14px;
}
.photo-story img { object-position: 50% 25%; }
.photo-story .photo-placeholder { border-radius: 50%; }
.story-text { max-width: 60ch; }
.story-lede {
  font-family: var(--display); font-size: clamp(1.45rem, 1.1vw + 1.1rem, 1.9rem); line-height: 1.4; color: var(--ink);
}
html[data-lang="pa"] .story-lede { font-size: clamp(1.2rem, .7vw + 1rem, 1.45rem); line-height: 1.85; }
.story-text p { color: var(--ink); }
.story-sub {
  font-size: clamp(1.45rem, 1vw + 1.1rem, 1.8rem); color: var(--burgundy);
  margin: 1.6em 0 .5em; padding-top: 1.1em; border-top: 1px solid var(--sand);
}
html[data-lang="pa"] .story-sub { font-family: var(--body); font-weight: 600; font-size: 1.25rem; }
.story-link { color: var(--burgundy); font-weight: 600; }

/* Biography lists */
.bio-books { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 8px 32px; margin: .4em 0 1em; }
.bio-label { font: 600 .95rem/1.3 var(--body); color: var(--gold-text); margin: 0 0 .5em; }
.booklist, .bio-list, .honours, .press-list { list-style: none; margin: 0 0 1em; padding: 0; }
.booklist li { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: .55em 0; border-bottom: 1px solid rgba(169,134,63,.22); }
.book-title { font-family: var(--display); font-size: 1.22rem; line-height: 1.3; color: var(--wine); min-width: 0; }
.book-year { font-size: .9rem; color: var(--gold-text); font-variant-numeric: tabular-nums; align-self: baseline; }
.book-note { grid-column: 1 / -1; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.bio-list li { position: relative; padding: .45em 0 .45em 1.4em; border-bottom: 1px solid rgba(169,134,63,.18); }
.bio-list li::before {
  content: ""; position: absolute; left: .15em; top: 1em; width: 6px; height: 6px;
  border: 1px solid var(--gold); transform: rotate(45deg);
}
.honours li { display: grid; grid-template-columns: 5.6em 1fr; gap: 14px; padding: .6em 0; border-bottom: 1px solid rgba(169,134,63,.2); line-height: 1.5; }
.h-year { color: var(--gold-text); font-weight: 600; font-size: .92rem; font-variant-numeric: tabular-nums; padding-top: .1em; }
.h-text { min-width: 0; }
.press-list { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; }
.press-list li { font-size: .9rem; padding: .3em .8em; border: 1px solid var(--sand); border-radius: 999px; background: var(--ivory); }
.bio-more { margin: .2em 0 1.2em; }
.bio-more summary {
  cursor: pointer; display: inline-flex; align-items: center; gap: .5em; min-height: 44px;
  color: var(--burgundy); font-weight: 600; list-style: none;
}
.bio-more summary::-webkit-details-marker { display: none; }
.bio-more summary::before {
  content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg); transition: transform .2s var(--ease);
}
.bio-more[open] summary::before { transform: rotate(45deg); }
@media (max-width: 480px) { .honours li { grid-template-columns: 1fr; gap: 2px; } }
@media (min-width: 821px) {
  .story-grid { align-items: start; }
  .photo-story { position: sticky; top: 110px; }
}

@media (max-width: 820px) {
  .story-grid { grid-template-columns: 1fr; }
  .photo-story { max-width: min(64vw, 300px); }
}

/* ---------- Poetry & music ---------- */
.works { background: var(--cream); padding: var(--section) 0; }
.works-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 44px); }
.works-head p { color: var(--muted); }

.works-tabs { display: flex; flex-wrap: wrap; gap: 4px 28px; border-bottom: 1px solid var(--sand); }
.works-tabs button {
  font: 500 clamp(1.3rem, 1vw + 1rem, 1.6rem)/1.2 var(--display);
  color: var(--muted); background: none; border: 0; cursor: pointer;
  padding: .55em 0 .6em; margin-bottom: -1px; border-bottom: 2px solid transparent;
}
html[data-lang="pa"] .works-tabs button { font-size: 1.15rem; font-family: var(--body); font-weight: 600; }
.works-tabs button[aria-selected="true"] { color: var(--wine); border-bottom-color: var(--burgundy); }
.works-tabs button:hover { color: var(--burgundy); }

.works-panel { padding-top: 22px; }
.works-desc { color: var(--muted); font-size: 1rem; margin-bottom: 26px; }
.works-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.work {
  background: var(--ivory); padding: clamp(24px, 3vw, 34px);
  border-radius: 4px; border-top: 2px solid var(--burgundy);
}
.work-flag { font-size: .88rem; font-weight: 600; color: var(--gold-text); margin-bottom: .9em; }
.work-title { display: flex; flex-direction: column; gap: .15em; margin-bottom: .6em; }
.work-title-pa { font-family: "Noto Serif Gurmukhi", var(--display); font-size: 1.15rem; color: var(--gold-text); font-weight: 500; line-height: 1.5; }
.work-title-en { font-size: clamp(1.8rem, 2vw + 1rem, 2.3rem); color: var(--wine); }
.work-subtitle { font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--muted); }
html[data-lang="pa"] .work-subtitle { font-style: normal; font-family: var(--body); font-size: 1rem; }
.work-desc { color: var(--ink); }
.work-text { white-space: pre-line; font-family: var(--display); font-size: 1.2rem; }
.work .credits { margin: 1em 0 1.2em; font-size: .92rem; }
.works-empty {
  grid-column: 1 / -1; margin: 0; padding: 30px 0; color: var(--muted);
  font-family: var(--display); font-style: italic; font-size: 1.35rem;
}
html[data-lang="pa"] .works-empty { font-style: normal; font-size: 1.1rem; }

/* ---------- Connect ---------- */
.connect { padding: var(--section) 0 calc(var(--section) * .6); text-align: center; }
.connect-inner { max-width: 820px; }
.connect-inner > p { color: var(--muted); max-width: 52ch; margin-left: auto; margin-right: auto; }
.social-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: clamp(8px, 2vw, 14px); margin-top: 34px; }
@media (max-width: 480px) { .social-card { padding: 20px 8px; font-size: .95rem; } }
.social-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 26px 16px; border: 1px solid var(--sand); border-radius: 10px;
  color: var(--ink); text-decoration: none; font-weight: 600;
  transition: border-color .2s, background-color .2s, color .2s;
}
.social-card svg { width: 30px; height: 30px; fill: var(--burgundy); transition: fill .2s; }
.social-card:hover { background: var(--burgundy); border-color: var(--burgundy); color: var(--ivory); }
.social-card:hover svg { fill: var(--ivory); }
.pending-note { color: var(--muted); font-style: italic; margin-top: 18px; }
html[data-lang="pa"] .pending-note { font-style: normal; }

/* ---------- Contact ---------- */
.contact { padding: calc(var(--section) * .6) 0 var(--section); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(20px, 5vw, 80px);
  border-top: 1px solid var(--sand); padding-top: clamp(44px, 6vw, 72px);
}
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; }
.contact-list li { padding: .55em 0 .55em 1.6em; border-bottom: 1px solid rgba(169,134,63,.22); position: relative; }
.contact-list li::before {
  content: ""; position: absolute; left: .2em; top: 1.05em; width: 7px; height: 7px;
  border: 1px solid var(--gold); transform: rotate(45deg);
}
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--wine); color: var(--on-dark-muted); padding: clamp(56px, 8vw, 88px) 0 36px; text-align: center; }
.footer-closing { margin: 0 0 26px; display: flex; flex-direction: column; gap: .3em; }
.footer-closing-pa { font-family: "Noto Serif Gurmukhi", serif; font-size: clamp(1.7rem, 2.4vw + 1rem, 2.5rem); color: var(--gold-light); line-height: 1.5; }
.footer-closing-meaning { font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--on-dark-muted); }
html[data-lang="pa"] .footer-closing-meaning { display: none; }
.social-row-footer { justify-content: center; margin: 0 0 30px; }
.site-footer .social-icon { color: var(--on-dark); border-color: rgba(220,193,136,.4); }
.site-footer .social-icon:hover { background: var(--on-dark); color: var(--wine); border-color: var(--on-dark); }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-size: .9rem; margin: 0; padding-top: 26px; border-top: 1px solid rgba(220,193,136,.2); }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: #fff; }

/* ---------- Privacy page ---------- */
.legal { padding: clamp(48px, 8vw, 96px) 0 var(--section); }
.legal .wrap { max-width: 760px; }
.legal p { color: var(--ink); }
.legal .back { display: inline-block; margin-top: 18px; }

/* ---------- Print ---------- */
@media print {
  .site-header, .video-frame, .lang-switch, .social-row, .social-cards { display: none !important; }
  .song, .site-footer { background: none; color: #000; }
}
