/* Torpedo ITP & Service Auto
   Colours are taken from the logo: blue #132271, red #E32B21. */

/* Archivo (SIL Open Font License, see ../fonts/OFL.txt), self-hosted.
   One variable file per subset covers every weight and width used below. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --white: #ffffff;
  --paper: #f3f5f9;
  --ink: #0a1233;
  --blue: #132271;
  --blue-hover: #1b2f96;
  --red: #e32b21;
  --steel: #4f5a75;
  --line: #dae0ea;
  --line-strong: #bfc8d8;
  --open: #17885a;

  --on-blue: #ffffff;
  --on-blue-muted: #bcc5e8;
  --line-on-blue: rgba(255, 255, 255, 0.2);
  --red-on-blue: #ff6258;

  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 56px);
  --max: 1240px;
  --section: clamp(72px, 10vw, 144px);
  --header-h: 84px;

  --r-ctl: 8px;
  --r-img: 10px;
  --shadow-card: 0 1px 2px rgba(10, 18, 51, 0.06), 0 24px 56px -16px rgba(10, 18, 51, 0.28);

  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

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

ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Type ---------- */

h1,
h2,
.contact__phone {
  font-stretch: 116%;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.04;
  text-wrap: balance;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.375rem, 1.3rem + 4.4vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 1.35rem + 2.7vw, 3.25rem);
}

h3 {
  font-stretch: 108%;
  font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  font-weight: 650;
  letter-spacing: -0.012em;
  line-height: 1.18;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.lede {
  max-width: 34em;
  color: var(--steel);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
}

/* ---------- Utilities ---------- */

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-ctl);
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

.icon {
  width: 1.125em;
  height: 1.125em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--sm {
  width: 1em;
  height: 1em;
  stroke-width: 2;
}

/* The ring is borrowed from the two red O's in the logo. */
.ring {
  display: inline-block;
  width: 0.75em;
  height: 0.75em;
  flex: none;
  border: 0.22em solid var(--red);
  border-radius: 50%;
}

.link {
  color: var(--blue);
  font-weight: 550;
  text-decoration-line: underline;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.28em;
  transition: text-decoration-color 0.2s, color 0.2s;
}

.link:hover {
  text-decoration-color: var(--red);
}

.link--ext {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}

.link--strong {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  min-height: 54px;
  padding: 0 1.5em;
  border-radius: var(--r-ctl);
  font-size: 1.0625rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.002em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px -12px rgba(19, 34, 113, 0.7);
}

.btn--primary:hover {
  background: var(--blue-hover);
}

.btn--light {
  background: var(--white);
  color: var(--blue);
}

.btn--light:hover {
  background: #e9edfb;
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
  transition: box-shadow 0.25s;
}

.header.is-scrolled {
  box-shadow: 0 1px 0 var(--line), 0 12px 32px -20px rgba(10, 18, 51, 0.35);
}

.header__bar {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  height: var(--header-h);
}

.header__logo {
  flex: none;
  margin-right: auto;
}

.header__logo img {
  width: auto;
  height: 58px;
}

.header__nav {
  display: flex;
  gap: clamp(20px, 2.6vw, 40px);
}

.header__nav a,
.footer__nav a {
  position: relative;
  padding-block: 6px;
  font-size: 0.9688rem;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
}

.header__nav a::after,
.footer__nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.header__nav a:hover::after,
.header__nav a[aria-current]::after,
.footer__nav a:hover::after {
  transform: scaleX(1);
}

.header__side {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  color: var(--blue);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}

.header__phone:hover span {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

.lang {
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: var(--line-strong);
  font-size: 0.875rem;
  font-weight: 600;
}

.lang a {
  padding: 6px 2px;
  color: var(--steel);
  text-decoration: none;
}

.lang a:hover {
  color: var(--blue);
}

.lang a[aria-current] {
  color: var(--ink);
  font-weight: 750;
  box-shadow: inset 0 -2px 0 var(--red);
}

.lang--header {
  padding-left: clamp(14px, 2vw, 28px);
  border-left: 1px solid var(--line);
}

.header__toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  border-radius: var(--r-ctl);
  background: none;
  color: var(--ink);
  cursor: pointer;
}

.header__burger,
.header__burger::before {
  display: block;
  width: 24px;
  height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

.header__burger {
  transform: translateY(-4px);
}

.header__burger::before {
  content: "";
  transform: translateY(8px);
}

[aria-expanded="true"] > .header__burger {
  transform: rotate(45deg);
}

[aria-expanded="true"] > .header__burger::before {
  transform: rotate(-90deg);
}

.menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.menu[hidden] {
  display: none;
}

.menu__nav {
  display: flex;
  flex-direction: column;
  padding-block: 12px;
}

.menu__nav a {
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
  font-stretch: 112%;
  font-size: 1.625rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.menu__foot {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: auto;
  padding-block: 28px 36px;
}

.lang--menu {
  font-size: 1rem;
}

@media (max-width: 1040px) {
  .header__nav,
  .lang--header {
    display: none;
  }

  .header__toggle {
    display: block;
  }
}

@media (max-width: 560px) {
  :root {
    --header-h: 68px;
  }

  .header__logo img {
    height: 42px;
  }

  .header__phone span {
    display: none;
  }

  .header__phone {
    width: 46px;
    height: 46px;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
  }

  .header__phone .icon {
    width: 20px;
    height: 20px;
  }
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns:
    minmax(var(--gutter), 1fr)
    minmax(0, calc(var(--max) * 0.5))
    minmax(0, calc(var(--max) * 0.5))
    minmax(var(--gutter), 1fr);
  background: var(--paper);
}

.hero__text {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: clamp(64px, 9vw, 136px);
  padding-right: clamp(40px, 7vw, 104px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1.75rem;
  color: var(--blue);
  font-size: 0.9375rem;
  font-weight: 650;
}

.hero .lede {
  margin-top: 1.75rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
  margin-top: 2.5rem;
}

.hero__media {
  position: relative;
  grid-column: 3 / 5;
  min-height: min(calc(100svh - var(--header-h)), 760px);
}

.hero__media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 50%;
}

.hours__title,
.contact__block h3,
.checklist h3,
.checklist h4 {
  font-stretch: 100%;
  font-size: 0.9375rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.4;
}

.hours__rows > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 9px;
  border-bottom: 1px solid var(--line);
  color: var(--steel);
  font-variant-numeric: tabular-nums;
}

.hours__rows > div.is-today {
  color: var(--ink);
  font-weight: 650;
}

.hours__status {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  font-weight: 650;
  line-height: 1.35;
}

.hours__status::before {
  content: "";
  width: 0.55em;
  height: 0.55em;
  flex: none;
  border-radius: 50%;
  background: var(--line-strong);
  transform: translateY(-0.08em);
}

.hours__status.is-open::before {
  background: var(--open);
  box-shadow: 0 0 0 4px rgba(23, 136, 90, 0.16);
}

.hours--card {
  position: absolute;
  bottom: clamp(32px, 5vw, 64px);
  left: clamp(-88px, -5vw, -40px);
  width: min(340px, calc(100% - 24px));
  padding: 26px 28px 24px;
  border-radius: var(--r-img);
  background: var(--white);
  box-shadow: var(--shadow-card);
  font-size: 0.9688rem;
}

.hours--card .hours__status {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.hours--card .hours__title {
  margin-bottom: 4px;
}

.hours__address {
  margin-top: 16px;
  color: var(--steel);
  line-height: 1.7;
}

@media (max-width: 999px) {
  .hero {
    display: block;
  }

  .hero__text {
    padding: clamp(48px, 9vw, 80px) var(--gutter);
  }

  .hero__media {
    min-height: 0;
    padding: 0 var(--gutter) 48px;
    background: linear-gradient(var(--paper), var(--paper)) top / 100% 0 no-repeat;
  }

  .hero__media > img {
    position: static;
    width: calc(100% + 2 * var(--gutter));
    max-width: none;
    margin-inline: calc(-1 * var(--gutter));
    aspect-ratio: 3 / 2;
  }

  .hours--card {
    position: relative;
    inset: auto;
    width: auto;
    max-width: 440px;
    margin-top: -56px;
  }
}

@media (max-width: 480px) {
  .actions .btn {
    width: 100%;
  }
}

/* ---------- Sections ---------- */

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

.section__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 20px;
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 96px);
}

.section__head h2 {
  grid-column: span 5;
}

.section__head .lede {
  grid-column: 7 / -1;
}

.feature {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 32px;
  align-items: center;
}

.feature + .feature {
  margin-top: clamp(64px, 9vw, 128px);
}

.feature__media {
  grid-column: 1 / span 7;
}

.feature__body {
  grid-column: 9 / -1;
}

.feature--flip .feature__media {
  grid-column: 6 / -1;
  order: 2;
}

.feature--flip .feature__body {
  grid-column: 1 / span 4;
}

.feature__media img,
.trio__media img,
.acc__figure > img {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--r-img);
  background: var(--paper);
  object-fit: cover;
}

.feature__body > p {
  margin-top: 1.1rem;
  color: var(--steel);
}

.feature__body > .feature__cta {
  margin-top: 1.75rem;
  color: var(--ink);
  font-weight: 550;
}

.checklist {
  margin-top: 2rem;
}

.ring-list {
  margin-top: 10px;
  border-top: 1px solid var(--line);
}

.ring-list li {
  position: relative;
  padding: 11px 0 11px 1.75em;
  border-bottom: 1px solid var(--line);
  line-height: 1.4;
}

.ring-list li::before {
  content: "";
  position: absolute;
  top: calc(11px + 0.33em);
  left: 2px;
  width: 0.72em;
  height: 0.72em;
  border: 0.2em solid var(--red);
  border-radius: 50%;
}

.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 32px;
  margin-top: clamp(64px, 9vw, 128px);
  padding-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

.trio__media img {
  aspect-ratio: 4 / 3;
}

.trio__item h3 {
  margin-top: 1.5rem;
  font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.4375rem);
}

.trio__item p {
  max-width: 30em;
  margin-top: 0.6rem;
  color: var(--steel);
}

@media (max-width: 899px) {
  .section__head,
  .feature {
    display: block;
  }

  .section__head .lede {
    margin-top: 1.25rem;
  }

  .feature__body {
    margin-top: 2rem;
  }

  .trio {
    grid-template-columns: minmax(0, 1fr);
  }

  .trio__media img {
    aspect-ratio: 3 / 2;
  }
}

/* ---------- ACC ---------- */

.acc {
  background: var(--blue);
  color: var(--on-blue);
}

.acc ::selection {
  background: var(--white);
  color: var(--blue);
}

.acc__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 32px;
  align-items: center;
}

.acc__body {
  grid-column: 1 / span 5;
}

.acc__subtitle {
  margin-top: 0.75rem;
  color: var(--on-blue-muted);
  font-stretch: 108%;
  font-size: 1.125rem;
  font-weight: 500;
}

.acc .lede {
  margin-top: 1.75rem;
  color: var(--on-blue-muted);
}

.checklist--on-blue .ring-list,
.checklist--on-blue .ring-list li {
  border-color: var(--line-on-blue);
}

.checklist--on-blue .ring-list li::before {
  border-color: var(--red-on-blue);
}

.acc .btn {
  margin-top: 2.5rem;
}

.acc__figure {
  position: relative;
  grid-column: 7 / -1;
  overflow: hidden;
  border-radius: var(--r-img);
  box-shadow: 0 40px 80px -40px rgba(4, 8, 32, 0.8);
}

.acc__figure > img {
  border-radius: 0;
}

.acc__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 1.5px rgba(10, 18, 51, 0.75));
  pointer-events: none;
}

.acc__overlay * {
  vector-effect: non-scaling-stroke;
}

.acc__axis {
  stroke-dasharray: 0.012 0.012;
  opacity: 0.85;
}

.acc__level {
  opacity: 0.9;
}

.acc__ticks {
  opacity: 0.9;
}

.acc__brackets {
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
}

.acc__lock {
  stroke: var(--red-on-blue);
  stroke-width: 3;
  transform-box: fill-box;
  transform-origin: center;
}

.acc__readout {
  position: absolute;
  bottom: clamp(12px, 2.4vw, 24px);
  left: clamp(12px, 2.4vw, 24px);
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 2px 18px;
  padding: 14px 18px;
  border-radius: var(--r-ctl);
  background: rgba(10, 18, 51, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

.acc__readout-label {
  grid-column: 1 / -1;
  color: var(--on-blue-muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

.acc__readout-value {
  min-width: 3.1ch;
  font-stretch: 112%;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.acc__readout-state {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  color: #7fe0b3;
  font-size: 0.875rem;
  font-weight: 650;
}

/* The one animated moment on the page: the target "locks on" when scrolled into view.
   Without JS, or with reduced motion, the overlay simply shows its final state. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-calibration] .acc__axis {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
  }

  .js [data-calibration] .acc__level {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
  }

  .js [data-calibration] .acc__ticks {
    opacity: 0;
  }

  .js [data-calibration] .acc__brackets {
    opacity: 0;
    transform: scale(1.5);
  }

  .js [data-calibration] .acc__lock {
    opacity: 0;
    transform: translateX(26px) scale(1.6);
  }

  .js [data-calibration] .acc__readout {
    opacity: 0;
    transform: translateY(8px);
  }

  .js [data-calibration] .acc__readout-state.is-busy {
    color: var(--on-blue-muted);
  }

  .js [data-calibration] .acc__readout-state.is-busy .icon {
    display: none;
  }

  .js [data-calibration].is-live .acc__axis {
    stroke-dasharray: 0.012 0.012;
    stroke-dashoffset: 0;
    animation: acc-draw 0.9s var(--ease) both;
  }

  .js [data-calibration].is-live .acc__level {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.9s var(--ease) 0.25s;
  }

  .js [data-calibration].is-live .acc__ticks {
    opacity: 0.9;
    transition: opacity 0.5s 0.9s;
  }

  .js [data-calibration].is-live .acc__brackets {
    opacity: 1;
    transform: none;
    transition: opacity 0.4s 0.5s, transform 1.1s var(--ease) 0.5s;
  }

  .js [data-calibration].is-live .acc__lock {
    opacity: 1;
    transform: none;
    transition: opacity 0.3s 0.7s, transform 1.5s var(--ease) 0.7s;
  }

  .js [data-calibration].is-live .acc__readout {
    opacity: 1;
    transform: none;
    transition: opacity 0.5s 0.4s, transform 0.5s var(--ease) 0.4s;
  }

  @keyframes acc-draw {
    from {
      clip-path: inset(0 0 100% 0);
    }
    to {
      clip-path: inset(0);
    }
  }
}

@media (max-width: 899px) {
  .acc__grid {
    display: block;
  }

  .acc__figure {
    margin-top: 48px;
  }
}

/* ---------- Why ---------- */

.why__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 32px;
}

.why__grid h2 {
  grid-column: span 4;
}

.why__items {
  grid-column: 6 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
}

.why__item {
  padding-block: 28px 36px;
  border-top: 1px solid var(--line-strong);
}

.why__item h3 {
  font-size: 1.25rem;
}

.why__item p {
  max-width: 26em;
  margin-top: 0.5rem;
  color: var(--steel);
}

@media (max-width: 899px) {
  .why__grid {
    display: block;
  }

  .why__items {
    margin-top: 40px;
  }
}

@media (max-width: 560px) {
  .why__items {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

.contact {
  background: var(--paper);
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 32px;
  align-items: start;
}

.contact__lead {
  grid-column: 1 / span 7;
}

.contact__lead .lede {
  margin-top: 1.5rem;
}

.contact__phone {
  display: inline-block;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  color: var(--blue);
  font-size: clamp(2.5rem, 1.2rem + 5.4vw, 5.25rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(var(--red), var(--red)) left bottom / 0 3px no-repeat;
  padding-bottom: 0.12em;
  transition: background-size 0.45s var(--ease);
}

.contact__phone:hover,
.contact__phone:focus-visible {
  background-size: 100% 3px;
}

.contact__email {
  margin-top: 1.5rem;
  font-size: 1.125rem;
}

.contact__details {
  grid-column: 9 / -1;
  display: grid;
  gap: 40px;
}

.contact__block h3 {
  margin-bottom: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-strong);
}

.contact__block p {
  color: var(--steel);
}

.contact__block p + p {
  margin-top: 8px;
}

.contact__block .hours__rows {
  margin-top: -10px;
}

.contact__block .hours__status {
  margin-top: 16px;
  color: var(--ink);
}

@media (max-width: 899px) {
  .contact__grid {
    display: block;
  }

  .contact__details {
    margin-top: 56px;
  }
}

/* ---------- Footer ---------- */

.footer {
  padding-block: 56px 32px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}

.footer__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: center;
}

.footer__logo img {
  width: auto;
  height: 64px;
}

.footer__tagline {
  max-width: 30em;
  color: var(--steel);
}

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

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--steel);
}

@media (max-width: 899px) {
  .footer__top {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }
}

/* ---------- Motion & print ---------- */

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media print {
  .header {
    position: static;
  }

  .header__toggle,
  .menu,
  .acc__overlay,
  .acc__readout {
    display: none !important;
  }
}
