/* ============================================================
   FastFixIt Electronics — site styles
   One family, one ground, one accent. No gradients, no shadows
   at rest, no ornament that does not carry content.
   ============================================================ */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Repair Bench V2 tokens */
  --paper: #f4f1ea;
  --paper-2: #ece8df;
  --paper-3: #e3ded3;
  --surface: #ffffff;
  --surface-muted: #ece8df;
  --ink: #17191c;
  --ink-2: #1f2227;
  --ink-3: #2a2e36;
  --muted: #4b4f55;
  --on-ink: #ecedef;
  --on-ink-muted: #a8b0b9;
  --accent: #c2410c;
  --accent-hover: #9a3309;
  --accent-ink: #ffffff;
  --accent-soft: #fbe9e1;
  --brass: #c2410c;
  --brass-dark: #9a3309;
  --success: #227a4b;
  --warning: #a86400;
  --info: #2563eb;
  --error: #b42318;
  --danger-soft: #fbe9e7;
  --field: #ffffff;
  --line: #d9d5cb;
  --line-strong: #b9b3a6;
  --band: #17191c;
  --band-2: #22252b;
  --band-line: #2b3038;
  --band-ink: #ecedef;
  --band-muted: #a8b0b9;
  --card-muted: #4b4f55;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --radius: 8px;
  --radius-lg: 12px;

  --step-0: 0.875rem;
  --step-1: 1.0625rem;
  --step-2: clamp(1.25rem, 1.1rem + 0.55vw, 1.5rem);
  --step-3: clamp(2rem, 1.35rem + 2.5vw, 3.25rem);
  --step-4: clamp(2rem, 1.2rem + 4.1vw, 4.5rem);

  --pad: clamp(20px, 4.2vw, 48px);
  --max: 1320px;
  --gap: clamp(16px, 2vw, 28px);
  --section: clamp(76px, 8.5vw, 128px);
  --focus: var(--accent);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0f1114;
  --paper-2: #171a1f;
  --paper-3: #1e2228;
  --surface: #171a1f;
  --surface-muted: #1e2228;
  --ink: #ecedef;
  --ink-2: #f1f2f4;
  --ink-3: #2a2e36;
  --muted: #aeb5be;
  --on-ink: #ecedef;
  --on-ink-muted: #a8b0b9;
  --accent: #ff7a3d;
  --accent-hover: #ff965f;
  --accent-ink: #0f1114;
  --accent-soft: #2a1a12;
  --brass: #ff7a3d;
  --brass-dark: #ff965f;
  --success: #5dd39e;
  --warning: #fbbf24;
  --info: #60a5fa;
  --error: #f87171;
  --danger-soft: #3a1d1b;
  --field: #171a1f;
  --line: #2b3038;
  --line-strong: #3d444f;
  --band: #1e2228;
  --band-2: #262b33;
  --band-line: #3d444f;
  --band-ink: #ecedef;
  --band-muted: #a8b0b9;
  --card-muted: #aeb5be;
  --focus: var(--accent);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-1);
  line-height: 1.55;
  letter-spacing: 0;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.98;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-4);
  letter-spacing: -0.035em;
}

h2 {
  font-size: var(--step-3);
  max-width: 17ch;
}

h3 {
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

a:hover {
  text-decoration-color: var(--brass);
}

strong {
  font-weight: 600;
}

::selection {
  background: var(--brass);
  color: var(--ink);
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

:where(#estimate, #process, #standards, #faq, #contact, #request-form, #services) {
  scroll-margin-top: 24px;
}

.shell {
  width: min(calc(100% - (var(--pad) * 2)), var(--max));
  margin-inline: auto;
}

.section {
  padding-block: var(--section);
}

.section--surface {
  background: var(--paper-2);
}

.section--ink {
  --focus: var(--on-ink);
  background: var(--ink);
  color: var(--on-ink);
  --muted: var(--on-ink-muted);
}

.lede {
  font-size: var(--step-2);
  line-height: 1.4;
  letter-spacing: -0.012em;
  max-width: 44ch;
}

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

.small {
  font-size: var(--step-0);
  line-height: 1.45;
}

.measure {
  max-width: 64ch;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  font-weight: 600;
  text-decoration: none;
}

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

/* ---------- buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 100ms ease;
}

.btn:hover {
  background: var(--brass);
  color: var(--ink);
}

.btn:active {
  transform: translateY(1px);
}

.btn--brass {
  background: var(--brass);
  color: var(--ink);
}

.btn--brass:hover {
  background: var(--brass-dark);
}

.btn--sm {
  min-height: 42px;
  padding: 0 16px;
  font-size: 1.0625rem;
}

.section--ink .btn {
  background: var(--paper);
  color: var(--ink);
}

.section--ink .btn:hover {
  background: var(--brass);
}

.text-link {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--brass);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 160ms ease;
}

.text-link:hover {
  border-color: var(--ink);
}

.section--ink .text-link:hover {
  border-color: var(--on-ink);
}

/* ---------- header ---------- */

.site-header {
  position: relative;
  z-index: 30;
  padding-block: 18px;
  background: var(--paper);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-badge {
  width: 46px;
  height: 46px;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand-sub {
  font-size: 0.875rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  font-size: 1.0625rem;
}

.nav a {
  padding-block: 6px;
  text-decoration: none;
}

.nav a:hover {
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-underline-offset: 5px;
}

.nav a[aria-current="page"] {
  font-weight: 600;
}

.nav-cta {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
}

/* ---------- hero ---------- */

.hero {
  padding-top: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
}

.hero-copy > * {
  animation: rise 800ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-copy > :nth-child(2) {
  animation-delay: 80ms;
}

.hero-copy > :nth-child(3) {
  animation-delay: 160ms;
}

.hero-copy > :nth-child(4) {
  animation-delay: 240ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero h1 {
  max-width: none;
}

.hero-lede {
  margin-top: 26px;
  max-width: 46ch;
  font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.25rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 34px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: auto;
  padding-top: 48px;
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--muted);
}

.hero-facts li {
  position: relative;
  padding-left: 16px;
}

.hero-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--brass);
}

.hero-media {
  animation: fade-in 900ms ease 150ms both;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1400ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  animation: drift 8s linear both;
}

@keyframes drift {
  from {
    transform: scale(1.012);
  }
  to {
    transform: scale(1.05);
  }
}

.hero-caption {
  margin-top: 12px;
  max-width: 44ch;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--muted);
}

/* ---------- section headings ---------- */

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--gap);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head h2 {
  max-width: 20ch;
}

.section-head .lede {
  max-width: 38ch;
  padding-bottom: 4px;
}

[data-reveal] {
  --reveal-delay: 0ms;
}

.js [data-reveal].is-in {
  animation: reveal-in 650ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: var(--reveal-delay);
}

@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- estimator ---------- */

.estimator {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.estimator fieldset {
  margin: 0 0 36px;
  padding: 0;
  border: 0;
}

.estimator legend {
  margin-bottom: 16px;
  padding: 0;
  font-size: var(--step-2);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 11px 14px;
  border: 0;
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.chip:hover {
  background: var(--paper-3);
}

.chip[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.estimator-hint {
  margin-top: 14px;
  max-width: 48ch;
  font-size: var(--step-0);
  line-height: 1.45;
  color: var(--muted);
}

.estimator-note {
  max-width: 52ch;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--muted);
}

.ticket {
  position: sticky;
  top: 24px;
  background: var(--ink);
  color: var(--on-ink);
}

.ticket__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: var(--ink-3);
  font-size: 1.0625rem;
  font-weight: 600;
}

.ticket__head span:last-child {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--on-ink-muted);
}

.ticket__row {
  padding: 15px 24px;
  background: var(--ink);
}

.ticket__row:nth-child(even) {
  background: #1b1915;
}

.ticket__label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--on-ink-muted);
}

.ticket__value {
  display: block;
  font-size: var(--step-1);
  line-height: 1.4;
}

.ticket__value--check {
  font-size: 1.0625rem;
  line-height: 1.5;
}

.ticket__row--price .ticket__value {
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
}

.ticket__cta {
  display: block;
  margin: 20px 24px 0;
  padding: 16px;
  background: var(--brass);
  color: var(--ink);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.ticket__cta:hover {
  background: var(--brass-dark);
}

.ticket__fine {
  padding: 16px 24px 22px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--on-ink-muted);
}

/* ---------- service index ---------- */

.service-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.service-group h3 {
  margin-bottom: 16px;
}

.service-group li {
  color: var(--muted);
  font-size: var(--step-1);
  line-height: 1.45;
}

.service-group li + li {
  margin-top: 6px;
}

.service-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 44px;
  max-width: 100%;
}

.service-note p {
  max-width: 62ch;
}

/* ---------- process ---------- */

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.process-copy .lede {
  margin-top: 24px;
  max-width: 36ch;
  color: var(--on-ink);
}

.process-copy .small {
  margin-top: 24px;
  max-width: 38ch;
  color: var(--on-ink-muted);
}

.slip {
  background: var(--paper);
  color: var(--ink);
  --muted: #45443e;
}

.slip__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  background: var(--ink-3);
  color: var(--paper);
  font-size: 0.875rem;
  line-height: 1.4;
}

.slip__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: baseline;
  padding: 15px 20px;
}

.slip__row:nth-child(even) {
  background: var(--paper-2);
}

.slip__name {
  font-size: var(--step-1);
  font-weight: 600;
}

.slip__time {
  font-size: var(--step-0);
  color: var(--muted);
  text-align: right;
}

.slip__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--brass);
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 600;
}

/* ---------- standards ---------- */

.standards-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.standards-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.standards-photo figcaption {
  margin-top: 10px;
  font-size: 0.875rem;
  color: var(--muted);
}

.warranty {
  margin-top: 24px;
  padding: 24px;
  background: var(--brass);
  color: var(--ink);
}

.warranty h3 {
  margin-bottom: 10px;
}

.warranty p {
  font-size: 1.0625rem;
  line-height: 1.5;
}

.warranty .text-link {
  margin-top: 16px;
  border-color: var(--ink);
}

.test-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.test-table th {
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
}

.test-table td {
  padding: 15px 14px;
  vertical-align: top;
}

.test-table tr:nth-child(even) td {
  background: var(--paper-2);
}

.test-table td:first-child {
  font-weight: 600;
}

/* ---------- about teaser ---------- */

.about-teaser {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: var(--gap);
  align-items: start;
}

.about-photo {
  position: relative;
}

.about-photo > img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.about-card {
  position: absolute;
  top: 24px;
  right: 24px;
  width: min(320px, 72%);
  padding: 24px;
  background: var(--paper);
  color: var(--ink);
}

.about-card p {
  font-size: var(--step-2);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.about-card .text-link {
  margin-top: 22px;
}

.facts-tile {
  padding: 28px;
  background: var(--brass);
  color: var(--ink);
}

.facts-tile .big {
  font-size: var(--step-4);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.facts-tile .big-label {
  margin-top: 6px;
  font-size: var(--step-1);
  line-height: 1.35;
}

.facts-tile ul {
  margin-top: 32px;
}

.facts-tile li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
  font-size: 1.0625rem;
}

.facts-tile li span:last-child {
  font-weight: 600;
  text-align: right;
}

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.faq-grid h2 {
  position: sticky;
  top: 32px;
}

.faq-cols {
  columns: 2;
  column-gap: 56px;
  font-size: var(--step-1);
  line-height: 1.6;
}

.faq-cols p {
  break-inside: avoid;
  margin-bottom: 22px;
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: end;
}

.contact-copy h2 {
  max-width: 12ch;
}

.contact-copy .lede {
  margin-top: 24px;
  max-width: 42ch;
  color: inherit;
}

.contact-copy .btn {
  margin-top: 32px;
}

.contact-list {
  display: grid;
  gap: 22px;
}

.contact-item dt {
  margin-bottom: 4px;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--muted);
}

.contact-item dd {
  font-size: var(--step-2);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.contact-item a {
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-underline-offset: 4px;
}

.placeholder {
  color: var(--muted);
}

.is-placeholder {
  text-decoration: underline dotted currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

/* ---------- footer ---------- */

.site-footer {
  padding-top: clamp(56px, 7vw, 96px);
  background: var(--paper);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  flex: none;
}

.footer-brand p {
  margin-top: 10px;
  max-width: 30ch;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--muted);
}

.footer-brand .footer-name {
  margin-top: 0;
  max-width: none;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}

.footer-col h3 {
  margin-bottom: 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}

.footer-col ul {
  font-size: 1.0625rem;
}

.footer-col li + li {
  margin-top: 8px;
}

.footer-col a {
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
  text-decoration-color: var(--brass);
}

.footer-contact {
  font-size: 1.0625rem;
  line-height: 1.6;
}

.footer-contact p + p {
  margin-top: 6px;
}

.footer-mark {
  margin-top: clamp(48px, 6vw, 72px);
  overflow: hidden;
}

.footer-mark p {
  font-size: clamp(4.2rem, 17vw, 15rem);
  font-weight: 400;
  line-height: 0.72;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 24px 0 30px;
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-legal nav {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
  text-decoration-color: var(--brass);
}

/* ---------- subpage head ---------- */

.page-head {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
  padding-top: clamp(32px, 4vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.page-head h1 {
  max-width: 14ch;
}

.page-head > div > * {
  animation: rise 800ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.page-head > div > :nth-child(2) {
  animation-delay: 80ms;
}

.page-head > aside {
  animation: rise 800ms cubic-bezier(0.2, 0.7, 0.2, 1) 160ms both;
}

.page-head .lede {
  margin-top: 24px;
  max-width: 50ch;
  font-size: var(--step-2);
}

.page-aside {
  padding-top: 8px;
}

.page-aside h2 {
  margin-bottom: 12px;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0;
}

.page-aside ul {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.5;
}

.page-aside li + li {
  margin-top: 8px;
}

.fact-list {
  display: grid;
  gap: 14px;
}

.fact-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 1.0625rem;
  line-height: 1.4;
}

.fact-list dt {
  color: var(--muted);
}

.fact-list dd {
  max-width: 18ch;
  font-weight: 600;
  text-align: right;
}

/* ---------- image band ---------- */

.image-band {
  padding-bottom: var(--section);
}

.bench-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.bench-strip-wrap {
  padding-bottom: clamp(40px, 5vw, 64px);
}

.bench-strip figure {
  overflow: hidden;
}

.bench-strip img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.bench-strip figure:first-child img {
  animation: photo-pan 18s ease-in-out infinite alternate;
}

.bench-strip figure:nth-child(3) img {
  animation: photo-pan 21s ease-in-out infinite alternate-reverse;
}

@keyframes photo-pan {
  from {
    object-position: 50% 42%;
  }
  to {
    object-position: 50% 58%;
  }
}

.bench-strip figcaption {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--muted);
}

#consoles .service-media {
  overflow: hidden;
}

#consoles .service-media img {
  animation: photo-drift 26s ease-in-out infinite alternate;
}

.image-band figure img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.image-band figcaption {
  margin-top: 10px;
  font-size: 0.875rem;
  color: var(--muted);
}

/* ---------- rate card ---------- */

.rate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step-1);
  line-height: 1.45;
}

.rate-table th {
  padding: 10px 16px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}

.rate-table td {
  padding: 16px;
  vertical-align: top;
}

.rate-table tr:nth-child(even) td {
  background: var(--paper-2);
}

.rate-table td:first-child {
  font-weight: 600;
}

.rate-table td:nth-child(2),
.rate-table td:nth-child(3) {
  white-space: nowrap;
}

.rate-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 20px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- service features ---------- */

.service-feature {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

.service-feature--flip .service-media {
  order: -1;
}

.service-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.service-copy h2 {
  max-width: 16ch;
  margin-bottom: 22px;
}

.service-copy > p {
  max-width: 46ch;
}

.service-list {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.service-list li {
  position: relative;
  padding-left: 18px;
  font-size: var(--step-1);
  line-height: 1.45;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--brass);
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 28px;
  padding-top: 20px;
  font-size: var(--step-0);
  color: var(--muted);
}

.service-meta strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: var(--step-1);
  font-weight: 600;
}

.section--ink .service-meta {
  border-top-color: rgba(236, 233, 226, 0.22);
  color: var(--on-ink-muted);
}

.section--ink .service-meta strong {
  color: var(--on-ink);
}

/* ---------- scope / principles ---------- */

.scope-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.scope-list {
  display: grid;
  gap: 18px;
}

.scope-list li {
  padding-left: 18px;
  position: relative;
  max-width: 64ch;
  font-size: var(--step-1);
  line-height: 1.5;
}

.scope-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--brass);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
}

.principle h3 {
  margin-bottom: 12px;
  font-size: var(--step-2);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.principle p {
  max-width: 34ch;
  color: var(--muted);
}

/* ---------- about page ---------- */

.about-wide {
  padding-bottom: 0;
}

.about-wide figure {
  overflow: hidden;
}

.about-wide img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  animation: photo-drift 26s ease-in-out infinite alternate;
}

@keyframes photo-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.035);
  }
}

.about-wide figcaption {
  margin-top: 10px;
  font-size: 0.875rem;
  color: var(--muted);
}

.about-body {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}

.letter {
  max-width: 62ch;
}

.letter p {
  font-size: var(--step-1);
  line-height: 1.65;
}

.letter p + p {
  margin-top: 20px;
}

.letter p:first-child {
  font-size: var(--step-2);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.letter .signature {
  margin-top: 28px;
  font-size: 1.0625rem;
  color: var(--muted);
}

.about-facts {
  padding: 28px;
  background: var(--paper-2);
}

.about-facts h2 {
  margin-bottom: 20px;
  font-size: var(--step-2);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.about-photo-side {
  margin-top: 32px;
}

.about-photo-side img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.equipment {
  columns: 2;
  column-gap: 48px;
  margin-top: 24px;
}

.equipment-intro {
  margin-top: 20px;
  max-width: 44ch;
}

.about-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.about-strip img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-strip figcaption {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--muted);
}

.equipment li {
  break-inside: avoid;
  padding-block: 8px;
  font-size: var(--step-1);
}

/* ---------- request / form ---------- */

.form-section {
  padding-bottom: var(--section);
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
}

.repair-form fieldset {
  margin: 0 0 clamp(40px, 5vw, 56px);
  padding: 0;
  border: 0;
}

.repair-form legend {
  margin-bottom: 6px;
  padding: 0;
  font-size: var(--step-2);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.form-section-note {
  margin-bottom: 24px;
  max-width: 54ch;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--muted);
}

.field {
  margin-bottom: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.field label,
.field .field-label {
  display: block;
  margin-bottom: 7px;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
}

.field input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #c5bfb2;
  border-radius: 0;
  background: var(--field);
  color: var(--ink);
  font: inherit;
  font-size: var(--step-1);
  line-height: 1.4;
}

.field select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23161512' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

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

.field input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):hover,
.field select:hover,
.field textarea:hover {
  border-color: #a9a294;
}

.field input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}

.field.has-error input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),
.field.has-error select,
.field.has-error textarea {
  border-color: var(--error);
}

.field-error {
  margin-top: 6px;
  color: var(--error);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}

.hint {
  margin-top: 6px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--muted);
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: var(--step-1);
  font-weight: 400;
  cursor: pointer;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check-row label {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.5;
}

input[type="radio"],
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
  accent-color: var(--ink);
  flex: none;
}

input[type="radio"] {
  margin-top: 4px;
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px; /* taste-skill-ignore: visually hidden file input, label is the control */
  opacity: 0;
  pointer-events: none;
}

.file-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.file-btn:hover {
  background: var(--paper-3);
}

.file-input:focus-visible + .file-btn {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.hp {
  position: absolute !important;
  left: -9999px !important;
}

.photo-list {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.875rem;
}

.photo-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 8px 12px;
  background: var(--paper-2);
}

.photo-remove {
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.875rem;
  text-decoration: underline;
  cursor: pointer;
}

.photo-remove:hover {
  color: var(--ink);
}

.form-alert {
  margin-bottom: 28px;
  padding: 18px 20px;
  background: #f0dad5;
  color: #68160e;
}

.form-alert:focus {
  outline: 3px solid var(--error);
  outline-offset: 3px;
}

.form-alert p {
  font-weight: 600;
}

.form-alert p + p {
  margin-top: 8px;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.form-alert ul {
  margin-top: 10px;
  padding-left: 18px;
  list-style: disc;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.form-alert li {
  list-style: disc;
}

.form-alert a {
  color: inherit;
}

.form-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 8px;
}

.form-submit .small {
  max-width: 34ch;
  color: var(--muted);
}

.form-aside {
  position: sticky;
  top: 24px;
}

.aside-panel {
  padding: 28px;
  background: var(--ink);
  color: var(--on-ink);
}

.aside-panel h2 {
  font-size: var(--step-2);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.aside-panel ol {
  margin-top: 20px;
  padding-left: 20px;
}

.aside-panel li {
  list-style: decimal;
  padding-left: 6px;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--on-ink-muted);
}

.aside-panel li + li {
  margin-top: 12px;
}

.aside-panel li::marker {
  color: var(--brass);
  font-weight: 600;
}

.aside-fee {
  margin-top: 16px;
  padding: 22px;
  background: var(--brass);
  color: var(--ink);
}

.aside-fee h2 {
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
}

.aside-fee p {
  margin-top: 6px;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.aside-contact {
  margin-top: 24px;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--muted);
}

.aside-contact a {
  color: var(--ink);
}

.prefill-note {
  margin-bottom: 24px;
  padding: 14px 16px;
  background: var(--brass);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.5;
  font-weight: 500;
}

.success-panel {
  padding: clamp(28px, 4vw, 48px);
  background: var(--paper-2);
}

.success-panel:focus {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.success-panel h2 {
  max-width: 16ch;
}

.success-panel .reference {
  margin-top: 24px;
  font-size: var(--step-2);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.success-panel p {
  margin-top: 14px;
  max-width: 52ch;
}

.success-panel .btn {
  margin-top: 24px;
}

/* ---------- legal ---------- */

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.legal {
  max-width: 68ch;
}

.legal h2 {
  margin-top: 40px;
  margin-bottom: 14px;
  font-size: var(--step-2);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

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

.legal p,
.legal li {
  font-size: var(--step-1);
  line-height: 1.6;
}

.legal p + p {
  margin-top: 14px;
}

.legal ul {
  margin-top: 12px;
  padding-left: 20px;
  list-style: disc;
}

.legal li {
  list-style: disc;
}

.legal li + li {
  margin-top: 6px;
}

/* ---------- 404 ---------- */

.error-page {
  display: flex;
  align-items: center;
  min-height: 58vh;
  padding-block: var(--section);
}

.error-page h1 {
  max-width: 13ch;
}

.error-page p {
  margin-top: 24px;
  max-width: 44ch;
  font-size: var(--step-2);
}

.error-page .btn {
  margin-top: 32px;
}

.error-secondary {
  margin-top: 20px;
  font-size: 0.875rem;
}

/* ---------- responsive ---------- */

@media (max-width: 1160px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 0;
  }

  .hero-facts {
    margin-top: 0;
    padding-top: 36px;
  }

  .hero-media {
    max-width: 620px;
  }
}

@media (max-width: 1000px) {
  .estimator {
    grid-template-columns: 1fr;
  }

  .ticket {
    position: static;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .section-head .lede {
    max-width: 52ch;
  }

  .service-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 40px;
  }

  .process-grid,
  .standards-grid,
  .about-teaser,
  .contact-grid,
  .page-head,
  .about-body,
  .form-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-width: 100%;
  }

  .about-card {
    position: static;
    width: auto;
    margin: -40px 20px 0;
    padding: 22px;
  }

  .facts-tile {
    margin-top: 16px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .faq-grid h2 {
    position: static;
  }

  .form-aside {
    position: static;
  }

  .aside-panel {
    max-width: none;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .service-feature {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-feature--flip .service-media {
    order: 0;
  }

  .service-media {
    max-width: 560px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    gap: 6px 20px;
    padding-top: 10px;
  }

  .nav .nav-cta {
    display: none;
  }

  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .js .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad) 28px;
    background: var(--paper);
  }

  .js .nav.is-open {
    display: flex;
  }

  .js .nav a {
    width: 100%;
    padding: 14px 0;
    font-size: var(--step-2);
  }

  .js .nav a[aria-current="page"] {
    color: var(--muted);
  }

  .js .nav .nav-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 16px;
    padding: 14px 18px;
    border: 0;
    background: var(--ink);
    color: var(--paper);
    font-size: 1.0625rem;
    font-weight: 600;
  }

  .js .header-actions .btn {
    display: none;
  }

  .hero-frame {
    aspect-ratio: 4 / 5;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .principle p {
    max-width: 52ch;
  }

  .scope-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 700px) {
  .bench-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

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

  .rate-table thead {
    display: none;
  }

  .rate-table,
  .rate-table tbody,
  .rate-table tr,
  .rate-table td {
    display: block;
    width: 100%;
  }

  .rate-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 16px;
    padding: 16px 4px;
  }

  .rate-table tr:nth-child(even) {
    background: var(--paper-2);
    padding-inline: 12px;
  }

  .rate-table tr:nth-child(even) td {
    background: transparent;
  }

  .rate-table td {
    padding: 0;
    white-space: normal;
  }

  .rate-table td:first-child {
    grid-column: 1 / -1;
    margin-bottom: 4px;
  }

  .rate-table td:nth-child(2)::before,
  .rate-table td:nth-child(3)::before {
    content: attr(data-label) " ";
    color: var(--muted);
    font-weight: 400;
  }

  .rate-table td:nth-child(3) {
    grid-column: 1 / -1;
  }

  .faq-cols {
    columns: 1;
  }

  .equipment {
    columns: 1;
  }

  .test-table thead {
    display: none;
  }

  .test-table,
  .test-table tbody,
  .test-table tr,
  .test-table td {
    display: block;
    width: 100%;
  }

  .test-table tr {
    padding: 14px 0;
  }

  .test-table tr:nth-child(even) {
    background: var(--paper-2);
    padding-inline: 12px;
  }

  .test-table tr:nth-child(even) td {
    background: transparent;
  }

  .test-table td {
    padding: 2px 0;
  }

  .test-table td:first-child {
    margin-bottom: 4px;
  }

  .image-band figure img,
  .about-wide img {
    aspect-ratio: 4 / 3;
  }

  .footer-mark p {
    font-size: clamp(3.4rem, 17vw, 6rem);
  }
}

@media (max-width: 560px) {
  .about-strip {
    gap: 6px;
  }

  .about-strip figcaption {
    font-size: 0.875rem;
  }

  .service-index {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    display: grid;
    gap: 8px;
  }

  .hero-actions {
    align-items: flex-start;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-card {
    margin: -24px 12px 0;
  }

  .facts-tile {
    padding: 24px;
  }

  .ticket__row,
  .ticket__head,
  .ticket__fine {
    padding-inline: 20px;
  }

  .ticket__cta {
    margin-inline: 20px;
  }

  .form-submit .btn {
    width: 100%;
  }

  .slip__row {
    gap: 12px;
  }

  .slip__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

@media (max-width: 380px) {
  .brand-sub {
    display: none;
  }
}

/* ---------- motion preference ---------- */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero-slide {
    transition: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- print ---------- */

@media print {
  .site-header,
  .site-footer,
  .hero-media,
  .estimator-controls,
  .ticket__cta,
  .nav-toggle,
  .btn {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .section {
    padding-block: 24px;
  }
}