/* =========================================================
   Paper inner pages — case studies, notes, contact, 404
   Builds on paper.css.
   ========================================================= */

.shell {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

main {
  position: relative;
}

/* ---------- Shared small type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

.eyebrow-mark {
  display: none;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.label::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

/* ---------- Old button API, made paper ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border: var(--border);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-2);
  box-shadow: 3px 3px 0 var(--yellow);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    background-color 0.18s ease;
}

.button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--yellow);
}

.button:active {
  transform: translate(1px, 1px);
}

.button--ghost {
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.button--ghost:hover {
  background: var(--yellow-soft);
  box-shadow: 4px 4px 0 var(--ink);
}

/* ---------- Back links ---------- */

.case__back,
.article__back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 26px;
  padding-bottom: 3px;
  border-bottom: 1.5px dashed rgba(23, 21, 16, 0.42);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.case__back:hover,
.article__back:hover {
  background: var(--yellow);
  border-color: var(--ink);
}

/* ---------- Case study ---------- */

.case {
  background: transparent;
}

.case-hero {
  position: relative;
  padding: 28px 0 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.case-hero__inner {
  position: relative;
  overflow: hidden;
  padding: 42px 46px 34px;
  background: var(--paper-2);
  border: var(--border);
  border-radius: 28px 25px 30px 27px;
  box-shadow: var(--shadow-soft);
}

.case-hero__inner::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 8px;
  background: var(--yellow);
  border-right: var(--border);
}

.case-hero__inner::after {
  content: "";
  position: absolute;
  top: 30px;
  right: 30px;
  width: 82px;
  height: 62px;
  background-image: radial-gradient(rgba(23, 21, 16, 0.42) 1px, transparent 1.2px);
  background-size: 10px 10px;
  opacity: 0.55;
  transform: rotate(4deg);
  pointer-events: none;
}

.case-eyebrow {
  color: var(--muted);
}

.case-header h1 {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 12px 0 18px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(48px, 6.6vw, 80px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.018em;
  text-transform: none;
}

.case-header h1 .zero {
  font-family: var(--serif);
  font-size: 1em;
  font-weight: 400;
  letter-spacing: inherit;
  vertical-align: baseline;
}

.case-lede {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(21px, 2.3vw, 27px);
  line-height: 1.22;
  letter-spacing: 0;
}

.case-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 28px;
  max-width: 780px;
  margin: 20px 0 14px;
  padding: 15px 0;
  border-top: 1.5px dashed rgba(23, 21, 16, 0.28);
  border-bottom: 1.5px dashed rgba(23, 21, 16, 0.28);
}

.case-meta dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-meta dd {
  margin: 0;
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.5;
}

.case-stack {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.case-stack a {
  padding-bottom: 1px;
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
  color: var(--ink);
  text-decoration: none;
}

.case-stack a:hover {
  background: var(--yellow);
}

.case-figure {
  width: min(calc(100% - 48px), 1040px);
  margin: 30px auto 0;
  overflow: hidden;
  background: var(--paper-2);
  border: var(--border);
  border-radius: 12px;
  box-shadow: 8px 8px 0 var(--yellow);
}

.case-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.case-figure figcaption {
  padding: 9px 13px;
  border-top: var(--border);
  background: var(--paper-2);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-body {
  position: relative;
  width: min(calc(100% - 48px), 820px);
  margin: 30px auto 0;
  padding: 42px 44px 38px;
  background: var(--paper-2);
  border: var(--border);
  border-radius: 21px 18px 23px 19px;
  box-shadow: var(--shadow-paper);
}

.case-body::before,
.article__body::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 86px;
  height: 24px;
  background: rgba(255, 212, 59, 0.7);
  -webkit-clip-path: polygon(2% 2%, 100% 0, 97% 100%, 0 95%);
  clip-path: polygon(2% 2%, 100% 0, 97% 100%, 0 95%);
  transform: translateX(-50%) rotate(-2deg);
  pointer-events: none;
}

.case-body h2 {
  margin: 32px 0 11px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(30px, 3.3vw, 39px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.012em;
  text-transform: none;
}

.case-body h2:first-child {
  margin-top: 0;
}

.case-body p,
.case-body li {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.76;
}

.case-body p {
  margin: 0 0 16px;
}

.case-body ul {
  margin: 0 0 22px;
  padding-left: 20px;
}

.case-body li {
  margin-bottom: 7px;
  padding-left: 3px;
}

.case-body li::marker {
  color: var(--yellow-deep);
}

.case-body a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(23, 21, 16, 0.35);
}

.case-body a:hover {
  background: var(--yellow);
  border-color: var(--ink);
}

.case-body strong {
  color: var(--ink);
}

.case-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(calc(100% - 48px), 820px);
  margin: 24px auto 0;
  padding: 17px 0 68px;
  border-top: 1.5px dashed rgba(23, 21, 16, 0.3);
}

.case-next a {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.case-next a:hover {
  background: var(--yellow);
}

/* ---------- Notes / articles ---------- */

.article {
  background: transparent;
}

.article-hero {
  position: relative;
  padding: 28px 0 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.article-hero__inner {
  position: relative;
  overflow: hidden;
  padding: 42px 46px 38px;
  background: var(--yellow);
  border: var(--border);
  border-radius: 28px 25px 30px 27px;
  box-shadow: 8px 8px 0 var(--ink);
}

.article-hero__inner::after {
  content: "";
  position: absolute;
  top: 27px;
  right: 31px;
  width: 82px;
  height: 62px;
  background-image: radial-gradient(rgba(23, 21, 16, 0.4) 1px, transparent 1.2px);
  background-size: 10px 10px;
  opacity: 0.55;
  transform: rotate(4deg);
  pointer-events: none;
}

.article-hero .article__back {
  margin-bottom: 24px;
  border-color: rgba(23, 21, 16, 0.45);
}

.article__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px 17px;
  margin: 0 0 13px;
  color: rgba(23, 21, 16, 0.68);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 970px;
  margin: 0 0 17px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(42px, 5.4vw, 66px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.015em;
  text-transform: none;
}

.article__lede {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 25px);
  line-height: 1.24;
  letter-spacing: 0;
}

.article__body {
  position: relative;
  width: min(calc(100% - 48px), 820px);
  margin: 30px auto 0;
  padding: 42px 44px 38px;
  background: var(--paper-2);
  border: var(--border);
  border-radius: 21px 18px 23px 19px;
  box-shadow: var(--shadow-paper);
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.8;
}

.article__body > p {
  margin: 0 0 18px;
}

.article__body h2 {
  margin: 36px 0 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 39px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.012em;
  text-transform: none;
}

.article__body a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(23, 21, 16, 0.35);
}

.article__body a:hover {
  background: var(--yellow);
  border-color: var(--ink);
}

.article__body ul,
.article__body ol {
  margin: 0 0 22px;
  padding-left: 20px;
}

.article__body li {
  margin-bottom: 7px;
}

.article__body li::marker {
  color: var(--yellow-deep);
}

.article__body strong {
  color: var(--ink);
  font-weight: 700;
}

.article__body code {
  padding: 2px 5px;
  border: 1px solid rgba(23, 21, 16, 0.18);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.8em;
}

.article__body pre {
  margin: 0 0 24px;
  padding: 16px;
  overflow-x: auto;
  border: var(--border);
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper-2);
}

.article__body pre code {
  padding: 0;
  border: 0;
  background: none;
  color: var(--paper-2);
  font-size: 12.5px;
  line-height: 1.7;
}

.article__body blockquote {
  margin: 28px 0;
  padding: 3px 0 3px 20px;
  border-left: 3px solid var(--yellow-deep);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(21px, 2.4vw, 27px);
  font-style: italic;
  line-height: 1.3;
}

.article__footer {
  width: min(calc(100% - 48px), 820px);
  margin: 24px auto 0;
  padding: 18px 0 0;
  border-top: 1.5px dashed rgba(23, 21, 16, 0.3);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.article__footer p {
  margin: 0;
}

.article__footer a {
  color: var(--ink);
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
  text-decoration: none;
}

.article__nav {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  width: min(calc(100% - 48px), 820px);
  margin: 20px auto 0;
  padding: 17px 0 68px;
  border-top: 1.5px dashed rgba(23, 21, 16, 0.24);
}

.article__nav a {
  max-width: 48%;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.55;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.article__nav a:hover {
  background: var(--yellow);
}

/* ---------- Page hero (contact / 404) ---------- */

.page-hero {
  position: relative;
  padding: 28px 0 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.page-hero > .shell {
  position: relative;
  overflow: hidden;
  padding: 42px 46px 38px;
  background: var(--paper-2);
  border: var(--border);
  border-radius: 28px 25px 30px 27px;
  box-shadow: var(--shadow-soft);
}

.page-hero > .shell::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 8px;
  background: var(--yellow);
  border-right: var(--border);
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  margin: 13px 0 20px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(58px, 7.5vw, 98px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: none;
}

.page-hero__row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
}

.page-hero__lede {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

.page-hero__meta {
  flex: 0 0 auto;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.8;
  letter-spacing: 0.07em;
  text-align: right;
  text-transform: uppercase;
}

.page-hero--pink > .shell {
  background: var(--yellow);
  box-shadow: 8px 8px 0 var(--ink);
}

.page-hero--pink .eyebrow,
.page-hero--pink .page-hero__meta {
  color: rgba(23, 21, 16, 0.7);
}

.page-hero--pink .eyebrow::before {
  background: var(--ink);
}

.error-page {
  min-height: 0;
  padding-bottom: 92px;
}

.error-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.error-links .button {
  box-shadow: 3px 3px 0 var(--ink);
}

.error-links .button--ghost {
  box-shadow: 3px 3px 0 rgba(23, 21, 16, 0.9);
}

/* ---------- Contact page ---------- */

.contact-page {
  position: relative;
  padding: 26px 0 92px;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.contact-page .contact-star {
  display: none;
}

.contact-page__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(34px, 4.4vw, 58px);
  align-items: start;
  padding: 46px;
  background: var(--yellow);
  border: var(--border);
  border-radius: 28px 25px 30px 27px;
  box-shadow: 9px 9px 0 var(--ink);
}

.contact-page__grid::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 28px;
  width: 74px;
  height: 56px;
  background-image: radial-gradient(rgba(23, 21, 16, 0.4) 1px, transparent 1.2px);
  background-size: 9px 9px;
  opacity: 0.5;
  transform: rotate(4deg);
  pointer-events: none;
}

.contact-page .label {
  color: rgba(23, 21, 16, 0.7);
}

.contact-page__intro h2 {
  margin: 12px 0 19px;
  font-family: var(--serif);
  font-size: clamp(40px, 5.1vw, 60px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.015em;
  text-transform: none;
}

.contact-page__intro > p:not(.label) {
  max-width: 470px;
  margin: 0 0 25px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.66;
}

.contact-page__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 22px;
  max-width: 500px;
  padding-top: 17px;
  border-top: 1.5px solid rgba(23, 21, 16, 0.30);
}

.contact-page__details .detail {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-page__details .detail--wide {
  grid-column: 1 / -1;
}

.detail__label {
  color: rgba(23, 21, 16, 0.66);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-page__details .detail > a,
.contact-page__details .detail > p {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.2;
  text-decoration: none;
}

.contact-page__details .detail > p {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.55;
}

.contact-page__details .detail > a:hover {
  background: var(--paper-2);
}

.detail__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 16px;
  padding-top: 2px;
  font-family: var(--mono);
  font-size: 8.5px;
}

.detail__socials a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 21, 16, 0.4);
}

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

.contact-form-card {
  padding: 30px;
  background: var(--paper-2);
  border: var(--border);
  border-radius: 19px 22px 17px 23px;
  box-shadow: 6px 6px 0 rgba(23, 21, 16, 0.18);
}

.contact-form-card h2 {
  margin: 0 0 9px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 38px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.012em;
  text-transform: none;
}

.contact-form-card__note {
  margin: 0 0 23px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.65;
  letter-spacing: 0.04em;
}

.field {
  margin-bottom: 15px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.3;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1.5px solid rgba(23, 21, 16, 0.55);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--paper-2);
  box-shadow: 3px 3px 0 var(--yellow);
}

.field textarea {
  min-height: 145px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

.form-actions .button {
  box-shadow: 3px 3px 0 var(--yellow);
}

.form-note {
  max-width: 220px;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.form-status {
  display: none;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1.5px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  font-size: 11.5px;
  line-height: 1.55;
}

.form-status.is-visible {
  display: block;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .case-hero__inner,
  .article-hero__inner,
  .page-hero > .shell {
    padding: 34px 32px 30px;
  }

  .case-meta {
    gap: 14px;
  }

  .contact-page__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form-card {
    max-width: 660px;
  }

  .page-hero__row {
    display: block;
  }

  .page-hero__meta {
    margin-top: 14px;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .shell {
    width: calc(100% - 32px);
  }

  .case__back,
  .article__back {
    margin-bottom: 20px;
  }

  .case-hero,
  .article-hero,
  .page-hero {
    padding-top: 14px;
  }

  .case-hero__inner,
  .article-hero__inner,
  .page-hero > .shell {
    padding: 28px 20px 25px;
    border-radius: 22px;
  }

  .case-hero__inner::before,
  .page-hero > .shell::before {
    width: 6px;
  }

  .case-hero__inner::after,
  .article-hero__inner::after,
  .page-hero > .shell::after {
    display: none;
  }

  .case-header h1 {
    margin-top: 10px;
    font-size: clamp(39px, 10.7vw, 54px);
  }

  .case-lede {
    font-size: 20px;
  }

  .case-meta {
    grid-template-columns: 1fr;
    gap: 11px;
    margin-top: 16px;
  }

  .case-figure {
    width: calc(100% - 32px);
    margin-top: 20px;
    box-shadow: 5px 5px 0 var(--yellow);
  }

  .case-body {
    width: calc(100% - 32px);
    margin-top: 22px;
    padding: 30px 22px 27px;
    border-radius: 18px;
  }

  .case-body h2 {
    margin-top: 27px;
    font-size: 29px;
  }

  .case-body p,
  .case-body li {
    font-size: 14.5px;
  }

  .case-next {
    display: block;
    width: calc(100% - 32px);
    padding-bottom: 52px;
  }

  .case-next a {
    display: block;
    margin-bottom: 9px;
  }

  .article-hero h1 {
    font-size: clamp(37px, 10.4vw, 53px);
  }

  .article__lede {
    font-size: 20px;
  }

  .article__body {
    width: calc(100% - 32px);
    margin-top: 22px;
    padding: 30px 22px 27px;
    font-size: 14.5px;
  }

  .article__body h2 {
    margin-top: 30px;
    font-size: 29px;
  }

  .article__body pre {
    padding: 13px;
  }

  .article__footer {
    width: calc(100% - 32px);
  }

  .article__nav {
    display: block;
    width: calc(100% - 32px);
    padding-bottom: 52px;
  }

  .article__nav a {
    display: block;
    max-width: 100%;
    margin-bottom: 9px;
  }

  .article__nav span:empty {
    display: none;
  }

  .page-hero h1 {
    font-size: clamp(46px, 13vw, 68px);
  }

  .page-hero__lede {
    font-size: 14.5px;
  }

  .error-page {
    padding-bottom: 58px;
  }

  .contact-page {
    padding: 14px 0 58px;
  }

  .contact-page__grid {
    padding: 27px 20px;
    border-radius: 22px;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .contact-page__intro h2 {
    font-size: clamp(36px, 10.6vw, 46px);
  }

  .contact-page__details {
    grid-template-columns: 1fr;
  }

  .contact-page__details .detail--wide {
    grid-column: auto;
  }

  .contact-page__details .detail > a {
    font-size: 20px;
  }

  .contact-form-card {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-actions {
    gap: 10px;
  }

  .form-note {
    max-width: none;
  }
}

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