﻿@charset "utf-8";
/* ==========================================================================
   Sychron Pools — Hout Bay, Cape Town
   Design system + components. Single stylesheet, no framework.
   Sections: 1 tokens · 2 reset · 3 base · 4 layout · 5 chrome (nav/footer)
             6 components · 7 pages · 8 motion · 9 responsive
   ========================================================================== */

/* 1 ─ TOKENS ============================================================== */
:root {
  --ink-950: #04161f;
  --ink-900: #06232f;
  --ink-800: #0a3242;
  --ink-700: #125166;
  --stone-700: #3c4c56;
  --stone-600: #55666f;
  --stone-500: #5f7079;
  --stone-400: #93a3aa;
  --stone-300: #b6c2c7;
  --stone-200: #d7dee1;
  --aqua-700: #0b6b78;
  --aqua-600: #0e8391;
  --aqua-500: #13a3b3;
  --aqua-400: #45c3cd;
  --sand-50: #fdfbf7;
  --sand-100: #f4efe5;
  --sand-200: #ebe3d5;
  --sand-300: #dccfb9;
  --white: #ffffff;

  --bg: var(--sand-50);
  --bg-alt: var(--sand-100);
  --fg: var(--ink-900);
  --fg-muted: var(--stone-600);
  --line: #dcd8ce;
  --line-strong: #bdb8ac;
  --line-dark: #2a4451;
  --on-ink: #e6edee;
  --on-ink-muted: #a8bcc2;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: clamp(0.8125rem, 0.79rem + 0.12vw, 0.875rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step-1: clamp(1.125rem, 1.07rem + 0.3vw, 1.25rem);
  --step-2: clamp(1.25rem, 1.15rem + 0.5vw, 1.625rem);
  --step-3: clamp(1.5rem, 1.3rem + 1vw, 2.125rem);
  --step-4: clamp(1.75rem, 1.5rem + 1.2vw, 2.5rem);
  --step-5: clamp(2rem, 1.7rem + 1.6vw, 3.25rem);
  --step-6: clamp(2.375rem, 1.85rem + 2.7vw, 4.5rem);

  --gutter: clamp(1.25rem, 4.5vw, 3rem);
  --measure: 68ch;
  --shell: 1320px;
  --shell-narrow: 940px;

  --space-section: clamp(4.5rem, 9vw, 8.5rem);
  --space-block: clamp(2.5rem, 5vw, 4.5rem);
  --pad-cell: clamp(1.35rem, 2.6vw, 1.95rem);

  /* squared corners: two steps only, both near-square */
  --radius: 2px;
  --radius-lg: 3px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur: 320ms;

  --nav-h: 4rem;
  --z-nav: 100;
  --z-fab: 90;
}

/* 2 ─ RESET ============================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1.5rem);
}
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
picture { display: contents; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
:target { scroll-margin-top: calc(var(--nav-h) + 1.5rem); }

/* 3 ─ BASE =============================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  line-height: 1.06;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); letter-spacing: -0.03em; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.18; }
h4 { font-size: var(--step-1); line-height: 1.25; }
p { text-wrap: pretty; }
strong, b { font-weight: 600; }
::selection { background: var(--aqua-400); color: var(--ink-950); }
:focus-visible { outline: 2px solid var(--aqua-700); outline-offset: 2px; }
.hero :focus-visible, .page-head :focus-visible, .band :focus-visible,
.footer :focus-visible, .menu :focus-visible { outline-color: var(--aqua-400); }

.lede { font-size: var(--step-1); color: var(--stone-700); line-height: 1.55; max-width: 56ch; }
.muted { color: var(--fg-muted); }
.small { font-size: var(--step--1); }

.prose > * + * { margin-top: 1.1em; }
.prose p { max-width: var(--measure); }
.prose a {
  color: var(--aqua-700);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}
.prose a:hover { color: var(--ink-900); }
.prose h2 { font-size: var(--step-2); line-height: 1.2; margin-top: 1.8em; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone-600);
}
.eyebrow--light { color: var(--on-ink-muted); }

.rule { height: 1px; background: var(--line); border: 0; }

/* 4 ─ LAYOUT ============================================================= */
.wrap {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--shell-narrow); }
.section { padding-block: var(--space-section); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--sand { background: var(--bg-alt); }
.section--ink { background: var(--ink-900); color: var(--white); }

.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; }
.grid--split-wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; }

.head { max-width: 62ch; }
.head > * + *, .head__text > * + * { margin-top: 1.1rem; }
.head > .eyebrow + *, .head__text > .eyebrow + * { margin-top: 0.7rem; }
.head--center { margin-inline: auto; text-align: center; }
.head--between {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 4rem);
  flex-wrap: wrap;
}
.head--between .head__text { max-width: 54ch; }

.stack > * + * { margin-top: clamp(1.25rem, 2.4vw, 2rem); }
.cluster { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--ink-900);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  transform: translate3d(0, -160%, 0);
  transition: transform var(--dur) var(--ease-out);
}
.skip:focus-visible { transform: none; }

/* 5 ─ CHROME ============================================================= */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: var(--z-nav);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }

.brand { display: inline-flex; align-items: center; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand__text em {
  font-style: normal;
  font-size: 0.625rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-top: 0.2rem;
}

.nav__links { display: flex; align-items: center; gap: 1.5rem; margin-inline: auto; }
.nav__links a {
  position: relative;
  padding-block: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--stone-700);
}
.nav__links a:hover { color: var(--ink-900); text-decoration: underline; text-underline-offset: 0.45rem; }
.nav__links a[aria-current="page"] {
  color: var(--ink-900);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--aqua-600);
  text-underline-offset: 0.45rem;
}
.nav__actions { display: flex; align-items: center; gap: 0.75rem; flex: none; margin-left: auto; }
.nav__tel {
  display: none;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
}
.nav__tel:hover { text-decoration: underline; text-underline-offset: 0.3rem; }

.burger {
  width: 2.6rem; height: 2.6rem;
  flex: none;
  position: relative;
  border-radius: var(--radius);
  background: var(--ink-900);
  color: var(--white);
}
.burger:active { background: var(--ink-800); }
.burger span {
  position: absolute;
  left: 50%; top: 50%;
  width: 1.15rem; height: 1.5px;
  background: currentColor;
  transform: translate3d(-50%, -50%, 0);
  transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast) linear;
}
.burger span:nth-child(1) { transform: translate3d(-50%, calc(-50% - 5px), 0); }
.burger span:nth-child(3) { width: 0.75rem; transform: translate3d(calc(-50% - 2.5px), calc(-50% + 5px), 0); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translate3d(-50%, -50%, 0) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { width: 1.15rem; transform: translate3d(-50%, -50%, 0) rotate(-45deg); }

/* overlay menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-nav) - 1);
  display: grid;
  align-content: center;
  gap: clamp(1.5rem, 4vh, 3rem);
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 2.5rem;
  background: var(--ink-950);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
.menu[data-open="true"] { opacity: 1; visibility: visible; transition-delay: 0s; }
.menu__list { display: grid; gap: 0.35rem; }
.menu__list a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 7vw, 2.75rem);
  letter-spacing: -0.025em;
  color: var(--on-ink);
  opacity: 0;
  transform: translate3d(0, 1rem, 0);
  transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out), color var(--dur-fast) linear;
}
.menu[data-open="true"] .menu__list a { opacity: 1; transform: none; }
.menu__list a:hover { color: var(--aqua-400); }
.menu__list .num {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--on-ink-muted);
}
.menu__foot { display: grid; gap: 0.6rem; }
.menu__foot a { color: var(--on-ink-muted); }
.menu__foot a:hover { color: var(--white); }

/* footer */
.footer {
  background: var(--ink-950);
  color: var(--on-ink-muted);
  border-top: 1px solid var(--line-dark);
  font-size: 0.8125rem;
}
.footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 2rem;
  padding-block: clamp(1.25rem, 2.2vw, 1.75rem);
}
.footer__brand .brand__text strong { color: var(--white); }
.footer__brand .brand__text em { color: var(--on-ink-muted); }
.footer__contact { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; }
.footer__legal { color: #7f959c; }
.footer a:hover { color: var(--white); }
.footer__legal a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

/* 6 ─ COMPONENTS ========================================================= */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.125rem; height: 1.125rem; flex: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--ink-900);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
  background: var(--ink-900);
  color: var(--white);
  transition: background var(--dur-fast) linear, border-color var(--dur-fast) linear, color var(--dur-fast) linear;
}
.btn:hover { background: var(--ink-800); border-color: var(--ink-800); }
.btn:active { background: var(--ink-700); border-color: var(--ink-700); }
.btn--aqua { background: var(--aqua-700); border-color: var(--aqua-700); }
.btn--aqua:hover { background: var(--aqua-600); border-color: var(--aqua-600); }
.btn--ghost { background: transparent; color: var(--ink-900); border-color: var(--line-strong); }
.btn--ghost:hover { background: transparent; color: var(--ink-900); border-color: var(--ink-900); }
.btn--light { background: var(--white); border-color: var(--white); color: var(--ink-900); }
.btn--light:hover { background: var(--sand-100); border-color: var(--sand-100); }
.btn--onDark { background: transparent; color: var(--white); border-color: var(--line-dark); }
.btn--onDark:hover { background: transparent; color: var(--white); border-color: var(--on-ink-muted); }
.btn--sm { padding: 0.6rem 0.9rem; font-size: 0.875rem; }
.btn--block { width: 100%; }

.link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--aqua-700);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.link:hover { color: var(--ink-900); }

/* bezel: single frame around a surface */
.bezel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.bezel__core { background: transparent; }
.bezel--dark { background: transparent; border-color: var(--line-dark); }
.bezel--dark .bezel__core { background: #08202b; }
.bezel--pad .bezel__core { padding: clamp(1.5rem, 3vw, 2.25rem); }
.bezel--lift { transition: border-color var(--dur-fast) linear; }
.bezel--lift:hover { border-color: var(--line-strong); }

.card { display: grid; align-content: start; }
.card-body { padding: clamp(1.25rem, 2.4vw, 1.75rem); display: grid; gap: 0.9rem; align-content: start; }
.card-body h3 { font-size: var(--step-1); }

.pill-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.pill {
  display: block;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-900);
}

.tick-list { display: grid; gap: 0.4rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.tick-list li { font-size: 0.9375rem; color: var(--stone-700); line-height: 1.5; }

/* divider matrix: the 1px gap *is* the divider (stats · steps · plates) */
.stats, .steps, .plates {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { background: var(--bg); padding: var(--pad-cell); display: grid; gap: 0.35rem; align-content: start; }
.stat__value { font-family: var(--font-display); font-size: var(--step-3); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat__label { font-size: 0.8125rem; color: var(--stone-500); line-height: 1.4; }

.plates { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plates--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plate { background: var(--bg); padding: var(--pad-cell); display: grid; gap: 0.6rem; align-content: start; }
.plate h2, .plate h3 { font-size: var(--step-1); line-height: 1.2; }
a.plate { transition: background var(--dur-fast) linear; }
a.plate:hover { background: var(--white); }

/* areas: plain bordered index, no scrolling ticker */
.areas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.areas li {
  padding: 0.7rem 0.9rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--stone-700);
}

/* steps: the matrix again, two up */
.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.steps > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps--3 > :last-child:nth-child(odd) { grid-column: auto; }
.step { background: var(--bg); padding: var(--pad-cell); display: grid; align-content: start; }
.step h3 { font-size: var(--step-1); }
.step p { color: var(--fg-muted); font-size: 0.9375rem; max-width: var(--measure); margin-top: 0.6rem; }

/* figures */
.figure { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--sand-200); }
.figure img { width: 100%; height: auto; object-fit: cover; object-position: var(--focus, 50% 50%); }
.figure--std img { aspect-ratio: 4 / 3; }
.figure--tall img { aspect-ratio: 4 / 5; }
.figure--wide img { aspect-ratio: 16 / 10; }
.figure--cinema img { aspect-ratio: 16 / 9; }
.figure__badge {
  display: block;
  padding: 0.6rem 0.8rem;
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--stone-600);
  font-size: 0.8125rem;
  font-weight: 500;
}

.card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-200); border-bottom: 1px solid var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }

/* floating whatsapp */
.fab {
  position: fixed;
  right: clamp(0.85rem, 2.5vw, 1.5rem);
  bottom: clamp(0.85rem, 2.5vw, 1.5rem);
  z-index: var(--z-fab);
  display: inline-flex;
  align-items: center;
  width: 2.85rem;
  height: 2.85rem;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--ink-900);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
}
.fab svg { width: 1.35rem; height: 1.35rem; }
.fab:hover { background: var(--ink-800); }
.fab span { display: none; }

/* 7 ─ PAGES ============================================================== */

/* 7.1 hero */
.hero {
  background: var(--ink-900);
  color: var(--white);
  padding-block: calc(var(--nav-h) + clamp(3rem, 6vw, 5.5rem)) clamp(3rem, 6vw, 5.5rem);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__copy > * + * { margin-top: clamp(1.1rem, 2.2vw, 1.6rem); }
.hero__copy > .eyebrow + * { margin-top: clamp(0.55rem, 1.1vw, 0.8rem); }
.hero h1 { font-size: var(--step-6); }
.hero h1 .accent { color: var(--aqua-400); }
.hero .lede { color: var(--on-ink-muted); max-width: 46ch; }
.hero__trust {
  display: grid;
  gap: 0.45rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.9375rem;
  color: var(--on-ink-muted);
}
.hero__media { position: relative; }
.hero__main { aspect-ratio: 5 / 4; }
.hero__main .bezel__core { height: 100%; }
.hero__main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }

/* 7.2 band: solid panel + contained photograph */
.band {
  background: var(--ink-900);
  color: var(--white);
  padding-block: var(--space-section);
}
.band__inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.band__copy > * + * { margin-top: clamp(1rem, 2vw, 1.4rem); }
.band__copy > .eyebrow + * { margin-top: clamp(0.5rem, 1vw, 0.75rem); }
.band h2 { color: var(--white); }
.band p { color: var(--on-ink-muted); font-size: var(--step-1); }
.band__figure { border: 1px solid var(--line-dark); overflow: hidden; }
.band__figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* 7.3 page header (inner pages) */
.page-head {
  background: var(--ink-900);
  color: var(--white);
  padding-block: calc(var(--nav-h) + clamp(2rem, 4vw, 3rem)) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line-dark);
}
.page-head__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  column-gap: clamp(1.5rem, 4vw, 4rem);
  align-items: baseline;
}
.page-head__inner > .crumbs { grid-column: 1 / -1; margin-bottom: clamp(1.4rem, 2.2vw, 1.75rem); }
.page-head h1 { color: var(--white); font-size: var(--step-4); letter-spacing: -0.025em; }
.page-head + .section { padding-top: clamp(2rem, 4.5vw, 3.5rem); }
.page-head .lede { color: var(--on-ink-muted); max-width: 34rem; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.8125rem; color: var(--on-ink-muted); }
.crumbs a:hover { color: var(--white); }
.crumbs li { display: flex; align-items: center; gap: 0.5rem; }
.crumbs li + li::before { content: "/"; opacity: 0.5; }

/* 7.4 gallery */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: clamp(1.25rem, 2.5vw, 2rem);
}
.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.filter {
  padding: 0.55rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--stone-600);
  background: transparent;
  transition: color var(--dur-fast) linear, background var(--dur-fast) linear, border-color var(--dur-fast) linear;
}
.filter:hover { color: var(--ink-900); border-color: var(--ink-900); }
.filter[aria-pressed="true"] { background: var(--ink-900); border-color: var(--ink-900); color: var(--white); }
.count { font-size: 0.8125rem; color: var(--stone-500); font-variant-numeric: tabular-nums; }

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, clamp(9.5rem, 15vw, 13.5rem)), 1fr));
  grid-auto-flow: dense;
  gap: clamp(0.75rem, 1.5vw, 1rem);
}
.tile {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--tile-bg, var(--white));
  transition: border-color var(--dur-fast) linear;
}
.tile:hover { border-color: var(--line-strong); }
.tile img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}
.tile--feature { grid-column: 1 / -1; }
.tile--feature img { aspect-ratio: 21 / 9; }
.tile__cap {
  display: block;
  padding: 0.65rem 0.75rem 0.7rem;
  text-align: left;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-900);
  background: var(--white);
  border-top: 1px solid var(--line);
}
.tile__cap small { display: block; font-weight: 400; font-size: 0.75rem; color: var(--stone-500); margin-top: 0.1rem; }
.tile[hidden] { display: none; }

/* lightbox */
.lightbox {
  width: min(94vw, 68rem);
  max-width: min(94vw, 68rem);
  height: auto;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  overflow: visible;
}
.lightbox::backdrop { background: rgba(4, 22, 31, 0.94); }
.lightbox[open] { animation: lb-in 220ms var(--ease-out) both; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox__stage { display: grid; gap: 0.85rem; }
.lightbox__frame { border: 1px solid var(--line-dark); overflow: hidden; background: var(--ink-950); }
.lightbox__frame img { width: 100%; height: auto; max-height: min(74vh, 46rem); object-fit: contain; background: var(--ink-950); }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lightbox__cap { font-size: 0.9375rem; color: var(--on-ink); }
.lightbox__cap small { display: block; color: var(--on-ink-muted); font-size: 0.8125rem; }
.lightbox__nav { display: flex; gap: 0.5rem; flex: none; }
.lightbox__btn {
  width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  transition: background var(--dur-fast) linear, color var(--dur-fast) linear, border-color var(--dur-fast) linear;
}
.lightbox__btn:hover { background: var(--white); border-color: var(--white); color: var(--ink-900); }
.lightbox__btn svg { width: 1.05rem; height: 1.05rem; }

/* 7.5 reviews */
.reviews { columns: 3; column-gap: clamp(1rem, 2vw, 1.75rem); }
.review {
  display: block;
  break-inside: avoid;
  margin: 0 0 clamp(1rem, 2vw, 1.75rem);
  padding: clamp(1.25rem, 2.4vw, 1.85rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.review__text { font-size: 1rem; line-height: 1.62; color: var(--stone-700); }
.review__foot { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); display: grid; gap: 0.2rem; }
.review__name { font-weight: 600; color: var(--ink-900); }
.review__meta { font-size: 0.8125rem; color: var(--stone-500); }
.review__tags { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin-top: 1rem; }
.tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone-500);
}
.review--lead { background: var(--ink-900); border-color: var(--ink-900); }
.review--lead .review__text { color: var(--on-ink); font-size: 1.0625rem; }
.review--lead .review__name { color: var(--white); }
.review--lead .review__meta { color: var(--on-ink-muted); }
.review--lead .review__foot { border-top-color: var(--line-dark); }
.review--lead .tag { color: var(--on-ink-muted); }

/* 7.6 faq: answers always visible, two columns of questions */
.faq { columns: 2; column-gap: clamp(1.75rem, 3.5vw, 3rem); }
.faq__item {
  break-inside: avoid;
  margin: 0 0 clamp(1.1rem, 2vw, 1.6rem);
  padding-bottom: clamp(1.1rem, 2vw, 1.6rem);
  border-bottom: 1px solid var(--line);
}
.faq__item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.faq__q { font-size: var(--step-1); line-height: 1.3; }
.faq__a { margin-top: 0.5rem; color: var(--fg-muted); max-width: var(--measure); }

/* 7.7 contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.info { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.info__row { display: block; padding: clamp(1.1rem, 2.2vw, 1.5rem); background: var(--white); transition: background var(--dur-fast) linear; }
a.info__row:hover { background: var(--sand-50); }
.info__label { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone-500); }
.info__value { display: block; font-weight: 600; margin-top: 0.15rem; font-variant-numeric: tabular-nums; }
.info__note { display: block; font-size: 0.8125rem; color: var(--stone-500); margin-top: 0.2rem; }

.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field > label { font-size: 0.8125rem; font-weight: 600; color: var(--stone-700); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink-900);
  font-size: 0.9375rem;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f7079' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.2 9.4 5.8 5.8 5.8-5.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1rem;
}
.field select::-ms-expand { display: none; }
.field input::placeholder, .field textarea::placeholder { color: var(--stone-400); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible {
  outline: 2px solid var(--aqua-700);
  outline-offset: 1px;
  border-color: var(--aqua-700);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #b3261e; }
.form__hint { font-size: 0.8125rem; color: var(--stone-500); }
.form__hint a { color: var(--aqua-700); text-decoration: underline; text-underline-offset: 0.16em; }
.form__hint a:hover { color: var(--ink-900); }
.form__ok {
  display: none;
  padding: 0.9rem 1rem;
  border: 1px solid var(--aqua-700);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink-800);
  font-size: 0.9375rem;
}
.form__ok[data-show="true"] { display: block; }

.map {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--sand-200);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.04) brightness(1.03); }
.map__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 0.9rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
}

/* 7.8 next/prev page link */
.page-next { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.page-next__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color var(--dur-fast) linear;
}
.page-next__card:hover { border-color: var(--line-strong); }

/* 8 ─ MOTION ============================================================= */
/* hidden only once JS is live, so a failed or blocked script never blanks the page */
.js [data-reveal] {
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; }

/* 9 ─ RESPONSIVE ========================================================= */
@media (min-width: 62rem) {
  .nav__tel { display: inline-flex; }
  .burger { display: none; }
  .menu__list a { gap: 1.5rem; }
}
@media (max-width: 68rem) {
  .hero__inner { gap: clamp(2rem, 4vw, 3rem); }
  .stats, .plates, .plates--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plates--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .reviews { columns: 2; }
}
@media (max-width: 62rem) {
  .nav__links { display: none; }
  .nav__inner { gap: 0.75rem; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__main { aspect-ratio: 16 / 10; }
  .page-head__inner { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .page-head .lede { max-width: none; margin-top: 1.1rem; }
  .band__inner { grid-template-columns: minmax(0, 1fr); }
  .grid--split, .grid--split-wide, .grid--3, .grid--4, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .head--between { align-items: flex-start; }
}
@media (max-width: 48rem) {
  .brand__text em { display: none; }
  .reviews { columns: 1; }
  .faq { columns: 1; }
  .tiles { grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .stats, .plates, .plates--3 { grid-template-columns: minmax(0, 1fr); }
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pill-list { grid-template-columns: minmax(0, 1fr); }
  .card-media { aspect-ratio: 3 / 2; }
  .tile--feature img { aspect-ratio: 16 / 9; }
  .page-next__card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 34rem) {
  .toolbar { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] { opacity: 1; }
}

@media print {
  .nav, .menu, .fab, .skip { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .hero, .page-head, .band { padding-block: 1.5rem; background: #fff !important; color: #000 !important; }
  .hero__main, .band__figure { border-color: #000; }
  [data-reveal] { opacity: 1 !important; }
}
