/* SVELARIS — shared design system */
:root {
  --ink: #0f0e0c;
  --ink-2: #171512;
  --ink-3: #221f1a;
  --ivory: #f5f0e6;
  --ivory-2: #ebe4d6;
  --stone: #a59d8e;
  --mute: #7d766a;
  --gold: #c6a46a;
  --gold-2: #e2c893;
  --line: rgba(245, 240, 230, 0.12);
  --line-dark: rgba(15, 14, 12, 0.12);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1280px;
  --hdr: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--hdr); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font: 300 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  animation: page-in 0.9s var(--ease) both;
}
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 500 11px/1 var(--sans); letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: 0.7; }
.display {
  font: 400 clamp(44px, 7.4vw, 112px)/0.98 var(--serif);
  letter-spacing: -0.015em; margin: 0;
}
.display em, .h2 em { font-style: italic; color: var(--gold-2); }
.h2 { font: 400 clamp(34px, 4.6vw, 64px)/1.04 var(--serif); letter-spacing: -0.01em; margin: 18px 0 0; }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--stone); max-width: 38em; }
.section { padding: clamp(84px, 11vw, 160px) 0; position: relative; }
.light { background: var(--ivory); color: var(--ink); }
.light .lead, .light .muted { color: var(--mute); }
.light .eyebrow { color: #8f6f37; }
.light .h2 em { color: #8f6f37; }

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 30px; border: 1px solid var(--gold); background: var(--gold); color: var(--ink);
  font: 500 12px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase;
  cursor: pointer; overflow: hidden; transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
  isolation: isolate;
}
.btn::after {
  content: ""; position: absolute; inset: 0; background: var(--ivory); z-index: -1;
  transform: scaleX(0); transform-origin: right; transition: transform 0.6s var(--ease);
}
.btn:hover::after { transform: scaleX(1); transform-origin: left; }
.btn:hover { border-color: var(--ivory); }
.btn.ghost { background: transparent; color: var(--ivory); border-color: rgba(245, 240, 230, 0.4); }
.btn.ghost:hover { color: var(--ink); }
.light .btn.ghost { color: var(--ink); border-color: var(--line-dark); }
.light .btn::after { background: var(--ink); }
.light .btn:hover { color: var(--ivory); border-color: var(--ink); }
.btn .arr { transition: transform 0.5s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.link {
  display: inline-flex; gap: 10px; align-items: center;
  font: 500 12px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
  padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.6s var(--ease);
}
.link:hover { background-size: 100% 1px; }

/* Header */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr);
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.solid { background: rgba(15, 14, 12, 0.82); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border-color: var(--line); }
.hdr.hide { transform: translateY(-100%); }
.hdr .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; flex-direction: column; line-height: 1; }
/* SVELARIS wordmark: Cormorant Garamond semibold, lightly tracked */
.logo b { font: 600 27px/1 var(--serif); letter-spacing: 0.08em; text-transform: uppercase; }
.logo small { font: 400 9px/1 var(--sans); letter-spacing: 0.46em; text-transform: uppercase; color: var(--gold); margin-top: 7px; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 40px); align-items: center; }
.nav a:not(.btn) {
  font: 400 12px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone);
  transition: color 0.4s; position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 0.5s var(--ease); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ivory); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: 12px 20px; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ivory); transition: transform 0.4s var(--ease), opacity 0.3s; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 28px;
    background: var(--ink); opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease);
  }
  .nav a:not(.btn) { font: 400 34px/1 var(--serif); letter-spacing: 0.04em; text-transform: none; color: var(--ivory); }
  .menu-open .nav { opacity: 1; pointer-events: auto; }
  .menu-open { overflow: hidden; }
}

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-out both; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,14,12,0.55) 0%, rgba(15,14,12,0.1) 35%, rgba(15,14,12,0.55) 70%, var(--ink) 100%),
              linear-gradient(90deg, rgba(15,14,12,0.7) 0%, rgba(15,14,12,0) 60%);
}
.hero .wrap { position: relative; width: 100%; padding-bottom: clamp(56px, 9vh, 110px); padding-top: calc(var(--hdr) + 60px); }
.hero .display { max-width: 11em; margin-top: 26px; }
.hero .lead { margin: 28px 0 40px; color: rgba(245, 240, 230, 0.78); }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
  margin-top: clamp(48px, 8vh, 96px); padding-top: 28px; border-top: 1px solid var(--line);
}
.hero-brands { display: flex; gap: clamp(20px, 4vw, 56px); flex-wrap: wrap; }
.hero-brands a { font: 400 clamp(18px, 1.8vw, 24px)/1 var(--serif); letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); transition: color 0.4s; }
.hero-brands a:hover { color: var(--gold-2); }
.scroll-cue { font: 400 10px/1 var(--sans); letter-spacing: 0.4em; text-transform: uppercase; color: var(--stone); display: flex; align-items: center; gap: 14px; }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Intro statement */
.statement { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 7vw, 120px); align-items: end; }
.statement .h2 { margin: 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line-dark); }
.stats div { padding: 30px 24px 0 0; }
.stats b { display: block; font: 400 clamp(40px, 5vw, 68px)/1 var(--serif); color: var(--ink); }
.stats span { font: 400 11px/1.5 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 800px) { .statement { grid-template-columns: 1fr; } .stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; } }

/* Brand showcase (home) */
.brand-row {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center;
  padding: clamp(56px, 7vw, 100px) 0; border-top: 1px solid var(--line);
}
.brand-row:nth-child(even) .brand-media { order: 2; }
.brand-media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--ink-3); }
.brand-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.brand-media.contain { background: radial-gradient(circle at 50% 45%, #2e2a24 0%, var(--ink-2) 70%); }
.brand-media.contain img { object-fit: contain; padding: 12%; }
.brand-row:hover .brand-media img { transform: scale(1.05); }
.brand-media .num { position: absolute; left: 22px; bottom: 18px; font: italic 400 15px/1 var(--serif); color: var(--gold-2); letter-spacing: 0.1em; }
.brand-copy .name { font: 400 clamp(48px, 6.4vw, 96px)/0.95 var(--serif); letter-spacing: 0.04em; margin: 22px 0 6px; }
.brand-copy .tag { font: italic 400 clamp(20px, 2vw, 28px)/1.3 var(--serif); color: var(--gold-2); margin: 0 0 22px; }
.brand-copy p { color: var(--stone); max-width: 30em; margin: 0 0 22px; }
.cats-inline { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 34px; padding: 0; list-style: none; }
.cats-inline li { font: 400 11px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid var(--line); padding: 9px 14px; color: var(--stone); }
@media (max-width: 860px) { .brand-row { grid-template-columns: 1fr; } .brand-row:nth-child(even) .brand-media { order: 0; } }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 60px; animation: marquee 40s linear infinite; padding-left: 60px; }
.marquee span { font: italic 400 clamp(28px, 3.4vw, 46px)/1 var(--serif); color: var(--stone); display: inline-flex; align-items: center; gap: 60px; }
.marquee span::after { content: "✦"; font-style: normal; font-size: 14px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Featured rail */
.rail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 26vw, 360px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.rail > * { scroll-snap-align: start; }
.rail-ctrl { display: flex; gap: 10px; }
.rail-ctrl button { width: 52px; height: 52px; border: 1px solid var(--line-dark); background: none; cursor: pointer; font-size: 18px; transition: background 0.4s, color 0.4s; }
.rail-ctrl button:hover { background: var(--ink); color: var(--ivory); }

/* Product card */
.card { display: flex; flex-direction: column; cursor: pointer; text-align: left; background: none; border: 0; padding: 0; color: inherit; }
.card .im { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ivory-2); }
.card .im img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity 0.6s; }
.card .im.contain { background: radial-gradient(circle at 50% 40%, #fff 0%, var(--ivory-2) 80%); }
.card .im.contain img { object-fit: contain; padding: 14%; }
.card:hover .im img { transform: scale(1.06); }
.card .im::after {
  content: "View details"; position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px;
  font: 500 11px/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--ivory);
  background: linear-gradient(transparent, rgba(15,14,12,0.75)); opacity: 0; transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.card:hover .im::after, .card:focus-visible .im::after { opacity: 1; transform: none; }
.card .tx { padding: 18px 2px 0; }
.card .tag { font: 500 10px/1.4 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: #8f6f37; }
.card h3 { font: 400 26px/1.15 var(--serif); margin: 8px 0 0; }
.dark-cards .card .im { background: var(--ink-3); }
.dark-cards .card .im.contain { background: radial-gradient(circle at 50% 40%, #34302a 0%, var(--ink-2) 80%); }
.dark-cards .card .tag { color: var(--gold); }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 70px; border-top: 1px solid var(--line); }
.why-grid div { padding: 40px 36px 0 0; }
.why-grid div + div { padding-left: 36px; border-left: 1px solid var(--line); }
.why-grid i { font: italic 400 18px/1 var(--serif); color: var(--gold); }
.why-grid h3 { font: 400 30px/1.15 var(--serif); margin: 18px 0 12px; }
.why-grid p { color: var(--stone); margin: 0; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } .why-grid div + div { padding-left: 0; border-left: 0; } }

/* Split image band */
.band { position: relative; height: clamp(420px, 70vh, 760px); overflow: hidden; }
.band img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,14,12,0.78), rgba(15,14,12,0.1)); }
.band .wrap { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.band blockquote { margin: 0; font: italic 400 clamp(30px, 4vw, 56px)/1.15 var(--serif); max-width: 15em; }
.band cite { display: block; margin-top: 26px; font: 400 11px/1 var(--sans); letter-spacing: 0.3em; text-transform: uppercase; font-style: normal; color: var(--gold); }

/* Enquiry */
.enquire { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 120px); }
/* Contact block beside the form (same content as new-svelaris) */
.contact { margin-top: 40px; display: grid; gap: 24px; font-size: 15px; line-height: 1.7; color: var(--mute); }
.contact p { margin: 0; }
.contact b { font-weight: 500; color: var(--ink); }
.contact span { color: rgba(15, 14, 12, 0.85); }
.contact a, .form-note a { color: #8f6f37; text-decoration: underline; text-decoration-color: rgba(143, 111, 55, 0.4); text-underline-offset: 4px; transition: text-decoration-color 0.3s; }
.contact a:hover, .form-note a:hover { text-decoration-color: #8f6f37; }
a[href^="tel:"] { white-space: nowrap; }
.social { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 12px 0 0; }
.social a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: 15px; color: rgba(15, 14, 12, 0.9); text-decoration: none; transition: border-color 0.3s, color 0.3s; }
.social a:hover { border-color: #8f6f37; color: #8f6f37; }
.social a:focus-visible { outline: 2px solid #8f6f37; outline-offset: 2px; }
.social svg { width: 20px; height: 20px; flex-shrink: 0; }
.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; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
/* Sentence-case 14px labels, as on new-svelaris (easier to read than small caps) */
.field label { font: 500 14px/1.4 var(--sans); color: rgba(15, 14, 12, 0.85); }
.field input::placeholder, .field textarea::placeholder { color: rgba(15, 14, 12, 0.45); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.err { margin: 0; font-size: 14px; color: #b3261e; }
.err:empty { display: none; }
.form-err { grid-column: 1 / -1; margin: 0; font-size: 14px; color: #b3261e; }
.form-err:empty { display: none; }
.form-ok:focus { outline: none; }
.field input, .field select, .field textarea {
  font: 300 17px/1.5 var(--sans); color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid rgba(15,14,12,0.25); padding: 10px 0; border-radius: 0;
  transition: border-color 0.4s; outline: none; width: 100%;
}
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238f6f37'/%3E%3C/svg%3E") right 4px center no-repeat; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #8f6f37; }
.form .btn { justify-self: start; }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--mute); margin: 0; }
.form-ok { display: none; grid-column: 1 / -1; border: 1px solid rgba(143, 111, 55, 0.4); padding: 32px; }
.form-ok h3 { font: 400 34px/1.1 var(--serif); margin: 0 0 8px; }
.form.sent > :not(.form-ok) { display: none; }
.form.sent .form-ok { display: block; animation: page-in 0.8s var(--ease); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 860px) { .enquire { grid-template-columns: 1fr; } .form { grid-template-columns: 1fr; } }

/* Footer */
.ftr { border-top: 1px solid var(--line); padding: 80px 0 40px; background: var(--ink); }
.ftr-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; }
.ftr h4 { font: 500 10px/1 var(--sans); letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin: 0 0 22px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ftr ul a { color: var(--stone); transition: color 0.3s; }
.ftr ul a:hover { color: var(--ivory); }
.ftr .big { font: 400 clamp(26px, 3vw, 40px)/1.15 var(--serif); margin: 22px 0 0; max-width: 14em; color: var(--stone); }
.ftr-bottom { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; color: var(--mute); }
.ftr-bottom p { margin: 0; max-width: 60em; }
@media (max-width: 960px) { .ftr-top { grid-template-columns: repeat(3, 1fr); } .ftr-top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .ftr-top { grid-template-columns: 1fr 1fr; } .ftr-top > :first-child, .ftr-top > :last-child { grid-column: 1 / -1; } }

/* Brand page */
.bhero { position: relative; min-height: 92svh; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.bhero-copy { display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--hdr) + 60px) clamp(20px, 5vw, 80px) clamp(48px, 8vh, 96px); }
.bhero-copy .crumb { font: 400 11px/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--mute); margin-bottom: 40px; }
.bhero-copy .crumb a:hover { color: var(--gold); }
.bhero-copy .display { font-size: clamp(56px, 8.6vw, 136px); letter-spacing: 0.03em; margin-top: 22px; }
.bhero-copy .tag { font: italic 400 clamp(22px, 2.4vw, 34px)/1.25 var(--serif); color: var(--gold-2); margin: 18px 0 24px; }
.bhero-copy .lead { margin: 0 0 36px; }
.bhero-media { position: relative; overflow: hidden; background: var(--ink-3); }
.bhero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-out both; }
.bhero-media.contain { background: radial-gradient(circle at 50% 45%, #3a342b 0%, var(--ink-2) 72%); }
.bhero-media.contain img { object-fit: contain; padding: 14%; }
.bhero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(15,14,12,0) 28%); pointer-events: none; }
.bhero-meta { display: flex; gap: 40px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); }
.bhero-meta b { display: block; font: 400 42px/1 var(--serif); }
.bhero-meta span { font: 400 10px/1.4 var(--sans); letter-spacing: 0.26em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 900px) {
  .bhero { grid-template-columns: 1fr; min-height: 0; }
  .bhero-media { order: -1; height: 62vh; }
  .bhero-media::after { background: linear-gradient(180deg, rgba(15,14,12,0.4) 0%, rgba(15,14,12,0) 30%, var(--ink) 100%); }
  .bhero-copy { padding-top: 0; margin-top: -80px; position: relative; z-index: 1; }
}

.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-dark); margin-top: 64px; }
.highlights div { padding: 34px 30px 0 0; }
.highlights div + div { padding-left: 30px; border-left: 1px solid var(--line-dark); }
.highlights h3 { font: 400 28px/1.15 var(--serif); margin: 0 0 10px; }
.highlights p { margin: 0; color: var(--mute); }
@media (max-width: 800px) { .highlights { grid-template-columns: 1fr; } .highlights div + div { padding-left: 0; border-left: 0; } }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin: 48px 0 40px; padding-bottom: 22px; border-bottom: 1px solid var(--line-dark); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font: 400 11px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer;
  padding: 12px 18px; border: 1px solid var(--line-dark); background: transparent; color: var(--ink);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.chip sup { margin-left: 4px; color: #8f6f37; }
.chip[aria-pressed="true"] sup { color: var(--gold-2); }
.search { position: relative; min-width: 240px; }
.search input { width: 100%; font: 300 15px/1 var(--sans); background: transparent; border: 0; border-bottom: 1px solid rgba(15,14,12,0.3); padding: 12px 0 12px 28px; outline: none; color: var(--ink); }
.search input:focus { border-color: #8f6f37; }
.search svg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--mute); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 48px 26px; }
.grid .card { animation: card-in 0.8s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.more { display: flex; justify-content: center; margin-top: 70px; }
.empty { text-align: center; color: var(--mute); padding: 60px 0; grid-column: 1 / -1; font: italic 400 24px/1.4 var(--serif); }
.count { font: 400 11px/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--mute); }

.next-brand { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.next-brand a { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); }
.next-brand img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; transition: transform 1.4s var(--ease), opacity 0.8s; }
.next-brand a.contain img { object-fit: contain; padding: 18%; }
.next-brand a:hover img { transform: scale(1.06); opacity: 0.75; }
.next-brand span { position: absolute; left: 28px; bottom: 26px; font: 400 clamp(28px, 3vw, 44px)/1 var(--serif); letter-spacing: 0.08em; }
.next-brand small { display: block; font: 400 10px/1 var(--sans); letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
@media (max-width: 760px) { .next-brand { grid-template-columns: 1fr; } }

/* Product dialog */
.dlg {
  border: 0; padding: 0; margin: auto; width: min(1180px, calc(100% - 24px)); max-height: calc(100svh - 24px);
  background: var(--ivory); color: var(--ink); overflow: hidden;
}
.dlg[open] { animation: dlg-in 0.6s var(--ease); }
.dlg::backdrop { background: rgba(10, 9, 8, 0.82); backdrop-filter: blur(6px); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(30px) scale(0.98); } to { opacity: 1; transform: none; } }
.dlg-in { display: grid; grid-template-columns: 1.15fr 1fr; max-height: calc(100svh - 24px); }
.dlg-gallery { background: var(--ivory-2); display: flex; flex-direction: column; min-height: 0; }
.dlg-main { flex: 1; min-height: 320px; position: relative; }
.dlg-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.dlg-thumbs { display: flex; gap: 8px; padding: 12px; overflow-x: auto; }
.dlg-thumbs button { flex: 0 0 64px; height: 64px; border: 1px solid transparent; padding: 0; background: #fff; cursor: pointer; opacity: 0.6; transition: opacity 0.3s, border-color 0.3s; }
.dlg-thumbs button[aria-current="true"] { opacity: 1; border-color: #8f6f37; }
.dlg-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.dlg-body { padding: clamp(28px, 4vw, 56px); overflow-y: auto; }
.dlg-body h2 { font: 400 clamp(36px, 4vw, 56px)/1.02 var(--serif); margin: 14px 0 20px; }
.dlg-body p { color: var(--mute); }
.features { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 0; }
.features li { padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; display: flex; gap: 14px; }
.features li::before { content: "—"; color: #8f6f37; }
.spec summary { cursor: pointer; font: 500 11px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: #8f6f37; padding: 14px 0; }
.spec pre { white-space: pre-wrap; font: 13px/1.6 ui-monospace, monospace; color: var(--mute); background: var(--ivory-2); padding: 16px; margin: 0; max-height: 260px; overflow: auto; }
.spec small { display: block; margin-top: 8px; color: var(--mute); font-size: 12px; }
.dlg-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.dlg-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 46px; height: 46px; border: 0; background: var(--ink); color: var(--ivory); cursor: pointer; font-size: 20px; transition: background 0.3s; }
.dlg-close:hover { background: #8f6f37; }
@media (max-width: 860px) {
  .dlg-in { grid-template-columns: 1fr; overflow-y: auto; }
  .dlg-main { min-height: 50vh; }
  .dlg-body { overflow: visible; }
}

/* Series tabs (Whitelion): one tab per series, product cut-out on the right */
.series { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 56px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.series-tab {
  position: relative; isolation: isolate; overflow: hidden; min-height: 176px; padding: 24px 26px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  text-align: left; cursor: pointer; border: 0; background: var(--ivory); color: rgba(15, 14, 12, 0.6);
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}
.series-tab::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: #8f6f37; transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.series-tab:hover { background: #efe9dd; color: var(--ink); }
.series-tab[aria-selected="true"] { background: var(--ivory-2); color: var(--ink); }
.series-tab[aria-selected="true"]::before { transform: scaleX(1); }
.series-tab:focus-visible { outline: 2px solid #8f6f37; outline-offset: -2px; z-index: 1; }
.st-top { position: relative; z-index: 1; display: flex; justify-content: space-between; font: 400 11px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); }
.series-tab[aria-selected="true"] .st-num { color: #8f6f37; }
.st-name { position: relative; z-index: 1; max-width: 60%; }
.st-name b { display: block; font: 400 clamp(30px, 3vw, 42px)/1.1 var(--serif); }
.st-name small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--mute); }
.st-img {
  position: absolute; right: 22px; top: 56px; bottom: 20px; width: 42%; height: calc(100% - 76px);
  object-fit: contain; object-position: right center; pointer-events: none;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45)); opacity: 0.45;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.series-tab:hover .st-img { opacity: 0.8; transform: scale(1.04); }
.series-tab[aria-selected="true"] .st-img { opacity: 1; }
@media (max-width: 860px) { .series { grid-template-columns: 1fr; } }

.series-intro { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--line-dark); }
.series-intro .lead { margin: 0; max-width: 40em; color: rgba(15, 14, 12, 0.78); }
.series-intro.swap { animation: card-in 0.6s var(--ease) both; }
#series-panel .toolbar { margin-top: 28px; }
.wbadge { display: flex; align-items: center; gap: 14px; }
.wbadge b { display: flex; align-items: baseline; gap: 4px; font: 400 40px/1 var(--serif); color: #8f6f37; }
.wbadge b small { font: 400 12px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.wbadge span { font-size: 14px; line-height: 1.4; }

/* Series grid: 4:3 frames so the Air Series renders show whole; sub-group headings */
.grid-x .card .im { aspect-ratio: 4 / 3; }
.grid-x .card .im.contain img, .dlg .fr.contain img { padding: 9%; }
.grid-group { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin: 12px 0 -22px; font: 500 11px/1 var(--sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--mute); }
.grid-group::before { content: ""; width: 24px; height: 1px; background: #8f6f37; }
.grid-group:first-child { margin-top: 0; }
.card-x .im.contain { background: none; }
.card-x .tl { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--mute); }
.mini { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 14px 0 0; }
.mini li { font: 400 11px/1 var(--sans); letter-spacing: 0.04em; border: 1px solid var(--line-dark); padding: 6px 9px; color: rgba(15, 14, 12, 0.7); }

/* Rich detail view */
.dlg:has(.rich) { overflow: auto; }
.dlg-bar { position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 16px 12px clamp(20px, 3vw, 32px); background: rgba(245, 240, 230, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-dark); }
.dlg-bar .crumbs { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 400 11px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); }
.dlg-bar .crumbs i { font-style: normal; color: #8f6f37; margin: 0 6px; }
.dlg-bar .crumbs b { font-weight: 400; color: var(--ink); }
.dlg-nav { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.dlg-nav .pos { font-size: 12px; color: var(--mute); margin-right: 6px; font-variant-numeric: tabular-nums; }
.dlg-nav button { width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 50%; background: none; cursor: pointer; transition: border-color 0.3s, color 0.3s, background 0.3s; }
.dlg-nav button:hover { border-color: #8f6f37; color: #8f6f37; }
.dlg-nav .dlg-x { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.dlg-nav .dlg-x:hover { background: #8f6f37; border-color: #8f6f37; color: var(--ivory); }
.dlg-in.rich { max-height: none; align-items: start; }
.dlg-in.rich .dlg-gallery { background: none; padding: clamp(16px, 2.4vw, 32px); position: sticky; top: 69px; }
.dlg-in.rich .dlg-body { overflow: visible; }
.fr { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ivory-2); }
.fr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fr.contain img { object-fit: contain; }
.dlg-hero .fr { border: 1px solid var(--line-dark); animation: page-in 0.5s var(--ease); }
.dlg-in.rich .dlg-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 12px 0 0; overflow: visible; }
.dlg-in.rich .dlg-thumbs button { height: auto; padding: 0; border: 1px solid transparent; background: none; opacity: 0.55; transition: opacity 0.3s, border-color 0.3s; cursor: pointer; }
.dlg-in.rich .dlg-thumbs button:hover { opacity: 0.9; }
.dlg-in.rich .dlg-thumbs button[aria-pressed="true"] { opacity: 1; border-color: #8f6f37; }
.dlg .eyebrow { color: #8f6f37; }
.dlg-tag { font: italic 400 24px/1.3 var(--serif); color: var(--ink) !important; margin: -6px 0 18px; }
.lbl { display: flex; align-items: center; gap: 12px; margin: 34px 0 14px; font: 500 11px/1 var(--sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--mute); }
.lbl::before { content: ""; width: 24px; height: 1px; background: #8f6f37; }
.variants { display: flex; flex-wrap: wrap; gap: 8px; }
.variants button { min-height: 44px; padding: 0 14px; border: 1px solid var(--line-dark); background: none; cursor: pointer; font-size: 14px; color: rgba(15, 14, 12, 0.75); transition: border-color 0.3s, background 0.3s; }
.variants button:hover { border-color: rgba(15, 14, 12, 0.4); color: var(--ink); }
.variants button[aria-checked="true"] { border-color: #8f6f37; background: rgba(143, 111, 55, 0.1); color: var(--ink); }
.vnote { font-size: 14px; margin: 10px 0 0; }
.specs { margin: 0; border-top: 1px solid var(--line-dark); }
.specs div { display: grid; grid-template-columns: 11rem 1fr; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.specs dt { font: 500 11px/1.6 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.specs dd { margin: 0; font-size: 15px; }
@media (max-width: 560px) { .specs div { grid-template-columns: 1fr; gap: 2px; } }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pills li { font-size: 13px; border: 1px solid var(--line-dark); border-radius: 999px; padding: 6px 14px; color: rgba(15, 14, 12, 0.8); }
.wbox { border: 1px solid rgba(143, 111, 55, 0.3); background: rgba(143, 111, 55, 0.04); padding: 24px; }
.wbox ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.wbox li { display: flex; gap: 10px; font-size: 14px; line-height: 1.55; color: var(--mute); }
.wbox li::before { content: "✓"; color: #8f6f37; }
.wbox > small { display: block; margin-top: 14px; font-size: 12px; color: var(--mute); }
@media (max-width: 860px) { .dlg-in.rich .dlg-gallery { position: static; } .dlg-nav .pos { display: none; } }

/* Warranty & installation (Whitelion) */
.care { border-top: 1px solid var(--line); }
.care-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(48px, 8vw, 120px); }
.care .lead { color: rgba(245, 240, 230, 0.8); }
.care-badge { display: flex; align-items: center; gap: 28px; margin-top: 40px; }
.care-badge img { width: 128px; height: auto; flex-shrink: 0; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.55)); }
.care-badge p { margin: 0; color: rgba(245, 240, 230, 0.9); max-width: 20em; }
.care-badge ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; font-size: 14px; color: var(--stone); }
.care-h3 { font: 400 clamp(30px, 3vw, 40px)/1.15 var(--serif); margin: 0; }
.steps { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 4rem 1fr; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.steps li > span { font: 400 32px/1 var(--serif); color: var(--gold); }
.steps h4 { margin: 0; font: 500 18px/1.4 var(--sans); }
.steps p { margin: 8px 0 0; color: var(--stone); }
@media (max-width: 900px) { .care-grid { grid-template-columns: 1fr; } .steps li { grid-template-columns: 3rem 1fr; } }

/* Scroll reveal */
.rv { opacity: 0; transform: translateY(36px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.rv-img { clip-path: inset(12% 0 0 0); transition: clip-path 1.6s var(--ease); }
.rv-img.in { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  .rv-img { clip-path: none; }
  html { scroll-behavior: auto; }
}
