/* ==========================================================================
   Olimar Stone — homepage
   Light, warm and rounded, echoing the softness of the oval logo mark.
   Brand crimson carries the accent work.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  /* brand (from OLIMAR_COLOR_SCHEDULE_RGB) */
  --red:        #bb272a;
  --red-deep:   #890909;
  --red-tint:   #fdf0f0;
  --red-tint-2: #f8dedf;
  --charcoal:   #333333;
  --grey-600:   #636363;
  --grey-300:   #b7b7b7;
  --bone:       #f4f4f4;

  /* ground */
  --ink:        #241f1f;
  --body:       #635b59;
  --bg:         #ffffff;
  --bg-soft:    #faf7f5;
  --bg-warm:    #efe6df;   /* warm greige */
  --bg-tint:    #fbf0ee;   /* barely-there red cream */
  --line:       #ece5e2;

  --ff: "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
  --ff-script: "Fraunces", "Iowan Old Style", Georgia, serif;

  --r-xl:   34px;
  --r-lg:   24px;
  --r-md:   16px;
  --r-pill: 999px;

  --sh-sm: 0 2px 10px rgba(36, 31, 31, .05);
  --sh:    0 8px 30px rgba(36, 31, 31, .07);
  --sh-lg: 0 18px 50px rgba(36, 31, 31, .11);

  --gut: clamp(1.15rem, 4vw, 3.5rem);
  --maxw: 1480px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 800; letter-spacing: -.025em; line-height: 1.14; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
/* our display rules would otherwise beat the hidden attribute */
[hidden] { display: none !important; }

::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

section[id], main [id] { scroll-margin-top: 108px; }

.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.shell--narrow { max-width: 1120px; }
.shell--calc { max-width: 1040px; }

/* ---------- section header (script eyebrow + bold headline) ---------- */
.script {
  display: inline-block;
  position: relative;
  padding: 0 .4em .12em;
  font-family: var(--ff-script);
  /* upright, not italic: the italic read as decorative. SOFT rounds the
     terminals so it stays warm, WONK off keeps the letterforms conventional. */
  font-variation-settings: "opsz" 120, "SOFT" 60, "WONK" 0;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  color: var(--red);
}
.script-wrap { display: inline-flex; isolation: isolate; }

.head { max-width: 720px; }
.head--c { margin-inline: auto; text-align: center; }
.head h2 {
  margin-top: .75rem;
  font-size: clamp(1.85rem, 4vw, 3rem);
  text-wrap: balance;
}
.head p { margin-top: 1rem; font-size: 1.0625rem; text-wrap: pretty; }

.sec { padding-block: clamp(3.5rem, 8vw, 7rem); }
.sec--soft { background: var(--bg-soft); }
.sec--tint { background: var(--bg-tint); }
/* warm greige with a very faint stone texture — the one 'textured' section */
.sec--stone { position: relative; isolation: isolate; background: var(--bg-warm); }
.sec--stone::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/bg/river-rock.jpg") center / cover;
  opacity: .28;
  mix-blend-mode: multiply;
}
.sec--dark { background: radial-gradient(130% 120% at 12% -10%, #574e4a 0%, #322c2a 42%, #1c1817 78%, #120f0e 100%); }

/* Our Story — warm, layered gradient so it does not read as a flat cream block.
   Reusable as .sec--story on any section (e.g. product pages). */
#about,
.sec--story {
  background:
    radial-gradient(115% 85% at 100% 0%, rgba(187, 39, 42, .12) 0%, rgba(187, 39, 42, 0) 48%),
    radial-gradient(105% 80% at 0% 100%, rgba(224, 148, 96, .24) 0%, rgba(224, 148, 96, 0) 52%),
    linear-gradient(155deg, #fbf1ec 0%, #f6e6da 46%, #eeddcf 100%);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 1rem 1.75rem;
  border-radius: var(--r-pill);
  background: var(--red);
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.01em;
  box-shadow: 0 6px 18px rgba(187, 39, 42, .26);
  transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(137, 9, 9, .3);
}
.btn svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--out {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--out:hover { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--light { background: #fff; color: var(--red-deep); box-shadow: 0 6px 18px rgba(0,0,0,.16); }
.btn--light:hover { background: var(--bone); color: var(--red-deep); }
.btn--ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.btn--ghost-light:hover { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }

.tlink {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  font-size: .875rem;
  color: var(--red);
}
.tlink svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.hdr { position: fixed; inset: .85rem 0 auto; z-index: 100; }
.hdr__bar {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 2vw, 1.75rem);
  padding: .6rem .6rem .6rem 1.15rem;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--sh);
  transition: box-shadow .4s var(--ease);
}
.hdr.is-stuck .hdr__bar { box-shadow: var(--sh-lg); }

.brand { flex: none; display: flex; align-items: center; }
.brand img { height: 72px; width: auto; transition: height .4s var(--ease); }
.hdr.is-stuck .brand img { height: 44px; }

.nav { display: flex; flex: none; gap: clamp(.35rem, 1.1vw, 1rem); margin-left: clamp(.5rem, 2vw, 1.75rem); }
.nav a {
  padding: .5rem .75rem;
  border-radius: var(--r-pill);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;          /* stops "Material Calculator" wrapping the bar to 2 lines */
  transition: background .3s var(--ease), color .3s var(--ease);
}
.nav a:hover { background: var(--red-tint); color: var(--red); }

/* ---------------------------------------------------------------- catalog mega menu
   The header is a floating pill bar, so the panel drops beneath it as a matching
   floating card rather than a full-bleed strip. Hidden below 900px: the mobile
   drawer lists the same categories instead. */
.hdr .shell { position: relative; }

.nav__cat {
  display: inline-flex; align-items: center; gap: .32rem;
  padding: .5rem .75rem; border: 0; background: none; cursor: pointer;
  border-radius: var(--r-pill); font: inherit; font-size: .9rem; font-weight: 600;
  color: var(--ink); white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.nav__cat:hover,
.nav__cat[aria-expanded="true"] { background: var(--red-tint); color: var(--red); }
.nav__cat svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.nav__cat[aria-expanded="true"] svg { transform: rotate(180deg); }

.mega {
  position: absolute; left: var(--gut); right: var(--gut); top: calc(100% + 1.15rem);
  padding: clamp(.9rem, 1.6vw, 1.35rem);
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-lg);
  opacity: 0; transform: translateY(-10px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.mega.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mega__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; }

.megacard { display: block; padding: .45rem; border-radius: var(--r-md);
  transition: background .3s var(--ease); }
.megacard:hover { background: var(--bg-soft); }
.megacard__ph { display: block; aspect-ratio: 3 / 2; overflow: hidden;
  border-radius: 12px; background: var(--bg-warm); }
.megacard__ph img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .55s var(--ease); }
.megacard:hover .megacard__ph img { transform: scale(1.07); }
.megacard__txt { display: block; padding: .55rem .2rem .1rem; }
.megacard__txt b { display: block; font-size: .88rem; font-weight: 700; color: var(--ink);
  transition: color .3s var(--ease); }
.megacard__txt b i { font-style: normal; font-weight: 600; font-size: .72rem; color: var(--grey-300); }
.megacard:hover .megacard__txt b { color: var(--red); }
.megacard__txt em { display: block; font-style: normal; margin-top: .12rem;
  font-size: .75rem; line-height: 1.4; color: var(--body); }

.mega__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.1rem;
  margin-top: .9rem; padding-top: .85rem; border-top: 1px solid var(--line); }
.mega__more { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; }
.mega__more a { font-size: .84rem; font-weight: 600; color: var(--body);
  transition: color .3s var(--ease); }
.mega__more a:hover { color: var(--red); }
.mega__more i { font-style: normal; font-weight: 600; font-size: .72rem; color: var(--grey-300); }
.mega__all { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem;
  font-size: .85rem; font-weight: 700; color: var(--red); }
.mega__all svg { width: 15px; height: 15px; }
.mega__all:hover { color: var(--red-deep); }

.drawer__sub { padding-left: 1.15rem !important; font-size: .95rem !important; opacity: .82; }
.drawer__sub i { font-style: normal; font-size: .75rem; color: var(--grey-300); }

@media (max-width: 1180px) { .mega__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .mega { display: none; } }

.hdr__tel {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
  white-space: nowrap;
}
.hdr__tel svg { width: 17px; height: 17px; color: var(--red); }
.hdr__cta { padding: .8rem 1.4rem; }

.burger {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--red-tint);
  position: relative;
}
.burger span {
  position: absolute;
  left: 13px;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--red);
  transition: transform .4s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: grid;
  align-content: start;
  gap: .2rem;
  padding: 7.5rem var(--gut) 2.5rem;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer a {
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
}
.drawer .drawer__foot { display: grid; gap: .6rem; margin-top: 1.6rem; border: 0; padding: 0; }
.drawer .drawer__foot a { border: 0; padding: 0; font-size: 1rem; font-weight: 700; color: var(--red); }

/* ==========================================================================
   AI SEARCH
   ========================================================================== */
.asearch {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex: 0 1 190px;
  min-width: 0;
  margin-left: auto;
  padding: .38rem .38rem .38rem .75rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  transition: border-color .3s var(--ease), background .3s var(--ease), flex-basis .35s var(--ease);
}
.asearch:focus-within { border-color: var(--red); background: #fff; flex-basis: 250px; }
.asearch__icon { flex: none; width: 18px; height: 18px; }
.asearch input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  outline: 0;
  -webkit-appearance: none;
  appearance: none;
}
.asearch input::-webkit-search-cancel-button { display: none; }
.asearch input::placeholder { color: var(--body); font-weight: 600; }
.asearch__go {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.asearch__go svg { width: 14px; height: 14px; }
.asearch__go:hover { background: var(--red-deep); transform: translateX(1px); }

/* answer panel */
.askpanel {
  position: fixed;
  inset: calc(.85rem + 104px) 0 auto;
  z-index: 99;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .3s var(--ease), transform .35s var(--ease);
  pointer-events: none;
}
.askpanel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.askpanel__inner {
  position: relative;
  width: 100%;
  max-width: min(640px, var(--maxw));
  /* nudged right so it reads as belonging to the search, not the whole header */
  margin-inline: auto 0;
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
}
.askpanel__close {
  position: absolute;
  top: .6rem; right: .8rem;
  width: 30px; height: 30px;
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--body);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.askpanel__close:hover { background: var(--red-tint); color: var(--red); }
.askpanel__q {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  padding-right: 2rem;
}
.askpanel__a { margin-top: .6rem; font-size: 1rem; line-height: 1.6; color: var(--ink); }
.askpanel__a.is-loading { color: var(--body); }
.askpanel__link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--red);
}
.askpanel__link svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.askpanel__link:hover svg { transform: translateX(4px); }
.askpanel__hits { margin-top: .75rem; }
.askpanel__hits-h { font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--body); }
.askpanel__hits ul { list-style: none; margin-top: .35rem; border-top: 1px solid var(--line); }
.askpanel__hits li { border-bottom: 1px solid var(--line); }
.askpanel__hits li a { display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; padding: .55rem .15rem; font-weight: 700; color: var(--ink);
  transition: color .25s var(--ease); }
.askpanel__hits li a:hover { color: var(--red); }
.askpanel__hits li span { font-size: .74rem; font-weight: 600; color: var(--body); white-space: nowrap; }
.askpanel__hits-more { display: inline-block; margin-top: .55rem; font-size: .85rem;
  font-weight: 700; color: var(--red); }
.askpanel__foot {
  margin-top: 1rem;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  color: var(--body);
}
.askpanel__foot a { font-weight: 700; color: var(--ink); }

@media (max-width: 1340px) {
  .hdr__tel { display: none; }
}
@media (max-width: 1080px) {
  .asearch { flex-basis: 150px; margin-left: auto; }
  .asearch:focus-within { flex-basis: 190px; }
}
@media (max-width: 700px) {
  .asearch { flex-basis: 42px; padding: .38rem; justify-content: center; }
  .asearch input, .asearch__go { display: none; }
  .asearch:focus-within { flex-basis: 100%; padding-left: .75rem; }
  .asearch:focus-within input, .asearch:focus-within .asearch__go { display: block; }
  .askpanel { inset: calc(.85rem + 92px) 0 auto; }
}

/* ==========================================================================
   HERO (video card with an overlapping text card)
   ========================================================================== */
.hero {
  min-height: 95vh;
  display: grid;
  align-content: center;
  /* vh-based padding so short laptop screens still fit inside 80vh */
  padding-block: clamp(5.5rem, 10vh, 7.5rem) clamp(1.5rem, 4vh, 3rem);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg);
}
.hero__bg {
  position: absolute;
  left: 0; right: 0;
  top: -25%;
  height: 125%;          /* the extra 25% is the parallax travel */
  z-index: -2;
  background: url("../img/bg/river-rock.jpg") center / cover no-repeat;
  will-change: transform;
}
.hero::before {          /* veil stays put while the rock moves under it */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, .60) 0%,
              rgba(255, 255, 255, .70) 58%, #fff 100%);
}

.hero__stage { position: relative; }

/* 16:9 exactly, so the clip plays uncropped */
.hero__media {
  /* height drives the size, width follows the 16:9 ratio, and the right edge
     breaks out of the container to sit flush with the viewport edge */
  margin-left: calc(27% + max(calc(50% - 50vw), -40px));  /* shifted left in step */
  margin-right: max(calc(50% - 50vw), -40px);             /* 40px past the container */
  width: auto;
  height: auto;
  aspect-ratio: 16 / 9;
  max-width: calc(72vh * 16 / 9);        /* keeps it from outgrowing the fold */
  overflow: hidden;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  background: #1b1512;
}
.hero__video { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .5s ease; }

/* Google-style review pill in the hero */
.greview {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.1rem;
  padding: .5rem .95rem .5rem .7rem;
  background: #fff;
  border-radius: var(--r-pill);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.greview:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .22); }
.greview__g { width: 18px; height: 18px; flex: none; }
.greview__stars { display: inline-flex; gap: 1px; }
.greview__stars svg { width: 15px; height: 15px; fill: #fbbc05; }
.greview__txt { white-space: nowrap; letter-spacing: -.005em; }
@media (max-width: 420px) {
  .greview { font-size: .76rem; padding: .45rem .8rem .45rem .6rem; gap: .45rem; }
  .greview__stars svg { width: 13px; height: 13px; }
}

/* red-tinted glass: picks up the river rock behind it and the video it overlaps */
.hero__content {
  position: absolute;
  left: max(calc(50% - 50vw), -40px);    /* mirrors the media's right breakout */
  top: 50%;
  translate: 0 -50%;     /* separate from transform so the slide-in can animate */
  opacity: 0;
  transform: translateX(-52px);
  animation: slideInLeft .95s var(--ease) .2s forwards;
  width: min(38%, 32rem);
  padding: clamp(1.5rem, 2.4vw, 2.25rem);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(137, 9, 9, .93) 0%, rgba(168, 28, 31, .82) 100%);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .26);
  box-shadow: 0 24px 60px rgba(24, 17, 15, .30), inset 0 1px 0 rgba(255, 255, 255, .22);
}

.hero h1 {
  font-size: clamp(1.75rem, 2.5vw, 2.4rem);
  color: #fff;
}
.hero__lede {
  margin-top: .85rem;
  font-size: clamp(.95rem, 1.05vw, 1.03rem);
  color: rgba(255, 255, 255, .9);
}
.hero__acts { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }

.tick {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--red-tint);
  color: var(--red);
}
.tick svg { width: 15px; height: 15px; }

/* ==========================================================================
   STAT CARDS
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.7rem, 1.6vw, 1.2rem); }
.stats.rv { opacity: 1; transform: none; }
.stat {
  position: relative;
  overflow: hidden;
  padding: clamp(1.8rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.5rem);
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
  isolation: isolate;
  text-align: center;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.stat:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }

/* turf background as its own layer so each card can be flipped/rotated to look
   a little different from its neighbours */
.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/bg/turf.jpg") center / cover no-repeat;
  transform: scale(1.15);
}
.stat:nth-child(2)::before { transform: scaleX(-1) scale(1.15); }
.stat:nth-child(3)::before { transform: scaleY(-1) scale(1.15); }
.stat:nth-child(4)::before { transform: rotate(180deg) scale(1.15); }
.stat__body { position: relative; display: block; }
.stat b {
  display: block;
  font-size: clamp(3.9rem, 7vw, 5.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,.8), 0 4px 18px rgba(0,0,0,.55);
}
.stat span { display: block; margin-top: .75rem; font-size: 1.32rem; font-weight: 700; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,.8), 0 3px 12px rgba(0,0,0,.55); }
.stat small { display: block; margin-top: .3rem; font-size: 1.02rem; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.8), 0 2px 10px rgba(0,0,0,.55); }

/* staggered entrance, left to right */
.stats.rv .stat {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.stats.rv.is-in .stat { opacity: 1; transform: none; }
.stats.rv.is-in .stat:nth-child(1) { transition-delay: .05s; }
.stats.rv.is-in .stat:nth-child(2) { transition-delay: .18s; }
.stats.rv.is-in .stat:nth-child(3) { transition-delay: .31s; }
.stats.rv.is-in .stat:nth-child(4) { transition-delay: .44s; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.about__fig { position: relative; margin: 0; }
.about__fig img {
  width: 100%;
  /* the showroom photo is tall (moss wall above, pebble trays below); a
     landscape crop here would show only a thin horizontal sliver of it */
  aspect-ratio: 4 / 5;
  /* the <img> also carries HTML width/height attributes (for CLS); without
     an explicit height:auto those act as a presentational hint that pins a
     literal pixel height and silently defeats aspect-ratio entirely */
  height: auto;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--sh);
}
.about__stamp {
  position: absolute;
  right: -1.4rem; top: -1.4rem;
  display: grid;
  place-items: center;
  width: clamp(122px, 15vw, 158px);
  aspect-ratio: 66.76 / 45.11;   /* the logo oval, not a circle */
  color: #fff;
  text-align: center;
  line-height: 1.05;
  filter: drop-shadow(0 14px 28px rgba(24,17,15,.32));
  transform: rotate(-8deg);
}
.about__stamp__shape { position: absolute; inset: 0; width: 100%; height: 100%; }
.about__stamp__txt { position: relative; }
.about__stamp b { display: block; font-size: clamp(1.5rem, 2.4vw, 1.95rem); font-weight: 800; color: #fff; }
.about__stamp span { font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }

.about__body p + p { margin-top: 1.05rem; }
.about__list { display: grid; gap: .75rem; margin-top: 1.9rem; }
.about__list li { display: flex; gap: .8rem; align-items: flex-start; font-weight: 700; color: var(--ink); font-size: .96rem; }
.about__list .tick { width: 26px; height: 26px; margin-top: .15rem; }
.about__list .tick svg { width: 13px; height: 13px; }


/* ==========================================================================
   SPECIAL ANNOUNCEMENT BANNER
   ========================================================================== */
.specialbar {
  display: block;
  background: linear-gradient(90deg, var(--red-deep) 0%, var(--red) 100%);
  color: #fff;
}
.specialbar__in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.6rem, 1.6vw, 1.1rem);
  padding-block: .7rem;
  font-size: .92rem;
}
.specialbar__tag {
  flex: none;
  padding: .28rem .7rem;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.16);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.specialbar__msg { font-weight: 600; }
.specialbar__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,.45);
}
.specialbar__cta svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.specialbar:hover .specialbar__cta svg { transform: translateX(4px); }
@media (max-width: 640px) {
  .specialbar__in { flex-wrap: wrap; row-gap: .35rem; font-size: .85rem; }
  .specialbar__in { justify-content: center; }
}

/* "See all products" card */
/* black glass so the copy stays legible over the photo */

/* ==========================================================================
   PRODUCTS
   ========================================================================== */
.prods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(.9rem, 1.7vw, 1.4rem);
  margin-top: clamp(2.2rem, 4vw, 3.2rem);
}
.prods.rv { opacity: 1; transform: none; }
.prods.rv .prod {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.prods.rv.is-in .prod { opacity: 1; transform: none; }
.prods.rv.is-in .prod:nth-child(1) { transition-delay: .04s; }
.prods.rv.is-in .prod:nth-child(2) { transition-delay: .12s; }
.prods.rv.is-in .prod:nth-child(3) { transition-delay: .20s; }
.prods.rv.is-in .prod:nth-child(4) { transition-delay: .28s; }
.prods.rv.is-in .prod:nth-child(5) { transition-delay: .36s; }
.prods.rv.is-in .prod:nth-child(6) { transition-delay: .44s; }
.prods.rv.is-in .prod:nth-child(7) { transition-delay: .52s; }
.prods.rv.is-in .prod:nth-child(8) { transition-delay: .60s; }
.prods.rv.is-in .prod:nth-child(9) { transition-delay: .68s; }
.prod {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--red);
  border: 0;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.prod:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }

.prod__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--red-deep); }
.prod__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.prod:hover .prod__img img { transform: scale(1.06); }

.prod__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.25rem, 2vw, 1.6rem);
  background: linear-gradient(160deg, var(--red) 0%, var(--red-deep) 100%);
}
.prod h3 { font-size: 1.32rem; color: #fff; }
.prod p { margin-top: .7rem; font-size: 1.02rem; line-height: 1.55; flex: 1; color: rgba(255,255,255,.95); }
.prod .tlink {
  margin-top: 1.4rem;
  align-self: flex-start;
  padding: .8rem 1.4rem;
  border-radius: var(--r-pill);
  font-size: .88rem;
  background: #fff;
  color: var(--red-deep);
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.prod:hover .tlink,
.prod .tlink:hover,
.prod .tlink:focus-visible {
  background: var(--bone);
  color: var(--red-deep);
}
.prod .tlink:hover svg,
.prod:hover .tlink svg { transform: translateX(4px); }

/* ==========================================================================
   IN STOCK GALLERY
   ========================================================================== */

.gal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.6rem, 1.4vw, 1rem);
  margin-top: clamp(1.8rem, 3vw, 2.5rem);
}
.gal figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  aspect-ratio: 1;
}
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.gal figure:hover img { transform: scale(1.07); }
.gal figcaption {
  position: absolute;
  inset: auto .6rem .6rem;
  padding: .55rem .85rem;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(6px);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
}
.gal b { display: block; font-size: .9rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; line-height: 1.3; }
.gal span { display: block; font-size: .72rem; font-weight: 700; color: var(--red); }

/* language switcher: sits between the Contact nav link and the Ask box */
.langsw {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  min-width: 2.35rem;
  height: 2.35rem;
  margin-inline: .1rem .35rem;
  padding-inline: .5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink);
  text-decoration: none;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.langsw:hover { color: #fff; background: var(--red); border-color: var(--red); }
.langsw:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
@media (max-width: 1100px) { .langsw { display: none; } }

/* the drawer's own copy, for the widths where the header pill is hidden */
.drawer__lang {
  align-self: start;
  margin-top: .4rem;
  padding: .3rem .95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .8rem !important;
  font-weight: 700;
  letter-spacing: .04em;
}

.gal b a { color: inherit; text-decoration: none; }
.gal figure:hover b a { color: var(--red); }
/* whole tile clickable: the caption link is stretched over the figure */
.gal b a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.gal__all { margin-top: clamp(1.8rem, 3vw, 2.5rem); text-align: center; }

.gal__note { margin-top: 1.6rem; text-align: center; font-size: .93rem; }


/* ==========================================================================
   MATERIAL CALCULATOR
   ========================================================================== */
.calc {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: stretch;
  margin-top: clamp(2rem, 4vw, 3rem);
}

/* right column holds the chart and the result stacked in one cell,
   only one visible at a time; it stretches to match the form's height */
.calc__right { display: flex; flex-direction: column; min-width: 0; }
.calc__right > .refgrid,
.calc__right > .calc__out { flex: 1 1 auto; margin-top: 0; align-self: stretch; }
.calc__right > .refgrid:not([hidden]) { display: flex; flex-direction: column; }
.calc__right > .calc__out:not([hidden]) { display: flex; flex-direction: column; }
.calc__right > .calc__out .btn { margin-top: auto; align-self: flex-start; }

/* chart <-> result toggle buttons */
.calc__toggle {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  align-self: flex-start;
  margin-top: 1rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.calc__toggle svg { width: 16px; height: 16px; }
#toResult { color: var(--red); margin-top: auto; padding-top: 1rem; }
#toResult:hover { color: var(--red-deep); }
.calc__toggle--back {
  margin-top: 0;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, .82);
}
.calc__toggle--back:hover { color: #fff; }
.calc__toggle-back { transform: scaleX(-1); }

.calc__form {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh);
}

.calc__modes {
  display: flex;
  gap: .4rem;
  padding: .3rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.calc__modes button {
  flex: 1;
  padding: .6rem 1rem;
  border-radius: var(--r-pill);
  font-size: .875rem;
  font-weight: 600;
  color: var(--body);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.calc__modes button[aria-pressed="true"] { background: var(--red); color: #fff; }

.calc__area {
  margin-top: 1rem;
  font-size: .9rem;
  color: var(--body);
}
.calc__area b { color: var(--ink); font-weight: 800; }

.calc__out {
  margin-top: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--red-deep) 0%, var(--red) 100%);
  color: #fff;
  box-shadow: var(--sh-lg);
}
.calc__lead {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
}
.calc__big {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin-top: .4rem;
  color: #fff;
}
.calc__big b {
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}
.calc__big span { font-size: 1.1rem; font-weight: 700; color: rgba(255, 255, 255, .8); }

.calc__rows { margin-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .24); }
.calc__rows li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  font-size: .92rem;
}
.calc__rows span { color: rgba(255, 255, 255, .8); }
.calc__rows b { font-size: 1.15rem; font-weight: 800; color: #fff; }

.calc__note {
  margin-top: 1.2rem;
  font-size: .82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .72);
}
.calc__out .btn { margin-top: 1.2rem; background: #fff; color: var(--red-deep); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.calc__out .btn:hover { background: var(--bone); color: var(--red-deep); }

@media (max-width: 900px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc__form, .refgrid { min-width: 0; }
  .calc__out { position: static; }
}

/* page header for inner pages */
.pagehead {
  padding: clamp(9rem, 13vw, 11rem) 0 clamp(1rem, 2.5vw, 1.5rem);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.80) 62%, var(--pagehead-fade, #fff) 100%),
    url("../img/bg/river-rock.jpg") center / cover no-repeat;
}
/* shop header fades into the warm greige products section instead of white */
.pagehead--warm { --pagehead-fade: var(--bg-warm); }
/* contact header fades into the cream section below instead of white */
.pagehead--soft { --pagehead-fade: var(--bg-soft); }
.pagehead h1 { margin-top: .8rem; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.pagehead p { margin: 1rem auto 0; max-width: 60ch; font-size: 1.0625rem; }

/* leave-a-review page: two location cards with QR codes */
.reviewgrid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2.2rem); margin-top: clamp(1.6rem, 3vw, 2.6rem);
}
.reviewcard {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--sh-sm); padding: clamp(1.6rem, 3.2vw, 2.8rem);
}
.reviewcard__title {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--ink);
}
.reviewcard__title svg { width: .8em; height: .8em; color: var(--red); }
.reviewcard address { margin-top: .55rem; font-style: normal; color: var(--body); font-size: .95rem; line-height: 1.55; }
.reviewcard__qr {
  margin: clamp(1.2rem, 2.6vw, 1.9rem) 0; padding: 1rem; background: #fff;
  border: 3px solid var(--red); border-radius: var(--r-lg);
}
.reviewcard__qr img { display: block; width: clamp(190px, 24vw, 250px); height: auto; }
.reviewcard__hint { color: var(--body); font-size: .92rem; line-height: 1.55; max-width: 32ch; margin-bottom: 1.3rem; }
@media (max-width: 720px) { .reviewgrid { grid-template-columns: 1fr; } }
/* pull the content section up closer to the title (shop + calculator) */
.pagehead + .sec { padding-top: clamp(1.75rem, 3.5vw, 2.75rem); }

/* "Why choose us" feature cards (about page) */
.why {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem); margin-top: clamp(1.6rem, 3vw, 2.6rem);
}
.why__card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.why__card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.why__img { aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg-soft); }
.why__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s var(--ease); }
.why__card:hover .why__img img { transform: scale(1.05); }
.why__body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.1rem 1.2rem; }
.why__body h3 { font-size: 1.05rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.why__body p { margin-top: .4rem; color: var(--body); font-size: .9rem; line-height: 1.55; }
@media (max-width: 820px) { .why { grid-template-columns: 1fr; } }

/* about page: story = bento image grid (left) + text (right) */
.storybento {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center;
}
.bento {
  display: grid; gap: .7rem;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: clamp(110px, 13.5vw, 168px);
  grid-template-areas: "big a" "big b" "wide wide";
}
.bento__tile { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); }
.bento__tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.bento__tile:hover img { transform: scale(1.05); }
.bento__tile:nth-child(1) { grid-area: big; }
.bento__tile:nth-child(2) { grid-area: a; }
.bento__tile:nth-child(3) { grid-area: b; }
.bento__tile:nth-child(4) { grid-area: wide; }
.storybento__body h2 { margin-top: .7rem; font-size: clamp(1.85rem, 4vw, 3rem); }
.storybento__body p { margin-top: 1rem; color: var(--body); font-size: 1.05rem; line-height: 1.75; }
@media (max-width: 860px) { .storybento { grid-template-columns: 1fr; gap: 1.6rem; } }

/* about page: full-width feature banner */
.storyfig { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); }
.storyfig img { display: block; width: 100%; height: clamp(240px, 34vw, 430px); object-fit: cover; }

/* about page: materials as photo cards (real category images) */
.matgrid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.9rem, 1.6vw, 1.35rem); margin-top: clamp(1.6rem, 3vw, 2.6rem);
}
.matcard {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-sm); text-decoration: none; color: inherit;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.matcard:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.matcard__img { aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg-soft); }
.matcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s var(--ease); }
.matcard:hover .matcard__img img { transform: scale(1.05); }
.matcard__body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.1rem 1.15rem; }
.matcard__body h3 { font-size: 1.02rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.matcard__body p { margin-top: .4rem; color: var(--body); font-size: .875rem; line-height: 1.5; flex: 1; }
.matcard__link {
  margin-top: .9rem; display: inline-flex; align-items: center; gap: .35rem;
  color: var(--red); font-weight: 700; font-size: .8rem; transition: gap .18s var(--ease);
}
.matcard__link svg { width: 14px; height: 14px; }
.matcard:hover .matcard__link { gap: .55rem; }
@media (max-width: 1080px) { .matgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .matgrid { grid-template-columns: 1fr; } }

/* reference grid */
.refgrid {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
}
.refgrid { align-self: start; }
.refgrid__head { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; justify-content: space-between; }
.refgrid h2 { font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.refgrid__toggle { display: inline-flex; gap: .25rem; padding: .25rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-pill); }
.refgrid__toggle button {
  padding: .45rem .85rem;
  border-radius: var(--r-pill);
  font-size: .78rem;
  font-weight: 600;
  color: var(--body);
  white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.refgrid__toggle button[aria-pressed="true"] { background: var(--red); color: #fff; }
.refgrid__scroll { margin-top: 1.1rem; }
.refgrid__scroll { overflow-x: auto; margin-top: 1.1rem; }
.refgrid table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 400px; }
.refgrid th, .refgrid td {
  padding: .58rem .5rem;
  text-align: center;
  font-size: .85rem;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.refgrid thead th {
  background: var(--red);
  color: #fff;
  font-weight: 700;
  border-bottom: 0;
}
.refgrid thead th:first-child { border-radius: var(--r-md) 0 0 0; text-align: left; }
.refgrid thead th:last-child  { border-radius: 0 var(--r-md) 0 0; }
.refgrid tbody th {
  text-align: left;
  font-weight: 800;
  color: var(--ink);
  background: var(--bg-soft);
}
.refgrid tbody tr:nth-child(odd) td { background: var(--red-tint); }
.refgrid tbody tr:last-child th,
.refgrid tbody tr:last-child td { border-bottom: 0; }
.refgrid__note { margin-top: .9rem; font-size: .85rem; color: var(--body); }

/* ==========================================================================
   CTA PANEL
   ========================================================================== */
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(2.4rem, 5.5vw, 4.2rem);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--red-deep) 0%, var(--red) 100%);
  color: #fff;
}
.cta::before {
  content: "";
  position: absolute;
  right: -8%; top: -38%;
  width: 46%; aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
}
.cta::after {
  content: "";
  position: absolute;
  right: 16%; bottom: -48%;
  width: 34%; aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
}
.cta__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.cta__copy { display: flex; flex-direction: column; align-items: flex-start; }
.cta .script { color: #fff; }
.cta h2 { margin-top: .7rem; color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.6rem); max-width: 19ch; text-wrap: balance; }
.cta p { margin-top: .9rem; color: rgba(255,255,255,.88); max-width: 46ch; }
.cta__acts { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: clamp(1.6rem, 3vw, 2.2rem); }

/* van cutout sits on the right, slightly oversized so it feels like it drives in */
.cta__van { position: relative; }
.cta__van img {
  width: 100%;
  height: auto;
  max-width: 620px;
  margin-inline: auto;
  filter: drop-shadow(0 24px 30px rgba(0,0,0,.35));
}

/* ==========================================================================
   LOCATIONS
   ========================================================================== */
.locs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(.9rem, 2vw, 1.4rem);
  margin-top: clamp(2.2rem, 4vw, 3.2rem);
}
.loc {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
}
.loc__map { aspect-ratio: 16 / 9; background: var(--bg-soft); }
.loc__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(1.05); }
.loc__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  padding: clamp(1.6rem, 3vw, 2.2rem);
}
.loc__top { display: flex; align-items: center; gap: .85rem; }
.loc__pin {
  flex: none;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--red-tint);
  color: var(--red);
}
.loc__pin svg { width: 21px; height: 21px; }
.loc h3 { font-size: 1.3rem; }
.loc address { font-style: normal; }
.loc__tel { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.12rem; color: var(--red); }
.loc__tel svg { width: 17px; height: 17px; }
.loc__tag {
  padding-top: .2rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--body);
}

.loc__hours {
  display: grid;
  gap: .35rem;
  padding: .9rem 1rem;
  background: var(--bg-soft);
  border-radius: var(--r-md);
}
.loc__hours-row { display: flex; justify-content: space-between; align-items: baseline; font-size: .92rem; }
.loc__hours-row span { color: var(--body); font-weight: 600; }
.loc__hours-row b { color: var(--ink); font-weight: 700; }
.loc__hours-row.is-closed b { color: var(--red); }

.loc__dir {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  align-self: flex-start;
  padding: .7rem 1.2rem;
  border-radius: var(--r-pill);
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  background: var(--red);
  box-shadow: 0 4px 14px rgba(187,39,42,.25);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.loc__dir svg { width: 15px; height: 15px; }
.loc__dir .arw { transition: transform .35s var(--ease); }
.loc__dir:hover { background: var(--red-deep); transform: translateY(-2px); }
.loc__dir:hover .arw { transform: translateX(3px); }

/* ==========================================================================
   QUOTE FORM
   ========================================================================== */
.quote {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2.2rem, 5vw, 4rem);
  align-items: start;
}
.quote__contact { display: grid; gap: .8rem; margin-top: 1.9rem; }
.quote__contact a { display: flex; align-items: center; gap: .8rem; font-weight: 700; color: var(--ink); }
.quote__contact .ico {
  flex: none;
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--red-tint);
  color: var(--red);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.quote__contact a:hover .ico { background: var(--red); color: #fff; }
.quote__contact .ico svg { width: 17px; height: 17px; }
.quote__contact small { display: block; font-size: .8rem; font-weight: 500; color: var(--body); }

.form {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh);
}
.form__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: .8rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .9rem 1.05rem;
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink);
  font: inherit;
  font-size: .95rem;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 124px; }
.field select { appearance: none; cursor: pointer; }
.field--sel { position: relative; }
.field--sel::after {
  content: "";
  position: absolute;
  right: 1.15rem; bottom: 1.3rem;
  width: 7px; height: 7px;
  border-right: 2px solid var(--body);
  border-bottom: 2px solid var(--body);
  transform: rotate(45deg);
  pointer-events: none;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; background: #fff; border-color: var(--red); }
.field input::placeholder, .field textarea::placeholder { color: #a9a09d; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form__note { font-size: .85rem; max-width: 32ch; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.pebbles { display: block; width: 100%; height: auto; color: var(--red-deep); margin-top: clamp(-2.5rem, -3vw, -1.5rem); margin-bottom: -2px; position: relative; z-index: 1; }

.ftr { background: var(--red-deep); color: rgba(255,255,255,.78); }
.ftr__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.8rem, 4vw, 3.2rem);
  padding-block: clamp(2.6rem, 5vw, 4rem);
}
.ftr__brand img {
  height: 46px; width: auto;
  padding: .75rem 1.1rem;
  background: #fff;
  border-radius: var(--r-md);
  box-sizing: content-box;
}
.ftr__brand p { margin-top: 1.3rem; font-size: .93rem; max-width: 34ch; }
.ftr h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: -.01em; }
.ftr li + li { margin-top: .55rem; }
.ftr a { font-size: .92rem; transition: color .3s var(--ease); }
.ftr a:hover { color: #fff; }

.ftr__social { display: flex; gap: .55rem; margin-top: 1.5rem; }
.ftr__social a {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  transition: background .3s var(--ease), transform .3s var(--ease), color .3s var(--ease);
}
.ftr__social a:hover { background: #fff; color: var(--red-deep); transform: translateY(-2px); }
.ftr__social svg { width: 16px; height: 16px; fill: currentColor; }

.ftr__bot {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  align-items: center;
  padding-block: 1.35rem;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: .85rem;
}
.ftr__bot .sp { margin-left: auto; }
.ftr__bot a { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   MOTION
   ========================================================================== */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

.load > * { opacity: 0; transform: translateY(18px); animation: rise .8s var(--ease) forwards; }
.load > *:nth-child(1) { animation-delay: .08s; }
.load > *:nth-child(2) { animation-delay: .18s; }
.load > *:nth-child(3) { animation-delay: .28s; }
.load > *:nth-child(4) { animation-delay: .38s; }
.load > *:nth-child(5) { animation-delay: .48s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes slideInLeft { to { opacity: 1; transform: none; } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .nav, .hdr__tel, .hdr__cta { display: none; }
  .burger { display: block; }
  .prods { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero__stage { display: block; }
  .hero__media { width: 100%; max-width: none; height: auto; margin: 0; }
  .hero__content {
    position: static;
    translate: none;
    width: min(92%, 34rem);
    margin: -2rem 0 0 clamp(1rem, 4vw, 3rem);
  }
  .about { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 1fr; }
  .ftr__top { grid-template-columns: repeat(2, 1fr); }
  .gal { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cta__in { grid-template-columns: 1fr; }
  .cta__van { order: -1; }
  .cta__van img { max-width: 460px; }
  .locs { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .gal { grid-template-columns: repeat(2, 1fr); }
  .prods { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__content { width: calc(100% - 1.5rem); margin: -1.5rem 0 0 .75rem; }
  .ftr__top { grid-template-columns: 1fr; }
  .ftr__bot .sp { margin-left: 0; }
  .about__stamp { right: -.4rem; top: -.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .rv, .load > *, .hero__content, .stats.rv .stat, .prods.rv .prod { opacity: 1; transform: none; }
  .hero__bg { transform: none !important; }
  .hero__video { display: none; }
  .hero__media { background: #1b1512 url("../video/hero-poster.jpg") center / cover; }
}

/* ============================================================
   PRODUCT DETAIL (catalog) — reusable template for every product
   ============================================================ */
/* full-page Olimar-oval pattern: the logo shape scattered at varied angles,
   run on a diagonal so it reads as texture, not a grid. */
.sec--pattern { position: relative; isolation: isolate; overflow: hidden; }
.sec--pattern::before {
  content: "";
  position: absolute;
  top: -130%; left: -60%;
  width: 220%; height: 360%;
  z-index: -1;
  transform: translate3d(0, var(--para, 0px), 0) rotate(-13deg);
  transform-origin: center;
  will-change: transform;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'%3E%3Cdefs%3E%3Cpath id='o' d='M86.19,50.44c2.19,5.64-1.16,10.94-5.81,14.76-8.91,7.02-21.63,10.81-33.02,10.86-7.31-.07-14.66-2.04-19.79-7.34-6.54-6.71-8.43-18.22-4.2-26.32,2.81-5.51,8.37-8.73,14.41-9.83,11.97-2.12,26.07,1.46,36.59,6.88,5.25,2.7,10.39,6.98,11.82,10.98h0Z'/%3E%3C/defs%3E%3Cg fill='%23890909' fill-opacity='0.06'%3E%3Cuse href='%23o' transform='translate(16,12) rotate(20,54,54)'/%3E%3Cuse href='%23o' transform='translate(156,36) rotate(-40,54,54) translate(54,54) scale(.85) translate(-54,-54)'/%3E%3Cuse href='%23o' transform='translate(86,111) rotate(80,54,54) translate(54,54) scale(1.05) translate(-54,-54)'/%3E%3Cuse href='%23o' transform='translate(1,176) rotate(45,54,54) translate(54,54) scale(.9) translate(-54,-54)'/%3E%3Cuse href='%23o' transform='translate(181,161) rotate(-15,54,54)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 300px 300px;
  background-position: center;
}

/* white content card that floats on the warm gradient */
.pdp-panel {
  background: #fff;
  border: 1px solid var(--warm);
  border-radius: clamp(20px, 3vw, 30px);
  box-shadow: 0 24px 64px rgba(72, 40, 30, .10);
  padding: clamp(1.5rem, 3.5vw, 3rem);
}
.pdp-panel .pdp { margin-top: 1.4rem; }
.pdp-panel .pdp__media { box-shadow: none; }

/* top-left "back to products" button on the product page */
.pdp__back {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-bottom: .85rem; font-weight: 700; font-size: .9rem;
  color: var(--red); text-decoration: none;
  transition: color .18s var(--ease);
}
.pdp__back svg { width: 17px; height: 17px; transform: rotate(180deg); transition: transform .18s var(--ease); }
.pdp__back:hover { color: var(--red-deep); }
.pdp__back:hover svg { transform: rotate(180deg) translateX(2px); }

.crumb { font-size: .9rem; color: var(--body); }
.crumb a { color: var(--body); text-decoration: none; }
.crumb a:hover { color: var(--red); }
.crumb span { color: var(--ink); font-weight: 600; }

.pdp {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.pdp__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--warm);
  box-shadow: var(--sh);
  background: var(--bg-soft);
}
.pdp__media img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 5; object-fit: cover; }

/* product image gallery (turf and any multi-photo product) */
.pdp__gallery { border: 0; box-shadow: none; background: none; border-radius: 0; overflow: visible;
  display: flex; flex-direction: column; gap: .55rem; }
.pdp__gallery .pdp__stage {
  border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--warm);
  box-shadow: var(--sh); background: var(--bg-soft); aspect-ratio: 4 / 3;
}
.pdp__gallery .pdp__stage img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; display: block; }
.pdp__thumbs { display: flex; flex-wrap: wrap; gap: .5rem; }
.pdp__thumb {
  flex: 0 0 auto; width: 58px; height: 58px; padding: 0; cursor: pointer;
  border: 2px solid transparent; border-radius: var(--r-md); overflow: hidden; background: none;
  transition: border-color .18s var(--ease);
}
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp__thumb:hover { border-color: var(--warm); }
.pdp__thumb.is-active { border-color: var(--red); }
.pdp__badge {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(137, 9, 9, .92); color: #fff;
  font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .5rem .9rem; border-radius: var(--r-pill); backdrop-filter: blur(4px);
}
.pdp__eyebrow { font-family: var(--ff-script); font-weight: 700; color: var(--red); font-size: 1.1rem; }
.pdp__cat {
  display: inline-block;
  background: var(--red-deep); color: #fff;
  font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .45rem .9rem; border-radius: var(--r-pill); margin-bottom: 1rem;
}
.pdp__title { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -.02em; margin: .3rem 0 .9rem; }
.pdp__lead { font-size: 1.1rem; color: var(--ink); line-height: 1.65; }
.pdp__desc { margin-top: .85rem; font-size: .98rem; color: var(--body); line-height: 1.7; }

.pdp__specs { margin: 1.6rem 0; border-top: 1px solid var(--warm); }
.pdp__specs > div {
  display: grid; grid-template-columns: 160px 1fr; gap: .5rem 1rem; align-items: baseline;
  padding: .85rem 0; border-bottom: 1px solid var(--warm);
}
.pdp__specs dt { color: var(--body); font-size: .95rem; margin: 0; }
.pdp__specs dd { margin: 0; font-weight: 700; color: var(--ink); text-align: left; }

.pdp__sizes { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-start; }
.pdp__sizes span {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: .35rem .8rem; font-size: .85rem; font-weight: 600; color: var(--ink);
}
.pdp__note { font-size: .9rem; color: var(--body); margin: 1rem 0 1.5rem; }
.pdp__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.pdp__cta .btn--ghost {
  background: transparent; color: var(--red-deep);
  border: 1.5px solid var(--red); box-shadow: none;
}
.pdp__cta .btn--ghost:hover { background: var(--red); color: #fff; }
.pdp__price { color: var(--red-deep); font-weight: 800; font-size: 1.05rem; }
.pdp__calc-open {
  display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap;
  margin-top: .55rem; padding: 0; background: none; border: 0; cursor: pointer;
  font: inherit; font-size: .85rem; font-weight: 700; color: var(--red);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px;
}
.pdp__calc-open:hover { color: var(--red-deep); }
.pdp__calc-open svg { width: 16px; height: 16px; flex: none; }
.pdp__calc-open span { text-decoration: underline; text-underline-offset: 3px; }

/* how-much-do-you-need modal */
.calcmodal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1.2rem; }
.calcmodal__backdrop { position: absolute; inset: 0; background: rgba(30, 20, 16, .55); }
.calcmodal__panel {
  position: relative; z-index: 1; width: 100%; max-width: 440px;
  background: #fff; border-radius: var(--r-xl); padding: clamp(1.5rem, 4vw, 2.2rem);
  box-shadow: var(--sh-lg); max-height: 90vh; overflow: auto;
}
.calcmodal__x { position: absolute; top: .7rem; right: .95rem; background: none; border: 0; font-size: 1.7rem; line-height: 1; color: var(--body); cursor: pointer; }
.calcmodal__x:hover { color: var(--ink); }
.calcmodal h3 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.01em; }
.calcmodal__sub { color: var(--red); font-weight: 700; font-size: .9rem; margin-top: .25rem; }
.calcmodal__fields { display: grid; gap: .9rem; margin: 1.3rem 0; }
.calcmodal__fields label { display: grid; gap: .35rem; font-size: .82rem; font-weight: 600; color: var(--body); }
.calcmodal__fields select, .calcmodal__fields input {
  font-family: inherit; font-size: 16px; font-weight: 500; color: var(--ink); padding: .7rem .8rem;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-soft);
  width: 100%; box-sizing: border-box;
}
.calcmodal__fields input[type=number]::-webkit-outer-spin-button,
.calcmodal__fields input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calcmodal__fields input[type=number] { -moz-appearance: textfield; }
.calcmodal__out { background: linear-gradient(135deg, var(--red-deep) 0%, var(--red) 100%); color: #fff; border-radius: var(--r-lg); padding: 1.2rem 1.3rem; margin-bottom: 1rem; }
.calcmodal__out > p { margin: 0; }
.calcmodal__lead { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.calcmodal__big { display: flex; align-items: baseline; gap: .5rem; margin: .3rem 0 !important; }
.calcmodal__big b { font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.calcmodal__big span { font-size: 1rem; font-weight: 700; color: rgba(255,255,255,.85); }
.calcmodal__alt { font-size: .95rem; color: rgba(255,255,255,.9); }
.calcmodal__alt b { font-weight: 800; color: #fff; }
.calcmodal__cost { margin-top: .7rem !important; padding-top: .7rem; border-top: 1px solid rgba(255,255,255,.22); font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.92); }
.calcmodal__costs { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: .9rem; padding-top: .95rem; border-top: 1px solid rgba(255,255,255,.22); }
.calcmodal__costs > div { text-align: center; }
.calcmodal__costs b { display: block; font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.calcmodal__costs span { display: block; margin-top: .2rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: rgba(255,255,255,.78); }
.calcmodal__note { font-size: .8rem; line-height: 1.5; color: var(--body); margin-bottom: 1.1rem; }
.calcmodal .btn { width: 100%; justify-content: center; }
@media (max-width: 560px) {
  .calcmodal { padding: .7rem; }
  .calcmodal__panel { padding: 1.35rem 1.15rem; border-radius: 22px; }
  .calcmodal h3 { font-size: 1.2rem; }
  .calcmodal__sub { font-size: .85rem; }
  .calcmodal__fields { margin: 1.05rem 0; gap: .75rem; }
  .calcmodal__out { padding: 1rem 1.05rem; }
  .calcmodal__big b { font-size: 2.1rem; }
  .calcmodal__costs b { font-size: 1.25rem; }
  .calcmodal__costs span { font-size: .65rem; }
}

@media (max-width: 820px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp__specs dd, .pdp__sizes { text-align: left; justify-content: flex-start; }
  .pdp__specs > div { grid-template-columns: 94px minmax(0, 1fr); }  /* narrower label -> room for the calc link */
  .pdp__calc-open { font-size: .8rem; }
  .pdp-panel { margin-top: 10px; }            /* breathing room below the header */
  .pdp__media img { aspect-ratio: 1 / 1; }    /* 20% shorter on mobile */
}

/* ============================================================
   SHOP ARCHIVE (category tabs + filter sidebar + product grid)
   ============================================================ */
.shopsec { background: var(--bg-warm); }

/* keyword search bar (above the category pills) */
.shopsearch { position: relative; max-width: 620px; margin: 0 auto clamp(1rem, 2vw, 1.35rem); }
.shopsearch__ico {
  position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%);
  width: 19px; height: 19px; color: var(--body); pointer-events: none;
}
.shopsearch__input {
  width: 100%; padding: .95rem 2.7rem .95rem 3rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill);
  box-shadow: var(--sh-sm); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.shopsearch__input::placeholder { color: var(--body); }
.shopsearch__input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-tint); }
.shopsearch__input::-webkit-search-cancel-button { display: none; }
.shopsearch__clear {
  position: absolute; right: .65rem; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--bg-soft); color: var(--body);
  font-size: 1.35rem; line-height: 1; cursor: pointer; transition: background .18s var(--ease), color .18s var(--ease);
}
.shopsearch__clear:hover { background: var(--red); color: #fff; }

/* category pill tabs */
.shoptabs {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-top: clamp(1rem, 2.4vw, 1.8rem);
  padding-bottom: clamp(1.1rem, 2.4vw, 1.7rem);
  border-bottom: 1px solid var(--line);
}
.shoptab {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .95rem; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font: inherit; font-weight: 700; font-size: .875rem; line-height: 1; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.shoptab span { font-size: .72rem; font-weight: 700; opacity: .55; }
.shoptab:hover { border-color: var(--red); color: var(--red); }
.shoptab.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.shoptab.is-active span { opacity: .8; }

/* sidebar + grid layout */
.shoplayout {
  display: grid; grid-template-columns: 226px minmax(0, 1fr);
  gap: clamp(1.4rem, 3vw, 2.6rem);
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
  align-items: start;
}
.filtertoggle {
  display: none; align-items: center; gap: .5rem;
  padding: .6rem 1.1rem; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer;
}

/* filter sidebar — white card to match the product cards on the greige ground */
.shopfilters {
  position: sticky; top: 96px; display: flex; flex-direction: column; gap: 1.4rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--sh-sm); padding: 1.4rem 1.4rem 1.5rem;
}
.fgroup { display: flex; flex-direction: column; gap: .55rem; }
.fgroup h3 {
  font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink); margin: 0 0 .2rem;
}
.fgroup h3 small { font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--body); font-size: .78rem; }
.fopt { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--body); cursor: pointer; user-select: none; }
.fopt input { width: 17px; height: 17px; accent-color: var(--red); cursor: pointer; flex: none; }
.fopt:hover { color: var(--ink); }
.fopt .sw { width: 15px; height: 15px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); background: var(--c); flex: none; }
.fclear {
  align-self: flex-start; margin-top: .1rem; background: none; border: none; padding: 0;
  color: var(--red); font: inherit; font-weight: 700; font-size: .85rem; text-decoration: underline; cursor: pointer;
}
.fclear:hover { color: var(--red-deep); }

.shopgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 1.6vw, 1.4rem); }
.shopcard {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--warm); border-radius: var(--r-xl);
  overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: var(--sh-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.shopcard:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.shopcard__media { display: block; position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-soft); }
.shopcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s var(--ease); }
.shopcard:hover .shopcard__media img { transform: scale(1.04); }
.shopcard__cat {
  position: absolute; top: .7rem; left: .7rem;
  background: rgba(137, 9, 9, .92); color: #fff;
  font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .32rem .62rem; border-radius: var(--r-pill); backdrop-filter: blur(3px);
}
.shopcard__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.shopcard__name { font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.shopcard__name a { color: var(--ink); text-decoration: none; transition: color .18s var(--ease); }
.shopcard__name a:hover { color: var(--red); }
.shopcard__price { font-size: .9rem; font-weight: 700; color: var(--red-deep); }
.shopcard__price--call { color: var(--body); font-weight: 600; }
.shopcard__more {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .9rem; border-radius: var(--r-pill);
  border: 1.5px solid var(--red); background: #fff; color: var(--red);
  font-weight: 700; font-size: .82rem; text-decoration: none;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.shopcard__more svg { width: 15px; height: 15px; }
.shopcard__more:hover { background: var(--red); color: #fff; }
.shopcard:hover .shopcard__more { border-color: var(--red); }

.shopempty { grid-column: 1 / -1; text-align: center; padding: 3rem 1rem; color: var(--body); font-size: 1rem; }
.shopempty button { background: none; border: none; color: var(--red); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }

/* pagination (client-side buttons) */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem; margin-top: clamp(2rem, 4vw, 3.2rem); }
.pager:empty { display: none; }
.pager button {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 .85rem; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.pager button:hover:not(:disabled) { border-color: var(--red); color: var(--red); }
.pager .is-cur { background: var(--red); border-color: var(--red); color: #fff; }
.pager button:disabled { opacity: .4; cursor: default; }

@media (max-width: 1080px) { .shopgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .shoptabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .shoptabs::-webkit-scrollbar { display: none; }
  .shoptab { flex: none; }
  .shoplayout { grid-template-columns: 1fr; gap: 1rem; }
  .filtertoggle { display: inline-flex; }
  .filtertoggle[aria-expanded="true"] { border-color: var(--red); color: var(--red); }
  .shopfilters { position: static; display: none; }
  .shopfilters.is-open { display: flex; }
  .shopgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 359px) { .shopgrid { grid-template-columns: 1fr; } }


/* ---------------------------------------------------------------- catalog landing
   The catalog opens on one card per category rather than 80 mixed products.
   Picking a category (card, pill, filter or search) swaps in the product grid. */
.catgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.5rem); }
.catcard { display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-sm);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.catcard:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); }
.catcard__ph { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-warm); }
.catcard__ph img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .55s var(--ease); }
.catcard:hover .catcard__ph img { transform: scale(1.06); }
.catcard__ph--none { background:
  repeating-linear-gradient(135deg, var(--bg-warm) 0 14px, var(--bg-soft) 14px 28px); }
.catcard__txt { display: block; padding: clamp(.9rem, 1.6vw, 1.15rem); }
.catcard__txt b { display: block; font-family: var(--ff-script); font-weight: 600;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--ink); letter-spacing: -.01em; }
.catcard:hover .catcard__txt b { color: var(--red); }
.catcard__txt em { display: block; font-style: normal; margin-top: .2rem;
  font-size: .85rem; line-height: 1.45; color: var(--body); }
.catcard__txt i { display: inline-block; margin-top: .6rem; font-style: normal;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  color: var(--red); }
.catgrid__all { margin-top: clamp(1.3rem, 2.6vw, 2rem); text-align: center; }
.catgrid__all a { display: inline-flex; align-items: center; gap: .45rem;
  font-size: .92rem; font-weight: 700; color: var(--red); }
.catgrid__all a:hover { color: var(--red-deep); }
.catgrid__all svg { width: 16px; height: 16px; }

@media (max-width: 1080px) { .catgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .catgrid { grid-template-columns: 1fr; } }