/* NHỮNG LÁ THƯ — the opening page of the collection.
   The same paper, the same ink, the same rule as the letters themselves:
       the author's words are serif · the machine's words are sans
   No hero. No cards. No product. This is the page you meet when you open a book of letters. */

@font-face{font-family:'Lora';font-style:normal;font-weight:400 700;font-display:swap;
  src:url('/fonts/lora-vietnamese.woff2') format('woff2');
  unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Lora';font-style:normal;font-weight:400 700;font-display:swap;
  src:url('/fonts/lora-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:300 900;font-display:swap;
  src:url('/fonts/inter-vietnamese.woff2') format('woff2');
  unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Inter';font-style:normal;font-weight:300 900;font-display:swap;
  src:url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  --bg:#F8F6F1;
  --paper:#FFFDF8;                 /* surfaces lifted off the page — the shared drawer panel */
  --scrim:rgba(37,35,31,.25);      /* the drawer overlay */
  --ink:#25231F;
  --ink-soft:#736D64;
  --accent:#CC6600;
  --accent-deep:#A65300;
  --border:#DDD7CE;
  --border-soft:#E9E3D9;           /* the Reader card's hairline — used for homepage section frames */
  --measure:34rem;
  --serif:'Lora',Georgia,'Times New Roman',serif;
  --sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
@media (prefers-color-scheme:dark){
  :root{--bg:#1A1917;--paper:#201F1C;--scrim:rgba(0,0,0,.5);--ink:#E4DFD6;--ink-soft:#9A9287;--accent:#E8873A;--accent-deep:#F0A162;--border:#37342F;--border-soft:#33302B}
}

*{box-sizing:border-box}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:var(--serif);font-size:21px;line-height:1.75;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
.skip-link{
  position:absolute;left:-9999px;top:0;z-index:10;
  background:var(--bg);color:var(--ink);border:1px solid var(--border);
  padding:.75rem 1.25rem;font-family:var(--sans);font-size:1rem;text-decoration:none;
}
.skip-link:focus{left:1rem;top:1rem}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

/* The browse content column is the canonical content-card width (shared token in toc.css), with the
   same 1.25rem gutter the reader card uses — so a homepage section card is exactly as wide as a
   chapter card. The hero/featured keep their own narrower max-widths and just centre within it. */
main{max-width:var(--content-card-max);margin:0 auto;padding:0 1.25rem}

/* ── Public navigation — the five sections, shared across every browse page ──
   Quiet and editorial, never a SaaS app bar. On a phone it collapses behind one button. */
.nav{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  max-width:60rem;margin:0 auto;padding:1.25rem 1.5rem;
}
.nav__brand{
  font-family:var(--sans);font-size:.75rem;font-weight:700;letter-spacing:.1em;
  color:var(--ink);text-decoration:none;white-space:nowrap;
}
.nav__links{display:flex;gap:1.5rem;flex-wrap:wrap}
.nav__link{
  font-family:var(--sans);font-size:.8125rem;font-weight:500;letter-spacing:.01em;
  color:var(--ink-soft);text-decoration:none;white-space:nowrap;
  padding:.25rem 0;border-bottom:1px solid transparent;transition:color .2s ease,border-color .2s ease;
}
.nav__link:hover{color:var(--accent)}
.nav__link.is-active{color:var(--ink);border-bottom-color:var(--accent)}
.nav__toggle{
  display:none;align-items:center;justify-content:center;
  min-width:44px;min-height:44px;background:none;border:none;cursor:pointer;color:var(--ink-soft);
}
.nav__toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}

/* ── Featured work — a single quiet spotlight ── */
/* No border-bottom here: it stacked a second hairline right above the first section card's own top
   border. The section cards carry the only frame; the featured block separates by its spacing. */
.featured{text-align:center;padding:3.5rem 0 4rem}
.featured__eyebrow{font-family:var(--sans);font-size:.6875rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--accent);margin:0 0 1.25rem}
.featured__title{font-family:var(--serif);font-weight:400;font-size:clamp(1.75rem,5vw,2.75rem);line-height:1.2;margin:0 auto;max-width:28rem}
.featured__title a{color:var(--ink);text-decoration:none}
.featured__title a:hover{color:var(--accent)}
.featured__sub{font-family:var(--serif);font-style:italic;font-size:1.0625rem;line-height:1.7;color:var(--ink-soft);margin:1.25rem auto 2rem;max-width:30rem}

/* ── Homepage sections — one hairline-framed block per content group ──
   The frame is the SAME everywhere (a barely-there 4-side border, no background, no shadow, a small
   radius — the same warm hairline as the Reader card). What differs between sections is the item
   body below, not the frame: information order, type scale and alignment do the identifying. */
.home-section{
  border:1px solid var(--border-soft);
  border-radius:16px;
  padding:1.9rem 2.1rem 2.1rem;
  margin:0 0 2rem;
  background:transparent;              /* same canonical page ground — no raised surface */
}
.home-section__head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:1.1rem}
/* Section title — brand orange, but the same serif weight/size as before: identify, don't shout. */
.home-section__title{font-family:var(--serif);font-weight:400;font-size:1.5rem;line-height:1.2;color:var(--accent);margin:0}
.home-section__all{font-family:var(--sans);font-size:.75rem;font-weight:500;color:var(--ink-soft);text-decoration:none;white-space:nowrap;flex-shrink:0}
.home-section__all:hover{color:var(--accent)}
.hlist{list-style:none;margin:0;padding:0}
.hitem__link{display:block;text-decoration:none;color:inherit}
.hitem__link:hover .hitem__title,
.hitem__link:hover .hitem__booktitle{color:var(--accent)}

/* Mới xuất bản — small kind label, title, one quiet line; a divided list. */
.hitem--latest{padding:1rem 0;border-top:1px solid var(--border-soft)}
.hitem--latest:first-child{border-top:0;padding-top:0}
.hitem__kind{display:block;font-family:var(--sans);font-size:.625rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-soft);margin-bottom:.4rem}
.hitem--latest .hitem__title{display:block;font-family:var(--serif);font-size:1.125rem;line-height:1.35;color:var(--ink)}
.hitem--latest .hitem__sub{display:block;margin-top:.25rem;font-family:var(--serif);font-style:italic;font-size:.875rem;line-height:1.5;color:var(--ink-soft)}

/* Sách — the most formal: a larger title, subtitle, and the chapter count alone. */
.hitem--book{padding:.4rem 0}
.hitem__booktitle{display:block;font-family:var(--serif);font-weight:400;font-size:1.625rem;line-height:1.25;color:var(--ink)}
.hitem--book .hitem__sub{display:block;margin-top:.6rem;font-family:var(--serif);font-style:italic;font-size:1rem;line-height:1.6;color:var(--ink-soft);max-width:34rem}
.hitem--book .hitem__meta{display:block;margin-top:.7rem;font-family:var(--sans);font-size:.75rem;letter-spacing:.04em;color:var(--ink-soft)}

/* Lá Thư — the ordinal on the left, the "Gửi…" line the important one; a narrower block. */
.hitem--letter{padding:1rem 0;border-top:1px solid var(--border-soft)}
.hitem--letter:first-child{border-top:0;padding-top:0}
.hitem--letter .hitem__link{display:flex;gap:1.25rem;align-items:baseline}
.hitem__n{font-family:var(--sans);font-size:.75rem;font-weight:500;letter-spacing:.08em;color:var(--accent);flex-shrink:0;min-width:1.5rem;font-variant-numeric:tabular-nums}
.hitem--letter .hitem__body{flex:1;min-width:0;max-width:30rem}
.hitem--letter .hitem__title{display:block;font-family:var(--serif);font-size:1.25rem;line-height:1.3;color:var(--ink)}
.hitem__gui{display:block;margin-top:.4rem;font-family:var(--serif);font-style:italic;font-size:.9375rem;line-height:1.55;color:var(--ink-soft)}

/* Câu chuyện — title and its short lead line, the lead distinguishing; compact. */
.hitem--story{padding:.9rem 0;border-top:1px solid var(--border-soft)}
.hitem--story:first-child{border-top:0;padding-top:0}
.hitem--story .hitem__title{display:block;font-family:var(--serif);font-size:1.1875rem;line-height:1.35;color:var(--ink)}
.hitem__lead{display:block;margin-top:.3rem;font-family:var(--serif);font-style:italic;font-size:.9375rem;line-height:1.55;color:var(--ink-soft)}

/* Câu nói — typography-led: the line larger, source small beneath; two columns on desktop. */
.hlist--quote{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem 2.5rem}
.hitem--quote{padding:0}
.hitem__qlink{text-decoration:none;display:block}
.hitem__quote{font-family:var(--serif);font-size:1.1875rem;line-height:1.5;color:var(--ink)}
.hitem__qlink:hover .hitem__quote{color:var(--accent)}
.hitem__from{display:block;margin-top:.5rem;font-family:var(--sans);font-size:.75rem;color:var(--ink-soft)}
/* "Trích từ" stays muted (via .hitem__from); only the work title carries the brand orange. */
.hitem__source{color:var(--accent);text-decoration:none}
.hitem__source:hover{text-decoration:underline}
.hitem__source:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:2px}

/* The chips (topics) reuse the shared .chip/.chips from the discovery section below. */
.hitem .chips{margin-top:.55rem}

@media (max-width:760px){
  .home-section{padding:1.4rem 1.25rem 1.6rem;border-radius:14px;margin-bottom:1.5rem}
  .home-section__title{font-size:1.3125rem}
  .hlist--quote{grid-template-columns:1fr;gap:1.4rem}
  .hitem__booktitle{font-size:1.375rem}
}

/* ── Discovery bar — sort segmented control + topic filter ──
   Quiet and compact. The chosen sort segment is a warm cream/beige, never a full orange fill. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.discovery{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;
  margin:2.5rem 0 .5rem;
}
/* Sort controls — a row of clean WHITE pills, the same visual family as the topic chips on the
   cards below: white surface (--paper), a fine warm border (--border), fully rounded. No filled
   beige track, no heavy block. Active stays on white and is set apart by a firmer border, a shade
   more ink, a heavier weight and the faintest lift — clear, but never heavier than a card chip. */
.sortseg{display:inline-flex;gap:.4rem;flex-wrap:wrap}
.sortseg button{
  min-height:36px;padding:.4rem .7rem;
  background:var(--paper);border:1px solid var(--border);border-radius:999px;cursor:pointer;
  font-family:var(--sans);font-size:.8125rem;color:var(--ink-soft);white-space:nowrap;
  transition:border-color .15s ease,color .15s ease,box-shadow .15s ease;
}
.sortseg button:hover{border-color:var(--ink-soft);color:var(--ink)}
/* Active: still on white, marked by a thin brand-orange outline (1px #CC6600) and slightly bolder,
   darker text — no orange fill, no shadow. The focus ring (below) is a separate 2px offset outline,
   so focus and active never look the same. */
.sortseg button[aria-checked="true"]{
  background:var(--paper);border-color:var(--accent);color:var(--ink);font-weight:600;
}
.sortseg button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.discovery__filter{display:inline-flex;align-items:center;gap:.75rem}
.topicfilter select{
  font-family:var(--sans);font-size:.8125rem;color:var(--ink);
  background-color:var(--paper);border:1px solid var(--border);border-radius:999px;
  padding:.45rem 2rem .45rem .95rem;min-height:38px;cursor:pointer;
  -webkit-appearance:none;appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23736D64' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right .7rem center;background-size:12px;
}
.topicfilter select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.clearfilter{
  background:none;border:0;cursor:pointer;padding:.4rem;
  font-family:var(--sans);font-size:.75rem;color:var(--ink-soft);text-decoration:underline;
  text-underline-offset:3px;text-decoration-color:var(--border);
}
.clearfilter:hover{color:var(--accent);text-decoration-color:var(--accent)}
.discovery__count{font-family:var(--sans);font-size:.75rem;color:var(--ink-soft);margin:0 0 1rem;text-align:right}

/* Topic chips on a card — at most two, quiet. */
.chips{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.6rem}
.chip{
  font-family:var(--sans);font-size:.625rem;letter-spacing:.02em;color:var(--ink-soft);
  background:var(--paper);border:1px solid var(--border);border-radius:999px;padding:.15rem .55rem;
}

@media (max-width:560px){
  .discovery{gap:.6rem}
  .sortseg{width:100%}
  .sortseg button{flex:1;text-align:center;padding:.35rem .4rem}
  .discovery__filter{width:100%;justify-content:space-between}
  .topicfilter{flex:1}
  .topicfilter select{width:100%}
  .discovery__count{text-align:left}
}

/* ── Collection page header ── */
.collhead{text-align:center;padding:5rem 0 1rem}
.collhead__title{font-family:var(--serif);font-weight:400;font-size:clamp(2rem,6vw,3rem);line-height:1.15;margin:0}
.collhead__rule{width:3rem;height:1px;background:var(--border);border:0;margin:2rem auto}
.collhead__intro{font-family:var(--serif);font-style:italic;font-size:1.0625rem;line-height:1.7;color:var(--ink-soft);margin:0 auto;max-width:30rem}
.empty{text-align:center;color:var(--ink-soft);font-style:italic;padding:4rem 0}

/* ── Những Câu Nói Hay — typography-led ── */
.quotes{list-style:none;margin:3rem 0 6rem;padding:0}
.quote{padding:2.75rem 0;border-bottom:1px solid var(--border)}
.quote:first-child{border-top:1px solid var(--border)}
.quote__text{font-family:var(--serif);font-size:clamp(1.375rem,3.5vw,1.75rem);line-height:1.45;color:var(--ink);margin:0 0 1.25rem;font-weight:400}
.quote__topic{font-family:var(--sans);font-size:.6875rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);margin:0 0 .75rem}
.quote__context{font-family:var(--serif);font-size:1rem;line-height:1.7;color:var(--ink-soft);margin:0 0 .75rem;max-width:34rem}
/* "Trích từ" stays muted (via .quote__from); only the work title carries the brand orange. */
.quote__from{font-family:var(--sans);font-size:.8125rem;color:var(--ink-soft);margin:0}
.quote__source{color:var(--accent);text-decoration:none}
.quote__source:hover{text-decoration:underline}
.quote__source:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:2px}

/* The five-item nav needs room; below this it collapses behind one button. */
@media (max-width:760px){
  .nav{flex-wrap:wrap;padding:1rem 1.25rem}
  .nav__toggle{display:inline-flex}
  .nav__links{display:none;flex-basis:100%;flex-direction:column;gap:0;margin-top:.25rem}
  .nav__links.is-open{display:flex}
  .nav__link{padding:.85rem .25rem;border-bottom:1px solid var(--border)}
  .nav__link:last-child{border-bottom:0}
  .nav__link.is-active{border-bottom-color:var(--border)}
  .featured{padding-top:2.5rem}
  .collhead{padding-top:3rem}
}

/* ── The name of the collection ─────────────────────────── */
.masthead{padding:9rem 0 0;text-align:center}
.masthead__name{
  font-family:var(--serif);font-weight:400;
  font-size:clamp(2.25rem,7vw,3.5rem);line-height:1.15;
  letter-spacing:.02em;margin:0;
}
.masthead__rule{width:3rem;height:1px;background:var(--border);border:0;margin:2.25rem auto}
.masthead__tagline{
  font-family:var(--serif);font-style:italic;
  font-size:clamp(1rem,2.2vw,1.1875rem);line-height:1.7;
  color:var(--ink-soft);margin:0 auto;max-width:28rem;
}

/* ── Why this exists ────────────────────────────────────── */
.lede{padding:5.5rem 0 4rem}
.lede p{margin:0 0 1.5rem;font-size:1em;line-height:1.85}
.lede p:last-child{margin-bottom:0}

/* ── The letters ────────────────────────────────────────── */
/* A list, not a grid of cards. A rule between them, nothing more. */
.letters{padding:2rem 0 8rem}
.letters__list{list-style:none;margin:0;padding:0}
.letters__item{border-bottom:1px solid var(--border)}
.letters__item:first-child{border-top:1px solid var(--border)}
.letters__link{
  display:flex;align-items:baseline;gap:1.5rem;
  padding:2rem .25rem;
  text-decoration:none;color:var(--ink);
  transition:color .2s ease;
}
.letters__link:hover{color:var(--accent)}
.letters__n{
  font-family:var(--sans);font-size:.75rem;font-weight:500;
  color:var(--accent);flex-shrink:0;
  font-variant-numeric:tabular-nums;letter-spacing:.08em;
}
.letters__body{flex:1;min-width:0}
.letters__title{
  display:block;font-family:var(--serif);
  font-size:1.375rem;line-height:1.35;
}
.letters__sub{
  display:block;margin-top:.5rem;
  font-family:var(--serif);font-style:italic;
  font-size:.9375rem;line-height:1.6;color:var(--ink-soft);
}
.letters__meta{
  font-family:var(--sans);font-size:.6875rem;color:var(--ink-soft);
  flex-shrink:0;font-variant-numeric:tabular-nums;
}

.home__footer{
  border-top:1px solid var(--border);
  padding:2.5rem 1.5rem 3.5rem;text-align:center;
}
.home__footer p{
  margin:0;font-family:var(--sans);font-size:.75rem;color:var(--ink-soft);
}

/* ── Quick navigation — the letters drawer ────────────────
   The homepage counterpart of a letter's own contents: a slide-in list of the letters that exist.
   Same warm paper, the same rounded rows — kept distinct from a book's chapter Mục lục. */
.home-menu{
  position:fixed;top:1rem;right:1rem;z-index:20;
  display:inline-flex;align-items:center;gap:.5rem;
  min-height:44px;padding:.5rem .9rem;
  background:var(--bg);border:1px solid var(--border);border-radius:999px;
  font-family:var(--sans);font-size:.6875rem;font-weight:600;
  letter-spacing:.1em;text-transform:uppercase;color:var(--ink-soft);
  cursor:pointer;transition:color .2s ease,border-color .2s ease;
}
.home-menu:hover{color:var(--accent);border-color:var(--accent)}
.home-menu:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.home-menu svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

/* The drawer itself is the shared component in toc.css (.drawer / .toc__*), linked by this page —
   identical to a letter's chapter contents. Only the trigger button above is homepage-specific. */

@media (max-width:640px){
  body{font-size:19px}
  .masthead{padding-top:6rem}
  .lede{padding:4rem 0 3rem}
  .letters__link{padding:1.5rem .25rem;gap:1rem}
  .letters__title{font-size:1.1875rem}
  .home-menu{top:.75rem;right:.75rem;padding:.5rem}    /* icon-only, compact on a phone */
  .home-menu__text{display:none}
}

@media (prefers-reduced-motion:reduce){
  *{transition-duration:.01ms !important;animation-duration:.01ms !important}
}

/* ── Conversion bridge page (/ai-business-operating-system) ──
   The calm next step after a letter — same warm paper, same restraint: no hero image, no hype,
   no dark-tech. Restrained accent, literary type. */
.bridge main{max-width:40rem;margin:0 auto;padding:0 1.5rem}
.bridge__hero{padding:8rem 0 3rem;text-align:center}
.bridge__eyebrow{font-family:var(--sans);font-size:.6875rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--accent);margin:0 0 1.5rem}
.bridge__title{font-family:var(--serif);font-weight:400;font-size:clamp(1.75rem,4.5vw,2.75rem);line-height:1.25;color:var(--ink);margin:0 auto;max-width:30rem}
.bridge__lede{font-family:var(--serif);font-style:italic;font-size:clamp(1.0625rem,2.2vw,1.25rem);line-height:1.7;color:var(--ink-soft);margin:2rem auto 0;max-width:32rem}
.bridge__section,.bridge__next{padding:3rem 0;border-top:1px solid var(--border)}
.bridge__h{font-family:var(--sans);font-size:.75rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-soft);margin:0 0 1.5rem;text-align:center}
.bridge__p{font-family:var(--serif);font-size:1.0625rem;line-height:1.8;color:var(--ink);margin:0 auto 1.2rem;max-width:32rem;text-align:center}
.bridge__list{list-style:none;margin:0 auto;padding:0;max-width:32rem}
.bridge__list li{font-family:var(--serif);font-size:1.0625rem;line-height:1.7;color:var(--ink);padding:.55rem 0 .55rem 1.4rem;position:relative}
.bridge__list li::before{content:"·";position:absolute;left:.3rem;color:var(--accent)}
.bridge__who{list-style:none;margin:0 auto;padding:0;max-width:34rem;display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center}
.bridge__who li{font-family:var(--sans);font-size:.8125rem;color:var(--ink-soft);background:var(--paper);border:1px solid var(--border);border-radius:999px;padding:.4rem .9rem}
.bridge__layers{margin:0 auto;max-width:34rem;display:grid;gap:1.25rem}
.bridge__layer dt{font-family:var(--sans);font-size:.9375rem;font-weight:600;color:var(--ink)}
.bridge__layer dd{margin:.3rem 0 0;font-family:var(--serif);font-size:.9375rem;line-height:1.6;color:var(--ink-soft)}
.bridge__next{padding-bottom:6rem;text-align:center}
.bridge__actions{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center}

/* Buttons — same shape and tokens as the reader's, so the CTA reads as one system. */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.75rem 1.75rem;
  font-family:var(--sans);font-size:.9375rem;font-weight:500;letter-spacing:.02em;text-decoration:none;
  cursor:pointer;border-radius:14px;transition:background .2s ease,color .2s ease,border-color .2s ease}
.btn--primary{background:var(--accent);color:#fff;border:1px solid var(--accent)}
.btn--primary:hover{background:var(--accent-deep);border-color:var(--accent-deep)}
.btn--quiet{background:none;color:var(--ink-soft);border:1px solid var(--border)}
.btn--quiet:hover{color:var(--accent);border-color:var(--accent)}
.btn:disabled,.btn[disabled]{background:none;color:var(--ink-soft);border:1px dashed var(--border);opacity:.6;cursor:not-allowed}
.btn:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

/* ── Anti-orphan typography (browse) ──────────────────────────
   Same rule as the reader: no lone word on a title's or heading's last line. `balance` for short
   display type, `pretty` for flowing subtitles/leads/quotes. Progressive — unsupported browsers
   wrap normally; nothing in the content is edited to rescue a line. */
.masthead__name,.collhead__title,.letters__title,.featured__title,
.hitem__title,.hitem__booktitle,.hitem__quote,.home-section__title,.quote__text{
  text-wrap:balance;
}
.masthead__tagline,.collhead__intro,.letters__sub,.featured__sub,
.hitem__sub,.hitem__lead,.quote__context{
  text-wrap:pretty;
}

@media (max-width:640px){
  .bridge__hero{padding-top:5.5rem}
  .bridge__actions{flex-direction:column}
  .bridge__actions .btn{width:100%}
}

@media print{
  body{background:#fff;color:#000}
  .skip-link{display:none}
  .letters__link{color:#000}
}
