:root {
  --green: #0b2e24;
  --green-2: #124236;
  --tint: #eef4f0;
  --ink: #16201c;
  --muted: #56635d;
  --line: #e2dfd6;
  --bg: #ffffff;
  --soft: #f6f4ef;
  --brass: #b89b5e;
  --display: "Libre Caslon Display", Georgia, serif;
  --err: #a3271f;
  --font: "Archivo", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
  --max: 1280px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; scrollbar-color: var(--green) var(--soft); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.55 var(--font); font-variant-numeric: tabular-nums;
  caret-color: var(--green); overflow-x: hidden;
}
::selection { background: var(--green); color: #fff; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
a { color: inherit; text-underline-offset: 0.2em; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h2 { font: 400 clamp(2.1rem, 3.8vw, 3.3rem)/1.08 var(--display); letter-spacing: -0.01em; }
ul, ol { list-style: none; margin: 0; padding: 0; }
section, .top { padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2)); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--green); color: #fff; padding: 10px 14px; }
.skip:focus { left: 8px; }

/* Controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 20px;
  font: 600 0.95rem/1 var(--font); text-decoration: none;
  border: 1px solid transparent; border-radius: 2px; cursor: pointer; letter-spacing: 0.02em;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn--solid { background: var(--green); color: #fff; }
.btn--solid:hover { background: var(--green-2); }
.btn--line { background: #fff; color: var(--green); border-color: var(--green); }
.btn--line:hover { background: var(--tint); }
.btn--light { background: #fff; color: var(--green); }
.btn--light:hover { background: var(--tint); }
.btn--ghost { color: #fff; border-color: rgb(255 255 255 / 0.45); }
.btn--ghost:hover { border-color: #fff; }
.count {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px;
  background: #fff; color: var(--green); border-radius: 12px; font: 700 0.82rem/1 var(--font);
}

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 28px; padding-block: 12px;
  background: #fff; border-bottom: 1px solid var(--line);
}
.mark { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; text-decoration: none; margin-right: auto; }
.mark__logo { grid-row: span 2; width: 46px; height: 46px; }
.mark__name { align-self: end; }
.mark__sub { align-self: start; }
.find__logo { display: block; width: 72px; height: 72px; margin-bottom: 28px; }
.mark__name { font: 700 1.1rem/1.2 var(--font); letter-spacing: -0.01em; color: var(--green); }
.mark__sub { font-size: 0.78rem; line-height: 1.3; color: var(--muted); }
.top__nav { display: flex; gap: 26px; }
.top__nav a { font-weight: 500; text-decoration: none; padding: 12px 0; }
.top__nav a:hover { color: var(--green); text-decoration: underline; }

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: end; min-height: min(88vh, 860px);
  padding-block: clamp(56px, 9vw, 120px);
  background: var(--green); color: #fff;
}
.hero__img { position: absolute; inset: -6% 0; z-index: -2; width: 100%; height: 112%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(6 24 18 / 0.94) 0%, rgb(6 24 18 / 0.78) 42%, rgb(6 24 18 / 0.3) 100%); }
.hero__copy::before { content: ""; display: block; width: 64px; height: 1px; margin-bottom: 28px; background: var(--brass); }
.hero h1 { max-width: 17ch; font: 400 clamp(2.6rem, 5.8vw, 5rem)/1.03 var(--display); letter-spacing: -0.012em; }
.hero__copy p { max-width: 50ch; margin-top: 28px; font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: #dbe5df; }
.hero__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* Range */
.range { padding-block: clamp(64px, 8vw, 128px); }
.range__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px; margin-bottom: 40px; }
.range__head p { max-width: 44ch; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; color: #fff; text-decoration: none; background: var(--green); }
.tile--wide { grid-column: span 2; aspect-ratio: auto; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(6 24 18 / 0) 40%, rgb(6 24 18 / 0.86) 100%); }
.tile__cap { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; display: grid; gap: 4px; }
.tile__cap b { font: 400 clamp(1.35rem, 2vw, 1.9rem)/1.1 var(--display); }
.tile__cap i { font-style: normal; font-size: 0.85rem; color: #dbe5df; }

/* Products */
.stock { background: var(--soft); padding-block: clamp(48px, 7vw, 96px); }
.stock__head { display: grid; gap: 12px; margin-bottom: 32px; }
.stock__head p { max-width: 68ch; color: var(--muted); }
.stock__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 390px); gap: clamp(20px, 2.5vw, 40px); align-items: start; }
.ledger { min-width: 0; }
.search { display: grid; gap: 8px; font-weight: 600; font-size: 0.9rem; }
.search input, .who input {
  width: 100%; min-height: 48px; padding: 0 14px;
  font: 400 1rem/1 var(--font); color: var(--ink);
  background: #fff; border: 1px solid #b9c3bd; border-radius: 6px;
}
.search input::placeholder, .who input::placeholder { color: #6b7771; }
.search input:focus-visible, .who input:focus-visible { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
.tabs { display: flex; gap: 6px; margin: 20px 0 0; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  flex: none; min-height: 44px; padding: 0 12px; margin-bottom: -1px;
  font: 500 0.92rem/1 var(--font); color: var(--muted);
  background: transparent; border: 0; border-bottom: 2px solid transparent; cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-pressed="true"] { color: var(--green); font-weight: 600; border-bottom-color: var(--green); }
.banner { position: relative; height: 168px; margin: 16px 0 0; overflow: hidden; background: var(--green); }
.banner[hidden] { display: none; }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(6 24 18 / 0.8), rgb(6 24 18 / 0.1)); }
.banner figcaption { position: absolute; left: 22px; bottom: 16px; z-index: 1; color: #fff; font: 400 2rem/1.1 var(--display); }
.banner:not([hidden]) + .rows { margin-top: 0; border-top: 0; }
.rows {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); column-gap: 32px; align-content: start;
  margin-top: 16px; padding: 4px 20px 12px;
  background: #fff; border: 1px solid var(--line);
}
.rows__cat { grid-column: 1 / -1; padding: 24px 0 8px; font-weight: 600; font-size: 1.1rem; border-bottom: 1px solid var(--ink); }
.rows__none { grid-column: 1 / -1; padding: 32px 0; max-width: 56ch; color: var(--muted); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; border-bottom: 1px solid var(--line); }
.row__name { font-weight: 500; line-height: 1.3; }
.row__name small { display: block; font-size: 0.8rem; font-weight: 400; color: var(--muted); }
.row.is-on .row__name { color: var(--green); font-weight: 600; }
.add {
  flex: none; min-width: 64px; min-height: 38px; padding: 0 14px;
  font: 600 0.85rem/1 var(--font); color: var(--green);
  background: #fff; border: 1px solid var(--green); border-radius: 6px; cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.add:hover { background: var(--green); color: #fff; }
.step { flex: none; display: inline-grid; grid-template-columns: 38px auto 38px; align-items: center; height: 38px; border: 1px solid var(--green); border-radius: 6px; background: #fff; overflow: hidden; }
.step button { height: 100%; font: 500 1.15rem/1 var(--font); color: var(--green); background: transparent; border: 0; cursor: pointer; }
.step button:hover { background: var(--tint); }
.step input { width: 52px; height: 100%; padding: 0 2px; text-align: center; font: 600 1rem/1 var(--font); color: var(--ink); background: transparent; border: 0; border-inline: 1px solid var(--line); border-radius: 0; appearance: textfield; -moz-appearance: textfield; }
.step input::-webkit-outer-spin-button, .step input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.step input:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }

/* Enquiry panel */
.slipwrap { position: sticky; top: 88px; min-width: 0; }
.panel { background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--green); padding: 20px; box-shadow: 0 12px 28px -20px rgb(14 59 46 / 0.35); }
.panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.panel__head h3 { font-weight: 600; font-size: 1.2rem; }
.panel__head > span { font-size: 0.85rem; color: var(--muted); }
.lines { max-height: 38vh; overflow-y: auto; scrollbar-width: thin; }
.line { display: grid; grid-template-columns: 1fr auto auto; gap: 8px 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line__name { grid-column: 1 / -1; font-weight: 500; line-height: 1.3; }
.line .step { justify-self: start; grid-template-columns: 34px auto 34px; height: 36px; }
.line select { height: 36px; padding: 0 8px; font: 400 0.9rem/1 var(--font); color: var(--ink); background: #fff; border: 1px solid #b9c3bd; border-radius: 6px; cursor: pointer; }
.strike { width: 36px; height: 36px; display: grid; place-items: center; color: var(--muted); background: transparent; border: 0; border-radius: 6px; cursor: pointer; }
.strike:hover { background: #f6e9e8; color: var(--err); }
.empty { padding: 24px 0; color: var(--muted); border-bottom: 1px solid var(--line); }
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; margin-top: 18px; }
.who label { display: grid; gap: 6px; font-weight: 600; font-size: 0.85rem; }
.who input { min-height: 44px; }
.who__wide, .who .err, .who .send, .who .fine { grid-column: 1 / -1; }
.err { color: var(--err); font-weight: 500; font-size: 0.9rem; }
.send { display: grid; gap: 10px; }
.fine { font-size: 0.82rem; line-height: 1.45; color: var(--muted); }
.panel--sent { background: var(--tint); border-color: #c5d8cd; }
.panel--sent .fine { margin: 14px 0 16px; }
.lines--copy li { padding: 10px 0; border-bottom: 1px solid #c5d8cd; font-weight: 500; }

/* Ordering */
.how { padding-block: clamp(56px, 7vw, 104px); }
.how ol { counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 40px; }
.how li { counter-increment: s; padding-top: 18px; border-top: 1px solid var(--ink); }
.how li::before { content: "0" counter(s); font: 400 2.2rem/1 var(--display); color: var(--brass); }
.how h3 { margin-top: 10px; font-weight: 600; font-size: 1.25rem; line-height: 1.2; }
.how p { margin-top: 8px; max-width: 36ch; color: var(--muted); }

/* Brands */
.brands { background: var(--soft); padding-block: clamp(56px, 7vw, 104px); }
.brands ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 36px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; }
.brands li { display: grid; place-items: center; min-height: 96px; padding: 12px; text-align: center; font-weight: 600; font-size: 1.1rem; letter-spacing: 0.01em; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Contact */
.find { background: var(--green); color: #fff; padding-block: clamp(56px, 7vw, 104px) 36px; }
.find__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px; margin-top: 36px; font-size: 1.08rem; line-height: 1.7; }
.find h3 { margin-bottom: 8px; font-size: 0.85rem; font-weight: 600; color: var(--brass); }
.find address { font-style: normal; }
.find a:hover { color: #d3e2db; }
.find__note { margin-top: 56px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / 0.2); font-size: 0.85rem; color: #b9cfc5; }

/* Phone bar */
.bar { display: none; }

@media (max-width: 1000px) {
  .stock__grid { grid-template-columns: minmax(0, 1fr); }
  .slipwrap { position: static; max-width: 560px; }
  .lines { max-height: none; }
  .bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
    background: var(--green); color: #fff; font-weight: 600; text-decoration: none;
    transition: transform 0.3s var(--ease);
  }
  .bar.is-away { transform: translateY(110%); }
  .bar__go { margin-left: auto; font-weight: 500; text-decoration: underline; text-underline-offset: 0.2em; }
  body { padding-bottom: 56px; }
  .top__slip { display: none; }
  .brands ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile--wide { aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  .top__nav { display: none; }
  .hero { min-height: min(78vh, 640px); }
  .hero::after { background: linear-gradient(180deg, rgb(6 24 18 / 0.55), rgb(6 24 18 / 0.92)); }
  .banner { height: 120px; }
  .how ol { grid-template-columns: 1fr; gap: 28px; }
  .rows { padding: 4px 14px 12px; }
  .brands li { min-height: 72px; font-size: 1rem; }
}
@media (max-width: 400px) {
  .who { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}
