/* Homepage hero and nav chrome. Load last. */

/* ==========================================================================
   hero-nav.css
   Load AFTER site.css. Two jobs:
   1. A new header + primary navigation (inline on desktop, full-screen
      editorial overlay on tablet/mobile).
   2. Home hero: the portrait bleeds to the right edge of the viewport and
      runs up underneath the header.
   ========================================================================== */

/* Menu labels and reading text stay whole words. Hyphenation was splitting
   ordinary prose such as the About quote. A long token may still break. */
.roster li,
main.hero .way,
main.hero .way-name,
main.hero .way-line,
.issue-speak .talk-name,
.issue-speak .talk-label,
.issue-speak .talk-switch,
main.hero .issue h2,
main.hero .issue blockquote,
main.ledger h1,
main.ledger h2,
main.ledger p,
.essay,
.profile-quote,
.profile-quote h2 {
  min-width: 0;
  hyphens: none;
}

/* anywhere only where a single token is wider than the column.
   Menu names and the ways stay on one line while they fit. */
.roster li,
main.hero .way-name,
main.hero .way-line,
main.hero .card .display,
main.hero .issue h2,
main.hero .issue h3,
main.hero .issue p,
main.hero .issue blockquote,
.profile-quote h2,
.essay h2,
.lines li,
.primary-nav .nav-foot-cta {
  overflow-wrap: break-word;
}

/* A token wider than the line may break. Words that fit stay whole. */
.profile-quote,
main.ledger h1,
main.ledger h2,
main.ledger h3,
main.ledger p,
main.ledger li,
main.ledger blockquote,
main.book p {
  overflow-wrap: anywhere;
}

main.hero .way-name,
main.hero .way-line {
  width: 100%;
  max-width: 100%;
}

.issue-speak .talk-name {
  flex: 1 1 0%;
  /* A talk title is one control. A token wider than the column wraps here.
     Reading text above keeps break-word so ordinary words stay whole. */
  overflow-wrap: anywhere;
}

:root {
  --header-pad: 0px;
  --mark-h: 72px;
  --header-h: calc(var(--mark-h) + var(--header-pad) * 2);
  --nav-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --frost: rgb(248 245 237 / 0.82);
  --type-display: clamp(1.85rem, 1.05rem + 2.4vw, 3.15rem);
  --type-section: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  --type-body: 1.0625rem;
  --type-label: 0.75rem;
  --type-caption: 0.875rem;
  --leading-display: 1.08;
  --leading-body: 1.7;
  --gutter: clamp(1.25rem, 5vw, 3rem);
}

@media (min-width: 1280px) {
  :root {
    --mark-h: 72px;
  }
}

@media (max-width: 719px) {
  :root {
    --header-pad: 0px;
    --mark-h: 56px;
  }

  .site-footer {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }
}

/* --------------------------------------------------------------------------
   Header shell
   -------------------------------------------------------------------------- */

.site-header.site-header,
body:has(main.hero) .site-header.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: clamp(1rem, 3vw, 3rem);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: var(--header-pad) clamp(1.25rem, 4vw, 4.5rem);
  background: transparent;
  background-image: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  isolation: isolate;
}

/* Home keeps the same sticky bar. At rest it paints nothing, so the
   photograph can sit beside the navigation. The scrolled frost is the
   ::before below, and only after the page leaves the top. */

/* Frosted bar that fades in once the page scrolls. Lives on a pseudo
   element so the header never becomes a containing block for the fixed
   mobile overlay. */
.site-header.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(248 245 237 / 0.86);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  backdrop-filter: saturate(1.2) blur(14px);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 9%, transparent);
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}

.site-header.is-scrolled::before {
  opacity: 1;
}

/* Inner pages keep a solid paper header from the start */
body:not(:has(main.hero)) .site-header.site-header::before {
  opacity: 1;
  box-shadow: none;
}
body:not(:has(main.hero)) .site-header.is-scrolled::before {
  box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 9%, transparent);
}

.site-header .wordmark {
  position: relative;
  z-index: 2;
  order: 0;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  margin-right: auto;
}

.site-header .primary-nav {
  order: 1;
}

.site-header .nav-toggle {
  order: 2;
}

@media (min-width: 1280px) {
  .site-header.site-header,
  body:has(main.hero) .site-header.site-header {
    flex-wrap: wrap;
  }

  .site-header .wordmark {
    flex: 0 0 auto;
    margin-right: clamp(1rem, 2.5vw, 2.75rem);
  }

  .site-header .wordmark img,
  body:has(main.hero) .site-header .wordmark img {
    max-width: min(58vw, 15.375rem);
  }
}

.site-header .wordmark img,
body:has(main.hero) .site-header .wordmark img {
  height: auto;
  max-height: var(--mark-h);
  width: auto;
  max-width: min(100%, 58vw, 15.375rem);
}

/* --------------------------------------------------------------------------
   Primary nav — shared
   -------------------------------------------------------------------------- */

.primary-nav {
  margin: 0;
  color: var(--ink);
}

.primary-nav .nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  color: inherit;
  text-decoration: none;
  background: none;
}

.primary-nav a:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.nav-foot {
  display: none;
}

/* --------------------------------------------------------------------------
   Desktop (≥ 1280px): inline nav
   -------------------------------------------------------------------------- */

@media (min-width: 1280px) {
  .nav-toggle {
    display: none !important;
  }

  .primary-nav {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
  }

  .primary-nav .nav-list {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: clamp(1rem, 1.6vw, 2.1rem);
  }

  .primary-nav .nav-list a:not(.nav-cta) {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0;
    color: var(--ink-soft);
    font-family: var(--display);
    font-size: 1.02rem;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-transform: none;
    transition: color 200ms ease;
  }

  /* hairline that draws in from the left */
  .primary-nav .nav-list a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0.18em; /* offset trailing letter-spacing */
    bottom: 0.7rem;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 380ms var(--nav-ease);
  }

  .primary-nav .nav-list a:not(.nav-cta):hover,
  .primary-nav .nav-list a:not(.nav-cta):focus-visible {
    color: var(--ink);
  }

  .primary-nav .nav-list a:not(.nav-cta):hover::after,
  .primary-nav .nav-list a:not(.nav-cta):focus-visible::after {
    transform: scaleX(1);
  }

  .primary-nav .nav-list a[aria-current="page"]:not(.nav-cta) {
    color: var(--accent);
  }

  .primary-nav .nav-list a[aria-current="page"]:not(.nav-cta)::after {
    transform: scaleX(1);
  }

  /* Contact sits apart, pushed to the far right */
  .primary-nav .nav-cta-item {
    margin-left: auto;
  }

  .primary-nav .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 44px;
    padding: 0 1.35rem;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition:
      background-color 240ms ease,
      color 240ms ease,
      box-shadow 240ms ease;
  }

  .primary-nav .nav-cta::after {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 300ms var(--nav-ease);
  }

  .primary-nav .nav-cta:hover,
  .primary-nav .nav-cta:focus-visible {
    background: var(--accent);
    color: #fff;
  }

  .primary-nav .nav-cta:hover::after,
  .primary-nav .nav-cta:focus-visible::after {
    transform: translateX(3px) rotate(45deg);
  }

  .primary-nav .nav-cta[aria-current="page"] {
    background: var(--accent);
    color: #fff;
  }
}

/* Enlarged text makes the Menu control wider. Let the row wrap so the
   wordmark keeps its height instead of being squeezed. */
@media (max-width: 1279.98px) {
  .site-header.site-header,
  body:has(main.hero) .site-header.site-header {
    flex-wrap: wrap;
    gap: clamp(0.5rem, 2vw, 3rem);
    padding-inline: clamp(1.25rem, 4vw, 4.5rem);
  }

  .site-header .wordmark {
    flex: 1 1 auto;
    min-width: min(8rem, 100%);
  }
}

/* --------------------------------------------------------------------------
   Toggle button (< 1280px)
   -------------------------------------------------------------------------- */

.nav-toggle {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex: 0 1 auto;
  min-width: min-content;
  max-width: 100%;
  align-items: center;
  gap: 0.7rem;
  white-space: nowrap;
  min-height: 44px;
  margin: 0;
  padding: 0 0.95rem 0 1.15rem;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: 999px;
  background: var(--frost);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 240ms ease,
    color 240ms ease,
    border-color 240ms ease;
}

.nav-toggle-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 10px;
}

.nav-toggle-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition:
    transform 420ms var(--nav-ease),
    top 420ms var(--nav-ease),
    width 420ms var(--nav-ease);
}

.nav-toggle-icon span:first-child {
  top: 0;
}

.nav-toggle-icon span:last-child {
  top: calc(100% - 1.5px);
  width: 66%;
  left: auto;
  right: 0;
}

.nav-toggle:hover .nav-toggle-icon span:last-child {
  width: 100%;
}

.site-header[data-menu="open"] .nav-toggle {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.site-header[data-menu="open"] .nav-toggle-icon span:first-child {
  top: calc(50% - 0.75px);
  transform: rotate(45deg);
}

.site-header[data-menu="open"] .nav-toggle-icon span:last-child {
  top: calc(50% - 0.75px);
  width: 100%;
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Overlay menu (< 1280px)
   -------------------------------------------------------------------------- */

@media (max-width: 1279.98px) {
  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    height: 100vh;
    height: 100dvh;
    padding: calc(var(--header-h) + clamp(1rem, 5vh, 3rem)) clamp(16px, 5vw, 48px)
      max(1.75rem, env(safe-area-inset-bottom));
    overflow: auto;
    overscroll-behavior: contain;
    background-color: var(--paper);
    background-image:
      radial-gradient(110% 60% at 100% 0%, #fbeee8 0%, transparent 60%),
      radial-gradient(90% 50% at 0% 100%, #ece2d0 0%, transparent 65%),
      url("/grain.svg");
    background-size: auto, auto, 220px 220px;
    background-blend-mode: normal, normal, soft-light;
    visibility: hidden;
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transition:
      clip-path 620ms var(--nav-ease),
      opacity 300ms ease,
      visibility 0s linear 620ms;
  }

  .site-header[data-menu="open"] .primary-nav {
    visibility: visible;
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transition:
      clip-path 620ms var(--nav-ease),
      opacity 200ms ease,
      visibility 0s;
  }

  .primary-nav .nav-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    counter-reset: nav;
    border-top: 1px solid var(--rule);
  }

  .primary-nav .nav-list li {
    counter-increment: nav;
    border-bottom: 1px solid var(--rule);
  }

  .primary-nav .nav-list a,
  .primary-nav .nav-list a.nav-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 0.75rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    hyphens: none;
    overflow-wrap: normal;
    white-space: nowrap;
    padding: clamp(0.55rem, 1.6vh, 0.95rem) 0;
    color: var(--ink);
    font-family: var(--display);
    font-size: clamp(1.9rem, 5.2vh, 3.1rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.025em;
    text-transform: none;
    transition:
      color 200ms ease,
      padding-left 380ms var(--nav-ease);
  }

  .primary-nav .nav-list a::before {
    content: counter(nav, decimal-leading-zero);
    margin-right: 0;
    min-width: 1.6rem;
    color: var(--accent);
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    font-variant-numeric: tabular-nums;
    transform: translateY(-0.9em);
  }

  .primary-nav .nav-list a::after {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    margin-left: auto;
    align-self: center;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    opacity: 0;
    transform: translateX(-8px) rotate(45deg);
    transition:
      opacity 240ms ease,
      transform 380ms var(--nav-ease);
  }

  .primary-nav .nav-list a:hover,
  .primary-nav .nav-list a:focus-visible {
    color: var(--accent);
    padding-left: 0.4rem;
  }

  .primary-nav .nav-list a:hover::after,
  .primary-nav .nav-list a:focus-visible::after,
  .primary-nav .nav-list a[aria-current="page"]::after {
    opacity: 1;
    transform: translateX(0) rotate(45deg);
  }

  .primary-nav .nav-list a[aria-current="page"] {
    color: var(--accent);
    font-style: italic;
  }

  .nav-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
  }

  .nav-foot-kicker {
    margin: 0;
    color: var(--quiet);
    font-family: var(--sans);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }

  .primary-nav .nav-foot-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 48px;
    padding: 0 1.5rem;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .primary-nav .nav-foot-cta::after {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
  }

  .primary-nav .nav-foot-cta:hover,
  .primary-nav .nav-foot-cta:focus-visible {
    background: var(--accent);
    color: #fff;
  }

  /* staggered entrance */
  .primary-nav .nav-list li,
  .primary-nav .nav-foot {
    opacity: 0;
    transform: translateY(14px);
    transition:
      opacity 360ms ease,
      transform 520ms var(--nav-ease);
  }

  .site-header[data-menu="open"] .primary-nav .nav-list li,
  .site-header[data-menu="open"] .primary-nav .nav-foot {
    opacity: 1;
    transform: none;
  }

  .site-header[data-menu="open"] .nav-list li:nth-child(1) { transition-delay: 140ms; }
  .site-header[data-menu="open"] .nav-list li:nth-child(2) { transition-delay: 180ms; }
  .site-header[data-menu="open"] .nav-list li:nth-child(3) { transition-delay: 220ms; }
  .site-header[data-menu="open"] .nav-list li:nth-child(4) { transition-delay: 260ms; }
  .site-header[data-menu="open"] .nav-list li:nth-child(5) { transition-delay: 300ms; }
  .site-header[data-menu="open"] .nav-list li:nth-child(6) { transition-delay: 340ms; }
  .site-header[data-menu="open"] .nav-list li:nth-child(7) { transition-delay: 380ms; }
  .site-header[data-menu="open"] .nav-foot { transition-delay: 440ms; }

  /* lock page scroll while open. overflow:hidden drops sticky,
     so the bar is fixed for the life of the menu and Close stays put. */
  html.menu-open,
  html.menu-open body {
    overflow: hidden;
  }

  html.menu-open .site-header.site-header,
  html.menu-open body:has(main.hero) .site-header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

  /* while open, the wordmark stays crisp on the overlay (no frosted bar) */
  .site-header[data-menu="open"]::before {
    opacity: 0;
  }
}

/* Enlarged desktop labels no longer fit one row. The compact menu is the
   same overlay, and the bar stays a single row (mark + Menu). */
@media (min-width: 1280px) {
  .site-header[data-nav="compact"].site-header,
  body:has(main.hero) .site-header[data-nav="compact"].site-header {
    flex-wrap: nowrap;
  }

  .site-header[data-nav="compact"] .nav-toggle {
    display: inline-flex !important;
  }

  .site-header[data-nav="compact"] .primary-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex: none;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    gap: 2rem;
    height: 100vh;
    height: 100dvh;
    padding: calc(var(--header-h) + clamp(1rem, 5vh, 3rem)) clamp(16px, 5vw, 48px)
      max(1.75rem, env(safe-area-inset-bottom));
    overflow: auto;
    overscroll-behavior: contain;
    background-color: var(--paper);
    background-image:
      radial-gradient(110% 60% at 100% 0%, #fbeee8 0%, transparent 60%),
      radial-gradient(90% 50% at 0% 100%, #ece2d0 0%, transparent 65%),
      url("/grain.svg");
    background-size: auto, auto, 220px 220px;
    background-blend-mode: normal, normal, soft-light;
    visibility: hidden;
    opacity: 0;
    clip-path: inset(0 0 100% 0);
  }

  .site-header[data-nav="compact"][data-menu="open"] .primary-nav {
    visibility: visible;
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }

  .site-header[data-nav="compact"] .primary-nav .nav-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    counter-reset: nav;
    border-top: 1px solid var(--rule);
  }

  .site-header[data-nav="compact"] .primary-nav .nav-list li {
    counter-increment: nav;
    border-bottom: 1px solid var(--rule);
  }

  .site-header[data-nav="compact"] .primary-nav .nav-list a,
  .site-header[data-nav="compact"] .primary-nav .nav-list a.nav-cta {
    display: block;
    width: max-content;
    max-width: none;
    min-height: 0;
    padding: clamp(0.55rem, 1.6vh, 0.95rem) 0;
    border-radius: 0;
    background: none;
    color: var(--ink);
    font-family: var(--display);
    font-size: clamp(1.9rem, 5.2vh, 3.1rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.08;
    text-transform: none;
    white-space: nowrap;
    hyphens: none;
  }

  .site-header[data-nav="compact"] .primary-nav .nav-list a::before {
    content: counter(nav, decimal-leading-zero);
    margin-right: 1.1rem;
    color: var(--accent);
    font-family: var(--sans);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .site-header[data-nav="compact"] .primary-nav .nav-list a::after {
    content: none;
  }

  .site-header[data-nav="compact"] .primary-nav .nav-cta-item {
    margin-left: 0;
  }

  .site-header[data-nav="compact"] .nav-foot {
    display: flex;
  }

  html.menu-open:has(.site-header[data-nav="compact"]),
  html.menu-open:has(.site-header[data-nav="compact"]) body {
    overflow: hidden;
  }
}

/* --------------------------------------------------------------------------
   Home hero — portrait bleeds right and up under the header
   -------------------------------------------------------------------------- */

/* card reading order: kicker → rule → headline → actions */
main.hero .card .page-actions {
  order: 4;
  margin-top: clamp(1.5rem, 3.5vh, 2.25rem);
}

/* drop the old vignette masks — the portrait is now a clean full-bleed plate */
main.hero .wall.field-fade,
main.hero .wall.field-fade img {
  -webkit-mask-image: none;
  mask-image: none;
  filter: none;
}

main.hero .wall.field-fade::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

@media (min-width: 900px) {
  body:has(main.hero) {
    /* The portrait starts at the viewport top, beside the transparent bar.
       Width follows the photo ratio across the full window height. */
    --hero-img: min(48vw, calc(100svh * 1034 / 1551));
    --hero-gutter: clamp(2rem, 4.5vw, 5.5rem);
  }

  /* pull the page up so the hero starts at the very top, under the header */
  main.hero.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--hero-img);
    grid-template-rows: auto auto auto auto;
    align-items: start;
    /* Pull the portrait up beside the sticky bar. The bar stays in flow,
       so this overlap does not change when the page scrolls. */
    margin-top: calc(-1 * var(--header-h));
    padding-top: 0;
    /* The shell is the layout viewport. The text gutter lives on the card. */
    padding-left: 0;
    padding-right: 0;
  }

  main.hero .room {
    grid-column: 1 / -1;
    grid-row: 1 / 4;
    display: grid;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
    gap: 0; /* the old .room gap would shrink the photo column inside the subgrid */
    align-items: center;
    min-height: 0;
    margin: 0;
    padding: 0;
  }

  /* Cream is the page. Silk covers the text column and dies inside the
     photograph's left edge. The photograph paints above the canvas. */
  main.hero .silk-field {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    z-index: 1;
    -webkit-mask-image: linear-gradient(
      90deg,
      #000 0,
      #000 calc(100% - var(--hero-img) + 1rem),
      transparent calc(100% - var(--hero-img) + 5rem)
    );
    mask-image: linear-gradient(
      90deg,
      #000 0,
      #000 calc(100% - var(--hero-img) + 1rem),
      transparent calc(100% - var(--hero-img) + 5rem)
    );
  }

  main.hero .card {
    grid-column: 1;
    grid-row: 1;
    align-self: stretch;
    justify-content: center;
    align-items: flex-start;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: calc(var(--header-h) + clamp(0.5rem, 3vh, 2rem)) var(--hero-gutter) clamp(1rem, 3vh, 2rem) clamp(1.25rem, 4vw, 4.5rem);
    text-align: left;
  }

  main.hero .card .kicker,
  main.hero .card .display {
    text-align: left;
    margin-inline: 0;
  }

  main.hero .card .display {
    max-width: 17ch;
    /* sized by width AND height so the hero fits one screen; that keeps the
       photo column at the photo's natural proportions (no cropping) */
    font-size: clamp(2rem, min(1rem + 3vw, 6.1vh), 4.4rem);
  }

  main.hero .card .plate-rule {
    display: none;
  }

  main.hero .card .page-actions {
    justify-content: flex-start;
  }

  /* the portrait column — full photo width, never cropped from the left so
     the POWER lettering always reads */
  main.hero .wall.field-fade {
    position: relative;
    top: auto;
    z-index: 2;
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: stretch;
    justify-self: stretch;
    min-height: 100svh;
    width: auto;
    max-width: none;
    height: auto;
    max-height: none;
    margin: 0;
    overflow: visible;
    background: transparent;
    isolation: isolate;
  }

  main.hero .wall.field-fade picture {
    display: block;
  }

  main.hero .wall.field-fade img {
    position: relative;
    inset: auto;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100svh;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center bottom;
    box-shadow: none;
    /* Short varied left edge. A straight 1.25rem wipe read as a vertical rule.
       The mask stays inside the first few percent so POWER and the silhouette remain.
       No bottom mask: both shoes and the crutch tips stay solid. */
    -webkit-mask-image: url("/images/hero-edge.svg");
    mask-image: url("/images/hero-edge.svg");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }

  main.hero .wall.field-fade::before {
    content: none;
  }

  /* The photograph stays sharp. No grain plate over the pixels. */
  main.hero .wall.field-fade::after {
    content: none;
  }

  main.hero .hero-ways,
  main.hero .chapter-rail + .hero-ways {
    position: relative;
    z-index: 2;
    grid-column: 1;
    grid-row: 2;
    margin-top: 0;
    margin-right: var(--hero-gutter);
    padding-left: clamp(1.25rem, 4vw, 4.5rem);
  }

  main.hero .chapter-rail {
    position: relative;
    z-index: 2;
    grid-column: 1;
    grid-row: 3;
    margin-right: var(--hero-gutter);
    padding-left: clamp(1.25rem, 4vw, 4.5rem);
  }

  main.hero .issue {
    grid-column: 1 / -1;
    grid-row: 4;
    padding-left: clamp(1.25rem, 4vw, 4.5rem);
    padding-right: clamp(1.25rem, 4vw, 4.5rem);
  }
}

/* Until the text column can hold three words, the ways run full width
   under the portrait. At 1100px that column was about 425px and split
   "Advocacy" and "Speaking" against the photograph. */
@media (min-width: 900px) and (max-width: 1279.98px) {
  main.hero .room {
    grid-row: 1;
  }

  main.hero .wall.field-fade {
    grid-row: 1;
    min-height: 0;
  }

  main.hero .wall.field-fade img {
    min-height: 0;
    height: auto;
  }

  main.hero .hero-ways,
  main.hero .chapter-rail + .hero-ways,
  main.hero .chapter-rail {
    grid-column: 1 / -1;
    margin-right: 0;
    padding-right: clamp(1.25rem, 4vw, 4.5rem);
  }

  main.hero .card {
    min-height: 0;
  }
}

/* Over the photo the toggle reads as frosted glass, on scroll it settles */
@media (min-width: 900px) {
  body:has(main.hero) .site-header:not(.is-scrolled) .nav-toggle {
    background: #f8f5ed;
    border-color: color-mix(in srgb, var(--ink) 14%, transparent);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (min-width: 1280px) {
  /* Contact pill floats over the photo as frosted glass until scroll */
  body:has(main.hero) .site-header:not(.is-scrolled) .nav-cta:not(:hover):not(:focus-visible) {
    background: #f8f5ed;
    color: var(--ink);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
  }

  /* keep the inline links on the paper side of the split */
  body:has(main.hero) .primary-nav .nav-list {
    padding-right: 0;
  }
}

/* --------------------------------------------------------------------------
   Home hero — tablet & mobile: full-bleed portrait under the header
   -------------------------------------------------------------------------- */

@media (max-width: 899.98px) {
  main.hero.hero {
    margin-top: 0;
    padding-top: 0;
    padding-inline: 0;
  }

  main.hero .room {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
  }

  main.hero .silk-field {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1;
    -webkit-mask-image: none;
    mask-image: none;
  }

  main.hero .card {
    padding-inline: clamp(1.25rem, 4vw, 4.5rem);
  }

  main.hero .wall.field-fade {
    position: relative;
    order: 1;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    overflow: visible;
    isolation: isolate;
  }

  main.hero .wall.field-fade picture {
    display: block;
  }

  /* the whole photo, full width — POWER, Lauren, and the shoes stay in frame */
  main.hero .wall.field-fade img {
    position: relative;
    top: auto;
    left: auto;
    z-index: 1;
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;
    transform: none;
    object-fit: contain;
    object-position: center bottom;
    box-shadow: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  /* blurred colour field behind the photo fills the sides on tablets */
  main.hero .wall.field-fade::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: image-set(
      url("/images/cover-hero.webp") type("image/webp"),
      url("/images/cover-hero.jpg") type("image/jpeg")
    );
    background-size: cover;
    background-position: center 40%;
    filter: none;
    background-image: none;
    background-color: #f3efe6;
    opacity: 1;
    -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 45%, transparent 85%);
    mask-image: linear-gradient(to bottom, #000 0, #000 45%, transparent 85%);
    pointer-events: none;
  }

  /* The photograph stays sharp on a phone. No grain, no cream wash. */
  main.hero .wall.field-fade::after {
    content: none;
    background: none;
  }

  /* the wordmark gets a soft cream halo instead of a heavy band of fade */
  body:has(main.hero) .site-header:not(.is-scrolled):not([data-menu="open"]) .wordmark img {
    filter:
      drop-shadow(0 0 1px rgb(248 245 237 / 0.95))
      drop-shadow(0 0 6px rgb(248 245 237 / 0.9))
      drop-shadow(0 0 16px rgb(248 245 237 / 0.7));
  }

  main.hero .card {
    order: 2;
    margin-top: 0.75rem;
    padding-top: 0;
  }
}

/* The window stays the scrollport. The wheel is instant; reduced-motion
   already forces auto, and smooth was fighting the fixed header. */
html {
  scroll-behavior: auto;
  overscroll-behavior: none;
}

body {
  overscroll-behavior: none;
}

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

/* Shoes meet the page. The gleam sits on the white stilettos, lower right. */
main.hero .heel-ground,
main.hero .heel-gleam {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

main.hero .heel-ground {
  left: 58%;
  right: 4%;
  bottom: 0;
  height: 1.35rem;
  background: radial-gradient(ellipse at 60% 100%, rgb(22 19 14 / 0.38), transparent 72%);
  transform: translateY(45%);
}

main.hero .heel-gleam {
  right: 3%;
  bottom: 0;
  width: 22%;
  height: 7%;
  border-radius: 46%;
  background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / 0.2) 44%, rgb(255 252 245 / 0.95) 50%, transparent 60%);
  background-size: 220% 100%;
  mix-blend-mode: screen;
}

@media (prefers-reduced-motion: no-preference) {
  main.hero .heel-gleam {
    animation: heel-sheen 14s ease-in-out infinite;
  }
}

@keyframes heel-sheen {
  0%, 70% { background-position: 130% 0; opacity: 0.12; }
  84% { background-position: 0% 0; opacity: 0.4; }
  100% { background-position: -30% 0; opacity: 0.12; }
}

/* About: the name and the quote card share the copy column. */
main.about .profile-quote {
  width: 100%;
}

main.ledger.about .profile-quote h2 {
  max-width: none;
  margin: 0 0 0.55rem;
  color: color-mix(in srgb, var(--paper) 72%, transparent);
  font-family: var(--sans);
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

main.hero .card .plate-rule {
  display: none;
}

main.about .split-copy > .display,
main.book .split-copy > .display {
  max-width: none;
  margin-inline: 0;
  text-align: left;
}

/* The standing figure hands off to the same measure below. */
main.hero .issue {
  margin-top: 0;
}

main.hero .issue-career,
main.hero .issue-speak,
main.hero .issue-book,
main.hero .issue-advocacy,
main.hero .issue-voice {
  padding-block: clamp(2.5rem, 6vh, 4.25rem);
}

main.hero .issue-book .jacket {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Motion & contrast preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .primary-nav,
  .primary-nav *,
  .nav-toggle,
  .nav-toggle *,
  .site-header::before,
  .heel-gleam {
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
    animation: none !important;
  }
}

@media (forced-colors: active) {
  .nav-toggle,
  .primary-nav .nav-cta,
  .primary-nav .nav-foot-cta {
    border: 1px solid ButtonText;
  }
}


/* Cover rubric uses the established color and spacing vocabulary. */
main.hero .card .cover-label {
  margin: 0 0 var(--space-editorial-rubric);
  color: var(--ink-soft);
  font: 650 0.72rem/1.45 system-ui, sans-serif;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

/* No script: keep the links on the page instead of inside a hidden overlay. */
@media (max-width: 1279.98px) {
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .site-header .primary-nav {
    position: static;
    display: block;
    visibility: visible;
    opacity: 1;
    clip-path: none;
    height: auto;
    overflow: visible;
    padding: 0.25rem clamp(1.25rem, 4vw, 2rem) 1rem;
    background: transparent;
  }
  html:not(.js) .primary-nav .nav-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
  }
  html:not(.js) .primary-nav .nav-list a,
  html:not(.js) .primary-nav .nav-list a.nav-cta {
    font-family: system-ui, "Segoe UI", sans-serif;
    font-size: 0.95rem;
    line-height: 1.4;
    letter-spacing: 0;
  }
  html:not(.js) .primary-nav .nav-list a::before,
  html:not(.js) .primary-nav .nav-foot { display: none; }
  html:not(.js) .primary-nav .nav-list li,
  html:not(.js) .primary-nav .nav-foot {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html:not(.js) .site-header.site-header,
  html:not(.js) body:has(main.hero) .site-header.site-header {
    position: relative;
  }
  html:not(.js) .primary-nav .nav-list a,
  html:not(.js) .primary-nav .nav-list a.nav-cta {
    padding: 0.2rem 0;
  }
}

/* Short pages: the body is already a column with a viewport minimum.
   Let main take the spare space so the footer sits on that edge.
   The footer stays in flow. It is not fixed. */
@media (max-width: 800px), (max-height: 540px) {
  body > main,
  body > main.sheet--stage {
    flex: 1 1 auto;
  }

  /* Safe area belongs inside the footer bar, not as cream after it. */
  body {
    padding-bottom: 0;
  }
}

/* Shared frame: the footer line keeps a gutter. The ink bar still runs edge to edge. */
.site-footer {
  box-sizing: border-box;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.site-footer .colophon a {
  color: inherit;
  /* The address is one word. `anywhere` shrinks its min-content and splits
     lauren@laurenruotolo.net inside the name. Keep the whole address on one
     line, and let the size give way only when the viewport is narrower than
     that line. */
  overflow-wrap: normal;
  white-space: nowrap;
  font-size: min(1.05rem, calc((100vw - 2 * clamp(1.25rem, 4vw, 2.5rem)) / 12.2));
}

.site-footer .colophon a:hover,
.site-footer .colophon a:focus-visible {
  color: var(--accent);
}

/* Interior reading rhythm. One measure, more air between a kicker and the prose.
   Homepage bands keep their own padding. Header sizes are unchanged. */
main.ledger:not(.hero) .rule-head {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

main.ledger:not(.hero) section p.support {
  max-width: 40rem;
  line-height: 1.75;
}

/* Chapter composition. Homepage bands share one scale. Interior pages share
   one title size and the same air under the sticky header. */

main.hero .chapter-rail a {
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--quiet, #c4b8aa);
}

@media (min-width: 900px) {
  main.hero .hero-ways,
  main.hero .chapter-rail {
    grid-column: 1 / -1;
    width: 100%;
    margin-right: 0;
  }

  main.hero .hero-ways {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--rule, #4a433c);
    border-bottom: 1px solid var(--rule, #4a433c);
  }

  main.hero .hero-ways .way {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.35rem 1.5rem 1.5rem;
    border-inline-end: 1px solid var(--rule, #4a433c);
    text-decoration: none;
  }

  main.hero .hero-ways .way:last-child {
    border-inline-end: 0;
  }

  main.hero .way-name {
    font-family: var(--display, Georgia, serif);
    font-size: clamp(1.45rem, 2vw, 1.85rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
  }

  main.hero .way-line {
    max-width: 28ch;
    color: var(--quiet, #c4b8aa);
    font-size: 0.95rem;
    line-height: 1.45;
  }
}

main.hero .issue > section {
  padding-block: clamp(3.25rem, 7vh, 5.5rem);
  border-top: 1px solid var(--rule, #4a433c);
}

main.hero .issue-speak .issue-intro h2,
main.hero .issue-book h2,
main.hero .issue-advocacy > h2,
main.hero .issue-voice > h2 {
  max-width: min(16ch, 100%);
  overflow-wrap: break-word;
  font-size: clamp(2.15rem, 3.6vw, 3.25rem);
  line-height: 1.05;
}

main.hero .issue-intro p.support a,
main.hero .issue-book p.support a,
main.hero .issue-advocacy > p.support a {
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent, #f26f49);
}

main.hero .issue-advocacy .themes {
  gap: 1rem;
  margin-top: 2rem;
}

main.hero .issue-advocacy .themes article {
  padding: 1.35rem 1.35rem 1.5rem;
  background: transparent;
  border: 1px solid var(--rule, #4a433c);
  border-top: 2px solid var(--accent, #f26f49);
}

main.ledger .themes section:has(h2) {
  padding: 1.25rem 0 0.25rem;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--rule, #4a433c);
}

main.hero .pieces {
  grid-template-columns: 1fr;
  gap: 0;
}

main.hero .issue-career h2 {
  max-width: 14ch;
  font-size: var(--type-display);
  line-height: var(--leading-display);
}

main.hero .issue-career blockquote {
  max-width: 28ch;
  margin-top: 0.85rem;
  font-size: var(--type-section);
  font-style: italic;
  line-height: 1.25;
}

main.hero .issue-career .roster li {
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.35rem);
  line-height: 1.35;
}

main.hero .issue-career .career-plate {
  grid-column: 1 / -1;
  margin: clamp(1.5rem, 4vh, 2.75rem) 0 0;
}

main.hero .issue-career .career-plate img {
  display: block;
  width: min(100%, 36rem);
  height: auto;
}

@media (min-width: 900px) {
  main.hero .issue-career {
    display: grid;
    grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1.2fr);
    column-gap: clamp(2rem, 4vw, 4.5rem);
    align-items: start;
  }

  main.hero .issue-career .career-lead,
  main.hero .issue-career .roster,
  main.hero .issue-career .career-plate {
    grid-column: auto;
    grid-row: 1;
    max-width: none;
    margin-top: 0;
  }

  main.hero .issue-career .career-plate img {
    width: 100%;
  }

  main.hero .pieces {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 2rem;
  }

  main.hero .pieces article {
    border-top: 1px solid var(--rule, #4a433c);
    padding-top: 1.25rem;
  }
}

main.hero .issue-speak .formats.talk-one {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

main.hero .issue-speak .talk-switch {
  display: none;
}

main.hero .issue-speak .formats.talk-one > article {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: auto;
  margin: 0;
  padding: 1.25rem 1.2rem 1.35rem;
  border: 1px solid var(--rule, #4a433c);
  border-top: 2px solid var(--accent, #f26f49);
}

main.hero .issue-speak .formats.talk-one > article h3,
main.hero .issue-speak .formats.talk-one > article p {
  margin: 0;
}

@media (hover: hover) {
  main.hero .issue-speak .formats.talk-one > article:hover {
    border-color: var(--accent, #f26f49);
  }
}

main.hero .issue-book .jacket img {
  width: min(100%, 16rem);
  height: auto;
}

main.hero .issue-book .retailer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

main.hero .issue-book .retailer-actions a {
  display: inline-block;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--accent, #f26f49);
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
  text-decoration: none;
}

main.hero .issue-book .retailer-actions a.retailer-link--primary {
  background: var(--accent, #f26f49);
  color: var(--ink, #1c1916);
}

@media (min-width: 720px) {
  main.hero .issue-speak .formats.talk-one {
    grid-template-columns: 1fr 1fr;
  }
}

main.ledger:not(.hero) {
  padding-top: clamp(2.75rem, 6vh, 4.75rem);
  padding-bottom: clamp(3rem, 8vh, 5.5rem);
}

main.ledger:not(.hero) h1.display:not(.sentence) {
  max-width: min(18ch, 100%);
  overflow-wrap: break-word;
  font-size: clamp(2.35rem, 4.4vw, 3.5rem);
  line-height: 1.06;
}

main.ledger:not(.hero) .page-actions {
  margin-top: clamp(2rem, 5vh, 3.25rem);
}

/* Shared type and a centered frame.
   Introductions, kickers, and action rows center.
   Paragraphs and lists stay left aligned inside a centered measure. */

.site-footer {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-bottom: calc(1.35rem + env(safe-area-inset-bottom, 0px));
}

main.ledger:not(.hero) {
  /* A centered 72rem frame started inside the wordmark. Match the header gutter. */
  width: min(100% - 2 * clamp(1.25rem, 4vw, 4.5rem), var(--wrap));
  margin-inline: auto;
  padding-inline: 0;
}

main.ledger:not(.hero) .rule-head,
main.ledger:not(.hero) .kicker,
main.ledger:not(.hero) h1.display,
main.ledger:not(.hero) .page-actions,
main.ledger:not(.hero) figcaption {
  text-align: center;
}

main.ledger:not(.hero) h1.display,
main.ledger:not(.hero) h2,
main.hero .issue h2,
main.hero .card .display {
  text-wrap: balance;
}

main.ledger:not(.hero) h1.display:not(.sentence) {
  max-width: min(18ch, 100%);
  overflow-wrap: break-word;
  margin-inline: auto;
  font-size: var(--type-display);
  line-height: var(--leading-display);
}

main.ledger:not(.hero) h1.display.sentence {
  max-width: min(28ch, 100%);
  margin-inline: auto;
  font-size: clamp(1.65rem, 1rem + 2vw, 2.6rem);
  line-height: 1.12;
}

main.ledger:not(.hero) section h2 {
  font-size: var(--type-section);
  line-height: 1.15;
  text-wrap: balance;
}

/* The Media route is a heading that links. Button chrome belongs on actions. */
main.ledger .routes h2 a.control-quiet {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

main.ledger:not(.hero) section p.support,
main.ledger:not(.hero) .lines,
main.ledger:not(.hero) .profile-read {
  max-width: var(--measure, 40rem);
  margin-inline: auto;
  text-align: left;
  font-size: var(--type-body);
  line-height: var(--leading-body);
}

main.ledger:not(.hero) figcaption {
  font-size: var(--type-caption);
  line-height: 1.4;
}

main.ledger:not(.hero) .rule-head,
.kicker {
  font-size: var(--type-label);
  letter-spacing: 0.16em;
}

main.about .cover,
main.book .cover,
main.speaking .cover {
  margin-inline: auto;
}

main.ledger:not(.hero) .page-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

@media (max-width: 899.98px) {
  main.hero .card,
  main.hero .chapter-rail,
  main.hero .hero-ways {
    text-align: center;
  }

  main.hero .card .display,
  main.hero .page-actions {
    margin-inline: auto;
    text-align: center;
  }

  /* The section copy is left. A centered heading sat in the middle of that column. */
  main.hero .issue h2 {
    margin-inline: 0;
    text-align: left;
  }

  main.hero .issue p.support,
  main.hero .roster,
  main.hero .pieces {
    text-align: left;
    max-width: var(--measure, 40rem);
    margin-inline: auto;
  }
}

/* Book title uses the same centered interior title as the other pages.
   The earlier split-copy rule pinned it left. */

main.book .split-copy > h1.display {
  max-width: min(22rem, 100%);
  overflow-wrap: break-word;
  margin-inline: auto;
  text-align: center;
}

.editions {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
  text-align: left;
}

.edition {
  padding-top: 0.85rem;
  border-top: 1px solid var(--rule);
}

.edition h2 {
  margin: 0 0 0.35rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.buy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

details.fold {
  margin-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

details.fold summary {
  cursor: pointer;
  padding: 0.85rem 0;
  font-family: var(--sans);
  color: var(--accent, #c4553a);
}

details.fold summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.inquiry .fields label {
  display: grid;
  gap: 0.35rem;
}

.inquiry .fields input,
.inquiry .fields textarea,
.inquiry .fields select {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--rule);
  background: transparent;
  color: inherit;
  font: inherit;
}

.inquiry .status {
  margin-top: 1rem;
}

/* Speaking portrait stays a centered stack until the copy column can hold
   a portrait and a title side by side without a leftover empty field. */

main.speaking .speaker {
  width: min(100%, 22rem);
  margin-inline: auto;
}

main.speaking .speaker img {
  width: min(100%, 22rem);
  max-width: 100%;
  margin-inline: auto;
}

@media (max-width: 1279.98px) {
  main.sheet--stage .speaking-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  main.sheet--stage .speaker {
    grid-row: auto;
    margin-inline: auto;
  }

  main.sheet--stage .speaking-copy h1,
  main.sheet--stage .speaking-copy > .support {
    grid-column: auto;
    width: min(100%, 40rem);
    text-align: center;
  }
}

/* Homepage words sit in from the screen edge and stay centered on a phone. */

@media (max-width: 899.98px) {
  main.hero .card {
    padding-inline: clamp(1.25rem, 4vw, 4.5rem);
    text-align: center;
  }

  main.hero .card .kicker,
  main.hero .card .display,
  main.hero .card .page-actions {
    margin-inline: auto;
    text-align: center;
  }

  /* The card padding is the measure. A 22ch cap stacked the signed
     sentence into a narrow tower inside that gutter. */
  main.hero .card .display {
    max-width: 100%;
  }

  main.hero .issue,
  main.hero .chapter-rail,
  main.hero .hero-ways {
    padding-inline: clamp(1.25rem, 4vw, 4.5rem);
  }
}

/* Interior roles. These follow the earlier winners in this file. */

main.ledger.about .profile-read {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  gap: 2rem 4rem;
}

main.ledger.about .profile-career .support {
  max-width: var(--measure, 40rem);
  margin-inline: 0;
}

main.sheet--stage .speaking {
  max-width: none;
  width: 100%;
}

main.sheet--stage form.request,
main.ledger form.request.inquiry {
  width: min(100%, 28rem);
  max-width: 28rem;
  margin-inline: auto;
}

main.book .edition p.support {
  max-width: 36rem;
  color: var(--ink-soft, #4d4436);
  font-family: var(--display);
  font-size: var(--type-caption);
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
}

main.ledger article.essay {
  max-width: var(--measure, 40rem);
  margin: clamp(2rem, 5vh, 3rem) auto 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--rule);
  text-align: left;
}

main.ledger article.essay h2 {
  margin-inline: 0;
  text-align: left;
  font-size: var(--type-section);
}

main.ledger:not(.hero) > section.essay {
  max-width: var(--measure, 40rem);
  margin-inline: auto;
  text-align: left;
}

main.ledger:not(.hero) > section.essay p.support {
  max-width: none;
  margin-inline: 0;
}

main.ledger .themes section h2 {
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.05rem + 0.45vw, 1.45rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-transform: none;
}

main.ledger:not(.hero) .lines li {
  padding: 0.85rem 0;
  font-family: var(--display);
  font-size: var(--type-body);
  letter-spacing: -0.011em;
  line-height: 1.45;
}

main.ledger .quiet {
  max-width: var(--measure, 40rem);
  margin-inline: auto;
  text-align: left;
}

main.ledger .quiet h1.display.sentence {
  max-width: var(--measure, 40rem);
  margin-inline: 0;
  text-align: left;
  font-size: clamp(1.35rem, 1.05rem + 0.8vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

main :is(a:link, a:visited):not(.control):not(.control-quiet) {
  color: var(--ink);
  text-decoration-color: var(--accent);
  text-underline-offset: 0.18em;
}

main a:focus-visible:not(.control):not(.control-quiet) {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (min-width: 960px) {
  main.sheet--stage .speaking-copy {
    display: grid;
    grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr);
    column-gap: clamp(1.5rem, 3vw, 3rem);
    align-items: end;
    width: 100%;
  }

  main.ledger:not(.hero) .speaking h1.display:not(.sentence),
  main.sheet--stage .speaking-copy > .support {
    grid-column: 2;
    width: auto;
    max-width: 36rem;
    margin-inline: 0;
    text-align: left;
  }

  main.sheet--stage .speaker {
    width: min(100%, 18rem);
    margin-inline: 0;
  }
}

/* Homepage type is transparent. Silk shows through the card; the
   photograph stays above the canvas. No negative z-index. */
main.hero .card,
main.hero .hero-ways,
main.hero .chapter-rail,
main.hero .issue {
  position: relative;
  z-index: 3;
}

main.hero .card,
main.hero .card .display {
  background-color: transparent;
  box-shadow: none;
}

/* At the top, the homepage bar covers neither the photograph nor the silk.
   After scroll, the shared frost returns so the links stay readable. */
body:has(main.hero) .site-header.site-header:not(.is-scrolled)::before {
  opacity: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (min-width: 801px) and (min-height: 541px) {
  main.about .split {
    align-items: start;
  }
}

main.ledger > section.preface,
main.ledger > h1 + section.preface + section.essay:has(h2) {
  width: min(100%, 40rem);
  max-width: 40rem;
  margin-inline: auto;
}

/* Speaking portfolio. These selectors own the opening, the talk rows,
   and the inquiry. They follow the earlier speaking rules in this file. */

main.sheet--stage .speaking,
main.sheet--stage .talk-rows,
main.sheet--stage form#speaking-request {
  width: min(100%, 68rem);
  max-width: 68rem;
  margin-inline: auto;
}

main.sheet--stage .speaker img {
  width: min(100%, 18rem);
  height: auto;
  object-fit: contain;
  object-position: center center;
}

main.sheet--stage .speaking h1.display {
  max-width: 22ch;
  margin: 0;
  font-size: clamp(2.5rem, 1.3rem + 3vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

main.sheet--stage .speaking-copy > .support {
  margin-top: 0.75rem;
  max-width: 28rem;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.45;
  color: var(--quiet);
}

main.sheet--stage .topic-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.25rem;
  margin-top: 1.25rem;
  font-family: var(--sans);
  font-size: 0.8125rem;
}

main.sheet--stage .topic-index a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

main.sheet--stage .topic-index span {
  margin-right: 0.35rem;
  letter-spacing: 0.12em;
  color: var(--quiet);
}

main.sheet--stage .talk-rows {
  margin-top: clamp(2rem, 5vh, 3.5rem);
}

main.sheet--stage .talk-rows section {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.35rem 1rem;
  padding: 1.6rem 0 1.75rem;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 5.5rem;
}

main.sheet--stage .talk-num {
  margin: 0.4rem 0 0;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--quiet);
}

main.sheet--stage .talk-rows h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(1.7rem, 1.15rem + 1.8vw, 3rem);
  line-height: 1.05;
}

main.sheet--stage .talk-rows .support,
main.sheet--stage .talk-rows .fold,
main.sheet--stage .talk-rows .offer-select {
  grid-column: 2;
}

main.sheet--stage .talk-rows .support {
  max-width: 38rem;
  margin-top: 0.55rem;
}

main.sheet--stage .offer-select {
  margin: 0.85rem 0 0;
}

main.sheet--stage .talk-rows a {
  transition: color 160ms ease;
}

main.sheet--stage .talk-rows a[aria-current="true"] {
  font-weight: 600;
  text-decoration: underline;
}

main.sheet--stage form#speaking-request {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem 2.5rem;
  margin-top: clamp(2.5rem, 6vh, 4rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 5.5rem;
}

main.sheet--stage form#speaking-request .inquiry-copy h2 {
  margin-top: 0;
}

main.sheet--stage .chosen-talk {
  margin: 0.75rem 0 0;
  font-family: var(--sans);
  font-size: 0.95rem;
}

main.sheet--stage form#speaking-request .fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem 1.25rem;
}

main.sheet--stage .inquiry .fields input,
main.sheet--stage .inquiry .fields textarea,
main.sheet--stage .inquiry .fields select {
  font-size: 1rem;
}

main.sheet--stage .field-error,
main.sheet--stage .error-summary {
  color: var(--accent, #c4553a);
  font-family: var(--sans);
  font-size: 0.875rem;
  line-height: 1.4;
}

main.sheet--stage .review-sheet h3 {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-size: clamp(1.7rem, 2vw, 2.4rem);
  line-height: 1.05;
}

main.sheet--stage .review-sheet dl {
  display: grid;
  gap: 0.2rem 1rem;
  margin: 0;
}

main.sheet--stage .review-sheet dt {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--quiet);
}

main.sheet--stage .review-sheet dd {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  white-space: pre-wrap;
}

main.sheet--stage form#speaking-request .page-actions {
  justify-content: flex-start;
}

@media (max-width: 800px), (max-height: 540px) {
  main.sheet--stage .speaking-copy .speaker {
    order: 0;
    margin-inline: auto;
  }

  main.sheet--stage .speaking-copy > .page-actions {
    order: 2;
    justify-content: center;
  }

  main.sheet--stage .topic-index {
    order: 3;
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
    width: min(100%, 22rem);
    margin-inline: auto;
  }

  main.sheet--stage .topic-index a {
    display: block;
  }

  main.sheet--stage .speaking h1 {
    text-align: center;
    margin-inline: auto;
  }

  main.sheet--stage .speaking-copy > p.support {
    text-align: left;
    width: min(100%, 40rem);
    margin-inline: auto;
  }

  main.sheet--stage form#speaking-request .page-actions .control {
    width: 100%;
  }
}

@media (min-width: 720px) {
  main.sheet--stage form#speaking-request .fields {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  main.sheet--stage form#speaking-request .fields label:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  main.sheet--stage .talk-rows section {
    grid-template-columns: 4rem minmax(0, 1fr) minmax(16rem, 0.9fr);
    column-gap: 2rem;
    align-items: start;
  }

  main.sheet--stage .talk-rows h2 {
    grid-column: 2;
  }

  main.sheet--stage .talk-rows .support,
  main.sheet--stage .talk-rows .fold,
  main.sheet--stage .talk-rows .offer-select {
    grid-column: 3;
  }

  main.sheet--stage .talk-rows .support {
    margin-top: 0.2rem;
  }
}

@media (min-width: 1024px) {
  main.sheet--stage .speaking-copy {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 22rem);
    grid-template-rows: auto auto auto auto;
    column-gap: clamp(2rem, 5vw, 4.5rem);
    align-content: center;
    align-items: start;
    width: min(100%, 68rem);
    margin-inline: auto;
  }

  main.sheet--stage .speaking-copy > .speaker {
    grid-column: 2;
    grid-row: 1 / span 4;
    width: 100%;
    margin: 0;
  }

  main.sheet--stage .speaking-copy > .speaker img {
    width: 100%;
    max-width: 22rem;
    max-height: none;
    height: auto;
    object-fit: contain;
    object-position: center center;
  }

  main.sheet--stage.ledger:not(.hero) .speaking-copy > h1.display:not(.sentence),
  main.sheet--stage .speaking-copy > .support,
  main.sheet--stage .speaking-copy > .page-actions,
  main.sheet--stage .speaking-copy > .topic-index {
    grid-column: 1;
    width: auto;
    max-width: 22ch;
    margin-inline: 0;
    text-align: left;
    justify-content: flex-start;
  }

  main.sheet--stage .speaking-copy > .support,
  main.sheet--stage .speaking-copy > .page-actions,
  main.sheet--stage .speaking-copy > .topic-index {
    max-width: 28rem;
  }

  main.sheet--stage form#speaking-request {
    grid-template-columns: minmax(14rem, 18rem) minmax(0, 40rem);
    align-items: start;
  }

  main.sheet--stage form#speaking-request .review-sheet,
  main.sheet--stage form#speaking-request .status,
  main.sheet--stage form#speaking-request noscript {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  main.sheet--stage .talk-rows a,
  main.sheet--stage form#speaking-request .control {
    transition: none;
  }
}

main.ledger > section.preface .support {
  font-size: var(--type-body);
  font-style: normal;
  line-height: var(--leading-body);
}

main.ledger > h1 + section.preface + section.essay > p.support::first-letter {
  float: none;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

main.book .book-near {
  max-width: 36rem;
  margin: 0.85rem auto 0;
  text-align: left;
  font-size: var(--type-body);
  font-style: normal;
}

/* The shoe shadow read as a grey rule under the photograph. */
main.hero .heel-ground {
  display: none;
}

main.book .split-copy > p.support.book-near {
  max-width: 36rem;
  margin: 0.85rem 0 0;
  text-align: left;
  color: var(--ink);
  font-size: var(--type-body);
  font-style: normal;
  line-height: var(--leading-body);
}

/* Book offer: one primary purchase, a quieter ebook, caption edition facts. */
main.book .cover img {
  box-shadow: 0 14px 32px rgb(42 38 34 / 0.14);
}

main.book .edition-secondary h2,
main.book details.fold summary,
main.book details.fold p.support {
  font-size: var(--type-caption, 0.82rem);
  letter-spacing: 0.04em;
}

main.book .edition-secondary .buy {
  margin-top: 0.35rem;
}

main.book .book-read {
  width: min(100%, 40rem);
  margin-inline: auto;
  text-align: left;
}

@media (min-width: 900px) {
  main.book .split {
    align-items: center;
    column-gap: clamp(2rem, 4vw, 4rem);
  }

  main.book .cover img {
    width: min(100%, 20rem);
    height: auto;
  }
}

@media (max-width: 899.98px) {
  main.book .cover {
    margin-inline: auto;
  }

  main.book .split-copy > h1.display {
    text-wrap: balance;
  }

  main.book .editions {
    order: 4;
  }

  main.book details.fold {
    order: 5;
  }
}

/* Phone composition. Gutters, book sequence, and tap size. Not a global type shrink. */
@media (max-width: 800px) {
  main.ledger {
    padding-inline: 0;
  }

  main.book .cover {
    width: min(78vw, 17.5rem);
    margin-inline: auto;
  }

  main.book .cover img {
    width: 100%;
    height: auto;
    max-height: none;
  }

  main.book .split-copy > h1.display,
  main.book .split-copy > h1.display cite {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  main.book .split-copy > h1.display {
    margin-inline: auto;
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-align: center;
    text-wrap: balance;
  }

  main.book .split-copy > .support {
    text-align: center;
    text-wrap: balance;
  }

  main.book .book-near,
  main.book .book-read p {
    text-align: left;
    text-wrap: pretty;
  }

  main.book .book-read {
    margin-top: 1.35rem;
  }

  main.book .edition-primary .control,
  main.book .edition-secondary .control-quiet {
    width: 100%;
    min-height: 3rem;
    justify-content: center;
  }

  main .request input,
  main .request select,
  main .request textarea {
    min-height: 2.75rem;
  }

  main .request .control {
    width: 100%;
    min-height: 3rem;
    justify-content: center;
  }

  main.ledger p {
    text-wrap: pretty;
  }
}

main.ledger article.essay {
  width: min(100%, 40rem);
  max-width: 40rem;
  margin-inline: auto;
}

main.ledger article.essay p.support {
  max-width: none;
  margin-inline: 0;
  color: var(--ink-soft);
  font-size: var(--type-body);
  font-style: normal;
  line-height: var(--leading-body);
}

main.ledger > section.preface .support {
  color: var(--ink-soft);
}

.fields input:focus-visible,
.fields textarea:focus-visible,
.fields select:focus-visible,
button.control:focus-visible,
a.control:focus-visible {
  outline: 2px solid var(--accent, #b83c26);
  outline-offset: 3px;
  box-shadow: none;
}

/* About art direction. Scoped to main.about. Cream, ink, and coral only. */

main.about {
  display: grid;
  gap: 0;
}

main.about .about-proposal-note {
  max-width: 42rem;
  margin: 0 0 1.5rem;
  color: var(--quiet);
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

main.about .proposal-mark {
  display: inline-block;
  width: fit-content;
  margin: 0 0 0.35rem;
  padding: 0.15rem 0.45rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

main.about .about-open {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(16rem, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  padding: clamp(1rem, 3vh, 2.5rem) 0 clamp(2.5rem, 6vh, 4.5rem);
}

main.about .about-open h1.display {
  max-width: 9ch;
  margin: 0.6rem 0 1rem;
  font-size: clamp(3.4rem, 7vw, 6.6rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
  text-align: left;
}

main.about .about-open h1 em,
main.about .about-bio h2 em,
main.about .about-work h2 em,
main.about .about-impact h2 em,
main.about .about-book h2 em,
main.about .about-close h2 em {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}

main.about.ledger .about-open p.support,
main.about.ledger .about-bio p.support,
main.about.ledger .about-work p.support,
main.about.ledger .about-impact p.support,
main.about.ledger .about-book p.support,
main.about.ledger .about-close p.support,
main.about.ledger .about-quote blockquote {
  max-width: 38rem;
  margin-inline: 0;
  text-align: left;
}

main.about .about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 100%;
  margin-top: 1.5rem;
}

main.about .about-actions .control {
  max-width: 100%;
  height: auto;
  white-space: normal;
}

main.about .about-action-quiet {
  background: transparent;
  color: var(--ink);
}

main.about .about-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  max-width: 100%;
  margin: 1.75rem 0 0;
}

main.about .about-proof div,
main.about .about-proof dt,
main.about .about-proof dd {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

main.about .about-proof dt {
  color: var(--quiet);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

main.about .about-proof dd {
  margin: 0.15rem 0 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

main.about .about-portrait {
  position: relative;
  width: min(100%, 32rem);
  margin: 0;
  justify-self: end;
}

main.about .about-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 665 / 800;
  max-height: none;
  border-radius: 46% 46% 3px 3px;
  object-fit: cover;
  object-position: center center;
}

main.about .about-portrait figcaption {
  margin-top: 0.75rem;
  color: var(--quiet);
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

main.about .about-names {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem 2rem;
  padding: 1.15rem 0;
  background: color-mix(in srgb, var(--ink) 6%, var(--paper));
  box-shadow: 50vw 0 0 50vw color-mix(in srgb, var(--ink) 6%, var(--paper)), -50vw 0 0 50vw color-mix(in srgb, var(--ink) 6%, var(--paper));
  clip-path: inset(0 -100vw);
}

main.about .about-names-label,
main.about .about-kicker {
  margin: 0;
  color: var(--quiet);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

main.about .about-kicker span {
  color: var(--accent);
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

main.about .about-name-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

main.about .about-name-row li {
  padding: 0;
  border: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
  letter-spacing: -0.02em;
}

main.about .about-name-row li::before {
  content: none;
}

main.about .about-quote {
  position: relative;
  padding: clamp(4rem, 10vh, 7rem) 0;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 50vw 0 0 50vw var(--ink), -50vw 0 0 50vw var(--ink);
  clip-path: inset(0 -100vw);
}

main.about .about-quote .about-kicker {
  color: color-mix(in srgb, var(--paper) 62%, transparent);
}

main.about .about-quote blockquote {
  margin: 1rem 0 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(2rem, 1.2rem + 2.8vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

main.about .about-quote blockquote em {
  color: var(--accent);
  font-style: italic;
}

main.about .about-bio,
main.about .about-work,
main.about .about-impact,
main.about .about-book,
main.about .about-close {
  scroll-margin-top: 5.5rem;
}

main.about .about-bio {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(3.5rem, 8vh, 6rem) 0;
}

main.about .about-bio h2,
main.about .about-work h2,
main.about .about-impact h2,
main.about .about-book h2,
main.about .about-close h2 {
  max-width: 14ch;
  margin: 0.45rem 0 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2.4rem, 1.4rem + 2.4vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-align: left;
}

main.about .about-work {
  padding: clamp(3.5rem, 8vh, 6rem) 0;
  background: color-mix(in srgb, var(--ink) 5%, var(--paper));
  box-shadow: 50vw 0 0 50vw color-mix(in srgb, var(--ink) 5%, var(--paper)), -50vw 0 0 50vw color-mix(in srgb, var(--ink) 5%, var(--paper));
  clip-path: inset(0 -100vw);
}

main.about .about-work-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 24rem);
  gap: 2rem;
  align-items: end;
}

main.about .about-career {
  display: grid;
  /* One child. The second track was an empty panel beside the list. */
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 2.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--raise, #fbf8f1);
  border: 1px solid var(--rule, #e4ddd2);
}

main.about .experience-names {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: experience;
}

main.about .about-career .experience-names li {
  counter-increment: experience;
  padding: 0.9rem 0;
  border-top: 1px solid var(--rule, #e4ddd2);
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.2rem, 1rem + 0.6vw, 1.55rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

main.about .about-career .experience-names li::before {
  content: counter(experience, decimal-leading-zero);
  display: block;
  margin-bottom: 0.2rem;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.14em;
}

main.about .about-career .experience-names li:last-child {
  border-bottom: 1px solid var(--rule, #e4ddd2);
}

main.about .about-chapters ul {
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

main.about .about-chapters li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--rule, #e4ddd2);
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

main.about .about-impact {
  padding: clamp(3.5rem, 8vh, 6rem) 0;
}

main.about .about-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

main.about .about-impact-grid article {
  min-width: 0;
  padding: 1.35rem 1.25rem 1.5rem;
  background: var(--raise, #fbf8f1);
  border-top: 2px solid var(--accent);
}

main.about .about-impact-grid article:nth-child(2) {
  background: color-mix(in srgb, var(--accent) 10%, var(--paper));
}

main.about .about-impact-grid article:nth-child(3) {
  background: var(--ink);
  color: var(--paper);
}

main.about .about-impact-grid article:nth-child(3) .about-kicker,
main.about .about-impact-grid article:nth-child(3) .support,
main.about .about-impact-grid article:nth-child(3) h3 {
  color: var(--paper);
}

main.about .about-impact-grid h3 {
  margin: 0.6rem 0 0.7rem;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

main.about .about-affiliations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  max-width: none;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

main.about .about-affiliations li {
  margin: 0;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--rule, #e4ddd2);
  font-family: var(--sans);
  font-size: 0.85rem;
}

main.about .about-book {
  display: grid;
  grid-template-columns: minmax(10rem, 16rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(3rem, 8vh, 5.5rem) 0;
  background: color-mix(in srgb, var(--accent) 16%, var(--paper));
  box-shadow: 50vw 0 0 50vw color-mix(in srgb, var(--accent) 16%, var(--paper)), -50vw 0 0 50vw color-mix(in srgb, var(--accent) 16%, var(--paper));
  clip-path: inset(0 -100vw);
}

main.about .about-book .jacket {
  margin: 0;
  transform: rotate(-3deg);
}

main.about .about-book img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 12px 14px 0 color-mix(in srgb, var(--accent) 55%, var(--ink));
}

main.about .about-close {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(3.5rem, 9vh, 6.5rem) 0;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 50vw 0 0 50vw var(--ink), -50vw 0 0 50vw var(--ink);
  clip-path: inset(0 -100vw);
}

main.about .about-close h2,
main.about .about-close .support,
main.about .about-close .about-kicker {
  color: var(--paper);
}

main.about .about-close .control {
  background: var(--paper);
  color: var(--ink);
}

@media (max-width: 800px), (max-height: 540px) {
  main.about .about-open,
  main.about .about-bio,
  main.about .about-work-head,
  main.about .about-career,
  main.about .about-impact-grid,
  main.about .about-book {
    grid-template-columns: minmax(0, 1fr);
  }

  main.about .about-open h1.display {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }

  main.about .about-portrait {
    justify-self: start;
    width: min(100%, 22rem);
  }

  main.about .about-portrait figcaption {
    text-align: left;
  }

  main.about .about-book .jacket {
    width: min(100%, 12rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  main.about .about-book .jacket {
    transform: none;
  }
}

/* About art direction. Review upload keeps this comment so the asset hash matches decoded bytes. */

/* Speaking printed program. Scoped to main.speaking. */
main.speaking.sheet--stage {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
main.speaking.sheet--stage > section {
  width: 100%;
  max-width: none;
  margin-top: 0;
  border-top: 0;
}
/* Both sides use the header gutter. One subtraction left the title halfway to the edge. */
main.speaking .program-shell {
  width: min(100% - 2 * clamp(1.25rem, 4vw, 4.5rem), 1320px);
  margin-inline: auto;
}
main.speaking .opening {
  padding: clamp(2.5rem, 6vw, 5.1rem) 0 clamp(3.5rem, 8vw, 6.75rem);
}
main.speaking .opening-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(16rem, 0.66fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6.75rem);
}
main.speaking .opening .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: auto;
  margin: 0;
}
main.speaking .opening h1 {
  max-width: min(22ch, 100%);
  margin: clamp(1.3rem, 3vw, 2.4rem) 0 1.15rem;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.2vw, 5.45rem);
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: -0.045em;
  text-wrap: wrap;
}
main.speaking .opening .support {
  max-width: 38rem;
  margin: 0;
  color: #4d4436;
  font-size: clamp(1.03rem, 1.4vw, 1.3rem);
  line-height: 1.62;
  text-align: left;
}
main.speaking .opening-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.35rem;
  margin: 1.75rem 0 0;
}
main.speaking a.action-primary:link,
main.speaking a.action-primary:visited,
main.speaking .action-primary,
main.speaking .form-actions .control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}
main.speaking .action-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 650;
  text-underline-offset: 5px;
}
main.speaking .opening-figure {
  width: min(100%, 27.5rem);
  justify-self: end;
  margin: 0;
}
main.speaking .opening-figure img {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 665 / 800;
  object-fit: contain;
  object-position: center;
}
main.speaking .opening-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin-top: 0.8rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(22, 19, 14, 0.17);
  color: #6f6455;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}
main.speaking .opening-figure figcaption strong { color: var(--ink); }
main.speaking .talk-section {
  padding: clamp(3.6rem, 8vw, 6.5rem) 0;
  background: var(--raise);
  border-block: 1px solid rgba(22, 19, 14, 0.17);
}
main.speaking .talk-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(14rem, 0.55fr);
  align-items: end;
  gap: 2rem;
}
main.speaking .talk-section h2 {
  max-width: 12ch;
  margin: 0.8rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
main.speaking .talk-intro-note {
  max-width: 22rem;
  margin: 0 0 0.4rem;
  color: #4d4436;
  line-height: 1.7;
}
main.speaking .talk-fallback { display: none; }
html:not(.js) main.speaking .talk-fallback {
  display: block;
  max-width: 42rem;
  margin: 1.5rem 0 0;
}
html:not(.js) main.speaking .talk-choice { display: none; }
main.speaking .talk-list {
  margin-top: clamp(1.8rem, 5vw, 3.6rem);
  border-bottom: 1px solid rgba(22, 19, 14, 0.17);
}
main.speaking .talk-row {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 0.92fr) minmax(0, 1.25fr) auto;
  align-items: center;
  gap: 0.9rem clamp(1rem, 2vw, 1.8rem);
  min-width: 0;
  padding: clamp(1.3rem, 3vw, 2.1rem) 0.6rem;
  border-top: 1px solid rgba(22, 19, 14, 0.17);
}
main.speaking .talk-row.is-selected { background: #efe6d6; }
main.speaking .talk-row.is-selected::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--accent);
  content: "";
}
main.speaking .talk-index {
  color: var(--accent);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
}
main.speaking .talk-row h3 {
  margin: 0;
  min-width: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
}
main.speaking .talk-copy p {
  max-width: 58ch;
  margin: 0;
  color: #4d4436;
  font-size: 0.95rem;
  line-height: 1.7;
}
main.speaking .talk-format { margin-top: 0.65rem; }
main.speaking .talk-format summary { min-height: 44px; cursor: pointer; font-weight: 650; }
main.speaking .talk-choice {
  justify-self: end;
  min-width: 7.5rem;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(22, 19, 14, 0.3);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
main.speaking .talk-choice::before {
  content: "+";
  margin-right: 0.35rem;
  font-weight: 500;
}
main.speaking .talk-choice[aria-pressed="true"]::before { content: none; }
main.speaking .talk-choice[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
main.speaking .inquiry-band {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  background: var(--ink);
  color: var(--paper);
}
main.speaking.sheet--stage form#speaking-request.inquiry-grid {
  display: grid;
  width: min(100% - 2 * clamp(1.25rem, 4vw, 4.5rem), 1320px);
  max-width: none;
  margin: 0 auto;
  padding-top: 0;
  border-top: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  align-items: start;
  gap: clamp(1.6rem, 6vw, 5rem);
}
main.speaking .inquiry-aside h2 {
  margin: 1rem 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.045em;
  scroll-margin-top: 5.5rem;
}
main.speaking .inquiry-aside > p,
main.speaking .selected-summary { color: #d5cec1; }
main.speaking .selected-summary {
  margin: 1.6rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(248, 245, 237, 0.27);
}
main.speaking .selected-summary dt {
  color: #f2b3a1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
main.speaking .selected-summary dd {
  margin: 0.35rem 0 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.2rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
main.speaking .form-sheet {
  min-width: 0;
  padding: clamp(1.3rem, 4vw, 2.8rem);
  background: var(--paper);
  color: var(--ink);
}
main.speaking .form-topline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(22, 19, 14, 0.17);
}
main.speaking .form-topline span { color: var(--accent); font-family: var(--display); font-style: italic; }
main.speaking .fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
}
main.speaking .fields label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.35rem;
  min-width: 0;
  font-size: 0.78rem;
  font-weight: 700;
}
main.speaking .fields label.full,
main.speaking .error-summary,
main.speaking .form-actions,
main.speaking .status,
main.speaking noscript { grid-column: 1 / -1; }
main.speaking .fields label :is(input, select, textarea),
main.speaking .fields label .field-error { grid-column: 1 / -1; }
main.speaking #request-heading { scroll-margin-top: 6rem; }
main.speaking .fields label span:first-of-type {
  color: #6f6455;
  font-size: 0.68rem;
  font-weight: 500;
  min-width: 0;
  white-space: normal;
}
main.speaking .fields input,
main.speaking .fields select,
main.speaking .fields textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(22, 19, 14, 0.27);
  background: var(--raise);
  color: var(--ink);
  font: 400 1rem/1.45 var(--sans);
}
main.speaking .fields textarea { min-height: 7.5rem; }
main.speaking .fields :is(input, select, textarea)[aria-invalid="true"] {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
main.speaking .field-error { color: #8f2b19; font-size: 0.78rem; font-weight: 500; }
main.speaking .error-summary {
  margin: 0 0 1rem;
  padding: 0.7rem 0.8rem;
  border-left: 3px solid var(--accent);
  background: #f5e4dc;
}
main.speaking .form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1rem;
  margin: 1.15rem 0 0;
}
main.speaking .review-kicker {
  margin: 0 0 0.4rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
main.speaking .review-sheet h3 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
}
main.speaking .review-sheet dl { margin: 0; border-top: 1px solid rgba(22, 19, 14, 0.17); }
main.speaking .review-sheet dt,
main.speaking .review-sheet dd {
  margin: 0;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(22, 19, 14, 0.17);
  overflow-wrap: anywhere;
}
main.speaking .review-sheet dt {
  color: #6f6455;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media (max-width: 1100px) and (min-width: 720px) {
  main.speaking .opening-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1.6rem; }
  main.speaking .opening-figure { max-width: 20rem; }
  main.speaking .talk-row { grid-template-columns: 2.2rem minmax(8rem, 0.9fr) minmax(0, 1.2fr) auto; }
  main.speaking.sheet--stage form#speaking-request.inquiry-grid { gap: 1.6rem; }
}
@media (max-width: 719px) {
  main.speaking .opening-grid,
  main.speaking .talk-intro,
  main.speaking.sheet--stage form#speaking-request.inquiry-grid,
  main.speaking .fields { grid-template-columns: minmax(0, 1fr); }
  main.speaking .opening-copy { order: 0; }
  main.speaking .opening-figure { order: 1; justify-self: center; width: min(100%, 22rem); }
  main.speaking .opening h1 { max-width: none; font-size: clamp(2.15rem, 9vw, 3.1rem); }
  main.speaking .talk-section h2,
  main.speaking .inquiry-aside h2 { max-width: none; }
  main.speaking .talk-row { grid-template-columns: 2rem minmax(0, 1fr); }
  main.speaking .talk-copy { grid-column: 1 / -1; }
  main.speaking .talk-choice {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  main.speaking .inquiry-aside { position: static; }
  main.speaking .form-actions .control { width: 100%; }
  main.speaking .fields label {
    grid-template-columns: minmax(0, 1fr);
  }
  main.speaking .fields label span:first-of-type {
    justify-self: start;
    white-space: normal;
  }
  main.speaking .fields :is(input, select, textarea) {
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  main.speaking .talk-row,
  main.speaking .action-primary,
  main.speaking .talk-choice { transition: none; }
}

/* The portrait owns the first row. The three ways run beneath it, across the page. */
@media (min-width: 1280px) {
  main.hero .wall.field-fade {
    grid-row: 1;
    min-height: 0;
  }

  main.hero .wall.field-fade img {
    min-height: 0;
    height: auto;
    max-height: calc(100svh - 7rem);
    object-fit: contain;
    object-position: center bottom;
  }

  main.hero .hero-ways,
  main.hero .chapter-rail + .hero-ways {
    grid-column: 1 / -1;
    grid-row: 2;
    width: auto;
    max-width: none;
    margin-right: 0;
    padding-right: clamp(1.25rem, 4vw, 4.5rem);
  }
}

/* Earlier sheets pin every talk card to the same cell. Place them in the grid. */
main.hero .issue-speak .formats.talk-one > article {
  grid-column: auto;
  grid-row: auto;
}

/* Homepage sections stay separated. The three ways and the four talks are equal cards. */
main.hero .issue > section {
  padding-block: clamp(2.75rem, 7vh, 4.75rem);
  border-top: 1px solid var(--rule);
}

main.hero .hero-ways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
}

main.hero .hero-ways .way-name {
  hyphens: none;
  overflow-wrap: normal;
  word-break: keep-all;
  font-style: italic;
  font-size: clamp(1.7rem, 2.1vw, 2.2rem);
  letter-spacing: -0.02em;
}

main.hero .hero-ways .way {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 8.75rem;
  min-width: 2.75rem;
  padding: 1.15rem 1.2rem 1.2rem;
  border: 1px solid var(--rule);
  background: var(--raise, #fbf8f1);
  color: var(--ink);
  text-decoration: none;
}

main.hero .hero-ways .way:hover {
  background: var(--raise-hover, #efe6d6);
}

main.hero .hero-ways .way:focus-visible,
main.hero .issue-speak article:focus-within,
main.speaking .talk-row:focus-within,
.site-footer a:focus-visible,
main.speaking .talk-choice:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

main.hero .issue-career {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

main.hero .issue-speak .talk-switch {
  display: none;
}

main.hero .issue-speak .formats.talk-one {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

main.hero .issue-speak .formats.talk-one > article {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 100%;
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px solid var(--rule);
  background: var(--raise, #fbf8f1);
  color: var(--ink);
}

main.hero .issue-speak .formats.talk-one > article h3,
main.hero .issue-speak .formats.talk-one > article p,
main.hero .issue-speak .formats.talk-one > article::before {
  color: var(--ink);
}

main.hero .issue-advocacy .themes {
  display: grid;
  gap: 0;
  margin-top: 1.25rem;
}

main.hero .issue-advocacy .themes article {
  padding: 0.9rem 0;
  border-top: 1px solid var(--rule);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  text-align: center;
}

.site-footer .foot-id,
.site-footer .legal,
.site-footer .social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
  align-items: center;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  min-width: 2.75rem;
}

main.speaking .talk-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

main.speaking .talk-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 100%;
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px solid var(--rule);
  background: var(--raise, #fbf8f1);
}

main.speaking .talk-choice {
  min-height: 2.75rem;
  min-width: 2.75rem;
  margin-top: auto;
}

main.about .about-impact,
main.about .about-close,
main.about .about-career {
  margin-top: clamp(2.5rem, 6vh, 4rem);
}

@media (max-width: 799.98px) {
  main.hero .hero-ways,
  main.hero .issue-career,
  main.hero .issue-speak .formats.talk-one,
  main.speaking .talk-list {
    grid-template-columns: minmax(0, 1fr);
  }

  main.hero .hero-ways .way {
    min-height: 0;
    justify-content: flex-start;
  }
}

/* Local study: three speaking photographs. Wide podium, two portraits beside it. */
main.speaking .speak-room {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr) minmax(0, 0.7fr);
  gap: 0.75rem;
  align-items: stretch;
}

/* The section rule above is more specific and was forcing the photographs edge to edge. */
main.speaking.sheet--stage > section.speak-room {
  width: min(100% - 2 * clamp(1.25rem, 4vw, 4.5rem), 1320px);
  margin: clamp(1.5rem, 4vh, 2.5rem) auto 0;
}

main.speaking .speak-room figure {
  margin: 0;
  min-width: 0;
  background: #1a1714;
}

main.speaking .speak-room img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 36rem;
  object-fit: cover;
  object-position: center 20%;
}

@media (max-width: 799.98px) {
  main.speaking .speak-room {
    grid-template-columns: minmax(0, 1fr);
  }

  main.speaking .speak-room img {
    height: auto;
    max-height: none;
  }
}

/* Press pieces use the same card as the talks.
   The list shares one centered measure with its heading. */
main.media > section {
  width: min(100%, 40rem);
  margin-inline: auto;
}

main.media > section > h2 {
  text-align: center;
}

/* The blog index shares the press measure: intro, essay, and title on one column. */
main.ledger .preface,
main.ledger article.essay {
  width: min(100%, 40rem);
  margin-inline: auto;
}

main.ledger article.essay h2,
main.ledger article.essay > .support {
  text-align: center;
}

main.media .pieces {
  gap: 0.85rem;
}

main.media .pieces article {
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px solid var(--rule);
  background: var(--raise, #fbf8f1);
}

main.media .pieces h3 a {
  display: inline-block;
  min-height: 2.75rem;
}

main.media .pieces h3 a:focus-visible,
main.book a.retailer-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* The storytelling line is a quote, set apart from the section heading. */
main.hero .issue-career blockquote {
  margin: 1.15rem 0 0;
  padding: 0.1rem 0 0.1rem 1rem;
  border-left: 3px solid var(--accent);
  color: var(--ink);
}

main.hero .issue-voice .pieces {
  gap: 0.85rem;
}

main.hero .issue-voice .pieces article {
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px solid var(--rule);
  background: var(--raise, #fbf8f1);
}

/* First screen: the signed sentence leads, the portrait supports it,
   and Contact is the coral action already labeled Contact. */
@media (min-width: 900px) {
  main.hero .issue-speak {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    row-gap: 1.75rem;
  }

  main.hero .issue-speak .issue-intro,
  main.hero .issue-speak .formats.talk-one {
    grid-column: 1;
    grid-row: auto;
  }

  main.hero .issue-speak .issue-intro h2 {
    max-width: 18ch;
    font-size: clamp(2.4rem, 3.6vw, 3.5rem);
    line-height: 1.05;
  }

  main.hero .issue-speak .formats.talk-one {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  main.hero .card .display {
    max-width: min(22ch, 100%);
    font-size: clamp(2.35rem, min(1.35rem + 2vw, 5.4vh), 3.6rem);
    line-height: 1.12;
    letter-spacing: -0.022em;
  }
}

main.hero .card .page-actions .control {
  background: var(--accent);
  color: var(--paper);
  min-height: 2.75rem;
  padding: 0.7rem 1.35rem;
}

main.hero .card .page-actions .control:hover {
  background: var(--accent-deep);
  color: var(--paper);
}

main.hero .card .page-actions .control:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

@media (max-width: 899.98px) {
  main.hero .wall.field-fade picture {
    width: 100%;
  }

  main.hero .wall.field-fade img {
    width: 100%;
    max-width: 100%;
    height: min(22rem, 46vh);
    object-fit: cover;
    object-position: center 70%;
  }

  main.hero .card .display {
    font-size: clamp(1.55rem, 6vw, 1.9rem);
    line-height: 1.18;
    letter-spacing: -0.018em;
  }

  main.hero .card {
    margin-top: 1rem;
  }
}

/* Issue sections keep air, without the tall empty bands. */
main.hero .issue > section {
  padding-block: clamp(2.15rem, 4.5vh, 3.25rem);
}

/* Between the phone and the side-by-side hero, keep a tall portrait.
   46vh on a short window was turning the photograph into a thin banner. */
@media (min-width: 600px) and (max-width: 899.98px) {
  main.hero .wall.field-fade img {
    height: min(36rem, 70vh);
    object-position: center 64%;
  }

  /* The sentence stays large when the portrait stacks. Phones keep the smaller size. */
  main.hero .card .display {
    font-size: clamp(2.15rem, 3.4vw, 2.65rem);
    line-height: 1.18;
  }

  /* Same gutter as the interior bar, the sentence, and the sections. */
  body:has(main.hero) .site-header.site-header,
  body:has(main.hero) .site-footer,
  main.hero .card,
  main.hero .issue,
  main.hero .chapter-rail,
  main.hero .hero-ways {
    padding-inline: clamp(1.25rem, 4vw, 4.5rem);
  }
}

/* From 760px the portrait sits beside the sentence, whole figure in frame. */
@media (min-width: 760px) and (max-width: 899.98px) {
  main.hero .room {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(15rem, 0.9fr);
    align-items: center;
    column-gap: 0.75rem;
    /* Same inset as the sentence and the sections. */
    padding-right: clamp(1.25rem, 4vw, 4.5rem);
  }

  main.hero .card {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    margin-top: 0;
    text-align: left;
  }

  main.hero .card .kicker,
  main.hero .card .display,
  main.hero .card .page-actions {
    margin-inline: 0;
    text-align: left;
  }

  main.hero .card .display {
    max-width: 22ch;
    font-size: clamp(2.05rem, 3.1vw, 2.45rem);
    line-height: 1.16;
  }

  main.hero .wall.field-fade {
    grid-column: 2;
    grid-row: 1;
    order: 0;
  }

  main.hero .wall.field-fade img {
    width: 100%;
    height: auto;
    max-height: min(82vh, 42rem);
    object-fit: contain;
    object-position: center center;
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, #000 18%, #000 100%),
      linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right, transparent 0%, #000 18%, #000 100%),
      linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%);
    mask-composite: intersect;
  }

  main.hero .hero-ways {
    text-align: left;
  }

  main.hero .hero-ways .way {
    align-items: flex-start;
    text-align: left;
    min-height: 0;
    justify-content: flex-start;
  }
}

/* Press cards: the headline is the link. A full underline fought the card. */
main.media .pieces h3 a {
  background-image: none;
  color: var(--ink);
}

main.media .pieces h3 a:hover,
main.media .pieces h3 a:focus-visible {
  color: var(--accent);
}

main.media .pieces .support {
  color: var(--ink-soft);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

main.media .pieces article {
  transition: background-color 160ms ease;
}

main.media .pieces article:hover {
  background: var(--raise-hover);
}

@media (prefers-reduced-motion: reduce) {
  main.media .pieces article { transition: none; }
}

/* Homepage close: same gutter as the sections above, not a centered 38rem column. */
main.hero .issue-advocacy,
main.hero .issue-voice {
  width: 100%;
  margin-inline: 0;
  text-align: left;
}

main.hero .issue-advocacy > h2,
main.hero .issue-voice > h2 {
  max-width: 16ch;
}

main.hero .issue-advocacy > .support,
main.hero .issue-voice > .support {
  margin-inline: auto;
}

main.hero .issue-advocacy .themes {
  grid-template-columns: minmax(0, 1fr);
  text-align: left;
}

@media (min-width: 900px) {
  /* 52rem sat inside the issue gutter, so the cards did not meet the sections above. */
  main.hero .issue-advocacy {
    width: 100%;
  }

  main.hero .issue-advocacy .themes {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
  }
}

main.hero .issue-voice .pieces {
  grid-template-columns: minmax(0, 1fr);
  text-align: left;
}

@media (min-width: 900px) {
  /* The two pieces were a 38rem column inside the wider advocacy row. */
  main.hero .issue-voice {
    width: 100%;
  }

  main.hero .issue-voice .pieces {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
  }
}

/* Desktop landing: the portrait sits on the right. The sentence stays to its
   left, and the ways and storytelling quote follow beneath that pair. */
@media (min-width: 900px) {
  main.hero.hero {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    margin-top: 0;
    margin-inline: 0;
  }

  main.hero .room {
    display: grid;
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 40vw);
    grid-template-rows: auto;
    align-items: center;
    column-gap: clamp(1.5rem, 3vw, 3rem);
    width: 100%;
    margin-inline: 0;
    padding-top: 1.25rem;
    padding-left: clamp(1.25rem, 4vw, 4.5rem);
    /* The portrait was flush to the viewport, past the ways row. */
    padding-right: clamp(1.25rem, 4vw, 4.5rem);
    min-height: 0;
  }

  main.hero .wall.field-fade {
    display: block;
    grid-column: 2;
    grid-row: 1;
    aspect-ratio: auto;
    width: 100%;
    height: auto;
    max-height: none;
    min-height: 0;
    margin: 0;
    justify-self: end;
    align-self: center;
  }

  main.hero .wall.field-fade picture {
    display: block;
    width: 100%;
  }

  /* Contain keeps the whole mural. A left mask blends the portrait into the cream. */
  main.hero .wall.field-fade img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    max-height: min(78vh, 44rem);
    margin: 0;
    object-fit: contain;
    object-position: right center;
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, #000 22%, #000 100%),
      linear-gradient(to bottom, #000 0%, #000 86%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right, transparent 0%, #000 22%, #000 100%),
      linear-gradient(to bottom, #000 0%, #000 86%, transparent 100%);
    mask-composite: intersect;
  }

  main.hero .card {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    padding-top: 0;
    /* The room already has the header gutter. A second pad shoved the sentence inward. */
    padding-left: 0;
    padding-right: 0;
    text-align: left;
    justify-self: stretch;
    align-self: center;
  }

  /* 16em left a hole between the sentence and the portrait. */
  main.hero .card .display {
    max-width: none;
    margin-inline: 0;
    hyphens: manual;
    overflow-wrap: normal;
    word-break: normal;
  }

  main.hero .card .page-actions {
    display: flex;
    justify-content: flex-start;
    width: auto;
  }

  main.hero .hero-ways,
  main.hero .issue {
    width: min(100% - 2 * clamp(1.25rem, 4vw, 4.5rem), var(--wrap));
    margin-inline: auto;
  }

  main.hero .hero-ways,
  main.hero .chapter-rail + .hero-ways {
    grid-column: auto;
    grid-row: auto;
    max-width: none;
    margin-top: 0.25rem;
    /* The width already sits on the header gutter. Extra padding doubled it. */
    padding-left: 0;
    padding-right: 0;
  }

  main.hero .issue {
    grid-column: auto;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
  }

  main.hero .issue > section.issue-career {
    padding-top: clamp(1.15rem, 2.5vh, 1.75rem);
  }
}

main.ledger:not(.hero),
main.hero {
  padding-bottom: 0;
}

.site-footer {
  justify-content: center;
  /* One pixel overlap so a dark closer and the ink bar read as one surface. */
  margin-top: -1px;
  padding-block: clamp(1.75rem, 4vh, 2.75rem);
  text-align: center;
}

.site-footer .social a {
  gap: 0.55rem;
  padding: 0.2rem 0.95rem 0.2rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--paper) 42%, transparent);
  border-radius: 999px;
  color: var(--paper);
  text-decoration: none;
}

.site-footer .social a:hover,
.site-footer .social a:focus-visible {
  border-color: var(--accent);
  color: var(--paper);
}

.social-mark {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.site-footer .social a:last-child .social-mark {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

/* About was a centered 72rem frame, so on a wide screen it started inside the wordmark. */
main.about.ledger {
  width: min(100% - 2 * clamp(1.25rem, 4vw, 4.5rem), var(--wrap));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}
