/* ==========================================================================
   DROP ENVIRO — Design System
   Editorial-industrial aesthetic: serif display + engineered sans + mono data
   ========================================================================== */

:root {
    /* Core palette — tuned to brand blue #195093 */
    --ink: #0A1A33;
    --ink-80: rgba(10, 26, 51, 0.82);
    --ink-60: rgba(10, 26, 51, 0.62);
    --ink-40: rgba(10, 26, 51, 0.4);
    --ink-20: rgba(10, 26, 51, 0.2);
    --ink-10: rgba(10, 26, 51, 0.1);
    --ink-05: rgba(10, 26, 51, 0.05);

    --brand: #195093;
    --brand-deep: #0E3A73;
    --brand-mid: #2E6AB3;
    --brand-soft: #E8EEF6;
    --brand-wash: #F3F6FB;

    /* Signal = brighter brand-blue accent (replaces amber) */
    --signal: #2E87D6;
    --signal-deep: #1D6BB8;
    --signal-soft: #E6F1FB;

    --paper: #FFFFFF;
    --paper-deep: #F4F7FC;
    --bone: #E9EEF6;
    --rule: #D9E1EC;
    --rule-soft: #E6ECF4;

    --white: #FFFFFF;
    --graphite: #2D3748;

    /* Typography */
    --font-display: "Fraunces", "Times New Roman", Georgia, serif;
    --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;

    /* Scale */
    --step--2: clamp(0.72rem, 0.68rem + 0.15vw, 0.78rem);
    --step--1: clamp(0.83rem, 0.78rem + 0.2vw, 0.9rem);
    --step-0: clamp(0.95rem, 0.9rem + 0.25vw, 1rem);
    --step-1: clamp(1.1rem, 1.03rem + 0.35vw, 1.2rem);
    --step-2: clamp(1.35rem, 1.22rem + 0.65vw, 1.55rem);
    --step-3: clamp(1.7rem, 1.45rem + 1.25vw, 2.2rem);
    --step-4: clamp(2.2rem, 1.7rem + 2.5vw, 3.2rem);
    --step-5: clamp(2.8rem, 2rem + 4vw, 4.5rem);
    --step-6: clamp(3.5rem, 2.3rem + 6vw, 6rem);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 7rem;
    --space-2xl: 10rem;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-sans);
    font-size: var(--step-0);
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    margin: 0;
    overflow-x: hidden;
    position: relative;
}

/* Subtle tint overlay — barely perceptible */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(ellipse at top, rgba(25, 80, 147, 0.02), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

::selection {
    background: var(--ink);
    color: var(--paper);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 180ms var(--ease-out);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Typography
   ========================================================================== */

.display-xl,
.display-lg,
.display-md,
.display-sm,
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "opsz" 144, "SOFT" 20;
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0;
}

.display-xl {
    font-size: var(--step-6);
    font-variation-settings: "opsz" 144, "SOFT" 30, "wght" 380;
    line-height: 0.95;
    letter-spacing: -0.035em;
}

.display-lg {
    font-size: var(--step-5);
    font-variation-settings: "opsz" 144, "SOFT" 25, "wght" 400;
    line-height: 0.98;
    letter-spacing: -0.03em;
}

.display-md {
    font-size: var(--step-4);
    font-variation-settings: "opsz" 100, "SOFT" 20, "wght" 420;
    line-height: 1.02;
}

.display-sm {
    font-size: var(--step-3);
    font-variation-settings: "opsz" 80, "wght" 440;
    line-height: 1.08;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

.serif-italic {
    font-style: italic;
    font-variation-settings: "opsz" 144, "SOFT" 50, "wght" 350;
}

p {
    margin: 0 0 1em;
    max-width: 62ch;
    color: var(--ink-80);
}

p.lead {
    font-size: var(--step-1);
    line-height: 1.55;
    color: var(--ink);
    font-weight: 400;
}

.mono,
.label,
.eyebrow {
    font-family: var(--font-mono);
    font-size: var(--step--2);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-60);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.eyebrow::before {
    content: "";
    width: 2rem;
    height: 1px;
    background: currentColor;
    display: inline-block;
}

.eyebrow--center::before,
.eyebrow--center::after {
    content: "";
    width: 2rem;
    height: 1px;
    background: currentColor;
    display: inline-block;
}

.number-mark {
    font-family: var(--font-mono);
    font-size: var(--step--1);
    color: var(--ink-40);
    letter-spacing: 0;
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.wrap {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
    position: relative;
}

.wrap--wide {
    max-width: 1520px;
}

.wrap--narrow {
    max-width: 980px;
}

.section {
    padding: var(--space-xl) 0;
    position: relative;
}

.section--lg {
    padding: var(--space-2xl) 0 var(--space-xl);
}

.section--sm {
    padding: var(--space-lg) 0;
}

.section--dark {
    background: var(--ink);
    color: var(--paper);
}

.section--dark p,
.section--dark .mono,
.section--dark .label {
    color: rgba(247, 245, 240, 0.7);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark .display-lg,
.section--dark .display-md,
.section--dark .display-sm,
.section--dark .display-xl {
    color: var(--paper);
}

.section--paper-deep {
    background: var(--paper-deep);
}

/* Blueprint crosshair decoration */
.corners {
    position: relative;
}

.corners::before,
.corners::after,
.corners > .corner-tl,
.corners > .corner-br {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border: 1px solid var(--ink-40);
    pointer-events: none;
}

.corners::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.corners::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

/* Thin rule */
.rule {
    height: 1px;
    background: var(--rule);
    border: none;
    margin: 0;
    width: 100%;
}

.rule--vertical {
    width: 1px;
    height: 100%;
    background: var(--rule);
}

/* Grid background (blueprint) */
.grid-bg {
    background-image:
        linear-gradient(var(--ink-05) 1px, transparent 1px),
        linear-gradient(90deg, var(--ink-05) 1px, transparent 1px);
    background-size: 48px 48px;
}

/* ==========================================================================
   Top bar + Header
   ========================================================================== */

.top-bar {
    background: var(--ink);
    color: var(--paper);
    padding: 0.55rem 0;
    font-family: var(--font-mono);
    font-size: var(--step--2);
    letter-spacing: 0.05em;
}

.top-bar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.top-bar a {
    color: rgba(247, 245, 240, 0.75);
    transition: color 180ms var(--ease-out);
}

.top-bar a:hover {
    color: var(--paper);
}

.top-bar__meta {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.top-bar__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar__meta .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4ADE80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2);
    display: inline-block;
}

.top-bar__social {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(247, 245, 240, 0.92);
    /* backdrop-filter makes the header the containing block of the fixed
       mobile drawer, so the closed drawer (translated 100% to the right) used
       to widen the page on phones: a sideways swipe slid the whole page into
       blank space. clip (not hidden) trims that horizontal overflow without
       creating a scroll container; overflow-y stays visible, so the open
       drawer and the desktop mega-menu still extend below the header. */
    overflow-x: clip;
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.brand img {
    height: 42px;
    width: auto;
}

.brand-text {
    line-height: 1.1;
}

.brand-text__name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-variation-settings: "opsz" 80, "wght" 500;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.brand-text__sub {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-60);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2.4rem;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 500;
}

.nav__item {
    position: relative;
}

.nav__link {
    color: var(--ink);
    padding: 0.35rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 180ms var(--ease-out);
}

.nav__link:hover,
.nav__link--active {
    color: var(--brand);
}

.nav__link--active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    background: var(--brand);
}

/* Mega menu */
.mega {
    position: absolute;
    top: calc(100% + 14px);
    right: -50px;
    background: var(--paper);
    border: 1px solid var(--rule);
    padding: 1.75rem 2rem;
    display: grid;
    grid-template-columns: repeat(3, 220px);
    gap: 1.75rem 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 220ms var(--ease-out);
    box-shadow: 0 24px 48px -16px rgba(11, 22, 40, 0.18);
    z-index: 50;
}

.nav__item:hover .mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega__group-title {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-40);
    margin-bottom: 0.7rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--rule);
    display: flex;
    justify-content: space-between;
}

.mega__link {
    display: block;
    padding: 0.35rem 0;
    font-size: 0.93rem;
    color: var(--ink);
    position: relative;
}

.mega__link:hover {
    color: var(--brand);
    padding-left: 10px;
}

.mega__link::before {
    content: "→";
    position: absolute;
    left: -14px;
    opacity: 0;
    color: var(--brand);
    transition: opacity 180ms var(--ease-out), left 180ms var(--ease-out);
}

.mega__link:hover::before {
    opacity: 1;
    left: -4px;
}

/* Mobile nav */
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--ink);
    width: 46px;
    height: 46px;
    cursor: pointer;
    position: relative;
    /* never let the header row squeeze the button (it collapsed to ~14px wide
       with invisible lines on 360-390px phones) */
    flex-shrink: 0;
}

.nav-toggle span {
    position: absolute;
    left: 10px;
    right: 10px;
    height: 1.5px;
    background: var(--ink);
    transition: all 220ms var(--ease-out);
}

.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }

body.menu-open .nav-toggle span:nth-child(1) {
    top: 22px;
    transform: rotate(45deg);
}
body.menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}
body.menu-open .nav-toggle span:nth-child(3) {
    top: 22px;
    transform: rotate(-45deg);
}

/* ---------- Mobile + tablet navigation ---------- */

/* Backdrop / overlay behind the slide-in panel */
.nav-backdrop {
    display: none;
}

@media (max-width: 1024px) {
    .nav-toggle {
        display: block !important;
        position: relative !important;
        z-index: 120 !important;
    }

    .nav-backdrop {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        background: rgba(10, 26, 51, 0) !important;
        visibility: hidden !important;
        transition: background 280ms var(--ease-out), visibility 0s linear 280ms !important;
        /* Must stay BELOW .site-header (z-index 100). The header is a stacking
           context, so the drawer inside it can only paint above the backdrop if
           the backdrop is below the whole header. At 105 it covered the open
           drawer and swallowed every tap on the menu links. */
        z-index: 99 !important;
        pointer-events: none !important;
    }

    body.menu-open .nav-backdrop {
        background: rgba(10, 26, 51, 0.45) !important;
        visibility: visible !important;
        transition: background 280ms var(--ease-out), visibility 0s linear 0s !important;
        pointer-events: auto !important;
    }

    /* Mobile nav panel */
    .nav {
        display: flex !important;
        flex-direction: column !important;
        /* bootstrap.min.css gives .nav flex-wrap:wrap, which split the drawer
           into side-by-side off-screen columns once its content got taller
           than the screen (Products expanded, landscape phones) */
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        gap: 0 !important;

        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        width: min(360px, 88vw) !important;
        max-width: 88vw !important;
        /* The drawer starts at the header's top edge (the header is its
           containing block), so subtract that offset: app.js sets
           --drawer-offset when the menu opens. dvh = the visible screen on
           phones (browser-toolbar aware); the vh line is the fallback. */
        height: calc(100vh - var(--drawer-offset, 0px)) !important;
        height: calc(100dvh - var(--drawer-offset, 0px)) !important;

        background: var(--paper) !important;
        border-left: 1px solid var(--rule) !important;
        box-shadow: -24px 0 48px -24px rgba(10, 26, 51, 0.25) !important;

        padding: 5.5rem 1.5rem 2rem !important;
        margin: 0 !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        -webkit-overflow-scrolling: touch !important;

        transform: translateX(100%) !important;
        visibility: hidden !important;
        transition: transform 320ms var(--ease-out), visibility 0s linear 320ms !important;
        z-index: 110 !important;

        font-family: var(--font-sans) !important;
        font-size: 1rem !important;
    }

    body.menu-open .nav {
        transform: translateX(0) !important;
        visibility: visible !important;
        transition: transform 320ms var(--ease-out), visibility 0s linear 0s !important;
    }

    body.menu-open {
        overflow: hidden !important;
    }

    .nav__item {
        display: block !important;
        width: 100% !important;
        border-bottom: 1px solid var(--rule) !important;
        position: relative !important;
        margin: 0 !important;
    }

    .nav__item:last-child {
        border-bottom: none !important;
    }

    .nav__link {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.5rem !important;
        width: 100% !important;
        padding: 0.95rem 0.25rem !important;
        font-family: var(--font-sans) !important;
        font-size: 1rem !important;
        font-weight: 500 !important;
        line-height: 1.25 !important;
        letter-spacing: 0 !important;
        color: var(--ink) !important;
        font-variation-settings: normal !important;
    }

    .nav__link--active {
        color: var(--brand) !important;
    }

    .nav__link--active::after {
        display: none !important;
    }

    /* Mobile mega-menu (submenu) */
    .mega {
        position: static !important;
        display: none !important;
        grid-template-columns: 1fr !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        background: var(--paper-deep) !important;
        padding: 0.5rem 0.75rem 1rem !important;
        margin: 0 -0.25rem 0.6rem !important;
        gap: 0.5rem !important;
        inset: auto !important;
    }

    .nav__item.open .mega {
        display: grid !important;
    }

    .mega__group-title {
        font-size: 0.62rem !important;
        padding-top: 0.75rem !important;
    }

    .mega__link {
        display: block !important;
        font-family: var(--font-sans) !important;
        font-size: 0.9rem !important;
        font-weight: 400 !important;
        padding: 0.4rem 0 !important;
        color: var(--ink) !important;
        font-variation-settings: normal !important;
    }

    .mega__link::before {
        display: none !important;
    }

    .mega__link:hover {
        padding-left: 0 !important;
        color: var(--brand) !important;
    }
}

@media (max-width: 640px) {
    .top-bar .wrap {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    .top-bar__meta {
        gap: 1rem;
    }
    .top-bar__social {
        gap: 1rem;
    }
    .brand img {
        height: 36px;
    }
    .brand-text__name {
        font-size: 1rem;
    }
    .brand-text__sub {
        font-size: 0.56rem;
    }
}

/* Phones: stack the tagline under the name. Inline, the wordmark is ~303px
   wide and left no room for the 46px menu button below ~430px. */
@media (max-width: 480px) {
    .brand-text__sub {
        display: block;
        margin-top: 0.2rem;
    }
}

/* Very small phones (320px): a narrower gap keeps the header row inside
   its gutters. */
@media (max-width: 340px) {
    .site-header .wrap {
        gap: 0.75rem;
    }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.95rem 1.6rem;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--paper);
    cursor: pointer;
    transition: all 240ms var(--ease-out);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--ink);
}

.btn--outline:hover {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.btn--ghost {
    background: transparent;
    border-color: var(--rule);
    color: var(--ink);
}

.btn--ghost:hover {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.btn--light {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--paper);
}

.btn--light:hover {
    background: var(--signal);
    color: var(--paper);
    border-color: var(--signal);
}

.btn--lg {
    padding: 1.15rem 2rem;
    font-size: 0.92rem;
}

.btn .arrow {
    display: inline-block;
    transition: transform 240ms var(--ease-out);
}

.btn:hover .arrow {
    transform: translateX(4px);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: var(--step--1);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
    padding-bottom: 0.3rem;
    border-bottom: 1px solid currentColor;
    transition: all 200ms var(--ease-out);
}

.text-link:hover {
    color: var(--brand);
    gap: 0.85rem;
}

/* ==========================================================================
   Page hero
   ========================================================================== */

.page-hero {
    background: var(--paper);
    padding: 4.5rem 0 3.5rem;
    border-bottom: 1px solid var(--rule);
    position: relative;
    overflow: hidden;
}

.page-hero .wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 2rem;
}

.page-hero__eyebrow {
    margin-bottom: 0.8rem;
}

.page-hero__title {
    font-size: var(--step-5);
    font-variation-settings: "opsz" 144, "SOFT" 30, "wght" 380;
    line-height: 0.98;
}

.page-hero__meta {
    font-family: var(--font-mono);
    font-size: var(--step--1);
    color: var(--ink-60);
    text-align: right;
}

.breadcrumb {
    display: inline-flex;
    gap: 0.6rem;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-60);
}

.breadcrumb a {
    color: var(--ink-60);
    transition: color 180ms var(--ease-out);
}

.breadcrumb a:hover {
    color: var(--ink);
}

.breadcrumb .sep {
    color: var(--ink-20);
}

.breadcrumb .current {
    color: var(--ink);
}

/* ==========================================================================
   Homepage — Hero
   ========================================================================== */

.hero {
    position: relative;
    padding: 4rem 0 6rem;
    overflow: hidden;
    background: var(--paper);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--ink-05) 1px, transparent 1px),
        linear-gradient(90deg, var(--ink-05) 1px, transparent 1px);
    background-size: 64px 64px;
    opacity: 0.6;
    pointer-events: none;
}

.hero .wrap {
    position: relative;
    z-index: 2;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: end;
    min-height: 70vh;
}

.hero__meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 3rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--rule);
    font-family: var(--font-mono);
    font-size: var(--step--2);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-60);
}

.hero__meta .meta-cluster {
    display: flex;
    gap: 2rem;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7.5vw, 7.5rem);
    font-variation-settings: "opsz" 144, "SOFT" 30, "wght" 360;
    line-height: 0.88;
    letter-spacing: -0.04em;
    color: var(--ink);
    margin: 0 0 1.5rem;
}

.hero__title .accent {
    font-style: italic;
    color: var(--brand);
    font-variation-settings: "opsz" 144, "SOFT" 80, "wght" 350;
}

.hero__title .stroke {
    position: relative;
    display: inline-block;
}

.hero__lede {
    font-size: var(--step-1);
    max-width: 48ch;
    color: var(--ink-80);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero__panel {
    background: var(--ink);
    color: var(--paper);
    padding: 2.25rem;
    border: 1px solid var(--ink);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero__panel::before {
    content: "";
    position: absolute;
    top: -10px;
    right: 20px;
    height: 10px;
    border-left: 1px solid var(--rule);
}

.hero__panel-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(247, 245, 240, 0.15);
}

.hero__panel-head .label {
    color: rgba(247, 245, 240, 0.6);
}

.hero__panel-head .status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4ADE80;
}

.hero__panel-head .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ADE80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25);
    display: inline-block;
    animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25); }
    50% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
}

.hero__panel-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.stat__value {
    font-family: var(--font-display);
    font-size: var(--step-4);
    font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 380;
    line-height: 1;
    color: var(--paper);
    letter-spacing: -0.03em;
}

.stat__value .plus {
    color: var(--signal);
    font-size: 0.65em;
    vertical-align: super;
    margin-left: 2px;
}

.stat__label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(247, 245, 240, 0.5);
    line-height: 1.3;
}

.hero__panel-divider {
    height: 1px;
    background: rgba(247, 245, 240, 0.15);
}

.hero__panel-spec {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.82rem;
}

.hero__panel-spec .key {
    color: rgba(247, 245, 240, 0.55);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.hero__panel-spec .val {
    color: var(--paper);
}

.hero__bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--rule);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: var(--step--2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-60);
}

.hero__marks {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.hero__mark {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.hero__mark::before {
    content: "+";
    color: var(--signal);
    font-weight: 700;
}

@media (max-width: 900px) {
    .hero__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero__panel-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   Section heading
   ========================================================================== */

.sec-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem 3rem;
    align-items: end;
    margin-bottom: 4rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--rule);
}

.sec-head__number {
    font-family: var(--font-mono);
    font-size: var(--step--1);
    color: var(--ink-40);
    padding-top: 0.5rem;
    letter-spacing: 0.05em;
}

.sec-head__main {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 2rem;
    flex-wrap: wrap;
}

.sec-head__title {
    font-size: var(--step-4);
    font-variation-settings: "opsz" 144, "SOFT" 20, "wght" 400;
    line-height: 1;
    letter-spacing: -0.03em;
    max-width: 20ch;
}

.sec-head__title .accent {
    font-style: italic;
    font-variation-settings: "opsz" 144, "SOFT" 80, "wght" 350;
    color: var(--brand);
}

.sec-head__meta {
    font-family: var(--font-mono);
    font-size: var(--step--2);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-60);
    text-align: right;
}

@media (max-width: 700px) {
    .sec-head {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .sec-head__main {
        flex-direction: column;
        align-items: flex-start;
    }
    .sec-head__meta { text-align: left; }
}

/* ==========================================================================
   About — home
   ========================================================================== */

.about-home {
    padding: var(--space-xl) 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
}

.about-home__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-home__image {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    border: 1px solid var(--rule);
    background: var(--paper-deep);
}

.about-home__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.04) saturate(0.92);
    transition: transform 800ms var(--ease-out);
}

.about-home__image:hover img {
    transform: scale(1.04);
}

.about-home__image-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--paper);
    padding: 0.45rem 0.85rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--ink);
}

.about-home__body .eyebrow {
    margin-bottom: 1.5rem;
}

.about-home__body h2 {
    font-size: var(--step-4);
    font-variation-settings: "opsz" 144, "SOFT" 20, "wght" 400;
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    max-width: 14ch;
}

.about-home__body h2 .accent {
    font-style: italic;
    color: var(--brand);
    font-variation-settings: "opsz" 144, "SOFT" 80, "wght" 380;
}

.about-home__body p {
    margin-bottom: 1.5rem;
}

.about-home__points {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    gap: 0.75rem;
}

.about-home__points li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--ink-80);
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed var(--rule);
}

.about-home__points li::before {
    content: attr(data-num);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--signal);
    letter-spacing: 0.05em;
}

@media (max-width: 900px) {
    .about-home__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ==========================================================================
   Services (home)
   ========================================================================== */

.services-home {
    background: var(--ink);
    color: var(--paper);
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

.services-home::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(247,245,240,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(247,245,240,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.services-home .wrap { position: relative; }

.services-home .sec-head__title,
.services-home .sec-head__number,
.services-home .sec-head__meta {
    color: var(--paper);
}

.services-home .sec-head__number { color: rgba(247,245,240,0.4); }
.services-home .sec-head__meta { color: rgba(247,245,240,0.5); }
.services-home .sec-head { border-bottom-color: rgba(247,245,240,0.15); }

.services-home__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.services-home__intro p {
    color: rgba(247, 245, 240, 0.75);
    font-size: var(--step-1);
    margin-bottom: 2rem;
    max-width: 45ch;
}

.service-card {
    border-top: 1px solid rgba(247, 245, 240, 0.2);
    padding: 1.75rem 0;
    display: grid;
    grid-template-columns: 4rem 1fr auto;
    gap: 1.5rem;
    align-items: start;
    cursor: pointer;
    transition: all 240ms var(--ease-out);
}

.service-card:hover {
    padding-left: 0.5rem;
}

.service-card:last-child {
    border-bottom: 1px solid rgba(247, 245, 240, 0.2);
}

.service-card__num {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--signal);
    letter-spacing: 0.05em;
    padding-top: 0.4rem;
}

.service-card__title {
    font-family: var(--font-display);
    font-size: var(--step-2);
    font-variation-settings: "opsz" 100, "wght" 420;
    color: var(--paper);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.service-card__body {
    color: rgba(247, 245, 240, 0.65);
    font-size: 0.94rem;
    line-height: 1.55;
    max-width: 44ch;
    margin: 0;
}

.service-card__arrow {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    color: rgba(247, 245, 240, 0.35);
    transition: all 220ms var(--ease-out);
    padding-top: 0.25rem;
}

.service-card:hover .service-card__arrow {
    color: var(--signal);
    transform: translateX(6px);
}

@media (max-width: 900px) {
    .services-home__grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        grid-template-columns: 3rem 1fr;
    }
    .service-card__arrow {
        grid-column: 1 / -1;
        text-align: right;
        padding: 0;
    }
}

/* ==========================================================================
   Clients marquee
   ========================================================================== */

.clients {
    padding: var(--space-lg) 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    overflow: hidden;
}

.clients__label {
    text-align: center;
    margin-bottom: 2rem;
    font-family: var(--font-mono);
    font-size: var(--step--2);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-60);
}

.marquee {
    display: flex;
    gap: 4rem;
    animation: marquee 40s linear infinite;
    align-items: center;
    width: max-content;
}

.marquee:hover { animation-play-state: paused; }

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.marquee img {
    height: 60px;
    width: auto;
    opacity: 0.55;
    filter: grayscale(1);
    transition: all 240ms var(--ease-out);
}

.marquee img:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* ==========================================================================
   Clients grid (home)
   ========================================================================== */

.clients-grid {
    padding: var(--space-xl) 0;
    background: var(--paper-deep);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.clients-grid__wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
}

.client-tile {
    background: var(--paper);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    min-height: 180px;
    transition: all 240ms var(--ease-out);
}

.client-tile:hover {
    background: var(--paper-deep);
}

.client-tile img {
    max-height: 60px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 240ms var(--ease-out);
}

.client-tile:hover img {
    filter: none;
    opacity: 1;
}

.client-tile__name {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-60);
    line-height: 1.35;
}

@media (max-width: 900px) {
    .clients-grid__wrap { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Gallery (home)
   ========================================================================== */

.gallery {
    padding: var(--space-xl) 0;
    background: var(--paper);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.gallery-card {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--paper-deep);
    border: 1px solid var(--rule);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2rem;
    transition: transform 500ms var(--ease-out);
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-card__label {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    background: var(--ink);
    color: var(--paper);
    padding: 0.55rem 0.9rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 2;
}

.gallery-card__num {
    position: absolute;
    right: 0.8rem;
    top: 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--ink-40);
    letter-spacing: 0.1em;
}

@media (max-width: 700px) {
    .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials {
    padding: var(--space-xl) 0;
    background: var(--paper-deep);
    border-top: 1px solid var(--rule);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.testimonial {
    background: var(--paper);
    padding: 2rem;
    border: 1px solid var(--rule);
    position: relative;
    transition: all 260ms var(--ease-out);
}

.testimonial:hover {
    border-color: var(--ink);
    transform: translateY(-4px);
}

.testimonial__quote-mark {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 0.4;
    color: var(--brand);
    margin-bottom: 0.6rem;
    font-variation-settings: "opsz" 144, "SOFT" 80, "wght" 350;
}

.testimonial__body {
    font-family: var(--font-display);
    font-size: var(--step-1);
    line-height: 1.45;
    color: var(--ink);
    font-variation-settings: "opsz" 100, "wght" 400;
    margin-bottom: 1.5rem;
}

.testimonial__meta {
    padding-top: 1rem;
    border-top: 1px solid var(--rule);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink-60);
}

.testimonial__name {
    color: var(--ink);
}

@media (max-width: 900px) {
    .testimonials__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CTA / Newsletter
   ========================================================================== */

.cta-band {
    padding: var(--space-xl) 0;
    background: var(--ink);
    color: var(--paper);
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 75% 50%, rgba(46, 135, 214, 0.25), transparent 55%),
        radial-gradient(circle at 20% 20%, rgba(25, 80, 147, 0.35), transparent 45%);
    pointer-events: none;
}

.cta-band__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}

.cta-band__title {
    font-size: var(--step-5);
    font-variation-settings: "opsz" 144, "SOFT" 30, "wght" 360;
    line-height: 0.98;
    letter-spacing: -0.03em;
    color: var(--paper);
    margin-bottom: 1.25rem;
}

.cta-band__title .accent {
    font-style: italic;
    color: var(--signal);
    font-variation-settings: "opsz" 144, "SOFT" 80, "wght" 350;
}

.cta-band p {
    color: rgba(247, 245, 240, 0.7);
    font-size: var(--step-1);
    max-width: 42ch;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-form__field {
    display: flex;
    background: var(--paper);
    border: 1px solid var(--paper);
}

.cta-form__field input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 1.15rem 1.3rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--ink);
    outline: none;
    /* let the field shrink on phones (its default min width pushed the
       Subscribe button off-screen at 390px and below) */
    min-width: 0;
}

.cta-form__field input::placeholder {
    color: var(--ink-40);
}

.cta-form__field button {
    border: none;
    background: var(--ink);
    color: var(--paper);
    padding: 0 1.75rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 180ms var(--ease-out);
}

.cta-form__field button:hover {
    background: var(--signal);
}

.cta-form__note {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    color: rgba(247, 245, 240, 0.5);
}

/* Newsletter result line (role="status" live region; empty until a submit).
   Light tints because the band background is dark ink. */
.cta-form__msg {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    line-height: 1.5;
}
.cta-form__msg.is-success { color: #8FE3B0; }
.cta-form__msg.is-error { color: #FFB4B4; }
/* While empty, cancel the form's 1rem flex gap so the layout doesn't shift
   (not display:none: the live region must stay in the accessibility tree) */
.cta-form__msg:empty { margin-top: -1rem; }

@media (max-width: 800px) {
    /* minmax(0,1fr), not 1fr: a plain 1fr track can't shrink below the
       form's min-content width, which clipped the band on phones */
    .cta-band__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
}

/* Small phones: tighter padding so the email placeholder isn't cut off */
@media (max-width: 400px) {
    .cta-form__field input { padding: 1.05rem 1rem; }
    .cta-form__field button { padding: 0 1.1rem; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--ink);
    color: var(--paper);
    padding: var(--space-xl) 0 2rem;
    position: relative;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(247,245,240,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(247,245,240,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.site-footer .wrap { position: relative; }

.footer-hero {
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(247,245,240,0.15);
    margin-bottom: 4rem;
}

.footer-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-variation-settings: "opsz" 144, "SOFT" 30, "wght" 360;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--paper);
    max-width: 18ch;
}

.footer-hero__title .accent {
    font-style: italic;
    color: var(--signal);
    font-variation-settings: "opsz" 144, "SOFT" 80, "wght" 340;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col__title {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(247,245,240,0.4);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(247,245,240,0.15);
}

.footer-col p {
    color: rgba(247, 245, 240, 0.65);
    font-size: 0.9rem;
    line-height: 1.55;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.footer-col a {
    color: rgba(247, 245, 240, 0.75);
    font-size: 0.92rem;
    transition: color 180ms var(--ease-out);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-col a:hover {
    color: var(--signal);
}

.footer-col a:hover::before {
    content: "→";
    color: var(--signal);
}

.footer-col__contact {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: rgba(247, 245, 240, 0.75);
    line-height: 1.6;
}

.footer-col__contact div {
    margin-bottom: 0.8rem;
}

.footer-col__contact .key {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(247,245,240,0.4);
    display: block;
    margin-bottom: 0.15rem;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(247,245,240,0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(247, 245, 240, 0.75);
    transition: all 220ms var(--ease-out);
}

.footer-social a:hover {
    background: var(--signal);
    border-color: var(--signal);
    color: var(--paper);
}

.footer-social a:hover::before { content: none; }

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(247,245,240,0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.05em;
    color: rgba(247,245,240,0.5);
}

.footer-bottom a {
    color: rgba(247,245,240,0.65);
}

.footer-bottom a:hover { color: var(--signal); }

@media (max-width: 1000px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Product detail
   ========================================================================== */

.product-detail {
    padding: var(--space-xl) 0;
    background: var(--paper);
}

.product-detail__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-stage {
    position: sticky;
    top: 110px;
    aspect-ratio: 4/5;
    background: var(--paper-deep);
    border: 1px solid var(--rule);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    overflow: hidden;
}

.product-stage::before,
.product-stage::after {
    content: "+";
    position: absolute;
    font-family: var(--font-mono);
    color: var(--ink-40);
    font-size: 1.2rem;
    line-height: 1;
}

.product-stage::before { top: 12px; left: 12px; }
.product-stage::after { bottom: 12px; right: 12px; }

.product-stage__cross-tr,
.product-stage__cross-bl {
    content: "+";
    position: absolute;
    font-family: var(--font-mono);
    color: var(--ink-40);
    font-size: 1.2rem;
    line-height: 1;
}

.product-stage__cross-tr { top: 12px; right: 12px; }
.product-stage__cross-bl { bottom: 12px; left: 12px; }

.product-stage img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 40px rgba(11, 22, 40, 0.15));
    transition: transform 600ms var(--ease-out);
}

.product-stage:hover img {
    transform: scale(1.03);
}

.product-stage__tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--ink);
    color: var(--paper);
    padding: 0.5rem 0.85rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 2;
}

.product-info__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-60);
    margin-bottom: 1.5rem;
}

.product-info__eyebrow::before {
    content: "";
    width: 2rem;
    height: 1px;
    background: currentColor;
    display: inline-block;
}

.product-info__title {
    font-family: var(--font-display);
    font-size: var(--step-5);
    font-variation-settings: "opsz" 144, "SOFT" 25, "wght" 390;
    line-height: 0.98;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.product-info__title .accent {
    font-style: italic;
    color: var(--brand);
    font-variation-settings: "opsz" 144, "SOFT" 80, "wght" 380;
}

.product-info__model {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--signal);
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    display: inline-block;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid var(--signal);
}

.product-info__body {
    font-size: 1rem;
    color: var(--ink-80);
    line-height: 1.7;
}

.product-info__body p {
    margin-bottom: 1.25rem;
    max-width: 62ch;
}

.product-info__body p:first-of-type {
    font-size: var(--step-1);
    color: var(--ink);
    line-height: 1.5;
    font-weight: 400;
}

.product-info__body span {
    font-weight: 500;
    color: var(--ink);
    background: linear-gradient(180deg, transparent 62%, var(--signal-soft) 62%);
    padding: 0 0.2em;
}

.product-info__body hr {
    border: none;
    height: 1px;
    background: var(--rule);
    margin: 1.75rem 0;
    max-width: 80px;
}

/* Spec table */
.spec-block {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--rule);
}

.spec-block__head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 2rem;
}

.spec-block__title {
    font-family: var(--font-display);
    font-size: var(--step-3);
    font-variation-settings: "opsz" 100, "wght" 420;
    line-height: 1;
}

.spec-block__meta {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-60);
}

.spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--rule);
}

.spec-list li {
    display: grid;
    grid-template-columns: 0.9fr 2fr;
    gap: 2rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--rule);
    font-size: 0.95rem;
    line-height: 1.5;
    align-items: baseline;
}

.spec-list li .k {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    color: var(--ink-60);
    text-transform: uppercase;
}

.spec-list li .v {
    color: var(--ink);
}

.spec-list--full li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
}

.spec-list--full li .k {
    display: block;
    margin-bottom: 0.1rem;
}

/* Product CTA inline */
.product-cta {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--paper-deep);
    border: 1px solid var(--rule);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.product-cta p {
    font-family: var(--font-display);
    font-size: var(--step-2);
    font-variation-settings: "opsz" 80, "wght" 420;
    line-height: 1.15;
    margin: 0;
    color: var(--ink);
    max-width: 28ch;
}

@media (max-width: 900px) {
    .product-detail__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .product-stage {
        position: relative;
        top: 0;
    }
}

/* ==========================================================================
   Product listing (other-product, grid)
   ========================================================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

.product-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    overflow: hidden;
    transition: all 260ms var(--ease-out);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    border-color: var(--ink);
    transform: translateY(-4px);
}

.product-card__media {
    aspect-ratio: 1;
    background: var(--paper-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    position: relative;
    border-bottom: 1px solid var(--rule);
}

.product-card__media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 500ms var(--ease-out);
}

.product-card:hover .product-card__media img {
    transform: scale(1.05);
}

.product-card__num {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--ink-60);
    letter-spacing: 0.08em;
}

.product-card__body {
    padding: 1.1rem 1.25rem 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.product-card__title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-variation-settings: "opsz" 80, "wght" 440;
    line-height: 1.2;
    color: var(--ink);
}

.product-card__desc {
    font-size: 0.85rem;
    color: var(--ink-60);
    line-height: 1.45;
}

.product-card__arrow {
    margin-top: auto;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    color: var(--ink-60);
    text-transform: uppercase;
    padding-top: 0.75rem;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--rule);
}

.product-card:hover .product-card__arrow {
    color: var(--brand);
}

@media (max-width: 1000px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Catalog — editorial row-style product index
   ========================================================================== */

.catalog-hero {
    padding: var(--space-lg) 0 var(--space-xl);
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
}

.catalog-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.catalog-hero__stage {
    position: relative;
    aspect-ratio: 5/4;
    background: var(--paper-deep);
    border: 1px solid var(--rule);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    overflow: hidden;
}

.catalog-hero__stage::before,
.catalog-hero__stage::after {
    content: "+";
    position: absolute;
    font-family: var(--font-mono);
    color: var(--ink-40);
    font-size: 1.1rem;
    line-height: 1;
}

.catalog-hero__stage::before { top: 12px; left: 12px; }
.catalog-hero__stage::after  { bottom: 12px; right: 12px; }

.catalog-hero__stage img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    filter: drop-shadow(0 12px 40px rgba(11, 22, 40, 0.15));
}

.catalog-hero__meta {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-60);
    display: flex;
    gap: 0.6rem;
}

.catalog-hero__meta .tag {
    background: var(--ink);
    color: var(--paper);
    padding: 0.4rem 0.7rem;
}

.catalog-hero__body .eyebrow { margin-bottom: 1.25rem; }

.catalog-hero__title {
    font-size: var(--step-4);
    font-variation-settings: "opsz" 144, "SOFT" 25, "wght" 380;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.catalog-hero__title .accent {
    font-style: italic;
    color: var(--brand);
    font-variation-settings: "opsz" 144, "SOFT" 80, "wght" 380;
}

.catalog-hero__body p {
    font-size: var(--step-0);
    color: var(--ink-80);
    max-width: 48ch;
    margin-bottom: 1.5rem;
}

.catalog-hero__facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    margin: 1.5rem 0 2rem;
}

.catalog-hero__fact .key {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-60);
    display: block;
    margin-bottom: 0.25rem;
}

.catalog-hero__fact .val {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-variation-settings: "opsz" 80, "wght" 440;
    color: var(--ink);
}

@media (max-width: 900px) {
    .catalog-hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .catalog-hero__facts { grid-template-columns: 1fr 1fr; }
}

/* --- Category section --- */

.cat-section {
    padding: var(--space-lg) 0 0;
    background: var(--paper);
}

.cat-section:last-of-type {
    padding-bottom: var(--space-xl);
}

.cat-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem 2rem;
    align-items: baseline;
    padding-bottom: 1rem;
    margin-bottom: 0;
    border-bottom: 1px solid var(--ink);
}

.cat-head__number {
    font-family: var(--font-mono);
    font-size: var(--step--1);
    color: var(--ink);
    letter-spacing: 0.05em;
    font-weight: 600;
}

.cat-head__title {
    font-family: var(--font-display);
    font-size: var(--step-3);
    font-variation-settings: "opsz" 100, "SOFT" 20, "wght" 420;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.cat-head__title .accent {
    font-style: italic;
    color: var(--brand);
    font-variation-settings: "opsz" 100, "SOFT" 80, "wght" 400;
}

.cat-head__count {
    font-family: var(--font-mono);
    font-size: var(--step--2);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-60);
    text-align: right;
}

@media (max-width: 700px) {
    .cat-head {
        grid-template-columns: auto 1fr;
    }
    .cat-head__count {
        grid-column: 1 / -1;
        text-align: left;
    }
}

/* --- Catalog row --- */

.cat-row {
    display: grid;
    grid-template-columns: 56px 140px 1fr auto 48px;
    gap: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--rule);
    align-items: center;
    position: relative;
    transition: all 260ms var(--ease-out);
    color: var(--ink);
}

.cat-row:hover {
    background: var(--paper-deep);
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    border-bottom-color: var(--ink);
}

.cat-row__num {
    font-family: var(--font-mono);
    font-size: 0.84rem;
    color: var(--ink-40);
    letter-spacing: 0.05em;
    font-weight: 500;
}

.cat-row:hover .cat-row__num {
    color: var(--brand);
}

.cat-row__media {
    width: 140px;
    height: 110px;
    background: var(--paper-deep);
    border: 1px solid var(--rule);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    position: relative;
    overflow: hidden;
    transition: border-color 260ms var(--ease-out);
}

.cat-row:hover .cat-row__media {
    background: var(--paper);
    border-color: var(--ink);
}

.cat-row__media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 400ms var(--ease-out);
}

.cat-row:hover .cat-row__media img {
    transform: scale(1.04);
}

.cat-row__body {
    min-width: 0;
}

.cat-row__title {
    font-family: var(--font-display);
    font-size: var(--step-2);
    font-variation-settings: "opsz" 80, "SOFT" 20, "wght" 440;
    line-height: 1.08;
    margin-bottom: 0.35rem;
    color: var(--ink);
    transition: color 180ms var(--ease-out);
}

.cat-row:hover .cat-row__title {
    color: var(--brand);
}

.cat-row__desc {
    font-size: 0.92rem;
    color: var(--ink-60);
    line-height: 1.5;
    max-width: 60ch;
    margin: 0;
}

.cat-row__spec {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-align: right;
    min-width: 180px;
}

.cat-row__spec .key {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-40);
}

.cat-row__spec .val {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--ink);
    letter-spacing: 0.02em;
}

.cat-row__arrow {
    width: 44px;
    height: 44px;
    border: 1px solid var(--rule);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    color: var(--ink-60);
    transition: all 220ms var(--ease-out);
}

.cat-row:hover .cat-row__arrow {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
    transform: translateX(4px);
}

@media (max-width: 1000px) {
    .cat-row {
        grid-template-columns: 40px 100px 1fr 40px;
        gap: 1.25rem;
    }
    .cat-row__spec {
        display: none;
    }
}

@media (max-width: 640px) {
    .cat-row {
        grid-template-columns: 80px 1fr 36px;
        gap: 1rem;
        padding: 1.2rem 0;
    }
    .cat-row__num { display: none; }
    .cat-row__media { width: 80px; height: 80px; }
    .cat-row__title { font-size: 1.05rem; }
    .cat-row__desc { font-size: 0.82rem; }
    .cat-row__arrow { width: 36px; height: 36px; }
}

/* --- Accessories — denser, refined grid --- */

.accessories-block {
    padding: var(--space-xl) 0;
    background: var(--paper-deep);
    border-top: 1px solid var(--rule);
}

.accessories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    margin-top: 2.5rem;
}

.acc-cell {
    background: var(--paper);
    padding: 1.75rem 1.25rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    transition: background 240ms var(--ease-out);
    position: relative;
    min-height: 230px;
}

.acc-cell:hover {
    background: var(--paper-deep);
}

.acc-cell__num {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-40);
}

.acc-cell__image {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.acc-cell__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 400ms var(--ease-out);
}

.acc-cell:hover .acc-cell__image img {
    transform: scale(1.06);
}

.acc-cell__title {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-variation-settings: "opsz" 80, "wght" 460;
    line-height: 1.15;
    color: var(--ink);
    margin-top: auto;
}

.acc-cell__desc {
    font-size: 0.78rem;
    color: var(--ink-60);
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 1100px) {
    .accessories-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 700px) {
    .accessories-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    padding: var(--space-xl) 0;
}

.contact-aside {
    position: sticky;
    top: 110px;
    align-self: start;
}

.contact-aside__title {
    font-size: var(--step-3);
    margin-bottom: 1.5rem;
    font-variation-settings: "opsz" 100, "wght" 420;
    line-height: 1.05;
}

.contact-aside__title .accent {
    font-style: italic;
    color: var(--brand);
}

.contact-aside p {
    margin-bottom: 2rem;
    color: var(--ink-80);
}

.contact-info {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--rule);
}

.contact-info__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
}

.contact-info__item .label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-60);
    padding-top: 0.3rem;
    white-space: nowrap;
}

.contact-info__item .val {
    font-family: var(--font-mono);
    font-size: 0.92rem;
    color: var(--ink);
    line-height: 1.55;
}

.contact-info__item .val a { color: var(--ink); }
.contact-info__item .val a:hover { color: var(--brand); }

.contact-form {
    background: var(--paper-deep);
    padding: 3rem;
    border: 1px solid var(--rule);
    position: relative;
}

.contact-form__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--rule);
}

.contact-form__title {
    font-family: var(--font-display);
    font-size: var(--step-3);
    font-variation-settings: "opsz" 100, "wght" 420;
    line-height: 1;
}

.contact-form__title .accent {
    font-style: italic;
    color: var(--brand);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-row--full { grid-template-columns: 1fr; }

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-field label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-60);
}

.form-field input,
.form-field select,
.form-field textarea {
    background: var(--paper);
    border: 1px solid var(--rule);
    padding: 0.9rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--ink);
    outline: none;
    transition: border-color 180ms var(--ease-out);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--ink);
}

.form-field textarea {
    min-height: 140px;
    resize: vertical;
}

#formMessage {
    padding: 1rem;
    border: 1px solid var(--rule);
    font-family: var(--font-mono);
    font-size: 0.88rem;
    margin-top: 1rem;
}

/* ==========================================================================
   404 page (served for any missing URL, so 404.html uses root-absolute paths)
   ========================================================================== */
.notfound {
    padding: var(--space-lg) 0 var(--space-xl);
    max-width: 62ch;
}
.notfound p {
    font-size: var(--step-1);
    line-height: 1.55;
    color: var(--ink-80);
    margin: 0;
}
.notfound__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: var(--space-md);
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-aside { position: relative; top: 0; }
    .contact-form { padding: 2rem 1.5rem; }
    .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Map
   ========================================================================== */

.map-wrap {
    border: 1px solid var(--rule);
    overflow: hidden;
    aspect-ratio: 21/9;
    background: var(--paper-deep);
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.4) contrast(0.95);
}

/* ==========================================================================
   Rich text (about, privacy policy, service)
   ========================================================================== */

.rich {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--ink-80);
}

.rich h2 {
    font-size: var(--step-3);
    margin: 3rem 0 1.25rem;
    font-variation-settings: "opsz" 100, "wght" 420;
    line-height: 1.1;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.rich h2 .accent {
    font-style: italic;
    color: var(--brand);
}

.rich h3 {
    font-size: var(--step-2);
    margin: 2rem 0 1rem;
    font-variation-settings: "opsz" 80, "wght" 440;
    color: var(--ink);
}

.rich p {
    margin-bottom: 1.25rem;
    max-width: 72ch;
}

.rich p span {
    color: var(--ink);
    font-weight: 500;
    background: linear-gradient(180deg, transparent 62%, var(--signal-soft) 62%);
    padding: 0 0.2em;
}

.rich ul, .rich ol {
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
}

.rich ul li, .rich ol li {
    padding: 0.35rem 0;
    max-width: 68ch;
}

.rich ul {
    list-style: none;
    padding-left: 0;
}

.rich ul li {
    position: relative;
    padding-left: 1.5rem;
}

.rich ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0.4rem;
    color: var(--signal);
    font-family: var(--font-mono);
    font-size: 0.9em;
}

.rich hr {
    border: none;
    height: 1px;
    background: var(--rule);
    margin: 2rem 0;
    max-width: 100%;
}

.rich blockquote,
.pull-quote {
    margin: 2.5rem 0;
    padding: 2rem 2.5rem;
    background: var(--brand-soft);
    border-left: 3px solid var(--brand);
    font-family: var(--font-display);
    font-size: var(--step-2);
    line-height: 1.35;
    color: var(--ink);
    font-variation-settings: "opsz" 100, "wght" 400;
}

.pull-quote span {
    color: var(--brand);
    font-style: italic;
}

/* Two-column about layout */
.page-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 4rem;
    padding: var(--space-xl) 0;
}

.page-aside {
    position: sticky;
    top: 110px;
    align-self: start;
    padding: 2rem;
    background: var(--ink);
    color: var(--paper);
}

.page-aside__label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(247,245,240,0.5);
    margin-bottom: 1.25rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(247,245,240,0.2);
}

.page-aside__title {
    font-family: var(--font-display);
    font-size: var(--step-2);
    line-height: 1.1;
    color: var(--paper);
    margin-bottom: 1rem;
}

.page-aside p {
    color: rgba(247,245,240,0.7);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    line-height: 1.55;
}

.page-aside__contacts {
    display: grid;
    gap: 0.8rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(247,245,240,0.15);
    font-family: var(--font-mono);
    font-size: 0.82rem;
}

.page-aside__contacts div .label {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    color: rgba(247,245,240,0.4);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.2rem;
}

.page-aside__contacts a {
    color: rgba(247,245,240,0.85);
}

.page-aside__contacts a:hover {
    color: var(--signal);
}

@media (max-width: 1000px) {
    .page-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .page-aside { position: relative; top: 0; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
    border-top: 1px solid var(--rule);
    margin-top: 2rem;
}

.faq-item {
    border-bottom: 1px solid var(--rule);
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding: 1.8rem 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-size: var(--step-2);
    font-variation-settings: "opsz" 80, "wght" 440;
    line-height: 1.2;
    color: var(--ink);
    transition: color 180ms var(--ease-out);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover { color: var(--brand); }

.faq-item summary .toggle {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 1px solid var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--ink);
    transition: all 220ms var(--ease-out);
    margin-top: 0.1rem;
}

.faq-item[open] summary .toggle {
    background: var(--ink);
    color: var(--paper);
    transform: rotate(45deg);
}

.faq-item .answer {
    padding-bottom: 2rem;
    color: var(--ink-80);
    max-width: 75ch;
    line-height: 1.7;
    font-size: 1rem;
}

.faq-item .answer p {
    margin-bottom: 1rem;
}

/* ==========================================================================
   Product quick row (home)
   ========================================================================== */

.product-marquee {
    padding: var(--space-xl) 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
}

.product-feature {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

.feature-tile {
    padding: 2rem;
    background: var(--paper-deep);
    border: 1px solid var(--rule);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    aspect-ratio: 4/5;
    transition: all 280ms var(--ease-out);
    position: relative;
    overflow: hidden;
}

.feature-tile:hover {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.feature-tile__num {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--ink-60);
    letter-spacing: 0.05em;
}

.feature-tile:hover .feature-tile__num {
    color: var(--signal);
}

.feature-tile__image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
}

.feature-tile__image img {
    max-width: 80%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 400ms var(--ease-out);
}

.feature-tile:hover .feature-tile__image img {
    transform: scale(1.05);
}

.feature-tile__title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-variation-settings: "opsz" 80, "wght" 440;
    line-height: 1.1;
    color: inherit;
}

.feature-tile:hover .feature-tile__title { color: var(--paper); }

.feature-tile__arrow {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding-top: 1rem;
    border-top: 1px solid var(--rule);
}

.feature-tile:hover .feature-tile__arrow {
    border-top-color: rgba(247,245,240,0.2);
    color: var(--signal);
}

@media (max-width: 800px) {
    .product-feature { grid-template-columns: 1fr; }
    .feature-tile { aspect-ratio: auto; }
}

/* ==========================================================================
   Utility
   ========================================================================== */

.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-sm { margin-top: var(--space-sm) !important; }
.mt-md { margin-top: var(--space-md) !important; }
.mt-lg { margin-top: var(--space-lg) !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-sm { margin-bottom: var(--space-sm) !important; }
.mb-md { margin-bottom: var(--space-md) !important; }

.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;
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal[data-delay="1"] { transition-delay: 100ms; }
.reveal[data-delay="2"] { transition-delay: 200ms; }
.reveal[data-delay="3"] { transition-delay: 300ms; }
.reveal[data-delay="4"] { transition-delay: 400ms; }
.reveal[data-delay="5"] { transition-delay: 500ms; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}
