:root {
  color-scheme: light;
  --paper: #f7f6f1;
  --ink: #1d1d17;
  --muted: #53534a;
  --line: #cfcdc2;
  --yellow: #ffda45;
  --white: #fffdfa;
  --width: 1240px;
  font-family: Onest, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(82px + env(safe-area-inset-top, 0px)); }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.55; }
body, a, button, input, textarea { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, p, figure, dl, dd { margin: 0; }
h1, h2, h3, h4, h5 { line-height: 1.08; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
[id] { scroll-margin-top: 24px; }

.wrap { width: min(calc(100% - 88px), var(--width)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; left: 12px; top: 12px; padding: 8px 14px; background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.site-header.is-compact { height: var(--full-header-height); border-color: transparent; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; }
.header-inner {
  --docked-width: min(calc(100% - 88px), var(--width));
  --docked-padding: 0px;
  --docked-row-gap: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}
.header-inner .header-cta { justify-self: end; }
.header-outline { display: none; }
.brand { display: block; flex: none; width: 148px; }
.main-nav, .footer-nav { display: flex; align-items: center; gap: clamp(15px, 2.8vw, 40px); }
.main-nav a, .footer-nav a { font-size: .94rem; font-weight: 600; text-decoration: none; }
.main-nav a:hover, .footer-nav a:hover { text-decoration: underline; text-underline-offset: .28em; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 11px 21px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--ink);
  font-size: .93rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s, color .18s, border-color .18s;
}
.button-outline { border-color: var(--ink); background: transparent; }
.button-outline:hover, .button-dark { background: var(--ink); color: var(--white); }
.button-primary { background: var(--yellow); border-color: var(--yellow); }
.button-primary:hover { background: #f4c939; border-color: #f4c939; }
.button-dark:hover { background: #414136; }
.button:disabled { cursor: wait; opacity: .65; }
.site-header.is-compact .header-inner {
  --collapse-start-width: var(--docked-width);
  --collapse-duration: .62s;
  --collapse-easing: cubic-bezier(.24, .75, .24, 1);
  --island-height: 62px;
  --island-button-height: 44px;
  --island-radius: calc(var(--island-height) / 2);
  --logo-start-width: 148px;
  --cta-start-height: 50px;
  --cta-start-padding: 21px;
  position: fixed;
  z-index: 8;
  inset-inline: 0;
  top: calc(12px + env(safe-area-inset-top, 0px));
  width: min(calc(100% - 48px), 720px);
  min-height: var(--island-height);
  padding: 6px calc((var(--island-height) - var(--island-button-height)) / 2 - 1px);
  border: 1px solid transparent;
  border-radius: var(--island-radius);
  background: #fffdf5ed;
  backdrop-filter: blur(14px);
  box-shadow: 0 5px 22px #24211914;
  animation: header-collapse var(--collapse-duration) var(--collapse-easing) both;
}
.site-header.is-compact .brand {
  width: 119px;
  animation: header-logo-resize var(--collapse-duration) var(--collapse-easing) both;
}
.site-header.is-compact .header-cta {
  min-height: var(--island-button-height);
  padding: 8px 15px;
  border-radius: calc(var(--island-button-height) / 2);
  animation: header-cta-resize var(--collapse-duration) var(--collapse-easing) both;
}
.site-header.is-compact .header-outline {
  display: block;
  position: absolute;
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  pointer-events: none;
}
.header-outline rect {
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  rx: calc(var(--island-radius) - 1px);
  fill: none;
  stroke: #1d1d1740;
  stroke-width: 1.3px;
  stroke-linecap: round;
  stroke-dasharray: 100 100;
  animation: header-outline-radius var(--collapse-duration) var(--collapse-easing) both,
    header-outline-trace .82s cubic-bezier(.32, .05, .22, 1) .12s both;
}
@keyframes header-collapse {
  from {
    width: var(--collapse-start-width);
    min-height: var(--full-header-height);
    padding-inline: 0;
    border-radius: 8px;
    opacity: .4;
    transform: translateY(-10px);
  }
}
@keyframes header-logo-resize {
  from { width: var(--logo-start-width); }
}
@keyframes header-cta-resize {
  from { min-height: var(--cta-start-height); padding-inline: var(--cta-start-padding); border-radius: 4px; }
}
@keyframes header-outline-radius {
  from { rx: 7px; }
}
@keyframes header-outline-trace {
  0% { stroke-dashoffset: 100; stroke: var(--yellow); }
  80% { stroke-dashoffset: 0; stroke: var(--yellow); }
  100% { stroke-dashoffset: 0; stroke: #1d1d1740; }
}
.site-header.is-expanding .header-inner { animation-name: header-expand; }
.site-header.is-expanding .brand { animation-name: header-logo-expand; }
.site-header.is-expanding .header-cta { animation-name: header-cta-expand; }
.site-header.is-expanding .header-outline rect {
  animation: header-outline-untrace .42s ease-in-out both;
}
@keyframes header-expand {
  to {
    top: 0;
    width: var(--docked-width);
    min-height: calc(var(--full-header-height) - 1px);
    padding: var(--docked-padding);
    row-gap: var(--docked-row-gap);
    border-width: 0;
    border-radius: 0;
    background: var(--paper);
    box-shadow: none;
  }
}
@keyframes header-logo-expand {
  to { width: var(--logo-start-width); }
}
@keyframes header-cta-expand {
  to {
    min-height: var(--cta-start-height);
    padding: 11px var(--cta-start-padding);
    border-radius: 4px;
  }
}
@keyframes header-outline-untrace {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: 100; opacity: 0; }
}
.text-link { font-weight: 650; text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: .28em; }
.text-link:hover { text-decoration-thickness: 2px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 82px);
  padding-block: clamp(60px, 7.4vw, 108px) clamp(60px, 6vw, 96px);
}
.eyebrow, .paper-label, .art-caption {
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.4;
}
.eyebrow { display: flex; align-items: center; gap: .65em; margin-bottom: 20px; color: var(--muted); }
.eyebrow::before { content: ""; flex: 0 0 9px; width: 9px; height: 9px; background: #b08a03; }
.hero h1 { max-width: 11em; font-size: clamp(2.4rem, 5.66vw, 5.1rem); line-height: 1.01; letter-spacing: -.075em; font-weight: 700; overflow-wrap: anywhere; }
.hero-lead { max-width: 30em; margin-top: 25px; color: var(--muted); font-size: clamp(1.04rem, 1.5vw, 1.27rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 30px; }
.hero-actions .text-link { font-size: .94rem; }
.hero-figure { min-width: 0; }
.hero-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 426px;
  padding: 64px clamp(18px, 3.2vw, 47px) 35px;
  overflow: hidden;
  isolation: isolate;
  background: var(--yellow);
  border: 1px solid #e0b52b;
}
.hero-art::before, .hero-art::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}
.hero-art::before { width: 72%; height: 67%; right: -16%; bottom: -17%; border: 1px solid #a48219; transform: rotate(-20deg); }
.hero-art::after { width: 47%; height: 50%; left: -25%; top: 13%; border: 1px solid #a48219; transform: rotate(-20deg); }
.art-caption { position: absolute; top: 18px; inset-inline: 20px; display: flex; justify-content: space-between; gap: 12px; }
.art-caption span:last-child { font-weight: 500; color: #514014; text-align: right; }
.art-input, .art-output { display: flex; align-items: center; gap: 11px; width: fit-content; max-width: 100%; padding: 9px 13px; font-size: .875rem; }
.art-input { border: 1px solid var(--ink); background: #ffe889; font-weight: 650; }
.art-input svg { flex: none; }
.art-connector { width: 1px; height: 20px; background: var(--ink); }
.art-ledger { align-self: center; width: min(100%, 390px); background: var(--white); border: 1px solid var(--ink); box-shadow: 5px 6px 0 #201d1450; }
.ledger-head, .art-ledger dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 8px; align-items: center; padding: 10px 13px; }
.ledger-head { background: #eae7d9; }
.ledger-head strong { font-size: .94rem; }
.ledger-head span, .art-ledger dd { color: var(--muted); }
.ledger-head span, .art-ledger dl { font-size: .84rem; }
.art-ledger dl > div { border-top: 1px solid #dedbd0; }
.art-output { background: var(--ink); color: var(--white); padding: 11px 15px; }
.art-output strong { font-size: .98rem; }
.art-output span { color: #e2decc; }
figcaption { margin-top: 9px; color: var(--muted); font-size: .86rem; }

.cases, .formats { padding-block: 34px clamp(60px, 8vw, 112px); border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 24px; margin-bottom: clamp(33px, 4.3vw, 62px); }
.section-heading h2, .process h2, .contact h2 { font-size: clamp(2.55rem, 5.2vw, 4.6rem); font-weight: 650; letter-spacing: -.067em; }
.section-heading > p { justify-self: end; max-width: 28ch; color: var(--muted); font-size: 1.08rem; }
.case { border-bottom: 1px solid var(--line); padding-bottom: 25px; margin-bottom: clamp(36px, 6vw, 84px); }
.case-main { display: grid; grid-template-columns: minmax(0, 1.10fr) minmax(0, 1fr); gap: clamp(29px, 5.6vw, 80px); align-items: start; }
.case-reverse .case-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1.10fr); }
.case-reverse .case-figure { grid-column: 2; grid-row: 1; }
.case-reverse .case-copy { grid-column: 1; grid-row: 1; }
.case-copy { padding-top: 12px; }
.case-copy .eyebrow { margin-bottom: 13px; }
.case-copy h3, .small-cases > h3 { font-size: clamp(2rem, 3.35vw, 3.18rem); font-weight: 650; letter-spacing: -.057em; }
.abbreviations { color: var(--muted); font-size: .9rem; margin-top: 11px; }
.abbreviations b { color: var(--ink); }
.case-lead { color: var(--muted); margin-top: 13px; font-size: 1.05rem; }
.case-summary { margin-top: 22px; }
.case-summary > div { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 10px; border-top: 1px solid var(--line); padding-block: 11px; }
.case-summary dt { font-size: .875rem; font-weight: 700; line-height: 1.68; }
.case-summary dd { color: var(--muted); }

.case-art { display: grid; place-items: center; min-height: 350px; padding: clamp(18px, 4.2vw, 56px); border: 1px solid #2724191b; }
.training-figure .case-art { background: #e0e9eb; }
.training-paper { width: min(100%, 420px); background: var(--white); border: 1px solid var(--ink); box-shadow: 5px 5px 0 #3657664a; }
.training-paper-head { padding: 12px clamp(10px, 2vw, 20px); background: #f0f3f1; }
.training-paper-head strong { display: block; margin-top: 3px; font-size: clamp(1.2rem, 2.6vw, 1.8rem); letter-spacing: -.035em; }
.training-checklist > div { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: 8px; align-items: start; padding: 10px clamp(10px, 2vw, 20px); border-top: 1px solid var(--line); font-size: .875rem; }
.training-checklist dt { font-weight: 650; }
.training-checklist dd { color: var(--muted); }
.finance-figure .case-art { background: #e3e7db; }
.reputation-figure .case-art { background: #e8e5ee; }
.docs-figure .case-art { background: #f1e2c4; }
.report-paper, .review-paper, .docs-paper { position: relative; width: min(100%, 420px); background: var(--white); border: 1px solid var(--ink); }
.paper-label { color: var(--muted); }
.report-paper { box-shadow: 5px 5px 0 #54604c45; }
.report-paper .paper-label, .paper-footer { padding: 12px clamp(10px, 2vw, 21px); }
.paper-footer { font-size: .85rem; color: var(--muted); }
.report-columns { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--ink); }
.report-columns > div { padding: 13px clamp(10px, 2vw, 21px); }
.report-columns > div + div { border-left: 1px solid var(--ink); }
.report-columns b { font-size: clamp(1.2rem, 2.5vw, 2rem); line-height: 1.1; letter-spacing: -.04em; }
.report-columns ul { list-style: none; padding: 0; margin: 8px 0 0; font-size: .9rem; }
.report-columns li + li { margin-top: 4px; }
.review-paper { padding: 18px clamp(12px, 2.4vw, 25px); box-shadow: 5px 5px 0 #53485b43; }
.sample-message { margin-top: 7px; }
.review-draft { margin-top: 13px; padding: 11px 13px; background: #f2eff5; font-size: .92rem; }
.review-draft p + p { margin-top: 5px; }
.review-state { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--muted); font-size: .875rem; }
.review-state span { width: 9px; height: 9px; flex: none; background: #d7ac21; border: 1px solid #8a6b14; }
.docs-paper { padding: 20px clamp(12px, 2.4vw, 27px); box-shadow: 6px 6px 0 #f4d58e, 7px 7px 0 var(--ink); }
.docs-paper > strong { display: block; margin-top: 3px; font-size: clamp(1.15rem, 2.4vw, 1.6rem); letter-spacing: -.03em; }
.file-list { padding: 0; margin: 12px 0 0; list-style: none; }
.file-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); font-size: .88rem; }
.file-list b { color: var(--muted); }

.case-details { margin-top: 17px; }
.case-details summary { display: inline-flex; align-items: center; min-height: 44px; gap: 13px; color: var(--ink); cursor: pointer; list-style: none; font-weight: 700; }
.case-details summary::-webkit-details-marker { display: none; }
.case-details summary::before { content: "+"; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line); background: var(--white); font-size: 1.2rem; line-height: 1; }
.case-details summary:hover::before, .case-details[open] summary::before { border-color: #cba112; background: var(--yellow); }
.case-details[open] summary::before { content: "−"; }
.case-details .when-open, .case-details[open] .when-closed { display: none; }
.case-details[open] .when-open { display: inline; }
.details-body { margin-top: 15px; padding: clamp(17px, 3.1vw, 38px); background: #eeede6; }
.details-body h4 { font-size: clamp(1.45rem, 2.8vw, 2.25rem); letter-spacing: -.04em; }
.detail-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 23px; padding: 0; margin-block: 20px 26px; list-style: none; counter-reset: flow; }
.detail-flow li { counter-increment: flow; padding-top: 10px; border-top: 1px solid #b8b6ab; color: var(--muted); }
.detail-flow li::before { content: counter(flow) "."; display: inline-block; margin-right: 5px; color: var(--ink); font-weight: 650; }
.detail-flow strong { display: inline; color: var(--ink); }
.detail-flow strong::after { content: ""; display: block; height: 4px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.detail-grid h5 { margin-bottom: 6px; font-size: 1rem; }
.detail-grid p, .detail-note { color: var(--muted); }
.detail-note { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 12px; }
.training-architecture { margin-top: clamp(28px, 4vw, 44px); }
.architecture-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px; margin-top: 16px; }
.architecture-panel { border: 1px solid var(--line); background: var(--white); }
.architecture-panel h5 { padding: 13px clamp(13px, 2.3vw, 22px); border-bottom: 1px solid var(--line); background: #e0e9eb; font-size: 1rem; }
.architecture-panel-own h5 { background: var(--yellow); }
.architecture-panel dl { padding-inline: clamp(13px, 2.3vw, 22px); }
.architecture-panel dl > div { padding-block: 12px; }
.architecture-panel dl > div + div { border-top: 1px solid var(--line); }
.architecture-panel dt { font-weight: 700; }
.architecture-panel dt span { color: var(--muted); font-weight: 400; }
.architecture-panel dd { margin-top: 2px; color: var(--muted); }
.architecture-exchange { margin-top: 13px; color: var(--muted); }
.architecture-exchange strong { color: var(--ink); }

.small-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4.4vw, 62px); margin-top: 29px; }
.mini-illustration { display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid #2724191b; background: #eff3f6; }
.mini-illustration img { width: 100%; height: 100%; object-fit: contain; }
.small-grid h4 { margin-top: 17px; font-size: clamp(1.35rem, 2.25vw, 2rem); letter-spacing: -.041em; }
.small-grid article > p { margin-top: 9px; color: var(--muted); max-width: 49ch; }

.process-band { background: var(--ink); color: var(--white); }
.process { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 8vw, 120px); padding-block: clamp(58px, 8.5vw, 112px); }
.process-intro p { max-width: 31ch; margin-top: 20px; color: #d6d2c4; font-size: 1.1rem; }
.process-list { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.process-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; border-top: 1px solid #706e61; padding-block: 15px; counter-increment: step; }
.process-list li:last-child { border-bottom: 1px solid #706e61; }
.process-list li::before { content: counter(step) "."; color: var(--yellow); font-weight: 700; }
.process-list h3 { font-size: 1.22rem; margin-bottom: 5px; }
.process-list p { color: #d6d2c4; max-width: 49ch; }
.formats { padding-top: clamp(55px, 7.2vw, 103px); border-top: 0; }
.formats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 4.5vw, 60px); }
.formats-grid article { border-top: 1px solid var(--line); padding-top: 16px; }
.formats-grid h3 { font-size: clamp(1.45rem, 2.55vw, 2.25rem); font-weight: 650; letter-spacing: -.045em; margin-bottom: 8px; }
.formats-grid p { color: var(--muted); }
.contact-band { background: var(--yellow); }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(30px, 8vw, 118px); padding-block: clamp(53px, 7.5vw, 100px); }
.contact h2 { max-width: 13ch; }
.contact-copy p { max-width: 30ch; margin-block: 18px 15px; font-size: 1.06rem; }
.contact-form, .contact-form label { display: grid; gap: 7px; }
.contact-form { gap: 14px; align-self: center; }
.contact-form label { display: block; min-width: 0; font-size: .94rem; font-weight: 650; }
.contact-form .optional { font-weight: 400; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form input:not([type=hidden], [hidden]), .contact-form textarea {
  display: block;
  width: 100%;
  min-height: 47px;
  margin-top: 5px;
  padding: 9px 10px;
  border: 1px solid #695718;
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
}
.contact-form textarea { resize: vertical; }
.contact-form .button { justify-self: start; }
.form-status:empty { display: none; }
.form-status { font-size: .9rem; }
.site-footer { padding-bottom: 10px; }
.footer-inner { min-height: 90px; }

@media (max-width: 1080px) {
  .wrap { width: min(calc(100% - 56px), var(--width)); }
  .header-inner { --docked-width: calc(100% - 56px); }
  .hero h1 { font-size: clamp(2.4rem, 5.6vw, 5.1rem); }
  .hero-art { min-height: 365px; }
  .case-art { min-height: 305px; }
}

@media (max-width: 780px) {
  html { scroll-padding-top: calc(100px + env(safe-area-inset-top, 0px)); }
  .header-inner { --docked-padding: 10px 0; --docked-row-gap: 4px; }
  .site-header .wrap { display: grid; grid-template-columns: 1fr auto; column-gap: 8px; row-gap: 4px; min-height: 0; padding-block: 10px; }
  .brand { width: 128px; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; gap: 23px; }
  .main-nav a { display: inline-flex; align-items: center; min-height: 42px; }
  .header-cta { min-height: 42px; padding-inline: 11px; font-size: .87rem; }
  .site-header.is-compact .header-inner {
    --collapse-start-width: calc(100% - 12px);
    --island-button-height: 38px;
    --island-radius: calc(var(--island-button-height) / 2);
    --logo-start-width: 128px;
    --cta-start-height: 42px;
    --cta-start-padding: 11px;
    top: calc(8px + env(safe-area-inset-top, 0px));
    width: min(calc(100% - 20px), 420px);
    min-height: 0;
    padding: 5px 12px 3px;
    row-gap: 1px;
  }
  .site-header.is-compact .brand { width: 102px; }
  .site-header.is-compact .main-nav { justify-content: space-between; gap: 8px; }
  .site-header.is-compact .main-nav a { min-height: 36px; }
  .site-header.is-expanding .main-nav a { animation: header-nav-height var(--collapse-duration) var(--collapse-easing) both; }
  .site-header.is-compact .header-cta { padding: 6px 11px; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding-block: 47px 65px; }
  .hero h1 { max-width: 11em; font-size: clamp(2.05rem, 10.1vw, 4.75rem); }
  .hero-lead { margin-top: 18px; }
  .hero-actions { margin-top: 22px; }
  .hero-art { min-height: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 10px; }
  .section-heading > p { justify-self: start; max-width: 36ch; }
  .case-main, .case-reverse .case-main { grid-template-columns: 1fr; gap: 16px; }
  .case-main .case-figure { grid-area: 2 / 1; }
  .case-main .case-copy { grid-area: 1 / 1; padding-top: 0; }
  .case-art { min-height: 230px; }
  .case-summary { margin-top: 17px; }
  .case-summary > div:last-child { padding-bottom: 0; }
  .case-details { margin-top: 10px; }
  .detail-flow { grid-template-columns: 1fr 1fr; }
  .architecture-grid { grid-template-columns: 1fr; }
  .process, .contact { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; gap: 8px 20px; min-height: 0; padding-block: 17px; }
  .footer-nav { flex-wrap: wrap; gap: 10px 17px; }
}
@keyframes header-nav-height {
  to { min-height: 42px; }
}

@media (max-width: 520px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { --docked-width: calc(100% - 36px); }
  .main-nav { justify-content: space-between; gap: 8px; }
  .main-nav a { font-size: .875rem; }
  .hero .eyebrow { margin-bottom: 15px; }
  .hero-art { padding-top: 57px; }
  .art-caption { inset-inline: 12px; top: 14px; font-size: .82rem; }
  .art-output { flex-wrap: wrap; }
  .case-summary > div { grid-template-columns: 1fr; gap: 4px; }
  .case-summary dt { line-height: 1.4; }
  .detail-grid, .small-grid, .formats-grid, .form-row { grid-template-columns: 1fr; }
  .detail-flow { gap: 15px; }
  .detail-flow li { font-size: .94rem; }
  .small-grid { gap: 30px; }
  .process-list li { grid-template-columns: 23px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .site-header.is-compact :is(.header-inner, .brand, .header-cta, .header-outline rect, .main-nav a) { animation: none; }
}
