/* PanHandleGate — built by SiteStudio. Night navy + lime accent + warm paving stone. Archivo / Inter. */
:root {
  --night: #0B182C; --ink: #0F1E36; --ink-2: #16294A; --line-d: rgba(255,255,255,.12);
  --lime: #A3E635; --lime-d: #84CC16; --lime-ink: #1A2E05;
  --stone: #EEE8DF; --paper: #F7F4EF; --white: #fff;
  --text: #13213A; --muted: #55627A; --line: #DED7CB;
  --r: 10px; --r-lg: 18px;
  --wrap: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --sh: 0 1px 2px rgba(11,24,44,.06), 0 8px 28px rgba(11,24,44,.08);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 17px/1.65 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: var(--paper); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: Archivo, Inter, system-ui, sans-serif; letter-spacing: -.02em; line-height: 1.08; margin: 0; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4.25rem); }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.75rem); }
h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0; }
.lime { color: var(--lime); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lime); color: var(--lime-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 48px); }

/* ---------- buttons ---------- */
.btn { --bg: transparent; display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 999px; font: 600 15.5px/1 Inter, sans-serif; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; background: var(--bg); transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-lime { --bg: var(--lime); color: var(--lime-ink); }
.btn-lime:hover { --bg: #B5EE58; }
.btn-lime .arr { display: grid; place-items: center; width: 26px; height: 26px; margin-right: -10px; border-radius: 50%; background: var(--lime-ink); color: var(--lime); transition: transform .25s var(--ease); }
.btn-lime:hover .arr { transform: translateX(3px); }
.btn-sm .arr { width: 22px; height: 22px; margin-right: -8px; }
.btn-line { color: #fff; border-color: rgba(255,255,255,.32); }
.btn-line:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-line-dark { color: #fff; border-color: rgba(255,255,255,.32); }
.btn-line-dark:hover { border-color: var(--lime); color: var(--lime); }
.btn-ink { --bg: var(--ink); color: #fff; }
.btn-ink:hover { --bg: var(--ink-2); }
.btn-ink .arr { display: grid; place-items: center; width: 22px; height: 22px; margin-right: -8px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 600; color: inherit; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; }
.dark .link-arrow, .phero .link-arrow { color: var(--lime); }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- kicker ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 12.5px/1 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.kdash { width: 28px; height: 2px; background: var(--lime-d); border-radius: 2px; }
.dark .kicker, .phero .kicker, .hero .kicker, .cta .kicker, .qdlg .kicker { color: #B8C4D8; }
.dark .kdash, .phero .kdash, .hero .kdash { background: var(--lime); }

/* ---------- header ---------- */
#site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,24,44,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
#site-header.scrolled { border-bottom-color: var(--line-d); background: rgba(11,24,44,.95); }
.nav { width: min(1280px, 100% - 40px); margin-inline: auto; height: 74px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; }
.brand-word { font: 800 21px/1 Archivo, sans-serif; letter-spacing: -.02em; }
.brand .mark { border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.main-nav { margin-left: auto; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 13px; border-radius: 8px; color: #C9D3E3; text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s, background .2s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-links a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--lime); border-radius: 0; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; color: #fff; cursor: pointer; border: 1px solid var(--line-d); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav-panel { position: absolute; right: 0; top: 56px; width: min(320px, 100vw - 32px); background: var(--ink); border: 1px solid var(--line-d); border-radius: 14px; padding: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.mnav-panel ul { list-style: none; margin: 0 0 10px; padding: 0; }
.mnav-panel a:not(.btn) { display: block; padding: 13px 14px; border-radius: 9px; color: #E3E9F2; text-decoration: none; font-weight: 500; }
.mnav-panel a:not(.btn):hover { background: rgba(255,255,255,.06); }
.mnav-panel .btn { width: 100%; justify-content: center; }
@media (max-width: 1060px) { .main-nav { display: none; } .mnav { display: block; } .nav-cta { margin-left: auto; } }
@media (max-width: 480px) { .nav-cta > .btn { display: none; } .brand-word { font-size: 19px; } }

/* ---------- hero (home) ---------- */
.hero { background: radial-gradient(1200px 600px at 85% -10%, #1C3561 0%, transparent 60%), var(--night); color: #fff; padding: 64px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.hero h1 { max-width: 13ch; }
.lede { margin-top: 22px; font-size: 1.16rem; color: #C9D3E3; max-width: 34em; }
.lede p + p { margin-top: 12px; }
.lede strong { color: #fff; font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-pic { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); outline: 1px solid rgba(255,255,255,.08); outline-offset: -1px; }
.hero-pic img { width: 100%; aspect-ratio: 900 / 589; object-fit: cover; }
.tag { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(11,24,44,.72); color: #DDE5F0; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; backdrop-filter: blur(6px); }
.fstrip { list-style: none; margin: 56px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line-d); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fstrip li { display: flex; gap: 14px; align-items: flex-start; }
.fstrip strong { display: block; font: 700 16px/1.25 Archivo, sans-serif; letter-spacing: -.01em; }
.fstrip small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; color: #A9B6CB; }
.fi { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: rgba(163,230,53,.12); color: var(--lime); box-shadow: inset 0 0 0 1px rgba(163,230,53,.22); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } .hero { padding-top: 40px; } .fstrip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fstrip { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- inner page hero ---------- */
.phero { background: radial-gradient(900px 480px at 90% -20%, #1C3561 0%, transparent 60%), var(--night); color: #fff; padding: 22px 0 76px; }
.phero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; margin-top: 34px; }
.phero-grid.solo { grid-template-columns: minmax(0, 860px); }
.phero h1 { max-width: 18ch; }
.phero.nf { padding: 90px 0 110px; }
.phero.nf h1, .post-head h1 { margin-top: 4px; }
.post-head { padding-bottom: 56px; }
.post-head .wrap { margin-top: 30px; }
@media (max-width: 900px) { .phero-grid { grid-template-columns: 1fr; gap: 32px; } .phero { padding-bottom: 56px; } }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: 13.5px; color: #93A2BA; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: #C9D3E3; text-decoration: none; }
.crumbs a:hover { color: var(--lime); }
.crumbs [aria-current] { color: #fff; }

/* ---------- sections ---------- */
.sec { padding: 104px 0; }
.sec + .sec:not(.dark):not(.stone) { border-top: 1px solid var(--line); }
.sec.tight-top { padding-top: 64px; }
.sec.dark { background: var(--night); color: #fff; border-top: 0; }
.sec.dark + .sec, .stone + .sec { border-top: 0 !important; }
.sec.stone { background: var(--stone); border-top: 0; }
.sec-head { max-width: 760px; margin-bottom: 48px; }
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.split h2 { max-width: 16ch; }
.prose { color: var(--muted); font-size: 1.06rem; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 14px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul { margin: 14px 0 0; padding: 0; list-style: none; }
.prose li { position: relative; padding-left: 26px; margin-top: 9px; }
.prose li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 2px; background: var(--lime-d); border-radius: 2px; }
.prose a { color: var(--text); text-decoration-color: var(--lime-d); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.dark .prose { color: #B8C4D8; }
.dark .prose strong, .dark .prose a { color: #fff; }
.dark .prose li::before { background: var(--lime); }
.note { margin-top: 14px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .sec { padding: 72px 0; } .split { grid-template-columns: 1fr; gap: 22px; } .split h2 { max-width: none; } .sec-head { margin-bottom: 32px; } }

/* problem / use boxes */
.probs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.prob { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.prob .fi { background: var(--stone); color: var(--ink); box-shadow: none; margin-bottom: 18px; }
.prob h3 { margin-bottom: 8px; }
.prob p { color: var(--muted); font-size: 15.5px; }
.prob.good { background: var(--ink); border-color: var(--ink); color: #fff; }
.prob.good .fi { background: rgba(163,230,53,.14); color: var(--lime); }
.prob.good p { color: #B8C4D8; }
@media (max-width: 860px) { .probs { grid-template-columns: 1fr; margin-top: 36px; } }

/* benefits */
.bens { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ben { padding: 30px 28px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ben .fi { background: var(--ink); color: var(--lime); box-shadow: none; margin-bottom: 20px; }
.ben h3 { margin-bottom: 8px; }
.ben p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .bens { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bens { grid-template-columns: 1fr; } }

/* audiences */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.who-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); padding: 30px; text-decoration: none; box-shadow: var(--sh); transition: transform .3s var(--ease), box-shadow .3s; }
.who-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(11,24,44,.06), 0 18px 40px rgba(11,24,44,.12); }
.who-card .fi { background: var(--ink); color: var(--lime); box-shadow: none; width: 48px; height: 48px; margin-bottom: 22px; }
.who-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.who-card p { color: var(--muted); font-size: 15.5px; flex: 1; }
.who-card .link-arrow { color: var(--text); border-bottom-color: var(--lime-d); }
@media (max-width: 860px) { .who { grid-template-columns: 1fr; } }

/* steps */
.steps { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.sec:not(.dark) .steps { margin-top: 0; }
.step-pic { position: relative; margin: 0 0 18px; border-radius: 14px; overflow: hidden; }
.step-pic img { width: 100%; aspect-ratio: 400 / 380; object-fit: cover; }
.step-n { font: 700 13px/1 Archivo, sans-serif; color: var(--lime-d); letter-spacing: .1em; margin-bottom: 8px; }
.dark .step-n { color: var(--lime); }
.step h3 { margin-bottom: 6px; }
.step p:last-child { color: var(--muted); font-size: 15px; }
.dark .step p:last-child { color: #A9B6CB; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* movement + diagram */
.move-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
@media (max-width: 960px) { .move-grid { grid-template-columns: 1fr; gap: 36px; } }
.diagram { margin: 0; background: var(--ink); border: 1px solid var(--line-d); border-radius: var(--r-lg); padding: 18px 18px 14px; color: #fff; }
.sec:not(.dark) .diagram { box-shadow: var(--sh); }
.diagram > svg { width: 100%; height: auto; color: #8FA3C2; }
.dg-play svg { width: 14px; height: 14px; }
.dg-street { fill: #0A1424; }
.dg-kerb { stroke: #3A4E70; stroke-width: 2; }
.dg-lane { stroke: #3A4E70; stroke-width: 2; }
.dg-plot { fill: #13284A; }
.dg-house { fill: #1D355C; stroke: #35507C; stroke-width: 1.5; }
.dg-drive { fill: #1A2F52; color: #8FA3C2; }
.dg-wall { fill: none; stroke: #E6ECF5; stroke-width: 4; stroke-linejoin: round; }
.dg-wall-fill { color: #E6ECF5; }
.dg-label { font: 600 11px/1 Inter, sans-serif; letter-spacing: .14em; fill: #A9B6CB; }
.dg-label.dim { fill: #6E83A6; }
.dg-label.lime { fill: var(--lime); }
.dg-label.swing { fill: #F2A7A7; }
.dg-label.motor { fill: #E6ECF5; }
.dg-swing { fill: rgba(242,120,120,.08); stroke: #F27878; stroke-width: 1.6; stroke-dasharray: 6 5; }
.dg-sweep { fill: rgba(163,230,53,.16); stroke: rgba(163,230,53,.5); stroke-width: 1; stroke-dasharray: 3 3; transition: opacity .4s; }
.dg-park { stroke: rgba(163,230,53,.35); stroke-width: 10; stroke-linecap: round; }
.dg-ghost { stroke: #E6ECF5; stroke-width: 3; stroke-dasharray: 7 6; opacity: .55; }
.dg-leaf { stroke: var(--lime); stroke-width: 7; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(163,230,53,.45)); }
.dg-end { fill: var(--night); stroke: var(--lime); stroke-width: 3; }
.dg-motor { fill: var(--lime); }
.dg-car rect:first-child { fill: #C9D3E3; }
.dg-glass { fill: #2A4066; }
.dg-car { transition: transform .1s linear; }
.diagram.live .dg-sweep { opacity: 0; }
.diagram.live .dg-ghost { opacity: .28; }
.dg-ui { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 12px; }
.dg-play { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(163,230,53,.5); background: transparent; color: var(--lime); font: 600 14px/1 Inter, sans-serif; cursor: pointer; }
.dg-play:hover { background: rgba(163,230,53,.1); }
.dg-range { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 220px; font-size: 12.5px; color: #93A2BA; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.dg-range input { flex: 1; accent-color: var(--lime); height: 28px; cursor: grab; }
.dg-step { width: 100%; font: 600 14px/1.3 Archivo, sans-serif; color: #fff; min-height: 1.3em; }
.diagram figcaption { margin-top: 8px; font-size: 12.5px; color: #7F91AE; }
html:not(.js) .dg-ui { display: none; }

/* compare table */
.ctable-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.ctable { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 520px; }
.ctable th, .ctable td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ctable thead th { font: 600 12px/1.2 Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--paper); }
.ctable tbody th { font-weight: 600; white-space: nowrap; }
.ctable td { color: var(--muted); }
.ctable tr:last-child > * { border-bottom: 0; }
.ctable tr.us { background: var(--ink); color: #fff; }
.ctable tr.us th { display: flex; align-items: center; gap: 10px; color: #fff; }
.ctable tr.us td { color: #DCE8C8; }
.ctable tr.us .mark { border-radius: 5px; }
.ctable.compact { min-width: 0; }
.ctable.compact tbody th { white-space: normal; }

/* "more" links */
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.more-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px 26px 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; text-decoration: none; transition: border-color .25s, transform .3s var(--ease); }
.more-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.more-card .fi { background: var(--stone); color: var(--ink); box-shadow: none; margin-bottom: 8px; }
.more-card strong { font: 700 1.1rem/1.2 Archivo, sans-serif; }
.more-card span:not(.fi):not(.ar) { color: var(--muted); font-size: 15px; }
.more-card .ar { position: absolute; right: 24px; top: 28px; color: var(--muted); transition: transform .25s var(--ease), color .25s; }
.more-card:hover .ar { transform: translateX(4px); color: var(--text); }
@media (max-width: 860px) { .more-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-head .intro { margin-top: 16px; color: var(--muted); }
.faq-ask { margin-top: 30px; padding: 22px; border-radius: var(--r-lg); background: var(--stone); }
.faq-ask p { margin-bottom: 14px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; cursor: pointer; font: 700 1.1rem/1.35 Archivo, sans-serif; letter-spacing: -.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list .x { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--stone); transition: transform .3s var(--ease), background .3s; }
.faq-list details[open] .x { transform: rotate(45deg); background: var(--lime); }
.faq-list .a { padding: 0 48px 24px 0; color: var(--muted); }
.faq-list .a p + p { margin-top: 10px; }
.faq-list .a a { color: var(--text); text-decoration-color: var(--lime-d); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.faq-sec:has(.faq-list:empty) { display: none; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 28px; } .faq-head { position: static; } }

/* closing CTA */
.cta-wrap { padding: 0 0 104px; }
.sec.dark + .cta-wrap, .stone + .cta-wrap { padding-top: 104px; }
.cta { width: min(var(--wrap), 100% - 48px); margin-inline: auto; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 56px 60px; border-radius: 24px; color: #fff; background: radial-gradient(600px 300px at 100% 0%, #24426F, transparent 70%), var(--ink); overflow: hidden; }
.cta h2 { max-width: 18ch; }
.cta .sub { margin-top: 14px; color: #B8C4D8; max-width: 36em; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-art .mark { width: 132px; height: 132px; border-radius: 30px; transform: rotate(-6deg); box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 30px 60px rgba(0,0,0,.35); }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; padding: 40px 26px; } .cta-art { display: none; } .cta-wrap { padding-bottom: 72px; } }

/* contact */
.form-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 28px; align-items: start; }
.form-card { background: #fff; border-radius: var(--r-lg); padding: 36px; box-shadow: var(--sh); border: 1px solid var(--line); }
.form-card h2 { font-size: 1.7rem; margin-bottom: 22px; }
.form-side { padding: 30px; border-radius: var(--r-lg); background: var(--stone); }
.form-side h3 { margin-bottom: 12px; }
.side-slot { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 24px; } }

/* lead form */
.lead-form { display: grid; gap: 16px; }
.lead-form label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: var(--text); }
.lead-form .opt { font-weight: 400; color: var(--muted); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } }
.lead-form input:not([type=radio]), .lead-form select, .lead-form textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); font: 400 16px/1.4 Inter, sans-serif; color: var(--text); transition: border-color .2s, box-shadow .2s, background .2s; }
.lead-form textarea { resize: vertical; min-height: 110px; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(163,230,53,.35); }
.prefer { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.prefer legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.prefer label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }
.prefer input { accent-color: var(--ink); width: 18px; height: 18px; }
.lead-form .btn { justify-self: start; margin-top: 4px; }
.form-note { font-size: 13.5px; color: var(--muted); }
.form-err { padding: 12px 14px; border-radius: var(--r); background: #FDECEC; color: #8A1C1C; font-size: 14.5px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* quote dialog */
.qdlg { width: min(640px, 100vw - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 22px; background: #fff; color: var(--text); box-shadow: 0 40px 120px rgba(0,0,0,.45); }
.qdlg::backdrop { background: rgba(6,13,26,.66); backdrop-filter: blur(4px); }
.qdlg[open] { animation: dlg .32s var(--ease); }
@keyframes dlg { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.qdlg-in { position: relative; padding: 34px; }
.qdlg h2 { font-size: 1.75rem; }
.qdlg .kicker { color: var(--muted); }
.qdlg-sub { margin: 8px 0 22px; color: var(--muted); }
.qdlg-x { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--stone); cursor: pointer; transform: rotate(45deg); color: var(--text); }
.qdlg-alt { margin-top: 18px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 560px) { .qdlg-in { padding: 26px 20px; } }

/* blog (cards come from the editor) */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.post-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-card > div { padding: 22px; }
.post-card h2 { font-size: 1.25rem; margin: 6px 0 10px; }
.post-card h2 a { text-decoration: none; }
.post-card p { color: var(--muted); font-size: 15px; }
.post-date { font-size: 13px !important; text-transform: uppercase; letter-spacing: .1em; }
.post-empty { color: var(--muted); }
.post-hero { margin: 0 0 32px; border-radius: var(--r-lg); overflow: hidden; }
.post-body h2 { font-size: 1.6rem; margin: 36px 0 12px; color: var(--text); }
.post-body h3 { margin: 26px 0 8px; color: var(--text); }
.post-body figure { margin: 24px 0; }
.post-body img { border-radius: 12px; }

/* footer */
.site-foot { background: var(--night); color: #B8C4D8; padding: 80px 0 0; }
.foot-grid { width: min(var(--wrap), 100% - 48px); margin-inline: auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; }
.foot-brand p { margin-top: 18px; max-width: 30em; font-size: 15px; }
.foot-h { font: 600 12px/1 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.site-foot a { text-decoration: none; color: #B8C4D8; transition: color .2s; }
.site-foot a:hover { color: var(--lime); }
.foot-contact a, .foot-contact span { display: inline-flex; align-items: center; gap: 9px; }
.foot-base { width: min(var(--wrap), 100% - 48px); margin: 60px auto 0; padding: 22px 0 28px; border-top: 1px solid var(--line-d); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13.5px; color: #7F91AE; }
.foot-base a { color: #7F91AE; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* mobile contact bar */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; padding: 8px; border-radius: 18px; background: rgba(11,24,44,.94); backdrop-filter: blur(10px); box-shadow: 0 12px 40px rgba(0,0,0,.35); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none; color: #fff; background: rgba(255,255,255,.08); }
  .mbar .mbar-quote { background: var(--lime); color: var(--lime-ink); }
  body { padding-bottom: 84px; }
}

/* "needs info" slots: hidden until the client answers them */
.slot-section:has(.slot:empty) { display: none; }
.slot:empty { display: none; }

/* motion: entrance + reveal (only with JS, never with reduced motion) */
.js .enter { opacity: 0; transform: translateY(14px); animation: enter .8s var(--ease) forwards; animation-delay: var(--ed, 0ms); }
@keyframes enter { to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js #hero-title .w { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(10px); animation: word .7s var(--ease) forwards; animation-delay: var(--wd); }
@keyframes word { to { opacity: 1; filter: none; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .enter, .js .reveal, .js #hero-title .w { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; transition: none !important; }
  .who-card, .more-card, .btn { transition: none; }
}

/* compare table on phones: one card per gate type */
@media (max-width: 640px) {
  .ctable, .ctable.compact { min-width: 0; }
  .ctable thead { display: none; }
  .ctable tr { display: block; padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .ctable tr:last-child { border-bottom: 0; }
  .ctable th, .ctable td { display: block; padding: 0; border: 0; white-space: normal; }
  .ctable tbody th { margin-bottom: 4px; }
  .ctable td + td { margin-top: 4px; font-size: 14px; }
  .ctable td + td::before { content: "Motors: "; font-weight: 600; }
}
