/* =========================================================
   METAPACK — square can programme
   1. tokens & base  2. header  3. hero  4. home sections
   5. catalogue  6. product detail  7. footer  8. responsive
   ========================================================= */

/* ---------- 1. tokens & base ---------- */
:root {
  --ink: #0e1013;
  --ink-2: #23272c;
  --muted: #6b7075;
  --muted-2: #9a9ea3;
  --line: #e2dfd6;
  --line-2: #edeae2;
  --paper: #ffffff;
  --bone: #f7f5ef;
  --bone-2: #f1eee6;
  --accent: #e2603c;
  --navy: #0b3c58;
  --mono: "SFMono-Regular", ui-monospace, "Roboto Mono", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Inter", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4, h5, p, dl, dd, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: #f6c9b8; }

.wrap { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.section { padding: 96px 0; }
.section--tight { padding: 68px 0; }
.section--bone { background: var(--bone); }
.mono { font-family: var(--mono); font-size: .92em; letter-spacing: -.02em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .5; }
.display {
  font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.02;
  letter-spacing: -.045em; font-weight: 650;
}
.h1 { font-size: clamp(2.1rem, 3.6vw, 3.1rem); line-height: 1.04; letter-spacing: -.04em; font-weight: 650; }
.h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.06; letter-spacing: -.038em; font-weight: 650; }
.lede { font-size: 15px; line-height: 1.68; color: var(--muted); max-width: 62ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; letter-spacing: -.005em; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #f1eee7; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #cf5231; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--icon { flex: 0 0 46px; padding: 0; }
.btn.is-saved { background: #eef5ec; border-color: #cfe3c8; color: #2b6b33; }
.btn svg { width: 15px; height: 15px; }

/* ---------- 2. header ---------- */
.top-strip { height: 4px; display: flex; }
.top-strip i { flex: 1; }
.top-strip i:nth-child(1) { background: #b4562f; }
.top-strip i:nth-child(2) { background: #1f6f8b; }
.top-strip i:nth-child(3) { background: #4c6b36; }
.top-strip i:nth-child(4) { background: #8a6a16; }
.top-strip i:nth-child(5) { background: #7b3f63; }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: var(--navy); color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner {
  display: flex; align-items: center; gap: 34px;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-logo { height: 22px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 9px 13px; border-radius: 8px;
  font-size: 13.5px; font-weight: 550; color: rgba(255, 255, 255, .78);
  transition: color .18s, background .18s;
}
.nav a:hover, .nav a.is-active { color: #fff; background: rgba(255, 255, 255, .1); }
.nav a.has-menu::after {
  content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 7px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg); opacity: .7;
}
.header-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.saved-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px;
  background: transparent; color: #fff; font-size: 12.5px; cursor: pointer;
  transition: background .18s, border-color .18s;
}
.saved-btn:hover { background: rgba(255, 255, 255, .12); }
.saved-btn svg { width: 14px; height: 14px; }
.count {
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  display: inline-grid; place-items: center; background: rgba(255, 255, 255, .18);
  font-size: 11px; font-variant-numeric: tabular-nums;
}
.header-cta { height: 40px; padding: 0 20px; font-size: 13px; background: #fff; color: var(--ink); }
.header-cta:hover { background: #eae7df; }
.burger { display: none; }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 120; pointer-events: none;
}
.drawer-backdrop { position: absolute; inset: 0; background: rgba(6, 7, 9, .5); opacity: 0; transition: opacity .25s; }
.drawer-panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 92vw);
  background: #fff; transform: translateX(100%); transition: transform .3s var(--ease);
  display: flex; flex-direction: column;
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--line);
}
.drawer-head h3 { font-size: 15px; font-weight: 650; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 22px 24px; }
.drawer-close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; }
.drawer-close svg { width: 14px; height: 14px; }
.saved-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-2); align-items: center; }
.saved-item img { width: 54px; height: 54px; object-fit: contain; background: #fff; }
.saved-item .t { flex: 1; min-width: 0; }
.saved-item strong { display: block; font-size: 13px; }
.saved-item span { font-size: 11.5px; color: var(--muted); }
.saved-item button { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 11.5px; text-decoration: underline; }
.drawer-empty { padding: 40px 0; color: var(--muted); font-size: 13px; }
.drawer-actions { display: flex; gap: 8px; padding: 18px 22px; border-top: 1px solid var(--line); }
.drawer-actions .btn { flex: 1; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px;
  font-size: 12.5px; opacity: 0; pointer-events: none; transition: opacity .22s, transform .22s;
  z-index: 200;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 3. hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, #181a1f 0%, #0b0c0f 62%, #060709 100%);
}
.hero-slides { position: relative; height: min(86vh, 800px); min-height: 600px; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .8s var(--ease), visibility .8s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(7, 8, 10, .96) 0%, rgba(7, 8, 10, .9) 28%, rgba(7, 8, 10, .55) 44%, rgba(7, 8, 10, 0) 60%);
}
.hero-figure {
  position: absolute; right: 5.2vw; bottom: 13%; height: 66%; width: auto; max-width: 56%;
  object-fit: contain; z-index: 2;
  filter: drop-shadow(0 34px 60px rgba(0, 0, 0, .55));
}
.hero-inner {
  position: relative; z-index: 3; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 620px;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: #f0a184; font-weight: 600;
}
.hero-kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.hero h1 { margin: 18px 0 20px; }
.hero .lede { color: rgba(255, 255, 255, .68); max-width: 46ch; }
.hero-actions { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.hero-controls {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
}
.hero-controls-inner {
  display: flex; align-items: center; gap: 20px; height: 66px;
}
.hero-dots { display: flex; align-items: center; gap: 9px; }
.hero-dot {
  width: 26px; height: 2px; border: 0; padding: 0; background: rgba(255, 255, 255, .28);
  cursor: pointer; transition: background .2s, width .2s;
}
.hero-dot.is-active { background: var(--accent); width: 40px; }
.hero-nav { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hero-count { font-size: 11.5px; letter-spacing: .14em; color: rgba(255, 255, 255, .55); font-variant-numeric: tabular-nums; }
.hero-count b { color: #fff; font-weight: 600; }
.hero-arrow {
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .04); color: #fff;
  display: grid; place-items: center; transition: background .18s, border-color .18s;
}
.hero-arrow:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); }
.hero-arrow svg { width: 15px; height: 15px; }

/* value strip */
.value-strip { background: var(--bone); border-bottom: 1px solid var(--line); }
.value-inner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.value-item { padding: 22px 24px; border-right: 1px solid var(--line); }
.value-item:last-child { border-right: 0; }
.value-item b { display: block; font-size: 12.5px; font-weight: 650; letter-spacing: -.01em; }
.value-item span { display: block; margin-top: 3px; font-size: 11.5px; color: var(--muted); line-height: 1.45; }

/* ---------- 4. home sections ---------- */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 40px;
}
.section-head .lede { max-width: 46ch; }

.family-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.family-card {
  display: flex; flex-direction: column; text-align: left; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: 3px; overflow: hidden;
  padding: 0; transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.family-card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(14, 16, 19, .12); border-color: #cfcabc; }
.family-media { aspect-ratio: 16 / 9; background: #fff; overflow: hidden; }
.family-media img { width: 100%; height: 100%; object-fit: cover; }
.family-body { padding: 16px 18px 18px; border-top: 1px solid var(--line-2); }
.family-body strong { display: block; font-size: 13.5px; font-weight: 650; line-height: 1.28; letter-spacing: -.015em; }
.family-body span { display: block; margin-top: 5px; font-size: 11.5px; color: var(--muted); }
.family-bar { height: 3px; }

/* film band */
.film-band { background: linear-gradient(180deg, #12141a 0%, #08090b 100%); padding: 92px 0 96px; color: #fff; }
.film-head { margin-bottom: 34px; }
.film-player { position: relative; border-radius: 4px; overflow: hidden; background: #000; }
.film-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; object-fit: cover; }
.film-badge {
  position: absolute; left: 16px; top: 16px; padding: 7px 12px; border-radius: 999px;
  background: rgba(8, 9, 11, .62); backdrop-filter: blur(6px);
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255, 255, 255, .86); pointer-events: none;
}

/* company */
.company-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; }
.company-actions { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.info-card { border: 1px solid var(--line); border-radius: 4px; background: #fff; padding: 6px 26px 8px; }
.info-row {
  display: grid; grid-template-columns: 142px 1fr; gap: 18px; align-items: center;
  padding: 15px 0; border-bottom: 1px solid rgba(14, 16, 19, .07);
}
.info-row:last-child { border-bottom: 0; }
.info-row dt { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.info-row dd { font-size: 14.5px; }
.ph {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px;
  border: 1px dashed rgba(14, 16, 19, .26); border-radius: 3px;
  font-size: 11.5px; letter-spacing: .04em; color: var(--muted);
  background: repeating-linear-gradient(135deg, rgba(14, 16, 19, .035) 0 1px, transparent 1px 7px);
}

/* find us */
.findus-band { background: #e6e6e4; padding: 76px 0 84px; border-top: 1px solid rgba(14, 16, 19, .08); }
.findus-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 30px; }
.findus-note { max-width: 46ch; font-size: 13px; line-height: 1.6; color: #55564f; }
.findus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fu-card {
  background: #fff; border: 1px solid rgba(14, 16, 19, .09); border-radius: 3px;
  display: flex; flex-direction: column; overflow: hidden;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.fu-card:hover { box-shadow: 0 18px 40px rgba(14, 16, 19, .1); transform: translateY(-2px); }
.fu-map { position: relative; height: 176px; background: #f2f1ee; overflow: hidden; }
.map-road { position: absolute; background: #fcf8ec; border: 1px solid #ece4cd; }
.map-road.a { left: -12%; top: 44%; width: 128%; height: 12px; transform: rotate(-6deg); }
.map-road.b { left: 38%; top: -12%; width: 10px; height: 130%; transform: rotate(9deg); }
.map-block { position: absolute; background: #e8eee2; border: 1px solid #dbe5d3; border-radius: 2px; }
.map-block.c { left: 8%; top: 12%; width: 74px; height: 46px; transform: rotate(-6deg); }
.map-block.d { right: 12%; bottom: 14%; width: 58px; height: 34px; transform: rotate(-6deg); }
.map-pin {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -58%);
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: #e2603c; box-shadow: 0 10px 22px rgba(0, 0, 0, .22);
}
.map-pin svg { width: 21px; height: 21px; }
.fu-film {
  display: grid; place-items: center; width: 100%; height: 176px;
  border: 0; cursor: pointer; background: #171a1f; padding: 0; transition: background .2s var(--ease);
}
.fu-film:hover { background: #20242b; }
.fu-play {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .94); color: #171a1f; transition: transform .2s var(--ease);
}
.fu-film:hover .fu-play { transform: scale(1.06); }
.fu-play svg { width: 22px; height: 22px; margin-left: 3px; }
.fu-brochure { height: 176px; display: grid; place-items: center; background: #f4f3ef; position: relative; overflow: hidden; }
.bro-cover {
  width: 92px; height: 124px; padding: 12px 10px; border-radius: 2px;
  background: linear-gradient(155deg, #1d2128 0%, #333941 100%);
  color: #fff; box-shadow: 0 14px 26px rgba(0, 0, 0, .2);
  display: flex; flex-direction: column; position: relative; z-index: 2;
}
.bro-brand { font-size: 8.5px; letter-spacing: .12em; font-weight: 700; }
.bro-line { margin-top: 6px; font-size: 10px; line-height: 1.3; color: rgba(255, 255, 255, .8); }
.bro-pages { margin-top: auto; font-size: 8px; letter-spacing: .1em; color: rgba(255, 255, 255, .55); }
.bro-angle {
  position: absolute; right: 22%; top: 16%; width: 92px; height: 124px; border-radius: 2px;
  border: 1px solid rgba(14, 16, 19, .12); transform: rotate(8deg) translateX(22px);
  background: rgba(255, 255, 255, .55);
}
.fu-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.fu-body h4 { font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.ph-line { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.fu-help { margin-top: 6px; font-size: 11.5px; line-height: 1.55; color: #8d8b84; }
.fu-help code { font-family: var(--mono); font-size: 11px; background: rgba(14, 16, 19, .06); padding: 1px 5px; border-radius: 2px; }
.fu-link {
  margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 600; color: var(--ink); text-decoration: underline;
  text-underline-offset: 4px; background: none; border: 0; cursor: pointer; align-self: flex-start;
}
.fu-link::after { content: "\2192"; font-size: 13px; }
.fu-link.is-off { color: #a29f96; cursor: not-allowed; text-decoration-color: rgba(0, 0, 0, .15); }

/* film lightbox */
.film-modal {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px;
  background: rgba(6, 7, 9, .86); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s;
}
.film-modal.is-open { opacity: 1; visibility: visible; }
.film-modal-panel { position: relative; width: min(880px, 100%); border-radius: 4px; background: #0f1115; border: 1px solid rgba(255, 255, 255, .1); outline: none; }
.film-modal-close {
  position: absolute; right: 12px; top: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .24); background: rgba(0, 0, 0, .4); color: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.film-modal-close:hover { background: rgba(255, 255, 255, .14); }
.film-modal-close svg { width: 15px; height: 15px; }
.film-slot {
  aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; color: rgba(255, 255, 255, .72); padding: 30px;
}
.film-slot-play {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); color: #fff; margin-bottom: 10px;
}
.film-slot-play svg { width: 24px; height: 24px; margin-left: 3px; }
.film-slot b { font-size: 15px; color: #fff; font-weight: 620; }
.film-slot p { font-size: 12.5px; max-width: 44ch; line-height: 1.6; }
.film-slot code { font-family: var(--mono); font-size: 11.5px; background: rgba(255, 255, 255, .1); padding: 1px 5px; border-radius: 2px; }

/* cta */
.cta-band { background: var(--navy); color: #fff; padding: 78px 0; }
.cta-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.cta-inner .lede { color: rgba(255, 255, 255, .66); }
.cta-actions { display: flex; gap: 10px; flex: none; }

/* ---------- 5. catalogue ---------- */
.page-hero { background: var(--bone); border-bottom: 1px solid var(--line); padding: 44px 0 52px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.crumbs a:hover { color: var(--ink); }
.crumbs span { opacity: .5; }
.page-hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-top: 22px; }
.page-stats { display: flex; gap: 34px; flex: none; }
.page-stats b { display: block; font-size: 28px; font-weight: 650; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.page-stats span { display: block; margin-top: 7px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.group-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding: 28px 0 4px; }
.group-tile {
  display: flex; flex-direction: column; text-align: left; cursor: pointer; padding: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 3px; overflow: hidden;
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
  border-top: 3px solid var(--g, var(--ink));
}
.group-tile:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(14, 16, 19, .1); }
.group-tile.is-active { border-color: var(--g, var(--ink)); box-shadow: 0 0 0 1px var(--g, var(--ink)) inset; }
.tile-media { display: block; aspect-ratio: 16 / 9; background: #fff; overflow: hidden; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; }
.tile-body { display: block; padding: 12px 14px 14px; border-top: 1px solid var(--line-2); }
.tile-body strong { display: block; font-size: 12.5px; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; }
.tile-body span { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); }

.catalog { padding-top: 34px; padding-bottom: 96px; }
.group-head {
  display: grid; grid-template-columns: 104px 1fr auto; gap: 26px; align-items: end;
  padding: 26px 30px; margin-bottom: 26px;
  border: 1px solid rgba(14, 16, 19, .08); border-left: 4px solid var(--g, var(--ink));
  border-radius: 4px; background-color: var(--gt, var(--bone));
  background-image: repeating-linear-gradient(135deg, rgba(14, 16, 19, .028) 0 1px, transparent 1px 10px);
}
.group-index { font-size: 12px; letter-spacing: .18em; color: var(--g, var(--accent)); font-variant-numeric: tabular-nums; padding-bottom: 7px; }
.group-head h1 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.02; letter-spacing: -.042em; font-weight: 650; }
.group-head .intro { max-width: 70ch; color: var(--muted); font-size: 13.5px; line-height: 1.62; margin-top: 12px; }
.group-count { text-align: right; padding-bottom: 6px; flex: none; }
.group-count b { display: block; font-size: 30px; font-weight: 650; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.group-count span { font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }

.toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; row-gap: 12px; }
.filters { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.f-row { display: flex; align-items: flex-start; gap: 14px; }
.f-label { flex: none; width: 66px; padding-top: 7px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.f-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.f-chip {
  height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink); font-size: 12px; line-height: 1; cursor: pointer;
  transition: border-color .18s, background .18s, color .18s;
}
.f-chip:hover { border-color: #b9b2a3; }
.f-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.f-tag {
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px;
  border: 1px dashed var(--line); border-radius: 999px; font-size: 12px; color: var(--muted);
}
.filter-reset {
  align-self: flex-start; height: 26px; padding: 0 2px; border: 0; background: none;
  font-size: 11.5px; color: var(--muted); text-decoration: underline; cursor: pointer;
}
.filter-reset:hover { color: var(--ink); }
.toolbar .note { font-size: 12px; color: var(--muted); line-height: 30px; }
.toolbar .note b { color: var(--ink); font-weight: 600; }
.search { position: relative; width: 290px; max-width: 100%; }
.search input {
  width: 100%; height: 42px; padding: 0 36px 0 40px; border: 1px solid var(--line);
  border-radius: 999px; background: #fff; font-size: 12.5px; outline: none; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.search input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(14, 16, 19, .06); }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--muted-2); }
.search-clear {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--bone);
  display: none; place-items: center; cursor: pointer; color: var(--muted);
}
.search-clear.is-show { display: grid; }
.search-clear svg { position: static; transform: none; width: 12px; height: 12px; }

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.p-card {
  background: #fff; border: 1px solid var(--line); border-radius: 3px; overflow: hidden;
  display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.p-card:hover { border-color: var(--g, #cfcabc); box-shadow: 0 20px 40px rgba(14, 16, 19, .09); transform: translateY(-2px); }
.p-media { position: relative; aspect-ratio: 5 / 4; background: #fff; border-bottom: 1px solid var(--line-2); }
.p-media img { position: absolute; left: 18px; top: 14px; width: calc(100% - 36px); height: calc(100% - 28px); object-fit: contain; }
.p-badge {
  position: absolute; left: 14px; top: 12px; z-index: 2; padding: 4px 9px; border-radius: 4px;
  background: #fff; border: 1px solid var(--line); font-size: 11px; font-weight: 600;
  letter-spacing: .02em; font-variant-numeric: tabular-nums;
}
.p-code { position: absolute; right: 14px; bottom: 12px; z-index: 2; font-size: 10.5px; color: var(--muted-2); letter-spacing: -.01em; }
.p-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.p-kicker { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.p-title { font-size: 17px; font-weight: 650; letter-spacing: -.022em; line-height: 1.25; margin-top: 6px; }
.p-facts { margin-top: 14px; display: grid; gap: 0; }
.p-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--line-2); }
.p-facts dt { font-size: 12.5px; color: var(--muted); }
.p-facts dd { margin: 0; font-size: 13.5px; font-weight: 550; text-align: right; }
.p-colors { display: flex; align-items: center; gap: 6px; margin-top: 13px; flex-wrap: wrap; }
.p-colors .lbl { font-size: 11.5px; color: var(--muted); margin-left: 3px; }
.swatch { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(14, 16, 19, .18); display: inline-block; }
.p-actions { display: flex; gap: 8px; margin-top: 16px; }
.p-actions .btn { flex: 1; height: 40px; font-size: 12.5px; }
.empty-state { padding: 60px 0; text-align: center; color: var(--muted); }
.empty-state b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 6px; }

/* ---------- 6. product detail ---------- */
.modal { position: fixed; inset: 0; z-index: 150; display: none; }
.modal.is-open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6, 7, 9, .55); }
.modal-panel {
  position: absolute; inset: 0; background: #fff; display: flex; flex-direction: column; outline: none;
}
.m-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 64px; padding: 0 14px 0 26px; flex: none;
  border-bottom: 1px solid var(--line); background: #fff; position: relative;
}
.m-bar-left { display: flex; align-items: center; gap: 14px; }
.m-home {
  display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 16px 0 13px;
  border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 620; letter-spacing: -.01em;
  transition: background .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
  box-shadow: 0 6px 16px rgba(14, 16, 19, .16);
}
.m-home:hover { background: #000; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(14, 16, 19, .22); }
.m-home-ico { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); flex: none; }
.m-home-ico svg { width: 13px; height: 13px; }
.m-home-txt { white-space: nowrap; }
.m-sep { width: 1px; height: 18px; background: var(--line); }
.m-all { font-size: 13px; color: var(--muted); }
.m-all:hover { color: var(--ink); }
.m-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); height: 18px; width: auto; }
.m-close {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; color: var(--ink); cursor: pointer; transition: background .2s, color .2s;
}
.m-close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.m-close svg { width: 15px; height: 15px; }
.modal-scroll { flex: 1; overflow: auto; scroll-behavior: smooth; }

.m-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border-bottom: 1px solid var(--line); }
.m-media { background: #fff; border-right: 1px solid var(--line-2); padding: 34px; display: grid; place-items: center; }
.m-media img { width: 100%; max-width: 560px; height: auto; object-fit: contain; }
.m-info { padding: 42px 46px 36px; display: flex; flex-direction: column; }
.m-kicker { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.m-title { font-size: clamp(1.9rem, 2.7vw, 2.6rem); line-height: 1.06; letter-spacing: -.038em; margin: 12px 0 10px; font-weight: 650; }
.m-chips { display: flex; gap: 7px; flex-wrap: wrap; margin: 10px 0 22px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; font-size: 12.5px; color: var(--ink-2); background: #fff; }
.chip--accent { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.m-facts { display: grid; gap: 0; font-size: 15px; }
.m-facts > div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.m-facts dt, .m-facts dd { font-size: 15px; }
.m-facts dt { color: var(--muted); }
.m-facts dd { margin: 0; font-weight: 550; text-align: right; }
.m-actions { display: flex; gap: 9px; margin-top: 26px; }
.m-actions .btn { flex: 1; }
.m-actions .btn--icon { flex: 0 0 48px; padding: 0; }

.spec-section { padding: 46px 0 10px; border-bottom: 1px solid var(--line); }
.spec-inner { width: min(1180px, calc(100% - 96px)); margin: 0 auto 44px; }
.spec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.spec-head h3 { font-size: 21px; letter-spacing: .02em; font-weight: 680; }
.spec-head span { font-size: 13px; color: var(--muted-2); }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 44px; }
.spec-block { padding-bottom: 30px; }
.spec-block h4 { font-size: 16px; font-weight: 680; margin: 0 0 10px; letter-spacing: .01em; color: var(--accent); }
.spec-row { display: flex; justify-content: space-between; gap: 22px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.spec-row dt, .spec-row dd { font-size: 15px; }
.spec-row dt { color: var(--muted); }
.spec-row dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); font-weight: 550; }

.caps-section { padding: 46px 0 10px; border-bottom: 1px solid var(--line); background: #fff; }
.caps-inner { width: min(1180px, calc(100% - 96px)); margin: 0 auto 44px; }
.caps-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 22px; }
.caps-head h3 { font-size: 22px; font-weight: 680; letter-spacing: -.015em; }
.caps-head p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.caps-tools { display: flex; align-items: center; gap: 12px; }
.rail-nav { display: flex; gap: 7px; }
.rail-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; cursor: pointer; color: var(--ink);
}
.rail-btn:disabled { opacity: .35; cursor: default; }
.rail-btn svg { width: 14px; height: 14px; }
.rail-wrap { position: relative; }
.rail {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 10px; scrollbar-width: thin;
}
.cap-card {
  flex: 0 0 214px; scroll-snap-align: start; text-align: left; cursor: pointer; padding: 0 0 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 3px; overflow: hidden;
  display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s;
}
.cap-card:hover { border-color: #c9c3b4; }
.cap-card .media { display: block; height: 176px; background: #fff; border-bottom: 1px solid var(--line-2); overflow: hidden; }
.cap-card .media img { width: 100%; height: 100%; object-fit: contain; }
.cap-card h5 { margin: 0; padding: 14px 14px 0; font-size: 15px; font-weight: 620; }
.cap-card .pick {
  display: inline-flex; align-items: center; gap: 6px; margin: 14px 14px 0;
  font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2);
}
.cap-card .pick i { width: 11px; height: 11px; border: 1px solid var(--line); border-radius: 50%; display: inline-block; }
.cap-card.is-selected { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.cap-card.is-selected .pick { color: var(--ink); }
.cap-card.is-selected .pick i { background: var(--ink); border-color: var(--ink); }

.rel-section { padding: 46px 0 64px; }
.rel-inner { width: min(1180px, calc(100% - 96px)); margin: 0 auto; }
.rel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.rel-head h3 { font-size: 22px; font-weight: 680; letter-spacing: -.015em; }
.rel-head p { font-size: 13.5px; color: var(--muted); margin-top: 5px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.link-arrow::after { content: "\2192"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rel-card {
  background: #fff; border: 1px solid var(--line); border-radius: 3px; overflow: hidden;
  display: flex; flex-direction: column; padding: 0; text-align: left; cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.rel-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.rel-card .media { display: block; aspect-ratio: 5 / 4; background: #fff; border-bottom: 1px solid var(--line-2); overflow: hidden; padding: 10px; }
.rel-card .media img { width: 100%; height: 100%; object-fit: contain; }
.rel-card .body { display: block; padding: 12px 13px 14px; }
.rel-card strong { display: block; font-size: 14px; line-height: 1.3; font-weight: 620; }
.rel-card span { font-size: 12px; color: var(--muted); }

/* ---------- 7. footer ---------- */
.site-footer { background: #0d0f12; color: rgba(255, 255, 255, .74); padding: 66px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand .brand-logo { height: 20px; }
.footer-brand p { margin-top: 16px; font-size: 12.5px; line-height: 1.66; max-width: 34ch; color: rgba(255, 255, 255, .55); }
.footer-col h5 { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .45); font-weight: 600; margin-bottom: 14px; }
.footer-col a, .footer-col span { display: block; font-size: 12.5px; padding: 5px 0; color: rgba(255, 255, 255, .72); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; font-size: 11.5px; color: rgba(255, 255, 255, .42); }

/* framework page blocks */
.frame-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.frame-card {
  border: 1px dashed rgba(14, 16, 19, .22); border-radius: 4px; padding: 26px;
  background: repeating-linear-gradient(135deg, rgba(14, 16, 19, .02) 0 1px, transparent 1px 9px);
  min-height: 168px;
}
.frame-card h4 { font-size: 14px; font-weight: 650; letter-spacing: -.01em; }
.frame-card p { margin-top: 8px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.frame-card .tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px; margin-bottom: 14px;
  border-radius: 3px; background: #fff; border: 1px solid var(--line);
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2);
}

/* ---------- 8. responsive ---------- */
@media (max-width: 1180px) {
  .wrap { width: calc(100% - 64px); }
  .family-grid { grid-template-columns: repeat(3, 1fr); }
  .group-nav { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1.2fr 1fr 1fr; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .section { padding: 72px 0; }
  .header-inner { height: 66px; gap: 18px; }
  .nav { display: none; }
  .burger { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: transparent; color: #fff; }
  .company-split { grid-template-columns: 1fr; gap: 32px; }
  .findus-grid { grid-template-columns: repeat(2, 1fr); }
  .m-hero { grid-template-columns: 1fr; }
  .m-media { border-right: 0; border-bottom: 1px solid var(--line-2); padding: 24px; }
  .m-info { padding: 28px 26px 30px; }
  .spec-inner, .caps-inner, .rel-inner { width: calc(100% - 52px); }
  .rel-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero-row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 26px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .display { font-size: 2.3rem; }
  .hero-slides { height: 720px; }
  .hero-slide::before {
    background: linear-gradient(180deg, rgba(7,8,10,.97) 0%, rgba(7,8,10,.93) 46%, rgba(7,8,10,.55) 62%, rgba(7,8,10,0) 74%);
  }
  .hero-figure { right: auto; left: 50%; transform: translateX(-50%); bottom: 46px; height: 40%; max-width: 92%; }
  .hero-inner { justify-content: flex-start; padding-top: 44px; }
  .hero-controls-inner { height: 58px; gap: 12px; }
  .value-inner { grid-template-columns: 1fr 1fr; }
  .value-item:nth-child(2n) { border-right: 0; }
  .family-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .group-nav { grid-template-columns: 1fr 1fr; gap: 10px; }
  .prod-grid { grid-template-columns: 1fr; }
  .findus-grid { grid-template-columns: 1fr; }
  .findus-head, .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .film-band { padding: 62px 0 66px; }
  .findus-band { padding: 54px 0 60px; }
  .info-row { grid-template-columns: 1fr; gap: 7px; }
  .m-bar { height: 58px; padding: 0 10px 0 12px; }
  .m-home { height: 36px; padding: 0 13px 0 10px; font-size: 13px; }
  .m-home-ico { width: 21px; height: 21px; }
  .m-all { display: none; }
  .m-logo { position: static; transform: none; height: 16px; margin-left: auto; }
  .spec-head h3, .caps-head h3, .rel-head h3 { font-size: 19px; }
  .spec-block h4 { font-size: 15px; }
  .spec-row, .spec-row dt, .spec-row dd { font-size: 14.5px; }
  .spec-grid { grid-template-columns: 1fr; gap: 0; }
  .cap-card { flex-basis: 176px; }
  .rel-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .frame-grid { grid-template-columns: 1fr; }
  .toolbar .note { order: 3; width: 100%; }
  .search { width: 100%; }
}


/* ---------- v8 refinements ---------- */
.hero-inner { max-width: 600px; }
.display { font-size: clamp(2.2rem, 3.9vw, 3.5rem); }
.hero-figure { height: 62%; right: 4vw; max-width: 50%; }

/* framed, larger back-home */
.m-bar { height: 68px; }
.m-home {
  height: 46px; padding: 0 22px 0 16px; gap: 10px;
  font-size: 15.5px; font-weight: 660; border-width: 2px;
  box-shadow: 0 8px 20px rgba(14, 16, 19, .22);
}
.m-home-ico { width: 27px; height: 27px; }
.m-home-ico svg { width: 15px; height: 15px; }

/* sub-headings clearly above row text */
.spec-block h4 { font-size: 18px; letter-spacing: .015em; margin: 0 0 12px; }
.spec-row { padding: 12px 0; }
.spec-head h3 { font-size: 22px; }

/* keep the product shot inside a sane box */
.m-media { padding: 28px 34px; }
.m-media img { max-height: 56vh; width: auto; max-width: 100%; }

@media (max-width: 700px) {
  .saved-label { display: none; }
  .header-cta { display: none; }
  .header-right { gap: 10px; }
  .saved-btn { padding: 0 11px; }
  .m-bar { height: 62px; }
  .m-home { height: 40px; padding: 0 16px 0 12px; font-size: 14px; }
  .m-home-ico { width: 23px; height: 23px; }
  .m-media img { max-height: 42vh; }
}

/* final spacing pass */
.hero-inner { max-width: 560px; }
.display { font-size: clamp(2.2rem, 3.6vw, 3.3rem); }
.hero-count { white-space: nowrap; }
.spec-block h4 { font-size: 19px; }
@media (max-width: 700px) {
  .hero-count { font-size: 11px; }
  .hero-nav { gap: 8px; }
}

/* final hero gap */
.hero-figure { right: 2.4vw; }
.display { font-size: clamp(2.1rem, 3.4vw, 3.15rem); }


/* =========================================================
   v9 — family modules: full-bleed tint + prominent CTA
   ========================================================= */
.family-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.family-card {
  display: flex; flex-direction: column; gap: 18px; text-align: left;
  padding: 22px; border-radius: 4px; overflow: hidden;
  background: var(--tint, #f7f5ef);
  border: 1px solid rgba(14, 16, 19, .8);
  border-top: 3px solid var(--g, var(--ink));
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.family-card:hover { transform: translateY(-3px); box-shadow: 0 24px 46px rgba(14, 16, 19, .16); }
.family-card--wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 30px; padding: 26px 30px; }

.fam-plate {
  display: grid; place-items: center; flex: none;
  background: #fff; border-radius: 3px; padding: 12px;
  aspect-ratio: 4 / 3; box-shadow: 0 2px 0 rgba(255, 255, 255, .6) inset;
}
.fam-plate img { max-width: 100%; max-height: 100%; object-fit: contain; }
.family-card--wide .fam-plate { flex: 0 0 42%; }

.fam-body { display: flex; flex-direction: column; min-width: 0; }
.fam-count {
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(14, 16, 19, .48); font-weight: 600;
}
.fam-name {
  margin-top: 8px; font-size: 19px; line-height: 1.18; letter-spacing: -.025em;
  font-weight: 660; color: var(--ink);
}
.family-card--wide .fam-name { font-size: 30px; margin-top: 10px; }
.fam-intro {
  margin-top: 8px; font-size: 12.5px; line-height: 1.55; color: #55564f;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.family-card--wide .fam-intro { font-size: 13.5px; max-width: 46ch; -webkit-line-clamp: 4; }

.fam-cta {
  margin-top: 18px; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 9px;
  height: 42px; padding: 0 18px; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 620; letter-spacing: -.005em;
  box-shadow: 0 8px 18px rgba(14, 16, 19, .18);
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.fam-cta svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.family-card:hover .fam-cta { background: var(--g, #000); box-shadow: 0 12px 24px rgba(14, 16, 19, .24); }
.family-card:hover .fam-cta svg { transform: translateX(3px); }
.family-card--wide .fam-cta { height: 46px; padding: 0 22px; font-size: 14px; }

@media (max-width: 1180px) {
  .family-grid { grid-template-columns: repeat(2, 1fr); }
  .family-card--wide { grid-column: span 2; }
}
@media (max-width: 700px) {
  .family-grid { grid-template-columns: 1fr; gap: 14px; }
  .family-card, .family-card--wide { grid-column: auto; flex-direction: column; padding: 18px; gap: 14px; }
  .family-card--wide .fam-plate { flex: none; }
  .family-card--wide .fam-name { font-size: 21px; margin-top: 8px; }
  .family-card--wide .fam-intro { font-size: 12.5px; }
  .fam-cta, .family-card--wide .fam-cta { height: 42px; padding: 0 18px; font-size: 13px; }
}

/* fix: keep the product plate at 4:3 instead of letting the image blow it up */
.fam-plate { aspect-ratio: 4 / 3; height: auto; overflow: hidden; }
.fam-plate img { width: 100%; height: 100%; object-fit: contain; }
.family-card--wide .fam-plate { aspect-ratio: 4 / 3; }
.fam-body { flex: 1 1 auto; }

/* make the plate a true 4:3 box and pin the product inside it */
.family-card .fam-plate,
.family-card--wide .fam-plate {
  position: relative; display: block; height: 0; padding: 0 0 75%;
  aspect-ratio: auto; background: #fff; border-radius: 3px; overflow: hidden;
}
.family-card .fam-plate img,
.family-card--wide .fam-plate img {
  position: absolute; left: 12px; top: 12px;
  width: calc(100% - 24px); height: calc(100% - 24px);
  max-width: none; max-height: none; object-fit: contain;
}

/* final plate geometry: square plate, absolutely pinned product */
.family-card .fam-plate,
.family-card--wide .fam-plate {
  position: relative; display: block; height: auto; padding: 0;
  aspect-ratio: 1 / 1; background: #fff; border-radius: 3px; overflow: hidden;
}
.family-card .fam-plate img,
.family-card--wide .fam-plate img {
  position: absolute; left: 14px; top: 14px;
  width: calc(100% - 28px); height: calc(100% - 28px);
  max-width: none; max-height: none; object-fit: contain;
}
.family-card--wide { align-items: center; }
.family-card--wide .fam-plate { flex: 0 0 40%; width: 40%; }
@media (max-width: 700px) {
  .family-card--wide { align-items: stretch; }
  .family-card--wide .fam-plate { flex: none; width: 100%; }
}

/* portrait plate so the tall product fills more of the panel */
.family-card .fam-plate { aspect-ratio: 4 / 5; }
.family-card--wide .fam-plate { aspect-ratio: 1 / 1; }

/* wide card: plate stretches to the row height, no empty band */
.family-card--wide { align-items: stretch; }
.family-card--wide .fam-plate {
  flex: 0 0 38%; width: 38%; align-self: stretch;
  aspect-ratio: auto; min-height: 340px;
}
.family-card--wide .fam-body { justify-content: center; }
@media (max-width: 700px) {
  .family-card--wide .fam-plate { flex: none; width: 100%; aspect-ratio: 4 / 5; min-height: 0; }
  .family-card--wide .fam-body { justify-content: flex-start; }
}


/* wide card: meta rows fill the panel, CTA pinned to the bottom */
.family-card--wide .fam-body { justify-content: space-between; }
.fam-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; }
.fam-meta > span {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(14, 16, 19, .45);
}
.fam-meta b {
  display: block; margin-bottom: 3px;
  font-size: 15px; letter-spacing: -.01em; text-transform: none;
  color: var(--ink); font-weight: 650;
}
.family-card--wide .fam-cta { margin-top: 22px; }

/* wide card: plate keeps 4:5 and centres, tinted space instead of a tall white column */
.family-card--wide .fam-plate {
  flex: 0 0 42%; width: 42%; align-self: center;
  aspect-ratio: 4 / 5; min-height: 0;
}
.fam-meta { gap: 8px 22px; }
@media (max-width: 700px) {
  .family-card--wide .fam-plate { flex: none; width: 100%; aspect-ratio: 4 / 5; align-self: stretch; }
  .fam-meta { gap: 6px 16px; }
  .fam-meta b { font-size: 14px; }
}

/* wide card final: product spotlight panel, full height */
.family-card--wide .fam-plate {
  flex: 0 0 46%; width: 46%; align-self: stretch;
  aspect-ratio: auto; min-height: 0;
}
.family-card--wide .fam-body { justify-content: space-between; }
@media (max-width: 700px) {
  .family-card--wide .fam-plate { flex: none; width: 100%; aspect-ratio: 4 / 5; }
  .fam-meta { gap: 6px 12px; }
  .fam-meta > span { font-size: 10px; letter-spacing: .06em; }
  .fam-meta b { font-size: 13.5px; }
}

/* wide card: content packs to the top, CTA sits on the baseline */
.family-card--wide .fam-body { justify-content: flex-start; gap: 0; }
.family-card--wide .fam-cta { margin-top: auto; }
.family-card--wide .fam-intro { margin-top: 10px; }

/* wide card: even vertical rhythm, CTA on the baseline */
.family-card--wide .fam-body { justify-content: space-between; }
.family-card--wide .fam-cta { margin-top: 22px; }
.family-card--wide .fam-intro { margin-top: 8px; }


/* =========================================================
   v10 — wide family card: plate | copy | stats rail
   ========================================================= */
.family-card--wide {
  display: grid;
  grid-template-columns: minmax(230px, 33%) minmax(0, 1fr) 196px;
  gap: 32px;
  align-items: stretch;
}
.family-card--wide .fam-plate {
  flex: none; width: 100%; height: 100%;
  aspect-ratio: auto; align-self: stretch; min-height: 300px;
}
.family-card--wide .fam-body {
  justify-content: center; align-self: center; padding: 6px 0;
}
.family-card--wide .fam-cta { margin-top: 26px; }
.family-card--wide .fam-intro { margin-top: 10px; -webkit-line-clamp: 4; }

.fam-stats {
  display: flex; flex-direction: column; justify-content: center;
  border-left: 1px solid rgba(14, 16, 19, .12); padding-left: 26px;
  align-self: stretch;
}
.fs-row {
  display: flex; flex-direction: column; gap: 5px;
  padding: 14px 0; border-bottom: 1px solid rgba(14, 16, 19, .1);
}
.fs-row:last-child { border-bottom: 0; }
.fs-row i {
  font-style: normal; font-size: 10px; letter-spacing: .13em;
  text-transform: uppercase; color: rgba(14, 16, 19, .45);
}
.fs-row b {
  font-size: 18px; font-weight: 660; letter-spacing: -.025em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1100px) {
  .family-card--wide { grid-template-columns: minmax(210px, 34%) minmax(0, 1fr); }
  .fam-stats {
    grid-column: 1 / -1; flex-direction: row; gap: 0;
    border-left: 0; border-top: 1px solid rgba(14, 16, 19, .12);
    padding: 4px 0 0;
  }
  .fs-row { flex: 1; border-bottom: 0; border-right: 1px solid rgba(14, 16, 19, .1); padding: 12px 16px; }
  .fs-row:first-child { padding-left: 0; }
  .fs-row:last-child { border-right: 0; }
}
@media (max-width: 700px) {
  .family-card--wide { display: flex; flex-direction: column; gap: 14px; }
  .family-card--wide .fam-plate { aspect-ratio: 4 / 5; height: auto; min-height: 0; }
  .family-card--wide .fam-body { align-self: stretch; }
  .fam-stats { margin-top: 4px; }
  .fs-row b { font-size: 15px; }
}


/* =========================================================
   v11 — hero fills the frame; SKU cards carry a size ladder
   ========================================================= */

/* copy sits on the left edge of the grid and scales up */
.hero-inner { max-width: none; align-items: flex-start; }
.hero-inner .display { max-width: 620px; font-size: clamp(2.7rem, 4.5vw, 4.25rem); }
.hero-inner .lede { max-width: 450px; font-size: 16.5px; line-height: 1.62; color: rgba(255, 255, 255, .7); }
.hero-kicker { font-size: 11.5px; }
.hero-actions { margin-top: 34px; }
.hero-actions .btn { height: 50px; padding: 0 26px; font-size: 14.5px; }
.hero-slides { height: min(88vh, 830px); }

/* product render grows to fill the right half */
.hero-figure { height: 76%; bottom: 10%; right: 1.2vw; max-width: 54%; }
.hero-slide::before {
  background: linear-gradient(90deg,
    rgba(7, 8, 10, .97) 0%, rgba(7, 8, 10, .93) 30%,
    rgba(7, 8, 10, .62) 45%, rgba(7, 8, 10, 0) 58%);
}

/* size ladder inside the product card */
.p-media img {
  position: absolute; left: 50%; right: auto; top: auto; bottom: 16px;
  width: auto; height: calc((100% - 34px) * var(--s, 1));
  max-width: calc(100% - 40px);
  transform: translateX(-50%);
  object-fit: contain;
}

@media (max-width: 700px) {
  .hero-slides { height: 780px; }
  .hero-inner .display { font-size: clamp(2rem, 8.2vw, 2.45rem); max-width: none; }
  .hero-inner .lede { font-size: 15px; max-width: none; }
  .hero-actions { margin-top: 24px; }
  .hero-actions .btn { height: 44px; padding: 0 20px; font-size: 13.5px; }
  .hero-figure { height: 44%; bottom: 38px; }
  .p-media img { bottom: 12px; height: calc((100% - 26px) * var(--s, 1)); }
}


/* =========================================================
   v13 — floating shortcuts, louder All products, bigger hero
   ========================================================= */

/* hero: larger render, pulled in from the right edge */
.hero-inner .display { max-width: 580px; }
.hero-figure { height: 84%; right: 4vw; max-width: 52%; }

/* floating page shortcuts, products page only */
.side-float {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%);
  z-index: 80; display: flex; flex-direction: column; gap: 10px;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.side-float.is-hidden { opacity: 0; pointer-events: none; transform: translateY(-50%) translateX(12px); }
.sf-btn {
  display: inline-flex; align-items: center; gap: 9px;
  height: 42px; padding: 0 16px 0 12px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  color: var(--ink); font-size: 12.5px; font-weight: 600; letter-spacing: -.005em;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  box-shadow: 0 8px 22px rgba(14, 16, 19, .12);
  transition: background .18s, color .18s, border-color .18s, transform .18s var(--ease);
}
.sf-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateX(-2px); }
.sf-ico { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--bone); flex: none; }
.sf-btn:hover .sf-ico { background: rgba(255, 255, 255, .18); }
.sf-ico svg { width: 13px; height: 13px; }

/* All products reads as a button in the detail bar */
.m-all {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 16px;
  border: 1px solid var(--ink); border-radius: 999px;
  background: #fff; color: var(--ink);
  font-size: 13px; font-weight: 600; letter-spacing: -.005em;
  text-decoration: none; transition: background .18s, color .18s;
}
.m-all svg { width: 14px; height: 14px; }
.m-all:hover { background: var(--ink); color: #fff; }

@media (max-width: 980px) {
  .side-float { right: 14px; }
  .sf-btn span:last-child { display: none; }
  .sf-btn { padding: 0; width: 44px; height: 44px; justify-content: center; }
  .sf-ico { background: transparent; }
  .sf-ico svg { width: 16px; height: 16px; }
  .m-all { height: 34px; padding: 0 12px; font-size: 12px; }
  .m-all span { display: none; }
}
@media (max-width: 700px) {
  .hero-inner .display { max-width: none; }
  .hero-figure { height: 48%; right: auto; }
  .m-all { display: none; }
}


/* =========================================================
   v15 — live map, film poster, brochure link, video players
   ========================================================= */

.fu-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fu-addr { font-size: 12.6px; line-height: 1.62; color: var(--mute); margin-top: 8px; }
.fu-film { position: relative; display: block; width: 100%; height: 176px; padding: 0; border: 0; background: #0d1013; cursor: pointer; overflow: hidden; }
.fu-film img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .5s var(--ease), opacity .3s; }
.fu-film:hover img { transform: scale(1.04); opacity: 1; }
.fu-film .fu-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
a.fu-brochure { display: block; height: 176px; }
.info-card a { color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(14, 16, 19, .28); }
.info-card a:hover { border-bottom-color: var(--ink); }

.film-slot { width: 100%; background: #000; }
.film-player { display: block; width: 100%; max-height: min(78vh, 720px); background: #000; }

@media (max-width: 700px) {
  .fu-film, a.fu-brochure { height: 150px; }
}

/* =========================================================
   v16 — services table, swatches, stat strip, contact form
   ========================================================= */

/* company stat strip */
.stat-strip {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 3px; overflow: hidden;
}
.stat-strip > div { background: #fff; padding: 20px 16px; }
.stat-strip b { display: block; font-family: var(--serif, Georgia, serif); font-size: 25px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.stat-strip span { display: block; margin-top: 6px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }

/* services table */
.sv-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--ink); }
.sv-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.sv-table th {
  text-align: left; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--mute); font-weight: 600; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line);
}
.sv-table td { padding: 22px 14px 22px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.sv-idx { width: 46px; font-family: Georgia, serif; font-style: italic; font-size: 13px; color: #a59d8f; }
.sv-name { width: 190px; font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.sv-what { width: auto; font-size: 13.4px; line-height: 1.66; color: var(--body, #4a4c48); }
.sv-spec { width: 250px; font-size: 12.6px; line-height: 1.62; color: var(--mute); }
.sw-row { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 16px; }
.sw { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--mute); }
.sw i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(14,16,19,.12); box-shadow: inset 0 -6px 10px rgba(0,0,0,.05); }
.sv-foot { margin-top: 18px; font-size: 12.4px; color: var(--mute); }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 34px; list-style: none; }
.steps li { border-top: 1px solid var(--ink); padding-top: 16px; }
.step-n { display: block; font-family: Georgia, serif; font-style: italic; font-size: 12.5px; color: #a59d8f; }
.steps h4 { margin-top: 10px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.steps p { margin-top: 8px; font-size: 12.9px; line-height: 1.66; color: var(--mute); }

/* contact page */
.contact-split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: start; }
.enq-form { display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
.field > span i { color: var(--accent); font-style: normal; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 14px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 2px;
  padding: 12px 13px; transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 132px; line-height: 1.6; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(14,16,19,.06); }
.field input.is-invalid, .field textarea.is-invalid { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.08); }
.enq-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.enq-note { font-size: 12.4px; line-height: 1.62; color: var(--mute); }
.enq-note.is-error { color: #c0392b; }
.contact-aside { display: grid; gap: 18px; }
.contact-card { border: 1px solid var(--line); border-radius: 3px; padding: 24px; background: #fff; display: block; text-decoration: none; color: inherit; }
.contact-card h4 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.contact-card p { margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--mute); }
.contact-list { margin-top: 14px; display: grid; gap: 14px; }
.contact-list dt { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
.contact-list dd { margin-top: 4px; font-size: 13.6px; line-height: 1.55; color: var(--ink); }
.contact-list a { color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(14,16,19,.28); }
.contact-list a:hover { border-bottom-color: var(--ink); }
.contact-card--link { transition: border-color .18s, background .18s; }
.contact-card--link:hover { border-color: var(--ink); background: var(--bone); }
.contact-arrow { display: inline-block; margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--ink); }

@media (max-width: 1024px) {
  .contact-split { grid-template-columns: 1fr; gap: 40px; }
  .stat-strip { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}
@media (max-width: 700px) {
  .field-row { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip > div { padding: 16px 12px; }
  .stat-strip b { font-size: 20px; }
  .steps { grid-template-columns: 1fr; }
  .sv-name { width: 130px; font-size: 14.5px; }
  .sv-spec { width: 170px; }
}


/* v16.1 map placeholder while tiles load */
.fu-map { background: #eef0ea url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><path d='M0 20h40M20 0v40' stroke='%23dfe3d8' stroke-width='1'/></svg>") repeat; }


/* v17 — find-us without the company film (map + brochure only) */
@media (min-width: 1025px) {
  .findus-grid { grid-template-columns: 1.3fr 1fr; }
}
a.fu-brochure { display: grid; place-items: center; background: #f4f2ec; }
.bro-angle { display: none; }
.bro-cover { width: 110px; height: 148px; }


/* exit link back to the bottle site */
.nav a.nav-out {
  margin-left: 8px; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.18);
  border-radius: 0 8px 8px 0; color: rgba(255,255,255,.6);
}
.nav a.nav-out:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-out-i { display: inline-block; margin-left: 3px; font-size: 11px; transform: translateY(-1px); }
@media (max-width: 1180px) {
  .nav a { padding: 9px 10px; font-size: 13px; }
  .nav a.nav-out { padding-left: 13px; margin-left: 4px; }
}
