/* ===========================================================================
   Author website — design system
   Light, editorial, book-first. One accent colour. No frameworks.
   =========================================================================== */

/* --- Tokens -------------------------------------------------------------- */
:root {
  color-scheme: light;

  --ink:        #1c1a17;
  --ink-soft:   #423c35;
  --muted:      #82796f;
  --line:       #e8e1d7;
  --line-soft:  #f1ece4;

  --bg:         #ffffff;
  --bg-soft:    #fbf9f6;
  --bg-warm:    #f5f0e9;

  --accent:     #b4532a;
  --accent-dark:#96431f;
  --accent-tint:#fdf4ef;

  --radius:     10px;
  --radius-lg:  16px;

  --shadow-sm:  0 1px 2px rgba(28, 26, 23, .05);
  --shadow:     0 4px 16px -6px rgba(28, 26, 23, .14);
  --shadow-lg:  0 22px 48px -22px rgba(28, 26, 23, .32);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap:    1160px;
  --wrap-sm: 760px;
  --gutter:  clamp(1.25rem, 5vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
}

/* --- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

/* --- Typography ---------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.75rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.08rem, 1.7vw, 1.25rem);
  line-height: 1.7;
  color: var(--ink-soft);
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}
.eyebrow--muted { color: var(--muted); }

.prose { max-width: 68ch; color: var(--ink-soft); }
.prose p { margin-bottom: 1.3em; }
.prose h2, .prose h3 { color: var(--ink); margin-top: 2.2em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.3em; }
.prose li { margin-bottom: .45em; }

.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* --- Layout -------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-sm); }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--soft { background: var(--bg-soft); }
.section--warm { background: var(--bg-warm); }
.section + .section--soft, .section--soft + .section { border-top: 1px solid var(--line-soft); }

.section-head { max-width: 62ch; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem;
  font-family: var(--font-body);
  font-size: .94rem; font-weight: 600; letter-spacing: .01em;
  line-height: 1.2;
  border: 1px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--bg-soft); border-color: var(--muted); color: var(--ink); }

.btn--light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--light:hover { background: var(--bg-soft); color: var(--ink); }

.btn--sm { padding: .6rem 1.15rem; font-size: .85rem; }
.btn--block { width: 100%; }
.btn[aria-disabled="true"], .btn--disabled {
  background: var(--bg-warm); color: var(--muted); border-color: var(--line);
  pointer-events: none; box-shadow: none;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

.textlink {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .92rem; font-weight: 600; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line); padding-bottom: 2px;
  transition: border-color .18s ease, color .18s ease;
}
.textlink:hover { color: var(--accent); border-color: var(--accent); }
.textlink::after { content: "→"; transition: transform .18s ease; }
.textlink:hover::after { transform: translateX(3px); }

/* --- Header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  isolation: isolate;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 72px;
}
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.brand__tag  { font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative;
  font-size: .92rem; font-weight: 500; color: var(--ink-soft); text-decoration: none;
  padding: .35rem 0;
  transition: color .18s ease;
}
.nav__link:hover { color: var(--ink); }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink); }

.nav-toggle {
  display: none; width: 44px; height: 44px; margin-right: -8px;
  background: none; border: 0; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); position: relative; transition: background .2s ease; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 1.5px; background: var(--ink); transition: transform .22s ease;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .brand__name { font-size: 1rem; }
  .brand__tag { font-size: .62rem; letter-spacing: .1em; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 28px -20px rgba(28, 26, 23, .35);
    padding: .5rem var(--gutter) 1.5rem;
    max-height: 78dvh; overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line-soft); }
  .nav__link { display: block; padding: .95rem 0; font-size: 1.02rem; }
  .nav__link::after { display: none; }
  .nav .btn { margin-top: 1.25rem; width: 100%; }
}

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fffdfa 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--line-soft);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::before {
  width: 420px; height: 420px; top: -180px; right: -120px;
  background: radial-gradient(circle, rgba(180, 83, 42, .07), transparent 70%);
}
.hero::after {
  width: 320px; height: 320px; bottom: -160px; left: -110px;
  background: radial-gradient(circle, rgba(180, 83, 42, .05), transparent 70%);
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.hero__title { margin-bottom: .4em; }
.hero__tagline {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.15rem, 2.3vw, 1.5rem); color: var(--accent);
  margin: 0 0 1.4rem;
}
.hero__text { max-width: 46ch; margin-bottom: 2rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 2.25rem; font-size: .82rem; color: var(--muted); }
.hero__meta span { display: inline-flex; align-items: center; gap: .45rem; }
.hero__meta span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: left; padding-block: clamp(2.75rem, 8vw, 4rem); }
  .hero__figure { order: -1; max-width: 300px; }
}

/* --- Book cover presentation -------------------------------------------- */
.cover {
  position: relative; display: block;
  border-radius: 4px 8px 8px 4px;
  overflow: hidden;
  background: var(--bg-warm);
  box-shadow: var(--shadow-lg);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease;
}
.cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.16) 0%, rgba(0,0,0,.04) 3%, rgba(255,255,255,.14) 7%, transparent 14%);
  pointer-events: none;
}
.cover img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
a.cover:hover, .book-card:hover .cover { transform: translateY(-5px) rotate(-.4deg); box-shadow: 0 30px 60px -26px rgba(28,26,23,.42); }

.cover--hero { max-width: 380px; margin-inline: auto; }
.cover--lg   { max-width: 440px; }

.cover-wrap { position: relative; }
.cover-wrap::before {
  content: ""; position: absolute; left: 6%; right: 6%; bottom: -14px; height: 22px;
  background: radial-gradient(ellipse at center, rgba(28,26,23,.20), transparent 72%);
  filter: blur(6px); z-index: -1;
}

.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: inline-block; padding: .35rem .7rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(255,255,255,.95); color: var(--accent);
  border-radius: 999px; box-shadow: var(--shadow-sm);
}
.badge--dark { background: var(--ink); color: #fff; }

/* --- Book grid / cards --------------------------------------------------- */
.book-grid {
  display: grid; gap: clamp(2rem, 4vw, 3.25rem);
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.book-grid--two { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.book-card { display: flex; flex-direction: column; }
.book-card__media { position: relative; margin-bottom: 1.4rem; }
.book-card__series { font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; }
.book-card__title { font-size: 1.28rem; margin-bottom: .5rem; }
.book-card__title a { color: inherit; text-decoration: none; }
.book-card__title a:hover { color: var(--accent); }
.book-card__text { font-size: .94rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.book-card__meta { font-size: .8rem; color: var(--muted); margin-bottom: 1.1rem; }
.book-card__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }

/* --- Featured book split -------------------------------------------------- */
.feature {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
@media (max-width: 880px) { .feature { grid-template-columns: 1fr; } .feature__media { max-width: 300px; } }

.detail-grid {
  display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 4.5rem); align-items: start;
}
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } .detail-grid__media { max-width: 320px; } }

.detail-sticky { position: sticky; top: 100px; }
@media (max-width: 900px) { .detail-sticky { position: static; } }

/* --- Spec list ------------------------------------------------------------ */
.specs { margin: 2rem 0 0; padding: 1.6rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .85rem; }
.specs div { display: grid; grid-template-columns: 148px 1fr; gap: 1rem; font-size: .9rem; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 520px) { .specs div { grid-template-columns: 1fr; gap: .1rem; } }

/* --- About / media blocks ------------------------------------------------- */
.media-split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 4.5rem); align-items: center;
}
.media-split--reverse .media-split__media { order: 2; }
@media (max-width: 880px) {
  .media-split { grid-template-columns: 1fr; }
  .media-split--reverse .media-split__media { order: 0; }
}
.photo {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line-soft);
  background: var(--bg-warm);
}
.photo img { width: 100%; object-fit: cover; }
.photo--portrait img { aspect-ratio: 4 / 5; }

.pull-quote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem); line-height: 1.45;
  color: var(--ink); max-width: 30ch; margin: 0;
  padding-left: 1.5rem; border-left: 2px solid var(--accent);
}
.pull-quote cite { display: block; margin-top: 1rem; font: 500 .82rem/1.4 var(--font-body); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* --- Reviews -------------------------------------------------------------- */
.review-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.review {
  background: var(--bg-soft); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 1.6rem 1.75rem;
}
.review__quote { font-family: var(--font-display); font-size: 1.02rem; line-height: 1.6; color: var(--ink); margin: 0 0 1rem; }
.review__by { font-size: .82rem; color: var(--muted); margin: 0; }
.stars { color: var(--accent); letter-spacing: .12em; font-size: .85rem; margin-bottom: .7rem; }

/* --- Newsletter ----------------------------------------------------------- */
.newsletter {
  background: var(--ink); color: #f6f2ec;
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 5vw, 3.75rem);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.newsletter h2 { color: #fff; margin-bottom: .5rem; }
.newsletter p { color: #c9c0b5; margin: 0; font-size: .96rem; }
.newsletter .eyebrow { color: #d9835e; }
@media (max-width: 820px) { .newsletter { grid-template-columns: 1fr; } }

.subscribe-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.subscribe-form input[type="email"] {
  flex: 1 1 220px; min-width: 0;
  padding: .85rem 1.1rem; font: inherit; font-size: .95rem;
  color: var(--ink); background: #fff;
  border: 1px solid transparent; border-radius: 999px;
}
.subscribe-form input[type="email"]::placeholder { color: #9d948a; }
.subscribe-form .btn { flex: 0 0 auto; }
.subscribe-note { margin-top: .9rem; font-size: .78rem; color: #9b9187; }
.newsletter--light { background: var(--bg-warm); color: var(--ink-soft); }
.newsletter--light h2 { color: var(--ink); }
.newsletter--light p { color: var(--ink-soft); }
.newsletter--light .eyebrow { color: var(--accent); }
.newsletter--light .subscribe-note { color: var(--muted); }
.newsletter--light .subscribe-form input[type="email"] { border-color: var(--line); }

/* --- Forms ---------------------------------------------------------------- */
.form { display: grid; gap: 1.25rem; }
.form-row { display: grid; gap: 1.25rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.field label, .field > span.label {
  display: block; margin-bottom: .45rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--ink);
}
.field .hint { display: block; margin-top: .4rem; font-size: .78rem; color: var(--muted); font-weight: 400; }

input[type="text"], input[type="email"], input[type="url"], input[type="search"],
input[type="password"], input[type="date"], input[type="number"], select, textarea {
  width: 100%; padding: .8rem 1rem;
  font: inherit; font-size: .95rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .18s ease, box-shadow .18s ease;
}
textarea { min-height: 170px; resize: vertical; line-height: 1.65; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(180, 83, 42, .12);
}
select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%2382796f' stroke-width='1.5' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px; padding-right: 2.5rem; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* --- Alerts --------------------------------------------------------------- */
.alert {
  padding: .95rem 1.2rem; border-radius: var(--radius);
  font-size: .92rem; border: 1px solid; margin-bottom: 1.5rem;
}
.alert--success { background: #f2f7f2; border-color: #cfe1d2; color: #24593a; }
.alert--error   { background: var(--accent-tint); border-color: #eec7b6; color: #8c3616; }
.alert--info    { background: var(--bg-soft); border-color: var(--line); color: var(--ink-soft); }

/* --- Footer --------------------------------------------------------------- */
.site-footer {
  background: var(--bg-soft); border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  margin-top: 0;
}
.footer-grid {
  display: grid; gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.2fr);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand__name { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: .35rem; }
.footer-brand__tag { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.footer-brand p { font-size: .88rem; color: var(--muted); max-width: 34ch; }

.footer-col h4 { font-family: var(--font-body); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-col a { font-size: .9rem; color: var(--ink-soft); text-decoration: none; }
.footer-col a:hover { color: var(--accent); }

.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a {
  display: grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid var(--line); border-radius: 50%; color: var(--ink-soft);
  background: #fff; transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.socials a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .82rem; color: var(--muted);
}
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* --- Page header (inner pages) ------------------------------------------- */
.page-head {
  background: var(--bg-soft); border-bottom: 1px solid var(--line-soft);
  padding-block: clamp(3rem, 7vw, 5rem);
}
.page-head h1 { margin-bottom: .35em; }
.page-head p { max-width: 58ch; color: var(--ink-soft); margin: 0; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .8rem; color: var(--muted); margin-bottom: 1.25rem; list-style: none; padding: 0; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--line); }

/* --- Status / empty states ----------------------------------------------- */
.empty {
  border: 1px dashed var(--line); border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4rem); text-align: center; color: var(--muted);
  background: var(--bg-soft);
}
.centered { text-align: center; }
.centered .prose { margin-inline: auto; }

/* --- Reveal on scroll (progressive: only hidden when JS is running) ------ */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* --- Print ---------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .newsletter, .btn { display: none !important; }
  body { color: #000; background: #fff; }
}
