/* ==========================================================================
   Overbuilt UK
   One typeface (Archivo) used at three widths:
     expanded  = the voice: headings, the brand
     normal    = reading
     condensed = specs, prices, small data
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --forest: #13301f;      /* logo green */
  --forest-2: #1f4631;
  --moss: #4d5f52;        /* muted text */
  --primer: #e8e9e3;      /* page */
  --plate: #f6f6f2;       /* raised surfaces */
  --graphite: #171d19;    /* text */
  --rule: #c8cbc1;
  --amber: #e89b17;       /* "in your enquiry", focus */
  --amber-soft: #f7e3bd;

  --wide: 122%;
  --narrow: 78%;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3: clamp(2rem, 1.4rem + 2.4vw, 3.1rem);
  --step-4: clamp(2.4rem, 1.5rem + 3.8vw, 4.4rem);

  --gap: clamp(1rem, 0.6rem + 1.6vw, 2rem);
  --section: clamp(3.5rem, 2.4rem + 4.5vw, 7rem);
  --radius: 5px;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--graphite);
  background: var(--primer);
  font-stretch: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
h1, h2, h3, h4 { font-stretch: var(--wide); font-weight: 750; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; max-width: 68ch; }
.small { font-size: var(--step--1); }
.muted { color: var(--moss); }
.spec { font-stretch: var(--narrow); font-variant-numeric: tabular-nums; font-weight: 600; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.section { padding-block: var(--section); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font: inherit; font-weight: 650; font-stretch: 108%;
  padding: 0.8em 1.25em; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--forest); color: var(--plate); }
.btn-primary:hover { background: var(--forest-2); }
.btn-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-outline:hover { background: var(--forest); color: var(--plate); }
.btn-light { background: var(--plate); color: var(--forest); }
.btn-light:hover { background: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.icon-btn { background: none; border: 1px solid var(--rule); border-radius: var(--radius); width: 2.2rem; height: 2.2rem; cursor: pointer; color: var(--moss); font-size: 0.9rem; flex: none; }
.icon-btn:hover { color: var(--graphite); border-color: var(--moss); }

/* ---------- draft bar ---------- */
.draft-bar { background: var(--amber); color: var(--graphite); text-align: center; font-size: var(--step--1); font-weight: 600; padding: 0.35rem 1rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--primer); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; margin-right: auto; }
.brand img { height: 26px; width: auto; }
.brand-sub { font-stretch: var(--wide); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.2em; color: var(--moss); padding-left: 0.75rem; border-left: 1px solid var(--rule); }
.primary-nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.primary-nav a { text-decoration: none; font-weight: 550; padding-block: 0.4rem; border-bottom: 2px solid transparent; }
.primary-nav a:hover { border-bottom-color: var(--rule); }
.primary-nav a[aria-current="page"] { border-bottom-color: var(--forest); }
.list-button { white-space: nowrap; font: inherit; font-weight: 600; display: inline-flex; align-items: center; gap: 0.6rem; background: var(--plate); border: 1px solid var(--rule); border-radius: var(--radius); padding: 0.5rem 0.75rem; cursor: pointer; }
.list-count { font-stretch: var(--narrow); font-variant-numeric: tabular-nums; min-width: 1.6rem; height: 1.6rem; border-radius: 3px; display: inline-grid; place-items: center; background: var(--rule); font-size: 0.85rem; }
.list-button.has-items .list-count { background: var(--amber); }
.menu-toggle { display: none; font: inherit; font-weight: 600; background: none; border: 1px solid var(--rule); border-radius: var(--radius); padding: 0.45rem 0.8rem; cursor: pointer; }

@media (max-width: 980px) {
  .brand-sub { display: none; }
  .menu-toggle { display: inline-block; order: 3; }
  .list-button { order: 2; }
  .primary-nav { position: absolute; inset: 100% 0 auto 0; background: var(--primer); border-bottom: 1px solid var(--rule); display: none; }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; padding: 0.5rem 1.25rem 1rem; }
  .primary-nav a { display: block; padding: 0.7rem 0; border-bottom: 1px solid var(--rule); }
  .primary-nav a[aria-current="page"] { border-bottom-color: var(--rule); font-weight: 750; }
}
@media (max-width: 480px) { .list-button { padding: 0.45rem 0.55rem; font-size: 0.9rem; } .brand img { height: 22px; } .header-inner { gap: 0.6rem; } }

/* ---------- page head (inner pages) ---------- */
.page-head { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) clamp(1.5rem, 1rem + 2vw, 3rem); border-bottom: 1px solid var(--rule); }
.page-head h1 { max-width: 18ch; }
.page-head .lede { font-size: var(--step-1); max-width: 52ch; color: var(--moss); margin: 0; }

/* ==========================================================================
   HOME
   ========================================================================== */
.hero { position: relative; background: var(--forest); color: var(--plate); }
.hero-photo { position: relative; height: clamp(320px, 58vh, 620px); overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--forest) 0%, rgba(19,48,31,0) 45%); }
.hero-body { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--gap); align-items: end; margin-top: -9rem; position: relative; padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.hero h1 { color: var(--plate); max-width: 13ch; margin-bottom: 0.4em; }
.hero-lede { font-size: var(--step-1); max-width: 34ch; color: #d6dcd4; margin: 0; }
.hero-credit { margin-top: 1.5rem; font-size: var(--step--1); color: #a9b6ab; }

/* the job card: the one loud element */
.job-card { background: var(--plate); color: var(--graphite); border-radius: var(--radius); padding: clamp(1.25rem, 1rem + 1vw, 2rem); box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); border-top: 6px solid var(--amber); }
.job-card h2 { font-size: var(--step-2); margin-bottom: 0.25em; }
.job-card fieldset { border: 0; padding: 0; margin: 1.25rem 0 0; }
.job-card legend { font-weight: 650; margin-bottom: 0.6rem; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 0.5rem 0.8rem; border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; font-weight: 550; font-size: 0.95rem; transition: background-color .12s, border-color .12s; }
.chip input:hover + span { border-color: var(--moss); }
.chip input:checked + span { background: var(--forest); border-color: var(--forest); color: var(--plate); }
.chip input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.job-card .btn { margin-top: 1.5rem; }
.job-foot { margin: 0.9rem 0 0; font-size: var(--step--1); color: var(--moss); }

@media (max-width: 900px) {
  .hero-body { grid-template-columns: 1fr; margin-top: -5rem; }
  .hero-photo { height: 46vh; }
}

/* process: a real sequence, so numbered */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--forest); counter-reset: step; }
.process li { list-style: none; padding: 1.5rem 1.5rem 0 0; counter-increment: step; }
.process li + li { padding-left: 1.5rem; border-left: 1px solid var(--rule); }
.process li::before { content: counter(step); display: block; font-stretch: var(--wide); font-weight: 800; font-size: var(--step-3); color: var(--forest); line-height: 1; margin-bottom: 0.75rem; }
.process h3 { margin-bottom: 0.35em; }
.process p { color: var(--moss); margin: 0; }
.process-wrap { margin: 0; padding: 0; }
.intro-split { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--gap); align-items: start; margin-bottom: 2.5rem; }
@media (max-width: 820px) {
  .process { grid-template-columns: 1fr; }
  .process li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .process li { padding-bottom: 1.25rem; }
  .intro-split { grid-template-columns: 1fr; }
}

/* areas index */
.areas { border-top: 1px solid var(--graphite); }
.area { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) 6.5rem; gap: var(--gap); align-items: baseline; padding-block: 1.4rem; border-bottom: 1px solid var(--rule); text-decoration: none; }
.area h3 { font-size: var(--step-2); margin: 0; transition: color .15s; }
.area p { margin: 0; color: var(--moss); }
.area .go { font-weight: 650; white-space: nowrap; color: var(--forest); text-align: right; }
.area:hover h3 { color: var(--forest-2); }
.area:hover .go { text-decoration: underline; }
@media (max-width: 760px) { .area { grid-template-columns: 1fr; gap: 0.35rem; } }

/* Grenadier band */
.band-forest { background: var(--forest); color: var(--plate); }
.band-forest .muted, .band-forest p { color: #cbd4cc; }
.band-forest a:not(.btn) { color: var(--plate); }
.gren-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.gren-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.facts { margin: 1.75rem 0 2rem; display: grid; gap: 0; border-top: 1px solid rgba(246,246,242,.25); }
.facts div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding-block: 0.9rem; border-bottom: 1px solid rgba(246,246,242,.25); align-items: baseline; }
.facts dt { font-stretch: var(--narrow); font-weight: 700; font-size: var(--step-2); font-variant-numeric: tabular-nums; color: var(--amber); line-height: 1; }
.facts dd { margin: 0; color: var(--plate); }
@media (max-width: 820px) { .gren-grid { grid-template-columns: 1fr; } }

/* power teaser */
.power-teaser { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--gap); align-items: center; }
.load-sample { background: var(--plate); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.5rem; }
.load-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding-block: 0.55rem; border-bottom: 1px dashed var(--rule); }
.load-row:last-child { border-bottom: 0; }
.load-row.total { border-top: 2px solid var(--graphite); border-bottom: 0; margin-top: 0.4rem; padding-top: 0.8rem; font-weight: 700; }
@media (max-width: 820px) { .power-teaser { grid-template-columns: 1fr; } }

/* recent work strip */
.work-strip { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem 1rem; }
.work-strip figure { margin: 0; display: flex; flex-direction: column; }
.work-strip img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 3px; }
.work-strip figure:first-child { grid-row: span 2; }
.work-strip figure:first-child img { flex: 1; aspect-ratio: auto; min-height: 0; height: 100%; }
.work-strip figcaption { font-size: var(--step--1); margin-top: 0.45rem; color: var(--moss); }
.work-strip figcaption strong { color: var(--graphite); display: block; font-size: var(--step-0); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
@media (max-width: 760px) { .work-strip { grid-template-columns: 1fr 1fr; } .work-strip figure:first-child { grid-column: 1 / -1; grid-row: auto; } .work-strip figure:first-child img { aspect-ratio: 16 / 10; } }

/* ask band + footer */
.ask-band { background: var(--amber); color: var(--graphite); }
.ask-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 2rem; flex-wrap: wrap; }
.ask-line { font-stretch: var(--wide); font-weight: 750; font-size: var(--step-2); line-height: 1.15; margin: 0; max-width: 30ch; }
.ask-band .btn-light { background: var(--graphite); color: var(--plate); }
.ask-band .btn-light:hover { background: var(--forest); }
.site-footer { background: var(--graphite); color: #c9cfc9; padding-top: 3.5rem; font-size: 0.95rem; }
.site-footer a { color: var(--plate); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-logo { width: 220px; height: auto; opacity: .95; }
.footer-h { font-size: 0.95rem; font-stretch: 100%; font-weight: 700; color: var(--plate); margin-bottom: 0.6rem; letter-spacing: 0; }
.site-footer address { font-style: normal; margin-bottom: 0.6rem; }
.footer-base { border-top: 1px solid #343b36; padding-block: 1.25rem 2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: var(--step--1); }
.footer-base p { margin: 0; }
.footer-legal { color: #8f988f; max-width: 60ch; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   DRAWER + TOAST
   ========================================================================== */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(23,29,25,.5); z-index: 60; opacity: 0; transition: opacity .2s; }
.drawer-backdrop.open { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100%); background: var(--plate); z-index: 61; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .22s ease; }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--rule); }
.drawer-head h2 { font-size: var(--step-1); margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 0.5rem 1.25rem; }
.drawer-foot { padding: 1.1rem 1.25rem 1.4rem; border-top: 1px solid var(--rule); }
.drawer-foot p { margin: 0.75rem 0 0; }
.list-items { list-style: none; margin: 0; padding: 0; }
.list-item { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.9rem; border-bottom: 1px solid var(--rule); }
.list-item strong { display: block; font-weight: 650; }
.item-sub, .item-opt, .item-price { display: block; font-size: var(--step--1); color: var(--moss); }
.item-price { font-stretch: var(--narrow); font-variant-numeric: tabular-nums; font-weight: 600; color: var(--graphite); }
.empty { padding: 1.5rem 0; color: var(--moss); }
.empty strong { color: var(--graphite); }
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 1rem); background: var(--graphite); color: var(--plate); padding: 0.7rem 1.1rem; border-radius: var(--radius); font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 70; max-width: calc(100% - 2rem); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   WHAT WE FIT
   ========================================================================== */
.fit-layout { display: grid; grid-template-columns: 250px 1fr; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: start; }
.filters { position: sticky; top: 5.5rem; }
.filters fieldset { border: 0; margin: 0 0 1.75rem; padding: 0; }
.filters legend { font-weight: 700; margin-bottom: 0.5rem; padding: 0; }
.filter-opt { display: flex; align-items: center; gap: 0.6rem; padding: 0.3rem 0; cursor: pointer; }
.filter-opt input { accent-color: var(--forest); width: 1.05rem; height: 1.05rem; margin: 0; }
.filter-opt .n { margin-left: auto; color: var(--moss); font-size: var(--step--1); font-stretch: var(--narrow); }
.filter-toggle { display: none; }
.results-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--graphite); flex-wrap: wrap; }
.results-meta p { margin: 0; }
.cat-group h2 { font-size: var(--step-2); margin: 2.25rem 0 0.25rem; }
.cat-group > p { color: var(--moss); margin-bottom: 0.5rem; }
.product { display: grid; grid-template-columns: 160px 1fr auto; gap: 1.25rem; padding-block: 1.25rem; border-bottom: 1px solid var(--rule); align-items: start; }
.product-img { width: 160px; aspect-ratio: 4 / 3; border-radius: 3px; overflow: hidden; background: var(--plate); }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product h3 { font-size: var(--step-1); margin-bottom: 0.3em; }
.product p { margin: 0 0 0.6rem; color: var(--moss); }
.fits { font-size: var(--step--1); color: var(--moss); margin: 0; }
.product-side { display: grid; gap: 0.6rem; justify-items: end; min-width: 11rem; text-align: right; }
.price { font-stretch: var(--narrow); font-variant-numeric: tabular-nums; font-weight: 650; font-size: var(--step-1); line-height: 1.1; }
.price small { display: block; font-size: 0.75rem; font-weight: 500; color: var(--moss); font-stretch: 100%; }
.product select { font: inherit; font-size: 0.9rem; padding: 0.45rem 0.5rem; border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; max-width: 11rem; }
.add-btn { font: inherit; font-weight: 650; font-size: 0.95rem; padding: 0.55rem 0.9rem; border-radius: var(--radius); border: 2px solid var(--forest); background: transparent; color: var(--forest); cursor: pointer; white-space: nowrap; }
.add-btn:hover { background: var(--forest); color: var(--plate); }
.add-btn.added { background: var(--amber-soft); border-color: var(--amber); color: var(--graphite); }
.sample-tag { display: inline-block; font-size: 0.72rem; font-weight: 600; padding: 0.1rem 0.4rem; border-radius: 3px; background: var(--amber-soft); color: #6a4a08; vertical-align: middle; margin-left: 0.4rem; font-stretch: 100%; letter-spacing: 0; }
.not-listed { margin-top: 2.5rem; padding: 1.5rem; background: var(--plate); border-left: 4px solid var(--forest); border-radius: 0 var(--radius) var(--radius) 0; }
.not-listed h2 { font-size: var(--step-1); }
.not-listed p { margin-bottom: 0.9rem; }
@media (max-width: 900px) {
  .fit-layout { grid-template-columns: 1fr; }
  .filters { position: static; border-bottom: 1px solid var(--rule); }
  .filter-toggle { display: inline-flex; margin-bottom: 1rem; }
  .filters-body[hidden] { display: none; }
  .filters-body { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
}
@media (min-width: 901px) { .filters-body[hidden] { display: block; } }
@media (max-width: 640px) {
  .product { grid-template-columns: 96px 1fr; }
  .product-img { width: 96px; }
  .product-side { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: flex-start; text-align: left; align-items: center; gap: 0.6rem 0.75rem; min-width: 0; }
  .product-side .price { flex-basis: 100%; }
  .filters-body { grid-template-columns: 1fr; }
}

/* photo-needed placeholder (doubles as the shot list) */
.ph { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 0.6rem; background: repeating-linear-gradient(-45deg, #eceee8 0 10px, #e3e5de 10px 20px); color: var(--moss); font-size: 0.75rem; line-height: 1.3; }
.ph strong { display: block; color: var(--graphite); font-size: 0.8rem; }

/* ==========================================================================
   FORMS (enquire + power builder)
   ========================================================================== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field .label { display: block; font-weight: 650; margin-bottom: 0.35rem; }
.field .hint { display: block; font-size: var(--step--1); color: var(--moss); font-weight: 400; margin-top: -0.2rem; margin-bottom: 0.4rem; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; color: var(--graphite); background: #fff;
  padding: 0.7rem 0.8rem; border: 1px solid #b8bcb1; border-radius: var(--radius);
}
input:focus, select:focus, textarea:focus { outline: 3px solid var(--amber); outline-offset: 0; border-color: var(--graphite); }
textarea { min-height: 9rem; resize: vertical; }
.req { color: #9a3b12; }
.field-error { color: #9a3b12; font-size: var(--step--1); margin-top: 0.3rem; display: none; }
.field.invalid .field-error { display: block; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #9a3b12; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.enquire-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; }
.panel { background: var(--plate); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.5rem; }
.panel h2 { font-size: var(--step-1); }
.enquire-side { position: sticky; top: 5.5rem; display: grid; gap: 1rem; }
.form-section { border: 0; padding: 0; margin: 0 0 2.25rem; }
.form-section legend { font-stretch: var(--wide); font-weight: 750; font-size: var(--step-2); padding: 0; margin-bottom: 1rem; }
.radio-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.consent { font-size: var(--step--1); color: var(--moss); }
.sent { padding: 2rem; border-top: 6px solid var(--forest); }
.preview { white-space: pre-wrap; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.85rem; background: #fff; border: 1px dashed var(--rule); padding: 1rem; border-radius: var(--radius); max-height: 26rem; overflow: auto; }
@media (max-width: 900px) { .enquire-layout { grid-template-columns: 1fr; } .enquire-side { position: static; order: -1; } }

/* power builder */
.pb-layout { display: grid; grid-template-columns: 1fr 360px; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; }
.pb-steps { list-style: none; margin: 0; padding: 0; counter-reset: pb; }
.pb-step { counter-increment: pb; padding-block: 2rem; border-top: 1px solid var(--rule); }
.pb-step:first-child { border-top: 2px solid var(--forest); }
.pb-step > h2 { font-size: var(--step-2); display: flex; gap: 0.8rem; align-items: baseline; }
.pb-step > h2::before { content: counter(pb); color: var(--forest); font-weight: 800; min-width: 1.4ch; }
.pb-step > p { color: var(--moss); }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0.6rem; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice .box { display: block; height: 100%; padding: 0.85rem 0.95rem; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); transition: border-color .12s, background-color .12s; }
.choice .box strong { display: block; font-weight: 650; }
.choice .box span { display: block; font-size: var(--step--1); color: var(--moss); margin-top: 0.15rem; }
.choice input:hover + .box { border-color: var(--moss); }
.choice input:checked + .box { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); background: #eef2ec; }
.choice input:focus-visible + .box { outline: 3px solid var(--amber); outline-offset: 2px; }
.load-list { display: grid; gap: 0.5rem; }
.load { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 0.7rem 0.9rem; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); }
.load.on { border-color: var(--forest); background: #eef2ec; }
.load label.load-name { display: flex; gap: 0.7rem; align-items: center; cursor: pointer; font-weight: 600; }
.load label.load-name input { accent-color: var(--forest); width: 1.1rem; height: 1.1rem; flex: none; }
.load .load-hint { display: block; font-weight: 400; font-size: var(--step--1); color: var(--moss); }
.load select { width: auto; padding: 0.4rem 0.5rem; font-size: 0.9rem; }
.load select:disabled { opacity: .4; }
.pb-result { position: sticky; top: 5.5rem; background: var(--forest); color: var(--plate); border-radius: var(--radius); padding: 1.5rem; }
.pb-result h2 { font-size: var(--step-1); color: var(--plate); }
.pb-result .big { font-stretch: var(--narrow); font-variant-numeric: tabular-nums; font-weight: 750; font-size: var(--step-3); line-height: 1; color: var(--amber); }
.pb-result dl { margin: 1rem 0; display: grid; gap: 0; }
.pb-result dl div { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding-block: 0.6rem; border-bottom: 1px solid rgba(246,246,242,.2); }
.pb-result dt { color: #cbd4cc; }
.pb-result dd { margin: 0; font-stretch: var(--narrow); font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; }
.pb-result ul { padding-left: 1.1rem; margin: 0 0 1rem; color: #dfe5de; font-size: 0.95rem; }
.pb-result .btn-light { width: 100%; }
.pb-result .note { font-size: var(--step--1); color: #aab7ac; margin: 0.9rem 0 0; }
@media (max-width: 960px) { .pb-layout { grid-template-columns: 1fr; } .pb-result { position: static; } }

/* ==========================================================================
   GRENADIER + OUR WORK
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; }
.split img { width: 100%; border-radius: 3px; aspect-ratio: 4 / 3; object-fit: cover; }
.ticklist { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.ticklist li { padding: 0.85rem 0 0.85rem 1.8rem; border-bottom: 1px solid var(--rule); position: relative; }
.ticklist li::before { content: ""; position: absolute; left: 0.15rem; top: 1.2rem; width: 0.75rem; height: 0.4rem; border-left: 2px solid var(--forest); border-bottom: 2px solid var(--forest); transform: rotate(-45deg); }
.ticklist strong { display: block; }
.ticklist span { color: var(--moss); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.build { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1.25rem, 1rem + 2vw, 3rem); padding-block: 2.5rem; border-top: 1px solid var(--rule); align-items: start; }
.build:first-of-type { border-top: 2px solid var(--forest); }
.build-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.build-photos button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 3px; overflow: hidden; aspect-ratio: 4 / 3; }
.build-photos button:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.build-photos img, .build-photos .ph { width: 100%; height: 100%; object-fit: cover; }
.build h2 { font-size: var(--step-2); }
.build .vehicle { color: var(--moss); margin-bottom: 1rem; }
.build ul { padding-left: 1.1rem; margin: 0 0 1rem; }
@media (max-width: 820px) { .build { grid-template-columns: 1fr; } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1400px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(10,14,12,.88); }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: 3px; }
.lightbox p { color: var(--plate); text-align: center; margin: 0.6rem auto 0; }
.lightbox .icon-btn { position: fixed; top: 1rem; right: 1rem; background: var(--plate); }

/* legal pages */
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2.2rem; }
.prose li { margin-bottom: 0.4rem; }
.draft-note { background: var(--amber-soft); border-left: 4px solid var(--amber); padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 2rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
[data-send-error] a, [data-send-error] .linklike { color: #9a3b12; font-weight: 600; }

/* recent-work strip: photos link to the build on Our work.
   The big first photo fills the height of the two beside it, whatever its shape. */
.work-strip figure > a { display: block; border-radius: 3px; overflow: hidden; }
.work-strip figure:first-child > a { position: relative; flex: 1; min-height: 280px; }
.work-strip figure:first-child > a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.work-strip figcaption { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 760px) {
  .work-strip figure:first-child > a { position: static; min-height: 0; }
  .work-strip figure:first-child > a img { position: static; aspect-ratio: 16 / 10; height: auto; }
}

/* ---------- partners (home page) and shoutouts (Grenadier page) ----------
   Both stay hidden until Tom adds an entry in /admin. */
.partners-band[hidden], .shoutouts[hidden] { display: none; }
.partners-head, .shoutouts-head { max-width: 46rem; margin-bottom: 1.75rem; }
.partners-head h2, .shoutouts-head h2 { margin-bottom: 0.4rem; }
.partners-head p, .shoutouts-head p { color: var(--moss); margin: 0; }
.partners-head p:empty, .shoutouts-head p:empty { display: none; }

.partners-band { border-top: 1px solid var(--rule); }
.partners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.75rem 1.25rem; }
.partner-logo { height: 104px; display: grid; place-items: center; background: var(--plate); border: 1px solid var(--rule); border-radius: 3px; padding: 1rem 1.25rem; margin-bottom: 0.7rem; }
.partner-logo > a { display: grid; place-items: center; width: 100%; height: 100%; }
.partner-logo img { max-width: 100%; max-height: 64px; width: auto; object-fit: contain; }
.partner-logo span { font-stretch: var(--wide); font-weight: 750; font-size: var(--step-1); line-height: 1.1; text-align: center; color: var(--forest); }
.partner h3 { font-size: var(--step-0); font-stretch: 100%; margin: 0 0 0.2rem; }
.partner h3 a { text-decoration: none; }
.partner h3 a:hover { text-decoration: underline; }
.partner p { font-size: var(--step--1); color: var(--moss); margin: 0; }

.shoutouts { padding-bottom: var(--section); }
.shoutout-list { display: grid; gap: 1.25rem; }
.shoutout { display: grid; grid-template-columns: minmax(150px, 15rem) 1fr; background: var(--forest); color: var(--plate); border-top: 4px solid var(--amber); border-radius: 0 0 var(--radius) var(--radius); overflow: hidden; }
.shoutout.no-logo { grid-template-columns: 1fr; }
.shoutout-logo { background: var(--plate); display: grid; place-items: center; padding: 1.5rem; }
.shoutout-logo > a { display: grid; place-items: center; width: 100%; height: 100%; }
.shoutout-logo img { max-width: 100%; max-height: 130px; width: auto; object-fit: contain; }
.shoutout-body { padding: clamp(1.25rem, 1rem + 1.2vw, 2rem); }
.shoutout h3 { font-size: var(--step-3); font-weight: 800; margin-bottom: 0.6rem; }
.shoutout h3 a { color: var(--plate); text-decoration: none; }
.shoutout h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.shoutout-body p { color: #cbd4cc; max-width: 60ch; margin: 0 0 0.9rem; }
.shoutout-body p.shoutout-go { margin: 0; font-stretch: var(--narrow); font-weight: 650; font-size: var(--step-1); }
.shoutout-go a { color: var(--amber); }
@media (max-width: 640px) {
  .shoutout { grid-template-columns: 1fr; }
  .shoutout-logo { padding: 1.25rem; min-height: 130px; }
  .shoutout-logo img { max-height: 90px; }
}
.draft-bar a { color: inherit; }
@media (max-width: 640px) {
  .partners { grid-template-columns: 1fr 1fr; gap: 1.5rem 0.9rem; }
  .partner-logo { height: 84px; padding: 0.75rem; }
  .partner-logo img { max-height: 52px; }
  .partner-logo span { font-size: var(--step-0); }
}
