@font-face { font-family: Barlow; font-weight: 400; font-display: swap; src: url(/fonts/barlow-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Barlow; font-weight: 600; font-display: swap; src: url(/fonts/barlow-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Barlow; font-weight: 700; font-display: swap; src: url(/fonts/barlow-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url(/fonts/barlow-condensed-latin-700-normal.woff2) format('woff2'); }

/* The three brand colours come from the business's settings; the rest are mixed from them. */
:root {
  --charcoal: #FFFFFF;
  --oak: #2F8E98;
  --sawdust: #2B2F33;
  --deep: color-mix(in srgb, var(--charcoal) 75%, black);
  --smoke: color-mix(in srgb, var(--charcoal) 88%, var(--sawdust));
  --line: color-mix(in srgb, var(--charcoal) 78%, var(--sawdust));
  --oak-light: color-mix(in srgb, var(--oak) 60%, white);
  --walnut: color-mix(in srgb, var(--oak) 55%, black);
  --ash: color-mix(in srgb, var(--sawdust) 68%, var(--charcoal));
  --soft: color-mix(in srgb, var(--sawdust) 85%, var(--charcoal));
  --error: #F08A78;
  /* The accent as text, on its own background, and hovered. A light page changes these below. */
  --oak-ink: var(--oak);
  --on-oak: #FFFFFF;
  --oak-hover: var(--oak-light);
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
}

/* A light page (a pale ink colour): panels a shade darker rather than lighter, the accent darkened wherever it is
   small text so it stays readable on white, and dark text on accent buttons. */
:root {
  --deep: color-mix(in srgb, var(--charcoal) 93%, var(--sawdust));
  --smoke: color-mix(in srgb, var(--charcoal) 95%, var(--sawdust));
  --line: color-mix(in srgb, var(--charcoal) 82%, var(--sawdust));
  --oak-ink: color-mix(in srgb, var(--oak) 62%, black);
  --oak-light: color-mix(in srgb, var(--oak) 70%, black);
  --oak-hover: color-mix(in srgb, var(--oak) 80%, white);
  --ash: color-mix(in srgb, var(--sawdust) 75%, var(--charcoal));
  --soft: color-mix(in srgb, var(--sawdust) 88%, var(--charcoal));
  --error: #B3261E;
}
.brand .tile { box-shadow: 0 0 0 1px var(--line); }


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--charcoal); color: var(--sawdust); font-family: Barlow, system-ui, sans-serif; font-size: 18px; line-height: 1.5; }
img { max-width: 100%; display: block; }
.star, .pin, .tick { color: var(--oak-ink); }
a { color: var(--oak-ink); }
a:hover { color: var(--oak-light); }
:focus-visible { outline: 3px solid var(--oak-light); outline-offset: 3px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--oak); color: var(--on-oak); padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; line-height: 1; }
h2 { font-size: 44px; }

/* Header */
.top { background: var(--deep); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--sawdust); text-decoration: none; }
.brand .tile { width: 52px; height: 52px; border-radius: 10px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.brand .tile img { width: 48px; height: 48px; object-fit: contain; }
.brand span { font-family: var(--display); font-size: 26px; letter-spacing: 0.03em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; font-weight: 600; font-size: 17px; }
.nav a { color: var(--soft); text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.nav a:hover { color: var(--sawdust); }
.nav a.btn-oak, .nav a.btn-oak:hover { color: var(--on-oak); padding: 0 18px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border-radius: 12px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; font-size: 17px; }
.btn-oak { background: var(--oak); color: var(--on-oak); }
.btn-oak:hover { background: var(--oak-hover); color: var(--on-oak); }
.btn-line { border-color: var(--sawdust); color: var(--sawdust); background: transparent; }
.btn-tall { min-height: 64px; border-radius: 16px; }
.btn-big { min-height: 64px; padding: 0 32px; border-radius: 16px; font-family: var(--display); font-size: 28px; letter-spacing: 0.02em; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; padding-top: 32px; padding-bottom: 24px; }
.hero-text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 18px; }
.kicker { font-size: 15px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--oak-ink); }
.hero h1 { font-size: clamp(44px, 7vw, 64px); line-height: 0.95; }
.lede { margin: 0; font-size: 20px; color: var(--soft); }
.lede-tight { margin-top: 6px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 16px; color: var(--soft); }
.trust span { display: flex; align-items: center; gap: 8px; }
.hero-img { flex: 1 1 440px; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--smoke); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
section.block { padding-top: 40px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 20px; }
.row-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.row-head span { color: var(--ash); font-size: 17px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card { background: var(--smoke); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.card .pic { margin: 0; position: relative; }
.card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.card .tag { position: absolute; left: 10px; bottom: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 0, 0.62); color: #fff; font-size: 13px; letter-spacing: 0.02em; }
.card div { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { font-size: 30px; color: var(--oak-ink); }
.card p { margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.gallery img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.gallery figcaption { font-size: 15px; color: var(--ash); }
.reviews-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; background: var(--smoke); border-radius: 16px; padding: 18px 20px; }
.reviews-bar strong { font-family: var(--display); font-size: 34px; color: var(--oak-ink); }
.reviews-bar .btn { margin-left: auto; border-color: var(--oak-ink); color: var(--oak-ink); }
.quote-ph { margin: 0; border: 2px dashed var(--walnut); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.quote-ph .tag { font-size: 13px; font-weight: 700; color: var(--oak-light); letter-spacing: 0.06em; }
.quote-ph blockquote { margin: 0; font-size: 19px; color: var(--soft); }
.quote-ph figcaption { font-size: 15px; color: var(--ash); }
.area { background: var(--smoke); border-radius: 16px; padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.area .pin { flex-shrink: 0; }
.area h2 { font-size: 32px; }
.area p { margin: 6px 0 0; color: var(--soft); }

/* Quote form */
.quote { background: var(--deep); border-top: 1px solid var(--line); }
.quote .inner { max-width: 760px; margin: 0 auto; padding: 48px 20px 56px; display: flex; flex-direction: column; gap: 20px; }
.quote h2 { font-size: 48px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .legend { font-size: 17px; font-weight: 600; }
.field input, .field textarea { min-height: 56px; border-radius: 12px; border: 2px solid var(--line); background: var(--smoke); color: var(--sawdust); font-size: 18px; padding: 12px 14px; font-family: inherit; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--oak); outline: none; }
.hint { font-size: 14px; color: var(--ash); }
fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pills { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; }
.pills span { display: flex; align-items: center; justify-content: center; text-align: center; padding: 6px 10px; line-height: 1.25; min-height: 56px; border-radius: 12px; border: 2px solid var(--line); background: var(--smoke); font-weight: 600; cursor: pointer; }
.pills input:checked + span { background: var(--oak); border-color: var(--oak); color: var(--on-oak); font-weight: 700; }
.pills input:focus-visible + span { outline: 3px solid var(--oak-light); outline-offset: 2px; }
.privacy { font-size: 15px; color: var(--ash); margin: 0; }
.send { width: 100%; height: 68px; border: 0; border-radius: 16px; background: var(--oak); color: var(--on-oak); font-family: var(--display); font-size: 30px; cursor: pointer; }
.send:disabled { opacity: 0.6; cursor: wait; }
.alert { background: color-mix(in srgb, var(--error) 18%, var(--charcoal)); border: 2px solid var(--error); border-radius: 12px; padding: 14px 16px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.sending { padding: 60px 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.done { display: flex; flex-direction: column; gap: 18px; padding: 32px 0; }
.done .btn { align-self: flex-start; min-height: 56px; }
.done h2 { font-size: 48px; }
.spinner { width: 64px; height: 64px; border-radius: 50%; border: 6px solid var(--line); border-top-color: var(--oak); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } html { scroll-behavior: auto; } }
[hidden] { display: none !important; }

footer { border-top: 1px solid var(--line); }
footer .legal { flex-basis: 100%; margin: 0; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 40px; font-size: 15px; color: var(--ash); }

/* Simple text pages */
.page { max-width: 760px; margin: 0 auto; padding: 40px 20px 60px; }
.page h1 { font-size: 48px; margin-bottom: 16px; }
.page h2 { font-size: 30px; margin: 28px 0 8px; }
.page p, .page li { color: var(--soft); }
