/* ===== VistaFrame UPVC — landing page ===== */
:root {
  --g950: #07160f;
  --g900: #0d2a20;
  --g800: #123a2c;
  --g700: #1a4d3a;
  --g500: #2f7d5c;
  --wa: #25d366;
  --wa-d: #1aa851;
  --gold: #c9a45c;
  --cream: #ffffff;
  --cream-2: #eaeeec;
  --paper: #ffffff;
  --ink: #10201a;
  --muted: #5d6c65;
  --line: rgba(16, 32, 26, .1);
  --radius: 18px;
  --shadow: 0 1px 2px rgba(13,42,32,.06), 0 12px 32px -12px rgba(13,42,32,.18);
  --shadow-lg: 0 30px 60px -20px rgba(13,42,32,.35);
  --ease: cubic-bezier(.22,1,.36,1);
  --head: "Outfit", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;
  --hh: 76px;
  --card: #fff;
  --card-soft: rgba(255,255,255,.6);
  --glass: rgba(255,255,255,.88);
  --accent-ink: var(--g700);
  --icon-ink: var(--g800);
  --eyebrow: var(--g500);
  --solid: var(--g900);
  --solid-border: var(--g900);
  --line-strong: rgba(16,32,26,.22);
}

/* ===== NIGHT THEME (sun/moon switch in the header) ===== */
:root[data-time="night"] {
  color-scheme: dark;
  --paper: #0b1611;
  --cream: #0f1f18;
  --cream-2: #172b22;
  --ink: #e8efe9;
  --muted: #9db0a6;
  --line: rgba(232,239,233,.12);
  --line-strong: rgba(232,239,233,.25);
  --card: #132620;
  --card-soft: rgba(255,255,255,.04);
  --glass: rgba(11,22,17,.86);
  --accent-ink: #7fd6a8;
  --icon-ink: var(--gold);
  --eyebrow: #6cc596;
  --solid: #1f6b4e;
  --solid-border: rgba(232,239,233,.35);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.6);
  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.75);
}
:root[data-time="night"] .why, :root[data-time="night"] .why .stat { background: #0d2219; }
:root[data-time="night"] .cta-band { background: #0f2a1f; }
:root[data-time="night"] .footer { background: #050d09; }
/* smooth colour change while switching */
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after { transition: background-color .6s ease, color .6s ease, border-color .6s ease, box-shadow .6s ease, opacity 1.4s ease, transform .7s var(--ease) !important; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 16px; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); margin: 0; line-height: 1.08; letter-spacing: -.02em; }
p { margin: 0; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
.flip { transform: scaleX(-1); }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.hide-sm { }
:focus-visible { outline: 2px solid var(--g500); outline-offset: 3px; border-radius: 6px; }

/* type */
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--eyebrow); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; opacity: .7; }
.eyebrow.light { color: var(--gold); }
.h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; }
.h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; }
.light { color: #fff; }
.u { --hl: rgba(201,164,92,.34); background: linear-gradient(transparent 17%, var(--hl) 17%, var(--hl) 91%, transparent 91%) no-repeat; background-size: 0% 100%; padding: 0 .08em; margin: 0 -.02em; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size 1.1s var(--ease) .35s; }
.in .u, .u.in { background-size: 100% 100%; }
.lead { color: var(--muted); font-size: 17px; max-width: 46ch; }
.muted { color: var(--muted); font-size: 15px; }
.link { color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.fine { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 18px; }

/* buttons */
.btn { --bg: var(--g900); display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 0; cursor: pointer; position: relative; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s; white-space: nowrap; }
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn-primary { background: var(--solid); color: #fff; box-shadow: 0 10px 24px -10px rgba(13,42,32,.6); }
.btn-primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, var(--g700), var(--g500)); transform: translateX(-101%); transition: transform .5s var(--ease); }
.btn-primary:hover::before { transform: none; }
.btn-primary:hover { box-shadow: 0 16px 32px -12px rgba(13,42,32,.7); }
.btn-glass { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.24); }
.btn-light { background: #fff; color: var(--g900); }
.btn-light:hover { background: var(--cream); }
.btn-wa { background: var(--wa); color: #06331a; }
.btn-wa:hover { background: #3ee07a; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn:active { transform: scale(.97); }

/* ===== HEADER ===== */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hh); transition: height .4s var(--ease), color .4s; color: #fff; isolation: isolate; }
.header::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--glass); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(13,42,32,.25); opacity: 0; transition: opacity .4s; }
.header.scrolled::before { opacity: 1; }
.header.scrolled { color: var(--ink); --hh: 66px; height: 66px; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1.5px solid currentColor; }
.brand-mark svg { width: 28px; height: 28px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-family: var(--head); font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.brand-text em { font-style: normal; color: var(--gold); }
.brand-text small { font-size: 11px; opacity: .75; letter-spacing: .03em; margin-top: 3px; }
.nav { margin-left: auto; display: flex; gap: 6px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; position: relative; transition: background .25s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-mobile-cta { display: none !important; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; opacity: .85; transition: opacity .2s, background .2s; }
.icon-btn:hover { opacity: 1; background: rgba(255,255,255,.12); }
.icon-btn svg { width: 18px; height: 18px; }
.header:not(.scrolled) .btn-primary { background: #fff; color: var(--g900); }
.header:not(.scrolled) .btn-primary::before { background: var(--cream); }
.time-toggle { position: relative; flex-shrink: 0; width: 42px; height: 42px; padding: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: inherit; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(12px) saturate(1.4); -webkit-backdrop-filter: blur(12px) saturate(1.4); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 18px -8px rgba(0,0,0,.35); transition: background .3s, border-color .3s, transform .4s var(--ease); }
.time-toggle:hover { background: rgba(255,255,255,.24); transform: rotate(-12deg); }
.header.scrolled .time-toggle { background: rgba(16,32,26,.05); border-color: var(--line); box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
[data-time="night"] .header.scrolled .time-toggle { background: rgba(255,255,255,.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.tt-sun, .tt-moon { grid-area: 1 / 1; width: 19px; height: 19px; transition: opacity .45s, transform .7s var(--ease); }
.tt-moon { opacity: 0; transform: rotate(-90deg) scale(.4); }
[data-time="night"] .tt-sun { opacity: 0; transform: rotate(90deg) scale(.4); }
[data-time="night"] .tt-moon { opacity: 1; transform: none; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid currentColor; background: none; cursor: pointer; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }
.scroll-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--gold), var(--g500)); transform-origin: left; transform: scaleX(0); }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--g950); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; transform: scale(1.15); animation: heroZoom 2.6s var(--ease) forwards; will-change: transform; }
@keyframes heroZoom { to { transform: scale(1.02); } }
/* day / night hero: day photo sits underneath, night photo fades over it */
.hero-img { position: absolute; inset: 0; }
.hero-img.night { opacity: 0; transition: opacity 1.4s ease; }
[data-time="night"] .hero-img.night { opacity: 1; }
.hero-shade { transition: opacity 1.4s ease; }
.hero-shade.day-shade { background: linear-gradient(90deg, rgba(10,30,45,.66) 0%, rgba(10,30,45,.34) 36%, rgba(10,30,45,0) 62%), linear-gradient(0deg, rgba(7,22,15,.45), transparent 32%) !important; }
[data-time="night"] .hero-shade.day-shade { opacity: 0; }
:root:not([data-time="night"]) .hero > .hero-media > .hero-shade:not(.day-shade) { opacity: 0; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,22,15,.8) 0%, rgba(7,22,15,.5) 36%, rgba(7,22,15,0) 66%), linear-gradient(0deg, rgba(7,22,15,.55), transparent 35%); }
.hero-inner { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding: calc(var(--hh) + 60px) 0 90px; }
.hero-copy { max-width: 640px; }
.hero-title { font-size: clamp(48px, 8vw, 104px); font-weight: 800; line-height: .98; letter-spacing: -.035em; margin: 6px 0 24px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.14em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); animation: lineUp 1.1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .12s; }
.hero-title .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { to { transform: none; } }
.hero-title .accent { background: linear-gradient(100deg, #f3e3bd, var(--gold) 55%, #e8d3a2); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .18em; margin-bottom: -.18em; }
.hero-lead { font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,.82); max-width: 50ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 40px; }
.hero .eyebrow { color: var(--gold); }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 26px; font-size: 13.5px; line-height: 1.3; color: rgba(255,255,255,.85); }
.hero-points li { display: flex; align-items: center; gap: 12px; }
.hero-points li span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); }
.hero-points svg { width: 19px; height: 19px; color: var(--gold); }
.glass { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-radius: 20px; }
.hero-card { padding: 20px 22px; min-width: 270px; animation: float 6s ease-in-out infinite 2s; }
@keyframes float { 50% { translate: 0 -10px; } }
.hero-card-top { display: flex; align-items: center; gap: 14px; }
.hero-card-top b { font-family: var(--head); font-size: 22px; display: block; }
.hero-card-top small { color: rgba(255,255,255,.75); font-size: 13px; }
.avatars { display: flex; }
.avatars i { width: 36px; height: 36px; border-radius: 50%; background: var(--c); border: 2px solid rgba(255,255,255,.9); display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 14px; margin-left: -10px; }
.avatars i:first-child { margin-left: 0; }
.hero-card-rating { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); font-size: 13.5px; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.85); }
.stars { display: inline-flex; gap: 2px; color: #f5c451; }
.stars svg { width: 15px; height: 15px; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ===== BENEFITS ===== */
.benefits { background: var(--paper); border-bottom: 1px solid var(--line); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.benefit { display: flex; gap: 16px; padding: 34px 24px; border-left: 1px solid var(--line); transition: background .3s; }
.benefit:first-child { border-left: 0; }
.benefit:hover { background: var(--cream); }
.b-ic { width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: var(--cream-2); color: var(--icon-ink); transition: transform .5s var(--ease), background .3s, color .3s; }
.benefit:hover .b-ic { transform: rotate(-8deg) scale(1.08); background: var(--solid); color: var(--gold); }
.b-ic svg { width: 26px; height: 26px; }
.benefit h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.benefit p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ===== SECTION HEADS ===== */
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow::before { display: none; }

/* ===== PRODUCTS ===== */
.products { background: var(--cream); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: pointer; transform-style: preserve-3d; transition: box-shadow .4s var(--ease), translate .4s var(--ease); }
.product:hover { box-shadow: var(--shadow-lg); translate: 0 -6px; }
.p-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--cream-2); }
.p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.product:hover .p-img img { transform: scale(1.08); }
.p-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%); transform: translateX(-100%); transition: transform 1s var(--ease); }
.product:hover .p-img::after { transform: translateX(100%); }
.p-tag { position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--g950); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; z-index: 1; }
.p-body { padding: 22px 24px 24px; }
.p-body h3 { font-size: 21px; font-weight: 600; margin-bottom: 6px; }
.p-body p { font-size: 14.5px; color: var(--muted); }
.p-link { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--accent-ink); background: none; border: 0; padding: 0; cursor: pointer; }
.p-link .ic { transition: transform .35s var(--ease); }
.product:hover .p-link .ic { transform: translateX(5px); }

/* ===== PANORAMIC GALLERY ===== */
.pano { position: relative; height: 380vh; background: var(--g950); color: #fff; }
.pano-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; justify-content: center; perspective: 1200px; }
.pano-glow { position: absolute; width: min(70vmax, 140vw); height: min(70vmax, 140vw); border-radius: 50%; background: radial-gradient(circle, rgba(47,125,92,.35), transparent 60%); filter: blur(30px); pointer-events: none; }
.pano-scene { position: absolute; inset: 0; z-index: 10; will-change: transform; }
.pano-card { position: absolute; left: 50%; top: 50%; width: 16vw; height: var(--ch, 36vh); margin: calc(var(--ch, 36vh) / -2) 0 0 -8vw; will-change: transform; transform-origin: 50% 50%; }
.pano-card button { all: unset; display: block; width: 100%; height: 100%; cursor: pointer; background: #fff; padding: 8px 8px 0; border-radius: 10px; box-shadow: 0 30px 60px -18px rgba(0,0,0,.6); box-sizing: border-box; color: #10201a; display: flex; flex-direction: column; }
.pano-card .ph { position: relative; flex: 1; overflow: hidden; border-radius: 5px; background: #ddd; }
.pano-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pano-card .ph::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.12); transition: background .5s; }
.pano-card button:hover img { transform: scale(1.07); }
.pano-card button:hover .ph::after { background: transparent; }
.pano-card .cap { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 4px 9px; font-size: 13px; line-height: 1.2; }
.pano-card .cap b { font-family: var(--head); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pano-card .cap span { color: #5d6c65; font-size: 11.5px; display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.pano-card .cap svg { width: 12px; height: 12px; color: var(--g500); }
.pano-intro { position: absolute; top: 14vh; text-align: center; z-index: 12; pointer-events: none; }
.pano-intro .eyebrow::before { display: none; }
.pano-intro .h2 { font-size: clamp(28px, 3.4vw, 44px); }
.pano-text { position: absolute; z-index: 5; text-align: center; padding: 0 24px; pointer-events: none; top: 50%; translate: 0 -50%; opacity: 0; }
.pano-text .eyebrow::before { display: none; }
.pano-text .h2 { font-size: clamp(30px, 4vw, 60px); }
.pano-sub .btn { margin-top: 18px; }
.pano-sub p { margin: 0; }
.pano-sub.compact p { display: none; }
.pano-sub.compact .btn { margin-top: 0; }
.pano-sub { position: absolute; z-index: 12; bottom: 5vh; left: 50%; translate: -50% 0; width: calc(100% - 40px); text-align: center; opacity: 0; pointer-events: none; max-width: 56ch; margin: 0; color: rgba(255,255,255,.7); font-size: clamp(14px, 1.1vw, 17px); }

/* ===== BEFORE / AFTER ===== */
.ba { background: var(--paper); }
.ba-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 15.5px; }
.ticks svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--cream-2); color: var(--accent-ink); }
.ba-copy .lead { margin-top: 18px; }
.ba-slider { position: relative; aspect-ratio: 4/3; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); user-select: none; touch-action: pan-y; background: #ccc; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-before { }
.ba-label { position: absolute; top: 18px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; pointer-events: none; }
.ba-label.l { left: 18px; background: rgba(16,32,26,.78); color: #fff; }
.ba-label.r { right: 18px; background: var(--wa); color: #06331a; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; box-shadow: 0 0 12px rgba(0,0,0,.35); }
.ba-handle span { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 54px; height: 54px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--g900); box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: scale .25s var(--ease); }
.ba-slider:hover .ba-handle span, .ba-slider.dragging .ba-handle span { scale: 1.1; }
.ba-handle svg { width: 18px; height: 18px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* ===== WHY ===== */
.why { background: var(--g900); color: #fff; position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); }
.why .container { position: relative; }
.why .eyebrow { color: var(--gold); }
.why .u { --hl: rgba(201,164,92,.4); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; margin-bottom: 40px; }
.stat { background: var(--g900); padding: 30px 20px; text-align: center; }
.stat b { display: block; font-family: var(--head); font-size: clamp(36px, 4vw, 52px); font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.stat > span { font-size: 14px; color: rgba(255,255,255,.7); }
.compare { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; max-width: 900px; margin: 0 auto; }
.cmp-row { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); align-items: center; border-top: 1px solid rgba(255,255,255,.08); }
.cmp-row:first-child { border-top: 0; }
.cmp-row > span { padding: 16px 20px; font-size: 15px; display: flex; justify-content: center; }
.cmp-row > span:first-child { justify-content: flex-start; color: rgba(255,255,255,.85); }
.cmp-head > span { font-family: var(--head); font-weight: 600; font-size: 16px; color: rgba(255,255,255,.7); }
.cmp-row .hl { background: rgba(201,164,92,.12); }
.cmp-head .hl { color: var(--gold); }
.cmp-row svg { width: 20px; height: 20px; }
.yes { color: #6fe0a3; }
.no { color: #ff8f8f; }
.mid { color: rgba(255,255,255,.55); font-size: 13.5px !important; }
.why .fine { color: rgba(255,255,255,.5); }

/* ===== PROCESS ===== */
.process { background: var(--cream); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; top: 32px; left: 32px; right: calc(20% - 32px); height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.steps::after { background: linear-gradient(90deg, var(--g500), var(--gold)); transform-origin: left; transform: scaleX(var(--prog, 0)); transition: transform .2s linear; }
.step { position: relative; z-index: 1; }
.s-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1.5px solid var(--line); color: var(--icon-ink); margin-bottom: 20px; transition: background .5s, color .5s, border-color .5s, transform .5s var(--ease); }
.s-ic svg { width: 26px; height: 26px; }
.step.on .s-ic { background: var(--solid); color: var(--gold); border-color: var(--solid); transform: scale(1.06); box-shadow: 0 0 0 8px rgba(47,125,92,.12); }
.s-no { font-family: var(--head); font-weight: 700; color: var(--g500); font-size: 14px; }
.step h3 { font-size: 20px; font-weight: 600; margin: 4px 0 6px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ===== TRIO (areas / reviews / cta) ===== */
.trio { background: var(--paper); padding-top: 0; }
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; margin-bottom: clamp(56px, 8vw, 96px); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--head); font-size: clamp(26px, 3vw, 38px); font-weight: 600; padding: 0 28px; color: var(--ink); opacity: .85; display: inline-flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee-track span::after { content: "✦"; font-size: .5em; color: var(--gold); margin-left: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }
.trio-grid > * { min-width: 0; }
.trio-grid { display: grid; grid-template-columns: 1fr 1fr 1.05fr; gap: 28px; align-items: stretch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 20px; }
.chips span { padding: 7px 14px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: 13.5px; transition: background .25s, color .25s, transform .3s var(--ease); cursor: default; }
.chips span:hover { background: var(--solid); color: #fff; transform: translateY(-2px); }
.reviews { display: flex; flex-direction: column; }
.review-viewport { overflow: hidden; border-radius: var(--radius); flex: 1; }
.review-track { display: flex; transition: transform .7s var(--ease); height: 100%; }
.review { flex: 0 0 100%; margin: 0; padding: 28px; background: var(--cream); border-radius: var(--radius); position: relative; display: flex; flex-direction: column; }
.review::before { content: "\201C"; position: absolute; right: 22px; top: -6px; font-family: Georgia, serif; font-size: 110px; color: var(--gold); opacity: .3; line-height: 1; }
.review blockquote { margin: 14px 0 20px; font-size: 16px; line-height: 1.6; flex: 1; }
.review figcaption { font-size: 13.5px; color: var(--muted); }
.review figcaption b { display: block; color: var(--ink); font-size: 15px; }
.review-dots { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.review-dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: width .4s var(--ease), background .3s; }
.review-dots button.on { width: 26px; background: var(--accent-ink); }
.cta-card { position: relative; border-radius: 22px; overflow: hidden; color: #fff; min-height: 340px; display: flex; isolation: isolate; }
.cta-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.cta-card:hover img { transform: scale(1.06); }
.cta-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(7,22,15,.92), rgba(13,42,32,.7)); }
.cta-inner { padding: 32px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.cta-inner p { color: rgba(255,255,255,.8); font-size: 15px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* ===== QUOTE ===== */
.quote { background: var(--cream); }
.quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.quote-copy .lead { margin-top: 16px; }
.contact-list { display: grid; gap: 12px; margin-top: 34px; }
.contact-list > * { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--card-soft); border: 1px solid var(--line); font-weight: 600; transition: transform .35s var(--ease), background .3s; }
.contact-list a:hover { transform: translateX(6px); background: var(--card); }
.contact-list small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.contact-list > * > span { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--solid); color: var(--gold); }
.contact-list > * > span.wa { background: var(--wa); color: #06331a; }
.contact-list svg { width: 20px; height: 20px; }
.quote-form { background: var(--paper); border-radius: 24px; padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span { font-size: 13.5px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); outline: none; transition: border-color .25s, box-shadow .25s; font-size: 15px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%235d6c65' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--g500); box-shadow: 0 0 0 4px rgba(47,125,92,.14); }
.field.invalid input { border-color: #d65a5a; box-shadow: 0 0 0 4px rgba(214,90,90,.12); animation: shake .4s; }
@keyframes shake { 25% { translate: -5px 0; } 75% { translate: 5px 0; } }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { cursor: pointer; }
.pills label { position: relative; }
.pills input { position: absolute; left: 0; top: 0; width: 1px !important; height: 1px; margin: 0; padding: 0 !important; opacity: 0; pointer-events: none; }
.pills span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 500; transition: all .25s var(--ease); user-select: none; }
.pills input:checked + span { background: var(--solid); color: #fff; border-color: var(--solid); }
.pills input:checked + span::before { content: "✓"; font-size: 12px; color: var(--gold); }
.pills input:focus-visible + span { outline: 2px solid var(--g500); outline-offset: 2px; }
.upload { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; border: 1.5px dashed var(--line-strong); cursor: pointer; transition: border-color .25s, background .25s; font-size: 14px; }
.upload:hover, .upload.has { border-color: var(--g500); background: rgba(47,125,92,.05); }
.upload input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.upload > svg { width: 24px; height: 24px; color: var(--g500); }
.upload small { display: block; color: var(--muted); font-size: 12.5px; }
.form-error { color: #c04545; font-size: 14px; font-weight: 500; min-height: 0; }
.form-error:empty { display: none; }

/* ===== FOOTER ===== */
.footer { background: var(--g950); color: rgba(255,255,255,.75); padding: 72px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 48px; }
.brand.light { color: #fff; }
.f-about { margin-top: 18px; max-width: 34ch; }
.footer h4 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a, .footer ul span { display: inline-flex; align-items: center; gap: 10px; transition: color .2s; }
.footer ul a:hover { color: var(--gold); }
.footer ul svg { color: var(--gold); width: 16px; height: 16px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); transition: background .25s, color .25s, transform .3s var(--ease); }
.socials a:hover { background: var(--gold); color: var(--g950); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-bottom a { color: var(--gold); }

/* ===== FLOATING ===== */
.fab-wa { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: flex; align-items: center; justify-content: center; gap: 0; height: 58px; min-width: 58px; padding: 0 16px; border-radius: 999px; background: var(--wa); color: #06331a; font-weight: 700; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7); transition: transform .4s var(--ease), box-shadow .3s; }
.fab-wa svg { width: 26px; height: 26px; }
.fab-wa span { max-width: 0; margin-left: 0; overflow: hidden; white-space: nowrap; transition: max-width .5s var(--ease), margin-left .5s var(--ease); }
.fab-wa:hover span { max-width: 120px; margin-left: 10px; }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: ping 2.4s infinite; }
@keyframes ping { 0% { opacity: .8; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(1.45); } }
.mobile-bar { display: none; }
.toast { position: fixed; left: 50%; bottom: 28px; translate: -50% 140%; z-index: 80; background: var(--g900); color: #fff; padding: 13px 20px; border-radius: 14px; font-size: 14.5px; box-shadow: var(--shadow-lg); transition: translate .5s var(--ease), opacity .3s; opacity: 0; max-width: calc(100% - 32px); }
.toast.show { translate: -50% 0; opacity: 1; }

/* ===== LIGHTBOX ===== */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(5,14,10,.94); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; padding: 24px; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; color: #fff; transform: scale(.94); transition: transform .5s var(--ease); }
.lightbox.open figure { transform: none; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox figcaption { margin-top: 14px; font-size: 15px; color: rgba(255,255,255,.8); }
.lightbox figcaption b { color: #fff; font-family: var(--head); font-size: 18px; margin-right: 8px; }
.lb-close, .lb-nav { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .25s; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 20px; right: 20px; }
.lb-nav.prev { left: 20px; top: 50%; translate: 0 -50%; }
.lb-nav.next { right: 20px; top: 50%; translate: 0 -50%; }
.lb-close svg, .lb-nav svg { width: 22px; height: 22px; }

/* ===== REVEAL ANIMATIONS ===== */
.js [data-anim] { opacity: 0; transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js [data-anim="fade-up"] { transform: translateY(34px); }
.js [data-anim="fade-left"] { transform: translateX(40px); }
.js [data-anim="zoom"] { transform: scale(.92); }
.js [data-anim].in { opacity: 1; transform: none; }
.js .hero [data-anim] { transition-duration: 1.1s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {
  .nav { position: fixed; inset: 0 0 auto; top: 0; flex-direction: column; gap: 4px; padding: 96px 24px 28px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); transform: translateY(-105%); transition: transform .55s var(--ease); z-index: -1; }
  .nav.open { transform: none; }
  .nav a { font-size: 20px; font-family: var(--head); padding: 12px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:not(.btn)::after { display: none; }
  .nav-mobile-cta { display: inline-flex !important; margin-top: 16px; border-radius: 999px !important; border: 0 !important; font-size: 16px !important; color: #fff !important; background: var(--g900) !important; }
  .menu-btn { display: grid; color: inherit; }
  .header.menu-open { color: var(--ink); }
  .header-actions { margin-left: auto; }
  .hero-card { display: none; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit:nth-child(3) { border-left: 0; }
  .benefit:nth-child(n+3) { border-top: 1px solid var(--line); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .trio-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cta-card { grid-column: 1 / -1; min-height: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .section-head.split { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ba-grid, .quote-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before, .steps::after { top: 32px; bottom: 32px; left: 31px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px); }
  .steps::after { background: linear-gradient(180deg, var(--g500), var(--gold)); transform-origin: top; transform: scaleY(var(--prog, 0)); }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; padding-bottom: 28px; }
  .s-ic { grid-row: span 3; margin-bottom: 0; }
  .s-no { padding-top: 6px; }
  .pano-card { width: 38vw; height: var(--ch, 30vh); margin: calc(var(--ch, 30vh) / -2) 0 0 -19vw; }
  .pano-card .cap { font-size: 11.5px; padding: 6px 2px 7px; }
  .pano-card .cap span { display: none; }
  .pano-card button { padding: 5px 5px 0; }
}
@media (max-width: 640px) {
  :root { --hh: 66px; }
  body { padding-bottom: 68px; }
  .container { width: calc(100% - 32px); }
  .hide-sm { display: none !important; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-mark svg { width: 24px; height: 24px; }
  .brand-text b { font-size: 18px; }
  .brand-text small { font-size: 10px; white-space: nowrap; }
  .header-inner { gap: 12px; }
  .header-actions { gap: 8px; }
  .hero-inner { padding: calc(var(--hh) + 40px) 0 84px; }
  .hero-shade { background: linear-gradient(0deg, rgba(7,22,15,.92) 10%, rgba(7,22,15,.55) 60%, rgba(7,22,15,.35)); }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-points { gap: 14px 20px; }
  .scroll-cue { display: none; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit { border-left: 0 !important; padding: 22px 4px; }
  .benefit:nth-child(n+2) { border-top: 1px solid var(--line); }
  .product-grid { grid-template-columns: 1fr; gap: 18px; }
  .trio-grid { grid-template-columns: minmax(0, 1fr); }
  .f-row { grid-template-columns: 1fr; }
  .cmp-row { grid-template-columns: 1.3fr repeat(3, .8fr); }
  .cmp-row > span { padding: 13px 8px; font-size: 13px; }
  .cmp-row > span:first-child { padding-left: 14px; }
  .cmp-head > span { font-size: 13.5px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer { padding-bottom: 0; }
  .fab-wa { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 999px; font-weight: 600; border: 1.5px solid var(--solid-border); }
  .mobile-bar a.primary { background: var(--solid); color: #fff; }
  .mobile-bar svg { width: 18px; height: 18px; }
  .toast { bottom: 84px; }
  .pano-sub { bottom: calc(4vh + 68px); font-size: 13.5px; }
  .lb-nav { top: auto !important; bottom: 24px; translate: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-title .line > span { transform: none; }
  .pano { height: auto; }
  .pano-stage { position: relative; height: auto; perspective: none; padding: 80px 20px; flex-direction: column; }
  .pano-intro { display: none; }
  .pano-text { position: relative; opacity: 1; translate: none; margin-bottom: 16px; }
  .pano-sub { position: relative; opacity: 1; translate: none; left: auto; bottom: auto; margin: 0 auto 40px; }
  .pano-scene { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; width: 100%; max-width: 1200px; }
  .pano-card { position: relative; left: auto; top: auto; margin: 0; width: auto; height: 260px; transform: none !important; }
}

/* =========================================================
   OUR WORK PAGE
   ========================================================= */
.page-hero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--g950); }
.page-hero .hero-shade { background: linear-gradient(0deg, rgba(7,22,15,.94) 8%, rgba(7,22,15,.55) 55%, rgba(7,22,15,.35)); }
.page-hero-inner { position: relative; padding: calc(var(--hh) + 80px) 0 64px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }
.crumbs span { color: var(--gold); font-weight: 600; }
.page-title { font-size: clamp(56px, 10vw, 128px); margin-bottom: 18px; }
.page-hero .hero-lead { max-width: 58ch; }
.page-stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; margin-top: 40px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(255,255,255,.07); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); width: fit-content; max-width: 100%; }
.page-stats > div { padding: 16px 28px; border-left: 1px solid rgba(255,255,255,.14); }
.page-stats > div:first-child { border-left: 0; }
.page-stats b { display: block; font-family: var(--head); font-size: 30px; font-weight: 700; color: var(--gold); line-height: 1.1; }
.page-stats b small { font-size: .6em; margin-left: 2px; }
.page-stats > div > span { font-size: 13px; color: rgba(255,255,255,.72); }

.gallery { background: var(--paper); padding-top: 56px; }
.gallery-bar { position: sticky; top: 66px; z-index: 20; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; padding: 14px 0; margin-bottom: 28px; background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.filters { position: relative; display: flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 26px; background: var(--cream); border: 1px solid var(--line); max-width: 100%; }
.filters::-webkit-scrollbar { display: none; }
.filter { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; white-space: nowrap; color: var(--muted); transition: color .35s; }
.filter small { font-size: 11.5px; opacity: .6; margin-left: 3px; }
.filter:hover { color: var(--ink); }
.filter.on { color: #fff; }
.filter-pill { position: absolute; z-index: 0; left: 0; top: 0; height: 0; border-radius: 999px; background: var(--solid); transition: transform .5s var(--ease), width .5s var(--ease), height .5s var(--ease); box-shadow: 0 8px 18px -8px rgba(13,42,32,.6); }
.g-count { font-size: 14px; color: var(--muted); white-space: nowrap; margin: 0 0 14px; }

.masonry { columns: 3 300px; column-gap: 22px; }
.g-card { break-inside: avoid; margin-bottom: 22px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .4s var(--ease), translate .4s var(--ease); }
.g-card[hidden] { display: none; }
.g-card.enter { animation: gIn .7s var(--ease) both; }
@keyframes gIn { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
.g-card:hover { box-shadow: var(--shadow-lg); translate: 0 -4px; }
.g-open { all: unset; display: block; position: relative; width: 100%; cursor: zoom-in; }
.g-img { display: block; overflow: hidden; background: var(--cream-2); }
.g-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.g-card:hover .g-img img { transform: scale(1.06); }
.g-over { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: flex-start; padding: 14px; background: linear-gradient(180deg, rgba(7,22,15,.35), transparent 40%); }
.g-tag { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.92); color: var(--g900); }
.g-exp { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--g900); opacity: 0; transform: scale(.7); transition: opacity .35s, transform .45s var(--ease); }
.g-exp svg { width: 16px; height: 16px; }
.g-card:hover .g-exp, .g-open:focus-visible .g-exp { opacity: 1; transform: none; }
.g-meta { padding: 16px 18px 18px; display: grid; gap: 8px; }
.g-meta h3 { font-size: 18px; font-weight: 600; }
.g-meta p { display: flex; align-items: center; gap: 5px; font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.g-meta p svg { width: 14px; height: 14px; color: var(--g500); }
.g-scope { font-size: 13px; color: var(--accent-ink); font-weight: 600; padding-top: 10px; border-top: 1px dashed var(--line); }
.lb-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.g-tools { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.g-search { display: flex; align-items: center; gap: 8px; padding: 0 13px; height: 46px; width: 46px; overflow: hidden; cursor: pointer; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); transition: width .45s var(--ease), border-color .25s, box-shadow .25s; }
.g-search:hover { border-color: var(--line-strong); }
.g-search:focus-within, .g-search.has-q { width: 260px; cursor: text; }
.g-search:focus-within { border-color: var(--g500); box-shadow: 0 0 0 4px rgba(47,125,92,.12); }
.g-search svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.g-search input { flex: 1; border: 0; background: none; outline: none; font-size: 14.5px; color: var(--ink); min-width: 0; }
.g-empty { text-align: center; color: var(--muted); padding: 30px 0 10px; }
.g-more { text-align: center; margin-top: 12px; }
#gSentinel { height: 1px; }
.g-card .g-img img { opacity: 0; transition: opacity .5s ease, transform 1s var(--ease); }
.g-card.loaded .g-img img { opacity: 1; }
.g-card .g-img { background: linear-gradient(100deg, var(--cream-2) 30%, var(--cream) 50%, var(--cream-2) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
.g-card.loaded .g-img { animation: none; background: var(--cream-2); }
@keyframes shimmer { to { background-position: -150% 0; } }
.g-skel { pointer-events: none; }
.g-skel .g-meta i { display: block; height: 12px; border-radius: 6px; background: var(--cream-2); width: 70%; }
.g-skel .g-meta i + i { width: 45%; }
.fb-right { display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.owner-link { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.5) !important; }
.owner-link:hover { color: var(--gold) !important; }
.owner-link svg { width: 13px; height: 13px; }

.featured { background: var(--cream); }
.featured-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.featured-media { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5/4; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.f-badge { position: absolute; left: 18px; top: 18px; background: var(--gold); color: var(--g950); font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; }
.featured-copy .lead { margin-top: 16px; }
.f-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 28px 0 30px; background: var(--line); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.f-facts > div { background: var(--paper); padding: 14px 16px; }
.f-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.f-facts dd { margin: 4px 0 0; font-weight: 600; font-size: 15px; }

.cta-band { background: var(--g900); color: #fff; padding: clamp(56px, 8vw, 96px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 600px; height: 600px; right: -150px; top: -250px; border-radius: 50%; background: radial-gradient(circle, rgba(201,164,92,.25), transparent 65%); }
.cta-band-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band p { color: rgba(255,255,255,.75); margin-top: 12px; max-width: 52ch; }

@media (max-width: 860px) {
  .featured-grid { grid-template-columns: 1fr; }
  .gallery-bar { flex-direction: column; align-items: stretch; gap: 8px; }
  .g-count { text-align: center; }
}
@media (max-width: 640px) {
  .page-hero { min-height: 72svh; }
  .page-hero-inner { padding: calc(var(--hh) + 56px) 0 40px; }
  .page-stats { grid-template-columns: repeat(2, 1fr); width: 100%; }
  .page-stats > div { padding: 14px 16px; }
  .page-stats > div:nth-child(3) { border-left: 0; }
  .page-stats > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
  .page-stats b { font-size: 24px; }
  .gallery-bar { margin-inline: -16px; padding-inline: 16px; }
  .masonry { columns: 2 150px; column-gap: 12px; }
  .g-card { margin-bottom: 12px; border-radius: 14px; }
  .g-meta { padding: 10px 12px 12px; gap: 6px; }
  .g-meta h3 { font-size: 14.5px; }
  .g-meta p { font-size: 12px; }
  .g-scope { font-size: 11.5px; padding-top: 7px; }
  .g-tag { font-size: 10.5px; padding: 4px 9px; }
  .g-over { padding: 8px; }
  .f-facts { grid-template-columns: 1fr; }
  .cta-band .cta-btns .btn { flex: 1 1 100%; }
}
.m-br { display: none; }
@media (max-width: 860px) { .m-br { display: inline; } }

/* =========================================================
   COMPACT PHONE LAYOUT (shorter scrolling, boxes side by side)
   ========================================================= */
@media (max-width: 860px) {
  .g-tools { flex-direction: column; align-items: stretch; gap: 6px; }
  .g-search { min-width: 0; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 28px; }
  .h2 { font-size: clamp(30px, 8.4vw, 38px); }
  .lead { font-size: 15.5px; }

  /* hero: three points in one row */
  .hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-size: 12px; text-align: center; }
  .hero-points li { flex-direction: column; gap: 6px; }
  .hero-points li span { width: 38px; height: 38px; }

  /* benefits: 2 x 2 */
  .benefits-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .benefit { flex-direction: column; gap: 10px; padding: 20px 12px !important; border: 0 !important; }
  .benefit:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .benefit:nth-child(n+3) { border-top: 1px solid var(--line) !important; }
  .b-ic { width: 44px; height: 44px; border-radius: 12px; }
  .b-ic svg { width: 22px; height: 22px; }
  .benefit h3 { font-size: 15px; }
  .benefit p { font-size: 12.5px; }

  /* products: 2 per row */
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product { border-radius: 14px; }
  .p-body { padding: 12px 12px 14px; }
  .p-body h3 { font-size: 15.5px; margin-bottom: 4px; }
  .p-body p { font-size: 12.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .p-link { margin-top: 8px; font-size: 13px; }
  .p-tag { font-size: 10.5px; padding: 4px 9px; top: 8px; left: 8px; }

  /* 3D gallery: shorter scroll distance */
  .pano { height: 280vh; }

  /* before / after */
  .ticks { margin-top: 18px; gap: 8px; }
  .ticks li { font-size: 14px; }

  /* why: tighter */
  .stats { margin-bottom: 24px; }
  .stat { padding: 20px 12px; }

  /* process: swipeable row of cards instead of a tall timeline */
  .steps { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin: 0 -16px; padding: 4px 16px 14px; scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .steps::before, .steps::after { display: none; }
  .step { flex: 0 0 74%; display: block; scroll-snap-align: start; padding: 18px; padding-bottom: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
  .s-ic { width: 46px; height: 46px; margin-bottom: 14px; }
  .step.on .s-ic { transform: none; box-shadow: none; }
  .step { display: grid !important; grid-template-columns: 46px 1fr; column-gap: 12px; align-items: center; }
  .step .s-ic { grid-row: 1 / 3; margin-bottom: 0; }
  .step .s-no { align-self: end; }
  .step h3 { align-self: start; margin: 0; }
  .step p { grid-column: 1 / -1; margin-top: 12px; }
  .s-ic svg { width: 22px; height: 22px; }
  .s-no { padding-top: 0; }
  .step h3 { font-size: 18px; }
  .process { padding-bottom: 36px; }

  /* reviews/areas */
  .marquee { padding: 16px 0; margin-bottom: 44px; }
  .chips { margin: 16px 0 14px; }
  .chips span { font-size: 12.5px; padding: 6px 12px; }
  .cta-card { min-height: 0; }
  .cta-inner { padding: 24px; }

  /* quote: three contact tiles in a row */
  .contact-list { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; }
  .contact-list > * { flex-direction: column; text-align: center; gap: 8px; padding: 12px 6px; font-size: 12px; line-height: 1.3; }
  .contact-list > * > span { width: 38px; height: 38px; border-radius: 10px; }
  .contact-list a:hover { transform: none; }
  .contact-list small { font-size: 11px; }

  /* footer: links side by side */
  .footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 16px; padding-bottom: 30px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }

  /* our work page */
  .f-facts { grid-template-columns: 1fr 1fr; }
  .f-facts > div { padding: 12px; }
  .f-facts dd { font-size: 13.5px; }
  .g-more .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .pano { height: auto !important; } }

/* =========================================================
   PRODUCT RANGE: drawings, menu dropdown, home panel, products page
   ========================================================= */
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn-outline:hover { border-color: var(--g500); color: var(--accent-ink); }

/* line drawings */
.dg { display: block; width: 100%; height: 100%; color: var(--ink); overflow: visible; }
.dg .f { fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linejoin: round; }
.dg .f.thick { stroke-width: 5; }
.dg .f.slimf { stroke-width: 1.8; }
.dg .p { fill: rgba(47,125,92,.09); stroke: currentColor; stroke-width: 1.6; }
.dg .p.slim { stroke-width: .9; fill: rgba(47,125,92,.14); }
.dg .ghost { fill: none; stroke: currentColor; stroke-width: 1; stroke-dasharray: 3 3; opacity: .45; }
.dg .s { fill: currentColor; opacity: .14; stroke: none; }
.dg .i { fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-dasharray: 5 4; stroke-linejoin: round; }
.dg .a { fill: none; stroke: var(--g500); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.dg .a path { fill: none; }
.dg .h { stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.dg .m { stroke: currentColor; stroke-width: .5; opacity: .35; }
.dg .m2 { stroke: currentColor; stroke-width: 1; opacity: .4; }
.dg .g { stroke: currentColor; stroke-width: 1.1; opacity: .55; }
.dg .z { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linejoin: round; }
.dg .lv { stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; opacity: .75; }
.dg .fl { stroke: currentColor; stroke-width: 1.4; opacity: .35; }
.dg .fl.level { opacity: .7; stroke-width: 2; }
:root[data-time="night"] .dg .a { stroke: #6cc596; }
/* hover: hinge marks march, arrows nudge */
.model:hover .dg .i, .mega li a:hover .dg .i, .rp-col li a:hover .dg .i { animation: march 1s linear infinite; }
.model:hover .dg .a, .mega li a:hover .dg .a, .rp-col li a:hover .dg .a { animation: nudge 1s ease-in-out infinite; }
@keyframes march { to { stroke-dashoffset: -18; } }
@keyframes nudge { 50% { transform: translateX(3px); } }

/* ---- header dropdown ---- */
.nav-item { position: relative; display: flex; align-items: center; }
.mega-toggle { width: 26px; height: 26px; margin-left: -10px; border: 0; background: none; color: inherit; display: grid; place-items: center; cursor: pointer; border-radius: 6px; opacity: .8; }
.mega-toggle svg { width: 14px; height: 14px; transform: rotate(90deg); transition: transform .3s var(--ease); }
.nav-item:hover .mega-toggle svg, .nav-item.open .mega-toggle svg { transform: rotate(-90deg); }
.mega { position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 8px; width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; padding: 18px; border-radius: 18px; background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transition: opacity .25s, translate .35s var(--ease), visibility .25s; z-index: 60; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-item:hover .mega, .nav-item:focus-within .mega, .nav-item.open .mega { opacity: 1; visibility: visible; translate: -50% 0; }
.mega-h { font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--eyebrow); padding: 2px 8px 6px; }
.mega-h small { font-size: 11px; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.mega ul, .rp-col ul { list-style: none; margin: 0; padding: 0; }
.nav .mega a { display: flex; align-items: center; gap: 10px; padding: 6px 8px !important; border-radius: 10px !important; font-size: 14px !important; font-family: var(--body) !important; font-weight: 500; border: 0 !important; color: var(--ink); transition: background .2s, color .2s; }
.nav .mega a::after { display: none !important; }
.nav .mega a:hover { background: var(--cream-2); color: var(--accent-ink); }
.mi { width: 30px; height: 26px; flex-shrink: 0; color: var(--ink); }
.mi .dg .f { stroke-width: 6; } .mi .dg .p { stroke-width: 3; } .mi .dg .i, .mi .dg .z { stroke-width: 4; stroke-dasharray: 9 7; } .mi .dg .a { stroke-width: 5; } .mi .dg .h { stroke-width: 6; }
.mi .dg .m, .mi .dg .g, .mi .dg .lv, .mi .dg .fl { display: none; }
.nav .mega .mega-all { grid-column: 1 / -1; justify-content: center; margin-top: 6px; padding: 11px !important; background: var(--solid); color: #fff !important; font-weight: 600; }
.nav .mega .mega-all:hover { background: var(--g700); color: #fff; }

@media (max-width: 1080px) {
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-item > a[data-mega] { flex: 1; border-bottom: 0 !important; }
  .mega-toggle { width: 44px; height: 44px; margin: 0; opacity: 1; }
  .mega-toggle svg { width: 18px; height: 18px; }
  .nav-item:hover .mega-toggle svg { transform: rotate(90deg); }
  .nav-item.open .mega-toggle svg { transform: rotate(-90deg); }
  .mega { position: static; translate: none !important; width: 100%; display: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 4px 0 12px; background: none; grid-template-columns: 1fr 1fr; gap: 4px 10px; }
  .nav-item:hover .mega, .nav-item:focus-within .mega { display: none; }
  .nav-item.open .mega { display: grid; }
  .nav .mega a { font-size: 13.5px !important; padding: 6px 4px !important; gap: 8px; }
  .mi { width: 24px; height: 22px; }
  .nav { max-height: 100svh; overflow-y: auto; }
}

/* ---- home: popular cards links + full range panel ---- */
.p-links { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; }
.p-links .p-link { margin-top: 0; }
.p-more { font-size: 13.5px; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.p-more:hover { color: var(--accent-ink); }
.range-panel { margin-top: 28px; padding: 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.rp-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.rp-top .eyebrow { margin-bottom: 6px; }
.rp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.rp-h { font-family: var(--head); font-weight: 700; font-size: 18px; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.rp-h small { font-size: 12.5px; color: var(--muted); font-weight: 600; font-family: var(--body); margin-left: 6px; }
.rp-col ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
.rp-col li a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; font-size: 14px; font-weight: 500; transition: background .2s, color .2s; }
.rp-col li a:hover { background: var(--cream-2); color: var(--accent-ink); }

/* ---- products page ---- */
.range { padding-top: 40px; }
.range-bar { margin-bottom: 36px; }
.dg-legend { display: flex; gap: 16px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.dg-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg-hinge { width: 22px; height: 0; border-top: 2px dashed var(--gold); }
.lg-arrow { position: relative; width: 22px; height: 2px; background: var(--g500); }
.lg-arrow::after { content: ""; position: absolute; right: -1px; top: -3px; border: 4px solid transparent; border-left: 6px solid var(--g500); border-right: 0; }
.range-group + .range-group { margin-top: clamp(56px, 8vw, 96px); }
.range-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.range-count { font-weight: 600; color: var(--muted); font-size: 14px; white-space: nowrap; padding: 6px 14px; border-radius: 999px; background: var(--cream-2); }
.model-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.model { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .4s var(--ease), translate .4s var(--ease), border-color .3s; scroll-margin-top: 140px; }
.model:hover { box-shadow: var(--shadow-lg); translate: 0 -4px; }
.model.flash { animation: flash 2s var(--ease); }
@keyframes flash { 0%, 60% { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,164,92,.35), var(--shadow-lg); } }
.m-visual { position: relative; aspect-ratio: 16 / 11; padding: 22px 30px 18px; background:
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 20px 20px,
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 20px 20px,
  var(--cream); border-bottom: 1px solid var(--line); }
.m-visual.has-img { padding: 0; }
.m-visual > img { width: 100%; height: 100%; object-fit: cover; }
.m-mini { position: absolute; right: 10px; bottom: 10px; width: 54px; height: 46px; padding: 4px; border-radius: 10px; background: rgba(255,255,255,.92); color: #10201a; }
.m-type, .m-pop { position: absolute; top: 12px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.m-type { left: 12px; background: var(--card); color: var(--muted); border: 1px solid var(--line); }
.m-pop { right: 12px; background: var(--gold); color: var(--g950); }
.m-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.m-body h3 { font-size: 21px; font-weight: 600; }
.m-body > p { font-size: 14.5px; color: var(--muted); }
.m-tags { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.m-tags li { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--cream-2); color: var(--accent-ink); }
.m-best { font-size: 13.5px; margin-top: auto !important; padding-top: 10px; border-top: 1px dashed var(--line); color: var(--ink) !important; }
.m-best b { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.m-act { display: flex; gap: 8px; margin-top: 4px; }
.m-act .btn-primary { flex: 1; }

.options { background: var(--cream); }
.opt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.opt { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.opt h3 { font-size: 20px; margin-bottom: 14px; }
.opt ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.opt li { font-size: 13.5px; color: var(--muted); padding-left: 16px; position: relative; }
.opt li::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.opt li b { display: block; color: var(--ink); font-size: 14.5px; }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 8px; }
.swatches span { display: grid; justify-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; text-align: center; }
.swatches span::before { content: ""; width: 46px; height: 46px; border-radius: 12px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 6px 14px -8px rgba(0,0,0,.4); }
.opt-note { font-size: 13px; color: var(--muted); margin-top: 16px; }

@media (max-width: 960px) {
  .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opt-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .rp-cols { grid-template-columns: 1fr; gap: 18px; }
  .range-bar { flex-direction: column; align-items: stretch; }
  .dg-legend { justify-content: center; }
}
@media (max-width: 640px) {
  .range-panel { padding: 18px 14px; border-radius: 18px; }
  .rp-top .btn { width: 100%; }
  .rp-col li a { font-size: 12.5px; padding: 6px 4px; gap: 6px; }
  .rp-col .mi { width: 22px; height: 20px; }
  .p-links { margin-top: 8px; }
  .p-more { font-size: 12px; }
  .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .model { border-radius: 14px; }
  .m-visual { padding: 14px 12px 10px; aspect-ratio: 4 / 3; }
  .m-type { display: none; }
  .m-pop { font-size: 10px; padding: 3px 8px; top: 8px; right: 8px; }
  .m-body { padding: 12px; gap: 7px; }
  .m-body h3 { font-size: 15px; }
  .m-body > p { font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .m-tags { display: none; }
  .m-best { font-size: 12px; padding-top: 7px; }
  .m-act { flex-direction: column; gap: 6px; }
  .m-act .btn { padding: 9px 10px; font-size: 13px; }
  .range-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 18px; }
  .opt { padding: 18px; }
}
.range-index { margin: 0 0 clamp(48px, 7vw, 80px); }
.range-index .rp-top .muted { max-width: 40ch; }
@media (max-width: 640px) { .range-index .rp-top .muted { display: none; } }
@media (max-width: 640px) { .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-radius: 999px; } .g-tools { margin-left: 0; } }

/* gallery bar: one row (filters + compact search) */
.gallery-bar { flex-wrap: nowrap; }
.gallery-bar .filters { flex: 0 1 auto; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-radius: 999px; }
.gallery-bar .filters::-webkit-scrollbar { display: none; }
.g-tools { flex-shrink: 0; }
@media (max-width: 860px) {
  .gallery-bar { flex-wrap: wrap; }
  .gallery-bar .g-tools, .g-search, .g-search:focus-within, .g-search.has-q { width: 100%; }
  .g-search { cursor: text; }
}
