/* ==========================================================================
   Vogue Sanitary Ware — site styles
   Palette: travertine paper, Vogue red (sampled from the logo), deep-water
   teal ink, pale aqua, brushed brass.
   ========================================================================== */

:root {
  --paper: #f3ede4;
  --paper-2: #ebe3d6;
  --stone: #d8ccba;
  --grout: rgba(20, 38, 43, 0.09);
  --white: #fffdf9;
  --ink: #12262b;
  --ink-2: #2f4448;
  --ink-3: #5b6c6f;
  --red: #9a1821;
  --red-deep: #6d0f17;
  --red-bright: #b71f2a;
  --aqua: #1f6870;
  --aqua-2: #2c8a92;
  --aqua-pale: #d3e7e4;
  --brass: #b0844a;
  --brass-pale: #e7d5b8;

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

  --fs-display: clamp(3.4rem, 8.2vw, 8.4rem);
  --fs-h1: clamp(2.7rem, 6vw, 5.4rem);
  --fs-h2: clamp(2.1rem, 4.4vw, 3.8rem);
  --fs-h3: clamp(1.35rem, 2.1vw, 1.8rem);
  --fs-lede: clamp(1.08rem, 1.35vw, 1.28rem);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --header-h: 76px;
  --section: clamp(4.5rem, 10vw, 9rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 30px 60px -30px rgba(18, 38, 43, 0.45);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "ss01" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 400; line-height: 1.02; letter-spacing: -0.015em; font-variation-settings: "opsz" 144, "SOFT" 30; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
::selection { background: var(--red); color: var(--white); }

:focus-visible { outline: 3px solid var(--aqua-2); outline-offset: 3px; border-radius: 2px; }
.theme-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--aqua-pale); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 16px; text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow::before {
  content: ""; width: 34px; height: 8px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 8'%3E%3Cpath d='M0 4c4.25 0 4.25-3 8.5-3S12.75 4 17 4s4.25-3 8.5-3S29.75 4 34 4' fill='none' stroke='%239a1821' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center / contain;
}
.theme-dark .eyebrow { color: var(--aqua-pale); }
.theme-dark .eyebrow::before { filter: brightness(2.2) saturate(0.6); }
.display { font-size: var(--fs-display); line-height: 0.92; letter-spacing: -0.035em; font-weight: 340; }
.display em, .h1 em, .h2 em { color: var(--red); font-weight: 300; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.theme-dark .h2 em, .theme-dark .h1 em { color: #f0a3a0; }
.h1 { font-size: var(--fs-h1); font-weight: 360; letter-spacing: -0.03em; }
.h2 { font-size: var(--fs-h2); font-weight: 360; letter-spacing: -0.025em; }
.h3 { font-size: var(--fs-h3); font-weight: 450; }
.lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.theme-dark .lede { color: #c9d6d6; }
.muted { color: var(--ink-3); }
.code-font { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--white); --btn-bd: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  min-height: 52px; padding: 0.85rem 1.4rem;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd); border-radius: 2px;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; text-decoration: none; line-height: 1.1;
  overflow: hidden; isolation: isolate;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-hover, var(--red));
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform 0.45s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn:hover { border-color: var(--btn-hover, var(--red)); color: var(--btn-hover-fg, var(--white)); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.35s var(--ease); }
.btn:hover svg.icon-arrow { transform: translateX(4px); }
.btn--red { --btn-bg: var(--red); --btn-bd: var(--red); --btn-hover: var(--ink); }
.btn--line { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); --btn-hover: var(--ink); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bd: var(--white); --btn-hover: var(--red); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,0.55); --btn-hover: var(--white); --btn-hover-fg: var(--ink); }
.btn--small { min-height: 42px; padding: 0.6rem 1rem; font-size: 0.875rem; }
.btn[aria-pressed="true"] { --btn-bg: var(--aqua); --btn-bd: var(--aqua); --btn-fg: var(--white); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding-bottom: 3px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { color: var(--red); }
.theme-dark .link-arrow:hover { color: var(--aqua-pale); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(243, 237, 228, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--grout); box-shadow: 0 10px 30px -24px rgba(18,38,43,0.5); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; flex: none; text-decoration: none; color: var(--ink); }
.brand img { width: 72px; height: auto; filter: drop-shadow(0 2px 3px rgba(18, 38, 43, 0.18)); }
.brand-text { display: grid; line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; letter-spacing: -0.01em; color: var(--red-deep); }
.brand-text small { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-top: 0.2rem; }

/* "1 Piece" label */
.piece-badge {
  display: inline-flex; align-items: center; vertical-align: middle; padding: 0.22rem 0.55rem; border-radius: 2px;
  background: var(--ink); color: var(--white); font-family: var(--font-ui); font-style: normal; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.piece-badge--card { position: absolute; left: 10px; top: 10px; z-index: 2; box-shadow: 0 6px 18px -8px rgba(0,0,0,0.5); }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.2rem); }
.nav-list a {
  position: relative; text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 0.5rem 0;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.quote-link {
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; padding: 0.5rem 0.95rem;
  border: 1.5px solid var(--ink); border-radius: 2px; text-decoration: none; font-weight: 700; font-size: 0.875rem;
  transition: background-color 0.3s, color 0.3s;
}
.quote-link:hover { background: var(--ink); color: var(--white); }
.quote-link .quote-icon { width: 18px; height: 18px; flex: none; }
.quote-count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: var(--red); color: var(--white); font-size: 0.75rem; font-variant-numeric: tabular-nums;
}
.quote-count.is-bump { animation: bump 0.5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-toggle {
  display: none; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0.5rem 0.75rem;
  background: none; border: 1.5px solid var(--ink); border-radius: 2px; font-weight: 700; font-size: 0.875rem;
}
.menu-toggle .bars { position: relative; width: 18px; height: 10px; }
.menu-toggle .bars::before, .menu-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { top: 8.5px; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 4.25px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { top: 4.25px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .brand img { width: 58px; }
  .brand-text strong { font-size: 1.15rem; }
  .brand-text small { font-size: 0.6rem; letter-spacing: 0.08em; }
  .menu-toggle { display: inline-flex; }
  .header-inner { gap: 0.75rem; }
  .header-actions { margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; margin: 0;
    background: var(--ink); color: var(--white);
    padding: 2rem var(--gutter) 2.5rem; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-12px);
    transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), visibility 0s linear 0.45s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), visibility 0s; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .nav-list a { font-family: var(--font-display); font-size: clamp(2.2rem, 9vw, 3.2rem); font-weight: 350; letter-spacing: -0.02em; padding: 0.2rem 0; }
  .nav-list a::after { background: #f0a3a0; bottom: 6px; }
  .nav-extra { display: grid; gap: 0.4rem; margin-top: 2.5rem; color: #c9d6d6; font-size: 0.95rem; }
  .nav-extra a { color: var(--white); font-weight: 700; text-decoration: none; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .quote-link .quote-label { display: none; }
  .quote-link { padding: 0.5rem 0.7rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.hero::before { /* tile grid, fading out */
  content: ""; position: absolute; inset: 0 0 0 38%; pointer-events: none;
  background-image: linear-gradient(var(--grout) 1px, transparent 1px), linear-gradient(90deg, var(--grout) 1px, transparent 1px);
  background-size: 72px 72px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 45%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 70% at 60% 45%, #000 30%, transparent 80%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy { display: grid; gap: 1.6rem; align-content: center; }
.hero-copy .display { margin-top: 0.2rem; }
.hero-copy .display .line { display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.4rem; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0 clamp(1.25rem, 3vw, 2.5rem);
  margin: 1rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--grout);
}
.hero-stats div { display: grid; gap: 0.1rem; }
.hero-stats dt { order: 2; font-size: 0.8rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0.02em; }
.hero-stats dd { order: 1; margin: 0; font-family: var(--font-display); font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 400; line-height: 1; letter-spacing: -0.02em; }

.hero-visual { position: relative; height: clamp(460px, 48vw, 680px); }
.arch {
  position: absolute; overflow: hidden; background: var(--stone);
  border-radius: 999px 999px 4px 4px; box-shadow: var(--shadow);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .arch--a { left: 0; top: 14%; width: 30%; height: 70%; }
.hero-visual .arch--b { left: 33%; top: 0; width: 38%; height: 92%; }
.hero-visual .arch--c { right: 0; top: 24%; width: 26%; height: 62%; }
.hero-visual .arch img { transform: scale(1.06); transition: transform 1.6s var(--ease); }
.hero-visual .arch:hover img { transform: scale(1.1); }
.hero-tag {
  position: absolute; left: 22%; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 0.9rem;
  padding: 0.85rem 1.1rem 0.85rem 0.9rem; background: var(--white); color: var(--ink); text-decoration: none;
  border-radius: 2px; box-shadow: 0 18px 40px -20px rgba(18,38,43,0.55); max-width: 80%;
}
.hero-tag .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(154,24,33,0.14); flex: none; }
.hero-tag strong { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 450; line-height: 1.1; }
.hero-tag span.small { font-size: 0.8rem; color: var(--ink-3); font-weight: 600; }
.hero-tag svg { width: 18px; height: 18px; margin-left: 0.4rem; transition: transform 0.35s var(--ease); }
.hero-tag:hover svg { transform: translateX(4px); }
.hero-ring {
  position: absolute; right: 6%; top: 2%; width: clamp(80px, 9vw, 120px); aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid var(--brass); opacity: 0.8;
}
.hero-ring::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; border: 1px solid var(--brass); opacity: 0.6; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: clamp(380px, 105vw, 560px); order: -1; }
  .hero::before { inset: 0; }
  .hero-stats { grid-template-columns: repeat(2, auto); gap: 1rem 2rem; }
}

/* ---------- Model-code marquee (echoes the catalogue's red footer band) ---------- */
.marquee {
  position: relative; overflow: hidden; background: var(--red); color: var(--white);
  border-top: 1px solid var(--red-deep); border-bottom: 1px solid var(--red-deep);
}
.marquee-track { display: flex; width: max-content; animation: marquee 180s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; flex: none; }
.marquee li {
  display: flex; align-items: center; gap: 2.2rem; padding: 0.95rem 0 0.95rem 2.2rem; white-space: nowrap;
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 350;
}
.marquee li::after { content: ""; width: 7px; height: 7px; border-radius: 50% 0 50% 50%; background: var(--brass-pale); transform: rotate(-45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Generic sections ---------- */
.section { padding: var(--section) 0; }
.section--tight { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .lede { justify-self: end; }
.section-head .stack { display: grid; gap: 1.1rem; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } .section-head .lede { justify-self: start; } }
.theme-dark { background: var(--ink); color: var(--white); }
.theme-stone { background: var(--paper-2); }

/* ---------- Range index (editorial category list with hover preview) ---------- */
.range-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.range-list { border-top: 1px solid var(--ink); counter-reset: range; }
.range-item {
  position: relative; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) auto auto; align-items: center; gap: 1rem;
  padding: 1.1rem 0.25rem; border-bottom: 1px solid var(--grout); text-decoration: none;
  transition: padding 0.45s var(--ease), color 0.3s;
}
.range-item .num { font-size: 0.8rem; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }
.range-item .name { font-family: var(--font-display); font-size: clamp(1.45rem, 2.6vw, 2.2rem); font-weight: 380; line-height: 1.1; letter-spacing: -0.015em; }
.range-item .count { font-size: 0.85rem; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.range-item .arrow { width: 22px; height: 22px; opacity: 0; transform: translateX(-8px); transition: opacity 0.3s, transform 0.4s var(--ease); }
.range-item .thumb { display: none; }
.range-item:hover, .range-item:focus-visible { padding-left: 1rem; color: var(--red); }
.range-item:hover .arrow, .range-item:focus-visible .arrow { opacity: 1; transform: none; }
.range-item:hover .name em { color: var(--red); }
.range-preview { position: sticky; top: calc(var(--header-h) + 2rem); }
.range-preview .arch { position: relative; width: 100%; aspect-ratio: 4 / 5; }
.range-preview img { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s var(--ease), transform 1.2s var(--ease); transform: scale(1.06); }
.range-preview img.is-active { opacity: 1; transform: scale(1); }
.range-preview figcaption { margin-top: 1rem; display: flex; justify-content: space-between; gap: 1rem; font-size: 0.875rem; color: var(--ink-3); font-weight: 600; }
@media (max-width: 860px) {
  .range-layout { grid-template-columns: 1fr; }
  .range-preview { display: none; }
  .range-item { grid-template-columns: 64px minmax(0, 1fr) auto; padding: 0.8rem 0; }
  .range-item .num, .range-item .arrow { display: none; }
  .range-item .thumb { display: block; width: 64px; height: 80px; object-fit: cover; border-radius: 32px 32px 2px 2px; }
  .range-item:hover, .range-item:focus-visible { padding-left: 0; }
}

/* ---------- Signature (free-standing) ---------- */
.signature { position: relative; overflow: hidden; }
.signature::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background: radial-gradient(60% 50% at 80% 0%, rgba(44,138,146,0.35), transparent 70%), radial-gradient(50% 40% at 0% 100%, rgba(154,24,33,0.35), transparent 70%);
}
.signature .wrap { position: relative; }
.signature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.75rem); }
.sig-item { display: grid; gap: 1.25rem; text-decoration: none; color: inherit; }
.sig-item:nth-child(2) { margin-top: clamp(2rem, 6vw, 5rem); }
.sig-item:nth-child(3) { margin-top: clamp(1rem, 3vw, 2.5rem); }
.sig-item .arch { position: relative; aspect-ratio: 3 / 4.4; box-shadow: 0 40px 70px -40px rgba(0,0,0,0.8); }
.sig-item .arch img { transition: transform 1.2s var(--ease); }
.sig-item:hover .arch img { transform: scale(1.05); }
.sig-item .sig-name { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,0.18); padding-bottom: 0.75rem; }
.sig-item h3 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); font-style: italic; font-weight: 320; }
.sig-item .idx { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; color: var(--aqua-pale); }
.sig-item p { color: #c9d6d6; font-size: 0.98rem; }
@media (max-width: 760px) {
  .signature-grid { grid-template-columns: 1fr; gap: 3rem; }
  .sig-item:nth-child(n) { margin-top: 0; }
  .sig-item .arch { aspect-ratio: 4 / 5; }
}

/* ---------- Product cards ---------- */
.card { position: relative; display: grid; gap: 0.85rem; text-decoration: none; color: inherit; }
.card-media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.6s; }
.card:hover .card-media img { transform: scale(1.045); }
.card-media::after { /* tile-grout frame */
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,0.0); transition: border-color 0.5s var(--ease), inset 0.5s var(--ease); pointer-events: none;
}
.card:hover .card-media::after { border-color: rgba(255,255,255,0.75); inset: 14px; }
.card-body { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.card-code { font-family: var(--font-display); font-size: 1.45rem; font-weight: 420; line-height: 1.1; letter-spacing: -0.01em; }
.card-cat { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); text-align: right; }
.theme-dark .card-cat { color: #a9bcbc; }
.card-wrap { position: relative; }
.card-add {
  position: absolute; top: 10px; right: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 0.4rem;
  min-height: 36px; padding: 0.35rem 0.7rem; border: 0; border-radius: 2px;
  background: rgba(255,253,249,0.92); color: var(--ink); font-size: 0.78rem; font-weight: 700;
  box-shadow: 0 6px 18px -8px rgba(0,0,0,0.4);
  transition: background-color 0.3s, color 0.3s;
}
.card-add svg { width: 14px; height: 14px; }
.card-add:hover { background: var(--ink); color: var(--white); }
.card-add[aria-pressed="true"] { background: var(--aqua); color: var(--white); }

/* ---------- Rail ---------- */
.rail-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.rail-controls { display: flex; gap: 0.5rem; align-items: center; }
.icon-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid currentColor; border-radius: 50%;
  background: transparent; transition: background-color 0.3s, color 0.3s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.icon-btn:disabled { opacity: 0.35; cursor: default; background: transparent; color: inherit; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 24vw, 310px); gap: clamp(1rem, 2vw, 1.75rem);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 0.5rem;
  /* bleed to the viewport's right edge while staying aligned with the content on the left */
  margin-left: calc(var(--gutter) * -1); margin-right: min(calc(var(--gutter) * -1), calc((100% - 100vw) / 2));
  padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding: 0 var(--gutter);
}
.rail::-webkit-scrollbar { display: none; }
.rail > li { scroll-snap-align: start; }
.rail-progress { height: 2px; background: var(--grout); margin-top: 1.75rem; position: relative; overflow: hidden; }
.rail-progress span { position: absolute; inset: 0 auto 0 0; width: 20%; background: var(--red); transition: transform 0.2s linear; }

/* ---------- Brand intro ---------- */
.brand-intro-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.brand-figure { position: relative; }
.brand-figure .arch { position: relative; aspect-ratio: 4 / 5.2; }
.brand-figure .stamp {
  position: absolute; right: -6%; bottom: 8%; width: clamp(120px, 14vw, 170px); aspect-ratio: 1; border-radius: 50%;
  background: var(--red); color: var(--white); display: grid; place-items: center; text-align: center; padding: 1rem;
  font-family: var(--font-display); font-style: italic; font-size: clamp(0.95rem, 1.2vw, 1.1rem); line-height: 1.2;
  box-shadow: 0 20px 40px -20px rgba(109,15,23,0.8);
}
.brand-figure .stamp strong { display: block; font-style: normal; font-size: 2.4em; line-height: 1; font-weight: 380; }
.brand-copy { display: grid; gap: 1.5rem; }
.brand-copy blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.15; font-weight: 350; letter-spacing: -0.015em; }
.fact-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); margin-top: 0.5rem; }
.fact-list > div { padding: 1.1rem 1rem 0 0; }
.fact-list > div + div { padding-left: 1rem; border-left: 1px solid var(--grout); }
.fact-list dt { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.fact-list dd { margin: 0.3rem 0 0; font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.1; }
@media (max-width: 860px) {
  .brand-intro-grid { grid-template-columns: 1fr; }
  .brand-figure { max-width: 460px; }
  .brand-figure .stamp { right: 0; }
  .fact-list { grid-template-columns: 1fr; }
  .fact-list > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--grout); padding-bottom: 0.9rem; }
  .fact-list > div { padding-bottom: 0.9rem; }
}

/* ---------- Approvals ---------- */
.approvals { background: var(--white); border-top: 1px solid var(--grout); border-bottom: 1px solid var(--grout); }
.approvals-inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 2rem 4rem; align-items: center; padding: clamp(2.25rem, 5vw, 3.5rem) var(--gutter); }
.approvals h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 380; }
.approvals p { margin-top: 0.75rem; color: var(--ink-3); font-size: 0.95rem; }
.approvals img { width: 100%; max-width: 760px; justify-self: end; }
@media (max-width: 800px) { .approvals-inner { grid-template-columns: 1fr; } .approvals img { justify-self: start; } }

/* ---------- WC bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(120px, auto); gap: clamp(0.75rem, 1.6vw, 1.25rem); }
.bento-tile { position: relative; overflow: hidden; background: var(--stone); text-decoration: none; color: var(--white); display: block; min-height: 220px; }
.bento-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.bento-tile:hover img { transform: scale(1.05); }
.bento-tile .label {
  position: absolute; left: 0; bottom: 0; right: 0; padding: 2.5rem 1.1rem 1rem; display: flex; justify-content: space-between; align-items: end; gap: 1rem;
  background: linear-gradient(to top, rgba(10,22,25,0.78), transparent);
}
.bento-tile .label { flex-wrap: wrap; }
.bento-tile .label strong { font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 420; line-height: 1.05; white-space: nowrap; }
.bento-tile .label span { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.92; text-align: right; }
.bento-text { grid-column: span 5; grid-row: span 2; display: grid; align-content: space-between; gap: 2rem; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--ink); color: var(--white); }
.bento-text .h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.bento-a { grid-column: span 4; grid-row: span 4; }
.bento-b { grid-column: span 3; grid-row: span 2; }
.bento-c { grid-column: span 3; grid-row: span 2; }
.bento-d { grid-column: span 5; grid-row: span 2; }
.bento-e { grid-column: span 3; grid-row: span 2; }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .bento > * { grid-column: span 1 !important; grid-row: auto !important; }
  .bento-text { grid-column: span 2 !important; }
  .bento-tile { aspect-ratio: 4 / 5; min-height: 0; }
  .bento-a { grid-column: span 2 !important; aspect-ratio: 4 / 4.2; }
}

/* ---------- Visit / CTA ---------- */
.visit { position: relative; overflow: hidden; }
.visit-ripples { position: absolute; right: -10%; top: 50%; width: min(900px, 90vw); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; opacity: 0.55; }
.visit-ripples circle { fill: none; stroke: var(--aqua-2); stroke-width: 1; transform-origin: 50% 50%; animation: ripple 9s linear infinite; opacity: 0; }
.visit-ripples circle:nth-child(2) { animation-delay: -3s; }
.visit-ripples circle:nth-child(3) { animation-delay: -6s; }
@keyframes ripple { 0% { transform: scale(0.15); opacity: 0; } 15% { opacity: 0.9; } 100% { transform: scale(1); opacity: 0; } }
.visit-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.visit-grid .stack { display: grid; gap: 1.5rem; }
.visit-card { display: grid; gap: 1.4rem; padding: clamp(1.5rem, 3vw, 2.25rem); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.visit-card h3 { font-size: 0.8rem; font-family: var(--font-ui); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--aqua-pale); }
.visit-card address { font-style: normal; font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.25; }
.phone-list { display: grid; gap: 0.35rem; }
.phone-list a { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.phone-list a svg { width: 16px; height: 16px; opacity: 0.8; }
.phone-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--red-deep); color: #f6e3e1; padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.footer-aot { display: flex; align-items: center; gap: 0.9rem; }
.footer-aot img { width: 96px; height: auto; }
.footer-aot strong { font-family: var(--font-display); font-size: 1.8rem; font-weight: 450; color: #fff; }
.footer-vogue { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.1rem !important; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-vogue img { width: 120px; height: auto; }
.footer-brand p { margin-top: 1.25rem; max-width: 22em; font-size: 0.95rem; color: #ecc9c6; }
.site-footer h2 { font-family: var(--font-ui); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #ffffff; margin-bottom: 1rem; }
.site-footer ul { display: grid; gap: 0.5rem; }
.site-footer a { text-decoration: none; color: #f6e3e1; font-size: 0.95rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer address { font-style: normal; font-size: 0.95rem; line-height: 1.55; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.18); font-size: 0.85rem; color: #ecc9c6; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Page head (inner pages) ---------- */
.page-head { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); overflow: hidden; }
.page-head::after {
  content: ""; position: absolute; right: var(--gutter); bottom: 0; width: min(40vw, 420px); height: 100%; pointer-events: none;
  background-image: linear-gradient(var(--grout) 1px, transparent 1px), linear-gradient(90deg, var(--grout) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to left, #000, transparent); mask-image: linear-gradient(to left, #000, transparent);
}
.page-head .wrap { position: relative; z-index: 1; display: grid; gap: 1.25rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.85rem; font-weight: 600; color: var(--ink-3); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.6; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--red); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); }

/* ---------- Collection filters ---------- */
.filters {
  position: sticky; top: var(--header-h); z-index: 50; background: rgba(243,237,228,0.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--grout); border-bottom: 1px solid var(--grout);
}
.filters-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.75rem 1.5rem; align-items: center; padding-top: 0.8rem; padding-bottom: 0.8rem; }
.filter-groups, .filter-cats { display: flex; gap: 0.4rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.filter-groups::-webkit-scrollbar, .filter-cats::-webkit-scrollbar { display: none; }
.filter-btn {
  flex: none; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 42px; padding: 0.45rem 0.95rem;
  border: 1.5px solid transparent; border-radius: 2px; background: transparent; font-weight: 700; font-size: 0.9rem; color: var(--ink-2);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.filter-btn .n { font-size: 0.75rem; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filter-btn[aria-pressed="true"] .n { color: var(--aqua-pale); }
.filter-cats { grid-column: 1 / -1; padding-top: 0.25rem; }
.filter-cats[hidden] { display: none; }
.filter-cats .filter-btn { min-height: 36px; font-size: 0.82rem; padding: 0.3rem 0.75rem; border-color: var(--grout); border-radius: 18px; }
.filter-cats .filter-btn[aria-pressed="true"] { background: var(--red); border-color: var(--red); }
.filter-cats .filter-btn[aria-pressed="true"] .n { color: #f6d6d3; }
.search-field { position: relative; display: flex; align-items: center; }
.search-field svg { position: absolute; left: 0.8rem; width: 18px; height: 18px; color: var(--ink-3); pointer-events: none; }
.search-field input {
  width: clamp(200px, 22vw, 280px); min-height: 44px; padding: 0.5rem 0.85rem 0.5rem 2.4rem; border: 1.5px solid var(--grout); border-radius: 2px; background: var(--white);
}
.search-field input:focus { border-color: var(--aqua); outline: none; box-shadow: 0 0 0 3px rgba(44,138,146,0.25); }
@media (max-width: 760px) {
  .filters-inner { grid-template-columns: 1fr; }
  .search-field input { width: 100%; }
  /* hint that the tab rows scroll sideways */
  .filter-groups, .filter-cats {
    -webkit-mask-image: linear-gradient(to right, #000 85%, transparent);
            mask-image: linear-gradient(to right, #000 85%, transparent);
    padding-right: 2rem;
  }
}
.results { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: var(--section); }
.results-status { font-size: 0.9rem; font-weight: 600; color: var(--ink-3); margin-bottom: 1.5rem; }
.cat-block + .cat-block { margin-top: clamp(3.5rem, 7vw, 6rem); }
.cat-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; padding-bottom: 1.25rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--ink); }
.cat-head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 370; }
.cat-head h2 .count { font-family: var(--font-ui); font-size: 0.85rem; font-weight: 700; color: var(--red); letter-spacing: 0.04em; margin-left: 0.6rem; vertical-align: super; }
.cat-head p { color: var(--ink-2); max-width: 34em; justify-self: end; }
@media (max-width: 760px) { .cat-head { grid-template-columns: 1fr; } .cat-head p { justify-self: start; } }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.75rem); }
@media (max-width: 520px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 0.75rem; } .card-code { font-size: 1.15rem; } .card-body { flex-direction: column; gap: 0.15rem; } .card-cat { text-align: left; font-size: 0.68rem; } .card-add .add-text { display: none; } }
.empty { padding: 3rem 0; display: grid; gap: 1rem; justify-items: start; }

/* ---------- Product detail ---------- */
.product { padding: clamp(1.5rem, 3vw, 2.5rem) 0 var(--section); }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.product-media { position: relative; }
.product-media .arch { position: relative; aspect-ratio: 760 / 1332; border-radius: 999px 999px 4px 4px; }
.zoom-btn {
  position: absolute; right: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 42px; padding: 0.5rem 0.85rem; border: 0; border-radius: 2px; background: rgba(255,253,249,0.94); font-weight: 700; font-size: 0.85rem;
}
.zoom-btn svg { width: 16px; height: 16px; }
.zoom-btn:hover { background: var(--ink); color: var(--white); }
.product-info { position: sticky; top: calc(var(--header-h) + 2rem); display: grid; gap: 1.6rem; }
.product-info .h1 { font-size: clamp(3rem, 7vw, 6rem); line-height: 0.95; }
.product-info .type { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.7rem); color: var(--red); font-weight: 350; }
.spec-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 0.85rem 0; border-bottom: 1px solid var(--grout); font-size: 0.95rem; }
.spec-table th { width: 38%; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); padding-right: 1rem; padding-top: 1rem; }
.product-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.product-note { display: flex; gap: 0.75rem; padding: 1rem 1.1rem; background: var(--paper-2); border-left: 3px solid var(--brass); font-size: 0.9rem; color: var(--ink-2); }
.product-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--brass); }
.product-pager { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--grout); font-size: 0.9rem; }
.product-pager a { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; font-weight: 700; }
.product-pager a:hover { color: var(--red); }
.product-pager svg { width: 16px; height: 16px; }
@media (max-width: 860px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-media { max-width: 520px; width: 100%; margin: 0 auto; }
  .product-info { position: static; }
}

.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(10, 20, 22, 0.92); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 64px 16px 24px; }
.lightbox img { max-height: calc(100vh - 100px); width: auto; max-width: 100%; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lightbox .icon-btn { position: absolute; top: 12px; right: 16px; color: var(--white); }
.lightbox .icon-btn:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact-details { display: grid; gap: 2rem; position: sticky; top: calc(var(--header-h) + 2rem); }
.detail-block { display: grid; gap: 0.6rem; padding-top: 1.1rem; border-top: 1px solid var(--ink); }
.detail-block h2 { font-family: var(--font-ui); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.detail-block address, .detail-block .big { font-style: normal; font-family: var(--font-display); font-size: clamp(1.3rem, 2.1vw, 1.7rem); line-height: 1.25; }
.placeholder-note { font-size: 0.85rem; color: var(--ink-3); font-style: italic; }
.form { display: grid; gap: 1.25rem; padding: clamp(1.5rem, 3.5vw, 2.75rem); background: var(--white); border: 1px solid var(--grout); box-shadow: 0 30px 60px -45px rgba(18,38,43,0.5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label, .field .label { font-weight: 700; font-size: 0.875rem; }
.field .opt { font-weight: 500; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.7rem 0.85rem; background: var(--paper); border: 1.5px solid transparent; border-bottom-color: var(--stone); border-radius: 2px;
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(44,138,146,0.2); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--red); background: #fbefee; }
.field .error { display: none; color: var(--red); font-size: 0.85rem; font-weight: 600; }
.field.has-error .error { display: block; }
.field .hint { font-size: 0.82rem; color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.35rem; min-height: 36px; padding: 0.3rem 0.4rem 0.3rem 0.75rem;
  background: var(--aqua-pale); color: var(--ink); border-radius: 18px; font-weight: 700; font-size: 0.85rem;
}
.chip button { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent; }
.chip button:hover { background: var(--ink); color: var(--white); }
.chip button svg { width: 12px; height: 12px; }
.form-status { display: none; gap: 1rem; padding: 1.25rem; border-left: 3px solid var(--aqua); background: var(--paper); }
.form-status.is-visible { display: grid; }
.form-status h3 { font-size: 1.35rem; font-weight: 450; }
.form-status pre { margin: 0; white-space: pre-wrap; font-family: var(--font-ui); font-size: 0.9rem; background: var(--white); padding: 1rem; border: 1px solid var(--grout); max-height: 260px; overflow: auto; }
.form-status .actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.form-error-summary { display: none; padding: 0.9rem 1rem; background: #fbefee; border-left: 3px solid var(--red); color: var(--red-deep); font-weight: 600; font-size: 0.92rem; }
.form-error-summary.is-visible { display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-details { position: static; } }

/* ---------- About ---------- */
.about-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.about-hero-grid .arch { position: relative; aspect-ratio: 4 / 5; }
@media (max-width: 800px) {
  .about-hero-grid { grid-template-columns: 1fr; }
  .about-hero-grid .arch { max-width: 420px; width: 100%; }
}
.family-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.family-table th, .family-table td { text-align: left; padding: 1rem 0.5rem 1rem 0; border-bottom: 1px solid var(--grout); vertical-align: baseline; }
.family-table th[scope="row"] { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.2rem, 2vw, 1.55rem); }
.family-table thead th { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.family-table td.n { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--red); white-space: nowrap; }
.family-table td a { font-weight: 700; white-space: nowrap; }
@media (max-width: 640px) { .family-table .hide-sm { display: none; } }
.gallery { columns: 3 260px; column-gap: clamp(0.75rem, 1.6vw, 1.25rem); }
.gallery a { display: block; margin-bottom: clamp(0.75rem, 1.6vw, 1.25rem); break-inside: avoid; position: relative; overflow: hidden; }
.gallery a img { width: 100%; transition: transform 1s var(--ease); }
.gallery a:hover img { transform: scale(1.04); }
.gallery a span { position: absolute; left: 0.75rem; bottom: 0.75rem; padding: 0.3rem 0.6rem; background: rgba(255,253,249,0.94); font-weight: 700; font-size: 0.82rem; color: var(--ink); }
.split-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(2rem, 5vw, 5rem); }
.split-cols p + p { margin-top: 1rem; }
@media (max-width: 760px) { .split-cols { grid-template-columns: 1fr; } }

/* ---------- Reveal motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero [data-hero] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
.js .hero.is-ready [data-hero] { opacity: 1; transform: none; }
.js .hero-visual .arch[data-hero] { transform: translateY(60px) scale(0.97); }
.js .hero.is-ready .hero-visual .arch[data-hero] { transform: translateY(var(--py, 0px)); }

/* ---------- Custom cursor: a water droplet whose tip is the hotspot, trailed by a ring ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 1000; pointer-events: none; opacity: 0; transition: opacity 0.25s; }
.cursor.is-visible { opacity: 1; }
.cursor.is-hidden { opacity: 0; }
.cursor__drop {
  position: fixed; left: 0; top: 0; width: 13px; height: 13px; will-change: transform;
  background: var(--red); border-radius: 0 50% 50% 50%;
  box-shadow: 0 0 0 1.5px var(--white), 0 2px 6px rgba(0,0,0,0.25);
}
.cursor__drop::after { content: ""; position: absolute; left: 6px; top: 3px; width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.75); }
.cursor__ring { position: fixed; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.cursor__shape {
  position: absolute; left: 0; top: 0; width: 34px; height: 34px; transform: translate(-50%, -50%);
  border: 1.5px solid rgba(31,104,112,0.7); border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
  transition: width 0.4s var(--ease), height 0.4s var(--ease), background-color 0.3s, border-color 0.3s, border-radius 0.4s var(--ease);
}
.cursor__label { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); opacity: 0; transition: opacity 0.2s; white-space: nowrap; }
.cursor.is-link .cursor__shape { width: 52px; height: 52px; background: rgba(44,138,146,0.14); border-color: var(--aqua-2); }
.cursor.is-link .cursor__drop { transform-origin: 0 0; }
.cursor.is-label .cursor__shape { width: 78px; height: 78px; background: var(--red); border-color: var(--red); border-radius: 50% 50% 8px 8px; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-down .cursor__shape { width: 26px; height: 26px; }
.cursor-ripple {
  position: fixed; left: 0; top: 0; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%;
  border: 1.5px solid var(--aqua-2); pointer-events: none; z-index: 999; animation: cursor-ripple 0.7s var(--ease) forwards;
}
@keyframes cursor-ripple { from { transform: var(--pos) scale(0.2); opacity: 0.9; } to { transform: var(--pos) scale(1.4); opacity: 0; } }
html.has-cursor, html.has-cursor body, html.has-cursor a, html.has-cursor button, html.has-cursor label, html.has-cursor summary, html.has-cursor select, html.has-cursor [role="button"] { cursor: none; }
/* text fields keep the native I-beam (the custom cursor hides itself there) */
html.has-cursor input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]), html.has-cursor textarea { cursor: text; }

/* ---------- Reduced motion ---------- */
@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; transition-delay: 0s !important; }
  .marquee-track { animation: none; }
  .visit-ripples { display: none; }
  .js [data-reveal], .js .hero [data-hero] { opacity: 1; transform: none; }
}

/* ---------- Small-screen fit and interaction comfort ---------- */
@media (max-width: 760px) {
  .btn, .btn--small, .filter-btn, .filter-cats .filter-btn, .card-add, .zoom-btn, .menu-toggle, .quote-link { min-height: 44px; }
  .wrap > *, .contact-grid > *, .visit-grid > *, .footer-top > * { min-width: 0; }
  .nav-extra span { overflow-wrap: anywhere; }
  .hero-copy .display { font-size: clamp(2.65rem, 12vw, 4rem); }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .range-item { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 0.75rem; }
  .range-item .thumb { width: 56px; height: 70px; }
  .product-pager { flex-wrap: wrap; }
  .detail-block a, .site-footer a { overflow-wrap: anywhere; }
  .site-footer address, .visit-card address { overflow-wrap: anywhere; }
}
@media (max-width: 420px) {
  :root { --gutter: 16px; }
  .brand { gap: 0.45rem; }
  .brand img { width: 48px; }
  .brand-text strong { font-size: 1rem; }
  .brand-text small { font-size: 0.52rem; }
  .header-actions { gap: 0.45rem; }
  .menu-toggle { padding: 0.45rem 0.6rem; }
  .range-item .count { font-size: 0.72rem; }
  .form { padding: 1.1rem; }
}
@media (hover: none), (pointer: coarse) {
  .visit-ripples { display: none; }
  .marquee-track { animation: none; }
  .js [data-reveal], .js .hero [data-hero] { opacity: 1; transform: none; transition: none; }
  .js .hero.is-ready .hero-visual .arch[data-hero] { transform: none; }
  .card-media img, .bento-tile img, .sig-item .arch img, .gallery a img { transition: none; }
  .card:hover .card-media img, .bento-tile:hover img, .sig-item:hover .arch img, .gallery a:hover img { transform: none; }
}