/* ==========================================================================
   ManyThings — Ghost theme
   Paper, ink, alpine green, ochre. Fraunces for display, Instrument Sans for text.
   ========================================================================== */

:root {
  --paper: #F6F4EE;
  --sand: #ECE8DE;
  --ink: #161B1A;
  --ink-2: #2E3634;
  --muted: #4A5250;
  --muted-light: #9AA39F;
  --line: #D9D4C7;
  --line-dark: #3F4845;
  --alpine: #1D5C53;
  --alpine-dark: #133F39;
  --ochre: #8F5A14;
  --gold: #D9A441;
  --amazon: #FFA41C;
  --amazon-border: #E08A00;
  --serif: var(--gh-font-heading, "Fraunces", Georgia, "Times New Roman", serif);
  --sans: var(--gh-font-body, "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif);
  --wrap: 1280px;
  --wrap-narrow: 760px;
  --gutter: 48px;
  --radius: 999px;
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; }
a { color: var(--alpine); text-decoration: none; }
a:hover { color: var(--alpine-dark); text-decoration: underline; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; line-height: 1.15; }
p { margin: 0; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, textarea { font: inherit; color: inherit; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-narrow { max-width: var(--wrap-narrow); }
.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1 0 auto; }

/* Type ------------------------------------------------------------------- */
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 84px); line-height: 1.04; letter-spacing: -0.025em; }
.display-md { font-size: clamp(38px, 5.2vw, 68px); }
.display .nowrap { display: block; white-space: nowrap; }
.display em { display: block; font-style: italic; color: var(--alpine); }
.hero-dark .display em { color: var(--gold); }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.4vw, 44px); letter-spacing: -0.02em; line-height: 1.1; }
.h2-lg { font-size: clamp(36px, 4vw, 52px); }
.h2-wide { max-width: 820px; margin-bottom: 48px; }
.h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; letter-spacing: -0.015em; }
.h4 { font-family: var(--serif); font-weight: 500; font-size: 24px; letter-spacing: -0.01em; line-height: 1.2; }
.h5 { font-size: 18px; font-weight: 600; }
.lede { font-size: 21px; line-height: 1.5; color: var(--ink-2); max-width: 720px; }
.lede-sm { font-size: 19px; color: var(--ink-2); }
.subtitle-serif { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.3; color: #D6E3DF; }
.subtitle-serif-dark { color: var(--muted); font-size: 26px; }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.muted-light { color: var(--muted-light); }
.bio { font-size: 18px; color: var(--ink-2); max-width: 680px; }

.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.eyebrow-rule { display: inline-block; width: 28px; height: 2px; background: var(--alpine); }
.eyebrow-ochre { color: var(--ochre); }
.eyebrow-gold { color: var(--gold); }
.eyebrow-green { color: var(--alpine); }
.eyebrow-sub { color: var(--muted); font-weight: 500; }
.big-num { font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--alpine); display: block; }
.num-serif { font-family: var(--serif); font-size: 14px; color: var(--ochre); display: block; }
.num-serif.gold { color: var(--gold); }

/* Buttons ---------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--radius); border: 1.5px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .12s ease, opacity .12s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-primary { background: var(--alpine); color: var(--paper); }
.btn-primary:hover { background: var(--alpine-dark); color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { color: var(--paper); opacity: .92; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { color: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { color: var(--ink); background: rgba(22,27,26,.04); }
.btn-outline-light { border-color: #6B736F; color: var(--paper); background: transparent; }
.btn-outline-light:hover { color: var(--paper); border-color: var(--paper); }
.btn-amazon { background: var(--amazon); border-color: var(--amazon-border); color: #0F1111; font-weight: 700; border-radius: 8px; box-shadow: 0 2px 5px rgba(15,17,17,.15); }
.btn-amazon:hover { color: #0F1111; background: #FFB340; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.more { font-weight: 600; }
.btn .btn-loading { display: none; }
form.loading .btn .btn-label { display: none; }
form.loading .btn .btn-loading { display: inline; }

/* Header ----------------------------------------------------------------- */
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); position: relative; z-index: 10; }
.site-head-inner { min-height: 76px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.site-logo { display: inline-flex; align-items: center; }
.site-logo img { height: 48px; width: auto; display: block; }
.logo-dark { display: none; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.nav-link { color: var(--ink); padding: 10px 0; border-bottom: 2px solid transparent; }
.nav-link:hover { color: var(--ink); text-decoration: none; border-bottom-color: var(--line); }
.nav-link.is-current { border-bottom-color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 2px; background: currentColor; border-radius: 2px; }

/* Advisors page: dark header + Advisors lockup, switched by body class */
.page-advisors .site-head { background: var(--ink); border-bottom-color: #2A3230; color: var(--paper); }
.page-advisors .logo-light { display: none; }
.page-advisors .logo-dark { display: block; height: 52px; }
.page-advisors .nav-link { color: var(--paper); }
.page-advisors .nav-link:hover, .page-advisors .nav-link.is-current { color: var(--paper); border-bottom-color: var(--paper); }
.page-advisors .site-nav .btn-primary { background: var(--paper); color: var(--ink); }
.site-foot .foot-logo-advisors { display: none; }
.page-advisors .site-foot .foot-logo-group { display: none; }
.page-advisors .site-foot .foot-logo-advisors { display: block; }

/* Sections & bands ------------------------------------------------------- */
.section { padding: 96px 0; }
.section-tight { padding: 48px 0 96px; }
.band { padding: 96px 0; }
.band-sand { background: var(--sand); }
.band-ink { background: var(--ink); color: var(--paper); }
.band-ink a { color: var(--paper); text-decoration: underline; text-decoration-color: rgba(246,244,238,.4); }
.band-ink .eyebrow { color: var(--gold); }
.band-ink p { color: #CFD4D0; }
.band-ink h2, .band-ink h3 { color: var(--paper); }
.band-green { background: var(--alpine); color: var(--paper); }
.band-green p { color: #D6E3DF; }
.band-green a { color: var(--paper); text-decoration: underline; }
.band-split { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; }
.band-copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 44px; }
.section-head > div { display: flex; flex-direction: column; gap: 10px; }
.section-head-stack { flex-direction: column; align-items: flex-start; gap: 14px; max-width: 760px; }
.section-note { max-width: 520px; color: var(--muted); font-size: 16px; }
.section-mark { width: 56px; opacity: .9; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 32px; }

/* Hero ------------------------------------------------------------------- */
.hero { padding: 104px 0 72px; }
.hero .wrap { display: flex; flex-direction: column; gap: 36px; }
.hero-dark { background: var(--ink); color: var(--paper); padding: 104px 0 112px; }
.hero-dark .display { color: var(--paper); }
.hero-dark .lede { color: #CFD4D0; }
.lens-strip { list-style: none; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px 32px; }
.lens-strip a { display: flex; gap: 14px; align-items: baseline; color: var(--ink); font-weight: 600; }
.lens-strip .num { font-family: var(--serif); font-size: 14px; color: var(--ochre); }

/* Four C's, doors, book band -------------------------------------------- */
.c-item { display: flex; flex-direction: column; gap: 12px; }
.c-item h3 { font-size: 20px; }
.c-item p { color: var(--ink-2); }
.door { border-top: 2px solid var(--ink); padding-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.door h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; letter-spacing: -0.015em; }
.door p { color: var(--ink-2); }
.door .more { margin-top: auto; }

.book-band { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.book-cover-link { flex: 0 1 340px; display: flex; justify-content: center; }
.book-cover { width: 320px; max-width: 100%; display: block; box-shadow: 24px 24px 0 #0E1413; }
.book-cover-lg { width: 380px; box-shadow: 28px 28px 0 var(--line); border: 1px solid var(--line); }
.book-copy { flex: 1 1 520px; display: flex; flex-direction: column; gap: 22px; }
.book-copy p { max-width: 600px; }
.pill-row { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-row li { padding: 8px 14px; border: 1px solid var(--line-dark); border-radius: var(--radius); font-size: 14px; color: #E6E9E6; }
.pill-row .pill-gold { border-color: var(--gold); color: var(--paper); }

/* Post cards ------------------------------------------------------------- */
.post-grid { gap: 40px 32px; }
.post-card { display: flex; flex-direction: column; gap: 14px; }
.post-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.post-card-media img, .post-card-placeholder { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted); }
.post-card-meta.light { color: #B7BDB9; }
.lens { font-weight: 600; color: var(--alpine); }
.lens-gold { color: var(--gold); }
.post-card-title { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; letter-spacing: -0.01em; }
.post-card-title a { color: var(--ink); }
.post-card-excerpt { color: var(--ink-2); }
.tone-curious-work, .tone-work { background: #DDD6C6; }
.tone-curious-living, .tone-living { background: #D8C7B2; }
.tone-curious-places, .tone-places { background: #B9C7C2; }
.tone-curious-experiments, .tone-experiments { background: #E3D3B8; }
.tone-default { background: #C9D3CF; }
.ph { aspect-ratio: 4 / 5; }
.notes-grid { gap: 20px; }
.notes-grid figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.notes-grid figcaption { font-size: 14px; color: var(--muted); }

/* Page heads, lenses, featured, archive --------------------------------- */
.page-head { padding: 88px 0 48px; }
.page-head .wrap { display: flex; flex-direction: column; gap: 28px; }
.page-head-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.press-mark { height: 44px; width: auto; }
.press-mark-sm { height: 36px; }
.lenses { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 12px; }
.lens-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--radius); border: 1.5px solid var(--ink); color: var(--ink); font-size: 15px; font-weight: 600; }
.lens-chip:hover { text-decoration: none; background: rgba(22,27,26,.05); color: var(--ink); }
.lens-chip.is-active { background: var(--ink); color: var(--paper); }
.lens-chip-sm { min-height: 36px; padding: 0 14px; font-size: 13px; margin: 0 8px 8px 0; }

.featured { display: flex; flex-wrap: wrap; gap: 48px; background: var(--ink); color: var(--paper); }
.featured-media { flex: 1 1 460px; min-height: 380px; display: block; }
.featured-media img, .featured-placeholder { width: 100%; height: 100%; min-height: 380px; object-fit: cover; display: block; background: var(--alpine); }
.featured-copy { flex: 1 1 460px; padding: 48px 48px 48px 0; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.featured-copy .h2 a { color: var(--paper); text-decoration: none; }
.featured-copy .h2 a:hover { text-decoration: underline; }
.featured-excerpt { font-size: 19px; color: #CFD4D0; }
.featured .btn { align-self: flex-start; margin-top: 8px; }

.archive { padding-top: 24px; }
.archive-layout { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.archive-main { flex: 999 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.archive-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.archive-side { flex: 1 1 300px; max-width: 380px; display: flex; flex-direction: column; gap: 32px; }
.side-card { padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.side-card-sand { background: var(--sand); }
.side-block { border-top: 2px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.lens-list { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.lens-list dt { font-weight: 600; }
.lens-list dt a { color: var(--ink); }
.lens-list dd { margin: 0 0 10px; font-size: 15px; color: var(--muted); }

.pagination { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 16px; font-size: 15px; }
.pagination a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: var(--radius); border: 1.5px solid var(--ink); color: var(--ink); font-weight: 600; }
.pagination a:hover { text-decoration: none; background: rgba(22,27,26,.05); }
.pagination .page-number { color: var(--muted); }

/* Forms ------------------------------------------------------------------ */
.sub-form { flex: 1 1 440px; display: flex; flex-wrap: wrap; gap: 12px; position: relative; }
.sub-form-stack { flex: 0 0 auto; flex-direction: column; flex-wrap: nowrap; gap: 10px; }
.sub-input { flex: 1 1 260px; min-height: 52px; padding: 0 18px; border-radius: var(--radius); border: 1px solid #7FA39C; background: var(--paper); color: var(--ink); font-size: 16px; }
.sub-form-stack .sub-input { flex: 0 0 auto; width: 100%; min-height: 48px; border-color: #B9B3A4; }
.sub-input.sub-input-name { flex: 1 1 160px; }
.sub-input::placeholder { color: #6B736F; }
.sub-input:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.sub-success, .sub-error { display: none; flex-basis: 100%; font-size: 14px; margin: 0; }
form.success .sub-success { display: block; }
form.error .sub-error { display: block; color: #FFD6C2; }
.sub-form-stack .sub-error { color: #8F2D12; }
form.success .sub-input, form.success .btn { display: none; }

.contact-grid { align-items: flex-start; gap: 64px; }
.contact-stack { display: flex; flex-direction: column; gap: 40px; }
.contact-stack > div:first-child { display: flex; flex-direction: column; gap: 16px; }
.contact-stack > div:first-child p { max-width: 720px; color: var(--ink-2); }
.contact-stack .form-slot { width: 100%; }
.contact-grid > div:first-child { display: flex; flex-direction: column; gap: 16px; }
.contact-grid p { max-width: 460px; color: var(--ink-2); }
.form-slot { background: var(--paper); border: 1px solid var(--line); padding: 24px; min-height: 320px; }
.form-missing { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

/* Book page -------------------------------------------------------------- */
.book-hero { padding: 88px 0 96px; }
.hero .book-hero-inner { display: flex; flex-direction: row; flex-wrap: wrap; gap: 72px; align-items: center; }
.book-hero-cover { flex: 0 1 400px; display: flex; justify-content: center; }
.book-hero-copy { flex: 1 1 520px; display: flex; flex-direction: column; gap: 22px; }
.book-hero-copy .lede { max-width: 600px; font-size: 19px; }
.badge-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.badge { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: var(--radius); background: var(--alpine); color: var(--paper); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.pull { margin: 0 0 56px; max-width: 1000px; font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.18; letter-spacing: -0.015em; color: var(--paper); }
.pull-cite { display: block; margin-top: 16px; font-family: var(--sans); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.idea-grid > div { border-top: 1px solid var(--line-dark); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.pillars { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px 28px; }
.pillars li { border-top: 2px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.pillars .big-num { font-size: 40px; }
.pillars h3 { font-size: 22px; }
.pillars p { color: var(--ink-2); font-size: 16px; }
.pillar-gold { border-top-color: var(--ochre) !important; }
.pillar-gold .big-num { color: var(--ochre); }
.inside-grid > div { display: flex; flex-direction: column; gap: 20px; }
.contents { display: flex; flex-direction: column; gap: 22px; font-size: 16px; color: var(--ink-2); }
.contents > div { display: flex; flex-direction: column; gap: 6px; }
.contents strong { color: var(--ink); }
.contents em { color: var(--muted); }
.praise { margin: 0; background: var(--paper); padding: 32px 36px; display: flex; flex-direction: column; gap: 16px; border-left: 3px solid var(--gold); }
.praise p { font-family: var(--serif); font-size: 21px; line-height: 1.4; color: var(--ink); }
.praise cite { font-style: normal; font-size: 15px; color: var(--ink-2); }
.offers { gap: 24px; }
.offer { border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; gap: 14px; background: #FBFAF7; }
.offer h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; letter-spacing: -0.015em; }
.offer p { color: var(--ink-2); }
.offer .more { margin-top: auto; }

/* Advisors page ---------------------------------------------------------- */
.services { gap: 24px; }
.service { background: var(--paper); padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.service h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; letter-spacing: -0.015em; }
.service-scope { color: var(--muted); font-size: 14px; font-weight: 600; }
.service p { color: var(--ink-2); }
.service .more { margin-top: auto; }
.steps { list-style: none; gap: 32px 28px; }
.steps li { border-top: 2px solid var(--alpine); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.step-label { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.steps h3 { font-size: 20px; }
.steps p { color: var(--ink-2); font-size: 16px; }
.principles { gap: 64px; align-items: flex-start; }
.principles > div { display: flex; flex-direction: column; gap: 16px; }
.principle-list { list-style: none; display: flex; flex-direction: column; }
.principle-list li { padding: 20px 0; border-top: 1px solid var(--line-dark); display: flex; gap: 20px; align-items: baseline; font-size: 18px; color: var(--paper); }
.principle-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.principle-list .num-serif { flex: 0 0 28px; }

/* About ------------------------------------------------------------------ */
.about-inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.about-inner > div { flex: 1 1 480px; display: flex; flex-direction: column; gap: 16px; }
.portrait { flex: 0 0 220px; width: 220px; height: 220px; border-radius: 50%; object-fit: cover; display: block; }
.portrait-sm { flex-basis: 96px; width: 96px; height: 96px; }

/* Essay (post) ----------------------------------------------------------- */
.essay-head { padding: 88px 0 40px; }
.essay-head .wrap { display: flex; flex-direction: column; gap: 24px; }
.essay-feature { margin: 0 0 48px; }
.essay-feature img { width: 100%; display: block; }
.essay-feature figcaption { font-size: 14px; color: var(--muted); padding-top: 12px; text-align: center; }
.essay-body { font-size: 19px; line-height: 1.7; color: var(--ink-2); }
.essay-tags { padding: 32px 0 0; }
.essay-author { margin: 48px 0 0; padding: 32px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.essay-author > div { flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; }
.essay-author .h4 a { color: var(--ink); }
.essay-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; padding-top: 64px; padding-bottom: 96px; }
.essay-nav-link { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--line); color: var(--ink); }
.essay-nav-link:hover { text-decoration: none; border-color: var(--ink); }
.essay-nav-next { text-align: right; }
.error-page { padding: 120px 0 160px; }

/* Ghost editor content (Koenig) ----------------------------------------- */
.gh-content > * + * { margin-top: 1.25em; }
.gh-content h2, .gh-content h3, .gh-content h4 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; color: var(--ink); margin-top: 2em; }
.gh-content h2 { font-size: 34px; }
.gh-content h3 { font-size: 27px; }
.gh-content h4 { font-size: 22px; }
.gh-content blockquote { margin: 2em 0; padding: 0 0 0 28px; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: 24px; line-height: 1.4; color: var(--ink); }
.gh-content blockquote.kg-blockquote-alt { border: 0; padding: 0; text-align: center; font-style: italic; font-size: 30px; }
.gh-content hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.gh-content ul, .gh-content ol { padding-left: 1.4em; }
.gh-content li + li { margin-top: .4em; }
.gh-content a { text-decoration: underline; text-decoration-color: rgba(29,92,83,.4); }
.gh-content img { display: block; margin: 0 auto; }
.gh-content figcaption { font-size: 14px; color: var(--muted); text-align: center; padding-top: 10px; }
.gh-content pre { background: var(--ink); color: var(--paper); padding: 20px 24px; overflow-x: auto; font-size: 15px; border-radius: 6px; }
.gh-content code { background: var(--sand); padding: .1em .35em; border-radius: 4px; font-size: .9em; }
.gh-content pre code { background: none; padding: 0; }
.gh-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.gh-content th, .gh-content td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.gh-content .kg-card { margin: 2em 0; }
.kg-width-wide { position: relative; width: min(1100px, 100vw - 2 * var(--gutter)); left: 50%; transform: translateX(-50%); }
.kg-width-full { position: relative; width: 100vw; left: 50%; transform: translateX(-50%); }
.kg-width-full img { width: 100%; }
.kg-embed-card iframe { max-width: 100%; }
.kg-button-card .kg-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: var(--radius); background: var(--alpine); color: var(--paper); font-weight: 600; text-decoration: none; }
.kg-callout-card { padding: 20px 24px; border-radius: 6px; }
.kg-toggle-card { border: 1px solid var(--line); padding: 20px 24px; }
.kg-bookmark-card a { text-decoration: none; }
.kg-bookmark-container { display: flex; border: 1px solid var(--line); color: var(--ink); }
.kg-bookmark-content { padding: 20px; }
.kg-bookmark-thumbnail img { height: 100%; object-fit: cover; }
.kg-header-card h2 { margin-top: 0; }
.kg-signup-card, .kg-product-card { border: 1px solid var(--line); padding: 32px; }

/* Footer ----------------------------------------------------------------- */
.site-foot { background: var(--ink); color: var(--paper); padding: 72px 0 48px; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.foot-brand { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
.foot-logo { height: 64px; width: auto; max-width: 100%; display: block; align-self: flex-start; object-fit: contain; margin-left: -4px; }
.foot-tagline { color: #B7BDB9; max-width: 360px; }
.foot-cs { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; min-width: 160px; }
.foot-heading { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-light); }
.foot-col a { color: var(--paper); }
.foot-col a:hover { color: var(--paper); text-decoration: underline; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted-light); border-top: 1px solid var(--line-dark); padding-top: 24px; margin-top: 48px; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 900px) {
  :root { --gutter: 24px; }
  .section, .band, .hero, .hero-dark, .book-hero { padding-top: 64px; padding-bottom: 64px; }
  .book-cover { box-shadow: 14px 14px 0 #0E1413; }
  .book-cover-lg { box-shadow: 14px 14px 0 var(--line); }
  .featured-copy { padding: 32px 24px; }
  .display .nowrap { white-space: normal; }
}
@media (max-width: 700px) {
  :root { --gutter: 16px; }
  .nav-toggle { display: flex; }
  .site-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 0 16px; }
  .site-nav.is-open { display: flex; }
  .site-nav .btn { margin-top: 8px; }
  .site-logo img { height: 40px; }
  .page-advisors .logo-dark { height: 44px; }
  .portrait { width: 160px; height: 160px; flex-basis: 160px; }
  .essay-nav-next { text-align: left; }
  .form-slot { padding: 12px; }
}
