:root {
  --paper: #f2f0e8;
  --ink: #121212;
  --muted: #6f6e68;
  --line: rgba(18, 18, 18, 0.2);
  --blue: #3155f5;
  --acid: #c8ff53;
  --coral: #ff684f;
  --cream: #fbfaf5;
  --font-geist-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-geist-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --hover-duration: 240ms;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#work,
#blueprint,
#elwood,
#about {
  scroll-margin-top: 82px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--gh-font-body, var(--font-geist-sans));
  -webkit-font-smoothing: antialiased;
}

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

::selection {
  background: var(--acid);
  color: var(--ink);
}

.site-header {
  align-items: center;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 82px;
  left: 0;
  padding: 0 3.2vw;
  position: sticky;
  top: 0;
  backdrop-filter: blur(18px);
  z-index: 30;
}

.wordmark {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  gap: 11px;
  letter-spacing: -0.02em;
  justify-self: start;
}

.wordmark-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 50%;
  color: var(--paper);
  display: inline-flex;
  font-size: 10px;
  height: 34px;
  justify-content: center;
  letter-spacing: -0.04em;
  width: 34px;
}

.desktop-nav {
  align-items: center;
  display: flex;
  font-size: 13px;
  font-weight: 600;
  gap: 34px;
}

.desktop-nav a,
.text-link,
.nav-contact,
.nav-cta,
.hero-card-copy a {
  position: relative;
}

.desktop-nav a::after,
.text-link::after,
.nav-contact::after,
.hero-card-copy a::after {
  background: currentColor;
  bottom: -5px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms var(--ease-out);
  width: 100%;
}

.desktop-nav a:hover::after,
.text-link:hover::after,
.nav-contact:hover::after,
.hero-card-copy a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-self: end;
}

/* Editorial contact, social links, and precision icon refinements */
.icon-arrow {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 7.25h10.55L8.72 3.92 9.78 2.86 14.92 8l-5.14 5.14-1.06-1.06 3.33-3.33H1.5z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 7.25h10.55L8.72 3.92 9.78 2.86 14.92 8l-5.14 5.14-1.06-1.06 3.33-3.33H1.5z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer-brand { align-items: flex-start; display: flex; flex-direction: column; gap: 28px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  align-items: center;
  border: 0;
  color: white;
  display: inline-flex;
  height: 28px;
  justify-content: center;
  transition: color 240ms ease, transform 280ms var(--ease-out);
  width: 28px;
}
.footer-socials a:hover { transform: translateY(-2px); }
.footer-socials a[aria-label="Email Ian"]:is(:hover, :focus-visible) { color: #6f87ff; }
.footer-socials a[aria-label="Follow Ian on Instagram"]:is(:hover, :focus-visible) .social-icon { background: linear-gradient(45deg, #f58529 0%, #dd2a7b 42%, #8134af 72%, #515bd4 100%); }
.footer-socials a[aria-label="Subscribe to Ian on Substack"]:is(:hover, :focus-visible) { color: #ff6719; }
.social-icon { background: currentColor; display: inline-block; flex: 0 0 auto; height: 20px; width: 20px; }
.social-icon-mail {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4C2.9 4 2 4.9 2 6v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 4-8 5-8-5V6l8 5 8-5v2Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4C2.9 4 2 4.9 2 6v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 4-8 5-8-5V6l8 5 8-5v2Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}
.social-icon-instagram {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='18' height='18' rx='5' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='4' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='17.5' cy='6.5' r='1.25' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='18' height='18' rx='5' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='4' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='17.5' cy='6.5' r='1.25' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}
.social-icon-substack {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h18v2.4H3V3Zm0 4.1h18v2.4H3V7.1Zm0 4.1h18v2.4H3v-2.4Zm2 4.1h14V21l-7-3.8L5 21v-5.7Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h18v2.4H3V3Zm0 4.1h18v2.4H3V7.1Zm0 4.1h18v2.4H3v-2.4Zm2 4.1h14V21l-7-3.8L5 21v-5.7Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}
.social-icon-linkedin {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 9h4v13H2V9Zm2-7a2.35 2.35 0 1 1 0 4.7A2.35 2.35 0 0 1 4 2Zm4 7h3.85v1.78h.06c.54-1.02 1.85-2.1 3.8-2.1C19.78 8.68 22 11.35 22 14.82V22h-4v-6.37c0-1.52-.03-3.47-2.12-3.47-2.12 0-2.45 1.65-2.45 3.36V22H8V9Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 9h4v13H2V9Zm2-7a2.35 2.35 0 1 1 0 4.7A2.35 2.35 0 0 1 4 2Zm4 7h3.85v1.78h.06c.54-1.02 1.85-2.1 3.8-2.1C19.78 8.68 22 11.35 22 14.82V22h-4v-6.37c0-1.52-.03-3.47-2.12-3.47-2.12 0-2.45 1.65-2.45 3.36V22H8V9Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}
.book-page-review-note span { justify-self: start; }

.contact-hero {
  align-items: end;
  display: grid;
  gap: clamp(60px, 8vw, 130px);
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.48fr);
  min-height: calc(100svh - 82px);
  padding: clamp(90px, 10vw, 165px) 3.2vw clamp(75px, 8vw, 125px);
}
.contact-heading .section-index { display: block; margin-bottom: clamp(70px, 9vw, 140px); }
.contact-heading h1 { font-size: clamp(76px, 10.5vw, 170px); font-weight: 650; letter-spacing: -0.085em; line-height: 0.79; margin: 0; }
.contact-heading h1 em { color: var(--blue); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.contact-intro { border-top: 1px solid var(--ink); padding-top: 24px; }
.contact-intro p { font-family: Georgia, "Times New Roman", serif; font-size: clamp(23px, 2.2vw, 36px); letter-spacing: -0.035em; line-height: 1.2; margin: 0 0 40px; }
.contact-intro > span { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-channels { border-top: 1px solid var(--ink); display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, minmax(235px, 1fr)); }
.contact-channel { display: grid; gap: clamp(36px, 5vw, 76px); grid-template-columns: 1fr auto; min-height: 470px; padding: clamp(38px, 4.5vw, 72px) 3.2vw; transition: filter 240ms ease; }
.contact-channel:hover { filter: brightness(1.04); }
.contact-channel-email { background: var(--blue); color: white; grid-row: 1 / 3; }
.contact-channel-instagram { background: var(--coral); color: var(--ink); }
.contact-channel-linkedin { background: var(--acid); border-top: 1px solid var(--ink); color: var(--ink); }
.contact-channel-instagram,
.contact-channel-linkedin { gap: clamp(24px, 2vw, 34px); min-height: 235px; padding-bottom: clamp(28px, 3vw, 44px); padding-top: clamp(28px, 3vw, 44px); }
.contact-channel-instagram strong,
.contact-channel-linkedin strong { font-size: clamp(30px, 3vw, 48px); }
.contact-channel + .contact-channel { border-left: 1px solid var(--ink); }
.contact-channel-index { font-size: 9px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.contact-channel-icon { height: 25px; width: 25px; }
.contact-channel strong { align-self: end; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4.2vw, 68px); font-weight: 400; grid-column: 1 / -1; letter-spacing: -0.055em; line-height: 0.95; overflow-wrap: anywhere; }
.contact-channel p { align-self: end; font-size: 13px; line-height: 1.5; margin: 0; max-width: 290px; }
.contact-channel > .icon-arrow { align-self: end; font-size: 24px; transition: transform 280ms var(--ease-out); }
.contact-channel:hover > .icon-arrow { transform: translate(4px, -4px) rotate(-45deg); }

@media (min-width: 981px) {
  .book-page-chapters:not(:has(.book-page-part[open])) .book-page-chapter-intro,
  .book-page-chapters:not(:has(.book-page-part[open])) .book-page-parts { align-self: stretch; display: flex; flex-direction: column; }
  .book-page-chapters:not(:has(.book-page-part[open])) .book-page-intro-link,
  .book-page-chapters:not(:has(.book-page-part[open])) .book-page-conclusion { margin-top: auto; }
}

@media (max-width: 980px) {
  .book-page-chapters { gap: 0; }
  .book-page-intro-link { margin-bottom: 26px; }
  .contact-hero { align-items: start; grid-template-columns: 1fr; min-height: auto; padding-left: 22px; padding-right: 22px; }
  .contact-heading h1 { font-size: clamp(68px, 14vw, 120px); }
  .contact-channels { grid-template-columns: 1fr; }
  .contact-channel-email { grid-row: auto; }
  .contact-channel { min-height: 390px; padding-left: 22px; padding-right: 22px; }
  .contact-channel + .contact-channel { border-left: 0; border-top: 1px solid var(--ink); }
}

@media (max-width: 600px) {
  .footer-principles > span { font-style: italic; }
  .footer-brand { gap: 22px; }
  .footer-socials a { height: 28px; width: 28px; }
  .contact-hero { gap: 64px; padding: 72px 18px; }
  .contact-heading .section-index { margin-bottom: 58px; }
  .contact-heading h1 { font-size: clamp(58px, 17vw, 82px); line-height: 0.83; }
  .contact-intro p { font-size: 25px; }
  .contact-channel { gap: 34px; min-height: 330px; padding: 34px 18px; }
  .contact-channel strong { font-size: clamp(34px, 10.5vw, 49px); }
}

/* The Blueprint book page */
.book-page-hero {
  min-height: calc(100vh - 82px);
}

.book-page-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 82px);
  padding: clamp(70px, 8vw, 130px) 3.2vw clamp(64px, 7vw, 110px);
}

.book-page-kicker {
  align-items: center;
  display: flex;
  font-size: 10px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.14em;
  margin-bottom: clamp(50px, 6vw, 92px);
  text-transform: uppercase;
}

.book-page-hero h1 {
  font-size: clamp(82px, 13.2vw, 214px);
  font-weight: 650;
  letter-spacing: -0.085em;
  line-height: 0.82;
  margin: 0;
  max-width: 1400px;
}

.book-page-hero-copy > p {
  font-size: clamp(18px, 1.35vw, 23px);
  letter-spacing: -0.025em;
  line-height: 1.5;
  margin: clamp(46px, 5vw, 76px) 0 0;
  max-width: 760px;
}

.book-page-actions {
  align-items: center;
  display: flex;
  gap: 28px;
  margin-top: 38px;
}

.book-page-facts {
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(54px, 6vw, 92px) 0 0;
  max-width: 780px;
  width: 100%;
}

.book-page-facts div {
  border-right: 1px solid var(--ink);
  padding: 18px 15px 0 0;
}

.book-page-facts div + div { padding-left: 15px; }
.book-page-facts div:last-child { border-right: 0; }

.book-page-facts dt {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 2.7vw, 45px);
  letter-spacing: -0.05em;
}

.book-page-facts dd {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  margin: 6px 0 0;
  text-transform: uppercase;
}

.book-page-jump {
  align-items: center;
  background: var(--ink);
  color: white;
  display: flex;
  gap: 38px;
  padding: 18px 3.2vw;
}

.book-page-jump span,
.book-page-jump a {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.book-page-jump span { color: var(--acid); margin-right: auto; }
.book-page-jump a { border-bottom: 1px solid transparent; padding-bottom: 2px; }
.book-page-jump a:hover { border-color: currentColor; }

.book-page-listen {
  padding: clamp(90px, 10vw, 160px) 3.2vw;
}

.book-page-section-heading {
  align-items: end;
  border-bottom: 1px solid var(--ink);
  display: grid;
  gap: 38px;
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.5fr);
  padding-bottom: 32px;
}

.book-page-section-heading .section-index { grid-column: 1 / -1; }

.book-page-section-heading h2,
.book-page-chapter-intro h2 {
  font-size: clamp(55px, 7vw, 112px);
  font-weight: 650;
  letter-spacing: -0.075em;
  line-height: 0.87;
  margin: 0;
}

.book-page-section-heading > p,
.book-page-chapter-intro > p {
  font-size: 15px;
  line-height: 1.58;
  margin: 0;
  max-width: 500px;
}

.book-page-review-note {
  align-items: center;
  background: #e6f3f6;
  border: 1px solid rgba(18, 18, 18, 0.16);
  display: grid;
  gap: 28px;
  grid-template-columns: auto 1fr;
  margin-top: 42px;
  padding: 22px 24px;
}

.book-page-review-note span {
  background: var(--blue);
  color: white;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  padding: 7px 9px;
  text-transform: uppercase;
}

.book-page-review-note p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  margin: 0;
}

.book-page-review-note-global {
  border-left: 0;
  border-right: 0;
  margin-top: 0;
  padding-left: 3.2vw;
  padding-right: 3.2vw;
}

.book-page-player {
  background: #3f5f8f;
  border-radius: 18px;
  margin-top: 28px;
  overflow: hidden;
}

.book-page-player iframe { border: 0; display: block; }

.book-page-chapters {
  background: var(--cream);
  display: grid;
  gap: clamp(54px, 7vw, 110px);
  grid-template-columns: minmax(300px, 0.53fr) minmax(0, 1fr);
  padding: clamp(90px, 10vw, 160px) 3.2vw;
}

.book-page-chapter-intro {
  align-self: start;
  position: sticky;
  top: 120px;
}

.book-page-chapter-intro .section-index { display: block; margin-bottom: 70px; }
.book-page-chapter-intro > p { margin-top: 34px; }

.book-page-intro-link,
.book-page-conclusion {
  align-items: center;
  border-bottom: 1px solid var(--ink);
  border-top: 1px solid var(--ink);
  display: grid;
  gap: 20px;
  grid-template-columns: 40px 1fr auto;
  margin-top: 48px;
  padding: 18px 4px;
}

.book-page-intro-link > span,
.book-page-conclusion > span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.book-page-intro-link strong,
.book-page-conclusion strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.book-page-part {
  border: 1px solid var(--ink);
  margin-bottom: 26px;
}

.book-page-part summary {
  align-items: end;
  cursor: pointer;
  display: grid;
  gap: 20px;
  grid-template-columns: 90px minmax(0, 1fr) auto 30px;
  list-style: none;
  padding: 26px 28px;
}

.book-page-part summary::-webkit-details-marker { display: none; }
.book-page-part.blue summary { background: var(--blue); color: white; }
.book-page-part.coral summary { background: var(--coral); }
.book-page-part.acid summary { background: var(--acid); }

.book-page-part-index,
.book-page-part-count {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.book-page-part summary strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.2vw, 52px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.book-page-part-toggle {
  font-size: 25px;
  line-height: 1;
  text-align: right;
  transform: rotate(0);
}

.book-page-part[open] .book-page-part-toggle { transform: rotate(45deg); }

.book-page-part-description {
  border-bottom: 1px solid var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  padding: 22px 28px;
}

.book-page-part ol { list-style: none; margin: 0; padding: 0; }
.book-page-part li + li { border-top: 1px solid var(--line); }

.book-page-part li a {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: 50px 1fr auto;
  min-height: 67px;
  padding: 12px 28px;
}

.book-page-part li a:hover { background: white; }
.book-page-part li a > span { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: 0.1em; }
.book-page-part li strong { font-size: clamp(17px, 1.55vw, 24px); font-weight: 600; letter-spacing: -0.03em; }
.book-page-conclusion { margin-top: 0; padding-left: 28px; padding-right: 28px; }

.book-page-feedback {
  background: var(--blue);
  color: white;
  padding: clamp(90px, 10vw, 160px) 3.2vw;
}

.book-page-feedback h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 9vw, 145px);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.82;
  margin: clamp(65px, 8vw, 120px) 0 48px;
  max-width: 980px;
}

.book-page-feedback > p {
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.5;
  margin: 0 0 34px;
  max-width: 600px;
}

@media (max-width: 980px) {
  .book-page-hero-copy { min-height: calc(100vh - 72px); padding-left: 22px; padding-right: 22px; }
  .book-page-chapters { grid-template-columns: 1fr; }
  .book-page-chapter-intro { position: static; }
  .book-page-chapter-intro .section-index { margin-bottom: 48px; }
}

@media (max-width: 620px) {
  .book-page-hero-copy { min-height: auto; padding-bottom: 72px; padding-top: 72px; }
  .book-page-kicker { margin-bottom: 54px; }
  .book-page-hero h1 { font-size: clamp(70px, 22vw, 96px); }
  .book-page-actions { align-items: flex-start; flex-direction: column; }
  .book-page-facts { grid-template-columns: 1fr; }
  .book-page-facts div,
  .book-page-facts div + div { border-bottom: 1px solid var(--ink); border-right: 0; padding: 15px 0; }
  .book-page-jump { gap: 24px; overflow-x: auto; }
  .book-page-jump span { display: none; }
  .book-page-section-heading { align-items: start; grid-template-columns: 1fr; }
  .book-page-section-heading .section-index { grid-column: auto; }
  .book-page-review-note { align-items: start; grid-template-columns: 1fr; }
  .book-page-player iframe { height: 352px; }
  .book-page-part summary { align-items: start; grid-template-columns: 1fr auto; }
  .book-page-part-index,
  .book-page-part-count { grid-column: 1; }
  .book-page-part summary strong { grid-column: 1; }
  .book-page-part-toggle { grid-column: 2; grid-row: 1 / 4; }
  .book-page-part-description { padding-left: 18px; padding-right: 18px; }
  .book-page-part li a { gap: 13px; grid-template-columns: 32px 1fr auto; padding-left: 18px; padding-right: 18px; }
  .book-page-conclusion { padding-left: 18px; padding-right: 18px; }
}

.nav-contact {
  font-size: 12px;
  font-weight: 700;
}

.nav-cta {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 13px;
  padding: 11px 16px;
  transition: background 240ms ease, color 240ms ease;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--paper);
}

.mobile-menu {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.68fr);
  min-height: calc(100vh - 82px);
  position: relative;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7vh 4.7vw 8.5vh 3.2vw;
}

.eyebrow {
  align-items: center;
  display: flex;
  font-size: 11px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-dot {
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(49, 85, 245, 0.12);
  height: 7px;
  position: relative;
  width: 7px;
}

/* Gentle live pulse: an expanding ring plus a barely-there breathing of the
   dot itself. Pure transform/opacity, no layout shift; the ring inherits the
   dot's own color so the dark variant needs no extra rules. */
.status-dot::before {
  animation: status-ring 3.2s var(--ease-out) infinite;
  background: inherit;
  border-radius: 50%;
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
}

.status-dot {
  animation: status-breathe 3.2s ease-in-out infinite;
}

@keyframes status-ring {
  0% { opacity: 0.4; transform: scale(1); }
  65%, 100% { opacity: 0; transform: scale(2.6); }
}

@keyframes status-breathe {
  0%, 100% { transform: scale(1); }
  35% { transform: scale(1.12); }
}

.hero h1 {
  font-size: clamp(64px, 7.25vw, 124px);
  font-weight: 600;
  letter-spacing: -0.073em;
  line-height: 0.86;
  margin: 8vh 0;
  max-width: 1120px;
}

.hero h1 em {
  color: var(--blue);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.065em;
}

.hero-bottom {
  align-items: end;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(240px, 480px) auto;
}

.hero-bottom > p {
  font-size: clamp(17px, 1.25vw, 21px);
  letter-spacing: -0.025em;
  line-height: 1.45;
  margin: 0;
}

.hero-actions {
  align-items: center;
  display: flex;
  gap: 28px;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 28px;
  padding: 16px 20px;
  transition: transform 280ms var(--ease-out), background var(--hover-duration) ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--ink);
  color: white;
}

.button-dark:hover {
  background: var(--blue);
}

.text-link {
  align-items: center;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  white-space: nowrap;
}

.icon-arrow {
  background: currentColor;
  display: inline-block;
  flex: 0 0 auto;
  height: 0.82em;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h12M9.25 3.25 14 8l-4.75 4.75' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h12M9.25 3.25 14 8l-4.75 4.75' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") center / contain no-repeat;
  transform-origin: center;
  width: 0.82em;
}

.icon-arrow::before,
.icon-arrow::after { content: none; }

.icon-arrow-ne { transform: rotate(-45deg); }
.icon-arrow-down { transform: rotate(90deg); }
.icon-arrow-up { transform: rotate(-90deg); }

.hero-card {
  background: var(--blue);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  overflow: hidden;
  padding: 34px 2.35vw 46px;
  position: relative;
}

.hero-card::before {
  background: linear-gradient(115deg, transparent 45%, rgba(255, 255, 255, 0.09));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-card-top {
  display: flex;
  font-size: 10px;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0.13em;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.orbit {
  align-self: center;
  aspect-ratio: 1;
  display: grid;
  margin: 2vh 0;
  place-items: center;
  position: relative;
  width: min(24vw, 370px);
}

.orbit-ring {
  backface-visibility: hidden;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  inset: 5%;
  position: absolute;
  will-change: transform;
}

.orbit-ring-one {
  animation: orbit 18s linear infinite;
  border-left-color: var(--acid);
  border-width: 2px 1px 1px 2px;
  transform: rotate(28deg) scaleY(0.74);
}

.orbit-ring-two {
  animation: orbit-reverse 13s linear infinite;
  border-right-color: var(--coral);
  inset: 18%;
  transform: rotate(-42deg) scaleY(0.68);
}

.orbit-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(92px, 10vw, 164px);
  letter-spacing: -0.09em;
  line-height: 1;
}

.orbit-label {
  bottom: 24%;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  position: absolute;
  text-transform: uppercase;
}

.hero-card-copy {
  position: relative;
  z-index: 1;
}

.project-kicker {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.hero-card-copy h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 3.5vw, 58px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
  margin: 0 0 16px;
}

.hero-card-copy p {
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 32ch;
  opacity: 0.82;
}

.hero-card-copy a {
  font-size: 12px;
  font-weight: 700;
}

.scroll-note {
  bottom: 25px;
  display: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  position: absolute;
  right: calc(3.2vw + 25%);
  text-transform: uppercase;
}

.topic-strip {
  background: var(--ink);
  color: white;
  overflow: hidden;
  padding: 16px 0;
}

.topic-track {
  align-items: center;
  animation: marquee 34s linear infinite;
  backface-visibility: hidden;
  display: flex;
  will-change: transform;
  width: max-content;
}

/* Once main.js takes over with its seamless rAF loop, the CSS fallback
   animation steps aside. */
.topic-track.is-js {
  animation: none;
}

.topic-group {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  gap: 28px;
  justify-content: space-around;
  letter-spacing: 0.15em;
  min-width: 100vw;
  padding: 0 14px;
  text-transform: uppercase;
  white-space: nowrap;
}

.topic-group i {
  color: var(--acid);
  font-size: 15px;
  font-style: normal;
}

.work-section {
  padding: clamp(90px, 11vw, 180px) 3.2vw;
}

.section-heading {
  align-items: end;
  border-bottom: 1px solid var(--ink);
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 0.48fr;
  padding-bottom: 40px;
}

.section-index {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.section-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6.4vw, 98px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.94;
  margin: 0;
}

.section-heading > p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  max-width: 430px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.article-card {
  border-bottom: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 620px;
  padding: 24px 28px 30px;
  -webkit-tap-highlight-color: transparent;
  touch-action: pan-y;
  transition: background 380ms var(--ease-out), color 380ms var(--ease-out);
}

.article-card:first-child {
  border-left: 1px solid var(--ink);
}

.article-card.blue:is(:hover, :focus-visible, .is-active) {
  background: var(--blue);
  color: white;
}

.article-card.coral:is(:hover, :focus-visible, .is-active) {
  background: var(--coral);
}

.article-card.acid:is(:hover, :focus-visible, .is-active) {
  background: var(--acid);
}

.article-topline {
  align-items: center;
  display: grid;
  font-size: 10px;
  font-weight: 700;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-topline > span:nth-child(2) {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 7px 10px;
}

.article-topline > span:last-child {
  font-size: 16px;
}

.article-shape {
  display: grid;
  flex: 1;
  place-items: center;
}

.article-shape > span {
  border: 1px solid var(--ink);
  height: 190px;
  position: relative;
  transform: rotate(45deg);
  transition: transform 560ms var(--ease-out), border-color 380ms ease;
  width: 190px;
}

.article-shape > span::before,
.article-shape > span::after {
  background: var(--ink);
  content: "";
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: background 250ms ease;
}

.article-shape > span::before,
.article-shape > span::after {
  transition: background 380ms ease;
}

.article-shape > span::before {
  height: 1px;
  width: 135%;
}

.article-shape > span::after {
  height: 135%;
  width: 1px;
}

.article-card:is(:hover, :focus-visible, .is-active) .article-shape > span {
  border-color: currentColor;
  transform: rotate(135deg) scale(0.86);
}

.article-card:is(:hover, :focus-visible, .is-active) .article-shape > span::before,
.article-card:is(:hover, :focus-visible, .is-active) .article-shape > span::after {
  background: currentColor;
}

.article-card h3 {
  font-size: clamp(25px, 2.1vw, 36px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0 0 22px;
}

.article-card p {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.archive-link-wrap {
  border-bottom: 1px solid var(--ink);
  display: flex;
  justify-content: flex-end;
  padding: 30px 0;
}

.archive-link {
  align-items: center;
  display: flex;
  font-size: 12px;
  font-weight: 700;
  gap: 54px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-link span:last-child {
  font-size: 18px;
  transition: transform 280ms var(--ease-out);
}

.archive-link:hover span:last-child {
  transform: translate(4px, -4px) rotate(-45deg);
}

.blueprint-section {
  background: var(--ink);
  color: white;
  display: grid;
  gap: clamp(80px, 8vw, 140px) 5vw;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.82fr);
  overflow: hidden;
  padding: clamp(100px, 10vw, 160px) 3.2vw;
  position: relative;
}

.blueprint-section::after {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
  height: 52vw;
  max-height: 860px;
  max-width: 860px;
  position: absolute;
  right: -20vw;
  top: 2vw;
  width: 52vw;
}

.section-index-light {
  color: rgba(255, 255, 255, 0.62);
}

.blueprint-intro {
  align-self: center;
  position: relative;
  z-index: 2;
}

.blueprint-intro h2 {
  font-size: clamp(57px, 6.7vw, 108px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.87;
  margin: 0 0 46px;
}

.blueprint-intro h2 em {
  color: var(--acid);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.blueprint-intro > p {
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(16px, 1.22vw, 20px);
  line-height: 1.55;
  margin: 0;
  max-width: 580px;
}

.book-stage {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 620px;
  perspective: 1400px;
  position: relative;
  z-index: 2;
}

.book-object {
  filter: drop-shadow(32px 38px 40px rgba(0, 0, 0, 0.32));
  height: 485px;
  position: relative;
  transform: rotateY(-18deg) rotateX(8deg) rotateZ(4deg);
  transform-style: preserve-3d;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  width: 338px;
  z-index: 3;
}

.book-stage:hover .book-object {
  transform: rotateY(-6deg) rotateX(3deg) rotateZ(0deg) translateY(-8px);
}

.book-cover {
  background: var(--coral);
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  left: 18px;
  padding: 26px 24px;
  position: absolute;
  top: 0;
  transform: translateZ(16px);
  width: 320px;
}

.book-cover::before,
.book-cover::after {
  border: 1px solid rgba(18, 18, 18, 0.7);
  border-radius: 50%;
  content: "";
  height: 168px;
  left: 75px;
  position: absolute;
  top: 150px;
  width: 168px;
}

.book-cover::after {
  border-color: rgba(255, 255, 255, 0.75);
  left: 97px;
  top: 130px;
}

.book-spine {
  align-items: center;
  background: #cb3f30;
  display: flex;
  font-size: 9px;
  font-weight: 700;
  height: 100%;
  justify-content: center;
  left: 0;
  letter-spacing: 0.16em;
  padding: 12px 0;
  position: absolute;
  text-orientation: mixed;
  transform: rotateY(-90deg) translateX(-16px);
  transform-origin: right;
  writing-mode: vertical-rl;
  width: 32px;
}

.book-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.book-title {
  font-size: 47px;
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.82;
  position: relative;
  z-index: 2;
}

.book-author {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.book-orbit {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  height: 480px;
  position: absolute;
  width: 480px;
}

.book-orbit-a {
  transform: rotate(-15deg) scaleY(0.44);
}

.book-orbit-b {
  border-color: rgba(200, 255, 83, 0.32);
  transform: rotate(58deg) scaleY(0.44);
}

.book-note {
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 8px 11px;
  position: absolute;
  text-transform: uppercase;
}

.book-note-a { left: 2%; top: 24%; }
.book-note-b { right: 0; top: 42%; }
.book-note-c { bottom: 20%; left: 8%; }

.blueprint-pillars {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  z-index: 2;
}

.blueprint-pillars article {
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  padding: 34px 36px 30px 0;
}

.blueprint-pillars article:not(:first-child) {
  padding-left: 36px;
}

.blueprint-pillars article:last-child {
  border-right: 0;
}

.blueprint-pillars span {
  color: rgba(255, 255, 255, 0.52);
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.blueprint-pillars h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 400;
  letter-spacing: -0.05em;
  margin: 0 0 18px;
}

.blueprint-pillars p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
  max-width: 35ch;
}

.button-acid {
  background: var(--acid);
  color: var(--ink);
  grid-column: 1 / -1;
  justify-self: start;
  position: relative;
  z-index: 2;
}

.button-acid:hover {
  background: white;
}

.elwood-section {
  background: #dce7f4;
  display: grid;
  gap: clamp(64px, 7vw, 120px);
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.12fr);
  overflow: hidden;
  padding: clamp(100px, 10vw, 160px) 3.2vw;
  position: relative;
}

.elwood-section::before {
  background: linear-gradient(90deg, transparent, rgba(49, 85, 245, 0.18), transparent);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.elwood-intro {
  align-self: center;
  position: relative;
  z-index: 2;
}

.elwood-meta {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: clamp(70px, 8vw, 120px);
}

.elwood-meta .section-index {
  margin: 0;
}

.elwood-independence {
  align-items: center;
  display: inline-flex;
  font-size: 9px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.elwood-independence .status-dot {
  flex: 0 0 auto;
}

.elwood-intro h2 {
  font-size: clamp(64px, 7.8vw, 126px);
  font-weight: 600;
  letter-spacing: -0.078em;
  line-height: 0.82;
  margin: 0 0 48px;
}

.elwood-intro h2 em {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.elwood-intro > p {
  font-size: clamp(16px, 1.22vw, 20px);
  line-height: 1.55;
  margin: 0;
  max-width: 560px;
}

.elwood-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 48px;
}

.button-elwood {
  background: var(--ink);
  color: white;
}

.button-elwood:hover {
  background: var(--blue);
}

.elwood-request {
  align-items: center;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.elwood-request .icon-arrow {
  transition: transform var(--hover-duration) var(--ease-out);
}

.elwood-request:hover .icon-arrow {
  transform: translate(3px, -3px);
}

.elwood-board {
  background: #0d1014;
  color: white;
  min-height: 700px;
  overflow: hidden;
  padding: 30px;
  position: relative;
  z-index: 2;
}

.elwood-board::before {
  background:
    radial-gradient(ellipse at 105% 36%, transparent 0 37%, rgba(142, 215, 246, 0.16) 37.2% 37.5%, transparent 37.7% 44%, rgba(142, 215, 246, 0.1) 44.2% 44.5%, transparent 44.7%),
    repeating-linear-gradient(0deg, transparent 0 64px, rgba(255, 255, 255, 0.035) 64px 65px);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.elwood-board::after {
  animation: elwood-scan 7s ease-in-out infinite;
  background: linear-gradient(90deg, transparent, rgba(142, 215, 246, 0.32), transparent);
  content: "";
  height: 1px;
  left: -55%;
  position: absolute;
  top: 34%;
  width: 70%;
}

.elwood-board-heading {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  font-size: 9px;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0.16em;
  padding-bottom: 24px;
  position: relative;
  text-transform: uppercase;
  z-index: 2;
}

.elwood-board-heading span:last-child {
  color: rgba(255, 255, 255, 0.48);
}

.elwood-mandates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 540px;
  position: relative;
  z-index: 2;
}

.elwood-mandates article {
  display: flex;
  flex-direction: column;
  padding: 34px 34px 30px 0;
}

.elwood-mandates article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 34px;
  padding-right: 0;
}

.elwood-mandate-code {
  align-items: start;
  display: flex;
  justify-content: space-between;
  margin-bottom: auto;
}

.elwood-mandate-code span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.elwood-mandate-code strong {
  color: #8ed7f6;
  font-size: clamp(32px, 4vw, 64px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.8;
}

.elwood-mandates h3 {
  font-size: clamp(27px, 2.5vw, 42px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.95;
  margin: 0 0 12px;
}

.elwood-mandates p {
  color: #8ed7f6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 1.8vw, 29px);
  font-style: italic;
  line-height: 1.05;
  margin: 0 0 34px;
}

.elwood-mandates ul {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
}

.elwood-mandates li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 10px 0;
  text-transform: uppercase;
}

.elwood-mandates li::before {
  color: #8ed7f6;
  content: "+";
  margin-right: 10px;
}

.elwood-method {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 2;
}

.elwood-method span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
  padding: 20px 12px 0 0;
  text-transform: uppercase;
}

.elwood-method span:not(:first-child) {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 12px;
}

@keyframes elwood-scan {
  0%, 18% { opacity: 0; transform: translateX(0); }
  35%, 70% { opacity: 1; }
  82%, 100% { opacity: 0; transform: translateX(220%); }
}

.library-section {
  padding: clamp(100px, 11vw, 175px) 3.2vw;
}

.library-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: clamp(70px, 8vw, 120px);
}

.library-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 6.5vw, 100px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.9;
  margin: 0;
  text-align: right;
}

.library-list {
  border-top: 1px solid var(--ink);
}

.library-list a {
  align-items: center;
  border-bottom: 1px solid var(--ink);
  display: grid;
  gap: 24px;
  grid-template-columns: 60px minmax(120px, 0.32fr) 1fr auto;
  min-height: 124px;
  padding: 20px 18px 20px 8px;
  position: relative;
  transition: padding 280ms var(--ease-out), background 280ms var(--ease-out);
}

.library-list a::before {
  background: var(--acid);
  content: "";
  inset: 0;
  position: absolute;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.library-list a:hover {
  padding-left: 24px;
  padding-right: 24px;
}

.library-list a:hover::before {
  transform: scaleY(1);
}

.library-count,
.library-topic {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.library-topic {
  border: 1px solid var(--ink);
  border-radius: 999px;
  justify-self: start;
  padding: 7px 10px;
}

.library-list strong {
  font-size: clamp(21px, 2.2vw, 35px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.library-list a > span:last-child {
  font-size: 21px;
  transition: transform 280ms var(--ease-out);
}

.library-list a:hover > span:last-child {
  transform: translate(4px, -4px) rotate(-45deg);
}

.about-section {
  background: var(--blue);
  color: white;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
}

.about-statement {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  padding: clamp(90px, 10vw, 160px) 4.5vw 10vw 3.2vw;
}

.about-statement .section-index {
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: clamp(70px, 9vw, 140px);
}

.about-statement h2 {
  font-size: clamp(52px, 6.4vw, 104px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.9;
  margin: 0;
}

.about-statement h2 em {
  color: var(--acid);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.about-copy {
  align-self: end;
  padding: 8vw 3.2vw 10vw 4vw;
}

.about-copy > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 22px;
  max-width: 580px;
}

.about-copy .about-lead {
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.3vw, 40px);
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin-bottom: 32px;
}

.about-stats {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 48px;
}

.about-stats div {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  padding: 26px 18px 24px 0;
}

.about-stats div:not(:first-child) {
  padding-left: 18px;
}

.about-stats div:last-child {
  border-right: 0;
}

.about-stats strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 4vw, 64px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
  margin-bottom: 12px;
}

.about-stats span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 32px;
}

.about-links a {
  align-items: center;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  gap: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.newsletter-section {
  background: var(--acid);
  min-height: 720px;
  padding: clamp(90px, 9vw, 150px) 3.2vw 7vw;
}

.newsletter-label {
  align-items: center;
  display: flex;
  font-size: 10px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-dot-dark {
  background: var(--ink);
  box-shadow: 0 0 0 5px rgba(18, 18, 18, 0.1);
}

.newsletter-section h2 {
  font-size: clamp(68px, 10.2vw, 168px);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 0.75;
  margin: clamp(85px, 9vw, 145px) 0 100px;
}

.newsletter-section h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.newsletter-bottom {
  align-items: center;
  border-top: 1px solid var(--ink);
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
}

.newsletter-bottom p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  max-width: 560px;
}

.site-footer {
  background: var(--ink);
  color: white;
  padding: 58px 3.2vw 30px;
}

.footer-top {
  align-items: start;
  display: flex;
  justify-content: space-between;
  min-height: 300px;
}

.footer-wordmark {
  font-size: 17px;
}

.wordmark-mark-light {
  background: white;
  color: var(--ink);
}

.footer-principles {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.35vw, 54px);
  grid-template-columns: auto auto;
  letter-spacing: -0.055em;
  line-height: 0.92;
  margin: 0;
  width: min(64vw, 860px);
}

.footer-principles > span {
  align-items: flex-end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  min-height: 132px;
  padding: 48px 22px 20px;
  position: relative;
}

.footer-principles > span::before {
  color: var(--acid);
  content: attr(data-index);
  font-family: var(--gh-font-body, var(--font-geist-sans));
  font-size: 9px;
  font-weight: 700;
  left: 22px;
  letter-spacing: 0.14em;
  position: absolute;
  top: 18px;
}

.footer-principles > span:nth-child(2)::before { color: var(--coral); }
.footer-principles > span:nth-child(3)::before { color: #6f87ff; }
.footer-principles > span:nth-child(4)::before { color: white; }

.footer-principles > span:nth-child(2),
.footer-principles > span:nth-child(3) {
  font-style: italic;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.64);
  display: grid;
  font-size: 9px;
  font-weight: 700;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  letter-spacing: 0.1em;
  padding-top: 24px;
  text-transform: uppercase;
}

.footer-bottom nav {
  display: flex;
  gap: 28px;
}

.footer-bottom > a {
  align-items: center;
  display: inline-flex;
  gap: 7px;
  justify-self: end;
  white-space: nowrap;
}

.footer-bottom > span {
  justify-self: start;
  white-space: nowrap;
}

/* Hide the legacy footer snippet still present in Ghost's site-wide code injection. */
body > .site-footer ~ .text-container {
  display: none !important;
}

.reveal {
  animation: reveal 750ms both var(--ease-out);
}

.reveal-1 { animation-delay: 80ms; }
.reveal-2 { animation-delay: 180ms; }
.reveal-3 { animation-delay: 320ms; }

@keyframes reveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll-triggered reveals (desktop and mobile). Elements are hidden only
   once JS confirms motion is allowed (body.motion-ready), then revealed with
   a one-shot animation so their own hover transitions are never overridden.
   The stagger delay is set per element by main.js. */
body.motion-ready .motion-item {
  opacity: 0;
}

body.motion-ready .motion-item.is-visible {
  animation: motion-reveal 700ms var(--ease-out) both;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes motion-reveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes orbit {
  to { transform: rotate(388deg) scaleY(0.74); }
}

@keyframes orbit-reverse {
  to { transform: rotate(-402deg) scaleY(0.68); }
}

@keyframes marquee {
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes book-float-mobile {
  0%, 100% { transform: rotateY(-14deg) rotateX(7deg) rotateZ(3deg) scale(0.88) translateY(0); }
  50% { transform: rotateY(-5deg) rotateX(2deg) rotateZ(-1deg) scale(0.9) translateY(-12px); }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: 72px;
    padding: 0 22px;
  }

  .desktop-nav,
  .nav-actions {
    display: none;
  }

  .mobile-menu {
    display: block;
    justify-self: end;
    position: relative;
  }

  .mobile-menu summary {
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    list-style: none;
    text-transform: uppercase;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu nav {
    background: var(--ink);
    color: white;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 220px;
    padding: 24px;
    position: absolute;
    right: 0;
    top: 28px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    min-height: calc(100svh - 72px);
    padding: 48px 22px 56px;
  }

  .hero h1 {
    font-size: clamp(54px, 11.5vw, 96px);
    margin: 10vh 0;
  }

  .hero-bottom {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .hero-card {
    min-height: 680px;
    padding: 30px 22px 40px;
  }

  .orbit {
    width: min(72vw, 430px);
  }

  .section-heading {
    align-items: start;
    grid-template-columns: 1fr;
  }

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

  .article-card,
  .article-card:first-child {
    border-left: 1px solid var(--ink);
    min-height: 560px;
  }

  .blueprint-section {
    grid-template-columns: 1fr;
  }

  .book-stage {
    min-height: 650px;
  }

  .blueprint-pillars {
    grid-template-columns: 1fr;
  }

  .blueprint-pillars article,
  .blueprint-pillars article:not(:first-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    border-right: 0;
    padding: 30px 0;
  }

  .elwood-section {
    grid-template-columns: 1fr;
  }

  .elwood-meta {
    margin-bottom: 70px;
  }

  .elwood-board {
    min-height: 660px;
  }

  .library-heading {
    align-items: start;
    flex-direction: column;
    gap: 50px;
  }

  .library-heading h2 {
    text-align: left;
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .about-statement {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    border-right: 0;
  }

  .about-copy {
    padding: 80px 4vw 110px;
  }

  .newsletter-section h2 {
    line-height: 0.82;
  }

  .newsletter-bottom {
    align-items: start;
    flex-direction: column;
    gap: 34px;
  }

}

@media (max-width: 600px) {
  .wordmark-mark {
    height: 30px;
    width: 30px;
  }

  .hero h1 {
    font-size: clamp(49px, 15vw, 74px);
    letter-spacing: -0.068em;
    line-height: 0.9;
  }

  .hero-bottom {
    gap: 32px;
  }

  .button {
    gap: 18px;
  }

  .work-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .article-card {
    min-height: 500px;
    padding: 20px;
  }

  .article-shape > span {
    height: 140px;
    width: 140px;
  }

  .blueprint-section {
    gap: 70px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .blueprint-intro h2 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .book-stage {
    min-height: 520px;
  }

  .book-object {
    animation-play-state: paused;
    height: 396px;
    transform: rotateY(-14deg) rotateX(7deg) rotateZ(3deg) scale(0.88);
    width: 278px;
  }

  .book-stage.is-visible .book-object {
    animation: book-float-mobile 6s ease-in-out infinite;
    animation-play-state: running;
  }

  .book-cover {
    padding: 22px 20px;
    width: 260px;
  }

  .book-title {
    font-size: 39px;
  }

  .book-cover::before,
  .book-cover::after {
    height: 132px;
    left: 59px;
    top: 126px;
    width: 132px;
  }

  .book-cover::after {
    left: 78px;
    top: 109px;
  }

  .book-orbit {
    height: 340px;
    width: 340px;
  }

  .book-note-a { left: 0; top: 18%; }
  .book-note-b { right: 0; top: 43%; }
  .book-note-c { bottom: 16%; left: 2%; }

  .elwood-section {
    gap: 64px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .elwood-meta {
    align-items: center;
    flex-direction: row;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 60px;
    width: 100%;
  }

  .elwood-independence {
    justify-content: flex-end;
    margin-left: auto;
    text-align: right;
  }

  .elwood-intro h2 {
    font-size: clamp(56px, 17vw, 82px);
    margin-bottom: 34px;
  }

  .elwood-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .elwood-board {
    background: #0d1014;
    isolation: isolate;
    min-height: auto;
    padding: 24px 20px;
  }

  .elwood-board::before {
    background: repeating-linear-gradient(0deg, transparent 0 64px, rgba(255, 255, 255, 0.035) 64px 65px);
  }

  .elwood-board::after {
    animation: none;
    display: none;
  }

  body.motion-ready .elwood-board .motion-item,
  body.motion-ready .elwood-board .motion-item.is-visible {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .elwood-mandates {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .elwood-mandates article {
    min-height: 440px;
    padding: 30px 0;
  }

  .elwood-mandates article + article {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-left: 0;
  }

  .elwood-method {
    grid-template-columns: repeat(2, 1fr);
  }

  .elwood-method span {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    min-height: 58px;
    padding: 16px 10px 12px 0;
  }

  .elwood-method span:not(:first-child) {
    padding-left: 10px;
  }

  .elwood-method span:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .library-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .library-list a {
    gap: 15px;
    grid-template-columns: 30px 1fr auto;
    padding: 24px 8px;
  }

  .library-topic {
    display: none;
  }

  .library-list a:hover {
    padding-left: 14px;
    padding-right: 14px;
  }

  .about-statement {
    padding-left: 18px;
    padding-right: 18px;
  }

  .about-statement h2 {
    font-size: clamp(47px, 14vw, 70px);
  }

  .about-copy {
    padding-left: 18px;
    padding-right: 18px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-stats div,
  .about-stats div:not(:first-child) {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    border-right: 0;
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
  }

  .about-stats div:last-child {
    border-bottom: 0;
  }

  .about-stats strong {
    margin-bottom: 0;
  }

  .newsletter-section {
    min-height: 650px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .newsletter-section h2 {
    font-size: clamp(58px, 17vw, 94px);
    line-height: 0.82;
    margin-bottom: 72px;
  }

  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .footer-top {
    flex-direction: column;
    gap: 60px;
    justify-content: flex-start;
  }

  .footer-principles {
    font-size: clamp(31px, 9vw, 43px);
    grid-template-columns: 1fr;
    width: 100%;
  }

  .footer-principles > span {
    min-height: 88px;
    padding: 38px 18px 15px;
  }

  .footer-principles > span::before {
    left: 18px;
    top: 14px;
  }

  .footer-bottom {
    align-items: start;
    gap: 26px;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .footer-bottom nav {
    display: grid;
    gap: 14px;
    grid-column: 1 / -1;
    grid-row: 1;
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom > span {
    grid-column: 1;
    grid-row: 2;
  }

  .footer-bottom > a {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--gh-font-heading, var(--font-geist-sans));
}

/* Ghost-powered selected writing cards */
.article-grid .article-card:nth-child(1):is(:hover, :focus-visible, .is-active) {
  background: var(--blue);
  color: white;
}

.article-grid .article-card:nth-child(2):is(:hover, :focus-visible, .is-active) {
  background: var(--coral);
}

.article-grid .article-card:nth-child(3):is(:hover, :focus-visible, .is-active) {
  background: var(--acid);
}

.book-cta-section {
  min-height: 680px;
}

/* Archive templates */
.archive-page {
  min-height: 75vh;
  padding: clamp(80px, 9vw, 145px) 3.2vw clamp(100px, 10vw, 160px);
}

.archive-hero {
  align-items: end;
  display: grid;
  gap: 42px 7vw;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.38fr);
  margin-bottom: clamp(80px, 9vw, 140px);
}

.archive-hero .section-index {
  grid-column: 1 / -1;
}

.archive-hero h1 {
  font-size: clamp(70px, 10vw, 160px);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 0.78;
  margin: 0;
}

.archive-hero h1 em {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.archive-hero p {
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.55;
  margin: 0;
  max-width: 450px;
}

.archive-hero-compact h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(62px, 8vw, 124px);
  font-weight: 400;
  line-height: 0.88;
}

.archive-list {
  border-top: 1px solid var(--ink);
}

.archive-row > a {
  align-items: center;
  border-bottom: 1px solid var(--ink);
  display: grid;
  gap: 24px;
  grid-template-columns: 54px minmax(110px, 0.22fr) minmax(0, 1fr) 90px 24px;
  min-height: 112px;
  padding: 20px 12px 20px 8px;
  position: relative;
  transition: background 280ms var(--ease-out), padding 280ms var(--ease-out);
}

.archive-row > a::before {
  background: var(--acid);
  content: "";
  inset: 0;
  position: absolute;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.archive-row > a:hover {
  padding-left: 24px;
  padding-right: 24px;
}

.archive-row > a:hover::before {
  transform: scaleY(1);
}

.archive-row-index,
.archive-row-topic,
.archive-row-meta {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.archive-row-topic {
  border: 1px solid currentColor;
  border-radius: 999px;
  justify-self: start;
  padding: 7px 10px;
}

.archive-row-title {
  font-size: clamp(21px, 2vw, 33px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.archive-row-meta {
  color: var(--muted);
  text-align: right;
}

.archive-row-arrow {
  font-size: 19px;
  transition: transform 280ms var(--ease-out);
}

.archive-row > a:hover .archive-row-arrow {
  transform: translate(4px, -4px) rotate(-45deg);
}

.pagination {
  align-items: center;
  display: flex;
  font-size: 11px;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0.1em;
  margin-top: 42px;
  text-transform: uppercase;
}

.pagination a {
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
}

/* Posts and pages */
.article-page {
  background: var(--cream);
  min-height: 80vh;
}

.article-shell {
  padding: clamp(80px, 8vw, 135px) 3.2vw clamp(100px, 10vw, 170px);
}

.article-header {
  border-bottom: 1px solid var(--ink);
  margin: 0 auto clamp(70px, 8vw, 120px);
  max-width: 1320px;
  padding-bottom: clamp(45px, 5vw, 80px);
}

.article-kicker {
  align-items: center;
  display: flex;
  font-size: 10px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.13em;
  margin-bottom: clamp(45px, 6vw, 90px);
  text-transform: uppercase;
}

.article-kicker a {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 7px 10px;
}

.article-header h1 {
  font-size: clamp(58px, 8.2vw, 132px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.86;
  margin: 0;
  max-width: 1180px;
  overflow-wrap: anywhere;
}

.article-excerpt {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2.4vw, 38px);
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin: 46px 0 0;
  max-width: 900px;
}

.article-byline {
  display: flex;
  font-size: 10px;
  font-weight: 700;
  gap: 32px;
  letter-spacing: 0.1em;
  margin-top: 54px;
  text-transform: uppercase;
}

.page-header h1 {
  color: var(--ink);
}

.gh-content {
  color: #262624;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 1.18vw, 20px);
  line-height: 1.76;
}

.gh-content > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 820px;
}

.gh-content > .kg-width-wide {
  max-width: 1120px;
}

.gh-content > .kg-width-full {
  max-width: none;
  width: 100%;
}

.gh-content p,
.gh-content ul,
.gh-content ol,
.gh-content blockquote,
.gh-content pre,
.gh-content figure,
.gh-content table {
  margin-bottom: 1.55em;
  margin-top: 0;
}

.gh-content ul,
.gh-content ol {
  padding-left: 1.35em;
}

.gh-content li {
  margin-bottom: 0.48em;
  padding-left: 0.18em;
}

.gh-content li::marker {
  color: #696965;
}

.gh-content h2,
.gh-content h3,
.gh-content h4 {
  font-family: var(--font-geist-sans);
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 0.58em;
  margin-top: 1.85em;
}

.gh-content h2 {
  font-size: clamp(32px, 3.35vw, 52px);
}

.gh-content h3 {
  font-size: clamp(25px, 2.35vw, 36px);
}

.gh-content h4 {
  font-size: clamp(20px, 1.7vw, 27px);
}

.gh-content a {
  background-image: linear-gradient(#4f4f4b, #4f4f4b);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 1px;
  color: #363634;
  transition: color 180ms ease, background-size 180ms ease;
}

.gh-content a:hover {
  color: var(--ink);
  background-size: 100% 2px;
}

.gh-content blockquote {
  border-left: 3px solid var(--ink);
  color: #363634;
  font-size: 1.25em;
  font-style: italic;
  padding-left: 1.2em;
}

.gh-content hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin-bottom: 3em;
  margin-top: 3em;
}

.gh-content img,
.gh-content video {
  display: block;
  height: auto;
  max-width: 100%;
}

.gh-content figcaption {
  color: var(--muted);
  font-family: var(--font-geist-sans);
  font-size: 12px;
  line-height: 1.45;
  margin-top: 10px;
  text-align: center;
}

.gh-content pre {
  background: var(--ink);
  color: white;
  font-family: var(--font-geist-mono);
  font-size: 14px;
  line-height: 1.65;
  overflow-x: auto;
  padding: 24px;
}

.gh-content :not(pre) > code {
  background: rgba(18, 18, 18, 0.08);
  font-family: var(--font-geist-mono);
  font-size: 0.82em;
  padding: 0.16em 0.35em;
}

.gh-content table {
  border-collapse: collapse;
  font-family: var(--font-geist-sans);
  font-size: 14px;
  width: 100%;
}

.gh-content th,
.gh-content td {
  border-bottom: 1px solid var(--line);
  padding: 12px 10px;
  text-align: left;
}

.gh-content iframe,
.kg-embed-card iframe {
  max-width: 100%;
}

.kg-card {
  margin-left: auto;
  margin-right: auto;
}

.gh-content .kg-callout-card {
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  color: var(--ink);
  padding: clamp(20px, 2.5vw, 30px);
}

.page-main .article-header {
  max-width: 820px;
}

.page-main .article-header h1 {
  font-size: clamp(50px, 6.4vw, 96px);
  line-height: 0.9;
}

.page-main .article-excerpt {
  font-size: clamp(20px, 2vw, 30px);
  max-width: 760px;
}

.kg-bookmark-card a.kg-bookmark-container {
  background: white;
  background-image: none;
  border: 1px solid var(--ink);
  color: var(--ink);
  display: flex;
  font-family: var(--font-geist-sans);
  min-height: 150px;
}

.kg-bookmark-content {
  padding: 22px;
}

.kg-bookmark-title {
  font-size: 18px;
  font-weight: 700;
}

.kg-bookmark-description,
.kg-bookmark-metadata {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  margin-top: 10px;
}

.kg-bookmark-thumbnail {
  flex: 0 0 32%;
}

.kg-bookmark-thumbnail img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.article-footer {
  align-items: end;
  border-top: 1px solid var(--ink);
  display: flex;
  justify-content: space-between;
  margin: clamp(80px, 9vw, 140px) auto 0;
  max-width: 760px;
  padding-top: 28px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-tags a,
.article-footer > a {
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 8px 11px;
  text-transform: uppercase;
}

.article-navigation {
  background: var(--ink);
  color: white;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-navigation > a {
  min-height: 250px;
  padding: 42px 3.2vw;
}

.article-navigation > a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.article-navigation span {
  color: rgba(255, 255, 255, 0.55);
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  margin-bottom: 55px;
  text-transform: uppercase;
}

.article-navigation strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3vw, 45px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
  max-width: 20ch;
}

.error-page {
  min-height: 72vh;
  padding: clamp(110px, 12vw, 190px) 3.2vw;
}

.error-page h1 {
  font-size: clamp(70px, 10vw, 160px);
  letter-spacing: -0.08em;
  line-height: 0.82;
  margin: 55px 0 35px;
}

.error-page p {
  font-size: 19px;
  margin: 0 0 42px;
}

@media (max-width: 800px) {
  .archive-hero {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .archive-hero .section-index {
    grid-column: auto;
  }

  .archive-row > a {
    gap: 14px;
    grid-template-columns: 32px 1fr auto;
  }

  .archive-row-topic,
  .archive-row-meta {
    display: none;
  }

  .article-shell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .article-header h1 {
    font-size: clamp(50px, 14vw, 82px);
    line-height: 0.9;
  }

  .article-byline,
  .article-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-footer {
    gap: 26px;
  }

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

  .article-navigation > a + a {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }
}

/* Final cascade controls for precision arrows and compact book spacing. */
.icon-arrow {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 7.25h10.55L8.72 3.92 9.78 2.86 14.92 8l-5.14 5.14-1.06-1.06 3.33-3.33H1.5z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 7.25h10.55L8.72 3.92 9.78 2.86 14.92 8l-5.14 5.14-1.06-1.06 3.33-3.33H1.5z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 980px) {
  .book-page-chapters { gap: 0; }
  .book-page-intro-link { margin-bottom: 26px; }
}

@media (max-width: 600px) {
  .footer-principles > span { font-style: italic; }
}
