/* One-page site for a local trade. Built to be read on a phone, outdoors,
   by someone deciding whether to ring. The firm's colour (--livery) tints
   everything; amber is kept for the one action that matters: the call. */
@font-face {
  font-family: "Archivo";
  src: url("/_assets/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
:root {
  --livery: #23404F;
  --ink: color-mix(in oklab, var(--livery) 35%, #0B0F14);
  --ink-soft: color-mix(in oklab, var(--livery) 30%, #4A5560);
  --paper: color-mix(in oklab, var(--livery) 3%, #FFFFFF);
  --paper-quiet: color-mix(in oklab, var(--livery) 8%, #FBFAF8);
  --line: color-mix(in oklab, var(--livery) 18%, #FFFFFF);
  --deep: color-mix(in oklab, var(--livery) 78%, #05080B);
  --amber: #F6B60B;
  --amber-press: #E3A600;
  --on-deep: #FFFFFF;
  --on-deep-soft: color-mix(in oklab, var(--livery) 22%, #FFFFFF);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --radius: 0.625rem;
  --shadow: 0 1px 2px color-mix(in oklab, var(--deep) 14%, transparent),
            0 12px 32px -12px color-mix(in oklab, var(--deep) 38%, transparent);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden], [data-field]:empty { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  padding-bottom: 4.25rem;                 /* room for the fixed call bar */
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 "Archivo", system-ui, sans-serif;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--amber); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 46rem; }
.skip { position: absolute; left: -999px; top: 0; padding: 0.75rem 1rem; background: var(--amber); color: var(--ink); z-index: 30; }
.skip:focus { left: 0; }

h1, h2 {
  margin: 0;
  font-weight: 800;
  font-stretch: 78%;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.75rem, 5.2vw, 2.5rem); line-height: 1.05; margin-bottom: 1.25rem; }
p { margin: 0 0 1rem; max-width: 62ch; text-wrap: pretty; }

/* ---------- preview notice ---------- */
.preview-strip {
  margin: 0; max-width: none;
  padding: 0.55rem var(--gutter);
  background: #101418; color: #E9EDF0;
  font-size: 0.8125rem; line-height: 1.4; text-align: center;
}
.preview-strip a { color: var(--amber); white-space: nowrap; }

/* ---------- top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in oklab, var(--deep) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  color: var(--on-deep);
}
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.75rem; }
.wordmark {
  font-weight: 800; font-stretch: 75%; font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.1;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.top-call {
  display: inline-flex; align-items: center; gap: 0.5rem; flex: none;
  padding: 0.5rem 0.9rem; border-radius: 999px;
  background: color-mix(in oklab, var(--on-deep) 12%, transparent);
  font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap;
  transition: background-color 160ms ease, transform 140ms var(--ease-out);
}
.top-call svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: var(--amber); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.top-call:active { transform: scale(0.97); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; background: var(--deep); color: var(--on-deep); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--deep) 30%, transparent) 0%, color-mix(in oklab, var(--deep) 78%, transparent) 55%, var(--deep) 100%);
}
.hero:not(.hero-photo) {
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in oklab, var(--livery) 70%, #FFFFFF 8%) 0%, transparent 60%),
    var(--deep);
}
.hero-body { padding-block: clamp(3.5rem, 13vw, 8rem) clamp(2.5rem, 8vw, 5rem); }
.hero h1 { font-size: clamp(2.5rem, 10.5vw, 5.25rem); line-height: 0.96; max-width: 14ch; }
.hero-intro { margin: 1.25rem 0 0; font-size: clamp(1.125rem, 3.4vw, 1.375rem); line-height: 1.45; color: var(--on-deep-soft); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.text-link { font-weight: 600; text-decoration-color: color-mix(in oklab, currentColor 45%, transparent); }
.hero-rating {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin-top: 2.25rem;
  font-size: 0.9375rem; color: var(--on-deep-soft); text-decoration: none;
}
.stars {
  display: inline-block; flex: none; width: 5.6em; height: 1.05em; font-size: 1rem;
  background: linear-gradient(90deg, var(--amber) calc(var(--score) / 5 * 100%), color-mix(in oklab, currentColor 28%, transparent) 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 6.1 6.600.900-4.800 4.600 1.200 6.600L12 17.600 6.100 20.800l1.200-6.600L2.500 9.600l6.600-.900z'/%3E%3C/svg%3E") 0 50% / 1.12em 1.12em repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 6.1 6.600.900-4.800 4.600 1.200 6.600L12 17.600 6.100 20.800l1.200-6.600L2.500 9.600l6.600-.900z'/%3E%3C/svg%3E") 0 50% / 1.12em 1.12em repeat-x;
}

/* the one authored moment: the hero settles in on load */
@media (prefers-reduced-motion: no-preference) {
  .hero-body > * { animation: settle 700ms var(--ease-out) both; }
  .hero-body > :nth-child(2) { animation-delay: 70ms; }
  .hero-body > :nth-child(3) { animation-delay: 140ms; }
  .hero-body > :nth-child(4) { animation-delay: 210ms; }
  .hero-img { animation: ease-in-photo 1400ms var(--ease-out) both; }
}
@keyframes settle { from { opacity: 0; transform: translateY(14px); } }
@keyframes ease-in-photo { from { opacity: 0.4; transform: scale(1.04); } }

/* ---------- buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: 0.85rem 1.4rem; border-radius: var(--radius);
  font-weight: 700; font-size: 1.0625rem; font-variant-numeric: tabular-nums; text-decoration: none; text-align: center;
  transition: transform 140ms var(--ease-out), background-color 160ms ease, box-shadow 160ms ease;
}
.button:active { transform: scale(0.97); }
.button-call { background: var(--amber); color: #1B1400; box-shadow: 0 10px 24px -10px color-mix(in oklab, var(--amber) 70%, #000); }
.button-ghost { background: color-mix(in oklab, var(--on-deep) 10%, transparent); color: var(--on-deep); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--on-deep) 38%, transparent); }
@media (hover: hover) and (pointer: fine) {
  .button-call:hover { background: var(--amber-press); }
  .button-ghost:hover { background: color-mix(in oklab, var(--on-deep) 18%, transparent); }
  .top-call:hover { background: color-mix(in oklab, var(--on-deep) 20%, transparent); }
}

/* ---------- sections ---------- */
.band { padding-block: clamp(3rem, 9vw, 5.5rem) clamp(3.25rem, 10vw, 6rem); }
.band-quiet { background: var(--paper-quiet); }
.lead { font-size: 1.25rem; line-height: 1.5; }

.split { display: grid; gap: 2.5rem; }
.split-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

.jobs { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.jobs li { display: grid; gap: 0.15rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.jobs strong { font-weight: 700; font-size: 1.1875rem; font-stretch: 88%; letter-spacing: -0.01em; }
.jobs span { color: var(--ink-soft); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 0.625rem; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--radius) - 0.25rem); }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.75rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.75rem 1fr; column-gap: 1rem; align-items: start; }
.steps li::before {
  content: counter(step); grid-row: span 2;
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--livery); color: var(--on-deep);
  font-weight: 800; font-stretch: 78%; font-size: 1.25rem;
}
.steps strong { font-size: 1.1875rem; font-weight: 700; line-height: 1.3; }
.steps span { color: var(--ink-soft); }

.facts { display: grid; gap: 2.75rem; }
.facts h2 { font-size: clamp(1.5rem, 4.4vw, 1.875rem); margin-bottom: 0.75rem; }
.facts p { color: var(--ink-soft); }
.facts a { color: var(--ink); font-weight: 600; }
.hours { list-style: none; margin: 0; padding: 0; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hours li { padding: 0.35rem 0; border-bottom: 1px solid var(--line); }
.score { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 0.25rem; color: var(--ink); }
.score-number { font-weight: 800; font-stretch: 78%; font-size: 3rem; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.score .stars { font-size: 1.25rem; }

/* ---------- contact ---------- */
.contact { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: var(--on-deep); }
.contact-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.contact-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in oklab, var(--deep) 90%, transparent); }
.contact-body { padding-block: clamp(3.25rem, 10vw, 6rem); }
.contact p { color: var(--on-deep-soft); }
.contact-phone {
  display: inline-block; margin: 0.5rem 0 1.75rem;
  font-weight: 800; font-stretch: 75%; font-size: clamp(2.5rem, 11vw, 4.75rem); line-height: 1; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums; color: var(--amber); text-decoration: none; white-space: nowrap;
}
.buttons { display: grid; gap: 0.75rem; margin: 0; max-width: 26rem; }

/* ---------- footer ---------- */
.foot { padding-block: 2rem 2.5rem; background: var(--paper-quiet); color: var(--ink-soft); font-size: 0.9375rem; }
.foot p { margin: 0 0 0.35rem; }
.foot strong { color: var(--ink); }
.foot-small { font-size: 0.8125rem; }

/* ---------- call bar (phones) ---------- */
.callbar {
  position: fixed; left: 0.75rem; right: 0.75rem; bottom: max(0.75rem, env(safe-area-inset-bottom)); z-index: 25;
  display: flex; align-items: center; justify-content: center; min-height: 3.25rem; border-radius: var(--radius);
  background: var(--amber); color: #1B1400;
  font-weight: 800; font-size: 1.0625rem; font-variant-numeric: tabular-nums; text-decoration: none;
  box-shadow: 0 2px 4px color-mix(in oklab, var(--deep) 25%, transparent), 0 16px 32px -10px color-mix(in oklab, var(--deep) 55%, transparent);
  transition: transform 140ms var(--ease-out);
}
.callbar:active { transform: scale(0.97); }

@media (min-width: 52rem) {
  body { padding-bottom: 0; font-size: 1.125rem; }
  .hero-photo::after {
    background:
      linear-gradient(90deg, color-mix(in oklab, var(--deep) 92%, transparent) 0%, color-mix(in oklab, var(--deep) 70%, transparent) 42%, color-mix(in oklab, var(--deep) 12%, transparent) 100%),
      linear-gradient(180deg, transparent 60%, color-mix(in oklab, var(--deep) 55%, transparent) 100%);
  }
  .callbar { display: none; }
  .wordmark { font-size: 1.5rem; }
  .split { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: start; }
  .split-img { aspect-ratio: 4 / 5; position: sticky; top: 6rem; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .steps li { grid-template-columns: 1fr; row-gap: 0.75rem; }
  .steps li::before { grid-row: auto; }
  .facts { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 3.5rem; }
  .buttons { grid-auto-flow: column; grid-auto-columns: max-content; max-width: none; }
}
