@charset "UTF-8";
/* ==========================================================================
   Oakstead — Home & Garden  ·  oakstead.us
   Design system — see DESIGN.md

   Direction: "cold light, warm brass". A zinc-whitewash ground with pure-white
   tiles floating on it, deep petrol ironwork carrying the slabs, and pale brass
   reserved for the numbers. Near-square structure, pill chips.

   Base font size 19px. AAA text contrast. 48px minimum targets.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Familjen+Grotesk:wght@400..700&family=Literata:opsz,wght@7..72,400..600&display=swap');

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colour — OKLCH.
     The ground is a cool mineral zinc, never a warm cream: content sits on
     pure-white tiles, so the page reads as objects on a surface rather than
     ink on paper. Petrol is the structure. Brass is only ever a number. */
  --bg:            oklch(0.968 0.008 235);   /* zinc whitewash */
  --card:          oklch(1 0 0);             /* white tiles */
  --surface:       oklch(0.938 0.012 235);   /* recessed */
  --ink:           oklch(0.235 0.026 245);   /* 15.2:1 on zinc */
  --muted:         oklch(0.438 0.024 245);   /*  7.1:1 on zinc */
  --line:          oklch(0.872 0.014 235);
  --line-strong:   oklch(0.775 0.020 235);

  --primary:       oklch(0.415 0.088 218);   /* petrol — 8.6:1 with white */
  --primary-hover: oklch(0.355 0.078 218);
  --primary-deep:  oklch(0.268 0.055 220);   /* ironwork — slabs and footer */
  --primary-soft:  oklch(0.945 0.020 218);
  --on-primary:    oklch(1 0 0);

  --brass:         oklch(0.855 0.115 82);    /* pale brass — 10.7:1 with ink */
  --brass-hover:   oklch(0.815 0.120 82);
  --brass-soft:    oklch(0.955 0.035 82);
  --brass-deep:    oklch(0.505 0.105 70);    /* brass as text on white */
  --on-brass:      oklch(0.235 0.026 245);

  --flag:          oklch(0.470 0.150 18);    /* sale — 6.8:1 with white */
  --danger:        oklch(0.475 0.185 25);
  --danger-soft:   oklch(0.963 0.024 25);
  --focus:         oklch(0.520 0.220 305);   /* deliberately off-brand */

  /* Type */
  --font-display: 'Familjen Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Literata', Georgia, 'Times New Roman', serif;

  --fs-xs:   1rem;      /* 16px floor — nothing smaller ships */
  --fs-sm:   1.0625rem; /* 17px */
  --fs-base: 1.1875rem; /* 19px */
  --fs-lg:   1.3125rem; /* 21px */
  --fs-xl:   clamp(1.5rem, 1.15rem + 1.4vw, 1.9rem);
  --fs-2xl:  clamp(1.9rem, 1.3rem + 2.5vw, 2.65rem);
  --fs-3xl:  clamp(2.3rem, 1.35rem + 4.1vw, 4rem);

  /* Space */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: clamp(3rem, 6vw, 4.5rem);
  --space-8: clamp(4rem, 9vw, 6.5rem);
  --space-9: clamp(5rem, 12vw, 8rem);

  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --container: 76rem;
  --container-narrow: 46rem;

  /* Near-square structure; pills only where something is a token or a filter */
  --radius-sm: 0.125rem;
  --radius: 0.125rem;
  --radius-lg: 0.1875rem;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px oklch(0.235 0.026 245 / 0.06),
               0 2px 5px oklch(0.235 0.026 245 / 0.05);
  --shadow-md: 0 1px 2px oklch(0.235 0.026 245 / 0.05),
               0 8px 22px oklch(0.235 0.026 245 / 0.10);
  --shadow-lg: 0 2px 6px oklch(0.235 0.026 245 / 0.07),
               0 22px 50px oklch(0.235 0.026 245 / 0.16);

  --tap: 3rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur: 240ms;
  --dur-slow: 420ms;

  --z-base: 1;
  --z-raised: 10;
  --z-sticky: 30;
  --z-header: 40;
  --z-backdrop: 50;
  --z-drawer: 60;
  --z-toast: 70;
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: oklch(0.415 0.088 218 / 0.16);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; background: var(--surface); }

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

button { background: none; border: 0; cursor: pointer; }

ul[class], ol[class] { list-style: none; padding: 0; }

a { color: var(--primary); text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; }
a:hover { color: var(--primary-hover); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection { background: var(--brass); color: var(--on-brass); }

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.021em;
  text-wrap: balance;
  color: var(--ink);
}

h1 { font-size: var(--fs-3xl); font-weight: 700; }
h2 { font-size: var(--fs-2xl); line-height: 1.12; }
h3 { font-size: var(--fs-xl); line-height: 1.18; letter-spacing: -0.016em; }
h4 { font-size: var(--fs-lg); line-height: 1.28; letter-spacing: -0.01em; }

p { text-wrap: pretty; }
p, li { max-width: 66ch; }

.lead { font-size: var(--fs-lg); line-height: 1.55; color: var(--muted); }

.u-measure { max-width: 60ch; }
.u-center { text-align: center; margin-inline: auto; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container {
  width: min(var(--container), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}
.container--narrow { width: min(var(--container-narrow), 100% - (var(--gutter) * 2)); }

.section { padding-block: var(--space-8); }
.section--tight { padding-block: var(--space-7); }
.section--slab { padding-block: var(--space-8); }
.section--white { background: var(--card); }

.section-head { margin-bottom: var(--space-6); }
.section-head h2 + p { margin-top: var(--space-3); }

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: var(--space-4);
}
@media (min-width: 68rem) { .grid-auto--4 { grid-template-columns: repeat(4, 1fr); } }

/* --------------------------------------------------------------------------
   5. Skip link
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: var(--space-3);
  top: -100%;
  z-index: var(--z-toast);
  background: var(--primary);
  color: var(--on-primary);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--space-3); color: var(--on-primary); }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
  transition: box-shadow var(--dur) var(--ease);
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }

.header__bar {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 4.5rem;
  transition: min-height var(--dur) var(--ease);
}
.header.is-scrolled .header__bar { min-height: 3.875rem; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
  padding-block: 0.25rem;
}
.brand:hover { color: var(--ink); }
.brand__mark { flex: none; color: var(--primary); }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.028em;
  line-height: 1.02;
}
.brand__name span {
  display: block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}

.nav { display: none; }
@media (min-width: 60rem) {
  .nav { display: flex; align-items: center; gap: 0.125rem; }
}
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding-inline: var(--space-3);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.nav__link:hover { background: var(--primary-soft); color: var(--primary-hover); }
.nav__link[aria-current="page"] {
  color: var(--primary);
  box-shadow: inset 0 -4px 0 var(--brass);
}

.header__actions { display: flex; align-items: center; gap: var(--space-2); }

.header__phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--tap);
  padding-inline: var(--space-3);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  white-space: nowrap;
}
.header__phone:hover { background: var(--primary-soft); color: var(--primary-hover); }
.header__phone svg { color: var(--primary); flex: none; }
@media (min-width: 48rem) { .header__phone { display: inline-flex; } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--tap);
  min-width: var(--tap);
  padding-inline: var(--space-3);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  touch-action: manipulation;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}
.nav-toggle:hover { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
@media (min-width: 60rem) { .nav-toggle { display: none; } }

/* Mobile menu — native <dialog>, so it can never be clipped */
.menu {
  width: 100%; max-width: none;
  height: 100%; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: var(--card);
  color: var(--ink);
}
.menu::backdrop { background: oklch(0.235 0.026 245 / 0.6); }
.menu__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: calc(var(--space-4) + env(safe-area-inset-top)) var(--gutter)
           calc(var(--space-6) + env(safe-area-inset-bottom));
}
.menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--ink);
}
.menu__list { margin: var(--space-4) 0 var(--space-6); }
.menu__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 4rem;
  padding-inline: var(--space-1);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.menu__list a:hover { color: var(--primary); }
.menu__list svg { color: var(--primary); flex: none; }
.menu__foot { margin-top: auto; display: grid; gap: var(--space-3); }

/* --------------------------------------------------------------------------
   7. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.625rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-base);
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  touch-action: manipulation;
  transition: background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; }

.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-hover); color: var(--on-primary); }

.btn--secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn--secondary:hover { background: var(--primary-soft); color: var(--primary-hover); }

.btn--onslab { background: var(--brass); color: var(--on-brass); }
.btn--onslab:hover { background: var(--brass-hover); color: var(--on-brass); }

.btn--outline-light {
  background: transparent;
  color: var(--card);
  border: 2px solid oklch(1 0 0 / 0.55);
}
.btn--outline-light:hover { background: oklch(1 0 0 / 0.12); color: var(--card); border-color: var(--card); }

.btn--block { width: 100%; }
.btn--lg { min-height: 3.625rem; padding-inline: 2rem; font-size: var(--fs-lg); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--tap);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary);
  text-decoration: underline;
}
.link-arrow svg { transition: transform var(--dur-fast) var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   8. Hero — type first, then a cinematic band. The claim gets a brass plate.
   -------------------------------------------------------------------------- */
.hero { background: var(--card); border-bottom: 1px solid var(--line); }

.hero__grid {
  display: grid;
  gap: var(--space-6);
  padding-block: var(--space-7) var(--space-7);
  align-items: start;
}
@media (min-width: 62rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 21rem);
    gap: var(--space-7);
    align-items: center;
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.4375rem 0.9375rem 0.4375rem 0.75rem;
  background: var(--brass-soft);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brass-deep);
  margin-bottom: var(--space-4);
}
.hero__eyebrow svg { color: var(--brass-deep); flex: none; }

.hero h1 { margin-bottom: var(--space-4); max-width: 17ch; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero__lead { font-size: var(--fs-lg); line-height: 1.52; color: var(--muted); max-width: 46ch; }

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}
.hero__proof li { display: flex; align-items: center; gap: 0.5rem; font-size: var(--fs-sm); color: var(--muted); }
.hero__proof svg { color: var(--primary); flex: none; }

/* The brass plate: one number, given the weight of a stamped fitting. */
.plate {
  background: var(--brass);
  color: var(--on-brass);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  display: grid;
  gap: 0.375rem;
}
.plate__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 3rem + 3vw, 5rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  max-width: none;
}
.plate__num abbr {
  font-size: 0.32em;
  letter-spacing: -0.01em;
  text-decoration: none;
  margin-left: 0.12em;
  vertical-align: 0.9em;
}
.plate h2 {
  font-size: var(--fs-lg);
  letter-spacing: -0.01em;
  border-top: 2px solid oklch(0.235 0.026 245 / 0.28);
  padding-top: var(--space-3);
  margin-top: var(--space-2);
}
.plate__body { font-size: var(--fs-sm); line-height: 1.5; max-width: none; }

/* Cinematic band under the type */
.hero__band img {
  width: 100%;
  height: clamp(11rem, 27vw, 21rem);
  object-fit: cover;
  object-position: center 62%;
}

/* --------------------------------------------------------------------------
   9. Colour slabs
   -------------------------------------------------------------------------- */
.slab { background: var(--primary); color: var(--card); }
.slab h2, .slab h3, .slab h4 { color: var(--card); }
/* Buttons keep their own colours — without :not(.btn) this out-specifies
   .btn--onslab and repaints a brass button in white. */
.slab a:not(.btn) { color: var(--card); }
.slab--deep { background: var(--primary-deep); color: var(--card); }
.slab--soft { background: var(--surface); color: var(--ink); }

/* Promise row: white tiles standing on the zinc ground */
.trust { display: grid; gap: var(--space-4); }
@media (min-width: 48rem) { .trust { grid-template-columns: repeat(3, 1fr); } }

.trust__item {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.trust__icon {
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--primary);
}
.trust__item h3 { font-size: var(--fs-lg); }
.trust__item p { font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; }

/* --------------------------------------------------------------------------
   10. Category doors
   -------------------------------------------------------------------------- */
.doors { display: grid; gap: var(--space-4); }
@media (min-width: 52rem) { .doors { grid-template-columns: 1fr 1fr; gap: var(--space-5); } }

.door {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.door:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.door__media { overflow: hidden; background: var(--surface); }
.door__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.door:hover .door__media img { transform: scale(1.04); }
.door__body { padding: var(--space-5); display: grid; gap: 0.625rem; }
.door__body p { color: var(--muted); font-size: var(--fs-sm); }
.door__cue {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 0.375rem;
  font-family: var(--font-display); font-weight: 600;
  color: var(--primary); text-decoration: underline;
}
.door__cue svg { transition: transform var(--dur-fast) var(--ease); }
.door:hover .door__cue svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   11. Product tiles — no border; the white tile is the edge
   -------------------------------------------------------------------------- */
.product {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.product:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product:focus-within { box-shadow: var(--shadow-md); }

.product__media { position: relative; overflow: hidden; background: var(--surface); }
.product__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.product:hover .product__media img { transform: scale(1.03); }

.product__tag {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3125rem 0.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  background: var(--brass);
  color: var(--on-brass);
  box-shadow: var(--shadow-sm);
}
.product__tag--sale { background: var(--flag); color: var(--card); }

.product__body { display: flex; flex-direction: column; flex: 1; padding: var(--space-4); gap: var(--space-3); }
.product__title { font-size: var(--fs-lg); text-wrap: pretty; }
.product__why { font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3125rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  white-space: nowrap;
}
.chip svg { flex: none; }

/* A brass rule marks where the specification ends and the price begins. */
.product__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 3px solid var(--brass);
}
.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.price s { font-family: var(--font-body); font-weight: 400; font-size: var(--fs-sm); color: var(--muted); margin-left: 0.5rem; }
.rating { display: inline-flex; align-items: center; gap: 0.375rem; font-size: var(--fs-sm); color: var(--muted); font-variant-numeric: tabular-nums; }
.rating svg { color: var(--brass-deep); flex: none; }

.product .btn { font-size: var(--fs-sm); padding-inline: var(--space-3); }

/* --------------------------------------------------------------------------
   11b. Page hero band + editorial blocks
   -------------------------------------------------------------------------- */
.pagehero img { width: 100%; height: clamp(11rem, 26vw, 19rem); object-fit: cover; }

.split { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 58rem) { .split { grid-template-columns: 1fr 1fr; gap: var(--space-7); } }
@media (min-width: 58rem) { .split--flip > *:first-child { order: 2; } }
.split img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); }
.split h2 + p, .split h3 + p { margin-top: var(--space-3); }
.split p + p { margin-top: var(--space-3); }

.notes { display: grid; gap: var(--space-5); }
@media (min-width: 48rem) { .notes { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); } }
.notes h3 { font-size: var(--fs-lg); margin-bottom: 0.5rem; }
.notes p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }
.notes__rule { width: 3.5rem; height: 4px; background: var(--brass); margin-bottom: var(--space-3); }

.facts { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.facts > div {
  display: grid;
  gap: 0.25rem var(--space-5);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 42rem) { .facts > div { grid-template-columns: 14rem 1fr; } }
.facts dt { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-lg); letter-spacing: -0.014em; }
.facts dd { margin: 0; color: var(--muted); }

/* Contact page */
.contact-grid { display: grid; gap: var(--space-6); align-items: start; }
@media (min-width: 60rem) { .contact-grid { grid-template-columns: 1.25fr 1fr; gap: var(--space-7); } }

.aside-card {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.aside-card h3 { font-size: var(--fs-xl); }
.aside-card__row { display: flex; gap: var(--space-3); align-items: flex-start; }
.aside-card__row svg { flex: none; margin-top: 0.2em; color: var(--primary); }
.aside-card__row strong { display: block; font-family: var(--font-display); font-weight: 600; }
.aside-card__row span { display: block; font-size: var(--fs-sm); color: var(--muted); line-height: 1.45; }
.aside-card__row a { display: inline-flex; align-items: center; min-height: 2.75rem; font-family: var(--font-display); font-weight: 600; }

.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.fieldset legend { font-family: var(--font-display); font-weight: 600; padding: 0; margin-bottom: 0.25rem; }
.choices { display: grid; gap: var(--space-2); }
@media (min-width: 34rem) { .choices { grid-template-columns: 1fr 1fr; } }

/* --------------------------------------------------------------------------
   12. Annotated spec figure
   -------------------------------------------------------------------------- */
.spec { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 60rem) { .spec { grid-template-columns: 1.1fr 1fr; gap: var(--space-7); } }

.spec__figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.spec__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Pins are positioned by their centre, so the percentages read as "point at
   this spot on the photograph" rather than "offset a corner". */
.spec__pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: var(--brass);
  color: var(--on-brass);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 0 0 4px oklch(1 0 0 / 0.9), var(--shadow-sm);
}
.spec__pin--1 { top: 72%; left: 44%; }   /* front edge of the seat */
.spec__pin--2 { top: 62%; left: 28%; }   /* near armrest */
.spec__pin--3 { top: 36%; left: 50%; }   /* back cushion */

.spec__list { display: grid; gap: var(--space-4); counter-reset: spec; }
.spec__list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: var(--space-3);
  align-items: start;
  max-width: none;
}
.spec__list li::before {
  counter-increment: spec;
  content: counter(spec);
  display: grid;
  place-items: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: var(--brass);
  color: var(--on-brass);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
}
.spec__list h3 { font-size: var(--fs-lg); margin-bottom: 0.25rem; }
.spec__list p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }

/* --------------------------------------------------------------------------
   13. Testimonials
   -------------------------------------------------------------------------- */
.quotes { display: grid; gap: var(--space-4); }
@media (min-width: 54rem) { .quotes { grid-template-columns: repeat(3, 1fr); } }

.quote {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.quote__stars { display: flex; gap: 0.1875rem; color: var(--brass-deep); }
.quote blockquote { font-size: var(--fs-base); line-height: 1.55; }
.quote figcaption { display: flex; align-items: center; gap: var(--space-3); margin-top: auto; }
.quote__avatar {
  flex: none;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--primary);
  color: var(--on-primary);
  overflow: hidden;
}
.quote__avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote__who strong { display: block; font-family: var(--font-display); font-weight: 600; }
.quote__who span { font-size: var(--fs-xs); color: var(--muted); }

/* --------------------------------------------------------------------------
   14. Consultation block
   -------------------------------------------------------------------------- */
.consult { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 58rem) { .consult { grid-template-columns: 1fr 1fr; gap: var(--space-7); } }
.consult__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); }
.consult h2 { margin-bottom: var(--space-3); }
.consult p { color: oklch(1 0 0 / 0.9); }
.consult__list { display: grid; gap: var(--space-2); margin: var(--space-4) 0 var(--space-5); }
.consult__list li { display: flex; gap: 0.75rem; align-items: flex-start; color: oklch(1 0 0 / 0.94); font-size: var(--fs-sm); }
.consult__list svg { flex: none; margin-top: 0.28em; color: var(--brass); }
.consult__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* --------------------------------------------------------------------------
   15. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: var(--space-5); }
.field { display: grid; gap: 0.5rem; }
.field > label { font-family: var(--font-display); font-weight: 600; }
.field .hint { font-size: var(--fs-sm); color: var(--muted); }

.input, .select, .textarea {
  width: 100%;
  min-height: 3.5rem;
  padding: 0.875rem 1rem;
  font-size: var(--fs-base);   /* >=16px prevents iOS focus zoom */
  background: var(--card);
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.textarea { min-height: 8.5rem; resize: vertical; line-height: 1.55; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23255066' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--primary); }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: 1; }

.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] {
  border-color: var(--danger);
  background: var(--danger-soft);
}
.error {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--danger);
}
.error.is-visible { display: flex; }
.error svg { flex: none; }

.choice {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  min-height: var(--tap);
  padding: var(--space-3);
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.choice:hover { border-color: var(--primary); background: var(--primary-soft); }
.choice input { width: 1.5rem; height: 1.5rem; accent-color: var(--primary); flex: none; margin-top: 0.15em; }
.choice span { font-size: var(--fs-sm); }
.choice:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }

.form__note { font-size: var(--fs-sm); color: var(--muted); }

.form-status {
  display: none;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius);
  background: var(--brass-soft);
  border: 2px solid var(--brass-deep);
  margin-bottom: var(--space-5);
}
.form-status.is-visible { display: flex; }
.form-status svg { flex: none; color: var(--brass-deep); margin-top: 0.15em; }

/* --------------------------------------------------------------------------
   16. Page header (interior pages)
   -------------------------------------------------------------------------- */
.pagehead { background: var(--card); border-bottom: 1px solid var(--line); padding-block: var(--space-7) var(--space-6); }
.pagehead h1 { margin-bottom: var(--space-3); max-width: 20ch; }
.pagehead .lead { max-width: 56ch; }
/* A page head or hero band already supplies the room a section would add. */
.pagehead + .section,
.pagehero + .section { padding-top: var(--space-6); }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: var(--space-3); font-size: var(--fs-sm); }
.crumbs li { display: flex; align-items: center; gap: 0.5rem; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--muted); }
.crumbs a:hover { color: var(--primary); }
.crumbs svg { color: var(--line-strong); }

/* --------------------------------------------------------------------------
   17. Filter rail
   -------------------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); padding-bottom: var(--space-4); }
.filter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--tap);
  padding-inline: var(--space-4);
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--ink);
  background: var(--card);
  touch-action: manipulation;
  transition: all var(--dur-fast) var(--ease);
}
.filter:hover { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-hover); }
.filter[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }

.results-count { font-size: var(--fs-sm); color: var(--muted); padding-bottom: var(--space-4); }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--primary-deep);
  color: oklch(1 0 0 / 0.92);
  padding-block: var(--space-7) var(--space-5);
  /* No margin: every page ends on a full-bleed block, and a zinc gap between
     that block and the footer reads as a mistake rather than as breathing room. */
}
.footer h2, .footer h3 { color: var(--card); }
.footer a { color: oklch(1 0 0 / 0.92); text-decoration: none; }
.footer a:hover { color: var(--brass); text-decoration: underline; }

.footer__grid { display: grid; gap: var(--space-6); }
@media (min-width: 46rem) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 68rem) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }

.footer .brand { color: var(--card); margin-right: 0; }
.footer .brand__mark { color: var(--brass); }
.footer .brand__name span { color: oklch(1 0 0 / 0.72); }
.footer__about { margin-top: var(--space-3); font-size: var(--fs-sm); color: oklch(1 0 0 / 0.84); max-width: 34ch; }

.footer h3 { font-size: var(--fs-lg); margin-bottom: var(--space-3); }
.footer__links { display: grid; gap: 0.125rem; }
.footer__links a { display: inline-flex; align-items: center; min-height: var(--tap); font-size: var(--fs-sm); }

.footer__contact { display: grid; gap: var(--space-2); font-size: var(--fs-sm); }
.footer__contact a, .footer__contact p { display: flex; gap: 0.75rem; align-items: flex-start; min-height: 2.75rem; }
.footer__contact svg { flex: none; margin-top: 0.35em; color: var(--brass); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  padding-bottom: calc(var(--space-2) + env(safe-area-inset-bottom));
  border-top: 1px solid oklch(1 0 0 / 0.22);
  font-size: var(--fs-xs);
  color: oklch(1 0 0 / 0.78);
}
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: var(--space-4); list-style: none; padding: 0; margin: 0; }
.footer__bottom a { display: inline-flex; align-items: center; min-height: 2.75rem; min-width: 2.75rem; justify-content: center; }

/* --------------------------------------------------------------------------
   19. Mobile action bar — two peer doors: shop and call
   -------------------------------------------------------------------------- */
.actionbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-sticky);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3) calc(var(--space-2) + env(safe-area-inset-bottom));
  background: oklch(1 0 0 / 0.97);
  backdrop-filter: blur(10px);
  border-top: 2px solid var(--ink);
}
@media (min-width: 60rem) { .actionbar { display: none; } }
body:has(.actionbar) { padding-bottom: 5.5rem; }
@media (min-width: 60rem) { body:has(.actionbar) { padding-bottom: 0; } }

/* --------------------------------------------------------------------------
   20. Motion — reveals ENHANCE an already-visible default
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .hero__grid > * { animation: rise var(--dur-slow) var(--ease) both; }
.js .hero__grid > *:nth-child(2) { animation-delay: 120ms; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .product:hover, .door:hover { transform: none; }
  .product:hover .product__media img,
  .door:hover .door__media img { transform: none; }
}
