.header-inner { gap: clamp(16px, 3vw, 42px); }
.header-inner .brand img { width: clamp(174px, 20vw, 242px); }
.site-header nav { gap: clamp(12px, 2.3vw, 36px); }
.site-header nav a[aria-current] { color: var(--red); text-decoration: underline; text-underline-offset: 6px; }
.reading-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 7px; }
.preview-note { font-size: .72rem; color: var(--slate); margin: 0; }
.language-links { display: flex; gap: 5px; margin-inline-start: auto; align-self: flex-start; }
.language-link { font-size: .72rem; padding: 4px 7px; font-weight: 800; text-decoration: none; }
.language-link[aria-current] { background: var(--ink); color: var(--paper); }
.editorial-intro { background: var(--deep-blue); color: var(--paper); padding-block: clamp(42px, 7vw, 98px); }
.editorial-intro h1 { font-size: clamp(2.35rem, 6vw, 5rem); max-width: 18ch; margin: 0 0 22px; overflow-wrap: break-word; }
.editorial-intro p:not(.status-chip) { max-width: 52ch; font-size: clamp(1rem, 2vw, 1.2rem); }
.editorial-intro a:focus-visible { outline-color: var(--paper); }
.editorial-back { display: block; width: fit-content; }
.editorial-intro .byline { font-weight: 800; margin: 1.35rem 0 0; }
.prose { max-width: 710px; padding-block: clamp(42px, 6vw, 90px); }
.prose h2 { font-size: clamp(1.4rem, 3vw, 2rem); max-width: none; margin: 1.8em 0 .6em; }
.article-related { border-top: 3px solid var(--red); background: #ece9df; padding: 24px; margin-top: 40px; }
.article-related p { margin-bottom: 8px; }
.article-related a { font-weight: 800; }
.intake-section { background: #e6e4d9; }
.intake-form { max-width: 680px; }
.intake-form h2 { max-width: 22ch; margin-bottom: 18px; }
.intake-form label { display: block; font-weight: 800; margin-top: 16px; font-size: .9rem; }
.intake-form :is(input:not([type=hidden]), select, textarea) { display: block; width: 100%; min-height: 46px; padding: 9px 12px; color: var(--ink); background: var(--paper); border: 1px solid var(--slate); border-radius: 0; font: inherit; }
.intake-form :is(input, select, textarea):focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.intake-form textarea { resize: vertical; }
.intake-form button { border: 0; cursor: pointer; }
.field-note { margin-top: 10px; font-size: .83rem; color: var(--slate); }
.form-message { border-left: 4px solid var(--deep-blue); padding: 12px 16px; background: var(--paper); }
.form-error { border-color: var(--red); }
.site-loading {
  position: fixed;
  z-index: 15;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 9px;
  pointer-events: none;
}
.site-loading svg { display: none; }
.site-loading[data-active] {
  padding: 8px 13px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--deep-blue);
  box-shadow: 0 2px 8px rgba(24, 35, 38, .1);
  font-size: .82rem;
  font-weight: 800;
}
.site-loading[data-active] svg { display: block; }
@media (min-width: 761px) and (max-width: 920px) {
  .header-inner .brand img { width: 156px; }
  .site-header nav { gap: 11px; }
  .site-header nav a { font-size: .76rem; }
}
@media (max-width: 760px) {
  .header-inner .brand img { width: min(50vw, 210px); }
  .site-header nav.is-open { gap: 0; }
  .reading-bar { align-items: center; }
  .preview-note { line-height: 1.4; }
}

/* Home */
.home-hero { min-height: 0; }
.home-hero .hero-content { padding-block: clamp(62px, 9vw, 125px); }
.home-hero .hero-stage { margin: 0 0 22px; }
.home-hero .hero-art { width: min(45%, 630px); bottom: 24px; right: 0; opacity: .54; }
.home-hero h1 { max-width: 16ch; }
.home-focus, .home-next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  column-gap: clamp(14px, 2.5vw, 34px);
}
.home-focus { align-items: start; row-gap: 24px; }
.home-focus h2 { max-width: 20ch; }
.home-focus p { max-width: 58ch; }
.landing-focus { padding-bottom: clamp(38px, 5vw, 76px); }
.landing-focus .project-status { margin: 14px 0 0; padding: 0; border: 0; }
.landing-focus .lead { margin-bottom: .75em; }
.home-project {
  margin-top: 20px;
  padding: clamp(14px, 2vw, 24px);
  border-left: 2px solid var(--red);
  background: #ebe8df;
}
.home-project .eyebrow { margin: 0 0 8px; color: var(--red); }
.home-project h3 { max-width: 36ch; margin-bottom: .42em; font-size: clamp(1.12rem, 2.2vw, 1.48rem); }
.home-project h3 + p { max-width: 55ch; margin-bottom: 14px; font-size: .91rem; }
.home-hero .hero-art svg { display: block; width: 100%; height: auto; }
.home-hero .hero-art .hero-court-base { position: absolute; inset: 0; opacity: .32; }
.home-hero .hero-art .hero-court-base[hidden] { display: none; }
.home-next { row-gap: clamp(14px, 2.5vw, 34px); }
.home-funding, .home-contact { padding: clamp(22px, 4vw, 54px); }
.home-next h2 { max-width: 22ch; margin-bottom: .55em; font-size: clamp(1.65rem, 3.2vw, 2.6rem); }
.home-funding { background: var(--deep-blue); color: var(--paper); }
.home-funding p { max-width: 43ch; }
.home-funding a:focus-visible { outline-color: var(--paper); }
.home-contact { background: #ebe8df; }
.home-contact h3 { margin-bottom: .45em; }
.home-contact p { max-width: 49ch; }
.home-next-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 14px; }
@media (min-width: 761px) {
  .home-next { row-gap: 0; }
  .home-next > section {
    display: grid;
    grid-row: span 2;
    grid-template-rows: 1fr auto;
    grid-template-rows: subgrid;
  }
}

/* Collections */
.compact-intro { padding-block: clamp(32px, 5vw, 64px); }
.compact-intro h1, .missing-page h1, .intake-form h1 { font-size: clamp(2.2rem, 5.2vw, 4.55rem); overflow-wrap: anywhere; }
.compact-intro h1 { max-width: 20ch; margin-bottom: .35em; }
.compact-intro p:last-child { margin-bottom: 0; }
.compact-intro .editorial-back { margin-bottom: 22px; }
.editorial-back { font-size: .86rem; font-weight: 800; }
.collection { padding-block: clamp(32px, 6vw, 74px); }
.collection h2, .project-detail h2 { max-width: none; }
.examples-note { margin-bottom: 14px; color: var(--slate); font-size: .82rem; }
.article-feature {
  display: grid; grid-template-columns: .95fr 1.05fr; align-items: stretch;
  background: #ebe8df; border-top: 3px solid var(--red); margin-bottom: clamp(30px, 6vw, 70px);
}
.article-feature-copy { align-self: center; padding: clamp(20px, 5vw, 64px); }
.article-feature-copy .eyebrow { margin-bottom: 14px; }
.article-feature h2 { max-width: 18ch; margin-bottom: .45em; }
.article-feature img { display: block; width: 100%; height: 100%; min-height: 265px; object-fit: cover; }
.status-group { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.status-chip { display: inline-block; width: fit-content; padding: 4px 8px; border: 1px solid currentColor; font-size: .72rem; font-weight: 800; line-height: 1.35; }
.article-list, .project-list { list-style: none; padding: 0; margin: 0; }
.article-list { border-top: 1px solid var(--line); }
.article-row { border-bottom: 1px solid var(--line); }
.article-row-link {
  display: grid; grid-template-columns: minmax(150px, .28fr) minmax(0, 1fr) 32px;
  align-items: start; gap: 16px 20px; padding: 22px 12px;
  min-height: 44px; text-decoration: none;
}
.article-row-copy { grid-column: 2; }
.article-row-link:not(:has(.status-group)) .article-row-copy { grid-column: 1 / 3; }
.article-row h2 { font-size: clamp(1.32rem, 2.2vw, 2rem); margin-bottom: .35em; }
.article-row :is(.status-group, p:last-child) { margin-bottom: 0; }
.article-row-link .action-icon { grid-column: 3; justify-self: end; }
.project-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.project-tile { min-width: 0; background: #ebe8df; border-top: 3px solid var(--red); }
.project-card-link {
  display: flex; flex-direction: column; align-items: start;
  padding: clamp(19px, 3vw, 32px); height: 100%; min-height: 206px; text-decoration: none;
}
.project-tile h2 { font-size: clamp(1.32rem, 2.2vw, 1.85rem); margin-bottom: .42em; overflow-wrap: anywhere; }
.project-card-need { margin: 0 0 14px; font-size: .94rem; }
.project-tile:has(.example-label) { border-color: #7c898b; background: #efede6; }
.project-card-link .action-icon { align-self: end; margin-top: auto; }
.article-row-link:focus-visible, .project-card-link:focus-visible { outline-offset: -3px; }
:is(.article-row-link, .project-card-link):is(:hover, :focus-visible) h2 { text-decoration: underline; text-underline-offset: .2em; }
:is(.article-row-link, .project-card-link):active { background: #e0ddd2; }
.project-invite { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.project-invite h2 { font-size: clamp(1.38rem, 2.4vw, 2.1rem); margin-bottom: .35em; }
.project-invite p { margin: 0; }
.project-detail { max-width: 790px; padding-block: clamp(32px, 6vw, 75px); }
.project-detail dl { margin-top: 0; }
.project-detail dl > div { padding-block: 18px; border-top: 1px solid var(--line); }
.project-detail dt { font-weight: 800; }
.project-detail dd { margin: .35em 0 0; }
.intake-section { padding-block: clamp(34px, 7vw, 86px); }
.intake-form h1 { margin: 20px 0 14px; max-width: 20ch; }
.intake-form > .form-message { margin-block: 16px; }
.intake-form button { margin-top: 16px; }

/* 404 */
.missing-page {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center;
  gap: clamp(24px, 6vw, 80px); min-height: 52vh; padding-block: clamp(40px, 7vw, 90px);
}
.missing-page h1 { margin-bottom: .35em; }
.missing-page .eyebrow { color: var(--red); margin-bottom: 12px; }
.missing-wink { font-size: 1.2rem; font-weight: 800; margin-bottom: .45em; }
.missing-links { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.missing-court { display: block; justify-self: center; height: auto; }
.missing-court path { fill: none; stroke: var(--deep-blue); stroke-width: 4; }
.missing-court circle { fill: var(--red); }

@media (max-width: 1000px) {
  .project-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .home-hero .hero-content { padding-block: 43px 38px; }
  .home-hero h1 { max-width: 14.5ch; }
  .hero-actions {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(96px, 38%);
    align-items: center; gap: 14px;
  }
  .home-hero .hero-art {
    position: relative; inset: auto; width: min(100%, 176px); justify-self: end;
    margin: 12px 0 0; opacity: .66;
  }
  .home-focus, .home-next, .article-feature, .missing-page {
    grid-template-columns: minmax(0, 1fr);
  }
  .article-feature img { height: auto; min-height: 0; max-height: 310px; }
  .article-row-link { grid-template-columns: minmax(0, 1fr) 32px; gap: 7px 10px; padding-inline: 6px; }
  .article-row-link .article-row-copy,
  .article-row-link:not(:has(.status-group)) .article-row-copy { grid-column: 1; }
  .article-row-link .status-group { grid-column: 1 / -1; }
  .article-row-link .action-icon { grid-column: 2; }
  .project-list { grid-template-columns: 1fr; gap: 11px; }
  .project-card-link { min-height: 0; }
  .project-invite { align-items: flex-start; flex-direction: column; }
  .missing-court { max-width: 260px; }
}
@media (max-width: 760px) {
  main :is(h1, h2, h3, .button) { overflow-wrap: anywhere; }
}
@media (max-width: 360px) {
  .hero-actions { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .home-hero .hero-art { width: min(46%, 150px); margin-top: 0; }
}
.form-extra { margin-top: 14px; }
.form-extra summary { cursor: pointer; width: fit-content; font-size: .9rem; font-weight: 800; }

/* Calls to action */
.button {
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  justify-content: space-between;
  gap: clamp(10px, 1.5vw, 20px);
  padding: 7px 8px 7px 17px;
  border-width: 1px;
  border-radius: 999px;
  text-align: start;
}
.button > .button-label { min-width: 0; font-size: inherit; line-height: inherit; }
.button .action-icon, .action-icon {
  display: grid; place-items: center; flex: 0 0 32px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--red); color: var(--white);
}
.action-icon svg { display: block; overflow: visible; }
.button-outline { border-color: currentColor; background: transparent; color: var(--ink); }
.button-ink:hover { background: var(--deep-blue); }
.button-outline:hover { background: #ebe8df; color: var(--ink); }
.button:active { filter: brightness(.90); }
@media (prefers-reduced-motion: no-preference) {
  .button { transition: background-color 180ms, color 180ms, transform 130ms; }
  .button:active { transform: scale(.97); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .action-icon svg { transition: transform 350ms cubic-bezier(.23, 1, .32, 1); }
  :is(.button, .project-card-link, .article-row-link):hover .action-icon svg { transform: rotate(-45deg); }
  a[download]:hover .action-icon svg { transform: translateY(2px); }
  .button { --hover-light: rgb(182 64 43 / .24); }
  .button-ink { --hover-light: rgb(255 255 255 / .28); }
  .button[data-glow]:hover {
    background-image: radial-gradient(circle 64px at var(--glow-x) var(--glow-y), var(--hover-light), transparent);
  }
}
.footer-inner { grid-template-columns: auto minmax(10ch, 1fr) auto; }
.footer-context { display: grid; gap: 6px; }
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px clamp(12px, 2.5vw, 34px); }
.footer-link { display: inline-flex; align-items: center; min-height: 44px; width: fit-content; font-size: .86rem; font-weight: 800; }
.footer-sign-in { border: 1px solid currentColor; padding-inline: 14px; text-decoration: none; }
.footer-sign-in:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

@media (max-width: 760px) {
  .site-header .menu-toggle {
    display: grid; place-items: center; width: 44px; height: 44px;
    padding: 0; border: 1px solid var(--line); border-radius: 50%;
  }
  .site-header.navigation-ready .menu-toggle:active { background: #eae8df; }
  .menu-lines { display: block; width: 20px; height: 16px; border: 0; position: relative; }
  .menu-lines::after { content: none; }
  .menu-lines span {
    position: absolute; left: 0; right: 0; top: 7px;
    height: 2px; background: var(--ink); border-radius: 2px;
    transition: transform 180ms, opacity 180ms;
  }
  .menu-lines span:first-child { transform: translateY(-6px); }
  .menu-lines span:last-child { transform: translateY(6px); }
  .menu-toggle[aria-expanded="true"] .menu-lines span:first-child { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-lines span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-lines span:last-child { transform: rotate(-45deg); }
  .site-header nav a { min-height: 44px; }
  .site-header:not(.navigation-ready) .menu-toggle { display: none; }
  .site-header:not(.navigation-ready) .header-inner { flex-wrap: wrap; }
  .site-header:not(.navigation-ready) nav {
    display: flex; flex-wrap: wrap; position: static; gap: 0 16px; border: 0;
    box-shadow: none; padding: 0;
  }
  .footer-inner { grid-template-columns: 1fr; gap: 10px; }
}
