/* B&C McKeown — shared site styles.

   One system for every page: warm paper, the forest green from the logo, one
   corner radius, pill buttons, Teko for headings and Outfit for body.

   The pages in product/ are written by tools/sync_shopify.py and link only this
   file (and site.js), so everything a product page needs has to live here. The
   homepage adds home.css on top, the calculators add styles.css. */

:root {
  /* ink */
  --ink: #141414;
  --ink-soft: #3d3f3a;
  --muted: #6b6e68;

  /* paper */
  --bg: #ffffff;
  --sand: #f6f3ed;
  --sand-deep: #ece6db;
  --night: #121412;
  --night-2: #1b1e1a;
  --wash: var(--sand);            /* older names, still used in markup */
  --wash-deep: var(--sand-deep);

  /* brand */
  --forest: #33561a;
  --forest-lift: #3f6b1f;
  --sage: #c3d3ad;
  --sage-pale: #dce6cd;
  --sage-mist: #eff4e8;
  --accent: var(--forest);

  /* lines */
  --line: #e7e4dd;
  --line-strong: #d3cfc6;
  --hair: rgba(18, 20, 18, 0.1);
  --hair-light: rgba(255, 255, 255, 0.16);

  /* stock */
  --ok: #2f7d4f;
  --low: #a8661b;
  --out: #9a3412;

  /* shape */
  --r: 18px;
  --r-sm: 12px;
  --r-xs: 8px;
  --pill: 999px;
  --shadow: 0 2px 4px rgba(18, 20, 18, 0.03), 0 14px 34px rgba(18, 20, 18, 0.07);
  --shadow-lift: 0 4px 10px rgba(18, 20, 18, 0.05), 0 28px 60px rgba(18, 20, 18, 0.14);

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --quick: 150ms;
  --calm: 320ms;
  --rv-dur: 760ms;
  --rv-ease: cubic-bezier(0.16, 0.84, 0.28, 1);

  /* layout */
  --shell: 1180px;
  --gut: clamp(18px, 4vw, 44px);
  --head-h: 76px;
  /* where a sticky bar should sit: under the header, or at the very top while
     the header is tucked away (site.js flips this as the header hides) */
  --stick-top: var(--head-h);

  /* the end-on outline of a box profile sheet, used as a rule under page heads */
  --profile-rule: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='11' viewBox='0 0 64 11'%3E%3Cpath d='M0 9.5h13l6-8h14l6 8h25' fill='none' stroke='%2333561a' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: Teko, "Arial Narrow", Impact, sans-serif;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0.012em;
  margin: 0;
  text-transform: uppercase;
}
h1 { font-size: clamp(44px, 7vw, 86px); }
h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 0.98; }
h3 { font-size: clamp(22px, 2.4vw, 28px); }

p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--sage); color: #14230a; }

/* one focus ring everywhere; mouse clicks do not show it */
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.site-foot :focus-visible, .band.night :focus-visible, .search-layer :focus-visible { outline-color: var(--sage); }

.skip-link {
  position: absolute;
  left: 12px; top: -80px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: var(--pill);
  background: var(--forest);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: top var(--quick) var(--ease);
}
.skip-link:focus { top: 12px; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gut);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest);
  margin: 0 0 16px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  flex: none;
}

.lede { font-size: clamp(17.5px, 1.7vw, 20px); line-height: 1.6; color: var(--ink-soft); max-width: 58ch; }

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: transform 420ms var(--rv-ease), box-shadow 300ms var(--ease),
              background-color 300ms var(--ease), border-color 300ms var(--ease);
}
.site-head.is-stuck { box-shadow: 0 1px 18px rgba(16, 20, 24, 0.08); }
.site-head.is-hidden { transform: translateY(-100%); }

.head-row {
  display: flex;
  align-items: center;
  gap: 10px;
  height: var(--head-h);
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand .brand-logo { display: block; height: 24px; width: auto; }
.brand-sub { color: var(--muted); font-size: 13px; letter-spacing: 0.16em; font-weight: 600; }

/* The desktop row is a fixed 1092px wide (the shell), and it has to hold the
   logo, six links and two buttons, so the spacing here is tuned to that. */
.nav { display: flex; align-items: center; align-self: stretch; gap: 24px; margin-right: 4px; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color var(--quick) var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--forest);
  transition: right var(--calm) var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--ink); }

.nav a.nav-tel {
  font-family: Teko, sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.nav a.nav-tel::after { display: none; }
.nav a.nav-tel:hover { color: var(--forest); }

/* the square buttons at the end of the header: search, basket, menu */
.icon-btn, .cart-btn, .burger {
  position: relative;
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: border-color var(--quick) var(--ease), background-color var(--quick) var(--ease),
              color var(--quick) var(--ease);
}
.icon-btn:hover, .cart-btn:hover, .burger:hover { border-color: var(--ink); }
.burger { display: none; }
.burger i { display: block; width: 18px; height: 1.6px; border-radius: 2px; background: currentColor; margin: 2px auto; }

/* ---------- products menu ---------- */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;     /* full header height, so the pointer never crosses a gap */
}
.sub-toggle {
  display: grid;
  place-items: center;
  margin: 0 0 0 2px;
  padding: 8px 6px;
  border: 0;
  background: none;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color var(--quick) var(--ease);
}
.sub-toggle:hover, .nav-item.open .sub-toggle { color: var(--ink); }
.sub-toggle svg { transition: transform var(--quick) var(--ease); }
.nav-item.open .sub-toggle svg { transform: rotate(180deg); }
.subnav {
  position: absolute;
  top: calc(100% - 6px);
  left: -26px;
  z-index: 60;
  width: 580px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 0s linear 180ms;
}
.nav-item.open .subnav {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
@media (hover: hover) and (min-width: 1201px) {
  .nav-item:hover .subnav {
    opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
  }
  .nav-item:hover .sub-toggle { color: var(--ink); }
  .nav-item:hover .sub-toggle svg { transform: rotate(180deg); }
}
.subnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 8px;
}
.nav .subnav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  white-space: normal;
  color: var(--ink);
  transition: background-color var(--quick) var(--ease);
}
.nav .subnav a::after { display: none; }
.nav .subnav a:hover { background: var(--sand); }
.sub-thumb {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--sand-deep);
}
.sub-text { display: block; min-width: 0; line-height: 1.25; }
.sub-text b { display: block; font-size: 15px; font-weight: 600; }
.sub-text small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.nav .subnav .sub-all {
  justify-content: space-between;
  margin: 8px 0 0;
  padding: 13px 14px;
  background: var(--sand);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--forest);
}
.nav .subnav .sub-all:hover { background: var(--sage-pale); }
.sub-all svg { transition: transform var(--quick) var(--ease); }
.sub-all:hover svg { transform: translateX(4px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border: 1px solid var(--forest);
  border-radius: var(--pill);
  background: var(--forest);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.015em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease),
              transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.btn:hover {
  background: var(--forest-lift);
  border-color: var(--forest-lift);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(51, 86, 26, 0.26);
}
.btn:active { transform: translateY(0); box-shadow: none; }
.btn.ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn.ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: none; }
.btn.sage { background: var(--sage); border-color: var(--sage); color: #1d330f; }
.btn.sage:hover { background: #fff; border-color: #fff; color: var(--forest); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22); }
.btn.outline { background: transparent; border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn.outline:hover { background: #fff; border-color: #fff; color: var(--night); box-shadow: none; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- sections ---------- */
.band { padding: clamp(60px, 8vw, 110px) 0; }
.band.wash { background: var(--sand); }
.band.night { background: var(--night); color: #fff; }
.band.night .eyebrow { color: var(--sage); }
.band.night .lede, .band.night p { color: #b4bab1; }

.band-head { max-width: 62ch; margin-bottom: clamp(30px, 4vw, 52px); }
.band-head h2 { text-wrap: balance; }
.band-head .lede { margin: 18px 0 0; }

/* ---------- page header (inner pages) ---------- */
.page-head {
  position: relative;
  background: var(--sand);
  padding: clamp(40px, 5.6vw, 76px) 0 clamp(44px, 5.4vw, 72px);
}
/* a run of box profile along the bottom edge */
.page-head::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 11px;
  background: var(--profile-rule) repeat-x left bottom;
  opacity: 0.34;
}
.page-head h1 { font-size: clamp(48px, 7.4vw, 96px); line-height: 0.92; text-wrap: balance; }
.page-head .lede { margin: 20px 0 0; }

.crumb { font-size: 13px; letter-spacing: 0.02em; color: var(--muted); margin: 0 0 18px; }
.crumb a { text-decoration: none; transition: color var(--quick) var(--ease); }
.crumb a:hover { color: var(--forest); }

/* ---------- product cards ---------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: clamp(16px, 2vw, 26px);
}
.prod {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--calm) var(--ease), transform var(--calm) var(--ease);
}
.prod:hover { box-shadow: var(--shadow-lift); transform: translateY(-5px); }

/* Every card has the same square photo area, so the grid lines up. Most shop
   photos are square and simply fill it. One that is not is shown whole, never
   cropped. The space left over takes the photo's own plain background (--bed)
   when it has one, or a soft blur of the photo (--fill) when it does not, so
   there is never a blank band. site.js works out which once the photo loads. */
.prod-img, .pdp-main {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  isolation: isolate;
  background: var(--bed, var(--sand));
}
/* The blur: three copies of the photo in a row, the outer two mirrored, so the
   picture carries on past each of its own edges (site.js adds this element and
   sets --gap, where the photo starts, and --span, how much of the area it
   takes). It is stretched a little the other way so the blur has no thin
   edge of its own. */
.fill {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  filter: blur(16px) saturate(1.1);
  transform: scaleY(1.16);
  transition: opacity 420ms var(--ease);
  pointer-events: none;
}
.pdp-main .fill { filter: blur(28px) saturate(1.1); }
.has-fill > .fill { opacity: 1; }
.fill i { position: absolute; top: 0; bottom: 0; left: var(--gap); width: var(--span); background: var(--fill, none) center / 100% 100% no-repeat; }
.fill i:first-child { left: calc(var(--gap) - var(--span)); transform: scaleX(-1); }
.fill i:last-child { left: calc(100% - var(--gap)); transform: scaleX(-1); }
/* a wide photo: the copies go above and below instead of either side */
.fill.is-wide { transform: scaleX(1.16); }
.fill.is-wide i { left: 0; right: 0; bottom: auto; width: auto; top: var(--gap); height: var(--span); }
.fill.is-wide i:first-child { left: 0; top: calc(var(--gap) - var(--span)); transform: scaleY(-1); }
.fill.is-wide i:last-child { left: 0; top: calc(100% - var(--gap)); transform: scaleY(-1); }

.prod-img::after {
  content: "";
  position: absolute;
  z-index: 0;
  opacity: 0;
  transition: opacity 420ms var(--ease);
  pointer-events: none;
}
.prod-img img, .pdp-main img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%; height: 100%;
  max-width: none;
  object-fit: contain;
  transition: transform 700ms var(--ease), opacity var(--calm) var(--ease);
}
.prod-img img.is-cover, .pdp-main img.is-cover { object-fit: cover; }
/* the photo's edge melts into the blur behind it instead of stopping dead */
.prod-img img.is-feathered, .pdp-main img.is-feathered {
  -webkit-mask-image: linear-gradient(var(--fade-dir, to bottom), transparent var(--fade-a, 0%), #000 var(--fade-b, 0%), #000 var(--fade-c, 100%), transparent var(--fade-d, 100%));
  mask-image: linear-gradient(var(--fade-dir, to bottom), transparent var(--fade-a, 0%), #000 var(--fade-b, 0%), #000 var(--fade-c, 100%), transparent var(--fade-d, 100%));
}
.prod:hover .prod-img img { transform: scale(1.045); }

/* The second photo, shown while a card is hovered (products page). It sits on
   its own plain background, or on a simple blur of itself if it has none. */
.prod-img::after {
  inset: -16%;
  z-index: 2;
  background: var(--bed2, var(--sand)) var(--fill2, none) center / cover no-repeat;
  filter: blur(22px) saturate(1.1);
}
.prod-img .prod-alt { z-index: 3; opacity: 0; }
@media (hover: hover) {
  .prod:hover .prod-img.alt-ready::after { opacity: 1; }
  .prod:hover .prod-img.alt-ready .prod-alt { opacity: 1; }
}
@media (hover: none) { .prod-img .prod-alt { display: none; } }

.prod-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.prod-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 8px;
}
.prod h4 {
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prod-foot {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.price { font-family: Teko, sans-serif; font-size: 29px; font-weight: 600; line-height: 1; white-space: nowrap; }
.price small {
  font-family: Outfit, sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-right: 3px;
}
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ok); white-space: nowrap; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock.out { color: var(--out); }

/* the whole card is the link, not just the title */
a.prod-img { display: block; }
.prod-title { color: inherit; text-decoration: none; }
.prod-title::after { content: ""; position: absolute; inset: 0; z-index: 4; }
.prod-title:focus-visible { outline: none; }
.prod:has(.prod-title:focus-visible) { outline: 2px solid var(--forest); outline-offset: 3px; }
.prod-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.more-link { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--forest); white-space: nowrap; }

.empty { padding: 50px 0; color: var(--muted); }

/* ---------- products page ---------- */
.shop-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: clamp(26px, 3vw, 38px);
}
.shop-search {
  position: relative;
  flex: 1 1 320px;
  max-width: 520px;
  display: flex;
  align-items: center;
}
.shop-search svg { position: absolute; left: 18px; color: var(--muted); pointer-events: none; }
.shop-search input {
  width: 100%;
  height: 52px;
  padding: 0 48px 0 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--quick) var(--ease), box-shadow var(--quick) var(--ease);
}
.shop-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.shop-search input::placeholder { color: #8b8e87; }
.shop-search input:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 4px rgba(51, 86, 26, 0.13); }
.shop-clear {
  position: absolute;
  right: 8px;
  width: 36px; height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.shop-clear[hidden] { display: none; }
.shop-sort { display: flex; align-items: center; gap: 10px; margin-left: auto; font-size: 14px; color: var(--muted); }
.shop-sort select {
  height: 52px;
  padding: 0 44px 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23141414' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 18px center;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--quick) var(--ease), box-shadow var(--quick) var(--ease);
}
.shop-sort select:hover { border-color: var(--ink); }
.shop-sort select:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 4px rgba(51, 86, 26, 0.13); }

/* the filter chips stay in reach while the list scrolls */
.shop-chips {
  position: sticky;
  top: var(--stick-top);
  z-index: 30;
  margin-top: 14px;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: top 420ms var(--rv-ease), border-color var(--calm) var(--ease), box-shadow var(--calm) var(--ease);
}
.shop-chips.is-pinned { border-bottom-color: var(--line); box-shadow: 0 10px 24px -18px rgba(18, 20, 18, 0.35); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 9px 9px 17px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--quick) var(--ease), border-color var(--quick) var(--ease), color var(--quick) var(--ease);
}
.filter-chip b {
  min-width: 26px;
  padding: 2px 8px;
  border-radius: var(--pill);
  background: var(--sand);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  transition: inherit;
}
.filter-chip:hover { border-color: var(--ink); }
.filter-chip.on { background: var(--forest); border-color: var(--forest); color: #fff; }
.filter-chip.on b { background: rgba(255, 255, 255, 0.18); color: #fff; }

.shop-body { padding: clamp(28px, 3.4vw, 44px) 0 clamp(60px, 8vw, 104px); }
.shop-group + .shop-group { margin-top: clamp(52px, 6.4vw, 88px); }
.shop-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 28px;
  margin-bottom: clamp(22px, 2.6vw, 34px);
}
.shop-group-head h2 { font-size: clamp(34px, 4.2vw, 54px); }
.shop-group-head p { margin: 10px 0 0; max-width: 56ch; color: var(--ink-soft); font-size: 16.5px; line-height: 1.55; }
.shop-count {
  flex: none;
  padding: 6px 14px;
  border-radius: var(--pill);
  background: var(--sage-mist);
  color: var(--forest);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.shop-empty {
  padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 48px);
  border-radius: var(--r);
  background: var(--sand);
  text-align: center;
}
.shop-empty h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 12px; }
.shop-empty p { max-width: 46ch; margin: 0 auto 22px; color: var(--ink-soft); }
.shop-empty .empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* a call to action that sits inside a page as a dark panel */
.callout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px 40px;
  margin-top: clamp(52px, 6.4vw, 88px);
  padding: clamp(28px, 3.6vw, 48px);
  border-radius: var(--r);
  background: var(--night);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.callout::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -12%; top: -70%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 107, 31, 0.6) 0%, rgba(51, 86, 26, 0.18) 44%, rgba(51, 86, 26, 0) 70%);
}
.callout .eyebrow { color: var(--sage); }
.callout h2, .callout h3 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1; margin-bottom: 12px; }
.callout p { margin: 0; max-width: 52ch; color: #b4bab1; font-size: 16.5px; line-height: 1.6; }
.callout .callout-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- numbered points ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(22px, 2.6vw, 40px);
}
.feat { padding-top: 22px; border-top: 2px solid var(--forest); }
.feat-num {
  display: block;
  font-family: Teko, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--forest);
  margin-bottom: 14px;
}
.feat h3 { font-size: 24px; line-height: 1.05; margin-bottom: 10px; letter-spacing: 0.015em; }
.feat p { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.band.night .feat { border-top-color: var(--sage); }
.band.night .feat-num { color: var(--sage); }

/* ---------- text beside a photo ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5.4vw, 84px);
  align-items: center;
}
.split h2 { margin-bottom: 22px; }
.split p:not(.eyebrow) { color: var(--ink-soft); }
.split p:last-child { margin-bottom: 0; }
.split-photo { overflow: hidden; border-radius: var(--r); box-shadow: var(--shadow); background: var(--sand); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 800ms var(--ease); }
.split-photo:hover img { transform: scale(1.04); }
.split.flip > div:first-child { order: 2; }

/* ---------- photo strip ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(10px, 1.2vw, 16px);
}
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--r-sm); background: var(--sand-deep); aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.gallery figure:hover img { transform: scale(1.07); }

/* ---------- closing call to action ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 16px; text-wrap: balance; }
.cta-band .lede { margin-inline: auto; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.cta-band.night {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-band.night::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%; top: -30%;
  width: min(900px, 120vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 107, 31, 0.5) 0%, rgba(51, 86, 26, 0.14) 44%, rgba(51, 86, 26, 0) 70%);
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 4.4vw, 64px);
  align-items: start;
}
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 4px 18px;
  align-items: center;
  padding: 22px 24px;
  border-radius: var(--r);
  background: var(--sand);
  color: var(--ink);
  text-decoration: none;
  transition: background-color var(--calm) var(--ease), transform var(--calm) var(--ease), box-shadow var(--calm) var(--ease);
}
a.contact-card:hover { background: #fff; transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.contact-ico {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
}
.contact-card small {
  align-self: end;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-card strong { align-self: start; font-size: 18px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.contact-card strong.big { font-family: Teko, sans-serif; font-size: 36px; line-height: 0.95; letter-spacing: 0.02em; }
.contact-card em { grid-column: 2; font-style: normal; font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.contact-tip {
  padding: 20px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.contact-tip b { display: block; margin-bottom: 4px; color: var(--ink); }

.form-card {
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.form-card h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 10px; }
.form-card > p:not(.eyebrow) { color: var(--ink-soft); margin-bottom: 26px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label.fld { display: block; margin-bottom: 16px; }
label.fld span { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
label.fld span i { font-style: normal; font-weight: 400; color: var(--muted); }
label.fld input, label.fld textarea, label.fld select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color var(--quick) var(--ease), box-shadow var(--quick) var(--ease);
}
label.fld select {
  padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23141414' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 18px center;
  -webkit-appearance: none;
  appearance: none;
}
label.fld input:hover, label.fld textarea:hover, label.fld select:hover { border-color: #a9a59c; }
label.fld input:focus, label.fld textarea:focus, label.fld select:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(51, 86, 26, 0.13);
}
label.fld textarea { min-height: 148px; resize: vertical; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 6px; }
.form-foot small { font-size: 13.5px; color: var(--muted); }
.form-note {
  margin: 18px 0 0;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  background: var(--sage-mist);
  color: #24400f;
  font-size: 15px;
}
.form-note[hidden] { display: none; }

/* ---------- footer ---------- */
.site-foot { position: relative; background: var(--night); color: #b9beb5; padding: clamp(56px, 6.4vw, 84px) 0 30px; }
.site-foot::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 11px;
  background: var(--profile-rule) repeat-x left bottom;
  filter: brightness(0) invert(1);
  opacity: 0.16;
  transform: scaleY(-1);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: clamp(26px, 4vw, 56px);
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-foot h4 {
  font-family: Outfit, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #fff;
  margin: 0 0 18px;
}
.site-foot a { color: #b9beb5; text-decoration: none; transition: color var(--quick) var(--ease); }
.site-foot a:hover { color: #fff; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.foot-brand .brand-logo { display: block; height: 28px; width: auto; }
.foot-note { font-size: 14.5px; line-height: 1.6; max-width: 40ch; margin: 16px 0 0; }
.site-foot .foot-tel {
  display: inline-block;
  margin-top: 18px;
  font-family: Teko, sans-serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #fff;
}
.site-foot .foot-tel:hover { color: var(--sage); }
.foot-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px;
  padding-top: 24px; font-size: 13.5px; color: #868c82;
}
.foot-credit a { color: #c6ccc2; border-bottom: 1px solid rgba(255, 255, 255, 0.28); }
.foot-credit a:hover { color: #fff; border-bottom-color: #fff; }

/* ---------- reveal on scroll ----------
   Driven by [data-rv] and one observer in site.js. Each element says how it
   should arrive and how long to wait, so nothing animates until it is on
   screen and nothing animates twice. */
[data-rv] {
  opacity: 0;
  transition:
    opacity var(--rv-dur) var(--rv-ease) var(--rv-delay, 0ms),
    transform var(--rv-dur) var(--rv-ease) var(--rv-delay, 0ms),
    filter var(--rv-dur) var(--rv-ease) var(--rv-delay, 0ms);
  will-change: opacity, transform;
}
[data-rv="up"]     { transform: translate3d(0, 34px, 0); }
[data-rv="down"]   { transform: translate3d(0, -26px, 0); }
[data-rv="left"]   { transform: translate3d(-40px, 0, 0); }
[data-rv="right"]  { transform: translate3d(40px, 0, 0); }
[data-rv="scale"]  { transform: scale(0.94); }
[data-rv="rise"]   { transform: translate3d(0, 52px, 0) scale(0.985); }
[data-rv="wipe"]   { transform: translate3d(0, 22px, 0) scale(1.035); }
[data-rv="blur"]   { filter: blur(9px); transform: translate3d(0, 20px, 0); }
[data-rv].is-in { opacity: 1; transform: none; filter: none; will-change: auto; }

/* headings that arrive a line at a time */
.line-mask { display: block; overflow: hidden; }
.line-mask > span {
  display: block;
  transform: translate3d(0, 108%, 0);
  transition: transform 900ms var(--rv-ease) var(--rv-delay, 0ms);
}
.is-in .line-mask > span, .line-mask.is-in > span { transform: none; }

/* anchors clear the sticky header */
[id] { scroll-margin-top: 104px; }

[data-parallax] { will-change: transform; }

/* A short cross-fade between pages. Browsers that support it do this natively;
   the rest get the fade-out in site.js (setupPageFade). */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; }
body.is-leaving { opacity: 0; transition: opacity 240ms var(--ease); }

/* =========================================================================
   Homepage pieces (home.css restyles most of these under body.home)
   ========================================================================= */

/* ---------- full-bleed hero ---------- */
.hero-photo {
  position: relative;
  min-height: clamp(540px, 82vh, 780px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: #16191c;
}
.hero-photo .hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-photo .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroDrift 18s var(--ease) forwards;
}
@keyframes heroDrift { to { transform: scale(1); } }
.hero-photo .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(10, 12, 14, 0.6) 0%, rgba(10, 12, 14, 0.34) 36%, rgba(10, 12, 14, 0.06) 66%, rgba(10, 12, 14, 0) 100%),
    linear-gradient(to top, rgba(10, 12, 14, 0.92) 0%, rgba(10, 12, 14, 0.55) 38%, rgba(10, 12, 14, 0.18) 68%, rgba(10, 12, 14, 0.34) 100%);
}
.hero-photo .shell { position: relative; z-index: 2; padding-block: clamp(44px, 7vw, 86px); width: 100%; }
.hero-photo h1 { color: #fff; margin-bottom: 18px; max-width: 16ch; }
.hero-photo .lede { color: #dfe2e5; max-width: 54ch; }
.hero-inner { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(28px, 5vw, 70px); align-items: end; }

.hero-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
  padding: 26px 26px 24px;
}
.hero-card h3 { color: #fff; font-size: 24px; margin-bottom: 10px; }
.hero-card p { color: #ccd0d4; font-size: 15px; margin-bottom: 18px; }

.scroll-hint {
  position: absolute;
  left: 50%; bottom: 18px;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: grid;
  justify-items: center;
  gap: 8px;
}
.scroll-hint i {
  width: 1px; height: 26px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
  animation: hintPulse 2.1s ease-in-out infinite;
}
@keyframes hintPulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }

/* ---------- featured sections (homepage cards) ----------
   A light card: a scene photo across the top, the product (a transparent cut-out)
   standing over it, then the name, a line of copy and a button. */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.feature-card {
  display: flex;
  flex-direction: column;
  background: var(--sand);
  border-radius: var(--r);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  transition: transform var(--calm) var(--ease), box-shadow var(--calm) var(--ease);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 22px 46px rgba(16, 20, 24, 0.13); }
.fc-stage { position: relative; aspect-ratio: 1 / 0.92; }
.fc-scene { position: absolute; inset: 0 0 auto 0; height: 38%; overflow: hidden; }
.fc-scene img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transition: transform 700ms var(--ease);
}
.feature-card:hover .fc-scene img { transform: scale(1.05); }
/* the cut-outs have different proportions, so each is centred in the same zone */
.fc-cut {
  position: absolute;
  left: 8%; right: 8%; top: 11%; bottom: 2%;
  transition: transform var(--calm) var(--ease);
}
.fc-cut picture { display: contents; }
.fc-cut img {
  display: block;
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 14px rgba(20, 20, 20, 0.2));
}
.feature-card:hover .fc-cut { transform: scale(1.04); }
.fc-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 2px clamp(18px, 2.4vw, 28px) clamp(26px, 3vw, 34px);
}
.fc-body h3 { font-size: clamp(26px, 2.5vw, 32px); line-height: 1.05; margin: 0 0 12px; white-space: nowrap; }
.fc-body p { max-width: 34ch; margin: 0 0 22px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }
.fc-btn {
  margin-top: auto;
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--pill);
  background: var(--sage);
  color: #1d330f;
  font-size: 15px;
  font-weight: 600;
  transition: background var(--quick) var(--ease), color var(--quick) var(--ease);
}
.feature-card:hover .fc-btn, .feature-card:focus-visible .fc-btn { background: var(--forest); color: #fff; }

/* ---------- the remaining sections, as photo tiles ---------- */
.range-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.range-tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  background: #1c1f22;
  isolation: isolate;
}
.range-tile img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 760ms var(--ease);
}
.range-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(10,12,14,0.92) 10%, rgba(10,12,14,0.42) 56%, rgba(10,12,14,0.06) 100%);
  transition: background 420ms var(--ease);
}
.range-tile:hover img { transform: scale(1.07); }
.range-tile:hover::after { background: linear-gradient(to top, rgba(10,12,14,0.95) 10%, rgba(10,12,14,0.6) 62%, rgba(10,12,14,0.18) 100%); }
.range-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}
.range-foot .range-count { margin: 0; }
.tile-btn {
  flex: none;
  display: inline-block;
  padding: 9px 22px;
  border-radius: var(--pill);
  background: var(--sage);
  color: #1d330f;
  font-size: 14px;
  font-weight: 600;
  transition: background var(--quick) var(--ease);
}
.range-tile:hover .tile-btn, .range-tile:focus-visible .tile-btn { background: #fff; }
.range-tile .range-body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 18px 18px;
}
.range-tile h3 { color: #fff; font-size: 23px; line-height: 1.12; margin: 0 0 6px; }
.range-tile p {
  color: #cfd3d7;
  font-size: 13.5px;
  line-height: 1.45;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.range-tile .range-count {
  font-family: Teko, sans-serif;
  font-size: 14.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
}
.range-more { margin: 26px 0 0; text-align: center; }

/* =========================================================================
   Product page
   The markup comes from tools/sync_shopify.py; site.js adds the option picker,
   the calculator prompt and the buy bar on phones.
   ========================================================================= */
.pdp { padding-bottom: 0; }
.pdp-crumb { padding-top: 26px; margin-bottom: 0; }
.pdp-crumb span { color: var(--ink-soft); }
.pdp-top {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(24px, 3.4vw, 52px);
  align-items: start;
  padding: 20px 0 clamp(40px, 5vw, 70px);
}
.pdp-gallery { position: sticky; top: 96px; min-width: 0; }
.pdp-main {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--r);
  /* square unless the first photo is clearly wider or taller (site.js) */
  aspect-ratio: var(--pdp-ratio, 1);
  cursor: zoom-in;
}
/* a hairline over the photo, so a product shot on white still has an edge */
.pdp-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(18, 20, 18, 0.09);
  pointer-events: none;
}
.pdp-main:hover img { transform: scale(1.03); }
.pdp-main::after {            /* a hint that the photo opens full screen */
  content: "";
  position: absolute;
  right: 14px; bottom: 14px;
  z-index: 2;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center no-repeat;
  box-shadow: 0 4px 14px rgba(18, 20, 18, 0.16);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--calm) var(--ease), transform var(--calm) var(--ease);
}
.pdp-main:hover::after, .pdp-main:focus-visible::after { opacity: 1; transform: none; }
.pdp-noimg { display: grid; place-items: center; height: 100%; color: var(--muted); }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; }
.pdp-thumb {
  flex: 0 0 74px;
  height: 74px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  background: var(--sand);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--quick) var(--ease), border-color var(--quick) var(--ease);
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumb:hover, .pdp-thumb.is-on { opacity: 1; }
.pdp-thumb.is-on { border-color: var(--forest); }

/* the buying panel */
.pdp-info {
  min-width: 0;
  padding: clamp(22px, 2.8vw, 38px);
  border-radius: var(--r);
  background: var(--sand);
}
.pdp-info > .eyebrow { margin-bottom: 14px; }
.pdp-title { font-size: clamp(32px, 3.5vw, 48px); line-height: 0.98; margin-bottom: 18px; text-wrap: balance; }
/* some shop titles run to a dozen words: site.js marks those so they sit smaller */
.pdp-title.is-long { font-size: clamp(27px, 2.7vw, 36px); line-height: 1.02; }
.pdp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 22px; }
.pdp-price strong { font-family: Teko, sans-serif; font-weight: 600; font-size: 50px; line-height: 0.9; letter-spacing: 0.01em; }
.pdp-from, .pdp-vat { font-size: 14px; color: var(--muted); }

.pdp-variants { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.pdp-variants[hidden] { display: none; }
.pdp-variants legend, .opt-label {
  padding: 0;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.opt-label b { margin-left: 6px; color: var(--ink); font-weight: 600; letter-spacing: 0.02em; text-transform: none; font-size: 14.5px; }
.pdp-variant, .opt-val {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 8px 8px 0;
  padding: 10px 17px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--quick) var(--ease), background-color var(--quick) var(--ease),
              color var(--quick) var(--ease), box-shadow var(--quick) var(--ease);
}
.pdp-variant:hover, .opt-val:hover { border-color: var(--ink); }
.pdp-variant.is-on, .opt-val.is-on { background: var(--forest); border-color: var(--forest); color: #fff; }
.pdp-variant.is-soldout, .opt-val.is-off { color: #70736b; background: transparent; border-style: dashed; text-decoration: line-through; }
.pdp-variant.is-soldout.is-on, .opt-val.is-off.is-on { background: #6f736b; border-color: #6f736b; border-style: solid; color: #fff; }
.opt-group { margin-bottom: 14px; }
.opt-group:last-child { margin-bottom: 20px; }
.opt-values { display: flex; flex-wrap: wrap; }
/* a dot of the actual colour on colour options */
.opt-val i, .pdp-variant i {
  flex: none;
  width: 18px; height: 18px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--sw, #999);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18), 0 0 0 2px #fff;
}

.pdp-stock { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; margin: 0 0 18px; }
.pdp-stock::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 16%, transparent); }
.pdp-stock.is-in { color: var(--ok); }
.pdp-stock.is-low { color: var(--low); }
.pdp-stock.is-out { color: var(--out); }

.pdp-actions { display: grid; gap: 10px; }
.pdp-actions [hidden] { display: none !important; }
.pdp-actions .btn { width: 100%; min-height: 54px; }
.pdp-actions .btn.ghost { background: #fff; }
.pdp-actions .btn.ghost:hover { background: var(--ink); }
/* quantity + add to basket (added by shopify.js once the shop answers) */
.pdp-add { display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: end; }
.pdp-qty { display: flex; flex-direction: column; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pdp-qty input {
  margin-top: 8px;
  height: 54px;
  padding: 0 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
  text-align: center;
}
.pdp-qty input:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 4px rgba(51, 86, 26, 0.13); }
.pdp-add-btn { height: 54px; }

.pdp-points { margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line-strong); list-style: none; display: grid; gap: 12px; font-size: 14.5px; line-height: 1.45; color: var(--ink-soft); }
.pdp-points li { position: relative; padding-left: 34px; }
.pdp-points li::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' viewBox='0 0 11 9' fill='none' stroke='%231d330f' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 4.6l3 3L10 1.2'/%3E%3C/svg%3E") center no-repeat;
}
.pdp-points a { color: var(--forest); font-weight: 600; }

/* "price the whole roof" prompt on roofing sheets (site.js) */
.pdp-calc {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: var(--r-sm);
  background: var(--night);
  color: #fff;
  text-decoration: none;
  transition: transform var(--calm) var(--ease), box-shadow var(--calm) var(--ease);
}
.pdp-calc:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(18, 20, 18, 0.22); }
.pdp-calc-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(195, 211, 173, 0.16); color: var(--sage); }
.pdp-calc b { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.pdp-calc small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: #b4bab1; }
.pdp-calc > svg { color: var(--sage); transition: transform 200ms var(--ease); }
.pdp-calc:hover > svg { transform: translateX(5px); }

.pdp-desc { max-width: 780px; padding: 0 0 clamp(40px, 5vw, 70px); }
.pdp-desc h2 { font-size: clamp(30px, 3.4vw, 42px); margin: 0 0 20px; }
.pdp-copy { font-size: 16.5px; line-height: 1.7; color: var(--ink-soft); overflow-wrap: anywhere; }
.pdp-copy p { margin: 0 0 1em; }
.pdp-copy h3, .pdp-copy h4 { font-family: Outfit, sans-serif; text-transform: none; letter-spacing: 0; font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--ink); margin: 1.5em 0 0.5em; }
.pdp-copy ul, .pdp-copy ol { margin: 0 0 1.2em; padding-left: 1.2em; }
.pdp-copy li { margin: 0.35em 0; }
.pdp-copy li::marker { color: var(--forest); }
.pdp-copy li p { margin: 0; }
.pdp-copy a { color: var(--forest); font-weight: 500; }

/* installation guide download card */
.pdp-guide { max-width: 780px; padding: 0 0 clamp(36px, 4.4vw, 60px); }
.guide-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: box-shadow var(--calm) var(--ease), transform var(--calm) var(--ease); }
.guide-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.guide-icon { flex: none; display: grid; place-items: center; width: 48px; height: 56px; border-radius: 10px; background: var(--forest); color: #fff; font: 600 13px/1 Outfit, sans-serif; letter-spacing: 0.06em; }
.guide-text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 0; min-width: 0; }
.guide-text strong { font: 600 17px/1.25 Outfit, sans-serif; }
.guide-text span { font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.guide-go { margin-left: auto; flex: none; padding: 9px 16px; border-radius: var(--pill); background: var(--sage-mist); font: 600 13.5px/1 Outfit, sans-serif; color: var(--forest); white-space: nowrap; }

.pdp-yard .gallery { grid-template-columns: repeat(4, 1fr); }
.pdp-yard .gallery a { display: block; height: 100%; cursor: zoom-in; }

/* the buy bar that follows a phone down a long product page (site.js) */
.buybar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 45;
  display: none;
  align-items: center;
  gap: 14px;
  padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(18, 20, 18, 0.1);
  transform: translateY(110%);
  transition: transform 360ms var(--rv-ease);
}
.buybar.is-on { transform: none; }
.buybar-info { min-width: 0; flex: 1; line-height: 1.2; }
.buybar-info span { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar-info strong { font-family: Teko, sans-serif; font-size: 28px; font-weight: 600; line-height: 1; }
.buybar .btn { flex: none; padding: 13px 24px; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
  background: rgba(10, 12, 10, 0.95);
  padding: 56px 72px;
}
.lightbox.is-open { display: flex; animation: lbIn 200ms ease; }
@keyframes lbIn { from { opacity: 0; } }
.lb-fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; background: #fff; border-radius: var(--r-sm); }
.lb-fig figcaption { color: #c6ccc2; font-size: 14px; margin-top: 14px; text-align: center; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; cursor: pointer;
  width: 50px; height: 50px; font-size: 30px; line-height: 1; border-radius: 50%;
  display: grid; place-items: center; padding: 0 0 4px;
  transition: background var(--quick) var(--ease);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-prev[hidden], .lb-next[hidden] { display: none; }

/* ---------- basket (shopify.js) ---------- */
.cart-count {
  position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--forest); color: #fff; font-size: 11.5px; font-weight: 700;
  display: grid; place-items: center;
}
.cart-count[hidden] { display: none; }
.cart-drawer {
  position: fixed; inset: 0; z-index: 900; overflow: hidden; background: rgba(10,12,10,0); pointer-events: none;
  transition: background 260ms var(--ease);
}
.cart-drawer.is-open { background: rgba(10,12,10,.5); pointer-events: auto; }
.cart-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  background: #fff; display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden;
  transition: transform 340ms var(--rv-ease), visibility 0s linear 340ms;
  box-shadow: -12px 0 40px rgba(0,0,0,.15);
}
.cart-drawer.is-open .cart-panel { transform: none; visibility: visible; transition-delay: 0s; }
.cart-drawer.is-busy .cart-body { opacity: .55; pointer-events: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 34px; }
.cart-close { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--sand); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; transition: background var(--quick) var(--ease); }
.cart-close:hover { background: var(--sand-deep); }
.cart-body { flex: 1; overflow-y: auto; padding: 16px 22px 22px; display: flex; flex-direction: column; transition: opacity 150ms ease; }
.cart-empty { color: var(--muted); margin: 14px 0 18px; }
.cart-error { background: #fdf0ec; color: var(--out); padding: 12px 14px; border-radius: var(--r-sm); font-size: 14px; }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 68px 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-img img { width: 68px; height: 68px; object-fit: cover; border-radius: var(--r-sm); background: var(--sand); display: block; }
.cart-info a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px; line-height: 1.35; display: block; }
.cart-info a:hover { color: var(--forest); }
.cart-opt { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.cart-qty { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 3px; border: 1px solid var(--line-strong); border-radius: var(--pill); }
.cart-qty button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--sand); color: var(--ink); font-size: 17px; line-height: 1; cursor: pointer; transition: background var(--quick) var(--ease); }
.cart-qty button:hover { background: var(--sage); }
.cart-qty span { min-width: 22px; text-align: center; font-size: 14px; font-weight: 600; }
.cart-price { font-size: 15px; font-weight: 600; }
.cart-foot { margin-top: auto; padding-top: 18px; }
.cart-sub { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; margin-bottom: 6px; }
.cart-sub strong { font-family: Teko, sans-serif; font-size: 34px; font-weight: 600; line-height: 1; }
.cart-note { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.cart-checkout { width: 100%; }

/* The PayPal placeholder is retired: Shopify's checkout takes PayPal for real.
   The generated product pages still carry its markup, so it stays hidden here. */
.paypal-btn, .paypal-note { display: none !important; }

/* ---------- search (site.js) ---------- */
.search-layer {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(14px, 9vh, 96px) 16px 16px;
  background: rgba(10, 12, 10, 0.58);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: lbIn 180ms ease;
}
.search-layer[hidden] { display: none; }
.search-panel {
  width: min(680px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  animation: searchIn 260ms var(--rv-ease);
}
@keyframes searchIn { from { opacity: 0; transform: translateY(-14px) scale(0.985); } }
.search-top { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 22px; border-bottom: 1px solid var(--line); }
.search-top > svg { flex: none; color: var(--muted); }
.search-top input {
  flex: 1;
  min-width: 0;
  height: 56px;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
  -webkit-appearance: none;
  appearance: none;
}
.search-top input:focus { outline: none; }
.search-top input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-top input::placeholder { color: #8b8e87; }
.search-close {
  flex: none;
  padding: 8px 14px;
  border: 0;
  border-radius: var(--pill);
  background: var(--sand);
  color: var(--ink-soft);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.search-close:hover { background: var(--sand-deep); }
.search-results { overflow-y: auto; padding: 10px; overscroll-behavior: contain; }
.search-label { margin: 10px 12px 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.search-hit {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 8px 12px 8px 8px;
  border-radius: var(--r-sm);
  color: var(--ink);
  text-decoration: none;
}
.search-hit img, .search-hit .search-ico { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--sand); }
.search-hit .search-ico { display: grid; place-items: center; color: var(--forest); background: var(--sage-mist); }
.search-hit b { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.search-hit small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.search-hit em { font-family: Teko, sans-serif; font-style: normal; font-size: 24px; font-weight: 600; line-height: 1; white-space: nowrap; }
.search-hit mark { background: var(--sage-pale); color: inherit; border-radius: 3px; padding: 0 1px; }
.search-hit:hover, .search-hit.is-active { background: var(--sand); }
.search-hit:focus-visible { outline-offset: -2px; outline-color: var(--forest); }
.search-none { padding: 26px 16px 30px; text-align: center; color: var(--ink-soft); }
.search-none b { display: block; font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.search-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  background: var(--sand);
  font-size: 13px;
  color: var(--muted);
}
.search-foot a { color: var(--forest); font-weight: 600; text-decoration: none; }
.search-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.search-foot kbd {
  display: inline-block;
  min-width: 22px;
  padding: 1px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  font: inherit;
  font-size: 12px;
  text-align: center;
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1200px) {
  .burger { display: inline-grid; }
  .nav {
    position: fixed;
    inset: var(--head-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    align-self: auto;
    gap: 0;
    margin: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(18, 20, 18, 0.12);
    padding: 6px var(--gut) 22px;
    display: none;
    /* with the product types expanded the menu is taller than a phone screen,
       so it scrolls instead of pushing About, Contact and the phone number off it */
    max-height: calc(100vh - var(--head-h));
    max-height: calc(100dvh - var(--head-h));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav.open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a::after { display: none; }
  .nav a.nav-tel { font-size: 30px; padding: 18px 0 4px; border-bottom: 0; }
  .nav-item { display: block; align-self: auto; }
  .nav-item > a { display: block; padding-right: 56px; }
  .sub-toggle {
    position: absolute; top: 0; right: 0;
    width: 54px; height: 56px;
    margin: 0; padding: 0;
    border-left: 1px solid var(--line);
  }
  .subnav {
    position: static; width: auto; padding: 8px 0 12px;
    border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; transition: none;
    display: none;
  }
  .nav-item.open .subnav { display: block; }
  .subnav ul { grid-template-columns: 1fr 1fr; gap: 2px 8px; }
  .nav .subnav a { padding: 8px; border-bottom: 0; font-size: 15px; }
  .nav .subnav .sub-all { margin: 8px 0 0; padding: 13px 14px; }
}
@media (max-width: 1080px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
}
@media (max-width: 920px) {
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split.flip > div:first-child { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .feature-cards { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  /* On phones the hero copy sits at the very bottom, where the scroll cue would
     land on top of the stats, so it only shows on wider screens. */
  .scroll-hint { display: none; }
  .callout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .pdp-yard .gallery { grid-template-columns: repeat(2, 1fr); }
}
/* A tablet held upright keeps the photo and the buying panel side by side; only
   a phone stacks them, and gets the buy bar that follows the page. */
@media (max-width: 720px) {
  .pdp-top { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; }
  .buybar { display: flex; }
  /* leave room so the buy bar never sits on the last line of the footer */
  body[data-page="product"] .site-foot { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 760px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; row-gap: 28px; }
  .range-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .range-tile h3 { font-size: 18px; }
  .range-tile p { display: none; }
  .range-tile .range-body { padding: 15px 13px 13px; }
  /* the two-column tiles are about 180px wide: stack the count over the button */
  .range-foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .tile-btn { padding: 8px 18px; font-size: 13px; }
  .lightbox { padding: 64px 10px 84px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  /* one row of chips that scrolls sideways, edge to edge, instead of four rows */
  .shop-chips > .shell { padding: 0; }
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 var(--gut);
    scroll-padding-inline: var(--gut);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .filters::-webkit-scrollbar { display: none; }
  .shop-sort { margin-left: 0; flex: 1 1 100%; }
  .shop-sort select { flex: 1; }
  .shop-search { flex-basis: 100%; max-width: none; }
}
@media (max-width: 640px) {
  /* two cards across on a phone: half the scrolling of one long column */
  .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .prod { border-radius: 14px; }
  .prod-body { padding: 13px 13px 14px; }
  .prod-cat { font-size: 9.5px; letter-spacing: 0.11em; margin-bottom: 6px; }
  .prod h4 { font-size: 14px; line-height: 1.32; margin-bottom: 12px; }
  .prod-foot { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 11px; }
  .price { font-size: 25px; }
  .stock { font-size: 12px; }
  .guide-card { flex-wrap: wrap; row-gap: 14px; }
  .guide-go { margin-left: 64px; }
  .pdp-calc { grid-template-columns: 40px 1fr; }
  .pdp-calc > svg { display: none; }
  .contact-card { padding: 18px; grid-template-columns: 46px 1fr; gap: 4px 14px; }
  .contact-ico { width: 46px; height: 46px; }
}
@media (max-width: 560px) {
  .brand .brand-logo { height: 19px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .search-hit { grid-template-columns: 46px 1fr auto; gap: 12px; }
  .search-hit img, .search-hit .search-ico { width: 46px; height: 46px; }
  .search-foot .search-keys { display: none; }
  .subnav ul { grid-template-columns: 1fr; }
}
/* On phones the logo, "Downpatrick" and the header buttons cannot sit in one
   row, so the tag stacks under the logo instead of pushing a button off the edge. */
@media (max-width: 480px) {
  .brand { flex-direction: column; align-items: flex-start; gap: 4px; }
  .brand-sub { font-size: 10.5px; letter-spacing: 0.2em; line-height: 1; }
  .head-row { gap: 8px; }
}
@media (max-width: 380px) {
  .brand .brand-logo { height: 17px; }
  .icon-btn, .cart-btn, .burger { width: 40px; height: 40px; }
  .head-row { gap: 6px; }
}
/* the narrowest phones still in use (320px): the logo gives up a little more */
@media (max-width: 340px) {
  .brand .brand-logo { height: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  [data-rv] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .line-mask > span { transform: none !important; }
  .site-head.is-hidden { transform: none; }
  [data-parallax] { transform: none !important; }
  body.is-leaving { opacity: 1; }
  .hero-photo .hero-video { display: none; }
  .hero-photo .hero-media img { animation: none; transform: none; }
  .scroll-hint i { animation: none; }
  .btn:hover, .prod:hover, .feature-card:hover, .guide-card:hover, .pdp-calc:hover, a.contact-card:hover { transform: none; }
}
