:root {
  --paper: #f6f1e7;
  --paper-deep: #ece4d4;
  --card: #fffdf8;
  --white: #ffffff;
  --ink: #1f1c18;
  --ink-soft: #4a443c;
  --muted: #7a7166;
  --rule: #d9cfbd;
  --accent: #8c2f1f;
  --accent-dark: #6f2416;
  --accent-ink: #fffaf2;
  --band: #1f1c18;
  --band-text: #f3ece0;
  --band-soft: #d6cdbf;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --shadow: 0 1px 0 rgba(31,28,24,.06), 0 10px 24px -14px rgba(31,28,24,.45);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 76px;
}
.brand {
  font-family: var(--serif); font-weight: 700; font-size: 1.45rem;
  letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
}
.brand .tld { font-size: 0.6em; font-weight: 600; color: var(--accent); margin-left: 1px; letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); padding-bottom: 4px; }
.nav .short { display: none; }
.search-link { display: inline-flex; align-items: center; color: var(--ink-soft); }
.search-link:hover { color: var(--accent); }
.nav .btn, .nav .btn:hover { color: var(--accent-ink); box-shadow: none; padding-bottom: 11px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--accent-ink);
  padding: 11px 20px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: background .15s ease;
}
.btn:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 18px;
}
.display {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.04;
  letter-spacing: -0.02em; margin: 0;
}
.lede { color: var(--ink-soft); font-size: 1.12rem; max-width: 44ch; margin: 24px 0 0; }

/* Front page hero */
.hero { border-bottom: 1px solid var(--rule); }
.hero .wrap {
  display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: center;
  padding-top: 56px; padding-bottom: 56px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-photo {
  aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow);
  background: var(--paper-deep);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }

/* Sections */
.section { padding: 72px 0; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 36px;
}
.section-head h2 {
  font-family: var(--serif); font-weight: 600; font-size: 2rem;
  line-height: 1.15; letter-spacing: -0.01em; margin: 0;
}
.more { font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--accent); white-space: nowrap; }

/* Review grid cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; }
.card { display: flex; flex-direction: column; text-decoration: none; }
.cover {
  aspect-ratio: 2 / 3; overflow: hidden; border-radius: 6px;
  background: var(--paper-deep); box-shadow: var(--shadow);
}
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .cover img { transform: scale(1.03); }
.meta { margin: 18px 0 6px; font-size: 0.8rem; color: var(--muted); letter-spacing: 0.02em; }
.card h3 {
  font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1.2;
  margin: 0 0 10px; letter-spacing: -0.005em;
}
.card:hover h3, .row:hover h3 { color: var(--accent); }
.card p {
  margin: 0; color: var(--ink-soft); font-size: 0.95rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* Book band */
.book { background: var(--band); color: var(--band-text); }
.book .wrap {
  display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center;
  padding-top: 80px; padding-bottom: 80px;
}
.book-banner { border-radius: 8px; overflow: hidden; box-shadow: 0 24px 48px -20px rgba(0,0,0,.6); }
.book-banner img { width: 100%; height: auto; }
.book .eyebrow { color: #e3a48f; }
.book h2 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 20px;
}
.book p { margin: 0 0 16px; color: var(--band-soft); max-width: 46ch; }
.book .btn { margin-top: 10px; }

/* Page header (inner pages) */
.page-head { padding: 72px 0 40px; }
.page-head .lede { margin-top: 18px; }

/* Search */
.searchbar { display: flex; gap: 8px; max-width: 560px; margin: 0 0 28px; }
.searchbar input {
  flex: 1; min-width: 0; height: 48px; padding: 0 18px; border-radius: 999px; border: 0;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--rule);
  font: inherit; font-size: 1rem; color: var(--ink);
}
.searchbar input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.searchbar button {
  height: 48px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--ink); color: var(--paper); font: inherit; font-weight: 600; font-size: 0.95rem;
}
.searchbar button:hover { background: var(--accent); }
.notfound .searchbar { margin-top: 32px; }
.notfound .hero-actions { margin-top: 8px; }

/* Reviews archive */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 48px; padding: 0; list-style: none; }
.chips a {
  display: inline-block; padding: 6px 13px; border-radius: 999px; text-decoration: none;
  font-size: 0.85rem; font-weight: 500; color: var(--ink-soft);
  background: var(--card); box-shadow: inset 0 0 0 1px var(--rule);
}
.chips a:hover { color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.chips a[aria-current="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.row {
  display: grid; grid-template-columns: 132px 1fr; gap: 24px; align-items: start;
  padding: 22px; background: var(--card); border-radius: 10px; text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--rule);
}
.row img { width: 132px; height: auto; border-radius: 4px; box-shadow: var(--shadow); }
.row .meta { margin-top: 2px; }
.row h3 {
  font-family: var(--serif); font-weight: 600; font-size: 1.35rem; line-height: 1.2;
  margin: 0 0 10px;
}
.row p {
  margin: 0 0 14px; color: var(--ink-soft); font-size: 0.95rem;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.row .read { font-weight: 600; font-size: 0.9rem; color: var(--accent); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.pager a, .pager span {
  min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--ink-soft);
}
.pager a { box-shadow: inset 0 0 0 1px var(--rule); background: var(--card); }
.pager a:hover { color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.pager a[aria-current="page"] { background: var(--ink); color: var(--paper); box-shadow: none; }

/* CV */
.cv-head .wrap {
  display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center;
  padding-top: 64px; padding-bottom: 64px;
}
.cv-head .hero-photo img { object-position: 50% 30%; }
.employers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.logo-tile {
  height: 52px; padding: 8px 14px; background: var(--white); border-radius: 8px;
  display: inline-flex; align-items: center; box-shadow: inset 0 0 0 1px var(--rule);
}
.logo-tile img { height: 100%; width: auto; max-width: 120px; object-fit: contain; }
.timeline .role:first-child { border-top: 1px solid var(--rule); }
.role {
  display: grid; grid-template-columns: 150px 1fr 380px; gap: 40px; align-items: start;
  padding: 48px 0; border-bottom: 1px solid var(--rule);
}
.role-year { font-family: var(--serif); font-weight: 600; font-size: 2.6rem; line-height: 1; letter-spacing: -0.02em; }
.role-year .logo-tile { margin-top: 18px; }
.role h3 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; line-height: 1.2; margin: 0 0 6px; }
.role .team { color: var(--muted); font-size: 0.95rem; margin: 0 0 20px; }
.role h4 {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin: 18px 0 8px;
}
.role ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); }
.role li { margin: 2px 0; }
.role-photo { aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); background: var(--paper-deep); }
.role-photo img { width: 100%; height: 100%; object-fit: cover; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  margin: 0; padding: 28px; background: var(--card); border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--rule); display: flex; flex-direction: column; gap: 20px;
}
.quote.wide { grid-column: span 2; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 1.08rem; line-height: 1.5; color: var(--ink); }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; font-weight: 600; font-size: 0.95rem; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none;
  background: var(--paper-deep); color: var(--ink-soft);
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 600;
}

/* Single review */
.review-head .review-grid {
  display: grid; grid-template-columns: 1fr 320px; gap: 64px; align-items: center;
  padding-top: 28px; padding-bottom: 56px;
}
.review-head .back-wrap { padding-top: 36px; }
.back { display: inline-block; font-weight: 600; font-size: 0.92rem; text-decoration: none; color: var(--ink-soft); }
.back:hover { color: var(--accent); }
.review-head .meta { margin: 0 0 14px; font-size: 0.88rem; }
.review-head .display { font-size: clamp(2.4rem, 5vw, 4rem); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.tags a {
  display: inline-block; padding: 5px 12px; border-radius: 999px; text-decoration: none;
  font-size: 0.82rem; font-weight: 500; color: var(--ink-soft); background: var(--card);
  box-shadow: inset 0 0 0 1px var(--rule);
}
.tags a:hover { color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.review-cover img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 2px 0 rgba(31,28,24,.05), 0 28px 48px -24px rgba(31,28,24,.55); }
.review-body { border-top: 1px solid var(--rule); }
.prose { max-width: 680px; margin: 0 auto; padding: 56px 0 72px; font-size: 1.12rem; line-height: 1.75; }
.prose p { margin: 0 0 1.25em; }
.prose p.li { margin-bottom: 0.4em; padding-left: 1.1em; }
.prose p.li + p:not(.li) { margin-top: 1.25em; }
.prose p:first-child { font-family: var(--serif); font-size: 1.45rem; line-height: 1.45; color: var(--ink); }
.more-reviews { background: var(--paper-deep); }
.more-reviews .wrap { max-width: 920px; }
.more-reviews .grid { grid-template-columns: repeat(3, 1fr); }

/* Footer */
.site-footer { background: var(--band); color: var(--band-soft); font-size: 0.92rem; }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px; padding-top: 36px; padding-bottom: 40px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { text-decoration: none; font-weight: 500; color: var(--band-text); }
.site-footer a:hover { color: #e3a48f; }
.site-footer .credit { color: #9c9286; }
.book + .site-footer .wrap { border-top: 1px solid #3a352f; }

@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero .wrap, .cv-head .wrap { grid-template-columns: 1fr 1fr; gap: 40px; }
  .book .wrap { grid-template-columns: 1fr; gap: 36px; }
  .list { grid-template-columns: 1fr; }
  .role { grid-template-columns: 120px 1fr; }
  .review-head .review-grid { grid-template-columns: 1fr 260px; gap: 40px; }
  .role-photo { grid-column: 2; }
  .quotes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .site-header .wrap { min-height: 64px; }
  .brand { font-size: 1.2rem; }
  .nav { gap: 16px; }
  .nav .long { display: none; }
  .nav .short { display: inline; }
  .nav .btn { display: none; }
  .nav .btn { padding: 9px 14px; font-size: 0.85rem; }
  .hero .wrap, .cv-head .wrap { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; padding-bottom: 44px; }
  .hero-photo { order: -1; aspect-ratio: 5 / 4; }
  .hero .hero-photo img { object-position: 62% 40%; }
  .section { padding: 48px 0; }
  .section-head h2 { font-size: 1.45rem; }
  .grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .card h3 { font-size: 1.05rem; }
  .card p { display: none; }
  .book .wrap { padding-top: 48px; padding-bottom: 48px; }
  .page-head { padding: 44px 0 28px; }
  .chips {
    flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 36px; padding: 2px 16px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chips li { flex: none; }
  .row { grid-template-columns: 88px 1fr; gap: 16px; padding: 16px; }
  .row img { width: 88px; }
  .row h3 { font-size: 1.15rem; }
  .row p { -webkit-line-clamp: 3; }
  .role { grid-template-columns: 1fr; gap: 18px; padding: 36px 0; }
  .role-year { display: flex; align-items: center; justify-content: space-between; font-size: 2rem; }
  .role-year .logo-tile { margin-top: 0; }
  .role-photo { grid-column: auto; }
  .quotes { grid-template-columns: 1fr; }
  .quote.wide { grid-column: auto; }
  .review-head .back-wrap { padding-top: 20px; }
  .review-head .review-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 20px; padding-bottom: 40px; }
  .review-cover { order: -1; width: 62%; margin: 0 auto; }
  .prose { padding: 40px 0 52px; font-size: 1.05rem; }
  .prose p:first-child { font-size: 1.25rem; }
  .more-reviews .grid { grid-template-columns: 1fr 1fr; }
  .more-reviews .grid .card:nth-child(3) { display: none; }
}

/* WordPress */
.pager .page-numbers.current { background: var(--ink); color: var(--paper); box-shadow: none; }
.pager .page-numbers.dots { box-shadow: none; background: none; }
.empty { color: var(--ink-soft); font-size: 1.05rem; margin: 8px 0 0; }
.prose a { color: var(--accent); }
.prose img { height: auto; border-radius: 6px; margin: 1.5em 0; }
.prose h2, .prose h3 { font-family: var(--serif); font-weight: 600; line-height: 1.25; margin: 1.6em 0 0.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
