@layer reset, tokens, base, shell, hero, sections, components, responsive;

@font-face {
  font-family: "Covington Recovery";
  src: url("../fonts/covington/covington.exp.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Covington Recovery";
  src: url("../fonts/covington/covington.exp-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Covington Recovery";
  src: url("../fonts/covington/covington.exp-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@layer tokens {
  :root {
    --o: #FC4C02;
    --c: #F6E8D7;
    --k: #0D1117;
    --white: #FFF9F0;
    --display: "Covington Recovery", Georgia, serif;
    --body: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --shell: min(1440px, calc(100vw - 48px));
    --page: var(--c);
    --page-text: var(--k);
    --page-muted: #5F5A52;
    --page-line: rgba(13, 17, 23, .24);
    --header: var(--k);
    --header-text: var(--c);
    --hero: var(--k);
    --hero-text: var(--c);
    --hero-muted: rgba(246, 232, 215, .66);
    --hero-line: rgba(246, 232, 215, .2);
  }

  html[data-ee-theme="light"] {
    --page: var(--c);
    --page-text: var(--k);
    --page-muted: #5F5A52;
    --page-line: rgba(13, 17, 23, .24);
    --header: var(--c);
    --header-text: var(--k);
    --hero: var(--c);
    --hero-text: var(--k);
    --hero-muted: rgba(13, 17, 23, .66);
    --hero-line: rgba(13, 17, 23, .22);
  }

  html[data-ee-theme="dark"] {
    --page: #151A20;
    --page-text: var(--c);
    --page-muted: #B9AC9B;
    --page-line: rgba(246, 232, 215, .2);
    --header: #050607;
    --header-text: var(--c);
    --hero: #050607;
    --hero-text: var(--c);
    --hero-muted: rgba(246, 232, 215, .66);
    --hero-line: rgba(246, 232, 215, .2);
  }
}

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
  body, h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
  img, svg { display: block; max-width: 100%; }
  button, input, select, textarea { font: inherit; }
  button, summary { cursor: pointer; }
  a { color: inherit; }
}

@layer base {
  body.home-recovery {
    min-width: 320px;
    overflow-x: clip;
    background: var(--page);
    color: var(--page-text);
    font: 500 16px/1.5 var(--body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  body.home-recovery::selection { background: var(--o); color: var(--k); }

  .skip-link {
    position: fixed;
    z-index: 2000;
    left: 12px;
    top: 12px;
    padding: 10px 14px;
    background: var(--c);
    color: var(--k);
    border: 1px solid var(--k);
    transform: translateY(-180%);
  }

  .skip-link:focus { transform: none; }

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

  .section-shell { width: var(--shell); margin-inline: auto; }

  .index-label {
    font: 850 10px/1.3 var(--mono);
    letter-spacing: .13em;
    text-transform: uppercase;
  }

  .button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 0 17px;
    border: 1px solid currentColor;
    border-radius: 0;
    text-decoration: none;
    font: 850 10px/1 var(--mono);
    letter-spacing: .075em;
    text-transform: uppercase;
    box-shadow: 3px 3px 0 currentColor;
    transition: transform 120ms var(--ease-out), box-shadow 120ms var(--ease-out), background-color 120ms ease, color 120ms ease;
  }

  .button:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 currentColor; }
  .button:active { transform: translate(2px, 2px); box-shadow: 0 0 0 currentColor; }
  .button--orange { background: var(--o); color: var(--k); }
  .button--outline { background: transparent; color: inherit; }
  .button--ink { background: var(--k); color: var(--c); border-color: var(--k); box-shadow: 3px 3px 0 var(--o); }
  .button--ink:hover { box-shadow: 5px 5px 0 var(--o); }

  .section-heading {
    padding-block: clamp(78px, 9vw, 148px) clamp(38px, 5vw, 72px);
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
    gap: 28px 56px;
    align-items: end;
  }

  .section-heading .index-label { grid-column: 1 / -1; color: var(--o); }

  .section-heading h2,
  .process-copy h2,
  .quote-section h2,
  .standard-plate h2 {
    font: 700 clamp(56px, 7.8vw, 122px)/.82 var(--display);
    letter-spacing: -.018em;
    text-transform: uppercase;
    text-wrap: balance;
  }

  .section-heading > p:last-child,
  .process-copy > p:last-child,
  .quote-section__copy > p {
    color: var(--page-muted);
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.55;
  }
}

@layer shell {
  .global-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    min-height: 68px;
    background: var(--header);
    color: var(--header-text);
    border-bottom: 1px solid color-mix(in srgb, var(--header-text) 21%, transparent);
  }

  .global-header__inner {
    width: var(--shell);
    min-height: 68px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(188px, 1fr) auto minmax(310px, 1fr);
    gap: 22px;
    align-items: center;
  }

  .home-brand {
    width: fit-content;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    color: inherit;
    text-decoration: none;
  }

  .home-brand img { width: 164px; height: 48px; object-fit: contain; object-position: left center; }

  .home-brand span {
    max-width: 8ch;
    color: color-mix(in srgb, var(--header-text) 60%, transparent);
    font: 800 8px/1.3 var(--mono);
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  .global-nav { display: flex; align-items: center; gap: clamp(16px, 2.1vw, 34px); }

  .global-nav a,
  .header-text,
  .header-call {
    position: relative;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
    font: 850 9px/1 var(--mono);
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .global-nav a::after,
  .header-text::after,
  .header-call::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 7px;
    height: 2px;
    background: var(--o);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 150ms var(--ease-out);
  }

  .global-nav a:hover::after,
  .header-text:hover::after,
  .header-call:hover::after { transform: scaleX(1); transform-origin: left; }

  .home-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }

  .ee-theme-toggle {
    position: relative;
    width: 42px;
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 0;
    background: transparent;
    color: inherit;
    overflow: hidden;
  }

  .home-actions .ee-theme-toggle {
    flex: 0 0 42px;
    width: 42px;
    min-width: 42px;
    min-height: 42px;
    border-color: color-mix(in srgb, var(--header-text) 38%, transparent);
    background: transparent;
    color: var(--header-text);
    box-shadow: none;
  }

  .home-actions .ee-theme-toggle:hover { border-color: var(--o); background: color-mix(in srgb, var(--header-text) 7%, transparent); }

  .home-actions .ee-theme-toggle::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    transform: translate(-50%, -50%);
  }

  .home-actions .ee-theme-toggle::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    height: 18px;
    border-radius: 9px 0 0 9px;
    background: var(--o);
    opacity: 1;
    transform: translate(-9px, -50%);
  }

  html[data-ee-theme="dark"] .home-actions .ee-theme-toggle::before,
  html[data-ee-theme="prime"] .home-actions .ee-theme-toggle::before,
  html[data-ee-theme="light"] .home-actions .ee-theme-toggle::before {
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
  }

  html[data-ee-theme="dark"] .home-actions .ee-theme-toggle::after,
  html[data-ee-theme="prime"] .home-actions .ee-theme-toggle::after,
  html[data-ee-theme="light"] .home-actions .ee-theme-toggle::after {
    opacity: 1;
    transform: translate(-9px, -50%);
  }

  .button--header {
    min-height: 42px;
    padding-inline: 13px;
    background: var(--o);
    color: var(--k);
    border-color: var(--o);
    box-shadow: none;
  }

  .button--header:hover { transform: translate(-1px, -1px); box-shadow: 2px 2px 0 var(--header-text); }

  .global-menu { position: relative; display: none; }
  .global-menu summary { list-style: none; }
  .global-menu summary::-webkit-details-marker { display: none; }
  .global-menu summary span {
    width: 44px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--header-text) 38%, transparent);
    font: 850 8px/1 var(--mono);
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .global-menu[open] summary span { background: var(--o); color: var(--k); border-color: var(--o); }

  .global-menu__panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(430px, calc(100vw - 24px));
    padding: 20px;
    background: var(--k);
    color: var(--c);
    border: 1px solid rgba(246, 232, 215, .26);
    box-shadow: 8px 8px 0 var(--o);
  }

  .menu-kicker { margin-bottom: 14px; color: rgba(246, 232, 215, .55); font: 800 9px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
  .global-menu__panel nav { border-top: 1px solid rgba(246, 232, 215, .2); }
  .global-menu__panel nav a {
    min-height: 56px;
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    border-bottom: 1px solid rgba(246, 232, 215, .2);
    color: var(--c);
    text-decoration: none;
    font: 700 21px/1 var(--display);
    text-transform: uppercase;
  }
  .global-menu__panel nav a:hover { color: var(--o); }
  .global-menu__panel nav a span { color: var(--o); font: 800 9px/1 var(--mono); }
  .global-menu__contact { padding-top: 18px; display: flex; justify-content: space-between; gap: 18px; }
  .global-menu__contact a { color: var(--c); font: 800 10px/1.2 var(--mono); }
}

@layer hero {
  .switchboard {
    width: 100%;
    min-height: calc(100svh - 68px);
    background: var(--hero);
    color: var(--hero-text);
    border-bottom: 1px solid var(--hero-line);
  }

  .switchboard__meta {
    width: var(--shell);
    min-height: 44px;
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--hero-line);
    color: var(--hero-muted);
    font: 800 9px/1 var(--mono);
    letter-spacing: .11em;
    text-transform: uppercase;
  }

  .switchboard__grid {
    width: var(--shell);
    min-height: calc(100svh - 112px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(410px, .72fr);
  }

  .hero-copy {
    min-width: 0;
    padding: clamp(40px, 5.5vw, 82px) clamp(34px, 5vw, 76px) 28px 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--hero-line);
  }

  .hero-copy > .index-label { margin-bottom: clamp(22px, 3.5vh, 40px); color: var(--o); }

  .hero-copy h1 {
    max-width: 8ch;
    font: 700 clamp(70px, 8.15vw, 124px)/.73 var(--display);
    letter-spacing: -.022em;
    text-transform: uppercase;
  }

  .hero-copy h1 span,
  .hero-copy h1 em { display: block; }
  .hero-copy h1 em { color: var(--o); font-weight: 400; }

  .hero-deck {
    max-width: 59ch;
    margin-top: clamp(24px, 4vh, 48px);
    color: var(--hero-muted);
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.5;
  }

  .hero-actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
  .hero-phone { min-height: 48px; display: inline-flex; align-items: center; padding-inline: 8px; color: inherit; font: 700 14px/1 var(--mono); text-underline-offset: 5px; }

  .hero-proof {
    margin-top: auto;
    padding-top: clamp(28px, 5vh, 58px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-proof div { min-height: 82px; padding: 14px 14px 0 0; border-top: 1px solid var(--hero-line); border-right: 1px solid var(--hero-line); }
  .hero-proof div + div { padding-left: 14px; }
  .hero-proof div:last-child { border-right: 0; }
  .hero-proof dt { margin-bottom: 8px; color: var(--o); font: 850 9px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
  .hero-proof dd { max-width: 24ch; color: var(--hero-muted); font-size: 12px; line-height: 1.35; }

  .job-router {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: clamp(28px, 4vw, 58px) 0 0 clamp(28px, 4vw, 58px);
    isolation: isolate;
  }

  .job-router::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    border-left: 12px solid color-mix(in srgb, var(--o) 74%, transparent);
    opacity: .16;
  }

  .job-router__head { position: relative; z-index: 2; margin-right: clamp(22px, 3vw, 42px); }
  .job-router__head .index-label { color: var(--o); }
  .job-router__head h2 { margin-top: 10px; font: 700 clamp(30px, 3.1vw, 48px)/.9 var(--display); text-transform: uppercase; }

  .job-router__choices { position: relative; z-index: 3; margin-top: clamp(24px, 4vh, 42px); border-top: 1px solid var(--hero-line); }

  .job-choice {
    position: relative;
    min-height: 84px;
    padding: 14px clamp(38px, 4vw, 56px) 14px 0;
    display: grid;
    grid-template-columns: 36px 1fr;
    align-content: center;
    gap: 5px 12px;
    border-bottom: 1px solid var(--hero-line);
    color: inherit;
    text-decoration: none;
    transition: background-color 130ms ease, padding-left 130ms var(--ease-out), color 130ms ease;
  }

  .job-choice > span { grid-row: 1 / span 2; padding-top: 3px; color: var(--o); font: 850 9px/1 var(--mono); }
  .job-choice strong { font-size: 14px; line-height: 1.25; }
  .job-choice small { color: var(--hero-muted); font-size: 12px; line-height: 1.3; }
  .job-choice b { position: absolute; right: 16px; top: 50%; color: var(--o); font: 800 18px/1 var(--mono); transform: translate(-8px, -50%); opacity: .45; transition: transform 130ms var(--ease-out), opacity 130ms ease; }
  .job-choice:hover,
  .job-choice:focus-visible,
  .job-choice.is-active { padding-left: 10px; background: var(--o); color: var(--k); }
  .job-choice:hover > span,
  .job-choice:focus-visible > span,
  .job-choice.is-active > span,
  .job-choice:hover b,
  .job-choice:focus-visible b,
  .job-choice.is-active b { color: var(--k); }
  .job-choice:hover small,
  .job-choice:focus-visible small,
  .job-choice.is-active small { color: rgba(13, 17, 23, .7); }
  .job-choice:hover b,
  .job-choice:focus-visible b,
  .job-choice.is-active b { opacity: 1; transform: translate(0, -50%); }

  .router-response { position: relative; z-index: 3; min-height: 86px; margin-right: clamp(22px, 3vw, 42px); padding: 16px 0; border-bottom: 1px solid var(--hero-line); }
  .router-response p { margin-bottom: 7px; color: var(--o); font: 850 9px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
  .router-response strong { max-width: 38ch; display: block; color: var(--hero-muted); font-size: 12px; line-height: 1.4; }

  .mascot-contact {
    position: absolute;
    z-index: 1;
    right: -82px;
    bottom: -122px;
    width: min(370px, 78%);
    aspect-ratio: 1;
    display: block;
    color: var(--hero-text);
    text-decoration: none;
  }

  .mascot-contact img { width: 100%; height: 100%; object-fit: contain; transition: transform 180ms var(--ease-out); }
  .mascot-contact span { position: absolute; left: -44px; top: 50%; padding: 7px 10px; background: var(--hero); border: 1px solid var(--hero-line); font: 850 8px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
  .mascot-contact:hover img,
  .mascot-contact:focus-visible img { transform: translate(-8px, -8px) rotate(-2deg); }

  .contact-rail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--o);
    color: var(--k);
    border-bottom: 1px solid var(--k);
  }

  .contact-rail a {
    position: relative;
    min-height: 96px;
    padding: 18px 58px 18px 24px;
    display: grid;
    align-content: center;
    gap: 4px;
    border-right: 1px solid var(--k);
    color: inherit;
    text-decoration: none;
    transition: background-color 130ms ease, color 130ms ease;
  }
  .contact-rail a:last-child { border-right: 0; }
  .contact-rail a:hover { background: var(--k); color: var(--c); }
  .contact-rail span { font: 850 9px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
  .contact-rail strong { font: 700 clamp(22px, 2.3vw, 34px)/1 var(--display); }
  .contact-rail b { position: absolute; right: 24px; top: 50%; font: 800 20px/1 var(--mono); transform: translateY(-50%); }
}

@layer sections {
  .service-ledger { padding-bottom: clamp(88px, 10vw, 160px); }
  .ledger-list { border-top: 1px solid var(--page-line); }

  .ledger-row {
    position: relative;
    min-height: 140px;
    display: grid;
    grid-template-columns: 62px 92px minmax(0, 1fr) minmax(150px, 230px) 30px;
    gap: 18px;
    align-items: center;
    border-bottom: 1px solid var(--page-line);
    color: inherit;
    text-decoration: none;
    transition: transform 130ms var(--ease-out), background-color 130ms ease;
  }

  .ledger-row::before { content: ""; position: absolute; left: -12px; top: 12px; bottom: 12px; width: 4px; background: var(--o); transform: scaleY(0); transition: transform 130ms var(--ease-out); }
  .ledger-row:hover,
  .ledger-row:focus-visible { z-index: 1; transform: translateX(8px); background: color-mix(in srgb, var(--page-text) 4%, transparent); }
  .ledger-row:hover::before,
  .ledger-row:focus-visible::before { transform: scaleY(1); }
  .ledger-row__number { color: var(--o); font: 850 11px/1 var(--mono); }
  .ledger-row__icon { width: 74px; height: 74px; display: grid; place-items: center; background: var(--c); border: 1px solid var(--k); transition: transform 130ms var(--ease-out), box-shadow 130ms var(--ease-out); }
  .ledger-row__icon img { width: 60px; height: 60px; object-fit: contain; }
  .ledger-row:hover .ledger-row__icon { transform: translate(-2px, -2px) rotate(-1deg); box-shadow: 4px 4px 0 var(--o); }
  .ledger-row__copy { display: grid; gap: 8px; }
  .ledger-row__copy strong { font: 700 clamp(25px, 2.7vw, 42px)/.9 var(--display); text-transform: uppercase; }
  .ledger-row__copy small { max-width: 52ch; color: var(--page-muted); font-size: 14px; }
  .ledger-row__verb { color: var(--page-muted); font: 850 9px/1.35 var(--mono); letter-spacing: .08em; text-align: right; text-transform: uppercase; }
  .ledger-row > b { justify-self: end; color: var(--o); font: 850 20px/1 var(--mono); transition: transform 130ms var(--ease-out); }
  .ledger-row:hover > b { transform: translate(4px, 4px); }

  .standard-plate {
    position: relative;
    min-height: 680px;
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(520px, 1.15fr);
    overflow: hidden;
    background: var(--o);
    color: var(--k);
    border-block: 1px solid var(--k);
    isolation: isolate;
  }

  .standard-plate__title { padding: clamp(48px, 7vw, 100px) clamp(32px, 6vw, 88px); border-right: 1px solid var(--k); }
  .standard-plate__title .index-label { margin-bottom: 54px; }
  .standard-plate h2 { position: relative; z-index: 2; max-width: 7ch; font-size: clamp(78px, 9vw, 146px); }
  .standard-plate__body { position: relative; z-index: 2; padding: clamp(48px, 7vw, 100px); display: grid; align-content: center; }
  .standard-intro { max-width: 38ch; margin-bottom: 50px; font-size: clamp(20px, 2vw, 30px); line-height: 1.25; font-weight: 700; }
  .standard-plate ol { padding: 0; list-style: none; border-top: 1px solid var(--k); }
  .standard-plate li { min-height: 96px; padding: 14px 0; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 6px 14px; align-content: center; border-bottom: 1px solid var(--k); }
  .standard-plate li > span { grid-row: 1 / span 2; padding-top: 3px; font: 850 10px/1 var(--mono); }
  .standard-plate li strong { font: 700 22px/1 var(--display); text-transform: uppercase; }
  .standard-plate li p { max-width: 44ch; font-size: 13px; }
  .standard-plate > img { position: absolute; z-index: 1; left: 28%; bottom: -28%; width: min(420px, 36vw); opacity: .16; transform: rotate(-9deg); }

  .instrument-catalogue { padding-bottom: clamp(90px, 10vw, 154px); background: var(--k); color: var(--c); }
  .instrument-catalogue .section-heading > p:last-child { color: rgba(246, 232, 215, .64); }
  .instrument-catalogue__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .86fr); border-top: 1px solid rgba(246, 232, 215, .22); border-bottom: 1px solid rgba(246, 232, 215, .22); }
  .instrument-list { border-right: 1px solid rgba(246, 232, 215, .22); }
  .instrument-link { position: relative; min-height: 82px; padding: 12px 48px 12px 0; display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(110px, .6fr); align-items: center; gap: 14px; border-bottom: 1px solid rgba(246, 232, 215, .22); color: inherit; text-decoration: none; transition: padding-left 130ms var(--ease-out), background-color 130ms ease, color 130ms ease; }
  .instrument-link:last-child { border-bottom: 0; }
  .instrument-link > span { color: var(--o); font: 850 9px/1 var(--mono); }
  .instrument-link strong { font: 700 clamp(19px, 2vw, 28px)/.95 var(--display); text-transform: uppercase; }
  .instrument-link small { color: rgba(246, 232, 215, .55); font: 800 9px/1.35 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
  .instrument-link b { position: absolute; right: 18px; color: var(--o); font: 850 17px/1 var(--mono); }
  .instrument-link:hover,
  .instrument-link:focus-visible,
  .instrument-link.is-active { padding-left: 14px; background: var(--o); color: var(--k); }
  .instrument-link:hover > span,
  .instrument-link:focus-visible > span,
  .instrument-link.is-active > span,
  .instrument-link:hover b,
  .instrument-link:focus-visible b,
  .instrument-link.is-active b { color: var(--k); }
  .instrument-link:hover small,
  .instrument-link:focus-visible small,
  .instrument-link.is-active small { color: rgba(13, 17, 23, .68); }

  .instrument-stage { min-height: 492px; padding: clamp(24px, 4vw, 54px); display: flex; flex-direction: column; background: #07090C; }
  .instrument-stage__top { display: flex; justify-content: space-between; gap: 18px; color: rgba(246, 232, 215, .5); font: 800 8px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
  .instrument-stage__index { margin: auto 0 12px; color: var(--o); font: 850 10px/1 var(--mono); }
  .instrument-stage h3 { max-width: 9ch; font: 700 clamp(40px, 4.5vw, 70px)/.82 var(--display); text-transform: uppercase; }
  .instrument-stage > p { max-width: 42ch; margin-top: 18px; color: rgba(246, 232, 215, .64); font-size: 14px; }
  .instrument-stage__diagram { position: relative; height: 78px; margin: 28px 0; display: grid; grid-template-columns: repeat(6, 1fr); align-items: end; border-bottom: 1px solid rgba(246, 232, 215, .28); }
  .instrument-stage__diagram i { height: 28px; border-left: 1px solid rgba(246, 232, 215, .25); border-top: 4px solid var(--o); }
  .instrument-stage__diagram i:nth-child(2) { height: 48px; }
  .instrument-stage__diagram i:nth-child(3) { height: 65px; }
  .instrument-stage__diagram i:nth-child(4) { height: 54px; }
  .instrument-stage__diagram i:nth-child(5) { height: 36px; }
  .instrument-stage__diagram i:nth-child(6) { height: 58px; border-right: 1px solid rgba(246, 232, 215, .25); }
  .instrument-stage__diagram span { position: absolute; left: 0; top: 14px; width: 10px; height: 10px; background: var(--o); box-shadow: 40px 28px 0 var(--c), 112px 9px 0 var(--o), 198px 37px 0 var(--c), 280px 18px 0 var(--o); }
  .instrument-stage .button { align-self: flex-start; }

  .process-section { padding-block: clamp(88px, 10vw, 160px); display: grid; grid-template-columns: minmax(0, .85fr) minmax(320px, .65fr) minmax(320px, .7fr); gap: 0; }
  .process-copy { padding-right: clamp(30px, 5vw, 74px); }
  .process-copy .index-label { margin-bottom: 46px; color: var(--o); }
  .process-copy h2 { font-size: clamp(56px, 6.8vw, 104px); }
  .process-copy > p:last-child { max-width: 42ch; margin-top: 28px; }
  .process-list { padding: 0 clamp(26px, 4vw, 56px); list-style: none; border-inline: 1px solid var(--page-line); }
  .process-list li { min-height: 112px; padding: 18px 0; display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-content: center; border-bottom: 1px solid var(--page-line); }
  .process-list li:first-child { border-top: 1px solid var(--page-line); }
  .process-list span { color: var(--o); font: 850 9px/1 var(--mono); }
  .process-list strong { font: 700 20px/1 var(--display); text-transform: uppercase; }
  .process-list p { margin-top: 7px; color: var(--page-muted); font-size: 13px; }
  .faq-list { padding-left: clamp(26px, 4vw, 56px); }
  .faq-list > .index-label { margin-bottom: 24px; color: var(--o); }
  .faq-list details { border-top: 1px solid var(--page-line); }
  .faq-list details:last-child { border-bottom: 1px solid var(--page-line); }
  .faq-list summary { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 18px; list-style: none; font: 700 17px/1.15 var(--display); text-transform: uppercase; }
  .faq-list summary::-webkit-details-marker { display: none; }
  .faq-list summary::after { content: "+"; color: var(--o); font: 850 20px/1 var(--mono); }
  .faq-list details[open] summary::after { content: "−"; }
  .faq-list details p { padding: 0 32px 20px 0; color: var(--page-muted); font-size: 13px; }

  .quote-section { display: grid; grid-template-columns: minmax(0, .92fr) minmax(560px, 1.08fr); background: var(--o); color: var(--k); border-block: 1px solid var(--k); }
  .quote-section__copy { padding: clamp(48px, 5vw, 76px); border-right: 1px solid var(--k); }
  .quote-section__copy .index-label { margin-bottom: 50px; }
  .quote-section h2 { font-size: clamp(52px, 4.8vw, 78px); }
  .quote-section__copy > p { max-width: 38ch; margin-top: 28px; color: rgba(13, 17, 23, .76); }
  .quote-section__copy > div { margin-top: 44px; display: grid; gap: 8px; }
  .quote-section__copy a { width: fit-content; color: var(--k); font: 850 10px/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase; text-underline-offset: 5px; }
  .quote-form { padding: clamp(40px, 6vw, 86px); display: grid; align-content: center; gap: 10px; background: var(--c); color: var(--k); }
  .quote-form label { margin-top: 6px; font: 850 9px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
  .quote-form input,
  .quote-form select,
  .quote-form textarea { width: 100%; min-height: 50px; padding: 12px; border: 1px solid var(--k); border-radius: 0; background: transparent; color: var(--k); }
  .quote-form textarea { min-height: 128px; resize: vertical; }
  .quote-form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .quote-form__pair > div { display: grid; gap: 10px; }
  .quote-form .button { margin-top: 10px; }
  .form-note { color: rgba(13, 17, 23, .66); font-size: 12px; }
  .honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

  .site-footer { min-height: 280px; padding: 54px max(24px, calc((100vw - min(1440px, calc(100vw - 48px))) / 2)); display: grid; grid-template-columns: minmax(220px, 1fr) 1fr .6fr .6fr; gap: 36px; background: var(--k); color: var(--c); }
  .site-footer__brand { width: fit-content; }
  .site-footer__brand img { width: 210px; height: 60px; object-fit: contain; object-position: left top; }
  .site-footer p { color: rgba(246, 232, 215, .62); }
  .site-footer nav,
  .site-footer > div { display: grid; align-content: start; gap: 9px; }
  .site-footer nav a,
  .site-footer > div a { width: fit-content; color: var(--c); font: 800 9px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
  .mobile-dock { display: none; }
}

@layer responsive {
  @media (max-width: 1180px) {
    :root { --shell: min(100% - 32px, 1440px); }
    .global-header__inner { grid-template-columns: minmax(180px, 1fr) auto; }
    .global-nav { display: none; }
    .global-menu { display: block; }
    .switchboard__grid { grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); }
    .hero-copy h1 { font-size: clamp(68px, 8.7vw, 102px); }
    .process-section { grid-template-columns: 1fr 1fr; }
    .process-copy { grid-column: 1 / -1; padding: 0 0 56px; }
    .process-list { padding-left: 0; border-left: 0; }
  }

  @media (min-width: 901px) and (max-height: 820px) {
    .switchboard__meta { min-height: 38px; }
    .switchboard__grid { min-height: calc(100svh - 106px); }
    .hero-copy { padding-top: 34px; padding-bottom: 18px; }
    .hero-copy > .index-label { margin-bottom: 16px; }
    .hero-copy h1 { font-size: clamp(64px, 7.35vw, 108px); }
    .hero-deck { margin-top: 18px; font-size: 16px; }
    .hero-actions { margin-top: 17px; }
    .hero-proof { padding-top: 18px; }
    .hero-proof div { min-height: 66px; padding-top: 10px; }
    .job-router { padding-top: 32px; }
    .job-router__head h2 { font-size: clamp(28px, 2.8vw, 42px); }
    .job-router__choices { margin-top: 18px; }
    .job-choice { min-height: 72px; padding-top: 9px; padding-bottom: 9px; }
    .router-response { min-height: 70px; padding-block: 10px; }
    .mascot-contact { right: -72px; bottom: -130px; width: min(330px, 72%); }
  }

  @media (max-width: 900px) {
    :root { --shell: min(100% - 28px, 1440px); }
    .global-header,
    .global-header__inner { min-height: 60px; }
    .home-brand img { width: 150px; height: 44px; }
    .home-brand span,
    .header-text,
    .button--header { display: none; }
    .switchboard { min-height: 0; }
    .switchboard__meta { min-height: 40px; }
    .switchboard__meta span:last-child { display: none; }
    .switchboard__grid { min-height: 0; grid-template-columns: 1fr; }
    .hero-copy { min-height: calc(100svh - 100px); padding-right: 0; border-right: 0; }
    .hero-copy h1 { font-size: clamp(68px, 13vw, 112px); }
    .job-router { min-height: 760px; padding-bottom: 240px; border-top: 1px solid var(--hero-line); }
    .contact-rail { grid-template-columns: 1fr; }
    .contact-rail a { min-height: 82px; border-right: 0; border-bottom: 1px solid var(--k); }
    .contact-rail a:last-child { border-bottom: 0; }
    .section-heading { grid-template-columns: 1fr; }
    .section-heading .index-label { grid-column: 1; }
    .section-heading > p:last-child { max-width: 50ch; }
    .ledger-row { grid-template-columns: 46px 78px minmax(0, 1fr) 26px; }
    .ledger-row__verb { display: none; }
    .standard-plate { grid-template-columns: 1fr; }
    .standard-plate__title { border-right: 0; border-bottom: 1px solid var(--k); }
    .standard-plate > img { left: auto; right: -80px; bottom: -100px; width: 380px; }
    .instrument-catalogue__grid { grid-template-columns: 1fr; }
    .instrument-list { border-right: 0; }
    .instrument-stage { min-height: 460px; border-top: 1px solid rgba(246, 232, 215, .22); }
    .quote-section { grid-template-columns: 1fr; }
    .quote-section__copy { border-right: 0; border-bottom: 1px solid var(--k); }
    .site-footer { grid-template-columns: 1fr 1fr; }
  }

  @media (max-width: 640px) {
    body.home-recovery { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
    :root { --shell: min(100% - 24px, 1440px); }
    html { scroll-padding-top: 64px; }
    .global-header__inner { grid-template-columns: minmax(140px, 1fr) auto; gap: 8px; }
    .home-actions { gap: 6px; }
    .header-call { width: 42px; justify-content: center; font-size: 8px; }
    .home-actions .ee-theme-toggle,
    .global-menu summary span { width: 40px; min-width: 40px; height: 40px; min-height: 40px; }
    .global-menu__panel { position: fixed; top: 70px; left: 12px; right: 12px; width: auto; max-height: calc(100dvh - 88px); overflow: auto; }
    .switchboard__meta { font-size: 8px; }
    .hero-copy { min-height: auto; padding: 38px 0 24px; }
    .hero-copy > .index-label { margin-bottom: 28px; }
    .hero-copy h1 { font-size: clamp(62px, 19vw, 92px); line-height: .75; }
    .hero-deck { margin-top: 30px; font-size: 16px; }
    .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .hero-actions .button { justify-content: space-between; gap: 8px; padding-inline: 12px; }
    .hero-phone { grid-column: 1 / -1; padding: 0; }
    .hero-proof { padding-top: 34px; grid-template-columns: 1fr; }
    .hero-proof div,
    .hero-proof div + div { min-height: 58px; padding: 10px 0; border-right: 0; border-bottom: 1px solid var(--hero-line); }
    .hero-proof div:last-child { border-bottom: 0; }
    .job-router { min-height: 720px; padding: 34px 0 230px; }
    .job-router::before { left: -12px; }
    .job-router__head,
    .router-response { margin-right: 0; }
    .job-router__head h2 { font-size: 36px; }
    .job-choice { min-height: 96px; }
    .mascot-contact { right: -62px; bottom: -96px; width: 310px; }
    .mascot-contact span { left: -20px; }
    .contact-rail strong { font-size: 25px; }
    .section-heading { padding-block: 78px 36px; }
    .section-heading h2,
    .process-copy h2,
    .quote-section h2 { font-size: clamp(50px, 15vw, 76px); }
    .ledger-row { min-height: 122px; grid-template-columns: 32px 58px minmax(0, 1fr) 18px; gap: 10px; }
    .ledger-row__icon { width: 54px; height: 54px; }
    .ledger-row__icon img { width: 46px; height: 46px; }
    .ledger-row__copy strong { font-size: 23px; }
    .ledger-row__copy small { font-size: 12px; }
    .standard-plate { min-height: 0; }
    .standard-plate__title,
    .standard-plate__body { padding: 54px 24px; }
    .standard-plate__title .index-label { margin-bottom: 40px; }
    .standard-plate h2 { font-size: clamp(68px, 20vw, 100px); }
    .standard-intro { font-size: 21px; }
    .instrument-link { grid-template-columns: 34px 1fr; min-height: 88px; }
    .instrument-link small { grid-column: 2; }
    .instrument-stage { min-height: 430px; padding: 28px 20px; }
    .instrument-stage h3 { font-size: 48px; }
    .process-section { grid-template-columns: 1fr; padding-block: 90px; }
    .process-copy { grid-column: 1; }
    .process-list { padding: 0; border: 0; }
    .faq-list { padding: 62px 0 0; }
    .quote-section__copy,
    .quote-form { padding: 54px 24px; }
    .quote-form__pair { grid-template-columns: 1fr; }
    .site-footer { min-height: 440px; padding: 46px 24px 94px; grid-template-columns: 1fr; }
    .mobile-dock { position: fixed; z-index: 1100; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: env(safe-area-inset-bottom); background: var(--k); color: var(--c); border-top: 1px solid rgba(246, 232, 215, .25); }
    .mobile-dock a { min-height: 56px; display: grid; place-items: center; border-right: 1px solid rgba(246, 232, 215, .18); color: inherit; text-decoration: none; font: 850 9px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
    .mobile-dock a:last-child { background: var(--o); color: var(--k); border-right: 0; }
    body:has(.global-menu[open]) .mobile-dock { display: none; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  }

  @media (forced-colors: active) {
    .button,
    .job-choice,
    .ledger-row,
    .instrument-link,
    .quote-form input,
    .quote-form select,
    .quote-form textarea { border: 1px solid CanvasText; }
  }

  @media print {
    .global-header,
    .mobile-dock,
    .global-menu,
    .instrument-catalogue,
    .quote-form { display: none !important; }
    body.home-recovery,
    .switchboard,
    .standard-plate,
    .quote-section { background: #fff; color: #000; }
    .switchboard__grid,
    .standard-plate,
    .quote-section { display: block; }
  }
}
