/* ============================================================
   site.css — shared styles for sabinaboyer.com
   Single source of truth for design tokens, typography, nav,
   sections, home-page modules (hero, work sentence, accolades),
   and footer. Link from every page with:
     <link rel="stylesheet" href="/assets/site.css" />
   ============================================================ */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
main { display: block; }
main:focus { outline: none; }

/* ---------- Accessibility: skip to content ----------
   Hidden until a keyboard user focuses it. Lets them bypass
   the nav and jump straight into the main content.
*/
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--accent);
  color: var(--paper);
  padding: 10px 18px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 0 0 6px 0;
}
.skip-link:focus {
  left: 0;
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

/* ---------- Focus styles for keyboard users ----------
   Only show focus rings when navigating by keyboard (:focus-visible),
   not when clicking with a mouse. Consistent brass outline makes it
   obvious where focus currently sits.
*/
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 2px;
}

:root {
  /* ---------- Core palette ----------
     Warm cream paper + warm ink, with a cool navy primary and
     a warm brass secondary. The warmth of cream/ink/brass gives
     the site a book-jacket feel; navy anchors it.
  */
  --bg:              #F4F2EC;   /* page — warm cream */
  --bg-alt:          #EAE7DE;   /* slightly darker cream (card wells) */
  --paper:           #FAF8F2;   /* lightest cream (on-navy text in logo) */
  --ink:             #1A1815;   /* near-black with warm undertone */
  --ink-muted:       #5D5851;   /* body meta / secondary text */
  --ink-soft:        #8C8780;   /* tertiary / captions */
  --rule:            #DCD7CC;   /* hairline rules on cream */
  --accent:          #1F2D44;   /* primary — deep navy */
  --accent-hover:    #2F4266;
  --accent-2:        #B5824A;   /* secondary — warm brass */
  --accent-2-hover:  #9C6E3C;

  /* ---------- Footer palette (tokens for on-navy surface) ----------
     Every footer-surface color lives here so the footer stays
     consistent and is easy to re-tune in one place.
  */
  --footer-bg:          var(--accent);
  --footer-heading:     #F0EEE8;            /* brand name, hover states */
  --footer-text:        #D6D4CB;            /* primary links, email/phone */
  --footer-text-dim:    #C7C4BC;            /* secondary link column text */
  --footer-meta:        #A8A69E;            /* legal / copyright (tuned for 11px uppercase on navy) */
  --footer-rule:        rgba(227,226,221,0.18);
  --footer-rule-soft:   rgba(227,226,221,0.15);
  --footer-icon-bg:     rgba(255,255,255,0.08);
  --footer-icon-bg-hov: rgba(255,255,255,0.18);

  /* ---------- Layout ---------- */
  --max: 1440px;
  --gutter: clamp(20px, 4vw, 56px);

  /* ---------- Typography — 3 faces for variety ---------- */
  --serif: "Newsreader", "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(244, 242, 236, 0.88);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}
.nav-logo-mark {
  width: 42px;
  height: 42px;
  background: var(--accent);         /* navy tile */
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 0 rgba(14,16,19,0.04), 0 6px 16px -8px rgba(31,45,68,0.3);
  color: var(--paper);               /* cream S on navy */
  transform: translateY(-2px);       /* optical nudge to align with wordmark */
}
.nav-logo-mark .monogram {
  width: 100%;
  height: 100%;
  display: block;
}
.nav-logo-mark .monogram text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  fill: currentColor;
}
.nav-logo-text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.01em;
  line-height: 1;
  font-variation-settings: "opsz" 36;
}

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-links a { transition: color 0.2s ease; }
.nav-links a:hover { color: var(--accent); }

/* ---------- Hamburger button (hidden on desktop) ---------- */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  padding: 6px;
  margin: -6px;
  line-height: 0;
}

/* ---------- Mobile slide-out menu ---------- */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 24, 21, 0.35);
  z-index: 99;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-mobile-overlay.open {
  display: block;
  opacity: 1;
}
.nav-mobile {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--paper);
  z-index: 100;
  padding: 24px 28px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.nav-mobile.open {
  transform: translateX(0);
}
.nav-mobile-close {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  padding: 6px;
  margin: 0 0 24px auto;
  line-height: 0;
}
.nav-mobile-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-mobile-links li {
  border-bottom: 1px solid var(--rule);
}
.nav-mobile-links a {
  display: block;
  padding: 14px 0;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s ease;
}
.nav-mobile-links a:hover { color: var(--accent); }

@media (max-width: 780px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
}

/* ---------- Generic section ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 120px) var(--gutter);
  border-top: 1px solid var(--rule);
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 64px;
  gap: 24px;
  flex-wrap: wrap;
}
.section-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 500;
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.022em;
  margin: 12px 0 0;
  line-height: 1;
  color: var(--ink);
  font-variation-settings: "opsz" 60;
}

/* ============================================================
   HOME PAGE MODULES
   Hero, "My Work" paragraph, accolades broadsheet.
   ============================================================ */

/* Centered section heading (My Work, Writing Accolades) */
.section-head--center { justify-content: center; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) var(--gutter) clamp(64px, 7vw, 104px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.hero-text { display: grid; gap: 28px; justify-items: start; }
.hero-tag {
  font: 500 12px/1.5 var(--mono);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0;
}
.hero-tag .dot { margin: 0 0.25em; opacity: 0.6; }
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(64px, 8.4vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
  font-variation-settings: "opsz" 72;
}
.hero-title .accent { display: block; color: var(--accent); }
.hero-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--ink-muted);
  margin: 0;
  max-width: 34ch;
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* Buttons borrow .sheet-btn (WORK PAGES); the CV/Résumé pair add a PDF tag */
.hero-actions .sheet-btn small { font: 500 9.5px/1 var(--mono); letter-spacing: 0.14em; opacity: 0.7; }

/* Portrait with an offset navy card peeking out bottom-left */
.hero-portrait {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 440px;
  justify-self: end;
  aspect-ratio: 4 / 5;
}
.hero-portrait::before {
  content: "";
  position: absolute;
  inset: 14px 14px -14px -14px;
  background: var(--accent);
}
.hero-portrait img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-text { justify-items: center; }
  .hero-portrait { justify-self: center; max-width: 340px; order: -1; }
  .hero-title .accent { display: inline; }
  .hero-lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
}
@media (max-width: 560px) {
  .hero-title { font-size: clamp(44px, 13.5vw, 60px); }
  .hero-tag { font-size: 10.5px; letter-spacing: 0.18em; }
}

/* ---------- My Work — a short paragraph; the four kinds of writing are the links ---------- */
.work-sentence {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3.2vw, 46px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink-muted);
  text-wrap: balance;
  font-variation-settings: "opsz" 60;
}
.work-sentence a {
  color: var(--accent);
  white-space: nowrap;
  padding: 0 0.08em;
  /* brass underline that fills in like a highlighter on hover */
  background: linear-gradient(rgba(181, 130, 74, 0.3), rgba(181, 130, 74, 0.3)) no-repeat left 88% / 100% 0.14em;
  transition: background-size 0.35s ease, color 0.35s ease;
}
.work-sentence a:hover,
.work-sentence a:focus-visible { background-size: 100% 88%; color: var(--ink); }

/* ---------- Accolades — laurels row ---------- */
.accolade-laurels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 40px;
  margin: 0 0 56px;
}
.accolade-laurels img { height: 88px; width: auto; opacity: 0.85; }
@media (max-width: 820px) { .accolade-laurels img { height: 64px; } }

/* ---------- Accolades — Cinema Broadsheet ---------- */
.accolades-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px clamp(32px, 5vw, 64px);
}
@media (max-width: 780px) { .accolades-grid { grid-template-columns: 1fr; } }

.accolade-project { padding: 0; }
.accolade-project-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}
.accolade-project-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.15;
  color: var(--ink);
}
.accolade-project-type {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 500;
  white-space: nowrap;
}
.accolade-awards {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}
.accolade-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 6px 0;
  align-items: baseline;
}
.accolade-line {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.35;
  color: var(--ink);
}
.accolade-line .label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 600;
  margin-right: 8px;
}
.accolade-year {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ============================================================
   FOOTER (shared component)
   All on-navy surface colors come from the --footer-* tokens
   defined at the top of this file.
   ============================================================ */
.site-footer {
  background: var(--footer-bg);          /* navy — matches logo tile & brand */
  color: var(--footer-text);
  margin-top: clamp(56px, 8vw, 120px);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) var(--gutter);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-inner { grid-template-columns: 1fr; } }

/* Column 1 — brand + contact */
.footer-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  color: var(--footer-heading);
}
.footer-tag {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 28px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.4;
}
.footer-tag span { display: block; }

.footer-contact-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--footer-rule);
}
.footer-email,
.footer-phone {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--footer-text);
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}
.footer-email:hover,
.footer-phone:hover { color: var(--footer-heading); }

/* Footer social — subtle pill buttons on navy, lift on hover */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.footer-social .social-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--footer-icon-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-text);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-social .social-btn:hover {
  background: var(--footer-icon-bg-hov);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Columns 2 & 3 — link columns */
.footer-col-title {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin: 0 0 20px;
  color: var(--accent-2);
}
.footer-col-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-list a {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--footer-text-dim);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.footer-col-list a:hover { color: var(--footer-heading); }

/* Legal row — spans all columns */
.footer-legal-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 12px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--footer-rule-soft);
}
/* Privacy and copyright MUST match: same font, size, color, weight, tracking */
.footer-legal,
.footer-privacy {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--footer-meta);
  margin: 0;
  font-weight: 500;
}
.footer-privacy { transition: color 0.2s ease; }
.footer-privacy:hover { color: var(--footer-heading); }

/* ============================================================
   ABOUT PAGE
   Editorial profile layout — greeting + lede + portrait +
   continued bio + pull quote + Q&A. Re-uses shared tokens and
   the .section-label / .section-title system.
   ============================================================ */

/* Reading-width column used for body copy on the about page */
.about-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.about-body-inner {
  max-width: 680px;
  margin: 0 auto;
}
.about-body p {
  font-family: var(--serif);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 1.2em;
  font-variation-settings: "opsz" 16;
}
.about-body p:last-child { margin-bottom: 0; }

/* ---------- Intro ---------- */
.about-intro {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 140px) var(--gutter) clamp(32px, 4vw, 56px);
  text-align: center;
}
.about-intro-inner {
  max-width: 720px;
  margin: 0 auto;
}
.about-intro .section-label {
  margin-bottom: 24px;
}
.about-greeting {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(72px, 12vw, 168px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0;
  font-variation-settings: "opsz" 72;
}
/* ---------- Lede + drop cap ---------- */
.about-lede {
  font-size: clamp(18px, 1.5vw, 22px) !important;
  line-height: 1.55 !important;
}
/* Accessible drop cap — visible ornament hidden from screen readers,
   matching first letter exposed to assistive tech via .dropcap-sr */
.dropcap {
  float: left;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(74px, 7vw, 104px);
  line-height: 0.85;
  padding: 6px 12px 0 0;
  color: var(--accent);
  font-variation-settings: "opsz" 72;
  letter-spacing: -0.02em;
}
.dropcap-sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Portrait ---------- */
.about-portrait-figure {
  max-width: var(--max);
  margin: clamp(48px, 6vw, 88px) auto;
  padding: 0 var(--gutter);
}
.about-portrait-frame {
  position: relative;
  max-width: 680px;
  aspect-ratio: 5 / 4;
  margin: 0 auto;
}
.about-portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% center;
  filter: saturate(0.82) contrast(0.96);
}

/* ---------- Pull quote ---------- */
.about-pullquote-section {
  max-width: var(--max);
  margin: clamp(56px, 8vw, 104px) auto;
  padding: 0 var(--gutter);
}
.about-pullquote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(32px, 5vw, 56px) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.about-pullquote-text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
  font-variation-settings: "opsz" 48;
  text-wrap: balance;
}
.about-pullquote-mark,
.about-pullquote-mark-close {
  font-family: var(--serif);
  font-style: normal;
  color: var(--accent-2);
  font-size: 1.2em;
  line-height: 0;
  position: relative;
  top: 0.12em;
}
.about-pullquote-mark { margin-right: 0.08em; }
.about-pullquote-mark-close { margin-left: 0.04em; }

/* ---------- Q&A ---------- */
.about-qa .section-head { justify-content: center; text-align: center; }

.qa-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 72px);
}
.qa-item {
  padding: 0;
}
.qa-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 600;
  margin: 0 0 14px;
}
.qa-number {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
}
.qa-question {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 18px;
  font-variation-settings: "opsz" 36;
  text-wrap: balance;
}
.qa-rule {
  width: 40px;
  height: 1px;
  background: rgba(26, 24, 21, 0.3);
  margin: 0 0 18px;
}
.qa-answer {
  font-family: var(--serif);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
  font-variation-settings: "opsz" 16;
}
.qa-answer em {
  font-style: italic;
}

/* ---------- Mobile tweaks ---------- */
@media (max-width: 680px) {
  .about-greeting {
    font-size: clamp(64px, 18vw, 96px);
  }
  .about-portrait-frame::before {
    inset: auto -10px -10px auto;
    width: 62%;
    height: 62%;
  }
}

/* ============================================================
   WORK PAGES — Scripts, Creative Nonfiction, Books, Short Films
   Each piece is a "one-sheet": title block, optional video,
   story + facts + buttons, a side panel (awards, series
   volumes, cover, or opening lines), then optional excerpt,
   pull quotes and author's note. Markup: _includes/sheet.njk.
   ============================================================ */

/* ---------- Page intro ---------- */
.books-intro {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 140px) var(--gutter) clamp(40px, 5vw, 72px);
  text-align: center;
}
.books-intro-inner {
  max-width: 720px;
  margin: 0 auto;
}
.books-intro .section-label { margin-bottom: 20px; }
.books-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(64px, 11vw, 148px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0;
  font-variation-settings: "opsz" 72;
}
.books-intro-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink-muted);
  margin: 20px 0 0;
}

/* ---------- The sheet ---------- */
.sheets {
  padding: 0 var(--gutter) clamp(48px, 7vw, 120px);
}
.sheet {
  max-width: 1240px;
  margin: 0 auto clamp(28px, 4vw, 48px);
  padding: clamp(28px, 4vw, 56px);
  background: var(--paper);
  border: 1px solid var(--rule);
  box-shadow: 0 30px 60px -40px rgba(26, 24, 21, 0.35);
  scroll-margin-top: 100px;
}

/* Small uppercase labels (above titles, panel headings) */
.sheet-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 600;
  margin: 0 0 14px;
}
.sheet-label--light { color: #D9B387; }  /* brass, lightened for navy */

.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--ink);
}
.sheet-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
  font-variation-settings: "opsz" 60;
  text-wrap: balance;
}
.sheet-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--ink-muted);
  margin: 12px 0 0;
}
.sheet-pill {
  flex-shrink: 0;
  background: var(--accent-2);
  color: var(--paper);
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.sheet-pill--quiet {
  background: transparent;
  color: var(--accent-2-hover);
  box-shadow: inset 0 0 0 1px var(--accent-2);
}

/* ---------- Video (Short Films) ---------- */
.sheet-video {
  margin-top: 32px;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  box-shadow: 0 24px 48px -28px rgba(26, 24, 21, 0.5);
}
.sheet-video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Main column ---------- */
.sheet-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-top: 32px;
}
.sheet--solo .sheet-grid { grid-template-columns: 1fr; }
.sheet--solo .sheet-desc { max-width: 70ch; }
.sheet-desc {
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  margin: 0;
  color: var(--ink);
}
.sheet-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1px;
  margin: 32px 0 0;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.sheet-facts div { background: var(--paper); padding: 14px 16px; }
.sheet-facts dt {
  font: 600 10px/1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.sheet-facts dd { margin: 0; font-family: var(--serif); font-size: 17px; }
.sheet-facts a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.sheet-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.sheet-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--accent);
  color: var(--paper);
  font: 600 12px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease;
}
.sheet-btn:hover { background: var(--accent-hover); }
.sheet-btn span { font-family: var(--serif); font-size: 18px; letter-spacing: 0; }
.sheet-btn--ghost {
  background: transparent;
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.sheet-btn--ghost:hover { background: var(--accent); color: var(--paper); }
/* A lone button spans the story column instead of hugging the left edge */
.sheet-btn:only-child { flex: 1 1 100%; justify-content: center; }

/* ---------- Side panel: navy (awards, series volumes) ---------- */
.sheet-panel {
  background: var(--accent);
  color: var(--footer-text);
  padding: clamp(24px, 3vw, 36px);
  align-self: start;
}
/* Laurel artwork is black on transparent; invert to cream on navy */
.sheet-laurels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 22px;
  margin-bottom: 26px;
}
.sheet-laurels img { width: 100%; height: auto; filter: invert(1); opacity: 0.92; }
.sheet-awards { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.sheet-awards li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  padding: 11px 0;
  border-top: 1px solid var(--footer-rule);
}
.sheet-award-name { font-weight: 600; color: var(--footer-heading); }
.sheet-award-from { grid-column: 1; color: var(--footer-text-dim); }
.sheet-award-year {
  grid-row: 1;
  grid-column: 2;
  font-family: var(--mono);
  font-size: 12px;
  color: #D9B387;
}
.sheet-volumes { list-style: none; margin: 0; padding: 0; }
.sheet-volumes li {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--footer-rule);
}
.sheet-volume-num {
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #D9B387;
}
.sheet-volume-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  color: var(--footer-heading);
}
.sheet-volume-status { font-size: 13.5px; color: var(--footer-text-dim); }

/* ---------- Side panel: book cover ---------- */
.sheet-cover { align-self: start; display: flex; justify-content: center; }
.sheet-cover img {
  width: 100%;
  max-width: 320px;
  height: auto;
  box-shadow:
    0 1px 2px rgba(26, 24, 21, 0.1),
    0 30px 50px -24px rgba(26, 24, 21, 0.45);
}

/* ---------- Opening lines, pull quotes, author's note ---------- */
.sheet-opening,
.sheet-quote {
  background: var(--bg-alt);
  border-left: 3px solid var(--accent-2);
  padding: clamp(22px, 3vw, 34px);
  align-self: start;
}
.sheet-opening--wide { margin-top: 32px; }
.sheet-opening--wide .sheet-excerpt { columns: 2 320px; column-gap: 40px; }
/* Moved up into the story column by site.js when it fits beside a tall panel */
.sheet-opening--inline .sheet-excerpt { columns: auto; }
.sheet-excerpt {
  font-family: var(--serif);
  font-size: clamp(15.5px, 1.2vw, 17.5px);
  line-height: 1.65;
  color: var(--ink);
}
.sheet-excerpt p { margin: 0 0 14px; }
.sheet-excerpt p:last-child { margin-bottom: 0; }
.sheet-quote { margin: 32px 0 0; }
.sheet-quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--ink);
  max-width: 72ch;
}
.sheet-note {
  margin-top: 20px;
  padding: 20px 24px;
  border: 1px dashed var(--rule);
}
.sheet-note p:last-child {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-muted);
}

@media (max-width: 860px) {
  .sheet-head { flex-direction: column; }
  .sheet-grid { grid-template-columns: 1fr; }
  .sheet-cover { order: -1; }
  .sheet-cover img { max-width: 240px; }
}


/* ---------- Privacy page headings & meta ----------
   Extracted from inline style attributes in privacy.njk so the
   template stays clean and the typography lives in one place.
*/
.privacy-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 36;
  letter-spacing: -0.01em;
  line-height: 1.15;
  font-size: clamp(28px, 3.2vw, 40px);
  margin-top: 2em;
  margin-bottom: 0.6em;
  color: var(--ink);
}
.privacy-updated {
  margin-top: 2.4em;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
}

