/* Gantry Motor Works (sample website). Plain CSS, no build step, nothing loaded from other sites. */

/* Anybody (SIL Open Font License 1.1) for headings, the number plates and big figures. One variable file
   holds every weight (100 to 900) and width (50% to 150%): wide for headings, narrow for number plates. */
@font-face {
  font-family: "Anybody";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: swap;
  src: url(fonts/anybody-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;
}

/* IBM Plex Sans (SIL Open Font License 1.1) for body text. One variable file: weights 100 to 700. */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-stretch: 85% 100%;
  font-display: swap;
  src: url(fonts/ibm-plex-sans-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 {
  --graphite: #141619;
  --graphite-2: #1b1e22;
  --graphite-3: #262a30;
  --graphite-4: #353b43;
  --paper: #f5f6f6;
  --concrete: #e8eaec;
  --white: #ffffff;
  --line: #d4d8dd;
  --line-strong: #a9b0b8;
  --line-dark: rgba(255, 255, 255, 0.13);
  --text: #15171a;
  --muted: #50575f;
  --muted-light: #a3abb4;
  --on-dark: #d3d7dc;
  --signal: #ffcc1a;
  --signal-hover: #ffd94d;
  --signal-deep: #c79a00;
  --plate: #ffd21a;
  --plate-blue: #1d4ea5;
  --go: #3ccf7c;
  --go-ink: #12733c;
  --go-soft: #e3f5ea;
  --stop: #ff7a6b;
  --stop-ink: #b3261e;
  --stop-soft: #fbe9e7;
  --note: #e4e9ef;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(20, 22, 25, 0.08), 0 16px 32px -18px rgba(20, 22, 25, 0.35);
  --display: "Anybody", "Arial Black", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

.on-dark :focus-visible,
.site-header :focus-visible,
.hero :focus-visible,
.section-dark :focus-visible,
.site-footer :focus-visible,
.page-head :focus-visible,
.board :focus-visible {
  outline-color: var(--signal);
}

[hidden] {
  display: none !important;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

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

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

.wrap {
  width: min(1200px, 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--signal);
  color: var(--graphite);
  font-weight: 700;
  transform: translateY(-200%);
}

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

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

.display,
.h1,
.h2,
.h3-display {
  font-family: var(--display);
  font-weight: 820;
  font-stretch: 118%;
  letter-spacing: -0.012em;
}

.display {
  font-size: clamp(2.45rem, 5.6vw, 4.7rem);
  font-stretch: 122%;
  line-height: 0.94;
}

.h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 0.98;
}

.h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.9rem);
  line-height: 1.02;
}

.hl {
  color: var(--signal);
}

.lead {
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  line-height: 1.55;
}

.bay {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bay span {
  padding: 0.28rem 0.55rem 0.24rem;
  border: 2px solid var(--graphite);
  background: var(--signal);
  color: var(--graphite);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.bay-dark {
  color: var(--muted-light);
}

.bay-dark span {
  border-color: var(--signal);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.1rem;
  padding: 0.75rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

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

.btn-signal {
  background: var(--signal);
  color: var(--graphite);
  box-shadow: 0 3px 0 var(--signal-deep);
}

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

.btn-signal:active {
  box-shadow: 0 1px 0 var(--signal-deep);
}

.btn-dark {
  background: var(--graphite);
  color: var(--white);
}

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

.btn-outline {
  border-color: var(--graphite);
  background: transparent;
  color: var(--graphite);
}

.btn-outline:hover {
  background: var(--graphite);
  color: var(--white);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn-sm {
  min-height: 2.6rem;
  padding: 0.45rem 1rem;
  font-size: 0.95rem;
  white-space: nowrap;
}

.btn-block {
  width: 100%;
}

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

/* ---------- Sample bar ---------- */

.sample-bar {
  background: var(--note);
  color: #1f2832;
  font-size: 0.875rem;
  line-height: 1.45;
}

.sample-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.25rem;
  padding: 0.5rem 0;
}

.sample-bar p {
  margin: 0;
}

.sample-tag {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.05rem 0.4rem;
  background: var(--graphite);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: 0.1em;
}

.sample-bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  white-space: nowrap;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--graphite);
  color: var(--white);
  transition: box-shadow 0.2s;
}

.site-header.is-stuck {
  box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  text-decoration: none;
}

.brand-mark {
  flex: none;
  width: 2.35rem;
  height: 2.35rem;
}

.brand-bg {
  fill: var(--signal);
}

.brand-lift {
  fill: none;
  stroke: var(--graphite);
  stroke-width: 3.4;
  stroke-linecap: square;
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.4rem;
  font-stretch: 135%;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-sub {
  margin-top: 0.22rem;
  color: var(--muted-light);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.nav {
  margin-left: auto;
}

.nav ul {
  display: flex;
  gap: 0.15rem;
}

.nav a {
  position: relative;
  display: block;
  padding: 0.55rem 0.7rem;
  color: var(--on-dark);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}

.nav a:hover {
  color: var(--white);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: none;
}

.nav a[aria-current="page"] {
  color: var(--white);
  font-weight: 650;
}

.menu-toggle {
  display: none;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

@media (max-width: 1080px) {
  .header-inner {
    gap: 0.75rem;
  }

  .header-cta {
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0.25rem 1.25rem 1.25rem;
    border-top: 1px solid var(--line-dark);
    background: var(--graphite);
    box-shadow: 0 24px 30px -20px rgba(0, 0, 0, 0.6);
  }

  .nav.is-open {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    gap: 0;
  }

  .nav a {
    padding: 0.9rem 0.1rem;
    border-bottom: 1px solid var(--line-dark);
    font-size: 1.1rem;
  }

  .nav a::after {
    display: none;
  }

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

/* Phones: the logo, Book MOT and the menu button share one line without squashing the logo. */
@media (max-width: 420px) {
  .site-header .brand {
    gap: 0.5rem;
  }

  .site-header .brand-mark {
    width: 2rem;
    height: 2rem;
  }
}

@media (max-width: 400px) {
  .brand-sub {
    letter-spacing: 0.2em;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .header-cta {
    padding-inline: 0.8rem;
  }
}

@media (max-width: 389px) {
  .header-inner {
    gap: 0.5rem;
  }

  .header-cta {
    padding-inline: 0.6rem;
    white-space: nowrap;
  }
}

/* The smallest phones (320 px) have no room for Book MOT; the menu and the home page lead to booking. */
@media (max-width: 359px) {
  .header-cta {
    display: none;
  }

  .menu-toggle {
    margin-left: auto;
  }
}

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

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(48rem 26rem at 80% 30%, rgba(255, 204, 26, 0.09), transparent 65%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--graphite);
  color: var(--white);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 3rem;
  padding: 4.5rem 0 8rem;
}

.eyebrow {
  margin-bottom: 1.5rem;
  color: var(--muted-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  margin-right: 0.65rem;
  background: var(--signal);
}

.hero .display {
  margin-bottom: 1.5rem;
}

.hero .display .hl {
  display: block;
}

.hero .lead {
  max-width: 33rem;
  margin-bottom: 2rem;
  color: var(--on-dark);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 2rem 0 0;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
  color: var(--on-dark);
  font-size: 0.93rem;
  line-height: 1.35;
}

.status strong {
  color: var(--white);
  font-weight: 650;
}

.status-dot {
  position: relative;
  width: 0.62rem;
  height: 0.62rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--muted-light);
}

.status.is-open .status-dot {
  background: var(--go);
}

.status.is-open .status-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--go);
  animation: ping 2.2s ease-out infinite;
}

.status.is-closed .status-dot {
  background: var(--stop);
}

@keyframes ping {
  from {
    opacity: 0.7;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(2.6);
  }
}

.hero-art {
  margin: 0;
}

.lift-art {
  width: 100%;
  height: auto;
}

.lift-art .floor {
  stroke: #4c545e;
  stroke-width: 2;
}

.lift-art .floor-ticks {
  stroke: #353b43;
  stroke-width: 2;
}

.lift-art .lift,
.lift-art .lift-shade {
  fill: var(--signal);
}

.lift-art .hz {
  fill: url(#hazard);
}

.lift-art .hz-dark {
  fill: var(--graphite);
}

.lift-art .lift-base {
  fill: #3a4048;
}

.lift-art .lift-carriage {
  fill: #e3b300;
}

.lift-art .lift-cable {
  stroke: rgba(20, 22, 25, 0.35);
  stroke-width: 2;
}

.lift-art .lift-arm {
  fill: #cfa300;
}

.lift-art .lift-pad {
  fill: #3a4048;
}

.lift-art .car-body {
  fill: #23272d;
  stroke: #e8ebee;
  stroke-width: 2.5;
  stroke-linejoin: round;
}

.lift-art .car-glass {
  fill: #343c46;
  stroke: #e8ebee;
  stroke-width: 2;
  stroke-linejoin: round;
}

.lift-art .car-line {
  fill: none;
  stroke: #707984;
  stroke-width: 1.6;
}

.lift-art .car-handle {
  stroke: #e8ebee;
  stroke-width: 3;
  stroke-linecap: round;
}

.lift-art .car-light {
  fill: #fff4bf;
}

.lift-art .car-tail {
  fill: #e5533f;
}

.lift-art .car-mirror {
  fill: #23272d;
  stroke: #e8ebee;
  stroke-width: 2;
  stroke-linejoin: round;
}

.lift-art .car-pipe {
  fill: #707984;
}

.lift-art .tyre {
  fill: #0d0f11;
  stroke: #e8ebee;
  stroke-width: 2.5;
}

.lift-art .rim {
  fill: #2c323a;
  stroke: #9aa3ad;
  stroke-width: 2;
}

.lift-art .hub {
  fill: #9aa3ad;
}

.lift-art .caliper {
  fill: none;
  stroke: var(--signal);
  stroke-width: 7;
}

.lift-art .leader {
  fill: none;
  stroke: #c3c9d0;
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
}

.lift-art .callout circle {
  fill: var(--signal);
}

.lift-art .callout text {
  fill: var(--graphite);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 850;
  text-anchor: middle;
}

.hero-art figcaption {
  margin-top: 0.75rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-dark);
}

.figcap-title {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--muted-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.callout-key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  counter-reset: callout;
  color: var(--on-dark);
  font-size: 0.9rem;
}

.callout-key li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  counter-increment: callout;
}

.callout-key li::before {
  content: counter(callout);
  display: grid;
  place-items: center;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--signal);
  color: var(--graphite);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 850;
}

.hazard-band {
  height: 12px;
  background: repeating-linear-gradient(-45deg, var(--signal) 0 14px, var(--graphite) 14px 28px);
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 0 7rem;
  }

  .hero-art {
    max-width: 36rem;
  }
}

@media (max-width: 480px) {
  .eyebrow {
    letter-spacing: 0.12em;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .status {
    margin-top: 1.5rem;
  }
}

/* ---------- Doors (MOT, servicing, quote) ---------- */

.doors {
  position: relative;
  z-index: 2;
}

.doors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: -5rem;
}

.door {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.5rem 1.5rem;
  border: 2px solid var(--graphite);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.door-mot {
  background: var(--signal);
}

.door-kicker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.door-price {
  flex: 1;
  margin-bottom: 1.4rem;
}

.door-price > strong {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--display);
  font-size: 3.2rem;
  font-stretch: 118%;
  font-weight: 850;
  line-height: 1;
}

.door-price small {
  font-size: 1.1rem;
  font-weight: 700;
  font-stretch: 100%;
}

.door-price > span {
  display: block;
  color: var(--muted);
  font-size: 0.97rem;
}

.door-mot .door-price > span {
  color: #3b3307;
}

.plate-form .btn {
  margin-top: 0.9rem;
}

.plate-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 650;
}

@media (max-width: 960px) {
  .doors-grid {
    grid-template-columns: 1fr;
    max-width: 36rem;
  }
}

/* ---------- Number plate ---------- */

.plate {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 2px solid var(--graphite);
  border-radius: 7px;
  background: var(--plate);
  box-shadow: inset 0 0 0 3px var(--plate), inset 0 0 0 4.5px rgba(20, 22, 25, 0.75);
}

.plate:focus-within {
  outline: 3px solid var(--plate-blue);
  outline-offset: 3px;
}

.plate.is-error {
  border-color: var(--stop-ink);
}

.plate-band {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 2.6rem;
  flex-shrink: 0;
  padding-bottom: 0.45rem;
  background: var(--plate-blue);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.plate-input {
  width: 100%;
  min-width: 0;
  padding: 0.3rem 0.6rem;
  border: 0;
  background: transparent;
  color: #101010;
  font-family: var(--display);
  font-size: 2.7rem;
  font-stretch: 62%;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.plate-input:focus {
  outline: none;
}

.plate-input::placeholder {
  color: rgba(16, 16, 16, 0.32);
}

.plate-sm .plate-input {
  font-size: 2.2rem;
}

.plate-sm .plate-band {
  width: 2.2rem;
  font-size: 0.78rem;
}

.plate-status {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.plate-status.is-ok {
  color: var(--go-ink);
  font-weight: 600;
}

.plate-status.is-error {
  color: var(--stop-ink);
  font-weight: 600;
}

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

.section {
  padding: 6rem 0;
}

.section-concrete {
  background: var(--concrete);
}

.section-dark {
  background: var(--graphite);
  color: var(--white);
}

.section-head {
  max-width: 46rem;
  margin: 0 0 3rem;
}

.section-head .h2 {
  margin-bottom: 1rem;
}

.section-head p:last-child:not(.bay) {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.section-dark .section-head p:last-child:not(.bay) {
  color: var(--muted-light);
}

.section-cta {
  margin: 3rem 0 0;
}

.doors + .section {
  padding-top: 5rem;
}

@media (max-width: 720px) {
  .section {
    padding: 4.25rem 0;
  }

  .doors + .section {
    padding-top: 4rem;
  }

  .section-head {
    margin-bottom: 2.25rem;
  }
}

/* ---------- Services ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.service {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
  height: 100%;
  padding: 1.25rem 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.service:hover {
  border-color: var(--graphite);
  box-shadow: inset 4px 0 0 var(--signal);
}

.service .icon {
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1rem;
  padding: 0.5rem;
  background: var(--concrete);
  stroke-width: 1.8;
  transition: background-color 0.15s;
}

.service:hover .icon {
  background: var(--signal);
}

.service::after {
  content: "";
  position: absolute;
  top: 1.6rem;
  right: 1.35rem;
  width: 0.55rem;
  height: 0.55rem;
  border-top: 2px solid var(--line-strong);
  border-right: 2px solid var(--line-strong);
  transform: rotate(45deg);
  transition: border-color 0.15s, transform 0.15s;
}

.service:hover::after {
  border-color: var(--graphite);
  transform: translateX(3px) rotate(45deg);
}

.service-name {
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
  font-weight: 650;
  line-height: 1.25;
}

.service-text {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.service-text b {
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 1040px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .service {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 1rem;
    padding: 1rem;
  }

  .service .icon {
    grid-row: span 2;
    margin: 0;
  }
}

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

.reasons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.reason {
  padding: 1.6rem 1.5rem 1.5rem;
  border-top: 4px solid var(--graphite);
  background: var(--white);
}

.reason .icon {
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 1.1rem;
}

.reason h3 {
  margin-bottom: 0.5rem;
  font-family: var(--display);
  font-size: 1.22rem;
  font-stretch: 104%;
  font-weight: 780;
  line-height: 1.2;
  text-wrap: pretty;
}

.reason p {
  margin: 0;
  color: var(--muted);
}

.creds {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr);
  gap: 1rem 2rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: 1.4rem;
  border: 2px dashed var(--line-strong);
}

.creds-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.creds-note {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.creds-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.cred {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: repeating-linear-gradient(-45deg, var(--white) 0 10px, #f4f5f6 10px 20px);
}

.cred-label {
  padding-right: 5.2rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
}

.cred-value {
  font-family: var(--display);
  font-size: 1.05rem;
  font-stretch: 104%;
  font-weight: 750;
}

.example-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.15rem 0.45rem;
  border: 1.5px solid var(--graphite);
  background: var(--signal);
  color: var(--graphite);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 1040px) {
  .reasons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .creds {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .creds-list {
    grid-template-columns: 1fr;
  }
}

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

  .reason {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 1rem;
    padding: 1.3rem 1.2rem;
  }

  .reason .icon {
    grid-row: span 2;
    margin: 0;
  }
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.step {
  padding: 1.5rem 1.4rem 1.6rem;
  border-top: 4px solid var(--signal);
  background: var(--graphite-2);
}

.step-num {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--signal);
  font-family: var(--display);
  font-size: 2.6rem;
  font-stretch: 125%;
  font-weight: 850;
  line-height: 1;
}

.step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 650;
}

.step p {
  margin: 0;
  color: var(--muted-light);
}

@media (max-width: 1040px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 1.1rem;
    padding: 1.25rem;
  }

  .step-num {
    grid-row: span 2;
    margin: 0;
    font-size: 2rem;
  }
}

/* ---------- Collect and deliver ---------- */

.collect {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem 4rem;
  align-items: start;
}

.collect .h2 {
  margin-bottom: 1rem;
}

.collect-lead {
  margin-bottom: 1.75rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.ticks {
  display: grid;
  gap: 0.85rem;
}

.ticks li {
  display: flex;
  gap: 0.75rem;
}

.ticks .icon {
  width: 1.5rem;
  height: 1.5rem;
  padding: 0.2rem;
  background: var(--signal);
  stroke-width: 3;
}

.checker {
  border: 2px solid var(--graphite);
  background: var(--white);
  box-shadow: 10px 10px 0 var(--signal);
}

.checker-form {
  padding: 1.6rem 1.5rem 1.5rem;
}

.checker-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
  font-family: var(--display);
  font-size: 1.4rem;
  font-stretch: 110%;
  font-weight: 800;
}

.checker-title .icon {
  width: 1.8rem;
  height: 1.8rem;
}

.input-row {
  display: flex;
  gap: 0.5rem;
}

.input {
  width: 100%;
  min-width: 0;
  min-height: 3.1rem;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 1.05rem;
}

.input:focus {
  border-color: var(--graphite);
  outline: 3px solid rgba(29, 78, 165, 0.35);
  outline-offset: 0;
}

.input[aria-invalid="true"] {
  border-color: var(--stop-ink);
}

.input-postcode {
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.input-postcode::placeholder {
  letter-spacing: 0.06em;
}

.checker-result {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.result {
  padding: 0.85rem 1rem;
  border-left: 5px solid var(--line-strong);
  background: var(--paper);
  color: var(--text);
}

.result p {
  margin: 0;
}

.result p + p,
.result p + .btn {
  margin-top: 0.6rem;
}

.result-ok {
  border-left-color: var(--go-ink);
  background: var(--go-soft);
}

.result-no {
  border-left-color: var(--stop-ink);
  background: var(--stop-soft);
}

.result-error {
  border-left-color: var(--stop-ink);
  background: var(--white);
  color: var(--stop-ink);
  font-weight: 600;
}

.districts {
  padding: 1.2rem 1.5rem 1.4rem;
  border-top: 2px solid var(--graphite);
  background: var(--concrete);
}

.districts-title {
  margin-bottom: 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.district-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.district-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.85rem;
}

.district-list b {
  font-family: var(--display);
  font-stretch: 105%;
  font-weight: 800;
}

.district-list .fee {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.district-list .is-free {
  border-color: var(--graphite);
}

.district-list .is-free .fee {
  color: var(--go-ink);
}

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

  .checker {
    max-width: 36rem;
  }
}

@media (max-width: 480px) {
  .checker {
    box-shadow: 6px 6px 0 var(--signal);
  }

  .checker-form,
  .districts {
    padding-inline: 1.1rem;
  }
}

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

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem 4rem;
  align-items: start;
}

.faq-layout .section-head {
  margin-bottom: 0;
}

.faq-layout .section-head a {
  font-weight: 650;
}

.faq details {
  border-bottom: 1px solid var(--line-strong);
}

.faq details:first-child {
  border-top: 1px solid var(--line-strong);
}

.faq summary {
  position: relative;
  padding: 1.15rem 3rem 1.15rem 0;
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0.1rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--graphite);
  background: var(--white);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%);
  transition: background-color 0.15s, transform 0.2s;
}

.faq summary:hover::after {
  background: var(--signal);
}

.faq details[open] summary::after {
  background: var(--signal);
  transform: translateY(-50%) rotate(45deg);
}

.faq-body {
  padding: 0 3rem 1.15rem 0;
  color: var(--muted);
}

.faq-body p {
  margin: 0 0 0.75rem;
}

.faq-body p:last-child {
  margin: 0;
}

.faq-body a {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 860px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-body {
    padding-right: 0;
  }
}

/* ---------- Find us ---------- */

.visit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem 3rem;
  align-items: start;
}

.visit-col {
  display: grid;
  gap: 2.25rem;
}

.visit-info .h2 {
  margin-bottom: 1rem;
}

.visit-address {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 650;
}

.visit-address .icon {
  margin-top: 0.15rem;
}

.getting-here {
  display: grid;
  gap: 0.9rem;
  color: var(--muted);
}

.getting-here li {
  display: flex;
  gap: 0.75rem;
}

.getting-here .icon {
  margin-top: 0.15rem;
  color: var(--text);
}

.board {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--graphite);
  color: var(--white);
}

.board-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.board-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-size: 1.25rem;
  font-stretch: 110%;
  font-weight: 800;
}

.board-title .icon {
  color: var(--signal);
}

.status-board {
  margin: 0;
  padding: 0.3rem 0.65rem;
  font-size: 0.85rem;
}

.hours {
  margin: 0;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid var(--line-dark);
}

.hours dt {
  color: var(--on-dark);
}

.hours dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  text-align: right;
}

.hours .is-today {
  background: var(--signal);
  color: var(--graphite);
}

.hours .is-today dt {
  color: var(--graphite);
  font-weight: 700;
}

.hours .is-today dt::after {
  content: " (today)";
  font-weight: 500;
}

.board-note {
  margin-top: 0.9rem;
  color: var(--muted-light);
  font-size: 0.88rem;
}

.board-note p {
  margin: 0 0 0.35rem;
}

.board-note strong {
  color: var(--white);
  font-weight: 600;
}

.closures li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem 0;
}

.closures span:first-child {
  white-space: nowrap;
}

.closures span:last-child {
  color: var(--white);
  text-align: right;
}

.contact-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--signal);
  color: var(--graphite);
}

.contact-title {
  margin-bottom: 0.6rem;
  font-family: var(--display);
  font-size: 1.5rem;
  font-stretch: 112%;
  font-weight: 820;
  line-height: 1.1;
}

.contact-card > p {
  color: #3b3307;
}

.contact-card > p + p {
  font-size: 0.92rem;
}



.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.contact-actions .btn:first-child {
  grid-column: 1 / -1;
}

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

@media (max-width: 420px) {
  .contact-actions {
    grid-template-columns: 1fr;
  }
}

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

.site-footer {
  position: relative;
  padding: 3.75rem 0 2.5rem;
  background: var(--graphite);
  color: var(--muted-light);
  font-size: 0.95rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--signal) 0 12px, var(--graphite) 12px 24px);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 2rem 3rem;
  align-items: start;
}

.footer-contact p {
  margin: 0 0 0.6rem;
}

.footer-contact a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--signal);
}

.footer-head {
  color: var(--signal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-brand p {
  max-width: 24rem;
  margin: 1rem 0 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-nav a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--signal);
}

.footer-credit {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.875rem;
}

.footer-credit a {
  color: var(--white);
}

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

  .footer-nav {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ---------- Motion ---------- */

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Inner page heads ---------- */

.page-head {
  position: relative;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--graphite);
  color: var(--white);
}

.page-head-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 2rem 4rem;
  align-items: end;
  padding: 3.75rem 0 3.5rem;
}

.page-head .h1 {
  margin-bottom: 1rem;
}

.page-head .lead {
  max-width: 38rem;
  margin: 0;
  color: var(--on-dark);
}

.head-facts {
  display: grid;
  gap: 0.75rem;
}

.head-facts li {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line-dark);
  color: var(--muted-light);
  font-size: 0.93rem;
  line-height: 1.4;
}

.head-facts li:first-child {
  padding-top: 0;
  border-top: 0;
}

.head-facts strong {
  color: var(--signal);
  font-family: var(--display);
  font-size: 1.9rem;
  font-stretch: 112%;
  font-weight: 850;
  line-height: 1;
}

@media (max-width: 860px) {
  .page-head-inner {
    grid-template-columns: 1fr;
    padding: 2.75rem 0 2.5rem;
  }
}

/* ---------- Forms ---------- */

.field {
  display: grid;
  gap: 0.4rem;
  align-content: start;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field + .field,
.field-row + .field,
.field + .field-row {
  margin-top: 1rem;
}

.field-row > .field {
  margin-top: 0;
}

.field-label {
  padding: 0;
  font-size: 0.95rem;
  font-weight: 650;
}

.field-optional {
  margin-left: 0.35rem;
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.8rem;
  font-stretch: 100%;
  font-weight: 500;
  letter-spacing: 0;
}

.field-hint {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.field-hint a {
  color: var(--text);
  font-weight: 600;
}

.field-error {
  margin: 0;
  color: var(--stop-ink);
  font-size: 0.88rem;
  font-weight: 600;
}

.panel > .field-error {
  margin-top: 0.75rem;
}

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

textarea.input {
  min-height: 0;
  resize: vertical;
}

select.input {
  padding-right: 2.5rem;
  background:
    linear-gradient(45deg, transparent 50%, var(--graphite) 50%) right 1.15rem center / 6px 6px no-repeat,
    linear-gradient(135deg, var(--graphite) 50%, transparent 50%) right 0.8rem center / 6px 6px no-repeat,
    var(--white);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.input::placeholder {
  color: #767d86;
}

/* Choice cards: big radio buttons */

.choices {
  display: grid;
  gap: 0.6rem;
}

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

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

.choice {
  position: relative;
  display: block;
  cursor: pointer;
}

.choice input,
.seg input,
.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-body {
  position: relative;
  display: grid;
  gap: 0.2rem;
  height: 100%;
  padding: 0.95rem 1rem 0.95rem 2.75rem;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.15s, background-color 0.15s;
}

.choice-body::before {
  content: "";
  position: absolute;
  top: 1.05rem;
  left: 0.95rem;
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  background: var(--white);
}

.choice-body strong {
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.3;
}

.choice-body > span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.choice:hover .choice-body {
  border-color: var(--line-strong);
}

.choice input:checked + .choice-body {
  border-color: var(--graphite);
  background: #fff8d6;
}

.choice input:checked + .choice-body::before {
  border-color: var(--graphite);
  background: var(--signal);
  box-shadow: inset 0 0 0 3px var(--white);
}

.choice input:focus-visible + .choice-body,
.seg input:focus-visible + span,
.chip input:focus-visible + span {
  outline: 3px solid var(--plate-blue);
  outline-offset: 2px;
}

.choice input:disabled + .choice-body {
  border-style: dashed;
  background: var(--paper);
  cursor: not-allowed;
}

.choice input:disabled + .choice-body strong {
  color: var(--muted);
}

.choice input:disabled + .choice-body::before {
  border-color: var(--line);
  background: var(--paper);
}

/* Segmented control */

.segmented {
  display: grid;
  gap: 0;
  border: 2px solid var(--graphite);
  border-radius: var(--radius);
  background: var(--white);
}

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

.seg {
  position: relative;
  display: block;
  cursor: pointer;
}

.seg + .seg {
  border-left: 2px solid var(--graphite);
}

.seg span {
  display: grid;
  height: 100%;
  place-content: center;
  padding: 0.6rem 0.5rem;
  text-align: center;
  line-height: 1.25;
  transition: background-color 0.15s, color 0.15s;
}

.seg strong {
  font-weight: 650;
}

.seg small {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.seg:hover span {
  background: var(--concrete);
}

.seg input:checked + span {
  background: var(--graphite);
  color: var(--white);
}

.seg input:checked + span small {
  color: var(--signal);
}

/* Tick boxes */

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.45;
  cursor: pointer;
}

.check strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 650;
}

.check input {
  width: 1.3rem;
  height: 1.3rem;
  flex-shrink: 0;
  margin: 0.1rem 0 0;
  accent-color: var(--graphite);
}

.check:has(input:checked) {
  border-color: var(--graphite);
  background: #fff8d6;
}

/* Chips: tick boxes for the quote's jobs */

.chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.chip {
  position: relative;
  display: block;
  cursor: pointer;
}

.chip span {
  position: relative;
  display: grid;
  height: 100%;
  padding: 0.7rem 0.8rem 0.7rem 2.5rem;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  line-height: 1.3;
  transition: border-color 0.15s, background-color 0.15s;
}

.chip span::before {
  content: "";
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid var(--line-strong);
  background: var(--white);
}

.chip strong {
  font-size: 0.97rem;
  font-weight: 650;
}

.chip small {
  color: var(--muted);
  font-size: 0.82rem;
}

.chip:hover span {
  border-color: var(--line-strong);
}

.chip input:checked + span {
  border-color: var(--graphite);
  background: #fff8d6;
}

.chip input:checked + span::before {
  border-color: var(--graphite);
  background: var(--graphite);
  box-shadow: inset 0 0 0 2px var(--signal);
}

@media (max-width: 720px) {
  .chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .field-row,
  .choices-2,
  .choices-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .chip span {
    align-content: center;
    padding: 0.65rem 0.6rem 0.65rem 2.2rem;
  }

  .chip span::before {
    top: 50%;
    left: 0.65rem;
    transform: translateY(-50%);
  }

  .chip strong {
    font-size: 0.92rem;
  }

  .chip small {
    display: none;
  }
}

.noscript-note {
  margin: 0 0 1rem;
  padding: 1rem 1.25rem;
  border-left: 5px solid var(--stop-ink);
  background: var(--white);
}

/* ---------- Booking page ---------- */

.booking-section {
  padding: 2.5rem 0 5rem;
}

.booking {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 23rem);
  gap: 1.5rem;
  align-items: start;
}

.panel {
  min-width: 0;
  margin: 0 0 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.panel:last-child {
  margin-bottom: 0;
}

.panel > legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 1.15rem;
}

.panel > legend + * {
  clear: both;
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--display);
  font-size: 1.3rem;
  font-stretch: 110%;
  font-weight: 800;
  line-height: 1.15;
}

.panel-num {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  background: var(--graphite);
  color: var(--signal);
  font-size: 1rem;
  font-stretch: 100%;
}

.panel-sub {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.service-pick {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--line-strong);
}

.service-pick .field-row {
  margin-top: 1rem;
}

.car-fields {
  display: grid;
  gap: 1rem;
}

.field-plate {
  max-width: 22rem;
}

.collect-fields {
  margin-top: 1rem;
}

.collect-fields .checker-result:empty {
  display: none;
}

/* Calendar */

.cal-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.85rem;
}

.cal-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-weight: 650;
}

.cal-key {
  display: flex;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.cal-key li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cal-key i {
  width: 0.9rem;
  height: 0.3rem;
  background: var(--graphite);
}

.cal-key .key-pm {
  background: var(--signal-deep);
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.4rem;
}

.calendar-weekdays {
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.cal-day {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 3.5rem;
  padding: 0.35rem 0;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}

.cal-day:hover:not(:disabled) {
  border-color: var(--graphite);
}

.cal-day:disabled {
  border-color: transparent;
  background: transparent;
  color: #aab0b7;
  font-weight: 500;
  cursor: default;
}

.cal-day.is-closed .cal-num {
  text-decoration: line-through;
}

.cal-day.is-full {
  border: 2px dashed var(--line);
}

.cal-day.is-today {
  border: 2px dotted var(--line-strong);
}

.cal-day.is-today::after {
  content: "Today";
  position: absolute;
  bottom: 0.3rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cal-day[aria-pressed="true"] {
  border-color: var(--graphite);
  background: var(--graphite);
  color: var(--white);
}

.cal-mon {
  margin-bottom: -0.1rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cal-slots {
  display: flex;
  gap: 3px;
}

.cal-slots i {
  width: 0.8rem;
  height: 0.28rem;
  background: var(--line);
}

.cal-slots .am.on {
  background: var(--graphite);
}

.cal-slots .pm.on {
  background: var(--signal-deep);
}

.cal-day[aria-pressed="true"] .cal-slots i {
  background: var(--graphite-4);
}

.cal-day[aria-pressed="true"] .cal-slots .on {
  background: var(--signal);
}

/* The job card */

.ticket {
  position: sticky;
  top: 5.5rem;
  overflow: hidden;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: var(--radius);
  background: var(--graphite);
  color: var(--white);
}

.ticket::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--signal) 0 12px, var(--graphite) 12px 24px);
}

.ticket-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ticket-title {
  font-family: var(--display);
  font-size: 1.45rem;
  font-stretch: 112%;
  font-weight: 820;
}

.ticket-ref {
  margin: 0;
  color: var(--muted-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ticket-rows {
  margin: 0;
}

.ticket-rows div {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line-dark);
}

.ticket-rows dt {
  color: var(--muted-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
}

.ticket-rows dd {
  margin: 0;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.ticket-rows dd.is-empty {
  color: var(--muted-light);
  font-weight: 400;
}

.ticket-lines {
  margin-top: 1rem;
}

.ticket-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.35rem;
  color: var(--on-dark);
  font-size: 0.92rem;
}

.ticket-line span:last-child {
  color: var(--white);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

.ticket-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.75rem 0 0;
  padding-top: 0.85rem;
  border-top: 2px dashed var(--line-dark);
  font-weight: 600;
}

.ticket-total strong {
  color: var(--signal);
  font-family: var(--display);
  font-size: 2.3rem;
  font-stretch: 112%;
  font-weight: 850;
  line-height: 1;
}

.ticket-note {
  margin: 0.75rem 0 1.25rem;
  color: var(--muted-light);
  font-size: 0.88rem;
}

.ticket-actions {
  display: grid;
  gap: 0.6rem;
}

.ticket-error {
  margin: -0.5rem 0 1rem;
  padding: 0.7rem 0.85rem;
  border-left: 4px solid var(--stop);
  background: rgba(255, 122, 107, 0.12);
  color: var(--white);
  font-size: 0.9rem;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--white);
}

.btn-outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.ticket-small {
  margin: 1rem 0 0;
  color: var(--muted-light);
  font-size: 0.8rem;
}

.ticket-small a {
  color: var(--white);
}

.ticket :focus-visible {
  outline-color: var(--signal);
}

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

  .ticket {
    position: relative;
    top: auto;
  }
}

@media (max-width: 560px) {
  .booking-section {
    padding-top: 1.5rem;
  }

  .panel {
    padding: 1.15rem;
  }

  .panel-title {
    font-size: 1.15rem;
  }

  .calendar-weekdays,
  .calendar-days {
    gap: 0.25rem;
  }

  .cal-day {
    min-height: 3rem;
    font-size: 0.95rem;
  }

  .cal-slots i {
    width: 0.55rem;
  }

  .cal-day.is-today::after {
    content: "";
  }

  .segmented-3 {
    grid-template-columns: 1fr;
  }

  .seg + .seg {
    border-left: 0;
    border-top: 2px solid var(--graphite);
  }

  .seg span {
    display: flex;
    justify-content: space-between;
    padding: 0.7rem 0.9rem;
  }

  .ticket {
    padding-inline: 1.15rem;
  }
}

/* ---------- Quote page ---------- */

.plate-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 1.25rem;
}

.plate-row .field-plate {
  max-width: none;
}

.plate-lg .plate-input {
  font-size: 3.1rem;
}

.lookup-note {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--plate-blue);
  background: var(--paper);
  color: var(--muted);
  font-size: 0.92rem;
}

.lookup-note p {
  margin: 0;
}

.lookup-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.35rem !important;
  color: var(--text);
  font-weight: 700;
}

.field-details {
  margin-top: 1.1rem;
}

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

.send-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: var(--graphite);
  color: var(--muted-light);
}

.send-bar .btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.send-bar .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.send-bar :focus-visible {
  outline-color: var(--signal);
}

.send-note {
  flex: 1 1 14rem;
  margin: 0;
  font-size: 0.85rem;
}

.quote-side {
  position: sticky;
  top: 5.5rem;
  display: grid;
  gap: 1rem;
}

.side-card {
  padding: 1.4rem 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.side-card-concrete {
  border-color: transparent;
  background: var(--concrete);
}

.side-card-signal {
  border-color: var(--graphite);
  border-width: 2px;
  background: var(--signal);
}

.side-card-signal p {
  color: #3b3307;
}

.side-title {
  margin-bottom: 0.9rem;
  font-family: var(--display);
  font-size: 1.2rem;
  font-stretch: 110%;
  font-weight: 800;
}

.side-steps {
  display: grid;
  gap: 0.85rem;
  counter-reset: side;
  color: var(--muted);
  font-size: 0.93rem;
}

.side-steps li {
  position: relative;
  padding-left: 2.25rem;
  counter-increment: side;
}

.side-steps li::before {
  content: counter(side);
  position: absolute;
  top: 0.05rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--graphite);
  color: var(--signal);
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 850;
}

.side-steps strong {
  color: var(--text);
  font-weight: 650;
}

.guide-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}

.guide-list b {
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  white-space: nowrap;
}

.side-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.9rem;
  font-weight: 650;
}

@media (max-width: 1000px) {
  .quote-side {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  }
}

@media (max-width: 720px) {
  .plate-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .plate-lg .plate-input {
    font-size: 2.6rem;
  }

  .send-bar {
    padding: 1.1rem;
  }

  .send-bar .btn {
    flex: 1 1 100%;
  }

  .segmented-2 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Prices page ---------- */

.section-tight {
  padding: 3.5rem 0;
}

.mot-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr) minmax(0, 0.7fr);
  border: 2px solid var(--graphite);
  border-radius: var(--radius);
  background: var(--white);
}

.mot-strip-price {
  padding: 1.6rem 1.75rem;
  background: var(--signal);
}

.mot-strip-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mot-big {
  margin: 0.4rem 0 0.5rem;
  font-family: var(--display);
  font-size: 4rem;
  font-stretch: 118%;
  font-weight: 850;
  line-height: 1;
}

.mot-strip-sub {
  margin: 0;
  color: #3b3307;
  font-size: 0.93rem;
}

.mot-facts {
  display: grid;
  align-content: center;
  padding: 1.25rem 1.75rem;
}

.mot-facts li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.mot-facts li:last-child {
  border-bottom: 0;
}

.mot-facts span {
  color: var(--muted);
}

.mot-facts b {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
}

.mot-strip-cta {
  display: grid;
  align-content: center;
  gap: 0.6rem;
  padding: 1.5rem;
  border-left: 1px solid var(--line);
}

@media (max-width: 960px) {
  .mot-strip {
    grid-template-columns: 1fr;
  }

  .mot-strip-cta {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 480px) {
  .mot-strip-price,
  .mot-facts,
  .mot-strip-cta {
    padding-inline: 1.15rem;
  }

  .mot-facts li {
    font-size: 0.95rem;
  }
}

.spec {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem 1.4rem;
  border-radius: var(--radius);
  background: var(--white);
}

.spec .field {
  margin: 0;
}

.spec .seg small {
  margin-top: 0.15rem;
  font-size: 0.78rem;
  font-weight: 500;
}

.spec .seg span {
  min-height: 3.6rem;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.svc {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.5rem 1.5rem;
  border-top: 6px solid var(--graphite);
  border-radius: var(--radius);
  background: var(--white);
}

.svc-full {
  border-top-color: var(--signal);
  background: var(--graphite);
  color: var(--white);
}

.svc-every {
  margin-bottom: 0.6rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.svc-name {
  font-family: var(--display);
  font-size: 1.5rem;
  font-stretch: 112%;
  font-weight: 820;
}

.svc-price {
  margin: 0.6rem 0 0.15rem;
  font-family: var(--display);
  font-size: 3.4rem;
  font-stretch: 115%;
  font-weight: 850;
  line-height: 1;
}

.svc-for {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.svc-blurb {
  flex: 1;
  color: var(--muted);
}

.svc-takes {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.svc-actions {
  display: grid;
  gap: 0.5rem;
}

.svc-full .svc-every,
.svc-full .svc-for,
.svc-full .svc-blurb {
  color: var(--muted-light);
}

.svc-full .svc-price {
  color: var(--signal);
}

.svc-full .btn-dark {
  background: var(--signal);
  color: var(--graphite);
}

.svc-full .btn-dark:hover {
  background: var(--signal-hover);
}

.svc-full .btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.svc-full .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.svc-full :focus-visible {
  outline-color: var(--signal);
}

.compare-wrap {
  margin-top: 2rem;
  border-radius: var(--radius);
  background: var(--white);
}

.compare {
  width: 100%;
  border-collapse: collapse;
}

.compare caption {
  padding: 1.25rem 1.5rem 0.75rem;
  font-family: var(--display);
  font-size: 1.3rem;
  font-stretch: 110%;
  font-weight: 800;
  text-align: left;
}

.compare caption span {
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 500;
}

.compare th,
.compare td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.compare thead th {
  border-bottom: 2px solid var(--graphite);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare th:first-child {
  padding-left: 1.5rem;
  text-align: left;
}

.compare tbody th {
  font-weight: 500;
}

.compare tbody th small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.compare td {
  width: 7.5rem;
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare tbody tr:hover {
  background: var(--paper);
}

.tick {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  background: var(--signal);
  color: var(--graphite);
  vertical-align: middle;
}

.tick .icon {
  width: 1.1rem;
  height: 1.1rem;
  stroke-width: 3;
}

.dash {
  display: inline-block;
  width: 0.9rem;
  height: 2px;
  background: var(--line-strong);
  vertical-align: middle;
}

.compare-note {
  margin: 1.25rem 0 0;
  color: var(--muted);
}

.compare-note a {
  color: var(--text);
  font-weight: 650;
}

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

  .svc-grid {
    grid-template-columns: 1fr;
    max-width: 34rem;
  }
}

@media (max-width: 600px) {
  .spec {
    padding: 1.1rem;
  }

  .spec .seg span {
    min-height: 0;
  }

  .spec .seg small {
    margin: 0;
    text-align: right;
  }

  .compare caption {
    padding: 1.1rem 1rem 0.6rem;
  }

  .compare th,
  .compare td {
    padding: 0.6rem 0.25rem;
    font-size: 0.9rem;
  }

  .compare th:first-child {
    padding-left: 1rem;
  }

  .compare td {
    width: 3.6rem;
  }

  .compare thead th {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }

  .tick {
    width: 1.4rem;
    height: 1.4rem;
  }
}

.repairs {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2rem 4rem;
  align-items: start;
}

.repairs .section-head {
  margin: 0;
}

.section-head .repairs-labour {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--signal);
  background: var(--white);
  color: var(--text) !important;
  font-size: 1rem !important;
}

.repair-list {
  border-top: 2px solid var(--graphite);
}

.repair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.25rem 1.5rem;
  align-items: center;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.repair-name {
  font-weight: 600;
}

.repair-name small {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 400;
}

.repair-price {
  font-family: var(--display);
  font-size: 1.35rem;
  font-stretch: 105%;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.repair-price small {
  margin-right: 0.3rem;
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 600;
}

.repair-link {
  font-size: 0.9rem;
  font-weight: 650;
  white-space: nowrap;
}

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

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

  .repair-link {
    grid-column: 1 / -1;
  }
}

/* ---------- Privacy ---------- */

.page-head-solo {
  grid-template-columns: 1fr;
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  margin: 2.25rem 0 0.75rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-stretch: 110%;
  font-weight: 800;
}

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

.prose p {
  color: #30353b;
  overflow-wrap: break-word; /* the long email address on a 320 px phone */
}

.prose-note {
  margin-top: 2.5rem;
  padding: 1rem 1.25rem;
  border-left: 5px solid var(--graphite);
  background: var(--note);
  font-size: 0.95rem;
}

/* ---------- Dialogs ---------- */

.dialog {
  width: min(32rem, 100% - 2rem);
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 2px solid var(--graphite);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}

.dialog::backdrop {
  background: rgba(20, 22, 25, 0.7);
}

.dialog-body {
  display: grid;
  gap: 1.1rem;
  padding: 1.5rem;
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dialog-title {
  font-family: var(--display);
  font-size: 1.6rem;
  font-stretch: 112%;
  font-weight: 820;
  line-height: 1.05;
}

.dialog-title:focus {
  outline: none;
}

.dialog-close {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  flex-shrink: 0;
  border: 2px solid var(--graphite);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.dialog-close:hover {
  background: var(--signal);
}

.dialog p {
  margin: 0;
}

.chat {
  padding: 1rem;
  border-radius: var(--radius);
  background: #e9e4dc;
}

.chat-to {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.6rem !important;
  color: #4b4f55;
  font-size: 0.82rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.chat-subject {
  margin: 0 0 0.6rem !important;
  font-size: 0.9rem;
  font-weight: 650;
}

.bubble {
  margin: 0 0 0 auto !important;
  max-width: 94%;
  padding: 0.75rem 0.9rem;
  border-radius: 0.9rem 0.2rem 0.9rem 0.9rem;
  background: #d9f7cf;
  color: #17220f;
  font-size: 0.94rem;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

.chat-email {
  background: var(--concrete);
}

.chat-email .bubble {
  max-width: none;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
}

.sample-note {
  padding: 0.85rem 1rem;
  border-left: 5px solid var(--graphite);
  background: var(--note);
  color: #1f2832;
  font-size: 0.92rem;
}

.sample-note p + p {
  margin-top: 0.35rem;
}

.sample-note p:first-child {
  font-weight: 700;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

@media (max-width: 480px) {
  .dialog-body {
    padding: 1.15rem;
  }

  .dialog-actions .btn {
    flex: 1 1 auto;
  }
}
