/* =====================================================================
   YXTX COMMS - public site styles v4 - BLUEPRINT
   ---------------------------------------------------------------------
   Sources: _design/phase1-visual.md (visual), _design/phase2-ux.md (UX)
   Hard constraints:
   - No external links: no @import / webfont / url(remote), system font stack only
   - Weights are 400 / 500 / 700 only, html { font-synthesis: none }
   - Radii are 0 / 2px / 4px only (--r-0 / --r-1 / --r-2); 999 is reserved for status pills
   - Depth comes from 1px borders, subtle blue shadows and value shifts
   - Product images always sit on a light .plate with object-fit: contain, never cropped
   - One visual system only: white base + professional blue, no day/night theme switch
   Contents
   01 tokens (primitive / semantic / breakpoints)
   02 Base reset and typography
   03 Layout: container / sections / inverted band / dividers
   04 Buttons / pills / tags / links
   05 Header / drawer / bottom action bar
   06 Footer / coordinate plate
   07 Hero / ticker / readings / mega
   08 Product image plate .plate / captions
   09 List rows .rows / product rows / scrolling band
   10 Product cards / product detail
   11 Spec table / prose
   12 Knowledge list / article page
   13 Contact page / form states
   14 Page head / breadcrumbs / sorting / paging / empty state / search
   15 Overlays: toast / confirm / reveal
   ===================================================================== */

/* =====================================================================
   01. token
   ===================================================================== */
:root {
    color-scheme: light;

    /* ---- Layer 1: primitives (the only place hex values appear) ---- */
    --n-0:  #0A2244;   /* deepest navy */
    --n-1:  #0E284C;   /* navy ink */
    --n-2:  #FFFFFF;   /* page */
    --n-3:  #FFFFFF;   /* surface */
    --n-4:  #F2F6FC;   /* tinted surface */
    --n-5:  #EAF2FF;   /* pale blue */
    --n-6:  #F3F7FF;   /* pale blue ink on navy */
    --n-7:  #4C6486;   /* muted */
    --n-8:  #6B81A0;   /* faint */
    --sig-500: #1B5FD9;
    --sig-600: #1049B8;
    --st-500:  #C8861B;
    --st-600:  #8A5B0B;

    --r-0: 0;
    --r-1: 4px;
    --r-2: 10px;
    --r-full: 999px;

    /* ---- Layer 2: semantic (components may only use this layer) ---- */
    --bg:            #FFFFFF;
    --surface:       #FFFFFF;
    --surface-2:     #F2F6FC;
    --field:         #EDF4FF;
    --field-ink:     #0E284C;
    --ink:           #0E284C;
    --muted:         #4C6486;
    --faint:         #6B81A0;
    --line:          rgba(16, 44, 88, 0.12);
    --line-2:        rgba(16, 44, 88, 0.20);
    --line-control:  rgba(16, 44, 88, 0.34);
    --accent:        #1B5FD9;
    --accent-ink:    #FFFFFF;
    --accent-soft:   rgba(27, 95, 217, 0.09);
    --plate:         #F1F6FD;
    --status:        #B47716;
    --danger:        #C0362C;
    --success:       #147A50;

    /* ---- Brand surfaces ---- */
    --navy:          #0A2244;
    --navy-2:        #123A72;
    --shadow-xs:     0 1px 2px rgba(10, 34, 68, 0.05);
    --shadow-sm:     0 4px 14px rgba(10, 34, 68, 0.07);
    --shadow-md:     0 12px 32px rgba(10, 34, 68, 0.10);
    --shadow-lg:     0 24px 56px rgba(10, 34, 68, 0.16);

    /* ---- Fonts: system stack only, zero network requests ---- */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI",
        "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
        "Noto Sans SC", "Noto Sans CJK SC", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: ui-monospace, "SF Mono", SFMono-Regular, "JetBrains Mono", Menlo, Consolas,
        "Liberation Mono", monospace;

    /* ---- Type scale: hard values per breakpoint, no clamp ---- */
    --t-mega:    44px;
    --t-display: 34px;
    --t-h1:      28px;
    --t-h2:      22px;
    --t-h3:      17px;
    --t-lead:    15.5px;
    --t-body:    15px;
    --t-prose:   16px;
    --t-sm:      13px;
    --t-label:   10.5px;
    --t-data:    13px;

    /* ---- Spacing / sizing ---- */
    --gutter:    20px;
    --section-y: 56px;
    --maxw:      1280px;
    --header-h:  56px;
    --bar-h:     64px;

    --ease:      cubic-bezier(0.22, 1, 0.36, 1);

    /* ---- Legacy aliases (kept for inline styles in older views) ---- */
    --text:      var(--ink);
    --lime:      var(--accent);
    --lime-soft: var(--accent-soft);
    --lime-ink:  var(--accent-ink);
    --line-3:    var(--line-control);
    --raised:    var(--surface-2);
    --raised-2:  var(--surface-2);
    --plate-a:   var(--surface-2);
    --plate-b:   var(--surface-2);
}


@media (min-width: 768px) {
    :root {
        --t-mega:    72px;
        --t-display: 48px;
        --t-h1:      36px;
        --t-h2:      28px;
        --t-h3:      19px;
        --t-lead:    17px;
        --t-body:    16px;
        --t-prose:   17px;
        --t-sm:      13.5px;
        --t-label:   11px;
        --t-data:    13px;
        --gutter:    28px;
        --section-y: 88px;
        --header-h:  68px;
    }
}

@media (min-width: 1280px) {
    :root {
        --t-mega:    120px;
        --t-display: 64px;
        --t-h1:      44px;
        --t-h2:      32px;
        --t-h3:      21px;
        --t-lead:    19px;
        --t-body:    17px;
        --t-prose:   17.5px;
        --t-sm:      14px;
        --t-label:   11px;
        --t-data:    14px;
        --gutter:    40px;
        --section-y: 112px;
    }
}

/* =====================================================================
   02. Base reset and typography
   ===================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    font-synthesis: none;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: var(--t-body);
    font-weight: 400;
    line-height: 1.72;
    overflow-x: hidden;
}

/* With the bottom action bar present, the last line of content must scroll above it */
body.has-action-bar { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom) + 8px); }

@media (min-width: 768px) {
    body.has-action-bar { padding-bottom: 0; }
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 700;
    line-height: 1.16;
    text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

ul, ol { margin: 0; padding: 0; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; }

strong, b { font-weight: 700; }

/* Unified focus ring: visible even on accent backgrounds (1px inner ink) */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    box-shadow: inset 0 0 0 1px var(--ink);
}

::selection { background: var(--accent); color: var(--accent-ink); }

[hidden] { display: none !important; }

/* Heading scale */
.h1 { font-size: var(--t-h1); letter-spacing: -0.02em; line-height: 1.1; }
.h2 { font-size: var(--t-h2); letter-spacing: -0.015em; line-height: 1.16; }
.h3 { font-size: var(--t-h3); letter-spacing: -0.01em; line-height: 1.3; }
.lead { font-size: var(--t-lead); line-height: 1.65; color: var(--muted); max-width: 34ch; }
.sm { font-size: var(--t-sm); line-height: 1.6; }
.dim { color: var(--muted); }

/* Monospaced Latin labels */
.mono,
.label {
    font-family: var(--font-mono);
    font-size: var(--t-label);
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
}

/* Small CJK labels: positive tracking, never uppercase */
.label-cjk {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1;
}

@media (min-width: 768px) {
    .label-cjk { font-size: 12px; }
}

/* Monospaced numerals */
.data {
    font-family: var(--font-mono);
    font-size: var(--t-data);
    font-weight: 500;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: var(--t-label);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1;
    color: var(--faint);
}

.eyebrow::before {
    content: "";
    width: 18px;
    height: 1px;
    background: currentColor;
    flex: 0 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: var(--gutter);
    top: -100px;
    z-index: 100;
    padding: 12px 20px;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 700;
    border-radius: var(--r-1);
}

.skip-link:focus { top: 8px; }

/* =====================================================================
   03. Layout: container / sections / inverted band / dividers
   ===================================================================== */
.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.wrap--top { padding-top: 20px; }

@media (min-width: 768px) {
    .wrap--top { padding-top: 32px; }
}

.section { padding-block: var(--section-y); }

/* Adjacent sections are separated by a 1px hairline, not by big gaps */
.section + .section { border-top: 1px solid var(--line); }

.section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 24px;
}

@media (min-width: 768px) {
    .section__head { padding-bottom: 32px; }
}

.section__head-main { min-width: 0; }

.section__title {
    margin-top: 12px;
    font-size: var(--t-h2);
    letter-spacing: -0.015em;
    line-height: 1.16;
    max-width: 22ch;
}

.section__desc {
    margin-top: 12px;
    max-width: 52ch;
    color: var(--muted);
    font-size: var(--t-sm);
    line-height: 1.65;
}

/* Inverted section band: full width, no radius, no side gutter */
.field {
    background: var(--field);
    color: var(--field-ink);
    padding-block: 64px;
}

@media (min-width: 768px) {
    .field { padding-block: 104px; }
}

@media (min-width: 1280px) {
    .field { padding-block: 136px; }
}

.field--hero { padding-bottom: 0; }

.field .eyebrow,
.field .dim { color: rgba(16, 44, 88, 0.62); }

.field__rows { display: grid; gap: 0; border-top: 1px solid rgba(16, 44, 88, 0.16); }

@media (min-width: 768px) {
    .field__rows { grid-template-columns: 1fr 1fr; column-gap: 48px; }
}

.field__row {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 4px 12px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(16, 44, 88, 0.16);
}

.field__row-num {
    font-family: var(--font-mono);
    font-size: var(--t-label);
    font-weight: 500;
    letter-spacing: 0.1em;
    color: rgba(16, 44, 88, 0.55);
    padding-top: 4px;
    font-variant-numeric: tabular-nums;
}

.field__row-title {
    font-size: var(--t-h3);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.field__row-desc {
    grid-column: 2;
    font-size: var(--t-sm);
    color: rgba(16, 44, 88, 0.68);
    line-height: 1.7;
    max-width: 46ch;
}

.field__title {
    font-size: var(--t-h2);
    letter-spacing: -0.015em;
    max-width: 24ch;
}

.field__lede {
    margin-top: 14px;
    max-width: 52ch;
    color: rgba(16, 44, 88, 0.68);
    font-size: var(--t-sm);
}

/* Dividers */
.rule {
    height: 1px;
    background: var(--line);
    border: 0;
    margin: 0;
}

.rule--strong { background: var(--ink); }

.rule--ticks {
    height: 14px;
    border: 0;
    margin: 0;
    color: currentColor;
    opacity: 0.28;
    background-image:
        repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 8px),
        repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 40px);
    background-size: 100% 6px, 100% 14px;
    background-position: left bottom, left bottom;
    background-repeat: no-repeat;
}

/* =====================================================================
   04. Buttons / pills / tags / links
   ===================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: var(--r-1);
    background: transparent;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.btn svg { flex: 0 0 auto; }

.btn--primary {
    background: var(--accent);
    color: var(--accent-ink);
}

.btn--primary:hover { background: color-mix(in srgb, var(--accent) 88%, #fff); }
.btn--primary:active { background: color-mix(in srgb, var(--accent) 80%, #000); }

.btn--ghost {
    border: 1px solid var(--line-control);
    color: var(--ink);
}

.btn--ghost:hover {
    border-color: var(--ink);
    background: var(--accent-soft);
}

.btn--text {
    min-height: 44px;
    padding: 0;
    gap: 6px;
    color: var(--ink);
    border-radius: var(--r-0);
    background: none;
}

.btn--text:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--accent); text-decoration-thickness: 1px; }

.btn--icon {
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--r-0);
    color: var(--muted);
}

.btn--icon:hover { color: var(--ink); border-color: var(--line-control); }

.btn--block { display: flex; width: 100%; }

.btn--sm { min-height: 44px; padding: 0 16px; font-size: 14px; }

.btn--lg { min-height: 48px; }

@media (min-width: 768px) {
    .btn { min-height: 52px; }
    .btn--lg { min-height: 52px; }
    .btn--sm { min-height: 36px; }
}

.btn.is-disabled,
.btn[disabled],
.btn[aria-disabled="true"] {
    opacity: 0.38;
    cursor: not-allowed;
    pointer-events: none;
}

.btn[aria-busy="true"] { cursor: progress; }

.btn--call { width: 52px; padding: 0; flex: 0 0 52px; }

/* Icon buttons (site header) */
.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--r-0);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}

.icon-link:hover { border-color: var(--line-control); }

/* Filter pills: 34px visual, 44px hit area */
.filter-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding: 5px 0;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar { display: none; }

.chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    height: 34px;
    padding: 0 12px;
    border: 1px solid var(--line-control);
    border-radius: var(--r-1);
    font-size: 13px;
    line-height: 1;
    color: var(--ink);
    white-space: nowrap;
    scroll-snap-align: start;
    background: transparent;
}

/* Hit area padded to 44px (visual stays 34) */
.chip::after {
    content: "";
    position: absolute;
    inset: -5px -2px;
}

.chip:hover { background: var(--accent-soft); }

.chip.is-active,
.chip[aria-current="true"] {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--bg);
}

.chip__count {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--faint);
}

.chip.is-active .chip__count { color: inherit; opacity: 0.72; }

/* Status tags: square corners, 11px mono, text is mandatory */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 22px;
    padding: 0 8px;
    border: 1px solid var(--line-2);
    border-radius: var(--r-0);
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
    color: var(--field-ink);
    background: rgba(27, 95, 217, 0.07);
}

.tag--new {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink);
}

/* Inline links in body copy */
.link {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

.link:hover { color: var(--ink); background: var(--accent-soft); }

/* =====================================================================
   05. Header / drawer / bottom action bar
   ===================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--bg);
    /* Bottom border drawn with an inset shadow so both states are exactly --header-h tall, no jitter */
    box-shadow: inset 0 -1px 0 var(--line);
    transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    height: var(--header-h);
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* Two states: default (no class / .is-stuck) = solid; .is-over-field is added by JS while scrollY < 1
   to subtract it. If JS fails or CSP blocks it the header is always solid, so a transparent header never sits on a light page. */
.site-header.is-over-field {
    background: transparent;
    box-shadow: none;
}

.site-header.is-over-field .logo__name,
.site-header.is-over-field .nav__link,
.site-header.is-over-field .icon-link,
.site-header.is-over-field .header__back { color: var(--field-ink); }

.site-header.is-over-field .logo__sub { color: rgba(16, 44, 88, 0.6); }

.site-header.is-over-field .icon-link,
.site-header.is-over-field .header__back { border-color: rgba(16, 44, 88, 0.3); }

/* Collapse on scroll down (JS adds .is-hidden) */
.site-header.is-hidden { transform: translateY(-100%); }

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    margin-right: auto;
    min-width: 0;
}

.logo__mark {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    background: var(--ink);
    color: var(--bg);
    font-family: var(--font-mono);
    border-radius: var(--r-1);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
}

.site-header.is-over-field .logo__mark {
    background: var(--accent);
    color: var(--accent-ink);
}

.logo__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.logo__name {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    /* Fallback for a 30-character site_name_en: judge by name length, not viewport width */
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo__sub {
    display: none;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1;
    color: var(--faint);
    white-space: nowrap;
}

/* Below 768 only the subtitle hides; logo__name survives every breakpoint (an English name is the first identifier for international buyers) */
@media (min-width: 768px) {
    .logo__sub { display: block; }
}

/* On detail pages the back button outranks the logo */
.header__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    margin-right: 4px;
    border: 1px solid var(--line);
    border-radius: var(--r-0);
    color: var(--ink);
    background: transparent;
}

.nav { display: none; }

.nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 6px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.18s var(--ease);
}

.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.lang-switch {
    display: none;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: var(--r-0);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
}

.header__cta { display: none; }

.nav-toggle { display: inline-flex; }

@media (min-width: 768px) {
    .nav { display: flex; align-items: center; gap: 0; }
    .nav__link { padding: 0 8px; font-size: 13px; }
    .lang-switch { display: inline-flex; padding: 0 8px; }
    .nav-toggle { display: none; }
    .header__cta { display: none; }
}

@media (min-width: 1024px) {
    .nav__link { padding: 0 12px; font-size: 14px; }
    .lang-switch { padding: 0 12px; }
    .header__cta { display: inline-flex; }
}

/* Drawer */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--ink);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
}

.mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.mobile-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: var(--header-h);
    flex: 0 0 auto;
    padding-inline: var(--gutter);
    border-bottom: 1px solid var(--line);
}

.mobile-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    padding: 0 var(--gutter);
    border-bottom: 1px solid var(--line);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.mobile-nav__link svg { color: var(--faint); }

/* Product categories: second level indent */
.mobile-nav__sub {
    display: grid;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.mobile-nav__sub-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 var(--gutter) 0 calc(var(--gutter) + 18px);
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: var(--muted);
}

.mobile-nav__sub-link::before {
    content: "";
    width: 8px;
    height: 1px;
    background: var(--line-2);
    flex: 0 0 8px;
}

.mobile-nav__foot {
    margin-top: auto;
    display: grid;
    gap: 10px;
    padding: 20px var(--gutter) calc(24px + env(safe-area-inset-bottom));
}

.mobile-nav__tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.mobile-nav__phone {
    margin-top: 6px;
    font-size: 13px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-nav__phone a { color: var(--ink); font-family: var(--font-mono); }

@media (min-width: 768px) {
    .mobile-nav { display: none !important; }
}

/* Bottom action bar: one component, three shapes, server-rendered */
.action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
    background: var(--bg);
    border-top: 1px solid var(--line-2);
    transition: transform 0.18s var(--ease);
}

.action-bar.is-off { transform: translateY(100%); }

body.is-keyboard .action-bar { transform: translateY(100%); }

.action-bar__main { flex: 1 1 auto; min-width: 0; min-height: 48px; }

.action-bar__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 auto;
    min-width: 0;
}

.action-bar__model {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.action-bar__price {
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.action-bar__btn { flex: 0 0 auto; min-width: 132px; }

/* Inquiry bar shape: model + price on the left, button on the right (product detail only) */
.action-bar--quote { gap: 12px; }
.action-bar--quote .action-bar__btn { min-width: 148px; min-height: 48px; }

@media (min-width: 768px) {
    .action-bar { display: none; }
}

/* =====================================================================
   06. Footer / coordinate plate
   ===================================================================== */
.site-footer {
    border-top: 1px solid var(--line);
    background: var(--bg);
    padding-top: 40px;
}

.footer__top {
    display: grid;
    gap: 32px;
    padding-bottom: 40px;
}

@media (min-width: 480px) {
    .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
    .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
}

.footer__brand { max-width: 40ch; }

.footer__desc {
    margin-top: 16px;
    font-size: var(--t-sm);
    line-height: 1.7;
    color: var(--muted);
}

.footer__contact {
    display: grid;
    gap: 6px;
    margin-top: 20px;
    font-size: var(--t-sm);
    color: var(--muted);
}

.footer__contact a { color: var(--ink); font-family: var(--font-mono); font-size: 13px; }

.footer__col-title {
    font-family: var(--font-mono);
    font-size: var(--t-label);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.footer__links { display: grid; gap: 0; }

.footer__links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}

.footer__links a:hover { color: var(--ink); background: var(--accent-soft); }

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0 calc(24px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--faint);
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
}

.footer__bottom-links { display: flex; gap: 16px; flex-wrap: wrap; }

.footer__bottom a { color: var(--faint); }
.footer__bottom a:hover { color: var(--ink); }

/* Technical plate: an honest stand-in when no photo exists */
.geo-plate {
    position: relative;
    aspect-ratio: 4/3;
    background-color: var(--field);
    background-image:
        linear-gradient(rgba(16, 44, 88, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 44, 88, 0.1) 1px, transparent 1px);
    background-size: 24px 24px, 24px 24px;
    color: rgba(16, 44, 88, 0.72);
    overflow: hidden;
}

.geo-plate::before,
.geo-plate::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border: 1px solid rgba(16, 44, 88, 0.5);
}

.geo-plate::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.geo-plate::after { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

.geo-plate__cross {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 37px;
    height: 37px;
    transform: translate(-50%, -50%);
}

.geo-plate__cross::before,
.geo-plate__cross::after {
    content: "";
    position: absolute;
    background: rgba(16, 44, 88, 0.45);
}

.geo-plate__cross::before { left: 0; right: 0; top: 18px; height: 1px; }
.geo-plate__cross::after { top: 0; bottom: 0; left: 18px; width: 1px; }

.geo-plate__coord {
    position: absolute;
    right: 14px;
    bottom: 14px;
    font-family: var(--font-mono);
    font-size: var(--t-label);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.geo-plate__label {
    position: absolute;
    left: 14px;
    bottom: 14px;
    font-family: var(--font-mono);
    font-size: var(--t-label);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(16, 44, 88, 0.55);
}

/* =====================================================================
   07. Hero / ticker / readings / mega
   ===================================================================== */
.hero {
    position: relative;
    margin-top: calc(var(--header-h) * -1);
    padding-top: calc(var(--header-h) + 16px);
    overflow: hidden;
}

.hero__inner { display: flex; flex-direction: column; }

.hero__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    color: rgba(16, 44, 88, 0.62);
}

.hero__meta .mono { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hero__meta-ticks { flex: 1 1 auto; min-width: 40px; color: rgba(16, 44, 88, 0.4); }

.hero__figure {
    position: relative;
    display: grid;
    place-items: center;
    margin: 4px 0 8px;
}

.hero__plate {
    width: 100%;
    aspect-ratio: 1/1;
    max-height: 38vh;   /* Fallback for older browsers */
    max-height: 38svh;  /* Keeps the layout still when the iOS address bar collapses */
    padding: 6%;
}

.hero__plate img { object-position: center; }

.hero__mega {
    position: absolute;
    right: 0;
    bottom: -0.12em;
    font-family: var(--font-mono);
    font-size: var(--t-mega);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 0.86;
    font-variant-numeric: tabular-nums;
    color: var(--field-ink);
    opacity: 0.09;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.hero__copy { position: relative; z-index: 1; }

.hero__kicker {
    display: block;
    margin-bottom: 12px;
    font-family: var(--font-mono);
    font-size: var(--t-label);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(16, 44, 88, 0.55);
}

.hero__title {
    font-size: var(--t-display);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.04;
    max-width: 20ch;
}

.hero__desc {
    margin-top: 14px;
    max-width: 40ch;
    font-size: var(--t-lead);
    line-height: 1.65;
    color: rgba(16, 44, 88, 0.72);
}

.hero__actions {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.hero__actions .btn--ghost {
    border-color: rgba(16, 44, 88, 0.42);
    color: var(--field-ink);
}

.hero__actions .btn--ghost:hover {
    border-color: var(--field-ink);
    background: rgba(16, 44, 88, 0.08);
}

@media (min-width: 768px) {
    .hero { padding-top: calc(var(--header-h) + 32px); }
    .hero__inner {
        display: grid;
        grid-template-columns: 5fr 6fr;
        align-items: end;
        gap: 48px;
    }
    .hero__meta { grid-column: 1 / -1; }
    .hero__figure { grid-column: 2; grid-row: 2 / span 2; order: 2; margin: 0; }
    .hero__plate { aspect-ratio: 4/5; max-height: 62vh; max-height: 62svh; }
    .hero__copy { grid-column: 1; grid-row: 2; }
    .hero__actions { grid-auto-flow: column; justify-content: start; gap: 12px; }
}

@media (min-width: 1024px) {
    .hero__figure { margin-right: calc(var(--gutter) * -1 - 20px); }
    .hero__mega { right: auto; left: 0; bottom: -0.06em; }
}

/* Signal ticker: the line between dark and paper sections */
.ticker {
    position: relative;
    height: 32px;
    overflow: hidden;
    background: var(--field);
    border-top: 2px solid var(--accent);
    color: var(--field-ink);
    display: flex;
    align-items: center;
}

.ticker__track {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    white-space: nowrap;
    animation: ticker-move 42s linear infinite;
    will-change: transform;
}

.ticker__group {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 0 14px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1;
    color: rgba(16, 44, 88, 0.86);
}

.ticker__item::after {
    content: "";
    width: 4px;
    height: 4px;
    background: var(--accent);
    flex: 0 0 4px;
}

@keyframes ticker-move {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .ticker { overflow-x: auto; }
    .ticker__track { animation: none; }
}

/* Readout cells: 24-32px numerals, 11px mono labels */
.readout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.readout--on-field { border-color: rgba(16, 44, 88, 0.18); }

.readout__cell {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.readout__cell:nth-child(odd) { padding-right: 12px; border-right: 1px solid var(--line); }
.readout__cell:nth-child(even) { padding-left: 12px; }
.readout__cell:nth-last-child(-n+2) { border-bottom: 0; }

.readout--on-field .readout__cell { border-color: rgba(16, 44, 88, 0.18); }

.readout__value {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    text-wrap: balance;
}

/* Home readouts: all values are short strings (IP68 / 5-8 km), so the design maximum applies */
.readout--stats .readout__value { font-size: 24px; }


.readout__label {
    font-family: var(--font-mono);
    font-size: var(--t-label);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1;
    color: var(--faint);
}

@media (min-width: 768px) {
    .readout { grid-template-columns: repeat(4, 1fr); }
    .readout__cell {
        padding: 20px 16px;
        border-bottom: 0;
        border-right: 1px solid var(--line);
    }
    .readout__cell:first-child { padding-left: 0; }
    .readout__cell:last-child { border-right: 0; }
    .readout__cell:nth-child(odd),
    .readout__cell:nth-child(even) { padding-right: 16px; padding-left: 16px; }
    .readout__cell:first-child { padding-left: 0; }
    .readout__value { font-size: 22px; }
    .readout--stats .readout__value { font-size: 28px; }
}

@media (min-width: 1280px) {
    .readout__value { font-size: 24px; }
    .readout--stats .readout__value { font-size: 32px; }
}

.readout--stack .readout__cell { padding: 12px 0; }

@media (max-width: 767px) {
    .readout--stack { grid-template-columns: 1fr; }
    .readout--stack .readout__cell {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding-inline: 0;
        flex-direction: row;
        align-items: baseline;
        justify-content: space-between;
        gap: 12px;
    }
    .readout--stack .readout__cell:last-child { border-bottom: 0; }
}

/* =====================================================================
   08. Product image plate .plate / captions
   ===================================================================== */
.plate {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(120% 100% at 50% 0%, #FFFFFF 0%, var(--plate) 72%);
    padding: 8%;
    overflow: hidden;
    border-radius: var(--r-0);
    box-shadow: inset 0 0 0 1px rgba(16, 44, 88, 0.07);
}

/* contain rather than cover: the product outline (antenna, knobs, PTT key) must stay complete */
.plate img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Corner crosshairs: specimen framing */
.plate::before,
.plate::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border: 1px solid rgba(27, 95, 217, 0.32);
    pointer-events: none;
    z-index: 2;
}

.plate::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.plate::after { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

.plate--square { aspect-ratio: 1/1; }
.plate--45 { aspect-ratio: 4/3; }
.plate--43 { aspect-ratio: 4/3; }
.plate--1610 { aspect-ratio: 16/10; }
.plate--45v { aspect-ratio: 4/5; }

.plate__cap {
    display: block;
    margin-top: 10px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--faint);
}

/* In-frame index: 01 / 04 */
.plate__count {
    position: absolute;
    right: 14px;
    bottom: 12px;
    z-index: 2;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: rgba(16, 44, 88, 0.62);
    font-variant-numeric: tabular-nums;
}

.plate--empty {
    background: var(--surface-2);
    aspect-ratio: 4/3;
    padding: 0;
}

.plate--empty::before,
.plate--empty::after { display: none; }

/* Empty state: 45-degree hatch plus a mono index */
.plate--void {
    aspect-ratio: 4/3;
    background-color: var(--field);
    background-image:
        linear-gradient(rgba(16, 44, 88, 0.1) 1px, transparent 1px),
        repeating-linear-gradient(45deg, rgba(16, 44, 88, 0.16) 0 1px, transparent 1px 8px);
    background-size: 24px 24px, auto;
    color: rgba(16, 44, 88, 0.7);
}

.plate--void .plate__void-num {
    font-family: var(--font-mono);
    font-size: var(--t-mega);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 0.86;
    opacity: 0.28;
    font-variant-numeric: tabular-nums;
}

.media-ph {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 72px;
    background: var(--surface-2);
    color: var(--faint);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* =====================================================================
   09. List rows .rows / product rows / scrolling band
   ===================================================================== */
.rows {
    list-style: none;
    border-top: 1px solid var(--line);
}

.rows > li { border-bottom: 1px solid var(--line); }

.row {
    display: grid;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    padding: 10px 0;
    color: var(--ink);
}

@media (min-width: 1280px) {
    .row { min-height: 80px; }
}

.row:hover {
    background: var(--accent-soft);
    box-shadow: inset 2px 0 0 var(--accent);
}

.row:hover .row__name { color: var(--ink); }

/* Product row: thumbnail 56 / 56 / 64, row height 76 / 76 / 80 */
.row--product {
    grid-template-columns: 56px 1fr 20px;
    gap: 12px;
    min-height: 76px;
}

.row__media {
    width: 56px;
    height: 56px;
    padding: 2px;
    flex: 0 0 56px;
}

@media (min-width: 1280px) {
    .row--product { grid-template-columns: 64px 1fr 20px; min-height: 80px; }
    .row__media { width: 64px; height: 64px; flex-basis: 64px; }
}

.row__media.plate::before,
.row__media.plate::after { width: 8px; height: 8px; border-width: 1px; }
.row__media.plate::before { top: 4px; left: 4px; }
.row__media.plate::after { bottom: 4px; right: 4px; }

.row__body { min-width: 0; display: grid; gap: 2px; }

.row__model {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
    font-variant-numeric: tabular-nums;
}

.row__name {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.35;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media (min-width: 768px) {
    .row__name { font-size: 16px; }
}

.row__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.row__specs span { display: inline-flex; align-items: center; gap: 6px; }

.row__specs span + span::before {
    content: "";
    width: 1px;
    height: 9px;
    background: var(--line-2);
}

.row__go { color: var(--faint); display: grid; place-items: center; }

/* Category rows / index rows */
.row--index { grid-template-columns: 28px 1fr auto; }
.row--cat { grid-template-columns: 1fr auto 20px; }

.row__idx {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--faint);
    font-variant-numeric: tabular-nums;
}

.row__label { font-size: 15px; font-weight: 700; }
.row__count {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--faint);
    font-variant-numeric: tabular-nums;
}

.row__meta {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--faint);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.row__title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.01em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Horizontal scroll containers (chips / home product band / thumbnails / tables) */
.rail-x {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.rail-x::-webkit-scrollbar { display: none; }

.rail-x.can-scroll {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent 100%);
}

/* =====================================================================
   10. Product cards / product detail
   ===================================================================== */
.pcard {
    display: grid;
    border-top: 1px solid var(--line);
    padding-top: 12px;
    color: var(--ink);
    background: transparent;
}

.pcard__media {
    position: relative;
    aspect-ratio: 1/1;
    padding: 8%;
}

.pcard__media .tag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
}

.pcard__media img { transition: transform 0.6s var(--ease); }

.pcard:hover .pcard__media img { transform: scale(1.02); }

.pcard__body { display: grid; gap: 4px; padding-top: 12px; }

.pcard__model {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
    font-variant-numeric: tabular-nums;
}

.pcard__name {
    font-size: var(--t-h3);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.pcard__sub {
    font-size: var(--t-sm);
    color: var(--muted);
    line-height: 1.55;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.pcard__foot {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.pcard__go { color: var(--faint); }

.price { display: flex; align-items: baseline; gap: 8px; }

.price__now {
    font-family: var(--font-mono);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.price__was {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--faint);
    text-decoration: line-through;
    font-variant-numeric: tabular-nums;
}

/* Product detail */
.pdp { display: grid; gap: 20px; }

.pdp__media { min-width: 0; }

.pdp__stage {
    width: 100%;
    aspect-ratio: 1/1;
    max-height: 100vw;
    padding: 6%;
}

.pdp__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    padding-bottom: 4px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
}

.pdp__thumb {
    position: relative;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    padding: 4px;
    border: 1px solid var(--line-control);
    border-radius: var(--r-0);
    background: radial-gradient(120% 100% at 50% 0%, #FFFFFF 0%, var(--plate) 72%);
    cursor: pointer;
}

.pdp__thumb img { width: 100%; height: 100%; object-fit: contain; }

.pdp__thumb.is-active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

.pdp__info { min-width: 0; display: grid; gap: 12px; align-content: start; }

.pdp__model {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
}

.pdp__title {
    font-size: var(--t-h1);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.pdp__sub {
    font-size: var(--t-lead);
    line-height: 1.6;
    color: var(--muted);
    max-width: 40ch;
}

.pdp__tags { display: flex; flex-wrap: wrap; gap: 6px; }

.pdp__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.pdp__price-now {
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.pdp__price-unit { font-size: 12px; color: var(--faint); }

.pdp__price-was {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--faint);
    text-decoration: line-through;
    font-variant-numeric: tabular-nums;
}

.pdp__price-note { font-size: 12px; color: var(--faint); }

.pdp__actions { display: grid; gap: 8px; }

.pdp__actions .btn { width: 100%; }

.pdp__note {
    list-style: none;
    display: grid;
    gap: 0;
    margin-top: 4px;
    border-top: 1px solid var(--line);
}

.pdp__note li {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 8px;
    align-items: start;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: var(--t-sm);
    color: var(--muted);
    line-height: 1.6;
}

.pdp__note li svg { color: var(--faint); margin-top: 3px; }

@media (min-width: 768px) {
    .pdp {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: start;
    }
    .pdp__actions { grid-auto-flow: column; }
    .pdp__actions .btn { width: auto; }
    /* No sticky: when pinned, thumbnails slide over the stage image and look like they overlap */
    .pdp__stage { position: relative; }
}

@media (min-width: 1024px) {
    .pdp { grid-template-columns: 6fr 5fr; gap: 0; }
    .pdp__info {
        border-left: 1px solid var(--line);
        padding-left: 40px;
        margin-left: 40px;
    }
}

/* Detail: rail plus body copy */
.detail {
    margin-top: var(--section-y);
    border-top: 1px solid var(--line);
    padding-top: 32px;
}

.detail-grid { display: grid; gap: 24px; }

.detail-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 4px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: none;
}

.detail-nav::-webkit-scrollbar { display: none; }

.detail-nav__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: var(--r-0);
    font-size: 13px;
    color: var(--muted);
    white-space: nowrap;
}

.detail-nav__item.is-active { border-color: var(--ink); color: var(--ink); font-weight: 700; }

.detail-nav__idx {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--faint);
}

@media (min-width: 1024px) {
    .detail-grid { grid-template-columns: 2fr 7fr 3fr; gap: 48px; align-items: start; }
    .detail-nav {
        position: sticky;
        top: calc(var(--header-h) + 24px);
        display: grid;
        gap: 0;
        margin-inline: 0;
        padding-inline: 0;
        overflow: visible;
        border-top: 1px solid var(--line);
    }
    .detail-nav__item {
        min-height: 44px;
        padding: 0 0 0 12px;
        border: 0;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
        box-shadow: inset 2px 0 0 transparent;
        font-size: 13px;
    }
    .detail-nav__item.is-active {
        box-shadow: inset 2px 0 0 var(--accent);
        border-color: var(--line);
    }
}

.detail-section + .detail-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.detail-section__title {
    margin-top: 12px;
    font-size: var(--t-h2);
    letter-spacing: -0.015em;
}

.detail-section__desc {
    margin-top: 10px;
    font-size: var(--t-sm);
    color: var(--muted);
    max-width: 52ch;
}

.detail-section__body { margin-top: 16px; }

/* =====================================================================
   11. Spec table / prose
   ===================================================================== */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.spec-table th {
    width: 44%;
    padding: 12px 16px 12px 0;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-align: left;
    color: var(--faint);
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.spec-table td {
    padding: 12px 0;
    font-size: 15px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    font-variant-numeric: tabular-nums;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }

/* Grouped every 4 rows with spacing rather than zebra striping */
.spec-table tr:nth-child(4n) th,
.spec-table tr:nth-child(4n) td { padding-bottom: 24px; }

@media (max-width: 767px) {
    .spec-table,
    .spec-table tbody,
    .spec-table tr,
    .spec-table th,
    .spec-table td { display: block; width: 100%; }
    .spec-table tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
    .spec-table tr:nth-child(4n) th,
    .spec-table tr:nth-child(4n) td { padding-bottom: 10px; }
    .spec-table th {
        padding: 0 0 2px;
        border: 0;
        font-size: 10.5px;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }
    .spec-table td { padding: 0; border: 0; }
}

.spec-note {
    margin-top: 16px;
    font-size: 12px;
    color: var(--faint);
    line-height: 1.6;
}

.specs-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    margin-top: 8px;
    padding: 0 14px;
    border: 1px solid var(--line-control);
    border-radius: var(--r-1);
    background: transparent;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.specs-toggle:hover { background: var(--accent-soft); }

.specs-toggle svg { transition: transform 0.18s var(--ease); color: var(--faint); }

.specs-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Body copy: a dedicated type treatment for long-form text */
.prose {
    font-size: var(--t-prose);
    line-height: 1.8;
    color: var(--ink);
    max-width: 680px;
}

.prose > * + * { margin-top: 16px; }

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.prose h2 {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: var(--t-h2);
    line-height: 1.2;
    scroll-margin-top: calc(var(--header-h) + 12px);
}

.prose h3 {
    margin-top: 28px;
    font-size: var(--t-h3);
    line-height: 1.3;
    scroll-margin-top: calc(var(--header-h) + 12px);
}

.prose p { margin: 0; }

.prose strong { font-weight: 700; }

.prose a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.prose ul,
.prose ol {
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.prose ul li,
.prose ol li {
    position: relative;
    padding-left: 22px;
}

.prose ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.72em;
    width: 4px;
    height: 4px;
    background: var(--accent);
}

/* Continuous numbering: several ordered lists in one block share a single counter.
   Previously every <ol> ran counter-reset, so numbering restarted at 1 after 1-5. */
.prose { counter-reset: prose-ol; }

.prose ol { counter-reset: none; }

.prose ol li { counter-increment: prose-ol; }

.prose ol li::before {
    content: counter(prose-ol, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0.1em;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--faint);
}

.prose blockquote {
    margin: 24px 0;
    padding: 4px 0 4px 20px;
    border-left: 2px solid var(--accent);
    font-size: 17px;
    color: var(--ink);
}

.prose blockquote p { margin: 0; }

.prose img {
    width: 100%;
    background: radial-gradient(120% 100% at 50% 0%, #FFFFFF 0%, var(--plate) 72%);
    object-fit: contain;
    padding: 6%;
}

.prose code {
    padding: 2px 6px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--r-0);
    font-family: var(--font-mono);
    font-size: 13.5px;
}

.prose pre {
    overflow-x: auto;
    padding: 16px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--r-0);
}

.prose pre code { padding: 0; border: 0; background: none; }

.prose hr { height: 1px; border: 0; background: var(--line); margin: 32px 0; }

/* Markdown output (md-* is generated by the renderer) */
.md-content > * + * { margin-top: 16px; }

.md-h {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: var(--t-h2);
    letter-spacing: -0.015em;
    line-height: 1.2;
    scroll-margin-top: calc(var(--header-h) + 12px);
}

.md-list { padding-left: 0; list-style: none; display: grid; gap: 8px; }

.md-list li { position: relative; padding-left: 22px; }

.md-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.72em;
    width: 4px;
    height: 4px;
    background: var(--accent);
}

/* Task lists (- [ ] / - [x]): a checkbox replaces the bullet, no script required */
.md-list li.md-task::before { display: none; }

.md-task__box {
    position: relative;
    display: inline-block;
    width: 0.92em;
    height: 0.92em;
    margin-right: 0.5em;
    border: 1.5px solid currentColor;
    border-radius: 3px;
    opacity: 0.45;
    vertical-align: -0.08em;
}

.md-task--done .md-task__box { opacity: 0.9; }

.md-task--done .md-task__box::after {
    content: "";
    position: absolute;
    left: 0.26em;
    top: 0.06em;
    width: 0.24em;
    height: 0.46em;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.md-quote {
    margin: 24px 0;
    padding-left: 20px;
    border-left: 2px solid var(--accent);
    font-size: 17px;
}

.md-quote .md-p { margin: 0; }

.table-scroll,
.md-table-wrap {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    border: 1px solid var(--line);
    margin: 20px 0;
    max-width: 100%;
}

.md-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 480px;
}

.md-table th,
.md-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.md-table th {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--faint);
    background: var(--surface-2);
    position: sticky;
    left: 0;
    z-index: 2;
}

.md-table td:first-child,
.md-table th:first-child {
    position: sticky;
    left: 0;
    background: var(--surface);
    z-index: 1;
}

.md-table th:first-child { background: var(--surface-2); }

/* =====================================================================
   12. Knowledge list / article page
   ===================================================================== */
.kgrid {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.kentry {
    display: grid;
    gap: 8px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}

.kentry:hover .kentry__title { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.kentry__cat,
.kentry__meta {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--faint);
    font-variant-numeric: tabular-nums;
}

.kentry__title {
    font-size: var(--t-h3);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.35;
    text-wrap: balance;
}

.kentry__sum {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.kentry__foot {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--faint);
    font-variant-numeric: tabular-nums;
}

.kentry--featured { padding-top: 20px; }

.kentry--featured .kentry__title { font-size: var(--t-h2); line-height: 1.2; }

.kentry__media { margin-bottom: 4px; }

@media (min-width: 1024px) {
    .kgrid {
        grid-template-columns: 1fr 1fr;
        column-gap: 40px;
    }
    .kentry--featured {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
        column-gap: 40px;
        align-items: center;
    }
    .kentry--featured .kentry__media { grid-column: 2; grid-row: 1 / span 4; margin: 0; }
}

.kb-layout { display: grid; gap: 32px; }

@media (min-width: 1024px) {
    .kb-layout { grid-template-columns: 7fr 4fr; gap: 56px; align-items: start; }
    .kb-side { position: sticky; top: calc(var(--header-h) + 24px); }
}

.kb-side { display: grid; gap: 24px; }

.kbox {
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

.kbox__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    font-family: var(--font-mono);
    font-size: var(--t-label);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
}

.kbox__text {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    margin: 8px 0 12px;
}

.kbox__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.kbox--cta {
    padding: 16px;
    border: 1px solid var(--line);
    background: var(--surface);
}

/* Article page */
.kb-article { display: block; padding-top: 16px; }

.kb-main { min-width: 0; }

.kb-article__head { padding: 16px 0 20px; border-bottom: 1px solid var(--line); }

.kb-article__cat {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    border: 1px solid var(--line-2);
    border-radius: var(--r-0);
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.kb-article__title {
    margin-top: 14px;
    font-size: var(--t-h1);
    letter-spacing: -0.02em;
    line-height: 1.12;
    max-width: 24ch;
}

.kb-article__lead {
    margin-top: 14px;
    font-size: var(--t-lead);
    line-height: 1.65;
    color: var(--muted);
    max-width: 52ch;
}

.kb-article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--faint);
    font-variant-numeric: tabular-nums;
}

.kb-article__meta span { display: inline-flex; align-items: center; gap: 5px; }

.kb-article__layout { display: grid; gap: 28px; padding-top: 24px; }

.kb-article__body { min-width: 0; }

.kb-toc-rail { min-width: 0; }

@media (min-width: 1024px) {
    .kb-article__layout {
        grid-template-columns: 2fr 7fr 3fr;
        gap: 40px;
        align-items: start;
    }
    .kb-toc-rail { position: sticky; top: calc(var(--header-h) + 24px); }
    .kb-article__side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
}

.kb-article__side { display: grid; gap: 24px; }

/* Table of contents: <details> when collapsed; a left rail at 1024 and up */
.toc { border-top: 1px solid var(--line); }

.toc__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.toc__summary::-webkit-details-marker { display: none; }

.toc__summary svg { color: var(--faint); transition: transform 0.18s var(--ease); }

.toc[open] .toc__summary svg { transform: rotate(180deg); }

.toc__list {
    list-style: none;
    max-height: 60vh;
    overflow-y: auto;
    display: grid;
    padding-bottom: 8px;
}

.toc__item a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 0 0 0 12px;
    border-left: 1px solid var(--line);
    font-size: 13px;
    color: var(--faint);
    line-height: 1.4;
}

.toc__item--h3 a { padding-left: 26px; font-size: 12.5px; }

.toc__item a:hover { color: var(--ink); background: var(--accent-soft); }

.toc__item a.is-active {
    color: var(--ink);
    font-weight: 700;
    border-left: 2px solid var(--accent);
    padding-left: 11px;
}

@media (min-width: 1024px) {
    .toc { border-top: 1px solid var(--line); }
    .toc__summary { cursor: default; pointer-events: none; }
    .toc__summary svg { display: none; }
    .toc__list { max-height: none; overflow: visible; }
    /* Desktop keeps the TOC open: overrides the UA display:none for a closed details */
    .toc:not([open]) > .toc__list { display: grid !important; }
}

.kb-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.kb-tags__label {
    font-family: var(--font-mono);
    font-size: var(--t-label);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
}

.kb-tag {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 10px;
    border: 1px solid var(--line-control);
    border-radius: var(--r-1);
    font-size: 12.5px;
    color: var(--muted);
}

.kb-tag:hover { border-color: var(--ink); color: var(--ink); }

.kb-share {
    margin-top: 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--faint);
    letter-spacing: 0.04em;
}

.kb-nav {
    display: grid;
    gap: 12px;
    margin-top: 24px;
    border-top: 1px solid var(--line);
    padding-top: 16px;
}

@media (min-width: 768px) {
    .kb-nav { grid-template-columns: 1fr 1fr; }
}

.kb-nav__item {
    display: grid;
    gap: 4px;
    padding: 12px 0;
    color: var(--ink);
}

.kb-nav__item--prev { text-align: left; }

.kb-nav__item--next { text-align: right; }

.kb-nav__dir {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
}

.kb-nav__item--next .kb-nav__dir { justify-content: flex-end; }

.kb-nav__title { font-size: 14px; font-weight: 700; line-height: 1.4; }

/* Compact rows for sidebars and indexes */
.krow { min-height: 48px; }

.krow .row__title { font-size: 14px; -webkit-line-clamp: 2; }

.kb-nav__item:hover .kb-nav__title { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.kb-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-size: 13px;
    color: var(--muted);
}

.kb-back:hover { color: var(--ink); }

/* =====================================================================
   13. Contact page / form states
   ===================================================================== */
.contact-layout { display: grid; gap: 24px; }

.contact__phone {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 56px;
    padding: 0 0 0 14px;
    border-left: 2px solid var(--accent);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.contact__phone-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border: 1px solid var(--line-2);
    border-radius: var(--r-0);
    color: var(--muted);
}

.contact__phone-body { display: grid; gap: 2px; min-width: 0; flex: 1 1 auto; }

.contact__phone-label {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
}

.contact__phone-value {
    font-family: var(--font-mono);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
}

.contact__form { min-width: 0; }

.contact__channels { display: grid; }

.contact-row {
    display: grid;
    grid-template-columns: 32px 1fr 16px;
    gap: 12px;
    align-items: center;
    min-height: 56px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}

.contact-row:first-child { border-top: 1px solid var(--line); }

.contact-row__icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--line-2);
    border-radius: var(--r-0);
    color: var(--muted);
}

.contact-row__body { display: grid; gap: 2px; min-width: 0; }

.contact-row__label {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
}

.contact-row__value {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    word-break: break-word;
}

.contact-row__go { color: var(--faint); display: grid; place-items: center; }

.contact__trust { display: grid; gap: 20px; }

.contact__meta {
    display: grid;
    gap: 12px;
}

.contact__meta-row { display: grid; gap: 2px; }

.contact__meta-label {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
}

.contact__meta-value { font-size: 14px; line-height: 1.6; }

.contact__tips {
    list-style: none;
    display: grid;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}

.contact__tips li { position: relative; padding-left: 18px; }

.contact__tips li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.66em;
    width: 4px;
    height: 4px;
    background: var(--accent);
}

@media (min-width: 768px) {
    .contact-layout {
        grid-template-columns: 4fr 7fr;
        gap: 0 40px;
        grid-template-areas:
            "phone form"
            "channels form"
            "trust form";
        align-items: start;
    }
    .contact__phone { grid-area: phone; border-top: 0; }
    .contact__channels { grid-area: channels; margin-top: 8px; }
    .contact__trust { grid-area: trust; margin-top: 24px; }
    .contact__form { grid-area: form; }
}

/* Forms */
.form-panel {
    border: 1px solid var(--line);
    padding: 16px;
}

@media (min-width: 768px) {
    .form-panel { padding: 24px; }
}

.form-panel__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.form-panel__title { font-size: var(--t-h3); letter-spacing: -0.01em; }

.form-panel__code {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
}

.form-panel__desc {
    margin-top: 12px;
    font-size: var(--t-sm);
    color: var(--muted);
    line-height: 1.6;
}

.inq-form { display: grid; gap: 14px; margin-top: 16px; }

.inq-form__alert {
    padding: 12px 14px;
    border: 1px solid var(--danger);
    border-left-width: 3px;
    font-size: 13px;
    color: var(--danger);
    line-height: 1.5;
}

.inq-form__group {
    border: 1px solid var(--line);
    border-radius: var(--r-0);
}

.inq-form__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 0 14px;
    cursor: pointer;
    list-style: none;
    font-size: 13px;
    color: var(--muted);
}

.inq-form__summary::-webkit-details-marker { display: none; }

.inq-form__summary svg { color: var(--faint); transition: transform 0.18s var(--ease); }

.inq-form__group[open] .inq-form__summary svg { transform: rotate(45deg); }

.inq-form__group-body { padding: 0 14px 14px; display: grid; gap: 14px; }

/* Form fields: kept distinct from the full-width .field band so padding never bleeds */
.form-field { display: grid; gap: 6px; min-width: 0; }

.field-row { display: grid; gap: 14px; }

@media (min-width: 768px) {
    .field-row { grid-template-columns: 1fr 1fr; }
}

.form-field__label {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-field__req {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--muted);
    text-transform: none;
}

.form-field__req::before { content: "· "; }

.input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    background: var(--surface-2);
    border: 1px solid var(--line-control);
    border-radius: var(--r-1);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.4;
    appearance: none;
}

.input::placeholder { color: var(--faint); }

.input:focus {
    border-color: var(--ink);
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}

.input--area {
    min-height: 120px;
    padding: 12px 14px;
    line-height: 1.6;
    resize: vertical;
}

select.input {
    background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 36px;
}

.input.is-error,
.input[aria-invalid="true"] { border-color: var(--danger); }

.form-field__err {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--danger);
}

.form-field__err::before {
    content: "!";
    display: grid;
    place-items: center;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    margin-top: 1px;
    border: 1px solid currentColor;
    border-radius: var(--r-0);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
}

.inq-form__hint { font-size: 12px; color: var(--faint); line-height: 1.6; }

.inq-form__privacy { font-size: 12px; color: var(--faint); line-height: 1.6; }

.inq-form__privacy a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

.inq-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Read-only preselected product */
.inq-form__picked {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 0 14px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--r-1);
    font-size: 14px;
    font-weight: 700;
}

.inq-form__picked span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.inq-form__picked a {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 500;
    color: var(--faint);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* =====================================================================
   14. Page head / breadcrumbs / sorting / paging / empty state / search
   ===================================================================== */
.page-hero {
    padding-top: 16px;
    padding-bottom: 20px;
}

.page-hero__title {
    margin-top: 14px;
    font-size: var(--t-h1);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.page-hero__desc {
    margin-top: 10px;
    font-size: var(--t-sm);
    line-height: 1.6;
    color: var(--muted);
    max-width: 62ch;
}

.page-hero__sub {
    margin-top: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
}

.page-hero--rule { border-bottom: 1px solid var(--line); }

/* Breadcrumbs: below 768 trimmed to "back to parent", the DOM keeps the full hierarchy */
.crumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    white-space: nowrap;
    font-family: var(--font-mono);
    font-size: var(--t-label);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--faint);
    min-height: 20px;
}

.crumbs a { color: var(--faint); }
.crumbs a:hover { color: var(--ink); }

.crumbs__sep { color: var(--line-2); }

@media (max-width: 767px) {
    .crumbs__node--collapsed { display: none; }
    .crumbs__back { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); }
}

@media (min-width: 768px) {
    .crumbs__back svg { display: none; }
}

/* Sort bar: sits right under the header */
.sort-bar {
    position: sticky;
    top: var(--header-h);
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 6px 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}

.is-header-hidden .sort-bar { top: 0; }

.sort-bar__label {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
    white-space: nowrap;
}

.sort-bar__links {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.sort-bar__links::-webkit-scrollbar { display: none; }

.sort-bar__link {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 10px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.sort-bar__link:hover { color: var(--ink); }

.sort-bar__link[aria-current="true"] {
    color: var(--ink);
    border-bottom-color: var(--accent);
}

.result-count {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--faint);
    font-variant-numeric: tabular-nums;
}

/* Pagination: real anchors, current page marked with aria-current */
.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 28px 0;
    margin-top: 8px;
    border-top: 1px solid var(--line);
}

.pager__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: var(--r-0);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.pager__btn:hover { border-color: var(--line-control); background: var(--accent-soft); }

.pager__btn[aria-current="page"] {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--bg);
}

.pager__btn.is-disabled { opacity: 0.34; pointer-events: none; }

.pager__status {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--muted);
    padding: 0 4px;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 767px) {
    .pager__btn--num { display: none; }
    .pager__btn--num[aria-current="page"],
    .pager__btn--current { display: inline-flex; }
}

/* Empty state */
.empty {
    display: grid;
    gap: 10px;
    justify-items: start;
    padding: 32px 0 40px;
}

.empty__title { font-size: var(--t-h3); font-weight: 700; letter-spacing: -0.01em; }

.empty__desc { font-size: var(--t-sm); color: var(--muted); line-height: 1.7; max-width: 52ch; }

.empty__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.empty--void { padding-top: 0; }

.empty--void .plate--void { width: 100%; margin-bottom: 16px; }

/* Search */
.search-form {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    max-width: 560px;
}

.search-form .input { flex: 1 1 auto; }

.search-form .btn { flex: 0 0 auto; width: 48px; padding: 0; }

.page-body { padding-block: 8px var(--section-y); }

.page-content { max-width: 680px; }

.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.page-meta {
    margin-top: 40px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--faint);
}

/* Tail spacing on detail and listing pages (replaces the old inline height:80px) */
.tail-space { height: 40px; }

@media (min-width: 768px) {
    .tail-space { height: 64px; }
}

/* Fixed two-column grid (related products / paired cards) */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
}

@media (min-width: 768px) {
    .grid-2 { gap: 24px; }
}

@media (min-width: 1024px) {
    .grid-2 { grid-template-columns: repeat(3, 1fr); }
}

/* =====================================================================
   15. Overlays: toast / confirm / reveal
   ===================================================================== */
.toast-stack {
    position: fixed;
    left: 50%;
    bottom: calc(var(--bar-h) + env(safe-area-inset-bottom) + 16px);
    transform: translateX(-50%);
    z-index: 90;
    display: grid;
    gap: 8px;
    width: min(92vw, 420px);
    pointer-events: none;
}

@media (min-width: 768px) {
    .toast-stack { bottom: 24px; }
}

.toast {
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-left: 2px solid var(--accent);
    border-radius: var(--r-0);
    font-size: 13px;
    line-height: 1.5;
    color: var(--ink);
    box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.55);
}

.toast--error { border-left-color: var(--danger); }

.toast.is-out { opacity: 0; transition: opacity 0.24s var(--ease); }

.confirm {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: grid;
    place-items: center;
    padding: 20px;
}

.confirm__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); }

.confirm__panel {
    position: relative;
    width: min(92vw, 420px);
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: var(--r-0);
    box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.55);
}

.confirm__msg { font-size: 14px; line-height: 1.6; }

.confirm__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }

.confirm.is-out { opacity: 0; transition: opacity 0.2s var(--ease); }

/* Content stays visible without JS (no-js class on <html>) */
.no-js [data-reveal] { opacity: 1; transform: none; }

/* Entrance: a subtle fade only, respects reduced-motion, never depends on JS */
.js [data-reveal] { opacity: 0; transform: translateY(6px); }

.js [data-reveal].is-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js [data-reveal] { opacity: 1; transform: none; }
    .btn, .site-header, .action-bar, .mobile-nav, .ticker__track, .pcard__media img { transition: none; animation: none; }
}

/* =====================================================================
   16. Overrides (kept last so they beat the responsive defaults above)
   ===================================================================== */
/* Product detail readouts: values are real parameter strings ("256 channels / 16 zones"), so a fixed 2x2 is needed */
.readout.readout--pdp { grid-template-columns: 1fr 1fr; }

.readout.readout--pdp .readout__cell {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
}

.readout.readout--pdp .readout__cell:nth-child(odd) {
    padding-right: 12px;
    border-right: 1px solid var(--line);
}

.readout.readout--pdp .readout__cell:nth-child(even) { padding-left: 12px; }

.readout.readout--pdp .readout__cell:nth-last-child(-n+2) { border-bottom: 0; }

.readout.readout--pdp .readout__value { font-size: 20px; }

@media (min-width: 1280px) {
    .readout.readout--pdp .readout__value { font-size: 22px; }
}

/* =====================================================================
   Phase 3 close-out fixes (7 items added after review)
   — gaps left by the front-end delivery, filled in against the visual/UX specs
   ===================================================================== */

/* 1) With font-synthesis:none <em> loses synthetic italics, so CJK emphasis uses bold */
em, i { font-style: normal; font-weight: 700; }

/* 2) The result count must not wrap (it once broke mid-phrase) */
.result-count { white-space: nowrap; }

/* 3) Sort row: horizontal scroll on narrow screens, otherwise the right edge is clipped and unreachable */
.sort-bar__links {
    min-width: 0;
    flex: 1 1 auto;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.sort-bar__links::-webkit-scrollbar { display: none; }
.sort-bar__link { flex: 0 0 auto; }

/* 4) At 390px only the first two readouts remain (full specs are still in the table below) */
@media (max-width: 419px) {
    /* Detail pages only: the four home readouts are all short strings and need no trimming */
    .readout.readout--pdp .readout__cell:nth-child(n+3) { display: none; }
    .readout.readout--pdp .readout__cell:nth-child(-n+2) { border-bottom: 0; }
}

/* 5) Larger list thumbnails: a model must be recognisable at 56-64px (the detail hero still uses contain) */
.row__media img { object-fit: cover; transform: scale(1.08); }

/* 6) On narrow screens keep a single solid CTA, in the bottom bar */
@media (max-width: 767px) {
    .hero__actions .btn--primary {
        background: transparent;
        border: 1px solid var(--line-control);
        color: var(--field-ink);
    }
    .hero__actions .btn--primary:hover { background: rgba(16, 44, 88, 0.08); }
}

/* 7) Keep the hero watermark inside the plate (right:0 / bottom:-0.12em used to be clipped) */
.hero__mega { left: auto; right: 5%; bottom: 3%; }

/* ---------------------------------------------------------------------
   Language switch: must stay one tap away on phones too (explicit request)
   It used to render only in the >=768 header, so mobile users had to open the drawer first.
   --------------------------------------------------------------------- */
.lang-switch {
    display: inline-flex;
    height: 38px;
    padding: 0 10px;
    font-size: 11px;
    letter-spacing: 0.08em;
}

@media (min-width: 768px) {
    .lang-switch { height: 44px; padding: 0 12px; }
}

/* =====================================================================
   Hero plate carousel + product band paging (clickable on desktop)
   ===================================================================== */

/* ---- Hero: image track ---- */
.hero__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0;
    gap: 0;
}

.hero__track::-webkit-scrollbar { display: none; }

.hero__slide {
    flex: 0 0 100%;
    width: 100%;
    margin: 0;
    scroll-snap-align: center;
    display: grid;
    place-items: center;
    padding: 6%;
}

.hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* ---- Hero: slide index and paging buttons ---- */
.hero__ctrl {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}

.hero__fig {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
    font-variant-numeric: tabular-nums;
}

.hero__ctrl-btns { display: flex; gap: 6px; }

.hero__btn {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line-2);
    background: transparent;
    color: var(--field-ink);
    transition: border-color .2s var(--ease), background-color .2s var(--ease), opacity .2s var(--ease);
}

.hero__btn:hover {
    border-color: var(--field-ink);
    background: rgba(16, 44, 88, .08);
}

.hero__btn[disabled] { opacity: .28; pointer-events: none; }

.hero__cap {
    margin: 8px 0 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(16, 44, 88, .62);
    min-height: 1.5em;
}

/* Plate control row: title left, index and buttons right, one line so it never fights the watermark */
.hero__ctrl {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(16, 44, 88, .16);
}

.hero__ctrl-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

.hero__cap {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.4;
    color: rgba(16, 44, 88, .62);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Move the watermark up so it never sits on the control row */
.hero__mega {
    bottom: 96px !important;
    opacity: .55;
}

@media (max-width: 767px) {
    .hero__mega { bottom: 88px !important; }
    .hero__cap { font-size: 12px; }
    .hero__btn { width: 38px; height: 38px; }
}

/* Tone the watermark down into a background texture; it must not compete with the product */
.hero__mega {
    opacity: .16;
    font-size: clamp(56px, 8vw, 112px);
    right: 14px;
    bottom: 74px;
}

@media (max-width: 767px) {
    .hero__mega {
        opacity: .14;
        font-size: clamp(48px, 15vw, 84px);
        right: 10px;
        bottom: 64px;
    }
}

/* Narrow screens: caption on its own line (no truncation), buttons padded to the 44px touch minimum */
@media (max-width: 767px) {
    .hero__ctrl {
        flex-wrap: wrap;
        gap: 8px;
    }

    .hero__cap {
        flex: 1 1 100%;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .hero__ctrl-right { margin-left: auto; }

    .hero__btn { width: 44px; height: 44px; }
}

/* Body images (inserted in rich text): height cap so one tall shot cannot stretch the layout */
.prose img {
    max-height: 560px;
    height: auto;
}

/* =====================================================================
   Detail page image fixes (2026-11)
   1) Thumbnails wrapped onto new lines -> 12 of them pushed out of the container
   2) Main image used contain + 6% padding -> looked letterboxed and shrunk
   3) Body images used width:100% + object-fit:contain + max-height -> ratio squashed
   ===================================================================== */

/* Thumbnails: wrap to the next line instead of bursting the box */
.pdp__thumbs {
    flex-wrap: wrap;
    overflow: visible;
}

/* Hero fills its frame (same-ratio images are not cropped; other ratios lose edges rather than showing bars) */
.pdp__plate img,
.pdp__main img {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
    object-position: center;
}

/* Thumbnails fill their little squares as well */
.pdp__thumb img {
    padding: 0;
    object-fit: cover;
}

/* Body images: keep the natural ratio, limit width only, no forced 100% width plus height cap */
.prose img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: none;
    padding: 0;
    margin: 16px auto;
    background: none;
    object-fit: fill;
    display: block;
}

/* Hero container: drop the 6% padding so the image can actually fill the frame */
.pdp__stage {
    padding: 0;
    overflow: hidden;
}

.pdp__stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    padding: 0;
}

/* Thumbnail squares fill too */
.pdp__thumb { padding: 0; overflow: hidden; }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* =====================================================================
   Detail gallery v2 (2026-11-21)
   Problem: the stage relied on flex centring with the image setting the height, so images
   overflowed the frame and covered the thumbnails.
   Fix: the stage is a fixed-ratio frame, the image is absolutely positioned to fill it,
   and the thumbnails live in their own layer.
   ===================================================================== */

.pdp__media { position: relative; }

.pdp__stage {
    position: relative;
    display: block;              /* No more flex centring; absolute positioning controls the stage */
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 0;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(16, 44, 88, .09);
    background: radial-gradient(120% 100% at 50% 0%, #FFFFFF 0%, var(--plate) 72%);
    isolation: isolate;          /* Own stacking context so the stage can never interleave with the thumbnails */
}

.pdp__stage > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    padding: 0;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* The index badge sits inside the frame and leaves the document flow */
.pdp__stage .plate__count {
    position: absolute;
    right: 12px;
    bottom: 10px;
    z-index: 2;
}

/* Thumbnails form their own layer, always above the image, never covered again */
.pdp__thumbs {
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 0;
    padding: 0;
    background: transparent;
}

.pdp__thumb {
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    padding: 0;
    border: 1px solid var(--line-control, rgba(255,255,255,.16));
    border-radius: 10px;
    overflow: hidden;
    background: #F1F6FD;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.pdp__thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    opacity: .82;
    transition: opacity .18s ease, transform .3s ease;
}

.pdp__thumb:hover { transform: translateY(-2px); border-color: var(--ink, #fff); }
.pdp__thumb:hover img { opacity: 1; }

.pdp__thumb.is-active {
    border-color: var(--ink, #fff);
    box-shadow: 0 0 0 2px rgba(27, 95, 217, .28);
}

.pdp__thumb.is-active img { opacity: 1; }

/* Narrow screens: 12 thumbnails stacked would be very tall, so scroll them in one row */
@media (max-width: 767px) {
    .pdp__thumbs {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .pdp__thumbs::-webkit-scrollbar { display: none; }

    .pdp__thumb { flex: 0 0 62px; width: 62px; height: 62px; }
}

/* No-image placeholder: the frame is block now, so the text must centre itself */
.pdp__stage > .media-ph {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .12em;
    color: var(--faint);
}

/* =====================================================================
   Back to top + product list grid view (2026-11-21)
   ===================================================================== */

/* Back to top */
.to-top {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 60;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line-control, rgba(255,255,255,.18));
    background: var(--surface, #F1F6FD);
    color: var(--ink, #F3F7FF);
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
}

.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-2px); }

@media (max-width: 640px) {
    .to-top { right: 14px; bottom: 16px; width: 40px; height: 40px; }
}

/* View toggle */
.view-toggle {
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--line-control, rgba(255,255,255,.16));
    border-radius: 10px;
    margin-bottom: 16px;
}

.view-toggle__btn {
    width: 32px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--faint, #8a8b80);
    cursor: pointer;
    transition: background .16s ease, color .16s ease;
}

.view-toggle__btn:hover { color: var(--ink, #F3F7FF); }
.view-toggle__btn.is-active { background: var(--ink, #F3F7FF); color: var(--surface, #F1F6FD); }

/* Grid mode: four per row */
.rows[data-view="grid"] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rows[data-view="grid"] > li { display: block; }

.rows[data-view="grid"] .row--product {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--line-control, rgba(255,255,255,.14));
    border-radius: 14px;
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.rows[data-view="grid"] .row--product:hover {
    transform: translateY(-3px);
    border-color: var(--ink, #F3F7FF);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
}

/* Marketplace style: one square canvas, the image scaled to the largest fit without cropping.
   Note: .row__media carries width/height:56px, so height:auto must be set explicitly,
   otherwise the canvas stays 56px tall and the image is squeezed into a thumbnail. */
.rows[data-view="grid"] .row__media {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 0;
    flex: 0 0 auto;
    border-radius: 0;
    background: #fff;
    overflow: hidden;
}

.rows[data-view="grid"] .row__media img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;        /* Shown in full at its natural ratio, long edge filling the canvas */
    object-position: center;
    transform: none;            /* Overrides the scale(1.08) used in list mode */
    padding: 6px;               /* Tiny breathing room so the image never touches the edge */
}

.rows[data-view="grid"] .row__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 14px 16px;
}

.rows[data-view="grid"] .row__name {
    font-size: 15px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rows[data-view="grid"] .row__specs {
    margin-top: auto;
    flex-wrap: wrap;
    gap: 6px;
}

@media (max-width: 1100px) {
    .rows[data-view="grid"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .rows[data-view="grid"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}

@media (max-width: 480px) {
    .rows[data-view="grid"] { grid-template-columns: minmax(0, 1fr); }
}

/* Grid mode: drop the list arrow and extra borders, cleaner cards */
.rows[data-view="grid"] .row--product > .row__arrow,
.rows[data-view="grid"] .row--product .row__go {
    display: none;
}

.rows[data-view="grid"] .row--product {
    border-color: var(--line, rgba(0,0,0,.08));
    border-radius: 12px;
    background: var(--surface, #fff);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.rows[data-view="grid"] .row--product:hover {
    border-color: var(--ink, #111);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .1);
    transform: translateY(-2px);
}

.rows[data-view="grid"] .row__body { padding: 12px 14px 14px; gap: 5px; }
.rows[data-view="grid"] .row__model { font-size: 10px; letter-spacing: .08em; }
.rows[data-view="grid"] .row__specs { font-size: 11.5px; }

/* =====================================================================
   List mode: enlarge the thumbnail (56/64px was too small to recognise a product)
   :not([data-view="grid"]) targets list mode only, leaving the grid untouched
   ===================================================================== */
ul.rows:not([data-view="grid"]) .row--product .row__media {
    width: 132px;
    height: 132px;
    flex: 0 0 132px;
    padding: 4px;
}

ul.rows:not([data-view="grid"]) .row--product .row__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Breathing room between image and text now that the image is larger */
ul.rows:not([data-view="grid"]) .row--product { gap: 18px; }

/* Narrow screens fall back to compact sizes so one row is not swallowed by the image */
@media (max-width: 767px) {
    ul.rows:not([data-view="grid"]) .row--product .row__media {
        width: 92px;
        height: 92px;
        flex: 0 0 92px;
    }
}

/* =====================================================================
   List mode fix (2026-11-21)
   .row--product uses grid: 56px 1fr 20px, so enlarging .row__media alone makes the
   132px image overflow the first column and cover the text; the columns must change too.
   ===================================================================== */
ul.rows:not([data-view="grid"]) .row--product {
    grid-template-columns: 132px 1fr 20px;
    gap: 18px;
    min-height: 148px;
    padding: 12px 0;
}

/* Sort row: 10.5px was too small, now 13px with a larger hit area */
.sort-bar { min-height: 52px; }

.sort-bar__label {
    font-size: 12px;
    letter-spacing: .1em;
}

.sort-bar__link {
    font-size: 13.5px;
    padding: 6px 10px;
    border-radius: 8px;
    color: var(--ink);
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

.sort-bar__link:hover { background: rgba(0, 0, 0, .05); }

.sort-bar__link[aria-current="true"] {
    font-weight: 600;
    border-bottom: 2px solid currentColor;
    border-radius: 0;
    padding-bottom: 4px;
}

.result-count { font-size: 12.5px; }

/* Narrow screens */
@media (max-width: 767px) {
    ul.rows:not([data-view="grid"]) .row--product {
        grid-template-columns: 92px 1fr 16px;
        gap: 12px;
        min-height: 108px;
    }

    .sort-bar__link { font-size: 12.5px; padding: 5px 8px; }
}

/* View toggle: it sat too close to the divider above, so add spacing */
.view-toggle {
    margin: 14px 0 18px;
}

/* =====================================================================
   Continuous body images: reads like one long image (2026-11-21)
   Cause: .prose > * + * { margin-top: 16px } added a 16px gap between every image,
   and .prose img { max-height: 560px } cut long photos off and shrank them.
   ===================================================================== */

/* No gap between consecutive image paragraphs */
.prose > p:has(> img:only-child) {
    margin-top: 0;
    line-height: 0;          /* Removes the few pixels of inline whitespace under each image */
}

/* The image itself: no height cap, no radius, centred at its natural size */
.prose p > img:only-child,
.prose > img {
    display: block;
    margin: 0 auto;
    width: auto;
    max-width: 100%;
    max-height: none;
    height: auto;
    border-radius: 0;
}

/* Keep spacing between the first image and the heading, and between the last image and body text */
.prose > p:has(> img:only-child):first-child { margin-top: 0; }

/* Restore some breathing room when body text follows an image */
.prose > p:has(> img:only-child) + p:not(:has(> img:only-child)) { margin-top: 20px; }

/* Full width on portrait phones for a stronger sense of continuity */
@media (max-width: 767px) {
    .prose p > img:only-child { width: 100%; }
}


/* =====================================================================
   17. BLUEPRINT - white + professional blue visual system (v4)
   ---------------------------------------------------------------------
   One light theme only. The day/night switch and its CSS branches are gone.
   Everything below is a colour / depth refinement; layout rules above stay
   untouched so responsive behaviour and product image ratios are preserved.
   ===================================================================== */

html { background: #fff; }

body {
    background-color: #fff;
    background-image: radial-gradient(1100px 520px at 88% -180px, rgba(27, 95, 217, 0.07), transparent 70%);
    background-repeat: no-repeat;
    color: var(--ink);
}

:focus-visible { outline-color: var(--accent); box-shadow: none; }
::selection { background: var(--accent); color: #fff; }

/* ---- Header: crisp white bar with a blue rule and a soft shadow ---- */
.site-header,
.site-header.is-over-field {
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-top: 3px solid var(--accent);
    box-shadow: 0 1px 0 var(--line), 0 6px 22px rgba(10, 34, 68, 0.05);
}
.site-header.is-over-field .logo__name,
.site-header.is-over-field .nav__link,
.site-header.is-over-field .icon-link,
.site-header.is-over-field .header__back { color: var(--ink); }
.site-header.is-over-field .logo__sub { color: var(--muted); }
.site-header.is-over-field .icon-link,
.site-header.is-over-field .header__back { border-color: var(--line-control); }

.logo__mark {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 9px;
    background: linear-gradient(145deg, #2A72E8 0%, #0E3F9E 100%);
    color: #fff;
    box-shadow: 0 5px 14px rgba(27, 95, 217, 0.28);
    font-size: 16px;
}
.logo__name { color: #0A2244; letter-spacing: 0.10em; }
.logo__sub { color: var(--muted); }

.nav__link { color: var(--muted); font-weight: 600; }
.nav__link:hover,
.nav__link.is-active { color: var(--accent); }

.lang-switch,
.icon-link,
.header__back {
    border-radius: 9px;
    border-color: var(--line);
    background: #fff;
    color: var(--ink);
}
.lang-switch:hover,
.icon-link:hover,
.header__back:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}
.header__cta { border-radius: 9px; box-shadow: 0 6px 16px rgba(27, 95, 217, 0.22); }

.mobile-nav { background: #fff; }
.mobile-nav__sub { background: var(--surface-2); }
.mobile-nav__link { color: #0A2244; }
.mobile-nav__link svg { color: var(--accent); }

/* ---- Buttons, chips, tags ---- */
.btn { border-radius: 9px; font-weight: 600; letter-spacing: 0.01em; }
.btn--primary {
    background: linear-gradient(135deg, #2168DE 0%, #1248B4 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(27, 95, 217, 0.24);
}
.btn--primary:hover {
    background: linear-gradient(135deg, #1B5FD9 0%, #0D3D9E 100%);
    box-shadow: 0 10px 24px rgba(27, 95, 217, 0.30);
}
.btn--ghost { border-color: var(--line-control); background: #fff; color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.btn--text:hover { color: var(--accent); }
.btn--icon, .chip { border-radius: 9px; }
.chip { background: #fff; }
.chip.is-active,
.chip[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.tag {
    background: rgba(27, 95, 217, 0.08);
    border-color: rgba(27, 95, 217, 0.20);
    border-radius: 4px;
    color: var(--accent);
}
.tag--new { background: var(--accent); border-color: var(--accent); color: #fff; }
.link { color: var(--accent); }
.link:hover { color: #0D3D9E; }

/* ---- Section rhythm ---- */
.section + .section { border-top-color: var(--line); }
.section__head-main::before {
    content: "";
    display: block;
    width: 34px;
    height: 3px;
    border-radius: 2px;
    background: var(--accent);
    margin-bottom: 12px;
}
.section__title { color: #0A2244; }
.section__desc { color: var(--muted); }
.rule--strong { background: var(--accent); }

/* ---- Hero: white to pale blue, technical grid, white image card ---- */
.field--hero {
    position: relative;
    background:
        radial-gradient(760px 420px at 82% 12%, rgba(27, 95, 217, 0.14), transparent 70%),
        linear-gradient(140deg, #FFFFFF 0%, #F4F8FF 52%, #E8F1FF 100%);
    border-bottom: 1px solid rgba(27, 95, 217, 0.10);
}
.field--hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(16, 44, 88, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 44, 88, 0.045) 1px, transparent 1px);
    background-size: 48px 48px, 48px 48px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__meta,
.hero__kicker { color: var(--accent); }
.hero__meta-ticks { color: rgba(27, 95, 217, 0.35); }
.hero__title { color: #0A2244; letter-spacing: -0.025em; }
.hero__desc { color: var(--muted); }
.hero__actions .btn--ghost { border-color: var(--line-control); color: var(--ink); background: #fff; }
.hero__actions .btn--ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.hero__mega { color: var(--accent); opacity: 0.07; }
.hero__plate {
    background: #fff;
    border: 1px solid rgba(27, 95, 217, 0.12);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
}

/* ---- Signal line and readouts ---- */
.ticker { background: #EDF4FF; border-top: 2px solid var(--accent); color: var(--ink); }
.ticker__item { color: var(--muted); }
.ticker__item::after { background: var(--accent); }
.readout {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-xs);
}
.readout__cell { border-color: var(--line); }
.readout__value { color: #0A2244; }
.readout__label { color: var(--faint); }

/* ---- Capability band: the one deep navy statement block ---- */
.field:not(.field--hero) {
    background: linear-gradient(135deg, #0A2244 0%, #123A72 100%);
    color: #EAF2FF;
}
.field:not(.field--hero) .eyebrow,
.field:not(.field--hero) .dim,
.field:not(.field--hero) .field__lede,
.field:not(.field--hero) .field__row-desc { color: rgba(233, 242, 255, 0.74); }
.field:not(.field--hero) .field__title { color: #fff; }
.field:not(.field--hero) .field__rows { border-top-color: rgba(233, 242, 255, 0.18); }
.field:not(.field--hero) .field__row { border-bottom-color: rgba(233, 242, 255, 0.18); }
.field:not(.field--hero) .field__row-num { color: rgba(233, 242, 255, 0.58); }
.field:not(.field--hero) .readout--on-field { border-color: rgba(233, 242, 255, 0.18); }
.field:not(.field--hero) .readout--on-field .readout__cell { border-color: rgba(233, 242, 255, 0.18); }
.field:not(.field--hero) .readout__value,
.field:not(.field--hero) .readout__label { color: #EAF2FF; }

/* ---- Image plates ---- */
.plate {
    background: radial-gradient(120% 100% at 50% 0%, #FFFFFF 0%, var(--plate) 78%);
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(16, 44, 88, 0.07);
}
.plate::before,
.plate::after { border-color: rgba(27, 95, 217, 0.32); }
.plate__count { color: var(--muted); }
.plate--void { background-color: #EAF2FF; color: var(--muted); }
.media-ph { color: var(--muted); }

/* ---- Product cards ---- */
.pcard {
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    padding: 12px 12px 16px;
    box-shadow: var(--shadow-xs);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.pcard:hover {
    transform: translateY(-4px);
    border-color: rgba(27, 95, 217, 0.38);
    box-shadow: var(--shadow-md);
}
.pcard__media { border-radius: 9px; }
.pcard__name { color: #0A2244; }
.pcard__foot { border-top-color: var(--line); }
.pcard__go { color: var(--accent); }
.price__now { color: #0A2244; }

/* With no price, the arrow keeps its right-hand position instead of
   jumping to the left edge of the footer. */
.pcard__foot > .pcard__go { margin-left: auto; }

/* ---- Rows, detail gallery and view switch ---- */
.rows { border-top-color: var(--line); }
.rows > li { border-bottom-color: var(--line); }
.row:hover { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.row__name { color: #0A2244; }
.pdp__stage {
    border: 1px solid rgba(16, 44, 88, 0.10);
    border-radius: 16px;
    background: radial-gradient(120% 100% at 50% 0%, #FFFFFF 0%, var(--plate) 78%);
    box-shadow: var(--shadow-sm);
}
.pdp__thumb { border-color: var(--line-control); background: #fff; }
.pdp__thumb.is-active { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(27, 95, 217, 0.22); }
.view-toggle,
.sort-bar { border-color: var(--line); background: #fff; }
.view-toggle__btn:hover { color: var(--accent); }
.view-toggle__btn.is-active { background: var(--accent); color: #fff; }
.rows[data-view="grid"] > li { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; box-shadow: var(--shadow-xs); }
.rows[data-view="grid"] .row { height: 100%; }
.rows[data-view="grid"] .row__media { background: var(--plate); }

/* ---- Footer: deep navy anchor ---- */
.site-footer {
    position: relative;
    border-top: 0;
    background: linear-gradient(160deg, #0A2244 0%, #0E2E5E 100%);
    color: #DCE8FA;
    padding-top: 56px;
}
.site-footer .rule--ticks { color: #7FA6E0; opacity: 0.4; }
.site-footer .logo__name { color: #fff; }
.site-footer .logo__sub,
.site-footer .footer__desc,
.site-footer .footer__contact,
.site-footer .footer__bottom { color: rgba(220, 232, 250, 0.72); }
.site-footer .footer__contact a { color: #fff; }
.site-footer .footer__col-title { color: #9DC0F0; border-bottom-color: rgba(220, 232, 250, 0.16); }
.site-footer .footer__links a { color: #DCE8FA; border-bottom-color: rgba(220, 232, 250, 0.12); }
.site-footer .footer__links a:hover { color: #fff; background: rgba(27, 95, 217, 0.22); }
.site-footer .footer__bottom { border-top-color: rgba(220, 232, 250, 0.16); }
.site-footer .footer__bottom a { color: rgba(220, 232, 250, 0.72); }
.site-footer .footer__bottom a:hover { color: #fff; }
.geo-plate { background-color: #EAF2FF; }

/* ---- Bottom action bar, overlays ---- */
.action-bar { background: rgba(255, 255, 255, 0.97); border-top-color: var(--line); box-shadow: 0 -6px 22px rgba(10, 34, 68, 0.07); }
.toast,
.confirm__panel { border-radius: 12px; box-shadow: var(--shadow-lg); background: #fff; }
.confirm__backdrop { background: rgba(10, 34, 68, 0.55); }
.skip-link { border-radius: 9px; }

@media (prefers-reduced-motion: reduce) {
    .pcard { transition: none; }
}

/* ---- Empty product image: a quiet branded plate instead of a blank box ---- */
.media-ph {
    background: radial-gradient(circle at 50% 42%, #FFFFFF 0%, #EDF4FF 72%, #E4EEFC 100%);
    color: var(--faint);
    letter-spacing: 0.18em;
    font-size: 11.5px;
}

/* =====================================================================
   Product detail key specs: inset every cell from the card frame.
   The cells used padding-inline:0, so with the rounded border added in v4
   the first column's values sat flush against the left border.
   ===================================================================== */
.readout.readout--pdp .readout__cell {
    padding: 15px 18px;
}

.readout.readout--pdp .readout__cell:nth-child(odd) {
    padding-left: 18px;
    padding-right: 16px;
}

.readout.readout--pdp .readout__cell:nth-child(even) {
    padding-left: 20px;
    padding-right: 14px;
}

@media (max-width: 767px) {
    .readout.readout--pdp .readout__cell,
    .readout.readout--pdp .readout__cell:nth-child(odd),
    .readout.readout--pdp .readout__cell:nth-child(even) {
        padding: 14px 14px;
    }
}

/* =====================================================================
   Hero v2: full-bleed poster (2026-11-22)
   The hero used to be a white card with a small portrait product photo.
   Now the poster is the full-bleed background of the stage and the copy
   sits on the dark left half, so the first screen reads as one poster.
   ===================================================================== */
.hero {
    margin-top: calc(var(--header-h) * -1);
    padding-top: calc(var(--header-h) + 16px);
    padding-bottom: 0;
    overflow: hidden;
    background: #07152B;
    border-bottom: 0;
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    /* The old layout set align-items:end for the grid; in a flex column that
       pushes every child to the right, which would sit the copy on top of
       the product. Reset it so the copy owns the left column. */
    align-items: flex-start;
    min-height: 0;
    padding-bottom: 40px;
}

/* ---- Poster background ---- */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero__bg-track {
    display: flex;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hero__bg-track::-webkit-scrollbar { display: none; }

.hero__bg-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: center;
}

.hero__bg-slide img {
    width: 100%;
    height: 100%;
    /* The poster is composed at 2:1 with the product on the right. Covering
       a taller stage would crop both sides and cut the product, so the poster
       is anchored to the right: the left stage area is plain anyway. */
    object-fit: cover;
    object-position: 78% center;
    display: block;
}

/* Dark veil: guarantees headline contrast over any poster the admin uploads */
.hero__bg-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(4, 14, 30, 0.94) 0%, rgba(4, 14, 30, 0.80) 34%, rgba(4, 14, 30, 0.24) 62%, rgba(4, 14, 30, 0.08) 100%),
        linear-gradient(180deg, rgba(4, 14, 30, 0.46) 0%, transparent 26%, transparent 62%, rgba(4, 14, 30, 0.62) 100%);
}

/* ---- Copy column: white type on the dark left half ---- */
.hero__copy {
    position: relative;
    z-index: 2;
    max-width: 560px;
    padding: 40px 0 0;
}


/* The meta line and the copy keep their natural height; only the controls
   are pushed to the bottom of the stage. */
.hero__inner > .hero__meta,
.hero__inner > .hero__copy { flex: 0 0 auto; }

.hero__meta {
    position: relative;
    z-index: 2;
    color: rgba(220, 232, 250, 0.72);
}

.hero__meta-ticks { color: rgba(127, 166, 224, 0.45); }

.hero__kicker { color: #7FA6E0; }

.hero__title {
    color: #FFFFFF;
    font-size: clamp(30px, 4.4vw, 50px);
    line-height: 1.06;
    letter-spacing: -0.03em;
    max-width: 17ch;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero__desc {
    color: rgba(226, 235, 250, 0.84);
    max-width: 46ch;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.30);
}

.hero__actions .btn--primary {
    background: linear-gradient(135deg, #3B7BF0 0%, #1657D8 100%);
    box-shadow: 0 10px 30px rgba(10, 34, 68, 0.42);
}

.hero__actions .btn--ghost {
    border-color: rgba(220, 232, 250, 0.42);
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.hero__actions .btn--ghost:hover {
    border-color: #FFFFFF;
    background: rgba(255, 255, 255, 0.14);
}

/* ---- Carousel controls ---- */
.hero__ctrl {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    /* The controls belong to the copy column. Spanning the full stage would
       push the arrow buttons onto the product photo. */
    width: 100%;
    max-width: 560px;
    /* The controls follow the copy directly: the copy block is the anchor,
       and a large gap before the controls reads as a hole in the layout. */
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(220, 232, 250, 0.18);
}

@media (min-width: 1024px) {
    .hero__ctrl { max-width: 600px; }
}

.hero__ctrl-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero__fig { color: rgba(220, 232, 250, 0.62); }

.hero__dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero__dot {
    width: 22px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: rgba(220, 232, 250, 0.30);
    cursor: pointer;
    transition: background-color 0.25s var(--ease), width 0.25s var(--ease);
}

.hero__dot:hover { background: rgba(220, 232, 250, 0.62); }

.hero__dot.is-active {
    width: 40px;
    background: #FFFFFF;
}

.hero__btn {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(220, 232, 250, 0.32);
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
}

.hero__btn:hover {
    border-color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.13);
}

.hero__ctrl-btns { display: flex; gap: 8px; }

/* ---- The old figure/caption blocks are gone in the poster layout ---- */
.hero__figure,
.hero__plate,
.hero__track,
.hero__slide,
.hero__mega,
.hero__cap { display: none; }

/* ---- Responsive ---- */
@media (min-width: 768px) {
    .hero { padding-top: calc(var(--header-h) + 32px); }
    .hero__inner { padding-bottom: 44px; }
    .hero__copy { padding-top: 56px; }
}

@media (min-width: 1024px) {
    .hero__copy { max-width: 600px; }
}

@media (max-width: 767px) {
    /* On a phone the stage is far taller than wide, so the 2:1 poster is
       cropped hard. The product is anchored to the right edge, where it
       stays complete, and the veil keeps the copy readable over it. */
    .hero__bg-slide img { object-position: 88% center; }
    .hero__bg-veil {
        background:
            linear-gradient(180deg, rgba(4, 14, 30, 0.86) 0%, rgba(4, 14, 30, 0.78) 40%, rgba(4, 14, 30, 0.94) 100%),
            linear-gradient(100deg, rgba(4, 14, 30, 0.80) 0%, rgba(4, 14, 30, 0.20) 70%);
    }
    .hero__copy { padding-top: 28px; }
    .hero__title { font-size: clamp(26px, 8vw, 34px); }
    .hero__desc { font-size: 14.5px; }
    .hero__ctrl { margin-top: 26px; }
    .hero__btn { width: 38px; height: 38px; }
}

/* ---- Poster caption: the banner's own line, changes with the image ---- */
.hero__poster-line:empty { display: none; }

.hero__poster-line {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #9DC0F0;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
    min-height: 1.2em;
}

.hero__poster-sub:empty { display: none; }

.hero__poster-sub {
    display: block;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(226, 235, 250, 0.78);
    max-width: 44ch;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
    min-height: 1.5em;
}

@media (max-width: 767px) {
    .hero__poster-sub { display: none; }
    .hero__poster-line { margin-bottom: 10px; }
}

/* =====================================================================
   Transparent header over the poster hero (2026-11-22)
   The header used to be a solid white bar. Over a full-bleed poster that
   reads as a detached strip, so on the home page it goes transparent while
   the poster is still in view and turns solid once the page scrolls.
   ===================================================================== */
.page--home .site-header {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-top-color: transparent;
    box-shadow: none;
}

.page--home .site-header .logo__name { color: #FFFFFF; }
.page--home .site-header .logo__sub { color: rgba(220, 232, 250, 0.72); }
.page--home .site-header .nav__link { color: rgba(226, 235, 250, 0.80); }
.page--home .site-header .nav__link:hover,
.page--home .site-header .nav__link.is-active { color: #FFFFFF; }
.page--home .site-header .logo__mark {
    background: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.page--home .site-header .lang-switch,
.page--home .site-header .icon-link,
.page--home .site-header .header__back {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(220, 232, 250, 0.26);
    color: #FFFFFF;
}
.page--home .site-header .lang-switch:hover,
.page--home .site-header .icon-link:hover,
.page--home .site-header .header__back:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.60);
    color: #FFFFFF;
}

/* Once the poster has scrolled away the header becomes the normal white bar */
.page--home .site-header.is-solid {
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-top-color: var(--accent);
    box-shadow: 0 1px 0 var(--line), 0 6px 22px rgba(10, 34, 68, 0.05);
}

.page--home .site-header.is-solid .logo__name { color: #0A2244; }
.page--home .site-header.is-solid .logo__sub { color: var(--muted); }
.page--home .site-header.is-solid .nav__link { color: var(--muted); }
.page--home .site-header.is-solid .nav__link:hover,
.page--home .site-header.is-solid .nav__link.is-active { color: var(--accent); }
.page--home .site-header.is-solid .logo__mark {
    background: linear-gradient(145deg, #2A72E8 0%, #0E3F9E 100%);
    color: #fff;
    box-shadow: 0 5px 14px rgba(27, 95, 217, 0.28);
}
.page--home .site-header.is-solid .lang-switch,
.page--home .site-header.is-solid .icon-link,
.page--home .site-header.is-solid .header__back {
    background: #fff;
    border-color: var(--line);
    color: var(--ink);
}
.page--home .site-header.is-solid .lang-switch:hover,
.page--home .site-header.is-solid .icon-link:hover,
.page--home .site-header.is-solid .header__back:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent);
}

/* =====================================================================
   Home range (2026-11-23, v66)
   One featured model, then the rest as a lineup.

   Six equal cards is a catalogue; a catalogue is not a flagship. So the
   section is a spread instead: the model that the admin sorted first takes a
   large stage on the left - photograph, name, specification strip, price -
   and the other five follow as a typographic lineup on the right, one row
   each, divided by hairlines.

   Nothing here is a card. There is no border, no radius, no shadow around a
   product; only one vertical rule separates the stage from the list. The
   page stays light because the lineup shows small prints, not full plates.
   ===================================================================== */
.rng {
    position: relative;
    padding-block: 58px 66px;
    background: #FCFDFF;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

/* ---- Section head ---- */
.rng__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    padding-bottom: 24px;
    margin-bottom: 0;
    border-bottom: 1px solid var(--line);
}

.rng__kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 12px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--faint);
}

.rng__kicker::before {
    content: "";
    display: block;
    width: 20px;
    height: 1px;
    background: var(--accent);
    opacity: 0.5;
}

.rng__title {
    margin: 0;
    font-size: var(--t-display);
    line-height: 1.14;
    letter-spacing: -0.016em;
    color: var(--ink);
}

.rng__desc {
    max-width: 54ch;
    margin: 12px 0 0;
    font-size: var(--t-body);
    line-height: 1.6;
    color: var(--muted);
}

/* ---- The mosaic ----
   Six cells. The first spans two columns and two rows, the rest take one
   cell each, so the width varies while the rhythm stays even. */
.mosaic {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-template-rows: 442px 384px;
    grid-auto-rows: 384px;
    gap: 16px;
    margin-top: 28px;
}

/* First row: a wide hero cell beside a portrait one. Second row: four equals. */
.mosaic > :nth-child(1) {
    grid-column: span 5;
}

.mosaic > :nth-child(2) {
    grid-column: span 3;
}

.mosaic > :nth-child(n+3) {
    grid-column: span 2;
}

/* Fewer than six models: keep every cell the same width */
.mosaic > :first-child:nth-last-child(-n+4) {
    grid-column: span 4;
}

.mosaic > :first-child:nth-last-child(-n+4) ~ .pm {
    grid-column: span 4;
}

/* Exactly seven models. The default split (5 + 3, then four equals) leaves the
   seventh cell stranded on a row of its own, so the hero gives up a column:
   4 + 2 + 2 on the first row, four equals below. Still two rows, no hole.
   The class is added by the view, so the stacked layout below is unaffected. */
@media (min-width: 981px) {
    .mosaic--seven > :nth-child(1) {
        grid-column: span 4;
    }

    .mosaic--seven > :nth-child(2) {
        grid-column: span 2;
    }
}

/* =====================================================================
   Cell
   ===================================================================== */
.pm {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid #EDF1F7;
    background: #F5F7FA;
    color: inherit;
    text-decoration: none;
    transition: background 0.28s ease, border-color 0.28s ease,
                box-shadow 0.28s ease, transform 0.28s ease;
}

.pm:hover {
    background: #FFFFFF;
    border-color: #E3E9F2;
    box-shadow: 0 22px 46px -30px rgba(13, 30, 60, 0.45);
    transform: translateY(-2px);
}

.pm__stage {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
    padding: 22px 12px 0;
}

.pm__stage img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 14px 16px rgba(12, 28, 58, 0.14));
    transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1), filter 0.4s ease;
}

.pm:hover .pm__stage img {
    transform: translateY(-6px) scale(1.04);
    filter: drop-shadow(0 24px 26px rgba(12, 28, 58, 0.2));
}

.pm__idx {
    position: absolute;
    top: 15px;
    left: 18px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    color: #97AAC4;
    transition: color 0.28s ease;
}

.pm:hover .pm__idx {
    color: #6E88AA;
}

/* ---- Copy ---- */
.pm__copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 12px 20px 18px;
}

/* Text must never be squeezed into a clipped line: the gap absorbs slack */
.pm__copy > * {
    flex-shrink: 0;
}

.pm__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
}

.pm__code {
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8FA2BA;
}

.pm__badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: #E3ECF9;
    color: #33598F;
}

.pm__badge--new {
    background: #0F2B5B;
    color: #FFFFFF;
}

.pm__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.38;
    letter-spacing: -0.005em;
    color: #0E1B33;
}

.pm__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
}

.pm__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 14.5px;
    font-weight: 600;
    color: #0E1B33;
    font-variant-numeric: tabular-nums;
}

.pm__price s {
    font-size: 11px;
    font-weight: 400;
    color: #A9B6C7;
}

.pm__go {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #FFFFFF;
    color: #3A5A85;
    transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.pm:hover .pm__go {
    background: #0F2B5B;
    color: #FFFFFF;
    transform: translateX(2px);
}

/* =====================================================================
   Featured cell - a wide cell, picture left, copy right
   ===================================================================== */
.pm--feat {
    flex-direction: row;
    align-items: stretch;
    border-color: #E9EFF7;
    background: linear-gradient(148deg, #F2F7FF 0%, #F6F8FB 46%, #FDFDFE 100%);
}

.pm--feat .pm__stage {
    flex: 0 0 54%;
    padding: 32px 4px 32px 24px;
}

.pm--feat .pm__copy {
    flex: 1 1 auto;
    justify-content: flex-start;
    padding: 38px 44px 38px 26px;
}

.pm--feat .pm__gap {
    flex: 1 1 auto;
    min-height: 16px;
}

.pm--feat .pm__meta {
    margin-bottom: 12px;
}

.pm--feat .pm__code {
    font-size: 10.5px;
}

.pm--feat .pm__name {
    -webkit-line-clamp: 3;
    font-size: 25px;
    line-height: 1.32;
    letter-spacing: -0.018em;
}

.pm--feat .pm__desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 44ch;
    margin-top: 16px;
    font-size: 13.5px;
    line-height: 1.75;
    color: #5B6E88;
}

.pm--feat .pm__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.pm__spec {
    padding: 7px 11px;
    border-radius: 7px;
    border: 1px solid #E2E9F4;
    background: #FFFFFF;
    font-size: 11.5px;
    line-height: 1;
    color: #4A6486;
    white-space: nowrap;
}

.pm--feat .pm__foot {
    margin-top: 0;
    padding-top: 24px;
    border-top: 1px solid #E6EDF7;
}

.pm--feat .pm__price {
    font-size: 21px;
}

.pm--feat .pm__go {
    width: 40px;
    height: 40px;
}

@media (max-width: 1180px) {
    .mosaic {
        grid-template-rows: 404px 350px;
        grid-auto-rows: 350px;
    }

    .rng__title {
        font-size: 48px;
    }

    .pm--feat .pm__name {
        font-size: 21px;
    }

    .pm--feat .pm__desc {
        -webkit-line-clamp: 2;
        font-size: 13px;
    }

    .pm--feat .pm__copy {
        padding: 28px 26px 28px 16px;
    }

    .pm--feat .pm__specs {
        margin-top: 16px;
    }

    .pm--feat .pm__foot {
        padding-top: 18px;
    }

    .pm--feat .pm__price {
        font-size: 19px;
    }
}

/* =====================================================================
   No photograph: a specification plate, never a black hole
   ===================================================================== */
.pm__ph {
    position: relative;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 8px;
    width: 76%;
    height: 84%;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #E3EAF5;
    background: #EDF2FA;
}

.pm__ph-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(#DCE5F1 1px, transparent 1px),
        linear-gradient(90deg, #DCE5F1 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.9;
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 20%, transparent 75%);
}

.pm__ph-brand {
    position: relative;
    font-family: var(--font-mono);
    font-size: 8.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #9BAFC8;
}

.pm__ph-code {
    position: relative;
    font-family: var(--font-mono);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #3F5F8A;
    white-space: nowrap;
}

.pm__ph-specs {
    position: relative;
    max-width: 86%;
    margin-top: 1px;
    font-size: 10px;
    line-height: 1.6;
    text-align: center;
    color: #8CA1BC;
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 980px) {
    .mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        grid-auto-rows: auto;
        gap: 12px;
    }

    .pm {
        min-height: 378px;
    }

    .pm--feat .pm__stage {
        min-height: 214px;
    }

    .mosaic > .pm {
        grid-column: span 1;
        grid-row: span 1;
    }

    .pm--feat {
        flex-direction: column;
    }

    .pm--feat .pm__stage {
        flex: 1 1 auto;
        padding: 26px 20px 4px;
    }

    .pm--feat .pm__copy {
        justify-content: flex-start;
        padding: 12px 20px 18px;
    }

    .pm--feat .pm__name {
        -webkit-line-clamp: 2;
        font-size: 15.5px;
    }

    .pm--feat .pm__specs,
    .pm--feat .pm__badge {
        display: none;
    }

    .pm--feat .pm__foot {
        padding-top: 12px;
    }

    .pm--feat .pm__price {
        font-size: 14.5px;
    }

    .pm--feat .pm__go {
        width: 27px;
        height: 27px;
    }
}

@media (max-width: 640px) {
    .rng {
        padding-block: 42px 48px;
    }

    .rng__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding-bottom: 20px;
    }

    .rng__title {
        font-size: 26px;
    }

    .mosaic {
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: auto;
        gap: 10px;
        margin-top: 20px;
    }

    .pm__stage {
        flex: none;
        aspect-ratio: 4 / 3;
        padding: 20px 14px 2px;
    }

    .pm__copy {
        padding: 10px 16px 16px;
    }

    .pm__name {
        font-size: 15px;
    }
}
