/* mheir.com — static, no script, no remote fonts, no framework. */

:root {
  --bg: #fbfaf7;
  --ink: #15161a;
  --text: #33353b;
  --muted: #62656d;
  --line: #e3e0d8;
  --accent: #262262;
  --accent-deep: #1a1746;
  --on-dark: #f6f4ee;
  --on-dark-muted: #b9b7cf;
  --focus: #be1e2d;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1120px;
  --gutter: 1.25rem;
  --label-col: 13rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 20;
  transform: translateY(-150%);
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: var(--on-dark);
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* Type */

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.15rem);
}

h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lede {
  color: var(--ink);
  font-size: clamp(1.15rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  max-width: 34rem;
}

.prose {
  max-width: 40rem;
}

.prose p + p {
  margin-top: 1rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  gap: 0.7rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.2rem;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 30px;
  height: 30px;
}

.header-end {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.primary-nav {
  display: none;
  gap: 1.5rem;
}

.primary-nav a {
  color: var(--text);
  font-size: 0.94rem;
  text-decoration: none;
}

.primary-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.lang {
  display: flex;
  gap: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  color: var(--muted);
  text-decoration: none;
}

.lang a:hover {
  color: var(--ink);
}

.lang a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.45em;
}

/* The one action */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  background: var(--accent);
  color: var(--on-dark);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 2px;
  transition: background-color 140ms ease;
}

.button:hover {
  background: var(--accent-deep);
}

.arrow {
  transition: transform 140ms ease;
}

.button:hover .arrow {
  transform: translateX(3px);
}

/* Hero */

.hero {
  padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(3rem, 7vw, 5rem);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
}

.hero .label {
  margin-bottom: 1.4rem;
}

.hero .lede {
  margin-top: 1.6rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.4rem;
  margin-top: 2.1rem;
}

.cta-row .address {
  color: var(--muted);
  font-size: 0.98rem;
}

.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
}

.facts {
  display: grid;
  gap: 1.5rem;
  margin-top: clamp(2.75rem, 6vw, 4.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--ink);
}

.facts dt {
  margin-bottom: 0.4rem;
}

.facts dd {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.35;
}

.facts dd span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.5;
}

.not-found {
  min-height: 60vh;
}

/* Sections */

.section {
  padding-block: clamp(3.25rem, 7vw, 5.5rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: 4.25rem;
}

.section-grid {
  display: grid;
  gap: 1.5rem;
}

.section-body > * + * {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.subhead {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

/* Consulting */

.intro {
  display: grid;
  gap: 1.75rem;
}

.firm-mark {
  width: 72px;
}

.offers {
  display: grid;
  gap: 1.75rem;
  counter-reset: offer;
}

.offers li {
  counter-increment: offer;
  padding-top: 1.1rem;
  border-top: 1px solid var(--ink);
}

.offers li::before {
  content: "0" counter(offer);
  display: block;
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}

.offers .label {
  margin-top: 0.35rem;
}

.offers p:last-child {
  margin-top: 0.7rem;
}

.method dl {
  margin: 0;
}

.method dl > div {
  display: grid;
  gap: 0.3rem 2rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.method dt {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.3;
}

.method dd {
  margin: 0;
  max-width: 38rem;
}

/* Speaking */

.topics li {
  padding-block: 0.95rem;
  border-bottom: 1px solid var(--line);
}

.topics p {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.photo img {
  width: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.photo figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.photo-keynote img {
  aspect-ratio: 16 / 9;
  object-position: center 60%;
}

.photo-book img {
  aspect-ratio: 4 / 5;
  object-position: center 25%;
}

.photo-room img {
  aspect-ratio: 16 / 10;
  object-position: center 40%;
}

.talk {
  display: grid;
  gap: 0.2rem 2rem;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--line);
}

.talk time {
  color: var(--muted);
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.talk h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.14rem;
  font-weight: 500;
  line-height: 1.35;
  text-wrap: pretty;
}

.talk p {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Book */

.book-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.book-grid h3 {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

/* Clients */

.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 0.25rem 1.25rem;
}

.logo-wall li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 78px;
}

.logo-wall img {
  width: auto;
  max-width: min(100%, 104px);
  height: auto;
  max-height: 40px;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.68;
}

/* Contact */

.contact {
  background: var(--accent-deep);
  color: var(--on-dark);
  padding-block: clamp(4rem, 9vw, 7rem) clamp(2rem, 4vw, 2.75rem);
  scroll-margin-top: 4.25rem;
}

.contact .label {
  color: var(--on-dark-muted);
  margin-bottom: 1.4rem;
}

.contact h2 {
  color: var(--on-dark);
  font-size: clamp(2.2rem, 5.6vw, 4rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 18ch;
  text-wrap: balance;
}

.contact .lede {
  margin-top: 1.5rem;
  color: var(--on-dark);
  opacity: 0.86;
}

.contact .cta-row {
  margin-top: 2.25rem;
}

.contact .button {
  background: var(--on-dark);
  color: var(--accent-deep);
}

.contact .button:hover {
  background: #fff;
}

.contact :focus-visible {
  outline-color: #fff;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: clamp(3.5rem, 8vw, 6rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(246, 244, 238, 0.22);
  color: var(--on-dark-muted);
  font-size: 0.9rem;
}

.site-footer {
  align-items: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--on-dark);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Wider screens */

@media (min-width: 640px) {
  :root {
    --gutter: 2rem;
  }

  .facts {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .offers {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .talk {
    grid-template-columns: 8.5rem 1fr;
  }

  .talk time {
    padding-top: 0.2rem;
  }

  .logo-wall {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.5rem 2rem;
  }

  .logo-wall li {
    height: 88px;
  }

  .logo-wall img {
    max-width: min(100%, 124px);
    max-height: 46px;
  }
}

@media (min-width: 760px) {
  .method dl > div {
    grid-template-columns: 13rem 1fr;
    align-items: baseline;
  }

  .intro {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3rem;
    align-items: start;
  }

  .firm-mark {
    width: 92px;
  }

  .topics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }

  .book-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
    gap: 3rem;
  }
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 4rem;
    align-items: end;
  }
}

@media (min-width: 1000px) {
  .primary-nav {
    display: flex;
  }

  .section-grid {
    grid-template-columns: var(--label-col) minmax(0, 1fr);
    gap: 2rem;
  }

  .section-grid > h2 {
    position: sticky;
    top: 6rem;
    align-self: start;
  }
}

@media (max-width: 420px) {
  .brand span {
    font-size: 1.05rem;
  }

  .header-end {
    gap: 0.9rem;
  }
}

/* Keynote pages (/chihuahua) */

.kn-copy {
  max-width: 34rem;
  margin-top: 1.1rem;
  color: var(--text);
}

.kn-note {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.kn-art img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.kn-facts {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.kn-form {
  position: relative;
  width: 100%;
  max-width: 34rem;
  margin-top: 2.1rem;
}

.kn-form label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.kn-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.kn-form input[type="email"] {
  flex: 1 1 14rem;
  min-width: 0;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: 2px;
  color: var(--ink);
  font: inherit;
}

.kn-form button.button {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.kn-form button.button:disabled {
  opacity: 0.6;
  cursor: default;
}

.kn-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.kn-status {
  min-height: 1.4em;
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.kn-status.kn-bad {
  color: var(--focus);
}

.kn-thanks {
  max-width: 34rem;
  margin-top: 2.1rem;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--accent);
  background: #f1eee6;
  color: var(--ink);
}

.kn-band .kn-form {
  flex: 1 1 22rem;
  margin-top: 0;
}

.kn-band .kn-thanks {
  margin-top: 0;
}

.kn-split {
  display: grid;
  gap: 1.5rem;
}

.kn-split > div:first-child h2,
.kn-split > h2,
.kn-h {
  max-width: 22ch;
  text-wrap: balance;
}

.kn-h {
  max-width: 28ch;
}

.kn-sub {
  margin-top: 1rem;
  max-width: 30rem;
  color: var(--muted);
}

.kn-intro {
  margin-top: 1.1rem;
}

.kn-stage {
  padding-bottom: clamp(3.25rem, 7vw, 5.5rem);
}

.kn-stage img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.kn-cards {
  display: grid;
  gap: 2rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.kn-cards > li {
  padding-top: 1.1rem;
  border-top: 1px solid var(--ink);
}

.kn-cards h3 {
  margin-bottom: 0.55rem;
}

.kn-num {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.kn-examples {
  display: grid;
  gap: 0;
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--ink);
}

.kn-examples li {
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.kn-examples h3 {
  margin-bottom: 0.4rem;
}

.kn-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--ink);
  border-radius: 2px;
}

.kn-band p {
  margin-top: 0.3rem;
  color: var(--muted);
}

.kn-formats > div {
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.kn-formats > div:first-child {
  border-top: 1px solid var(--ink);
}

.kn-formats dt {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.3;
}

.kn-formats dd {
  margin: 0.3rem 0 0;
  color: var(--text);
}

.kn-bio {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.kn-bio img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.kn-bio .label {
  margin-bottom: 0.9rem;
}

.kn-bio .lede {
  margin-top: 1rem;
}

.kn-bio .prose > * + * {
  margin-top: 1rem;
}

.kn-link {
  color: var(--accent);
  font-weight: 600;
}

@media (min-width: 760px) {
  .kn-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .kn-examples {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2.5rem;
  }

  .kn-examples li:nth-last-child(2):nth-child(odd) {
    border-bottom: 1px solid var(--line);
  }

  .kn-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
  }

  .kn-bio {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3.5rem;
  }
}

.kn-feature {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1.1rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  color: var(--text);
  text-decoration: none;
  transition: background-color 140ms ease;
}

.kn-feature:hover {
  background: #f1eee6;
}

.kn-feature img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.kn-feature-text {
  display: grid;
  gap: 0.35rem;
}

.kn-feature-text strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.2;
}

.kn-feature-go {
  color: var(--accent);
  font-weight: 600;
}

@media (min-width: 640px) {
  .kn-feature {
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 1.75rem;
    padding: 1.4rem;
  }
}

/* Mobile menu (below 1000px, where the inline links are hidden) */

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 999px) {
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem var(--gutter, 1.25rem) 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

  .menu-open .primary-nav {
    display: flex;
  }

  .primary-nav a {
    display: flex;
    align-items: center;
    min-height: 3rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav a:last-child {
    border-bottom: 0;
  }
}

@media (min-width: 1000px) {
  .menu-toggle {
    display: none;
  }
}

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

  .button,
  .arrow {
    transition: none;
  }
}

@media print {
  .site-header,
  .skip,
  .button {
    display: none;
  }

  body,
  .contact {
    background: #fff;
    color: #000;
  }

  .contact h2,
  .contact .lede,
  .site-footer,
  .site-footer a {
    color: #000;
  }
}

.site-footer .version {
  opacity: 0.6;
  font-variant-numeric: tabular-nums;
}

/* Email form inside the dark contact footer */
.contact .kn-form label { color: #fff; }
.contact .kn-status { color: rgba(255, 255, 255, 0.8); }
.contact .kn-status.kn-bad { color: #ffd2c4; }
.contact .kn-note { margin-top: 0.8rem; color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; }
.contact .kn-note a { color: #fff; }
.contact .kn-thanks { color: #fff; border-color: rgba(255, 255, 255, 0.5); }

/* Book page (/aimindsets) */

.bk-cover {
  justify-self: center;
  width: min(78vw, 24rem);
}

.bk-cover img {
  width: 100%;
  height: auto;
  /* The cover mockup has a white backdrop; blend it into the page. */
  mix-blend-mode: multiply;
}

.bk-cta {
  margin-top: 2rem;
}

.bk-formats {
  margin-top: 1rem;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 600;
}

.bk-markets {
  margin-top: 1.5rem;
}

.bk-markets p {
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.bk-markets ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.bk-markets a {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  color: var(--text);
  font-size: 0.92rem;
  text-decoration: none;
  transition: border-color 140ms ease, color 140ms ease;
}

.bk-markets a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.bk-tag {
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.bk-list {
  display: grid;
  gap: 0.85rem;
}

.bk-list li {
  color: var(--text);
  font-size: 0.97rem;
}

.bk-list strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
}

.bk-fit {
  display: grid;
  gap: 2.25rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.bk-fit h3 {
  margin-bottom: 1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--ink);
}

.bk-ticks {
  display: grid;
  gap: 0.8rem;
}

.bk-ticks li {
  position: relative;
  padding-left: 1.6rem;
}

.bk-ticks li::before {
  position: absolute;
  left: 0;
  font-weight: 700;
}

.bk-yes li::before {
  content: "✓";
  color: var(--accent);
}

.bk-no li::before {
  content: "–";
  color: var(--muted);
}

.bk-quotes {
  display: grid;
  gap: 2rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.bk-quote {
  padding-top: 1.1rem;
  border-top: 1px solid var(--ink);
}

.bk-quote p {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.4;
}

.bk-quote figcaption {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.bk-seen-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.bk-arrows {
  display: none;
  gap: 0.5rem;
}

.bk-arrow {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.bk-arrow:hover {
  background: var(--ink);
  color: var(--bg);
}

.bk-track {
  display: flex;
  gap: 0.9rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  scrollbar-width: thin;
}

.bk-track li {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.bk-track img {
  display: block;
  height: clamp(15rem, 34vw, 22rem);
  width: auto;
  border-radius: 2px;
}

.bk-getit,
.bk-author {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.bk-getit figure {
  justify-self: center;
  width: min(70vw, 22rem);
}

.bk-getit img,
.bk-author img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.bk-getit .lede {
  margin-top: 1rem;
}

.bk-author .kn-link + .kn-link {
  margin-left: 0.6rem;
}

@media (min-width: 760px) {
  .bk-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
  }

  .bk-fit,
  .bk-quotes {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .bk-arrows {
    display: flex;
  }

  .bk-getit {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 4rem;
  }

  .bk-author {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  }
}

@media (min-width: 1100px) {
  .bk-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.bk-quote blockquote {
  margin: 0;
}

.bk-quote p::before {
  content: "\201C";
}

.bk-quote p::after {
  content: "\201D";
}

.bk-getit img {
  box-shadow: 0 1px 14px rgba(21, 22, 26, 0.14);
}

/* Bio and media page */

.bio-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.bio-hero-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
}

.bio-link {
  color: var(--accent);
  font-weight: 600;
  text-underline-offset: 3px;
}

.bio-note {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.bio-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: clamp(2rem, 5vw, 3.25rem);
  padding-top: 1.1rem;
  border-top: 1px solid var(--ink);
}

.bio-toc a {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.bio-toc a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bio-intro {
  max-width: 40rem;
  margin-top: 0.9rem;
  color: var(--muted);
}

.bio-cards {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.bio-card {
  padding: 1.4rem 1.5rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
}

.bio-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.bio-text {
  max-width: 46rem;
}

.bio-text p + p {
  margin-top: 0.9rem;
}

.bio-copy {
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--accent);
  border-radius: 2px;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.bio-copy:hover,
.bio-copy.is-done {
  background: var(--accent);
  color: var(--on-dark);
}

.bio-facts {
  display: grid;
  gap: 0;
  margin: 2rem 0 0;
  border-top: 1px solid var(--line);
}

.bio-facts > div {
  display: grid;
  gap: 0.3rem 2rem;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--line);
}

.bio-facts dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bio-facts dd {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.4;
}

.bio-facts dd span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.95rem;
}

.bio-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
  gap: 1.75rem 1.25rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.bio-photo {
  display: block;
  background: #f1efe9;
}

.bio-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 2px;
}

.bio-photos p {
  margin-top: 0.55rem;
  color: var(--ink);
  font-size: 0.95rem;
}

.bio-photos p span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.bio-photos p a {
  color: var(--accent);
  font-weight: 600;
}

.bio-year {
  margin-top: 2.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--ink);
  font-size: 1.35rem;
}

.bio-year:first-child {
  margin-top: 1.75rem;
}

.bio-talks .talks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bio-talks .talk h4 a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.bio-tag {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.05rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .bio-talks .talk {
    grid-template-columns: 11rem 1fr;
  }

  .bio-facts > div {
    grid-template-columns: 11rem 1fr;
    align-items: baseline;
  }
}

@media (min-width: 800px) {
  .bio-hero-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 4rem;
  }

  .bio-hero-img {
    justify-self: end;
  }
}

/* Speaking and framework pages */
.page-hero {
  max-width: 44rem;
}

.method dt a {
  color: inherit;
}

.topics h3 a {
  color: inherit;
}

.section-body > .kn-link,
.section-body > p > .kn-link {
  display: inline-block;
}
