:root {
  --paper: #f4efe5;
  --paper-deep: #e9dfcf;
  --ink: #172724;
  --muted: #68736e;
  --teal: #0e5d58;
  --teal-dark: #083f3c;
  --gold: #ba8b45;
  --line: rgba(23, 39, 36, 0.16);
  --white: #fffdf8;
  --shadow: 0 24px 64px rgba(34, 46, 42, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 2%, rgba(186, 139, 69, .12), transparent 28rem),
    var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
button, input { font: inherit; }
img { max-width: 100%; display: block; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(186, 139, 69, .5);
  background: linear-gradient(100deg, rgba(8, 63, 60, .98), rgba(14, 93, 88, .97));
  box-shadow: 0 8px 26px rgba(8, 63, 60, .13);
  backdrop-filter: blur(16px);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 40px;
  height: 40px;
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: url("/favicon.svg?v=2") center / contain no-repeat;
  color: transparent;
  font-size: 0;
}
.brand-copy strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.brand-copy small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--teal); }
.site-header .brand-copy strong { color: var(--white); }
.site-header .brand-copy small { color: #d9bd8c; }
.site-header .nav-links a { color: rgba(255, 253, 248, .88); }
.site-header .nav-links a:hover { color: #f1d7a7; }
.site-header .nav-links .btn {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--teal-dark);
}
.site-header .nav-links .btn:hover { color: var(--teal-dark); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 19px;
  border: 1px solid var(--teal);
  border-radius: 999px;
  background: transparent;
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(14, 93, 88, .15); }
.btn-primary { background: var(--teal); color: white; }
.btn-light { border-color: rgba(255,255,255,.7); color: white; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; box-shadow: none; transform: none; }
.hero { padding: 76px 0 52px; }
.eyebrow { color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.hero-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 72px; align-items: center; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; line-height: 1.06; }
h1 { margin: 16px 0 24px; font-size: clamp(50px, 7vw, 88px); }
.hero h1 em { color: var(--teal); font-weight: 400; }
.lead { max-width: 590px; color: #44504c; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.proof { display: flex; gap: 28px; margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.proof strong { color: var(--ink); display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.video-frame {
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 22px;
  background: #102522;
  box-shadow: var(--shadow);
}
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-label { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-top: 18px; }
.video-label strong { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.video-label span { color: var(--muted); font-size: 13px; }
.section { padding: 76px 0; }
.section-alt { background: rgba(255, 253, 248, .55); border-block: 1px solid rgba(23, 39, 36, .08); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-head h2 { margin: 8px 0 0; font-size: clamp(34px, 5vw, 54px); }
.section-head p { max-width: 460px; margin: 0; color: var(--muted); }
.search-box { position: relative; max-width: 620px; margin-bottom: 30px; }
.search-box input { width: 100%; height: 54px; padding: 0 52px 0 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); outline: none; }
.search-box input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14, 93, 88, .09); }
.search-box span { position: absolute; right: 18px; top: 14px; color: var(--muted); font-size: 18px; }
.language-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; margin: 0 0 54px; }
.language-card { min-height: 220px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, #fffdf8, #e9dfcf); text-decoration: none; transition: .22s ease; }
.language-card-primary { color: white; background: radial-gradient(circle at 85% 15%, rgba(186,139,69,.32), transparent 38%), linear-gradient(145deg, #0b4844, #14342f); }
.language-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(34, 46, 42, .12); }
.language-card .eyebrow { margin-bottom: 10px; }
.language-card-primary .eyebrow { color: #d9bd8c; }
.language-card strong { font-family: var(--serif); font-size: clamp(32px, 4vw, 46px); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; }
.language-card small { max-width: 620px; margin-top: 12px; color: var(--muted); font-size: 14px; }
.language-card-primary small { color: rgba(255,255,255,.72); }
.language-link { margin-top: 22px; color: var(--teal); font-size: 14px; font-weight: 800; }
.language-card-primary .language-link { color: white; }
.collection-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 0 0 24px; }
.collection-head h2 { margin: 6px 0 0; font-size: clamp(34px, 5vw, 48px); }
.collection-head-spaced { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.song-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: .22s ease; }
.song-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(34, 46, 42, .12); }
.card-art { min-height: 218px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; color: white; background: linear-gradient(145deg, #102d2a, #277d72); }
.card-art.blue { background: linear-gradient(145deg, #0e2d3a, #3c7187); }
.card-art.umber { background: linear-gradient(145deg, #3b2b24, #95684b); }
.card-art small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .78; }
.card-art blockquote { margin: 0; font-family: var(--serif); font-size: 26px; font-style: italic; line-height: 1.25; }
.card-art-image { position: relative; min-height: 0; padding: 0; aspect-ratio: 16/9; background: #102522; }
.card-art-image img { width: 100%; height: 100%; object-fit: cover; }
.card-badge { position: absolute; top: 13px; left: 13px; padding: 6px 10px; border-radius: 999px; background: rgba(8, 35, 32, .82); color: white; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(7px); }
.card-body { padding: 22px; }
.card-body h3 { margin: 0 0 8px; font-size: 27px; }
.card-body p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.card-link { color: var(--teal); font-size: 14px; font-weight: 800; text-decoration: none; }
.card-link::after { content: " →"; }
.hidden { display: none !important; }
.manifesto { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.manifesto h2 { margin: 10px 0 20px; font-size: clamp(38px, 5vw, 60px); }
.manifesto p { color: #4d5955; font-size: 18px; }
.quote-panel { padding: 42px; border-radius: 18px; background: var(--teal-dark); color: white; }
.quote-panel blockquote { margin: 0; font-family: var(--serif); font-size: clamp(28px, 3.5vw, 42px); line-height: 1.25; }
.quote-panel p { margin: 20px 0 0; color: rgba(255,255,255,.67); font-size: 13px; letter-spacing: .11em; text-transform: uppercase; }
.newsletter { padding: 46px; border-radius: 20px; background: #193b37; color: white; display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center; }
.newsletter h2 { margin: 0 0 10px; font-size: 36px; }
.newsletter p { margin: 0; color: rgba(255,255,255,.7); }
.newsletter-form { display: flex; gap: 10px; }
.newsletter input { width: 260px; height: 48px; border: 0; border-radius: 999px; padding: 0 18px; }
.form-note { grid-column: 2; min-height: 22px; margin: -24px 0 0 !important; font-size: 12px; }
.site-footer { padding: 44px 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 30px; align-items: end; }
.footer-grid p { max-width: 560px; margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; font-size: 14px; }
.footer-links a { text-decoration: none; }
.footer-social { grid-column: 2; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.footer-social span { margin-right: 5px; color: var(--muted); }
.footer-social a { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--teal-dark); font-weight: 600; text-decoration: none; }
.footer-social a:hover, .footer-social a:focus-visible { border-color: var(--gold); background: var(--paper-deep); }

/* Song pages */
.song-hero { padding: 64px 0 36px; }
.crumbs { color: var(--muted); font-size: 13px; }
.crumbs a { text-decoration: none; }
.song-title-row { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: end; margin: 26px 0 30px; }
.song-title-row h1 { margin: 0 0 10px; font-size: clamp(48px, 7vw, 82px); }
.song-title-row p { margin: 0; color: var(--muted); font-family: var(--serif); font-size: 23px; }
.tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.tag { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--teal); background: rgba(255,255,255,.35); font-size: 12px; font-weight: 700; }
.watch-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(270px, .5fr); gap: 22px; }
.watch-card { padding: 24px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.watch-card h2 { margin: 0 0 12px; font-size: 29px; }
.watch-card p { color: var(--muted); font-size: 14px; }
.watch-card .btn { width: 100%; margin-top: 8px; }
.placeholder-video { height: 100%; min-height: 360px; display: grid; place-items: center; padding: 34px; text-align: center; background: linear-gradient(145deg, #102d2a, #2c6f67); color: white; }
.placeholder-video.blue { background: linear-gradient(145deg, #0e2d3a, #3c7187); }
.placeholder-video h2 { margin: 0 0 12px; font-size: 42px; }
.placeholder-video p { max-width: 440px; margin: 0 auto 24px; color: rgba(255,255,255,.7); }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) minmax(230px, 1fr); gap: 70px; align-items: start; }
.article { font-family: var(--serif); font-size: 20px; line-height: 1.78; }
.article h2 { margin: 50px 0 18px; font-size: 38px; }
.article h2:first-child { margin-top: 0; }
.article p { margin: 0 0 22px; }
.stanza-guide { margin: 24px 0 42px; padding-left: 1.45em; }
.stanza-guide li { padding-left: .35em; }
.stanza-guide li + li { margin-top: 13px; }
.stanza-guide li::marker { color: var(--gold); font-weight: 700; }
.poem-excerpt { margin: 34px 0; padding: 30px 34px; border-left: 3px solid var(--gold); background: rgba(255,255,255,.48); font-style: italic; }
.fact-box { padding: 25px; border-radius: 14px; background: var(--paper-deep); }
.fact-box strong { display: block; margin-bottom: 8px; color: var(--teal); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.source-note { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-family: var(--sans); font-size: 13px; }
.source-note a { color: var(--teal); font-weight: 700; text-underline-offset: 3px; }
.poem-classification {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin: 38px 0 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
  font-family: var(--sans);
}
.poem-classification div { padding: 18px; background: rgba(255,255,255,.62); }
.poem-classification span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.poem-classification strong { display: block; color: var(--ink); font-family: var(--serif); font-size: 17px; font-weight: 500; line-height: 1.35; }
.poem-full { overflow: hidden; margin: 22px 0 0; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,253,248,.72); }
.poem-full summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; color: var(--teal); cursor: pointer; font-family: var(--sans); font-size: 15px; font-weight: 800; list-style: none; }
.poem-full summary::-webkit-details-marker { display: none; }
.poem-full summary::after { content: "+"; order: 3; width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; font-size: 20px; font-weight: 400; }
.poem-full[open] summary::after { content: "−"; }
.poem-full summary small { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 500; }
.poem-text { padding: 8px 28px 30px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 19px; line-height: 1.72; }
.poem-text p { margin: 24px 0 0; }
.sidebar { position: sticky; top: 110px; }
.sidebar h3 { margin: 0 0 16px; font-size: 24px; }
.related-list { display: grid; gap: 12px; }
.related-item { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.4); text-decoration: none; }
.related-item strong { display: block; font-family: var(--serif); font-size: 18px; }
.related-item small { color: var(--muted); }

/* Santa Maria long-form feature */
.longform-page .santa-hero { padding-bottom: 48px; }
.longform-page .song-title-row { grid-template-columns: minmax(0, 1fr) minmax(260px, .42fr); }
.longform-page .song-title-row h1 { max-width: 900px; font-size: clamp(46px, 6.2vw, 78px); }
.santa-premiere {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 390px;
  background:
    radial-gradient(circle at 78% 22%, rgba(217, 189, 140, .34), transparent 23%),
    linear-gradient(145deg, #082f2d, #14665f 58%, #8d6936);
}
.santa-premiere::before,
.santa-premiere::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
}
.santa-premiere::before { width: 330px; height: 330px; right: -90px; top: -150px; }
.santa-premiere::after { width: 240px; height: 240px; left: -110px; bottom: -145px; }
.premiere-date { margin-bottom: 14px; color: #f0d5a4; font-size: 12px; font-weight: 800; letter-spacing: .24em; }
.santa-premiere h2 { font-size: clamp(38px, 5vw, 58px); }
.santa-premiere .btn { min-width: 210px; }
.premiere-card { display: flex; flex-direction: column; justify-content: center; }
.premiere-time { display: grid; gap: 2px; margin: 20px 0 12px !important; padding: 16px 0; border-block: 1px solid var(--line); color: var(--ink) !important; }
.premiere-time strong { font-family: var(--serif); font-size: 19px; font-weight: 500; }
.premiere-time span { color: var(--muted); font-size: 12px; }
.article-lead { color: #263a36; font-size: 25px; line-height: 1.58; }
.story-note { margin: 38px 0 44px; padding: 26px 28px; border: 1px solid rgba(186, 139, 69, .42); border-radius: 16px; background: linear-gradient(145deg, rgba(255,253,248,.78), rgba(233,223,207,.72)); }
.story-note strong { display: block; margin-bottom: 9px; color: var(--teal); font: 800 12px var(--sans); letter-spacing: .15em; text-transform: uppercase; }
.story-note p { margin: 0; font-size: 17px; line-height: 1.65; }
.closing-thought { margin-top: 34px !important; padding: 28px 30px; border-radius: 16px; background: var(--teal-dark); color: white; font-size: 25px; font-style: italic; line-height: 1.5; }
.research-sources { margin: 24px 0 48px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.42); font: 14px/1.55 var(--sans); }
.research-sources > strong { color: var(--teal); font-size: 12px; letter-spacing: .13em; text-transform: uppercase; }
.research-sources ul { margin: 12px 0 0; padding-left: 20px; }
.research-sources li + li { margin-top: 7px; }
.research-sources a { color: var(--teal); text-underline-offset: 3px; }
.project-signature { margin-top: 30px !important; color: var(--teal); font-size: 26px; font-style: italic; }
.longform-sidebar { display: grid; gap: 34px; }
.toc { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,253,248,.72); }
.toc h3 { margin-bottom: 14px; }
.toc a { display: block; padding: 8px 0; border-top: 1px solid rgba(23,39,36,.09); color: var(--muted); font-size: 13px; text-decoration: none; }
.toc a:hover { color: var(--teal); }
.sidebar-related h3 { margin-bottom: 14px; }
.santa-card-art {
  position: relative;
  background:
    radial-gradient(circle at 86% 8%, rgba(217,189,140,.38), transparent 34%),
    linear-gradient(145deg, #0a4440, #9a7139);
}
.santa-card-art .card-badge { right: 13px; left: auto; }
.santa-card-art small { max-width: 56%; }
.santa-card-art blockquote { max-width: 92%; }

/* Collection pages */
.collection-hero { padding: 66px 0 44px; }
.collection-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr); gap: 60px; align-items: end; }
.collection-hero h1 { margin: 12px 0 18px; font-size: clamp(50px, 7vw, 82px); }
.collection-hero p { max-width: 700px; margin: 0; color: #44504c; font-family: var(--serif); font-size: clamp(19px, 2vw, 24px); }
.collection-stat { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.48); }
.collection-stat strong { display: block; color: var(--teal); font-family: var(--serif); font-size: 44px; font-weight: 500; line-height: 1; }
.collection-stat span { display: block; margin-top: 9px; color: var(--muted); font-size: 14px; }
.collection-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 30px; }
.collection-toolbar .search-box { width: min(100%, 620px); margin: 0; }
.back-link { color: var(--teal); font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.taxonomy-intro { display: flex; align-items: baseline; gap: 16px; margin: -4px 0 16px; color: var(--muted); font-size: 13px; }
.taxonomy-intro strong { color: var(--ink); font-family: var(--serif); font-size: 19px; font-weight: 500; white-space: nowrap; }
.collection-filter-grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 30px; align-items: start; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-bar button { min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.55); color: var(--teal); cursor: pointer; font: 700 13px var(--sans); transition: .18s ease; }
.filter-bar button:hover { border-color: var(--teal); }
.filter-bar button[aria-pressed="true"] { border-color: var(--teal); background: var(--teal); color: white; }
.author-filter { display: grid; gap: 8px; color: var(--ink); font-family: var(--serif); font-size: 19px; }
.author-filter select { width: 100%; min-height: 44px; padding: 0 38px 0 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); cursor: pointer; font: 600 14px var(--sans); }
.author-filter select:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 4px rgba(14, 93, 88, .09); }
.poet-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.poet-card { display: flex; min-height: 270px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.62); flex-direction: column; }
.poet-card h2 { margin: 16px 0 8px; font-size: 30px; }
.poet-card p { margin: 0 0 18px; color: var(--muted); line-height: 1.65; }
.poet-card .poet-count { align-self: flex-start; padding: 5px 9px; border-radius: 999px; background: rgba(14, 93, 88, .09); color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.poet-song-list { margin: auto 0 18px; color: #44504c; font-family: var(--serif); font-size: 17px; line-height: 1.55; }
.poet-card .card-link { position: static; inset: auto; color: var(--teal); font-size: 13px; font-weight: 800; text-decoration: none; }
.poet-card .card-link:hover { text-decoration: underline; }
.poet-profile-hero .crumbs { margin-bottom: 28px; }
.profile-stat strong { font-size: clamp(30px, 4vw, 42px); }
.profile-work-list { margin: 22px 0 36px; }
.profile-work-list .related-item { padding: 18px 0; }
.profile-facts dl { display: grid; gap: 0; margin: 0; }
.profile-facts dl div { display: grid; grid-template-columns: 82px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(23,39,36,.09); }
.profile-facts dt { color: var(--muted); font: 700 12px var(--sans); letter-spacing: .05em; text-transform: uppercase; }
.profile-facts dd { margin: 0; color: var(--ink); font: 500 15px/1.5 var(--serif); }
.poet-profile-page .longform-sidebar > .btn { width: 100%; text-align: center; }
.song-title-row .eyebrow a { color: inherit; text-decoration: none; }
.song-title-row .eyebrow a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .nav { min-height: 0; flex-wrap: wrap; gap: 10px; padding: 12px 0; }
  .nav-links { width: 100%; flex-wrap: wrap; gap: 8px 18px; }
  .hero-grid, .manifesto, .article-layout, .collection-hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .language-grid { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .poet-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .watch-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .longform-page .song-title-row { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; }
  .form-note { grid-column: auto; margin: -22px 0 0 !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links, .footer-social { justify-content: flex-start; }
  .footer-social { grid-column: 1; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 26px, 1160px); }
  .site-header { position: static; }
  .nav { gap: 8px; }
  .brand-copy small { display: none; }
  .nav-links { gap: 6px 14px; font-size: 14px; }
  .nav-links a:not(.btn) { padding: 5px 0; }
  .nav-links .btn { min-height: 36px; padding: 0 12px; font-size: 14px; }
  .hero { padding: 48px 0 32px; }
  .hero-grid { gap: 38px; }
  h1 { font-size: 50px; }
  .lead { font-size: 21px; }
  .proof { gap: 18px; }
  .language-grid { grid-template-columns: 1fr; margin-bottom: 44px; }
  .language-card { min-height: 190px; padding: 24px; }
  .collection-head { align-items: center; }
  .collection-head .btn { min-height: 40px; padding: 0 14px; font-size: 13px; }
  .collection-toolbar { align-items: stretch; flex-direction: column; }
  .collection-toolbar .search-box { width: 100%; }
  .collection-filter-grid { grid-template-columns: 1fr; gap: 6px; }
  .author-filter { max-width: 360px; margin-bottom: 24px; }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  .newsletter { padding: 28px 22px; }
  .newsletter-form { display: grid; }
  .newsletter input { width: 100%; }
  .song-title-row { grid-template-columns: 1fr; }
  .tags { justify-content: flex-start; }
  .poem-classification { grid-template-columns: 1fr; }
  .poem-full summary small { display: none; }
  .poem-text { padding: 6px 20px 24px; font-size: 18px; }
  .taxonomy-intro { display: grid; gap: 3px; }
  .poet-directory { grid-template-columns: 1fr; }
  .placeholder-video { min-height: 290px; }
  .watch-card { padding: 20px; }
  .santa-premiere { min-height: 320px; }
  .article-lead { font-size: 22px; }
  .story-note, .closing-thought { padding: 22px; }
}

/* Dedicated video pages use the site's existing type, palette and controls. */
.video-watch-hero { padding: 46px 0 76px; }
.video-watch-hero h1 { max-width: 1050px; margin: 22px 0 28px; font-size: clamp(34px, 5vw, 62px); line-height: 1.14; }
.video-watch-player { width: min(100%, 1050px); border-radius: 18px; }
.video-watch-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 30px; }
.video-watch-description { max-width: 780px; margin: 0 0 28px; color: #44504c; font-family: var(--serif); font-size: clamp(19px, 2vw, 24px); line-height: 1.5; }
.video-watch-reading { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; padding-top: 22px; border-top: 1px solid var(--line); font-size: 16px; }
.video-watch-reading span { color: var(--muted); }
.video-watch-reading a, .video-page-link a, .video-card-link { color: var(--teal); font-weight: 800; text-underline-offset: 3px; }
.video-page-link { margin: 18px 0 0; font-size: 14px; }
.video-card-link { display: inline-block; margin-left: 14px; font-size: 14px; text-decoration: none; }
.video-card-link:hover, .video-page-link a:hover, .video-watch-reading a:hover { text-decoration: underline; }
@media (max-width: 680px) {
  .video-watch-hero { padding: 30px 0 54px; }
  .video-watch-actions { display: grid; }
  .video-card-link { display: block; margin: 8px 0 0; }
}

/* Display-script preference, shared by every page. */
.script-switch { display: flex; flex-shrink: 0; gap: 2px; padding: 3px; border: 1px solid rgba(255,253,248,.35); border-radius: 8px; }
.script-switch button { font: inherit; font-size: 12px; padding: 7px 9px; color: #fffdf8; background: transparent; border: 0; border-radius: 5px; cursor: pointer; }
.script-switch button[aria-pressed="true"] { background: #f1d7a7; color: #173d39; }
.script-switch button:focus-visible { outline: 2px solid #f1d7a7; outline-offset: 3px; }
@media (min-width: 981px) { .nav { flex-wrap: wrap; gap: 14px 20px; padding-top: 12px; padding-bottom: 12px; } .nav-links { gap: 18px; } }
@media (max-width: 980px) { .script-switch { margin-left: auto; } .nav-links { order: 3; } }

/* Quick access on poem reading pages. */
.poem-reader-page .poem-section-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; }
.poem-reader-page :is(#tekst-pesme, #complete-poem, #tekst, #analiza-pesme, #poem-analysis, #muzicka-obrada) { scroll-margin-top: 100px; }
@media (max-width: 540px) {
  .poem-reader-page .poem-section-links .btn { flex: 1 1 140px; text-align: center; }
}

.video-watch-support { max-width: 850px; margin: 12px 0 24px; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* Keep the expanded main navigation wrapped at tablet and mobile widths. */
@media (max-width: 980px) {
  .nav { flex-wrap: wrap; }
  .nav-links { width: 100%; flex-wrap: wrap; }
}
