/*
  kjerside.com
  Shared visual system for all pages.
  Keep design tokens at the top and component rules grouped by page role.
*/

:root {
  color-scheme: light;
  --paper: #f4efe9;
  --paper-2: #fbf8f3;
  --ink: #17181b;
  --ink-soft: #47464a;
  --muted: #68666a;
  --burgundy: #8a2038;
  --burgundy-2: #a62c49;
  --gold: #c69b5b;
  --line: #d9d0c7;
  --radius: 14px;
  --max: 1180px;
  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

[id] {
  scroll-margin-top: 96px;
}

.container {
  width: min(var(--max), calc(100% - 44px));
  margin-inline: auto;
}

:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--burgundy);
  outline-offset: 4px;
  border-radius: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline-color: #fff;
}

/* Header and navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 239, 233, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nameplate {
  font: 600 28px/1 var(--serif);
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
}

.site-nav a,
.footer-nav a {
  transition: color 160ms ease;
}

.site-nav a[aria-current="page"] {
  color: var(--burgundy);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 66px;
  min-height: 40px;
  border: 1px solid #bfb4aa;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
}

/* Shared controls and typography */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 46px;
  margin-top: 26px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--burgundy);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 160ms ease, transform 160ms ease;
}

.link-arrow,
.text-link,
.publication-actions a,
.continue-links a {
  text-decoration: underline;
  text-decoration-color: #8f8985;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.link-arrow {
  font-size: 13px;
  white-space: nowrap;
}

.text-link,
.article-body .reference-link {
  color: var(--burgundy);
  text-decoration-color: currentColor;
}

.kicker {
  color: var(--burgundy);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section {
  padding: 92px 0;
  border-bottom: 1px solid var(--line);
}

.section-white {
  background: var(--paper-2);
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}

.section h2 {
  margin: 0;
  font: 500 clamp(35px, 4vw, 52px) / 1.08 var(--serif);
  letter-spacing: -0.035em;
}

.section-intro {
  max-width: 720px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 18px;
}

/* Homepage hero */

.hero {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(105deg, var(--paper-2), #eee7e0);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: stretch;
  min-height: 610px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 82px 70px 72px 0;
}

.hero h1 {
  margin: 0 0 26px;
  font: 500 clamp(50px, 6vw, 80px) / 0.98 var(--serif);
  letter-spacing: -0.045em;
}

.rule {
  width: 38px;
  height: 3px;
  margin-bottom: 26px;
  background: var(--burgundy);
}

.lede {
  max-width: 600px;
  margin: 0;
  color: #545155;
  font-size: 18px;
}

.hero-signature {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 610px;
  padding: 38px;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background-color: #e7dfd8;
  background-image:
    linear-gradient(rgba(23, 24, 27, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 24, 27, 0.055) 1px, transparent 1px),
    linear-gradient(145deg, #ded6ce, #f8f4ef);
  background-size: 68px 68px, 68px 68px, auto;
}

.hero-signature::before {
  content: "JK";
  position: absolute;
  right: -18px;
  bottom: -70px;
  color: rgba(23, 24, 27, 0.085);
  font: 500 clamp(210px, 20vw, 310px) / 1 var(--serif);
  letter-spacing: -0.08em;
}

.hero-signature::after {
  content: "";
  position: absolute;
  top: 15%;
  right: 15%;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(23, 24, 27, 0.2);
  transform: rotate(35deg);
}

.hero-focus {
  position: relative;
  z-index: 1;
  max-width: 310px;
  padding-top: 14px;
  border-top: 3px solid var(--burgundy);
}

.hero-focus p {
  margin: 8px 0 0;
  font: 500 19px/1.35 var(--serif);
  letter-spacing: -0.015em;
}

/* Homepage publication rows */

.articles-list {
  border-top: 1px solid var(--line);
}

.article-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 90px;
  gap: 28px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.thumb {
  height: 94px;
  overflow: hidden;
  background: #ddd;
}

.thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 350ms ease, filter 350ms ease;
}

.article-meta,
.read-time {
  color: var(--muted);
  font-size: 11px;
}

.article-meta {
  margin-bottom: 4px;
}

.article-row h3 {
  margin: 0 0 5px;
  font: 500 24px/1.15 var(--serif);
}

.article-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.read-time {
  text-align: right;
}

/* Homepage record */

.record-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 72px;
  align-items: start;
}

.career {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.record-copy > p {
  margin-top: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.record-list {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.record-item {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.record-item span {
  color: var(--muted);
}

.record-item strong {
  font-weight: 600;
}

.record-link {
  display: inline-block;
  margin-top: 28px;
}

/* Homepage motivation and questions */

.motivation-heading,
.thinking-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 72px;
  align-items: start;
  margin-bottom: 40px;
}

.motivation-heading h2,
.thinking-heading h2 {
  margin-top: 0;
}

.editorial-pullquote {
  margin: 4px 0 0;
  padding: 4px 0 4px 28px;
  border-left: 3px solid var(--burgundy);
}

.editorial-pullquote p {
  margin: 0;
  font: 500 clamp(25px, 2.6vw, 36px) / 1.22 var(--serif);
  letter-spacing: -0.025em;
}

.editorial-pullquote cite,
.library-interlude cite,
.page-pullquote cite {
  display: block;
  margin-top: 17px;
  color: var(--burgundy);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.editorial-pullquote-compact p {
  font-size: clamp(25px, 2.3vw, 33px);
}

.driver-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.driver {
  min-width: 0;
  padding: 30px 30px 34px 0;
}

.driver + .driver {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.driver h3 {
  margin: 0 0 12px;
  font: 500 27px/1.08 var(--serif);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.driver p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.journey-note {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 70px;
  margin-top: 54px;
  padding: 42px 44px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--burgundy);
  background: #eee7e0;
}

.journey-note h3 {
  margin: 15px 0 0;
  font: 500 clamp(31px, 3vw, 43px) / 1.08 var(--serif);
  letter-spacing: -0.03em;
}

.journey-copy p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 18px;
}

.journey-copy p:last-child {
  margin-bottom: 0;
}

.question-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 54px;
}

.question {
  min-width: 0;
  padding: 28px 0 31px;
  border-top: 1px solid var(--line);
}

.question::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-bottom: 16px;
  background: var(--burgundy);
}

.question h3 {
  max-width: 510px;
  margin: 0 0 8px;
  font: 500 25px/1.18 var(--serif);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.question p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.thinking-actions {
  margin-top: 30px;
}

/* Homepage venture, speaking and contact */

.venture-quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
  margin-bottom: 22px;
  padding: 31px 36px;
  background: var(--burgundy);
  color: #fff;
}

.venture-quote blockquote {
  max-width: 900px;
  margin: 0;
  font: 500 clamp(25px, 2.8vw, 38px) / 1.2 var(--serif);
  letter-spacing: -0.025em;
}

.venture-quote cite {
  color: #ecdde1;
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
}

.taonta-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.taonta-copy {
  padding: 42px;
}

.taonta-copy h3 {
  margin: 0 0 15px;
  font: 500 34px/1.12 var(--serif);
}

.taonta-copy p {
  color: var(--muted);
}

.taonta-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 290px;
  overflow: hidden;
  background: #071827;
  color: #fff;
}

.taonta-visual strong {
  font: 650 46px/1 var(--sans);
  letter-spacing: -0.04em;
}

.taonta-visual::before {
  content: "τὰ ὄντα";
  position: absolute;
  top: 27px;
  left: 27px;
  color: var(--gold);
  font: 400 20px/1 var(--serif);
}

.taonta-visual::after {
  content: "";
  position: absolute;
  inset: 20%;
  border: 1px solid rgba(198, 155, 91, 0.35);
  transform: rotate(30deg);
}

.speaking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.speaking-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.speaking-card h3 {
  margin: 0 0 10px;
  font: 500 25px/1.15 var(--serif);
}

.speaking-card p {
  color: var(--muted);
}

.contact {
  background: #1d1c20;
  color: #f8f4ef;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: end;
}

.contact h2 {
  font: 500 clamp(40px, 5vw, 64px) / 1 var(--serif);
  letter-spacing: -0.04em;
}

.email {
  font: 500 24px/1.3 var(--serif);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.contact :where(a, button):focus-visible {
  outline-color: #fff;
}

/* Footer */

.footer {
  padding: 34px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  gap: 34px;
  align-items: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-brand p,
.footer-copy,
.footer > .container > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
}

/* Inner page hero */

.page-hero {
  padding: 90px 0 65px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.page-hero h1 {
  max-width: 900px;
  margin: 16px 0 15px;
  font: 500 clamp(52px, 7vw, 90px) / 0.98 var(--serif);
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 19px;
}

/* Article archive */

.collection-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 34px;
}

.collection-heading h2 {
  margin-top: 0;
}

.collection-heading p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.publication-list {
  border-top: 1px solid var(--line);
}

.publication-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 190px;
  gap: 27px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.publication-thumb {
  height: 76px;
  overflow: hidden;
  background: #ddd;
}

.publication-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 350ms ease, filter 350ms ease;
}

.publication-meta {
  margin-bottom: 5px;
  color: var(--burgundy);
  font-size: 11px;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.publication-copy h3 {
  margin: 0 0 7px;
  font: 500 28px/1.08 var(--serif);
  letter-spacing: -0.02em;
}

.publication-copy p {
  max-width: 670px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.publication-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  color: var(--muted);
  text-align: right;
}

.publication-side > span {
  font-size: 11px;
}

.publication-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  color: var(--ink);
  font-size: 13px;
}

.library-interlude {
  max-width: 850px;
  margin: 68px auto 0;
  padding: 4px 0 4px 30px;
  border-left: 3px solid var(--burgundy);
}

.library-interlude p {
  margin: 0;
  font: 500 clamp(27px, 3vw, 42px) / 1.2 var(--serif);
  letter-spacing: -0.03em;
}

.continue-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(230px, 0.8fr);
  gap: 48px;
  align-items: end;
  margin-top: 72px;
  padding: 38px 40px;
  border: 1px solid var(--line);
  background: #eee7e0;
}

.continue-panel h2 {
  max-width: 650px;
  margin-top: 8px;
  font-size: clamp(30px, 3.3vw, 43px);
}

.continue-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 13px;
  font-size: 14px;
}

/* Long-form articles */

.article-hero-image {
  margin-top: 44px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #e7e3dd;
}

.article-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 760px) 220px;
  gap: 75px;
  padding: 75px 0 100px;
}

.article-body {
  min-width: 0;
}

.article-body h2 {
  margin: 58px 0 18px;
  font: 500 35px/1.15 var(--serif);
  letter-spacing: -0.02em;
}

.article-body h3 {
  margin: 42px 0 14px;
  font: 500 27px/1.2 var(--serif);
}

.article-body p,
.article-body li {
  color: #2d2c30;
  font: 400 18px/1.78 var(--serif);
}

.article-body p:first-child {
  font-size: 20px;
}

.article-body ul,
.article-body ol {
  padding-left: 25px;
}

.article-callout {
  margin: 34px 0;
  padding: 24px 26px;
  border-left: 4px solid var(--burgundy);
  background: #eee5e0;
  color: #29272a;
  font: 500 21px/1.5 var(--serif);
}

.article-aside {
  position: sticky;
  top: 110px;
  align-self: start;
  padding-left: 22px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.article-aside strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.article-aside a {
  display: block;
  margin-top: 18px;
  color: var(--burgundy);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-table {
  margin: 42px 0;
}

.article-table figcaption {
  margin-bottom: 12px;
  font: 500 20px/1.3 var(--serif);
}

.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-2);
}

.article-table table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 13px;
}

.article-table th,
.article-table td {
  padding: 14px 15px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-table th:last-child,
.article-table td:last-child {
  border-right: 0;
}

.article-table thead th {
  background: #e9dfd8;
  font-weight: 750;
}

.article-table tbody tr:last-child td {
  border-bottom: 0;
}

.article-body .evidence-note {
  margin-top: 34px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  background: #f3eee8;
  color: #5f5b58;
  font-size: 14px;
  line-height: 1.65;
}

.article-body .references-heading {
  margin-top: 68px;
}

.disclosure {
  margin-top: 60px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted) !important;
  font-size: 13px !important;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 55px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.article-nav a {
  max-width: 46%;
  color: var(--burgundy);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.article-nav a:last-child {
  margin-left: auto;
  text-align: right;
}

em.brand-inline {
  font-style: italic;
}

/* About page */

.bio-page {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(310px, 0.84fr);
  gap: 78px;
  align-items: start;
}

.bio-copy > p {
  color: var(--ink-soft);
  font-size: 18px;
}

.bio-copy > p:first-child {
  margin-top: 0;
  color: var(--ink);
  font: 500 clamp(25px, 2.8vw, 35px) / 1.35 var(--serif);
  letter-spacing: -0.025em;
}

.bio-copy > p:last-child {
  margin-bottom: 0;
}

.bio-facts {
  padding-top: 22px;
  border-top: 3px solid var(--burgundy);
}

.fact-list {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.fact {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.fact span:first-child {
  color: var(--muted);
}

.about-threads {
  margin-top: 74px;
  padding-top: 62px;
  border-top: 1px solid var(--line);
}

.about-threads-heading {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 55px;
  align-items: start;
  margin-bottom: 38px;
}

.about-threads-heading h2 {
  margin: 0;
}

.thread-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.thread-item {
  min-width: 0;
  padding: 27px 28px 30px 0;
}

.thread-item + .thread-item {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.thread-item h3 {
  margin: 0 0 8px;
  font: 500 24px/1.1 var(--serif);
  overflow-wrap: anywhere;
}

.thread-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.about-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.about-actions .btn {
  margin-top: 0;
}

/* Speaking and contact pages */

.page-pullquote {
  max-width: 920px;
  margin: 52px 0;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-pullquote p {
  margin: 0;
  font: 500 clamp(31px, 4vw, 51px) / 1.12 var(--serif);
  letter-spacing: -0.035em;
}

.contact-page-card {
  max-width: 720px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.contact-page-card h2 {
  font: 500 34px/1.2 var(--serif);
}

.contact-note {
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

.contact-page-card + .continue-panel {
  margin-top: 52px;
}

/* 404 */

.not-found {
  min-height: 100vh;
  padding-top: 72px;
  padding-bottom: 90px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.not-found .nameplate {
  margin-bottom: 92px;
}

.not-found .kicker {
  margin: 0 0 20px;
}

.not-found h1 {
  margin: 0 0 28px;
  font-size: clamp(52px, 9vw, 88px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.not-found > p:not(.kicker) {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.button-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 36px;
}

.button-row .btn {
  margin-top: 0;
}

/* Progressive enhancement */

:is(.js-loading, .js-ready) [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

:is(.js-loading, .js-ready) [data-reveal].in-view {
  opacity: 1;
  transform: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Hover states only where a pointing device supports hover */

@media (hover: hover) {
  .site-nav a:hover,
  .footer-nav a:hover,
  .link-arrow:hover,
  .text-link:hover,
  .article-aside a:hover,
  .article-nav a:hover {
    color: var(--burgundy-2);
  }

  .btn:hover {
    background: var(--burgundy-2);
    transform: translateY(-1px);
  }

  .article-row:hover .thumb img,
  .publication-row:hover .publication-thumb img {
    transform: scale(1.025);
    filter: grayscale(1) contrast(1.06);
  }
}

/* Responsive layout */

@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1fr auto;
  }

  .footer-copy {
    grid-column: 1 / -1;
  }

  .motivation-heading,
  .thinking-heading {
    gap: 44px;
  }

  .publication-row {
    grid-template-columns: 96px minmax(0, 1fr) 165px;
    gap: 22px;
  }

  .publication-thumb {
    height: 70px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    height: auto;
    min-height: 76px;
    flex-wrap: wrap;
  }

  .site-nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 0 0 20px;
  }

  :is(.js-loading, .js-ready) .header-inner {
    height: 76px;
    flex-wrap: nowrap;
  }

  :is(.js-loading, .js-ready) .menu-toggle {
    display: inline-flex;
  }

  :is(.js-loading, .js-ready) .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    width: auto;
    padding: 22px max(22px, calc((100vw - var(--max)) / 2 + 22px));
    border-bottom: 1px solid var(--line);
    background: var(--paper-2);
    box-shadow: 0 16px 30px rgba(23, 24, 27, 0.08);
  }

  :is(.js-loading, .js-ready) .site-nav.is-open {
    display: flex;
  }

  .hero-grid,
  .record-grid,
  .motivation-heading,
  .thinking-heading,
  .journey-note,
  .taonta-panel,
  .contact-grid,
  .collection-heading,
  .continue-panel,
  .bio-page,
  .about-threads-heading {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 65px 0;
  }

  .hero-signature {
    min-height: 280px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .record-grid,
  .journey-note,
  .about-threads-heading {
    gap: 34px;
  }

  .motivation-heading,
  .thinking-heading,
  .collection-heading,
  .continue-panel {
    gap: 30px;
  }

  .driver-list,
  .thread-list,
  .question-list {
    grid-template-columns: 1fr;
  }

  .driver,
  .driver + .driver,
  .thread-item,
  .thread-item + .thread-item {
    padding: 26px 0;
    border-left: 0;
  }

  .driver + .driver,
  .thread-item + .thread-item {
    border-top: 1px solid var(--line);
  }

  .question-list {
    column-gap: 0;
  }

  .editorial-pullquote {
    max-width: 680px;
  }

  .journey-note {
    padding: 34px;
  }

  .venture-quote {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .venture-quote cite {
    white-space: normal;
  }

  .speaking-grid {
    grid-template-columns: 1fr;
  }

  .article-row {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .read-time {
    display: none;
  }

  .publication-row {
    grid-template-columns: 90px minmax(0, 1fr);
    align-items: start;
  }

  .publication-side {
    grid-column: 2;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    text-align: left;
  }

  .continue-links {
    align-items: flex-start;
  }

  .article-shell {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .article-aside {
    position: static;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .bio-page {
    gap: 52px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 70px 0;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-signature {
    min-height: 205px;
    padding: 24px;
    background-size: 48px 48px, 48px 48px, auto;
  }

  .hero-signature::before {
    right: -8px;
    bottom: -45px;
    font-size: 170px;
  }

  .hero-signature::after {
    top: 11%;
    right: 12%;
    width: 46%;
  }

  .hero-focus {
    max-width: 235px;
  }

  .hero-focus p {
    font-size: 16px;
  }

  .article-row {
    grid-template-columns: 1fr;
  }

  .thumb {
    height: 160px;
  }

  .record-item,
  .fact {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .motivation-heading,
  .thinking-heading {
    margin-bottom: 32px;
  }

  .editorial-pullquote {
    padding-left: 20px;
  }

  .journey-note {
    margin-top: 40px;
    padding: 28px 23px;
  }

  .question {
    padding: 24px 0 27px;
  }

  .venture-quote {
    padding: 27px 23px;
  }

  .collection-heading {
    margin-bottom: 27px;
  }

  .publication-row {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 15px;
    padding: 21px 0;
  }

  .publication-thumb {
    height: 61px;
  }

  .publication-copy h3 {
    font-size: 23px;
  }

  .publication-side {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding-left: 91px;
  }

  .publication-actions {
    justify-content: flex-start;
  }

  .library-interlude {
    margin-top: 50px;
    padding-left: 22px;
  }

  .continue-panel {
    margin-top: 52px;
    padding: 29px 24px;
  }

  .page-hero {
    padding: 65px 0 50px;
  }

  .article-hero-image {
    margin-top: 34px;
  }

  .article-shell {
    padding: 55px 0;
  }

  .article-body p,
  .article-body li {
    font-size: 17px;
  }

  .article-nav {
    flex-direction: column;
  }

  .article-nav a,
  .article-nav a:last-child {
    max-width: 100%;
    margin-left: 0;
    text-align: left;
  }

  .about-threads {
    margin-top: 58px;
    padding-top: 48px;
  }

  .about-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .page-pullquote {
    margin: 42px 0;
    padding: 28px 0;
  }

  .contact-page-card {
    padding: 30px 24px;
  }

  .email {
    font-size: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-nav {
    justify-content: flex-start;
    gap: 12px 18px;
  }

  .footer-copy {
    grid-column: auto;
  }

  .button-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  :is(.js-loading, .js-ready) [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Privacy page */

.page-hero--quiet h1 {
  max-width: 820px;
}

.privacy-section {
  padding: 82px 0 104px;
  border-bottom: 1px solid var(--line);
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.6fr);
  gap: clamp(52px, 8vw, 112px);
  align-items: start;
}

.privacy-summary {
  position: sticky;
  top: 108px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.privacy-summary > p {
  margin: 16px 0 26px;
  color: var(--ink-soft);
  font: 500 21px/1.45 var(--serif);
}

.privacy-summary dl {
  display: grid;
  gap: 4px;
  margin: 0;
}

.privacy-summary dt {
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.privacy-summary dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.privacy-contact {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.privacy-contact__label {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.privacy-email {
  color: var(--burgundy);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

button.privacy-email {
  min-height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.privacy-content {
  max-width: 760px;
}

.privacy-content section {
  margin-bottom: 38px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.privacy-content section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.privacy-content h2 {
  margin: 0 0 18px;
  font: 500 clamp(29px, 3vw, 39px) / 1.08 var(--serif);
  letter-spacing: -0.025em;
}

.privacy-content p {
  margin: 0 0 17px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.72;
}

.privacy-content p:last-child {
  margin-bottom: 0;
}

.footer-nav--legal {
  min-width: 72px;
}

@media (max-width: 900px) {
  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .privacy-summary {
    position: static;
    max-width: 620px;
  }
}

@media (max-width: 620px) {
  .privacy-section {
    padding: 58px 0 72px;
  }

  .privacy-summary {
    padding: 24px;
  }

  .privacy-content p {
    font-size: 16px;
  }
}

/* Article reading elements */

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.article-byline a,
.article-body .reference-entry a {
  color: var(--burgundy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.article-body .series-note {
  margin: 0 0 34px;
  padding: 17px 19px;
  border-left: 3px solid var(--gold);
  background: var(--paper-2);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.article-body .article-opening {
  font-size: 20px;
}

.article-body .section-lead {
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.66;
}

.article-body .reference-entry {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.article-body .article-author-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.article-aside time,
.article-aside span {
  display: block;
  margin-bottom: 6px;
}

.article-table.table-compact table {
  min-width: 620px;
}

.article-table.table-wide table {
  min-width: 780px;
}

.article-table.table-very-wide table {
  min-width: 980px;
}


/* Launch status and contact */

.btn.btn-status {
  cursor: default;
  user-select: none;
}

.btn.btn-status:hover {
  background: var(--burgundy);
  transform: none;
}

.email-reveal {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.email-reveal__trigger {
  display: none;
}

.js-ready .email-reveal__trigger {
  display: inline-flex;
}

:is(.js-loading, .js-ready) .email-reveal__fallback {
  display: none;
}

button.email-reveal__trigger.email {
  min-height: 44px;
  margin: 0;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.email-reveal--button .email-reveal__fallback {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}
