/* The Reading Year (TRY) — shared styles */
:root {
  --ink: #1F2A24;
  --ink-soft: #4A554F;
  --paper: #FFFAF1;
  --white: #FFFFFF;
  --pollen: #F2C14E;
  --dandelion: #E8622C;
  --stamp: #B8431A;
  --evergreen: #445D4A;
  --sage: #C1C6B9;
  --line: #D9D3C4;
  --display: "Bricolage Grotesque", "Segoe UI", Helvetica, Arial, sans-serif;
  --text: "Newsreader", Georgia, "Times New Roman", serif;
  --wrap: 72rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 1.1875rem; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--dandelion); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1; margin: 0; }
h2 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; }
h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
p { margin: 0 0 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.4rem; border-radius: 6px; border: 2px solid var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.0625rem; text-decoration: none; cursor: pointer; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #33423A; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: rgba(31, 42, 36, .08); }
.btn-pollen { background: var(--pollen); color: var(--ink); border-color: var(--pollen); }
.btn-pollen:hover { background: #F5CD6B; }

/* Header */
.site-header { background: var(--pollen); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; padding-bottom: 1rem; }
.site-header .brand img { width: 7.5rem; }
.site-header .btn { min-height: 2.75rem; font-size: 1rem; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .5rem 1.5rem; font-family: var(--display); font-weight: 700; font-size: 1.0625rem; }
.site-nav a:not(.btn) { text-decoration: none; padding: .25rem 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--ink); }

/* Hero */
.hero { background: var(--pollen); padding: 2.5rem 0 5rem; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(3rem, 7vw, 5.75rem); font-weight: 800; line-height: .92; letter-spacing: -0.035em; margin-bottom: 1.5rem; }
.hero .lede { font-size: 1.375rem; max-width: 34rem; margin-bottom: 2rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero .stamp { justify-self: center; width: min(100%, 28rem); }
.hero .opens { font-family: var(--display); font-weight: 700; color: var(--stamp); margin-top: 1.25rem; font-size: 1.0625rem; }

@media (prefers-reduced-motion: no-preference) {
  .hero .stamp { animation: stamp-down .5s cubic-bezier(.3, 1.6, .5, 1) .25s both; }
  @keyframes stamp-down {
    from { opacity: 0; transform: scale(1.35) rotate(4deg); }
    to { opacity: 1; transform: scale(1) rotate(0); }
  }
}

/* How it works */
.how { padding: 5.5rem 0; }
.how .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: start; }
.how h2 { margin-bottom: 1.25rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 3.25rem 1fr; gap: 1.25rem; counter-increment: step; }
.steps li::before { content: counter(step); width: 3.25rem; height: 3.25rem; border: 3px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.375rem; }
.steps h3 { margin: .55rem 0 .5rem; }
.steps p { margin: 0; color: var(--ink-soft); }

/* Home: the idea */
.how-sub { font-family: var(--display); font-weight: 700; font-size: 1.125rem; margin: 1.75rem 0 .5rem; }
.how-intro { max-width: 36rem; color: var(--ink-soft); }
.how .steps { margin-top: 2.25rem; }
.disclosure { font-family: var(--display); font-size: .9375rem; color: var(--ink-soft); margin: 1.75rem 0 0; }
.about-more { font-family: var(--display); font-weight: 700; margin-top: 2.5rem; }

/* Reading card */
.card { background: var(--white); border: 2px solid var(--ink); border-radius: 12px; padding: 1.5rem; font-family: var(--display); position: sticky; top: 1.5rem; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 2px solid var(--ink); padding-bottom: .75rem; margin-bottom: 1rem; }
.card-head strong { font-size: 1.375rem; font-weight: 800; }
.card-head span { font-size: .9375rem; color: var(--ink-soft); }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.cell { border: 1px solid var(--line); border-radius: 6px; min-height: 5rem; padding: .5rem; display: flex; flex-direction: column; justify-content: space-between; font-size: .875rem; color: var(--ink-soft); }
.cell .mark { align-self: center; transform: rotate(-8deg); border: 2px solid var(--stamp); color: var(--stamp); border-radius: 4px; padding: 0 .4rem; font-weight: 800; font-size: .9375rem; }
.cell .now { align-self: center; color: var(--ink); font-weight: 700; font-size: .8125rem; text-align: center; line-height: 1.2; }
.card-foot { margin: 1rem 0 0; font-size: .9375rem; color: var(--ink-soft); }

/* Readers */
.readers { background: var(--ink); color: var(--paper); padding: 5.5rem 0; }
.readers h2 { color: var(--pollen); margin-bottom: 1rem; }
.readers .intro { max-width: 40rem; font-size: 1.3125rem; margin-bottom: 3rem; color: #E9E6DC; }
.reader-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.reader-types div { border-top: 3px solid var(--pollen); padding-top: 1.25rem; }
.reader-types h3 { margin-bottom: .6rem; }
.reader-types p { margin: 0; color: #D6D9D0; }

/* Sign-up call to action */
.cta { padding: 5.5rem 0; }
.cta .panel { background: var(--pollen); border-radius: 20px; padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem 3rem; align-items: center; }
.cta h2 { margin-bottom: 1rem; }
.cta .panel p { font-size: 1.25rem; max-width: 30rem; margin: 0; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; font-family: var(--display); font-weight: 700; }
.btn-big { min-height: 3.5rem; padding: 0 1.8rem; font-size: 1.1875rem; }

/* Partners */
.partners { padding: 0 0 5.5rem; }
.partners h2 { margin-bottom: 2.5rem; }
.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.partner { border-top: 2px solid var(--ink); padding-top: 1.25rem; }
.partner h3 { margin-bottom: .6rem; }
.partner p { color: var(--ink-soft); margin: 0; }
.partners .more { margin: 2rem 0 0; font-family: var(--display); font-weight: 700; }

/* Inner pages */
.page-hero { background: var(--pollen); padding: 3.5rem 0 4rem; }
.page-hero h1 { font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 1.25rem; }
.page-hero .lede { font-size: 1.375rem; max-width: 40rem; margin: 0; }
.prose-wrap { padding-top: 4rem; padding-bottom: 5.5rem; }
.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.875rem, 4vw, 2.5rem); margin: 3.5rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.3125rem; margin: 2rem 0 .5rem; }
.prose ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.prose li { margin-bottom: .5rem; }
.prose a, .page a:not(.btn), .faqs a, .page-hero a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.slate { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 1.25rem 0 1.5rem; font-family: var(--display); }
.slate-item { border-radius: 8px; padding: 1rem; font-size: .9375rem; line-height: 1.4; display: flex; flex-direction: column; gap: .35rem; }
.slate-item strong { font-size: 1.0625rem; }
.slate-item.comfort { background: #E7EFE9; border-top: 4px solid var(--evergreen); }
.slate-item.stretch { background: #FBEBD9; border-top: 4px solid var(--dandelion); }
.slate-item.luna { background: var(--ink); color: var(--paper); border-top: 4px solid var(--pollen); }

.faqs { max-width: 48rem; }
.faqs h2 { font-size: 1.875rem; margin: 3rem 0 1rem; }
.faqs h2:first-child { margin-top: 0; }
.faq-group { border-top: 2px solid var(--ink); }
.faqs details { border-bottom: 1px solid var(--line); }
.faqs summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; font-family: var(--display); font-weight: 700; font-size: 1.1875rem; line-height: 1.3; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; position: absolute; right: .25rem; top: .8rem; font-size: 1.75rem; font-weight: 400; }
.faqs details[open] summary::after { content: "\2212"; }
.faqs details p { margin: 0 0 1.25rem; color: var(--ink-soft); max-width: 42rem; }
.inline-cta { margin-top: 3.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; font-family: var(--display); font-weight: 800; font-size: 1.5rem; }
.inline-cta p { margin: 0; }

.involve-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 3rem; padding: 4rem 0 5.5rem; }
.involve { border-top: 3px solid var(--ink); padding-top: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; }
.involve h2 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); margin-bottom: 1rem; }
.involve p { color: var(--ink-soft); }
.involve .btn { margin-top: .5rem; }
.updates { width: 100%; margin-top: .5rem; }

.page { padding: 4rem 0 5.5rem; }
.narrow { max-width: 44rem; }
.page h1 { font-size: clamp(2.75rem, 7vw, 4.5rem); font-weight: 800; margin-bottom: 1.5rem; }
.page h2 { font-size: 1.625rem; margin: 2.25rem 0 .75rem; }
.page ul { padding-left: 1.25rem; }
.page li { margin-bottom: .4rem; }

/* Forms (shared) */
form { display: grid; gap: 1.1rem; font-family: var(--display); }
.field { display: grid; gap: .35rem; align-content: start; }
label { font-weight: 700; font-size: 1rem; }
label .opt { font-weight: 400; color: var(--ink-soft); }
input[type="text"], input[type="email"] { width: 100%; min-height: 3rem; line-height: 1.2; padding: 0 .9rem; border: 2px solid var(--ink); border-radius: 6px; background: var(--paper); font: inherit; font-size: 1.0625rem; color: var(--ink); }
.hidden { position: absolute; left: -9999px; }
form .btn { justify-self: start; }

/* Slate page */
.slate-wrap { padding-top: 2.5rem; padding-bottom: 5rem; }
.slate-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font-family: var(--display); font-weight: 700; font-size: 1rem; padding: .5rem 1.1rem; border-radius: 999px; border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.chip:hover { background: rgba(31, 42, 36, .08); }
.chip.on { background: var(--ink); color: var(--paper); }
.slate-note { margin: 0; font-family: var(--display); font-size: .9375rem; color: var(--ink-soft); }
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 2rem 1.5rem; }
.book { display: flex; flex-direction: column; gap: .85rem; }
.book[hidden] { display: none; }
.cover { aspect-ratio: 2 / 3; border-radius: 4px; border: 1px solid rgba(31,42,36,.18); box-shadow: 0 6px 18px rgba(31,42,36,.12); display: flex; align-items: flex-end; padding: 1.1rem; }
.cover span { font-family: var(--display); font-weight: 700; font-size: 1.0625rem; line-height: 1.2; color: var(--paper); }
.cover-stories { background: linear-gradient(160deg, #2E4034, #4A6B52); }
.cover-page-turners { background: linear-gradient(160deg, #7A2E18, #C4622B); }
.cover-ideas { background: linear-gradient(160deg, #1F3A54, #3E6C8E); }
.book-track { font-family: var(--display); font-weight: 700; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 .3rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.restock { text-transform: none; letter-spacing: 0; background: var(--pollen); color: var(--ink); border-radius: 4px; padding: .05rem .45rem; font-size: .8125rem; }
.book h3 { font-family: var(--text); font-weight: 600; font-size: 1.1875rem; line-height: 1.25; margin: 0 0 .2rem; }
.byline { font-family: var(--display); font-size: .875rem; color: var(--ink-soft); margin: 0 0 .5rem; }
.book-note { font-size: .9375rem; line-height: 1.45; margin: 0 0 .5rem; }
.tone { display: inline-block; font-family: var(--display); font-size: .8125rem; font-weight: 700; color: var(--evergreen); border: 1.5px solid var(--evergreen); border-radius: 999px; padding: .1rem .6rem; }
.book.out .cover { filter: grayscale(1); opacity: .55; }
.book.out h3, .book.out .book-note { opacity: .7; }
.slate-foot { margin-top: 4rem; padding-top: 2rem; border-top: 2px solid var(--ink); max-width: 44rem; }
.slate-foot h2 { font-size: 1.75rem; margin-bottom: 1rem; }

/* Application form */
.form-wrap { padding-top: 3rem; padding-bottom: 5.5rem; }
.apply { max-width: 48rem; gap: 2rem; }
.req-note { margin: 0; color: var(--ink-soft); font-family: var(--display); font-size: .9375rem; }
fieldset { border: 2px solid var(--ink); border-radius: 14px; padding: 1.75rem clamp(1.25rem, 4vw, 2.25rem) 2rem; margin: 0; background: var(--white); display: grid; gap: 1.5rem; min-width: 0; }
legend { font-family: var(--display); font-weight: 800; font-size: 1.5rem; padding: 0 .6rem; display: flex; align-items: center; gap: .6rem; }
legend .num { width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--pollen); border: 2px solid var(--ink); display: inline-grid; place-items: center; font-size: 1.0625rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.field small { color: var(--ink-soft); font-size: .875rem; line-height: 1.35; }
.field.compact { max-width: 22rem; margin-top: .75rem; }
input[type="tel"], input[type="date"], select, textarea { width: 100%; min-height: 3rem; padding: 0 .9rem; line-height: 1.2; border: 2px solid var(--ink); border-radius: 6px; background: var(--paper); font: inherit; font-size: 1.0625rem; color: var(--ink); }
input[type="file"] { width: 100%; padding: .7rem; border: 2px dashed var(--ink); border-radius: 6px; background: var(--paper); font: inherit; font-size: 1rem; color: var(--ink); }
input[type="file"]::file-selector-button { margin-right: .9rem; padding: .5rem 1rem; border: 2px solid var(--ink); border-radius: 6px; background: var(--pollen); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.option a { color: var(--ink); font-weight: 700; }
textarea { resize: vertical; line-height: 1.45; padding: .7rem .9rem; }
.group { display: grid; gap: .6rem; }
.q { margin: 0; font-weight: 700; font-size: 1.0625rem; line-height: 1.35; }
.opt { font-weight: 400; color: var(--ink-soft); }
.options { display: grid; gap: .5rem; }
.options-row { display: flex; flex-wrap: wrap; }
.option { display: flex; gap: .7rem; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 8px; padding: .75rem .9rem; cursor: pointer; font-weight: 400; background: var(--paper); }
.option:hover { border-color: var(--ink); }
.option:has(input:checked) { border-color: var(--ink); background: #FDF1CF; box-shadow: inset 0 0 0 1px var(--ink); }
.option input { width: 1.2rem; height: 1.2rem; margin: .15rem 0 0; accent-color: var(--ink); flex-shrink: 0; }
.option span { display: flex; flex-direction: column; gap: .15rem; }
.option strong { font-weight: 700; font-size: 1rem; }
.option small { color: var(--ink-soft); font-size: .9rem; line-height: 1.35; }
.check { display: grid; grid-template-columns: 1.5rem 1fr; gap: .75rem; align-items: start; font-weight: 400; font-size: 1rem; line-height: 1.45; }
.check input { width: 1.35rem; height: 1.35rem; margin: .1rem 0 0; accent-color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: #D6D9D0; padding: 3.5rem 0; font-family: var(--display); font-size: 1rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2rem; }
.site-footer img { width: 8.5rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.site-footer a { color: var(--paper); }
.site-footer p { margin: 0; }

.placeholder { background: rgba(232, 98, 44, .18); padding: 0 .2em; border-radius: 2px; }

/* Responsive */
@media (max-width: 860px) {
  .hero .wrap, .how .wrap, .cta .panel, .involve-grid { grid-template-columns: 1fr; }
  .slate, .grid-2 { grid-template-columns: 1fr; }
  .site-header .wrap { align-items: flex-start; }
  .site-nav { gap: .25rem 1rem; font-size: 1rem; }
  .hero .stamp { grid-row: 1; width: min(80%, 20rem); }
  .hero { padding-top: 1rem; }
  .card { position: static; }
  .reader-types, .partner-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* v9: byline, privacy language switch, consent translations, Indian scripts */
.hero .byline { font-family: var(--display); font-size: 1rem; color: var(--ink-soft); margin-top: .5rem; }
.lang-switch { font-family: var(--display); font-size: 1rem; display: flex; flex-wrap: wrap; gap: .35rem .6rem; align-items: baseline; padding: .75rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lang-switch > span:first-child { color: var(--ink-soft); }
.lang-switch [aria-current] { font-weight: 700; }
.updated { color: var(--ink-soft); font-size: 1rem; }
.consent-lang { margin: -.25rem 0 1rem 2.25rem; font-size: .95rem; }
.consent-lang summary { cursor: pointer; font-family: var(--display); color: var(--ink-soft); }
.consent-lang div { margin: .6rem 0 .9rem; }
.consent-lang p { margin: .2rem 0; line-height: 1.6; }
:lang(te) { font-family: "Noto Sans Telugu", "Nirmala UI", "Telugu Sangam MN", "Gautami", sans-serif; }
:lang(hi) { font-family: "Noto Sans Devanagari", "Nirmala UI", "Kohinoor Devanagari", "Mangal", sans-serif; }
:lang(te) h1, :lang(te) h2, :lang(hi) h1, :lang(hi) h2 { letter-spacing: 0; line-height: 1.3; }
:lang(te) a[href^="mailto"], :lang(hi) a[href^="mailto"] { font-family: var(--text); }

.translation-note { font-size: 1rem; color: var(--ink-soft); margin: .75rem 0 1.5rem; }

/* v12: slate holding page, upload size message */
.reveal { background: var(--white); border: 2px solid var(--ink); border-radius: 10px; padding: 2rem clamp(1.25rem, 4vw, 2.5rem); max-width: 44rem; }
.reveal-stamp { display: inline-block; font-family: var(--display); font-weight: 800; font-size: clamp(1.1rem, 5vw, 2rem); line-height: 1.2; white-space: nowrap; color: var(--stamp); border: 3px solid var(--stamp); border-radius: 6px; padding: .35rem .9rem; transform: rotate(-2deg); margin: 0 0 1.25rem; }
.reveal p:last-child { margin: 0; font-size: 1.125rem; }
.track-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.track-tile { border-radius: 8px; padding: 1.5rem; color: var(--paper); box-shadow: 0 6px 18px rgba(31,42,36,.12); }
.track-tile h2 { font-size: 1.5rem; margin: 0 0 .5rem; color: var(--paper); }
.track-tile p { margin: 0; line-height: 1.5; }
.track-note { margin-top: 1rem; color: var(--ink-soft); }
.file-error { display: block; color: var(--stamp); font-weight: 600; margin-top: .4rem; }
.file-error[hidden] { display: none; }

/* v15: how we choose, on the sign-up page */
.choose-note { background: var(--white); border-left: 5px solid var(--stamp); border-radius: 8px; padding: 1.1rem 1.35rem; margin: 0 0 1.5rem; }
.choose-note p { margin: 0; line-height: 1.55; }
.choose-note .choose-title { font-family: var(--display); font-weight: 800; font-size: 1.15rem; margin-bottom: .35rem; }

/* v16: slate tiles in the core TRY palette */
.track-tile.tile-stories { background: var(--pollen); color: var(--ink); }
.track-tile.tile-stories h2 { color: var(--ink); }
.track-tile.tile-page-turners { background: var(--stamp); color: var(--paper); }
.track-tile.tile-ideas { background: var(--white); color: var(--ink); border: 2px solid var(--ink); }
.track-tile.tile-ideas h2 { color: var(--ink); }

/* v18: partner logos on the home page */
.partner-logo { display: block; width: auto; max-width: 100%; margin-bottom: 1rem; }
.partner-logo-luna { height: 100px; }
.partner-logo-caspian { height: 76px; margin-top: 24px; }

/* v21: draft slate, real covers */
.draft-stamp { display: inline-block; transform: rotate(-3deg); border: 4px solid var(--stamp); border-radius: 8px; padding: .3rem .8rem; font-family: var(--display); font-weight: 800; font-size: clamp(1rem, 3.4vw, 1.6rem); line-height: 1.25; color: var(--stamp); margin: 0 0 1rem; }
.cover { position: relative; overflow: hidden; }
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-img { z-index: 1; }
.cover span { position: relative; z-index: 0; }

/* v23: slate grouped by track */
.track-block { margin-top: 3.5rem; }
.track-block[hidden] { display: none; }
.track-block:first-of-type { margin-top: 1.5rem; }
.track-head { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; border-top: 3px solid var(--ink); padding-top: 1rem; margin: 0 0 .35rem; font-size: clamp(1.6rem, 3.2vw, 2.1rem); }
.track-head span { font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.track-desc { margin: 0 0 1.75rem; color: var(--ink-soft); max-width: 46rem; }

/* v24: partner logos as links */
.partner-logo-link { display: inline-block; }
.partner-logo-link:hover .partner-logo, .partner-logo-link:focus-visible .partner-logo { opacity: .8; }

/* v28: page counts and short descriptions on the slate */
.book-more { margin: .35rem 0 0; font-size: .9375rem; }
.book-more summary { cursor: pointer; font-family: var(--display); font-weight: 600; color: var(--stamp); }
.book-more p { margin: .5rem 0 0; line-height: 1.5; color: var(--ink-soft); }

/* v30: small video card on the About page */
.about-aside { margin-top: 1rem; }
.video-card { position: sticky; top: 6rem; max-width: 22rem; }
.video-card h2 { font-family: var(--display); font-weight: 800; font-size: 1.25rem; margin: 0 0 .75rem; }
.video-caption { font-size: .9375rem; line-height: 1.5; color: var(--ink-soft); margin: .75rem 0 0; }
.video-embed { position: relative; aspect-ratio: 16 / 9; background: var(--pollen); border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; background: none; border: 0; cursor: pointer; color: var(--ink); font: inherit; }
.video-play-icon { display: flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--ink); color: var(--paper); padding-left: .25rem; }

.video-play:hover .video-play-icon, .video-play:focus-visible .video-play-icon { background: var(--stamp); }


/* v34: sub-group inside Stories */
.track-sub { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; border-top: 2px solid var(--line); padding-top: 1.25rem; margin: 3rem 0 .35rem; font-family: var(--display); font-weight: 800; font-size: clamp(1.25rem, 2.6vw, 1.6rem); }
.track-sub span { font-family: var(--display); font-weight: 600; font-size: .875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }

/* v45: short-books filter */
.chip-short { border-style: dashed; }
.book[hidden] { display: none; }

/* v49: LinkedIn icon beside the Caspian description */
.li-link { display: inline-flex; align-items: center; justify-content: center; width: 1.85rem; height: 1.85rem; border-radius: 6px; background: var(--ink); color: var(--paper); vertical-align: -.45rem; margin-left: .35rem; text-decoration: none; }
.li-link:hover, .li-link:focus-visible { background: var(--stamp); color: var(--paper); }

/* v51: mission section on the home page */
.mission { padding: 4rem 0 1rem; }
.mission h2 { font-size: clamp(1.875rem, 4vw, 2.5rem); margin: 0 0 1.25rem; }
.mission p { max-width: 46rem; font-size: 1.125rem; line-height: 1.55; margin: 0 0 1.1rem; }
.mission p:last-child { margin-bottom: 0; }

/* v52: copyright line in the footer */
.copyright { margin-top: .6rem; font-size: .875rem; color: #B9C2BC; }
