/*
  base.css: the Londa shell, ported from the site concept v3 (docs/concepts/2026-10-01-site-concept-v3/parts/base.css).
  The v2 identity, unchanged: Clash Display, Clash Grotesk, General Sans; navy and orange. Every page composes from these
  tokens and components (see parts/KIT.md); a page adds its own assets/css/pages/<key>.css after this file.

  Port notes:
  - The concept's own reset is the reference, so Tailwind Preflight (section 1 of the former londa.css) is not carried over: the
    concept pages were designed and approved on this reset, and Preflight would restyle headings, form controls and borders.
  - Body classes replace the router attributes: hero-dark / hero-light for [data-hero], page-<key> for [data-view].
  - The router rules (view transitions, .view[hidden]) are gone; every page is a real WordPress URL.
  - WordPress additions (admin bar offset, anchor offset, screen-reader text, alignment classes) close the file.
*/

/* Brand faces, self-hosted (Fontshare). Weights limited to those the design uses. */
@font-face { font-family: 'Clash Display'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/clash-display-600.woff2') format('woff2'); }
@font-face { font-family: 'Clash Display'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/clash-display-700.woff2') format('woff2'); }
@font-face { font-family: 'Clash Grotesk'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/clash-grotesk-400.woff2') format('woff2'); }
@font-face { font-family: 'Clash Grotesk'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/clash-grotesk-500.woff2') format('woff2'); }
@font-face { font-family: 'General Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/general-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'General Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/general-sans-500.woff2') format('woff2'); }
@font-face { font-family: 'General Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/general-sans-600.woff2') format('woff2'); }

:root {
  color-scheme: light;
  --brand: #0B1F3A;
  --brand-deep: #07152A;
  --brand-glow: #1D3A63;
  --accent: #F58220;
  --accent-hi: #FF9A45;
  --accent-ink: #AE5310;
  --ink: #16181D;
  --muted: #5A6472;
  --surface: #FFFFFF;
  --tint: #F4F6F9;
  --line: #E3E8EF;
  --on-brand: #EEF2F8;
  --on-brand-muted: #9FB0C8;
  --font-display: 'Clash Display', 'Helvetica Neue', Arial, sans-serif;
  --font-sub: 'Clash Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'General Sans', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 180ms;
  --t-med: 450ms;
  --t-slow: 900ms;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-card: 0 1px 2px rgba(11, 31, 58, 0.05), 0 12px 32px rgba(11, 31, 58, 0.08);
  --shadow-card-hover: 0 2px 4px rgba(11, 31, 58, 0.06), 0 22px 48px rgba(11, 31, 58, 0.14);
  --frame: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(88px, 9vw, 128px);
  --wp-bar: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
html.motion { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 17px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
::selection { background: var(--accent); color: var(--brand-deep); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.hero :focus-visible, .page-head.dark :focus-visible, .cta-box :focus-visible, .site-foot :focus-visible, .lb :focus-visible, .listbar :focus-visible, .ab-group :focus-visible, .eqp-slide--photo :focus-visible,
.hero-dark .nav:not(.is-scrolled):not(.menu-open) :focus-visible { outline-color: var(--accent); }
/* Headings a script focuses for screen readers (tabindex -1) show no ring */
h1[tabindex="-1"]:focus { outline: none; }
.wrap { width: 100%; max-width: calc(var(--frame) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--surface); padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow-card); }
.skip:focus { top: 12px; }

/* Eyebrow: the original label, with the orange carried by a short rule so the text passes contrast on white */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 500 13px/1.2 var(--font-sub); letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); }
.eyebrow.on-navy { color: var(--accent); }

/* Buttons: the original pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1px solid transparent; font: 500 15px/1 var(--font-sub); letter-spacing: 0.01em; transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--brand-deep); }
.btn-primary:hover { background: var(--accent-hi); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(245, 130, 32, 0.3); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: var(--on-brand); }
.btn-ghost:hover { border-color: #FFFFFF; transform: translateY(-2px); }
.btn-ghost-dark { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost-dark:hover { border-color: var(--muted); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.arr { display: inline-block; transition: transform var(--t-fast) var(--ease); }
a:hover .arr { transform: translateX(4px); }


/* Reveal: one quiet rhythm, only when motion is allowed and the script runs */
/* The reveal moves on the independent translate property, so a card's own hover transform (lift) still works after it reveals */
.motion .rv { opacity: 0; translate: 0 20px; transition: opacity 700ms var(--ease) calc(var(--d, 0) * 70ms), translate 700ms var(--ease) calc(var(--d, 0) * 70ms), transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease), background-color var(--t-fast) var(--ease); }
.motion .rv.in { opacity: 1; translate: none; }

/* ---------- Nav: transparent over the hero, the original frosted white once you scroll ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); color: var(--on-brand); transition: background-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), color var(--t-med) var(--ease); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 84px; transition: height var(--t-med) var(--ease); }
.nav.is-scrolled { background: rgba(255, 255, 255, 0.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); color: var(--brand); }
.nav.is-scrolled .nav-inner { height: 72px; }
.logo { display: inline-flex; color: inherit; }
.logo svg { height: 36px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font: 500 15px/1 var(--font-sub); }
.nav-links a { position: relative; padding: 8px 0; opacity: 0.86; transition: opacity var(--t-fast) var(--ease); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--ease); }
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav .btn { min-height: 44px; padding: 10px 20px; }
.nav-burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid currentColor; opacity: 0.8; align-items: center; justify-content: center; }
.nav-mobile { display: none; }
.nav-mobile.open { display: flex; flex-direction: column; padding: 8px var(--gutter) 20px; background: rgba(255, 255, 255, 0.98); border-top: 1px solid var(--line); color: var(--ink); }
.nav-mobile a { padding: 12px 0; font: 500 17px/1.2 var(--font-sub); border-bottom: 1px solid var(--line); }
.nav-mobile .btn { margin-top: 16px; align-self: flex-start; border-bottom: 0; }
.nav.menu-open { background: rgba(255, 255, 255, 0.98); color: var(--brand); }

/* ---------- Section heads ---------- */
section { position: relative; }
.sec { padding-block: var(--sec); }
.sec.tinted { background: var(--tint); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(40px, 4.5vw, 60px); }
.sec-head h2 { margin-top: 16px; font-size: clamp(2rem, 3.4vw, 2.9rem); letter-spacing: -0.02em; }
.sec-head p { color: var(--muted); font-size: 17.5px; max-width: 34em; }
.more-row { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- Product cards: real images, whole card responds ---------- */
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pcard { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--surface); transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.ptile { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); background: radial-gradient(75% 70% at 50% 55%, #FFFFFF 0%, var(--tint) 100%); border: 1px solid var(--line); overflow: hidden; }
.ptile img { position: absolute; inset: 0; margin: auto; width: 72%; height: 72%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(11, 31, 58, 0.16)); transition: transform 600ms var(--ease); }
.pcard:hover .ptile img { transform: scale(1.05); }
.badge { z-index: 1; position: absolute; top: 14px; left: 14px; padding: 5px 10px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font: 500 11.5px/1 var(--font-sub); letter-spacing: 0.04em; }
.pbody { display: flex; flex-direction: column; flex: 1; padding: 20px 6px 8px; }
.pbody h3 { font-size: 20px; letter-spacing: -0.01em; line-height: 1.2; }
.pbody .tag { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chips li { padding: 6px 10px; border-radius: 999px; background: var(--tint); font-size: 13px; line-height: 1.25; color: var(--ink); }
.pfoot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.pcta { font: 500 15px/1 var(--font-sub); color: var(--brand); display: inline-flex; gap: 6px; align-items: center; padding-block: 8px; }
.pcta .arr { color: var(--accent-ink); }
.pdf { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); padding-block: 8px; transition: color var(--t-fast) var(--ease); }
.pdf:hover { color: var(--ink); }
.pdf svg { width: 15px; height: 15px; }

/* ---------- Accessories: three compact cards ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.acard { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: center; padding: 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease); }
.acard:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: transparent; }
.atile { position: relative; aspect-ratio: 1; border-radius: var(--radius); background: var(--tint); overflow: hidden; }
.atile img { position: absolute; inset: 0; margin: auto; width: 78%; height: 78%; object-fit: contain; transition: transform 600ms var(--ease); }
.acard:hover .atile img { transform: scale(1.06); }
.acard h3 { font-size: 18px; letter-spacing: -0.005em; line-height: 1.25; }
.acard p { margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.acard .pcta { margin-top: 6px; font-size: 14.5px; }

/* ---------- Blog ---------- */
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.post { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease); }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: transparent; }
.post .cat { font: 500 12px/1 var(--font-sub); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.post h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
.post p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.post .pcta { margin-top: 6px; }

/* ---------- CTA ---------- */
.cta-box { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: center; padding: clamp(36px, 5vw, 64px); border-radius: 24px; color: var(--on-brand); background: radial-gradient(90% 120% at 90% 0%, var(--brand-glow) 0%, var(--brand) 50%, var(--brand-deep) 100%); }
.cta-box h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.02em; color: #FFFFFF; }
.cta-box p { margin-top: 12px; color: var(--on-brand-muted); font-size: 18px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-rings { position: absolute; right: -80px; bottom: -120px; width: 380px; height: 380px; pointer-events: none; opacity: 0.5; }
.cta-rings circle { fill: none; stroke: rgba(159, 176, 200, 0.22); }

/* ---------- Footer ---------- */
.site-foot { background: var(--brand-deep); color: var(--on-brand-muted); padding-block: 72px 32px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-foot .logo { color: #FFFFFF; }
.site-foot .logo svg { height: 64px; }
.site-foot p { margin-top: 18px; max-width: 26em; }
.site-foot .foot-h { margin: 0 0 16px; font: 500 12px/1 var(--font-sub); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-brand); }
.site-foot li a { display: inline-block; padding-block: 6px; transition: color var(--t-fast) var(--ease); }
.site-foot a:hover { color: #FFFFFF; }
.foot-contact { display: grid; gap: 6px; }
/* Every Contact item leads with a line icon; Instagram moved here from the logo column (Kharim, 2026-10-02).
   The icon sits on the first line's centre (24px line, 22px icon), so a wrapped item keeps it beside its first line. */
.foot-contact .foot-ci { display: inline-flex; align-items: flex-start; gap: 10px; vertical-align: top; }
.foot-ci svg { flex: none; width: 22px; height: 22px; margin-top: 1px; transition: color var(--t-fast) var(--ease); }
a.foot-ci:hover svg, a.foot-ci:focus-visible svg { color: var(--accent); }
/* Instagram keeps its 44px target; the negative margin holds the column's row rhythm */
.foot-contact .foot-ig { min-height: 44px; padding-block: 10px; margin-block: -4px; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(238, 242, 248, 0.12); font-size: 13px; }
.legal b { color: var(--on-brand); font-weight: 500; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 90; transform: translate(-50%, 16px); opacity: 0; padding: 12px 18px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-size: 14px; box-shadow: var(--shadow-card-hover); transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ======================================================================
   v3 shell: nav states, page heads and the shared kit
   ====================================================================== */

/* Nav over a light page head (body.hero-light): the frosted white bar from the start */
.hero-light .nav { background: rgba(255, 255, 255, 0.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); color: var(--brand); }
.hero-light .nav .nav-inner { height: 72px; }
.nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-mobile a[aria-current="page"] { color: var(--accent-ink); }

/* Page head: every interior page opens the same way (eyebrow, one H1, a lede, optional aside) */
.page-head { padding-top: calc(72px + clamp(56px, 7vw, 96px)); padding-bottom: clamp(40px, 5vw, 64px); }
.page-head.dark { color: var(--on-brand); background: radial-gradient(120% 110% at 85% 0%, var(--brand-glow) 0%, var(--brand) 48%, var(--brand-deep) 100%); padding-top: calc(84px + clamp(48px, 6vw, 88px)); }
.page-head.dark .eyebrow { color: var(--accent); }
.page-head.dark .lede { color: var(--on-brand-muted); }
.page-head.dark h1 { color: #FFFFFF; }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 32px clamp(32px, 5vw, 80px); align-items: end; }
.page-head h1 { margin-top: 18px; font-size: clamp(2.4rem, 4.6vw, 4rem); letter-spacing: -0.025em; line-height: 1.02; max-width: 16ch; }
.page-head .lede { margin-top: 22px; max-width: 36em; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--muted); }
.page-head .ph-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: 13.5px; color: var(--muted); }
.crumbs a { display: inline-block; padding-block: 4px; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; transition: color var(--t-fast) var(--ease); }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: 0.6; }
.page-head.dark .crumbs { color: var(--on-brand-muted); }
.page-head.dark .crumbs a { text-decoration-color: rgba(238, 242, 248, 0.25); }
.page-head.dark .crumbs a:hover { color: #FFFFFF; }

/* Stat counters (page heads) */
.stats { display: flex; flex-wrap: wrap; gap: 12px 0; }
.stat { padding: 4px 28px 4px 0; min-width: 120px; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat b { display: block; font: 600 clamp(1.9rem, 3vw, 2.5rem)/1 var(--font-display); letter-spacing: -0.02em; color: var(--brand); }
.stat span { display: block; margin-top: 8px; font: 500 12px/1.35 var(--font-sub); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.page-head.dark .stat b { color: #FFFFFF; }
.page-head.dark .stat + .stat { border-color: rgba(238, 242, 248, 0.16); }
.page-head.dark .stat span { color: var(--on-brand-muted); }

/* Small buttons and the WhatsApp button */
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 14.5px; }
.btn-wa svg { width: 18px; height: 18px; }
.btn-ghost-dark svg { color: #1E9E57; }
.btn-ghost svg { color: #FFFFFF; }

/* Filter chips and tabs (aria-pressed / aria-selected drive the state) */
.chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: 500 14.5px/1 var(--font-sub); color: var(--ink); transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.chip-btn:hover { border-color: var(--muted); transform: translateY(-1px); }
.chip-btn[aria-pressed="true"], .chip-btn[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.chip-btn .n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--tint); color: var(--brand); font-size: 12px; }
.chip-btn[aria-pressed="true"] .n, .chip-btn[aria-selected="true"] .n { background: rgba(255, 255, 255, 0.16); color: #FFFFFF; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); }
.tabs .chip-btn { border-color: transparent; background: transparent; min-height: 44px; }
.tabs .chip-btn[aria-selected="true"] { background: var(--surface); color: var(--brand); border-color: var(--line); box-shadow: 0 1px 2px rgba(11, 31, 58, 0.06); }

/* Sticky browse rail (Equipment) and side index (Accessories, Services) */
.rail { position: sticky; top: calc(72px + var(--wp-bar) + env(safe-area-inset-top, 0px)); z-index: 20; background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.rail-inner { position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; overflow-x: auto; scrollbar-width: none; }
.rail-inner::-webkit-scrollbar { display: none; }
.rail-label { font: 500 12px/1 var(--font-sub); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.rail .chip-btn { white-space: nowrap; min-height: 44px; padding: 8px 14px; }
.rail .chip-btn.is-on { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.rail .chip-btn.is-on .n { background: rgba(255, 255, 255, 0.16); color: #FFFFFF; }
.side-index { position: sticky; top: calc(104px + var(--wp-bar) + env(safe-area-inset-top, 0px)); align-self: start; }
.side-index a { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 12px 0 12px 14px; border-left: 2px solid var(--line); font-size: 15px; color: var(--muted); transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.side-index a small { font: 500 12px/1 var(--font-sub); color: var(--muted); }
.side-index a:hover { color: var(--ink); }
.side-index a.is-on { color: var(--ink); border-left-color: var(--accent); }
.side-index a.is-on small { color: var(--accent-ink); }

/* The survey line: one motion grammar for the whole site. A track, an orange fill driven by --p (0..1),
   stations that light as the fill passes (.lit), and the survey-marker beacon riding the fill.
   Vertical by default; .sline--h for horizontal. JS only ever sets --p and toggles .lit (Londa.line). */
.sline { --p: 0; position: relative; }
.sline-track, .sline-fill { position: absolute; border-radius: 2px; }
.sline-track { background: var(--line); }
.sline-fill { background: var(--accent); transform-origin: top; }
.sline:not(.sline--h) .sline-track, .sline:not(.sline--h) .sline-fill { left: var(--sline-x, 16px); top: var(--sline-top, 0); bottom: var(--sline-bottom, 0); width: 2px; margin-left: -1px; }
.sline:not(.sline--h) .sline-fill { transform: scaleY(var(--p)); }
.sline--h .sline-track, .sline--h .sline-fill { left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; }
.sline--h .sline-fill { transform-origin: left; transform: scaleX(var(--p)); }
.sline-station { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); transition: border-color var(--t-med) var(--ease), background-color var(--t-med) var(--ease); }
.sline-station.lit { border-color: var(--accent); background: var(--accent); }
.beacon { position: absolute; z-index: 2; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-card); display: grid; place-items: center; pointer-events: none; }
.sline:not(.sline--h) > .beacon { left: var(--sline-x, 16px); top: calc(var(--sline-top, 0px) + (100% - var(--sline-top, 0px) - var(--sline-bottom, 0px)) * var(--p)); }
.sline--h > .beacon { top: 50%; left: calc(var(--p) * 100%); }
.beacon svg { width: 20px; height: 20px; }

/* Media frames: real photographs, whole, with a zoom-settle on reveal */
.frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--brand); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.portrait { aspect-ratio: 9 / 16; }
.frame.contain img { object-fit: contain; }
.motion .frame.rv img { transform: scale(1.06); transition: transform 1100ms var(--ease); }
.motion .frame.rv.in img { transform: none; }
figcaption, .cap { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.cap b, figcaption b { font: 500 12.5px/1 var(--font-sub); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); margin-right: 8px; }
a.zoomable { display: block; cursor: zoom-in; }
a.zoomable img { transition: transform 600ms var(--ease); }
a.zoomable:hover img, .motion a.zoomable.rv.in:hover img, .motion .rv.in a.zoomable:hover img { transform: scale(1.03); }

/* Spec tables: grouped, zebra rows, single column (brochure-true values only) */
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table caption { text-align: left; padding-bottom: 12px; font: 500 12px/1 var(--font-sub); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 13px 16px; }
.spec-table th { width: 34%; font: 500 14.5px/1.4 var(--font-sub); color: var(--ink); }
.spec-table td { color: var(--ink); line-height: 1.5; }
.spec-table tbody tr:nth-child(odd) { background: var(--tint); }
.spec-table tbody tr th:first-child { border-radius: 10px 0 0 10px; }
.spec-table tbody tr td:last-child { border-radius: 0 10px 10px 0; }
.spec-table thead th { position: sticky; top: calc(72px + var(--wp-bar)); z-index: 2; background: var(--surface); border-bottom: 2px solid var(--line); font: 600 16px/1.25 var(--font-display); }
.spec-table .muted { color: var(--muted); }

/* Forms: one column, labels above, inline errors, 48px targets */
.field { display: grid; gap: 8px; }
.field + .field { margin-top: 18px; }
.field label { font: 500 14.5px/1.3 var(--font-sub); color: var(--ink); }
.field label small { font: 400 13.5px/1 var(--font-body); color: var(--muted); margin-left: 4px; }
.input, .select, .textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid #CDD5E0; background: var(--surface); font: 400 16px/1.4 var(--font-body); color: var(--ink); transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.textarea { min-height: 128px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--muted); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(11, 31, 58, 0.1); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.field.is-bad .input, .field.is-bad .select, .field.is-bad .textarea { border-color: #B42318; box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.08); }
.field.is-good .input { border-color: #1E7F4F; }
.field-error { display: none; font-size: 14px; color: #B42318; }
.field.is-bad .field-error { display: block; }
.form-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.form-alert { padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.form-alert.ok { background: #EAF6EF; color: #145A38; border: 1px solid #BFE3CD; }

/* Lightbox (native dialog: focus trap and Esc come free) */
.lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(7, 21, 42, 0.94); color: var(--on-brand); }
.lb::backdrop { background: rgba(7, 21, 42, 0.6); }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); font: 500 14px/1 var(--font-sub); letter-spacing: 0.06em; }
.lb-stage { position: relative; display: grid; grid-template-rows: minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); place-items: center; padding: 0 clamp(56px, 8vw, 120px); min-height: 0; }
.lb-stage img { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); object-fit: contain; border-radius: 12px; }
.motion .lb-stage img { animation: lb-in 450ms var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(0.985); } to { opacity: 1; transform: none; } }
.lb-cap { padding: 14px var(--gutter) calc(20px + env(safe-area-inset-bottom, 0px)); text-align: center; color: var(--on-brand-muted); font-size: 15px; }
.lb-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(238, 242, 248, 0.28); color: #FFFFFF; transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.lb-btn:hover { background: rgba(255, 255, 255, 0.08); border-color: #FFFFFF; }
.lb-prev, .lb-next { position: absolute; top: 50%; margin-top: -24px; }
.lb-btn[hidden] { display: none; }
.lb, .lb-stage { touch-action: pan-y; }
.lb-stage img { -webkit-user-drag: none; user-select: none; }
.lb-prev { left: clamp(8px, 2vw, 32px); }
.lb-next { right: clamp(8px, 2vw, 32px); }

/* Bottom bars: the mobile action bar (sitewide) and the crew list bar (Accessories) */
.actionbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: none; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; padding: 8px; border-radius: 18px; background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(11, 31, 58, 0.18); transform: translateY(140%); transition: transform var(--t-med) var(--ease); }
.actionbar a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 12px; font: 500 14.5px/1 var(--font-sub); color: var(--brand); background: var(--tint); }
.actionbar a.primary { background: var(--accent); color: var(--brand-deep); }
.actionbar svg { width: 18px; height: 18px; }
.actionbar.is-on { transform: none; }
.actionbar:not(.is-on), .listbar:not(.is-on) { visibility: hidden; transition: transform var(--t-med) var(--ease), visibility 0s linear var(--t-med); }
.actionbar.is-on, .listbar.is-on { visibility: visible; transition: transform var(--t-med) var(--ease), visibility 0s; }
.listbar { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 61; display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; justify-content: center; width: min(760px, calc(100% - 24px)); padding: 12px 12px 12px 22px; border-radius: 20px; background: var(--brand); color: var(--on-brand); box-shadow: 0 18px 40px rgba(7, 21, 42, 0.35); transform: translate(-50%, 160%); transition: transform var(--t-med) var(--ease); }
.listbar.is-on { transform: translate(-50%, 0); }
.listbar .lb-count { font: 500 15px/1.3 var(--font-sub); margin-right: auto; }
.listbar .lb-count b { font-family: var(--font-display); font-size: 20px; color: #FFFFFF; margin-right: 6px; }
.listbar .btn { min-height: 44px; padding: 10px 18px; }
.listbar .lb-clear { font-size: 14px; color: var(--on-brand-muted); text-decoration: underline; text-underline-offset: 3px; padding: 8px; }

/* Visually hidden (for skip links and labels) */
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.vh-focus:focus { position: static !important; width: auto; height: auto; margin: 0; clip: auto; overflow: visible; white-space: normal; }

/* ---------- Shell responsive ---------- */
@media (max-width: 1180px) {
  .nav-links { gap: 18px; font-size: 14px; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid3 { grid-template-columns: 1fr; }
  .acard { grid-template-columns: 110px minmax(0, 1fr); }
}
@media (max-width: 1060px) {
  .nav-links, .nav-inner > .btn { display: none; }
  .nav-burger { display: inline-flex; }
}
@media (max-width: 900px) {
  .sec-head, .cta-box, .ph-grid { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .side-index { position: static; }
  .spec-table th { width: 42%; }
}
@media (max-width: 760px) {
  .pcta { min-height: 44px; }
  .spec-table thead th { position: static; }
  .actionbar { display: grid; }
  .site-foot { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .listbar { gap: 8px; padding: 10px 12px 12px; border-radius: 18px; }
  .listbar .lb-count { flex: 1 1 auto; margin: 0; font-size: 14px; }
  .listbar .lb-count b { font-size: 18px; }
  .listbar .lb-clear { flex: 0 0 auto; padding: 6px 4px; order: 0; }
  .listbar .btn { flex: 1 1 40%; min-width: 0; min-height: 44px; padding: 10px 12px; font-size: 14px; order: 1; }
}
@media (max-width: 600px) {
  .grid4 { grid-template-columns: 1fr; }
  .acard { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 14px; }
  .foot-grid { grid-template-columns: 1fr; }
  .post { padding: 22px; }
  .stat, .stat + .stat { padding: 4px 18px 4px 0; min-width: 0; }
  .stat + .stat { padding-left: 18px; }
  .spec-table th, .spec-table td { padding: 11px 12px; }
  .spec-table th { width: 44%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
}

/* ======================================================================
   WordPress port additions
   ====================================================================== */

/* Logged-in admin bar: the fixed nav and every sticky offset sit below it (32px desktop, 46px tablet). On phones
   (600px and below) WordPress lets the bar scroll away, so the nav starts under it and moves up once the page scrolls. */
.admin-bar { --wp-bar: 32px; }
.admin-bar .nav { top: var(--wp-bar); }
@media screen and (max-width: 782px) { .admin-bar { --wp-bar: 46px; } }
@media screen and (max-width: 600px) {
  .admin-bar { --wp-bar: 0px; }
  .admin-bar .nav { top: 46px; }
  .admin-bar .nav.is-scrolled { top: 0; }
}

/* In-page targets (/equipment/#dgps, /equipment/accessories/#a07, /contact/#quote) land 150px below the top, clear of
   the fixed nav, as the concept router placed them */
[id] { scroll-margin-top: calc(150px + var(--wp-bar)); }

/* Brochure link details: the size label, and the quiet note when a product has no brochure yet */
.pdf small { font: 400 12.5px/1 var(--font-body); }
.pdf-none { display: inline-flex; align-items: center; gap: 6px; padding-block: 8px; font-size: 13.5px; color: var(--muted); }
.pdf-none svg { width: 15px; height: 15px; }

/* Product tile without a photo yet: the model mark on the tint ground (never a fake image) */
.ptile-mark { font: 600 clamp(2rem, 3.2vw, 2.8rem)/1 var(--font-display); letter-spacing: -0.02em; color: var(--brand); opacity: 0.8; }

/* Screen-reader text (core markup such as pagination headings uses this class) */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 100; left: 16px; top: 12px; width: auto; height: auto; padding: 10px 16px; clip: auto; white-space: normal; background: var(--surface); color: var(--ink); border-radius: 8px; box-shadow: var(--shadow-card); }

/* Block editor alignment classes in post and page content */
.alignleft { float: left; margin: 0.3em 1.5em 1em 0; }
.alignright { float: right; margin: 0.3em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide, .alignfull { clear: both; }
.alignfull { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); }
.alignwide { width: min(var(--frame), 100vw - 2 * var(--gutter)); max-width: none; margin-inline: calc(50% - min(var(--frame), 100vw - 2 * var(--gutter)) / 2); }
@media (max-width: 600px) { .alignleft, .alignright { float: none; margin: 0 0 1em; } }
