/* ============ DMS — Dethans Motor Sports ============ */
:root {
  --yellow: #ffd60a;
  --yellow-2: #ffe54d;
  --yellow-deep: #e6b800;
  --black: #0a0a0b;
  --ink-on-yellow: #0a0a0b;

  /* light theme */
  --bg: #f5f4ee;
  --bg-2: #ecebe3;
  --surface: #ffffff;
  --surface-2: #f0efe8;
  --text: #0c0c0d;
  --muted: #5f5e58;
  --line: rgba(12, 12, 13, 0.1);
  --line-strong: rgba(12, 12, 13, 0.22);
  --accent-ink: #9a7a00;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.25);

  --font-display: 'Saira Condensed', 'Arial Narrow', sans-serif;
  --font-wide: 'Michroma', 'Arial', sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(72px, 10vw, 150px);
  --radius: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-2: cubic-bezier(0.65, 0, 0.35, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0a0a0b; --bg-2: #101012; --surface: #131315; --surface-2: #1a1a1d; --text: #f4f3ee; --muted: #8f8e88;
    --line: rgba(244, 243, 238, 0.1); --line-strong: rgba(244, 243, 238, 0.22); --accent-ink: #ffd60a; --shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #0a0a0b; --bg-2: #101012; --surface: #131315; --surface-2: #1a1a1d; --text: #f4f3ee; --muted: #8f8e88;
  --line: rgba(244, 243, 238, 0.1); --line-strong: rgba(244, 243, 238, 0.22); --accent-ink: #ffd60a; --shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { background: var(--bg); color: var(--text); font-family: var(--font-sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background-color .5s var(--ease), color .5s var(--ease); }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--yellow); color: var(--black); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--yellow); color: var(--black); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.muted { color: var(--muted); }
em { font-style: inherit; color: var(--accent-ink); }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Logo (mask-based so it recolours with theme) ---------- */
.logo { display: inline-flex; flex-direction: column; gap: 4px; color: var(--text); }
.logo-dms, .logo-tag { display: block; background: currentColor; -webkit-mask: url(/img/dms-mask.png) center/contain no-repeat; mask: url(/img/dms-mask.png) center/contain no-repeat; }
.logo-dms { width: 92px; aspect-ratio: 1421 / 219; }
.logo-tag { width: 92px; aspect-ratio: 1217 / 35; -webkit-mask-image: url(/img/tagline-mask.png); mask-image: url(/img/tagline-mask.png); opacity: .85; }
.logo-lg .logo-dms, .logo-lg .logo-tag { width: 170px; }
.logo-xl .logo-dms, .logo-xl .logo-tag { width: min(56vw, 360px); }
.site-header .logo .logo-dms { color: var(--yellow); }

/* ---------- Typography ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-wide); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ''; width: 22px; height: 3px; background: var(--yellow); transform: skewX(-30deg); }
.h-hero, .h-display, .h-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.005em; line-height: .9; font-style: italic; }
.h-hero { font-size: clamp(54px, 9vw, 150px); }
.h-display { font-size: clamp(44px, 6.4vw, 104px); }
.h-title { font-size: clamp(38px, 4.8vw, 72px); }
.lead { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: var(--muted); max-width: 52ch; }

/* split text */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; padding-right: .06em; }
.split .w > span { display: inline-block; transform: translateY(110%) skewY(6deg); transition: transform 1s var(--ease); transition-delay: calc(var(--wi) * 45ms + var(--d, 0ms)); }
.split.in .w > span { transform: none; }
html:not(.js) .split .w > span { transform: none; }

/* reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn { --bh: 48px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--bh); padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), background-color .3s, color .3s, border-color .3s; }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); border-radius: inherit; transition: transform .5s var(--ease); }
.btn:hover::after { transform: none; }
.btn-sm { --bh: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { --bh: 58px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-yellow { background: var(--yellow); color: var(--ink-on-yellow); }
.btn-yellow::after { background: var(--black); }
.btn-yellow:hover { color: var(--yellow); }
.btn-ghost { border: 1.5px solid var(--line-strong); color: var(--text); }
.btn-ghost::after { background: var(--yellow); }
.btn-ghost:hover { color: var(--black); border-color: var(--yellow); }
.btn-dark { background: var(--black); color: var(--yellow); }
.btn-dark::after { background: #fff; }
.btn-dark:hover { color: var(--black); }
.btn-outline-dark { border: 1.5px solid var(--black); color: var(--black); }
.btn-outline-dark::after { background: var(--black); }
.btn-outline-dark:hover { color: var(--yellow); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.link-arrow .ico { transition: transform .4s var(--ease); }
.link-arrow:hover .ico { transform: translateX(6px); }
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 12px; font-weight: 600; letter-spacing: .04em; transition: background .3s, color .3s, border-color .3s; }
.chip:hover, .chip.is-active { background: var(--yellow); color: var(--black); border-color: var(--yellow); }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 200; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 4vh; color: #f4f3ee; padding: var(--gutter); }
html.first-visit .loader { display: flex; }
.loader-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 50% 120%, #2a2300 0%, #0a0a0b 55%); }
.loader-logo .logo { color: var(--yellow); }
.loader-logo .logo-dms, .loader-logo .logo-tag { opacity: 0; transform: translateY(20px); animation: fadeUp .9s var(--ease) .1s forwards; }
.loader-logo .logo-tag { animation-delay: .25s; color: #f4f3ee; }
.loader-stage { position: relative; width: min(520px, 86vw); height: 150px; overflow: hidden; }
.loader-car { position: absolute; left: 50%; bottom: 22px; width: 300px; transform: translateX(-50%); animation: carBob .35s ease-in-out infinite alternate; }
.loader-car .wheel { animation: spin .35s linear infinite; }
.loader-car .beam { animation: beam 1.2s ease-in-out infinite alternate; }
.loader.go .loader-car { animation: carGo .9s cubic-bezier(.6, 0, .9, .3) forwards; }
.road { position: absolute; left: 0; right: 0; bottom: 14px; height: 3px; background: rgba(255, 214, 10, .2); overflow: hidden; }
.road span { position: absolute; inset: 0; width: 200%; background: repeating-linear-gradient(90deg, var(--yellow) 0 40px, transparent 40px 80px); animation: road .4s linear infinite; }
.speedlines i { position: absolute; height: 2px; left: 100%; width: 80px; background: linear-gradient(90deg, transparent, rgba(255, 214, 10, .7)); animation: speed .7s linear infinite; }
.speedlines i:nth-child(1) { top: 30%; animation-delay: .1s; }
.speedlines i:nth-child(2) { top: 45%; animation-delay: .35s; width: 120px; }
.speedlines i:nth-child(3) { top: 60%; animation-delay: .2s; }
.speedlines i:nth-child(4) { top: 20%; animation-delay: .5s; width: 50px; }
.speedlines i:nth-child(5) { top: 70%; animation-delay: .6s; }
.speedlines i:nth-child(6) { top: 52%; animation-delay: .05s; width: 140px; }
.loader-meta { position: absolute; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); display: flex; justify-content: space-between; align-items: flex-end; }
.loader-label { font-family: var(--font-wide); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #8f8e88; }
.loader-count { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: clamp(64px, 12vw, 160px); line-height: .8; font-variant-numeric: tabular-nums; }
.loader-count i { color: var(--yellow); font-style: italic; }
.loader.done { transform: translateY(-100%); transition: transform .9s cubic-bezier(.77, 0, .18, 1); }
.loader.gone { display: none !important; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes road { to { transform: translateX(-80px); } }
@keyframes speed { to { transform: translateX(-700px); } }
@keyframes carBob { to { transform: translateX(-50%) translateY(-2px); } }
@keyframes carGo { 0% { transform: translateX(-50%); } 20% { transform: translateX(-62%); } 100% { transform: translateX(180%); } }
@keyframes beam { from { opacity: .5; } to { opacity: 1; } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* page wipe for internal navigation */
.page-wipe { position: fixed; inset: 0; z-index: 190; background: var(--yellow); transform: translateY(100%); pointer-events: none; }
.page-wipe::after { content: ''; position: absolute; inset: 0; margin: auto; width: 140px; aspect-ratio: 1421/219; background: var(--black); -webkit-mask: url(/img/dms-mask.png) center/contain no-repeat; mask: url(/img/dms-mask.png) center/contain no-repeat; }
.page-wipe.in { transform: none; transition: transform .55s cubic-bezier(.77, 0, .18, 1); }
.page-wipe.out { transform: translateY(-100%); transition: transform .65s cubic-bezier(.77, 0, .18, 1); }

/* cursor + progress */
.cursor { position: fixed; left: 0; top: 0; z-index: 180; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1.5px solid var(--yellow); border-radius: 50%; pointer-events: none; opacity: 0; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .3s, opacity .3s; mix-blend-mode: difference; }
.cursor.on { opacity: 1; }
.cursor.hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: var(--yellow); }
@media (hover: none), (max-width: 900px) { .cursor { display: none; } }
.scroll-progress { position: fixed; left: 0; top: 0; z-index: 120; height: 3px; width: 100%; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; padding: 14px var(--gutter); transition: transform .5s var(--ease), padding .4s var(--ease); }
.site-header::before { content: ''; position: absolute; inset: 0; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .4s; }
.site-header.scrolled::before { opacity: 1; }
.site-header.hide { transform: translateY(-110%); }
.dark-top .site-header:not(.scrolled) { color: #f4f3ee; }
.dark-top .site-header:not(.scrolled) .logo { color: #f4f3ee; }
.dark-top .site-header:not(.scrolled) .theme-switch { border-color: rgba(255,255,255,.25); }
.dark-top .site-header:not(.scrolled) .burger span { background: #f4f3ee; }
.nav-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; }
.nav-links ul { display: flex; gap: clamp(14px, 2vw, 34px); }
.nav-link { position: relative; display: block; overflow: hidden; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.nav-link span { display: block; transition: transform .45s var(--ease); }
.nav-link span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--yellow); }
.nav-link:hover span { transform: translateY(-100%); }
.nav-link::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-switch { display: flex; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; }
.theme-switch input { position: absolute; opacity: 0; pointer-events: none; }
.theme-switch label > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; cursor: pointer; opacity: .6; transition: background .3s, color .3s, opacity .3s; }
.theme-switch .ico { width: 15px; height: 15px; }
.theme-switch input:checked + span { background: var(--yellow); color: var(--black); opacity: 1; }
.theme-switch input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
.burger { display: none; width: 42px; height: 42px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger span { width: 24px; height: 2px; background: var(--text); transition: transform .4s var(--ease), opacity .3s; }
.menu-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.menu-open .site-header { color: var(--text) !important; }
.menu-open .site-header .burger span { background: var(--text) !important; }
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--bg); display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px; clip-path: circle(0 at calc(100% - 40px) 36px); transition: clip-path .8s cubic-bezier(.77, 0, .18, 1); }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 36px); }
.mobile-menu li { overflow: hidden; }
.mobile-menu li a { display: block; font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 12vw, 80px); line-height: 1; transform: translateY(110%); transition: transform .7s var(--ease), color .3s; transition-delay: calc(var(--i) * 60ms + .2s); }
.mobile-menu li a:hover { color: var(--yellow); }
.menu-open .mobile-menu li a { transform: none; }
.mm-foot { margin-top: 40px; display: grid; gap: 12px; color: var(--muted); }
.mm-foot a { display: flex; gap: 10px; align-items: center; }
@media (max-width: 1080px) { .nav-links { display: none; } .burger { display: flex; } }
@media (max-width: 560px) { .hide-sm { display: none; } .theme-switch label > span { width: 26px; height: 26px; } }

/* ---------- Hero scroll video ---------- */
.hv { position: relative; height: 560vh; background: #050505; color: #f4f3ee; }
.hv-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hv-canvas, .hv-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.hv-fallback { object-fit: cover; opacity: 0; }
html:not(.js) .hv-fallback, .no-canvas .hv-fallback { opacity: 1; }
.hv-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, transparent 25%, transparent 60%, rgba(0,0,0,.75) 100%); }
.hv-stage { position: absolute; z-index: 2; opacity: 0; visibility: hidden; will-change: opacity, transform; }
.hv-stage.active { visibility: visible; }
.hv-s1 { inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--gutter); }
.hv-s1 { justify-content: flex-end; padding-bottom: 22vh; }
.hv-title { max-width: 16ch; font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(42px, 6.4vw, 108px); line-height: .9; text-shadow: 0 12px 50px rgba(0,0,0,.7); }
.hv-title em { color: var(--yellow); }
.hv-kicker { color: #e9e7de; margin-bottom: 18px; }
.hv-kicker, .hv-title, .hv-sub, .hv-scroll { opacity: 0; transform: translateY(30px); }
.hero-ready .hv-kicker { animation: heroIn 1.1s var(--ease) .1s forwards; }
.hero-ready .hv-title { animation: heroIn 1.4s var(--ease) .25s forwards; }
.hero-ready .hv-sub { animation: heroIn 1.2s var(--ease) .55s forwards; }
.hero-ready .hv-scroll { animation: heroIn 1.2s var(--ease) .9s forwards; }
@keyframes heroIn { from { opacity: 0; transform: translateY(40px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
.hv-sub { animation: heroIn 1.2s var(--ease) .55s forwards; }
.hero-ready .hv-scroll { animation: heroIn 1.2s var(--ease) .9s forwards; }
@keyframes heroIn { from { opacity: 0; transform: translateY(40px) scale(.96); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
.hv-sub { margin-top: 3vh; max-width: 60ch; font-family: var(--font-wide); font-size: clamp(9px, 0.9vw, 12px); line-height: 1.9; letter-spacing: .2em; text-transform: uppercase; color: #cfcdc4; }
.hv-scroll { position: absolute; bottom: 5vh; left: 50%; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: #bdbbb2; white-space: nowrap; bottom: 7vh; }
.mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; position: relative; }
.mouse i { position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--yellow); border-radius: 3px; animation: wheel 1.6s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
.hv-left, .hv-right { bottom: 14vh; max-width: min(560px, 86vw); }
.hv-left { left: var(--gutter); }
.hv-right { right: var(--gutter); text-align: right; }
.hv-right .eyebrow { flex-direction: row-reverse; }
.hv-h { font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(46px, 6.6vw, 110px); line-height: .88; margin: 14px 0 16px; text-shadow: 0 10px 40px rgba(0,0,0,.5); }
.hv-h em { color: var(--yellow); }
.hv-stage p:not(.eyebrow) { color: #d6d4cb; font-size: clamp(15px, 1.3vw, 18px); max-width: 42ch; text-shadow: 0 2px 20px rgba(0,0,0,.7); }
.hv-right p:not(.eyebrow) { margin-left: auto; }
.hv-stage .eyebrow { color: #e9e7de; }
.hv-cta { inset: 0; display: grid; place-items: center; padding: var(--gutter); }
.hv-card { width: min(640px, 100%); padding: clamp(24px, 4vw, 48px); border-radius: 24px; background: rgba(10, 10, 11, .62); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255, 214, 10, .28); box-shadow: 0 40px 100px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06); }
.hv-card .hv-h { font-size: clamp(40px, 5vw, 78px); }
.hv-contact { display: grid; gap: 10px; margin-bottom: 26px; color: #d6d4cb; }
.hv-contact li { display: flex; gap: 10px; align-items: flex-start; }
.hv-contact .ico { color: var(--yellow); margin-top: 3px; }
.hv-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hv-actions .btn-ghost { color: #f4f3ee; border-color: rgba(255,255,255,.3); }
.hv-progress { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: 22px; height: 2px; background: rgba(255,255,255,.12); }
.hv-progress span { display: block; height: 100%; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(0); }
.hv-hud { position: absolute; z-index: 3; right: var(--gutter); top: 50%; translate: 0 -50%; display: flex; flex-direction: column; align-items: flex-end; font-family: var(--font-display); font-style: italic; font-weight: 800; color: rgba(255,255,255,.85); writing-mode: horizontal-tb; }
.hv-hud span { font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; color: var(--yellow); }
.hv-hud small { font-family: var(--font-wide); font-size: 9px; letter-spacing: .3em; font-style: normal; }
@media (max-width: 760px) {
  .hv-left, .hv-right { left: var(--gutter); right: var(--gutter); bottom: 9vh; text-align: left; }
  .hv-right .eyebrow { flex-direction: row; }
  .hv-right p:not(.eyebrow) { margin-left: 0; }
  .hv-hud { top: auto; bottom: 40px; translate: none; }
  .hv-hud span { font-size: 24px; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; background: var(--bg); }
.marquee-track { display: flex; width: max-content; align-items: center; animation: marquee 30s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(36px, 5vw, 76px); line-height: 1; white-space: nowrap; }
.marquee span:nth-child(4n+3) { -webkit-text-stroke: 1.5px var(--text); color: transparent; }
.marquee .dot { flex: none; width: 34px; height: 12px; margin: 0 clamp(18px, 2.5vw, 40px); background: var(--yellow); transform: skewX(-30deg); }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-brands { background: var(--yellow); color: var(--black); border: 0; }
.marquee-brands .marquee-track { animation-direction: reverse; animation-duration: 40s; }
.marquee-brands span:nth-child(4n+3) { -webkit-text-stroke-color: var(--black); }
.marquee-brands .dot { background: var(--black); width: 14px; height: 14px; border-radius: 50%; transform: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: var(--section) var(--gutter); position: relative; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .h-display { margin-top: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 1000px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3 { grid-template-columns: 1fr; } }

.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: end; }
.intro-grid .h-display { margin-top: 18px; }
.intro-copy .prose p + p { margin-top: 1em; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid var(--line); }
.stat { padding: 24px 16px 0 0; }
.stat + .stat { padding-left: 18px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: clamp(44px, 5vw, 78px); line-height: 1; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- Horizontal services ---------- */
.hscroll { position: relative; height: 320vh; }
.hscroll-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 4vh; padding: 80px 0 40px; }
.hscroll-head { display: flex; align-items: flex-end; gap: 30px; flex-wrap: wrap; padding: 0 var(--gutter); }
.hscroll-head .h-display { margin-top: 10px; }
.hscroll-head .link-arrow { margin-left: auto; }
.hscroll-track { display: flex; gap: 22px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.svc-card { position: relative; width: clamp(280px, 30vw, 420px); height: clamp(380px, 58vh, 540px); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; color: #f4f3ee; background: #111; isolation: isolate; }
.svc-img { position: absolute; inset: 0; z-index: -2; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.2s var(--ease), filter .8s; filter: grayscale(.6) brightness(.6); }
.svc-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.9)); }
.svc-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--yellow); clip-path: inset(100% 0 0 0); transition: clip-path .7s var(--ease); }
.svc-card:hover::after { clip-path: inset(0 0 0 0); }
.svc-card:hover { color: var(--black); }
.svc-card:hover .svc-img img { transform: scale(1); filter: none; }
.svc-num { position: absolute; top: 20px; left: 26px; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px currentColor; opacity: .7; }
.svc-ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--yellow); color: var(--black); margin-bottom: 18px; transition: background .4s, color .4s, transform .6s var(--ease); }
.svc-card:hover .svc-ico { background: var(--black); color: var(--yellow); transform: rotate(-8deg) scale(1.05); }
.svc-ico .ico { width: 26px; height: 26px; }
.svc-title { font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 2.4vw, 38px); line-height: .95; }
.svc-text { margin-top: 10px; font-size: 15px; opacity: .85; }
.svc-go { position: absolute; top: 22px; right: 22px; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; transition: transform .6s var(--ease); }
.svc-card:hover .svc-go { transform: rotate(45deg); }

/* ---------- Cards ---------- */
.card { position: relative; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; transform-style: preserve-3d; }
.card:hover { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--yellow) 60%, transparent); }
.card.reveal.in:hover { transform: translateY(-6px); }
.card-media { position: relative; display: block; aspect-ratio: 10 / 7; overflow: hidden; background: #111; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.card-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 214, 10, .35) 50%, transparent 65%); transform: translateX(-100%); transition: transform 1s var(--ease); pointer-events: none; }
.card:hover .card-shine { transform: translateX(100%); }
.badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--yellow); color: var(--black); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; }
.badge-sold { background: #e5484d; color: #fff; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card-title { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.05; text-transform: uppercase; font-style: italic; }
.card-title a { background: linear-gradient(var(--yellow), var(--yellow)) 0 100% / 0 3px no-repeat; transition: background-size .5s var(--ease); }
.card:hover .card-title a { background-size: 100% 3px; }
.card-text { color: var(--muted); font-size: 15px; }
.specs { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 13px; }
.specs li { display: flex; align-items: center; gap: 6px; }
.specs .ico { color: var(--accent-ink); width: 15px; height: 15px; }
.card-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 30px; line-height: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13px; color: var(--muted); }

/* ---------- Before/after ---------- */
.protect-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 90px); align-items: center; }
.protect-grid .h-display { margin: 16px 0 20px; }
.protect-grid .lead { margin-bottom: 24px; }
.ticks { display: grid; gap: 10px; margin-bottom: 30px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ico { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--yellow); color: var(--black); stroke-width: 3; margin-top: 2px; }
.ticks-lg li { font-size: 17px; }
.ba { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: #111; user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 60%; transform: scale(1.6); transform-origin: 75% 60%; }
.ba-after { filter: saturate(1.35) contrast(1.12) brightness(1.08); }
.ba-before { filter: grayscale(.7) contrast(.75) brightness(.8) blur(.6px) sepia(.25); clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba::after { content: ''; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--yellow); box-shadow: 0 0 20px var(--yellow); pointer-events: none; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 3; }
.ba-handle { position: absolute; z-index: 2; top: 50%; left: var(--pos); width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: var(--yellow); color: var(--black); display: grid; place-items: center; pointer-events: none; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.ba-label { position: absolute; z-index: 2; top: 16px; padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: rgba(0,0,0,.6); color: #fff; }
.ba-l { left: 16px; } .ba-r { right: 16px; background: var(--yellow); color: var(--black); }
@media (max-width: 860px) { .protect-grid { grid-template-columns: 1fr; } }

/* ---------- Franchise band ---------- */
.franchise-band { padding-top: 0; }
.fb-inner { position: relative; overflow: hidden; border-radius: 28px; background: var(--yellow); color: var(--black); padding: clamp(36px, 7vw, 110px); isolation: isolate; }
.fb-inner .eyebrow { color: var(--black); }
.fb-inner .eyebrow::before { background: var(--black); }
.fb-inner em { color: var(--black); -webkit-text-stroke: 0; text-decoration: underline; text-decoration-thickness: 6px; text-underline-offset: 6px; }
.fb-inner .h-display { margin: 16px 0 18px; max-width: 14ch; }
.fb-inner .lead { color: rgba(0,0,0,.7); }
.fb-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.fb-bg { position: absolute; right: -6%; bottom: -8%; z-index: -1; width: 70%; opacity: .1; color: var(--black); }
.fb-bg .logo-dms { width: 100%; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translateX(-6%) rotate(-2deg); } }

/* ---------- Page hero ---------- */
.page-hero { position: relative; min-height: 72vh; display: flex; align-items: flex-end; padding: 150px var(--gutter) clamp(50px, 7vw, 90px); overflow: hidden; color: #f4f3ee; background: #070708; isolation: isolate; }
.page-hero-bg { position: absolute; inset: -10% 0; z-index: -2; background-size: cover; background-position: center; filter: brightness(.45) saturate(1.1); transform: scale(1.1); }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.5), transparent 40%, rgba(0,0,0,.8)), linear-gradient(90deg, rgba(0,0,0,.6), transparent 70%); }
.page-hero .h-hero { margin: 18px 0 20px; max-width: 16ch; }
.page-hero .lead { color: #cfcdc4; }
.page-hero .eyebrow { color: #e5e3da; }
.page-hero em { color: var(--yellow); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 26px; opacity: .8; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--yellow); }
.crumbs a:hover { color: var(--yellow); }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 18px; }
.filters label { display: grid; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); min-width: 140px; flex: 1; }
.filters .f-search { flex: 2; min-width: 200px; }
.filters input, .filters select, .quick-form input, .quick-form select, .quick-form textarea { height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font-size: 15px; text-transform: none; letter-spacing: 0; font-weight: 400; transition: border-color .3s, box-shadow .3s; }
.filters input:focus, .filters select:focus, .quick-form :is(input, select, textarea):focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 4px color-mix(in srgb, var(--yellow) 25%, transparent); }
.result-count { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; border: 1px dashed var(--line-strong); border-radius: 18px; display: grid; gap: 18px; justify-items: center; color: var(--muted); }

/* ---------- Detail ---------- */
.detail { padding-top: 130px; }
.detail .crumbs ol { color: var(--muted); }
.detail-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 4vw, 70px); align-items: start; }
.gallery { position: sticky; top: 100px; }
.gallery-main { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 10/7; background: #111; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; margin-top: 12px; }
.gallery-thumbs button { border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; opacity: .55; border: 2px solid transparent; transition: opacity .3s, border-color .3s; }
.gallery-thumbs button.is-active, .gallery-thumbs button:hover { opacity: 1; border-color: var(--yellow); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-info .h-title { margin: 14px 0 12px; }
.detail-price { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: clamp(42px, 4.5vw, 64px); line-height: 1; color: var(--accent-ink); }
.spec-table { display: grid; grid-template-columns: repeat(2, 1fr); margin: 28px 0; border-top: 1px solid var(--line); }
.spec-table div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-table div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.spec-table dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.spec-table dd { font-weight: 600; font-size: 16px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.upsell { display: flex; gap: 14px; margin-top: 28px; padding: 18px; border-radius: 16px; background: color-mix(in srgb, var(--yellow) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--yellow) 40%, transparent); }
.upsell .ico { color: var(--accent-ink); width: 26px; height: 26px; }
.upsell a { text-decoration: underline; font-weight: 600; }
.sticky-enquire { display: none; }
@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .sticky-enquire { display: block; position: fixed; z-index: 80; left: 12px; right: 76px; bottom: 12px; transform: translateY(150%); transition: transform .5s var(--ease); }
  .sticky-enquire.show { transform: none; }
  .sticky-enquire .btn { width: 100%; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
}

/* ---------- Prose ---------- */
.prose { font-size: 17px; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 3vw, 44px); line-height: 1; margin-top: 1.6em; }
.prose h3 { font-size: 21px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul li { list-style: none; position: relative; }
.prose ul li::before { content: ''; position: absolute; left: -1.1em; top: .72em; width: 10px; height: 4px; background: var(--yellow); transform: skewX(-30deg); }
.prose ol li { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.prose strong { font-weight: 700; }
.prose code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose .ticks { padding: 0; }
.prose .ticks li::before { display: none; }
.narrow { max-width: 760px; }

/* ---------- Services ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc-row { position: relative; display: grid; grid-template-columns: 80px 1.2fr 1.4fr 60px; gap: 24px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line); isolation: isolate; }
.svc-row::before { content: ''; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--yellow); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.svc-row:hover::before { transform: scaleY(1); }
.svc-row:hover { color: var(--black); }
.svc-row:hover .svc-row-text { color: rgba(0,0,0,.7); }
.svc-row-num { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 40px; color: var(--accent-ink); transition: color .4s; }
.svc-row:hover .svc-row-num { color: var(--black); }
.svc-row-title { font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(28px, 3.2vw, 52px); line-height: .95; transition: transform .6s var(--ease); }
.svc-row:hover .svc-row-title { transform: translateX(14px); }
.svc-row-text { color: var(--muted); transition: color .4s; }
.svc-row-go { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; transition: transform .6s var(--ease); }
.svc-row:hover .svc-row-go { transform: rotate(45deg); }
.svc-row-img { position: absolute; right: 18%; top: 50%; width: 240px; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(0, -50%) rotate(-6deg) scale(.8); transition: opacity .4s, transform .7s var(--ease); z-index: 2; }
.svc-row-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-row:hover .svc-row-img { opacity: 1; transform: translate(0, -50%) rotate(-3deg) scale(1); }
@media (max-width: 860px) { .svc-row { grid-template-columns: 50px 1fr 46px; } .svc-row-text { grid-column: 2 / 3; } .svc-row-go { grid-row: 1; grid-column: 3; width: 44px; height: 44px; } .svc-row-img { display: none; } }
.svc-detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 90px); align-items: start; }
.svc-detail .prose > p:first-child { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.5; }
.svc-aside { position: sticky; top: 100px; display: grid; gap: 18px; }
.aside-card { padding: 28px; border-radius: 22px; background: var(--black); color: #f4f3ee; display: grid; gap: 14px; border: 1px solid rgba(255,214,10,.3); }
.aside-card h3 { font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 34px; line-height: 1; }
.aside-card p { color: #b9b7ae; }
.aside-card .btn-ghost { color: #f4f3ee; border-color: rgba(255,255,255,.25); }
.aside-addr { display: flex; gap: 8px; font-size: 14px; }
.aside-addr .ico { color: var(--yellow); margin-top: 3px; }
.aside-nav { display: grid; padding: 24px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }
.aside-nav .eyebrow { margin-bottom: 10px; }
.aside-nav a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; transition: color .3s, padding .4s var(--ease); }
.aside-nav a:hover { color: var(--accent-ink); padding-left: 8px; }
@media (max-width: 900px) { .svc-detail { grid-template-columns: 1fr; } .svc-aside { position: static; } }
.faq { display: grid; gap: 12px; max-width: 980px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; transition: border-color .3s; }
.faq details[open] { border-color: var(--yellow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 22px 24px; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); color: var(--black); display: grid; place-items: center; transition: transform .5s var(--ease); }
.faq details[open] summary span { transform: rotate(135deg); }
.faq details > div { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Franchise ---------- */
.fr-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fr-card { position: relative; padding: clamp(28px, 4vw, 50px); border-radius: 26px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .4s, box-shadow .6s var(--ease); }
.fr-card:hover { border-color: var(--yellow); box-shadow: var(--shadow); }
.fr-card h2 { font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 3.4vw, 52px); line-height: .95; margin-bottom: 14px; max-width: 12ch; }
.fr-card > p { color: var(--muted); margin-bottom: 22px; }
.fr-num { position: absolute; top: 10px; right: 24px; font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 120px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--line-strong); }
.fr-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; border-top: 1px solid var(--line); }
.steps li { padding: 30px 24px 0 0; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.steps span { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 56px; color: var(--accent-ink); line-height: 1; }
.steps h3 { font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 28px; margin: 12px 0 8px; }
.steps p { color: var(--muted); }
@media (max-width: 860px) { .fr-cards { grid-template-columns: 1fr; } .steps { grid-template-columns: 1fr 1fr; } .steps li:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .steps li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); margin-top: 24px; } }

/* ---------- Blog ---------- */
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 50px; }
.pager a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); font-weight: 600; transition: background .3s, color .3s; }
.pager a.is-active, .pager a:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.post-hero { position: relative; min-height: 76vh; display: flex; align-items: flex-end; padding: 150px var(--gutter) 70px; color: #f4f3ee; overflow: hidden; isolation: isolate; background: #070708; }
.post-hero-bg { position: absolute; inset: -10% 0; z-index: -2; background-size: cover; background-position: center; filter: brightness(.4); }
.post-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.4), rgba(0,0,0,.85)); }
.post-hero-inner { max-width: 1100px; }
.post-hero .h-title { margin: 18px 0; font-size: clamp(42px, 6vw, 96px); }
.post-hero .lead { color: #cfcdc4; }
.post-hero .post-meta { color: #cfcdc4; }
.post-hero .chip { border-color: rgba(255,255,255,.3); }
.post-layout { display: grid; grid-template-columns: 260px minmax(0, 760px); gap: clamp(30px, 6vw, 100px); padding: var(--section) var(--gutter); justify-content: center; }
.post-toc { position: sticky; top: 110px; align-self: start; display: grid; gap: 30px; }
.post-toc ol { margin-top: 14px; display: grid; gap: 10px; counter-reset: t; font-size: 14px; color: var(--muted); }
.post-toc li { counter-increment: t; display: flex; gap: 10px; }
.post-toc li::before { content: counter(t, decimal-leading-zero); color: var(--accent-ink); font-weight: 700; }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.share .eyebrow { width: 100%; }
.share a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-weight: 700; transition: background .3s, color .3s; }
.share a:hover { background: var(--yellow); color: var(--black); }
.post-cta { margin-top: 50px !important; padding: 30px; border-radius: 22px; background: var(--black); color: #f4f3ee; display: grid; gap: 16px; justify-items: start; }
.post-cta .logo { color: var(--yellow); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 900px) { .post-layout { grid-template-columns: 1fr; } .post-toc { position: static; } }

/* ---------- About / visit / contact ---------- */
.wide-figure { border-radius: 26px; overflow: hidden; position: relative; aspect-ratio: 16/8; }
.wide-figure img { width: 100%; height: 120%; object-fit: cover; }
.wide-figure figcaption { position: absolute; left: 20px; bottom: 20px; background: rgba(0,0,0,.6); color: #fff; padding: 8px 14px; border-radius: 999px; font-size: 13px; backdrop-filter: blur(8px); }
.visit { padding-top: 0; }
.visit-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(30px, 5vw, 80px); align-items: stretch; padding-top: var(--section); border-top: 1px solid var(--line); }
.visit-info .h-display { margin: 16px 0 30px; }
.visit-list { display: grid; gap: 22px; }
.visit-list li { display: flex; gap: 16px; }
.visit-list .ico { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--yellow); color: var(--black); }
.visit-list div { display: grid; gap: 2px; }
.visit-list b { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.visit-list a:hover { color: var(--accent-ink); }
.map { min-height: 420px; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(1) contrast(1.1); transition: filter .6s; }
.map:hover iframe { filter: none; }
:root[data-theme='dark'] .map iframe { filter: grayscale(1) invert(.92) contrast(.9); }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .map iframe { filter: grayscale(1) invert(.92) contrast(.9); } }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 50px; }
.contact-card { display: grid; gap: 8px; padding: 30px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); transition: background .4s, color .4s, border-color .4s; }
.contact-card .ico { width: 36px; height: 36px; color: var(--accent-ink); margin-bottom: 10px; transition: color .4s; }
.contact-card b { font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: 1; }
.contact-card span { color: var(--muted); }
.contact-card:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.contact-card:hover span, .contact-card:hover .ico { color: var(--black); }
.quick-form { padding: clamp(24px, 4vw, 50px); border-radius: 26px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 16px; }
.qf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 10px 0; }
.qf-grid label { display: grid; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.qf-grid .full { grid-column: 1 / -1; }
.quick-form textarea { height: auto; padding: 12px 14px; resize: vertical; }
.quick-form .btn { justify-self: start; }
@media (max-width: 760px) { .contact-cards, .qf-grid { grid-template-columns: 1fr; } }
.nf { min-height: 90vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 18px; padding: 140px var(--gutter) 80px; }
.nf-num { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: clamp(140px, 30vw, 360px); line-height: .8; color: var(--yellow); }
.nf-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--black); color: #f4f3ee; padding: var(--section) var(--gutter) 0; overflow: hidden; }
.site-footer .eyebrow { color: #a5a39b; }
.site-footer em { color: var(--yellow); }
.footer-title { font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(60px, 11vw, 190px); line-height: .85; margin: 18px 0 36px; }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-cta-actions .btn-ghost { color: #f4f3ee; border-color: rgba(255,255,255,.25); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; margin-top: var(--section); padding-top: 50px; border-top: 1px solid rgba(255,255,255,.1); }
.f-brand .logo { color: #f4f3ee; }
.f-brand .logo-dms { color: var(--yellow); }
.f-brand p { margin-top: 20px; color: #9c9a92; max-width: 36ch; font-size: 15px; }
.footer-grid h3 { font-family: var(--font-wide); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--yellow); margin-bottom: 18px; font-weight: 400; }
.footer-grid ul { display: grid; gap: 10px; }
.footer-grid ul a, .footer-grid address a { color: #c9c7be; position: relative; transition: color .3s; }
.footer-grid ul a:hover, .footer-grid address a:hover { color: var(--yellow); }
.footer-grid address { font-style: normal; display: grid; gap: 12px; margin-bottom: 20px; }
.footer-grid address a { display: flex; gap: 10px; align-items: flex-start; }
.footer-grid address .ico { color: var(--yellow); margin-top: 4px; }
.hours li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: #9c9a92; padding-bottom: 6px; border-bottom: 1px dashed rgba(255,255,255,.08); }
.footer-giant { margin-top: 60px; color: var(--yellow); opacity: .9; }
.footer-giant .logo-dms { width: 100%; transform: translateY(18%); }
.footer-legal { position: relative; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.1); background: var(--black); }
.footer-legal p { max-width: 110ch; font-size: 12.5px; line-height: 1.7; color: #8d8b84; }
.footer-legal strong { color: #c9c7be; font-weight: 600; }
.footer-legal a { color: var(--yellow); display: inline-flex; align-items: center; gap: 3px; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal .ico { width: .95em; height: .95em; }
.footer-bar { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 20px 0; font-size: 13px; color: #7d7b74; border-top: 1px solid rgba(255,255,255,.1); background: var(--black); }
.footer-bar a:hover { color: var(--yellow); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* WhatsApp float */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 85; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0,0,0,.35); transition: transform .4s var(--ease); }
.wa-float .ico { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2s ease-out infinite; }
@keyframes pulse { to { transform: scale(1.7); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .split .w > span { opacity: 1 !important; transform: none !important; }
  html.first-visit .loader { display: none; }
}

/* Spare-parts request form */
.section-tight { padding-bottom: 0; }
.parts-form { border-color: color-mix(in srgb, var(--yellow) 45%, var(--line)); }
.parts-form-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 40px; }
.parts-form-head .h-title { margin-top: 12px; }
.parts-form-head .muted { max-width: 46ch; }
.parts-grid small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.parts-form :is(input, select, textarea):user-invalid { border-color: #e5484d; }
