/* ============================================================
   INDECMO — Industrial Decision Modeling
   Design system: industrial green / ink / paper
   Display: Archivo (tight grotesque) · Body: Source Serif 4 · Mono: IBM Plex Mono
   ============================================================ */

:root {
    --green:        #0A3B2E;
    --green-deep:   #06281F;
    --green-signal: #1F7A4D;
    --green-mist:   #EAF1ED;
    --ink:          #111312;
    --ink-soft:     #2C302E;
    --paper:        #F4F2EC;
    --paper-line:   #E2DED2;
    --white:        #FFFFFF;
    --muted:        #5B635E;
    --line:         #D8DAD6;
    --line-dark:    rgba(255,255,255,0.14);

    --maxw: 1240px;
    --gutter: clamp(1.25rem, 4vw, 3rem);

    --ff-display: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ff-body: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --ff-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--ff-body);
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
    font-size: 1.0625rem;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

/* ---------- Type primitives ---------- */
.eyebrow {
    font-family: var(--ff-mono);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green-signal);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.eyebrow .code { color: var(--muted); }
.eyebrow.on-dark { color: #8FD3B0; }
.eyebrow.on-dark .code { color: rgba(255,255,255,0.5); }

h1, h2, h3, h4 {
    font-family: var(--ff-display);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.display-xl { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; }
.display-l  { font-size: clamp(2rem, 4vw, 3rem); }
.display-m  { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }

.lede {
    font-size: clamp(1.125rem, 1.6vw, 1.375rem);
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 62ch;
}

.prose p { margin-bottom: 1.25rem; max-width: 70ch; }
.prose h2 { margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.4rem; margin: 2rem 0 0.75rem; }
.prose ul { margin: 0 0 1.5rem 1.1rem; }
.prose li { margin-bottom: 0.5rem; }

/* ---------- Top bar + Nav ---------- */
.topbar {
    background: var(--green-deep);
    color: rgba(255,255,255,0.8);
    font-family: var(--ff-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 38px;
}
.topbar a { color: rgba(255,255,255,0.8); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-right { display: flex; gap: 1.5rem; align-items: center; }
.lang-switch a { padding: 0 0.2rem; }
.lang-switch a.active { color: #fff; font-weight: 600; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}
.brand {
    font-family: var(--ff-display);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.brand-logo {
    height: 52px;
    width: auto;
    display: block;
}
.brand small {
    font-family: var(--ff-mono);
    font-weight: 400;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    color: var(--muted);
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    height: 100%;
}
.nav-menu > li { height: 100%; display: flex; align-items: center; position: static; }
.nav-link {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    text-decoration: none;
    color: var(--ink);
    padding: 0.55rem 0.9rem;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-link.current { color: var(--green-signal); }
.nav-link .chev { width: 9px; height: 9px; transition: transform 0.25s; }
.has-mega:hover .nav-link .chev { transform: rotate(180deg); }

.nav-cta {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    background: var(--green);
    color: #fff;
    padding: 0.65rem 1.3rem;
    border-radius: 3px;
    transition: background 0.2s;
}
.nav-cta:hover { background: var(--green-signal); color: #fff; }

/* ---------- Megamenu ---------- */
.mega {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(6,40,31,0.10);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateY(0); }

.mega-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 2.5rem var(--gutter);
    display: grid;
    grid-template-columns: 1.4fr 2.6fr;
    gap: 3rem;
}
.mega-aside { border-right: 1px solid var(--line); padding-right: 2rem; }
.mega-aside h4 { font-size: 1.5rem; margin: 0.75rem 0; }
.mega-aside p { font-size: 0.95rem; color: var(--muted); margin-bottom: 1.25rem; }
.mega-aside .mega-aside-link {
    font-family: var(--ff-mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-signal);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}
.mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 2rem;
}
.mega-item {
    display: block;
    text-decoration: none;
    padding: 0.85rem 1rem;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: background 0.18s, border-color 0.18s;
}
.mega-item:hover { background: var(--green-mist); border-color: var(--paper-line); }
.mega-item .mi-code {
    font-family: var(--ff-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    color: var(--green-signal);
    display: block;
}
.mega-item .mi-title {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 1rem;
    color: var(--ink);
    margin: 0.15rem 0;
    letter-spacing: -0.01em;
    display: block;
}
.mega-item .mi-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.45; display: block; }

/* ---------- Mobile nav ---------- */
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line);
    border-radius: 4px;
    width: 44px; height: 44px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.mobile-nav {
    display: none;
    border-top: 1px solid var(--line);
    background: var(--white);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; }
.mobile-nav a, .mobile-group > button {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    color: var(--ink);
    padding: 1rem var(--gutter);
    border-bottom: 1px solid var(--line);
    background: none;
    border-left: none; border-right: none; border-top: none;
    cursor: pointer;
    text-align: left;
}
.mobile-sub { display: none; background: var(--paper); }
.mobile-sub.open { display: block; }
.mobile-sub a { font-family: var(--ff-body); font-weight: 600; font-size: 0.95rem; padding-left: calc(var(--gutter) + 1rem); }

/* ---------- Buttons ---------- */
.btn {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 1.8rem;
    border-radius: 3px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-signal); transform: translateY(-1px); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,0.35); color: #fff; background: rgba(255,255,255,0.04); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-arrow svg { width: 16px; height: 16px; }

/* Safeguard: any inline arrow/icon SVG inside links/buttons must stay small */
a svg, button svg, .card-link svg, .mega-aside-link svg { width: 16px; height: 16px; flex: 0 0 auto; }
.nav-toggle svg, .card .card-ico svg, .card-ico svg { width: auto; height: auto; }
.nav-toggle svg { width: 22px; height: 22px; }
.card-ico svg { width: 24px; height: 24px; }

/* ---------- Sections ---------- */
section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.sec-paper { background: var(--paper); }
.sec-green { background: var(--green); color: #fff; }
.sec-green h2, .sec-green h3 { color: #fff; }
.sec-tight { padding-top: clamp(2.5rem,5vw,4rem); padding-bottom: clamp(2.5rem,5vw,4rem); }

.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.sec-green .section-head p { color: rgba(255,255,255,0.8); }

/* ---------- Page hero (interior) ---------- */
.page-hero {
    background: var(--green);
    color: #fff;
    padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem,6vw,5rem);
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 18ch; margin: 1rem 0 1.25rem; }
.page-hero .lede { color: rgba(255,255,255,0.85); }
.breadcrumb {
    font-family: var(--ff-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 0.5rem;
}
.breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 0.4rem; }

/* ---------- Home hero ---------- */
.home-hero {
    background: var(--green-deep);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 9vw, 8rem) 0 clamp(3.5rem,7vw,6rem);
}
.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 75%);
}
.home-hero .container { position: relative; z-index: 2; }
.home-hero .eyebrow { margin-bottom: 1.5rem; }
.home-hero h1 { color: #fff; max-width: 16ch; margin-bottom: 1.75rem; }
.home-hero .lede { color: rgba(255,255,255,0.82); margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-spec {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: clamp(3rem,6vw,5rem);
    border-top: 1px solid var(--line-dark);
}
.hero-spec .spec {
    padding: 1.6rem 1.5rem 0;
    border-right: 1px solid var(--line-dark);
}
.hero-spec .spec:last-child { border-right: none; }
.hero-spec .spec .k {
    font-family: var(--ff-mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8FD3B0;
    margin-bottom: 0.6rem;
}
.hero-spec .spec .v {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    line-height: 1.25;
}

/* ---------- Card grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 2rem;
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
    display: flex;
    flex-direction: column;
}
.card:hover { box-shadow: 0 16px 40px rgba(6,40,31,0.10); transform: translateY(-3px); border-color: var(--paper-line); }
.card .card-code {
    font-family: var(--ff-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--green-signal);
    margin-bottom: 1rem;
}
.card h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }
.card p { color: var(--muted); font-size: 0.975rem; margin-bottom: 1.25rem; }
.card .card-link {
    margin-top: auto;
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--green-signal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.card .card-link svg { width: 15px; height: 15px; transition: transform 0.2s; }
.card:hover .card-link svg { transform: translateX(4px); }
.card .card-ico {
    width: 48px; height: 48px;
    border: 1px solid var(--line);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--green);
}
.card .card-ico svg { width: 24px; height: 24px; }

/* offering card variant on paper */
.sec-paper .card { background: var(--white); }

/* ---------- Spec list / process ---------- */
.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.5rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--line);
    align-items: baseline;
}
.step .step-n {
    font-family: var(--ff-mono);
    font-size: 0.85rem;
    color: var(--green-signal);
    letter-spacing: 0.05em;
}
.step h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: 0.975rem; margin: 0; max-width: 75ch; }

/* ---------- Stat band ---------- */
.statband { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line-dark); }
.statband .stat { padding: 2rem 1.75rem; border-right: 1px solid var(--line-dark); }
.statband .stat:last-child { border-right: none; }
.statband .num { font-family: var(--ff-display); font-weight: 800; font-size: clamp(2rem,3.5vw,2.75rem); color:#fff; line-height:1; }
.statband .lab { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-top: 0.75rem; }

/* ---------- Case study ---------- */
.case {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
}
.case-side {
    background: var(--green);
    color: #fff;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.case-side .case-tag {
    font-family: var(--ff-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8FD3B0;
    margin-bottom: 1.5rem;
}
.case-side h3 { color: #fff; font-size: 1.6rem; margin-bottom: 1rem; }
.case-side .case-meta { font-family: var(--ff-mono); font-size: 0.8rem; color: rgba(255,255,255,0.7); line-height: 1.8; margin-top: 2rem; }
.case-body { padding: 2.5rem; }
.case-body h4 { font-family: var(--ff-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-signal); margin: 1.5rem 0 0.5rem; }
.case-body h4:first-child { margin-top: 0; }
.case-body p { color: var(--ink-soft); margin-bottom: 1rem; }
.case-callout {
    background: var(--paper);
    border-left: 3px solid var(--green-signal);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    font-weight: 600;
    color: var(--green);
}

/* ---------- Logo strip ---------- */
.trust { padding: 2.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust .trust-lab { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 1.5rem; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem 3.5rem; align-items: center; }
.trust-row span { font-family: var(--ff-display); font-weight: 700; font-size: 1.1rem; color: #9aa39d; letter-spacing: 0.02em; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.split-media {
    aspect-ratio: 4/3;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--line);
}
.checklist { list-style: none; margin: 1.5rem 0 0; }
.checklist li { position: relative; padding-left: 1.9rem; margin-bottom: 0.9rem; color: var(--ink-soft); }
.checklist li::before {
    content: "";
    position: absolute; left: 0; top: 0.45rem;
    width: 14px; height: 14px;
    background: var(--green-signal);
    clip-path: polygon(14% 50%, 0 64%, 43% 100%, 100% 22%, 86% 8%, 40% 70%);
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.5rem; align-items: center; }
.cta-inner p { color: rgba(255,255,255,0.75); font-size: 1.125rem; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Job listing ---------- */
.jobs { display: grid; gap: 1rem; }
.job {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 1.75rem 2rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: center;
    transition: border-color 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
}
.job:hover { border-color: var(--green-signal); box-shadow: 0 10px 30px rgba(6,40,31,0.08); }
.job .job-code { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--green-signal); }
.job h3 { font-size: 1.3rem; margin: 0.4rem 0; }
.job .job-meta { font-family: var(--ff-mono); font-size: 0.78rem; color: var(--muted); display: flex; gap: 1.25rem; flex-wrap: wrap; }
.job .btn { white-space: nowrap; }

/* ---------- Definition / value rows ---------- */
.defrows { border-top: 1px solid var(--line); }
.defrow { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.defrow dt { font-family: var(--ff-display); font-weight: 700; font-size: 1.15rem; color: var(--green); }
.defrow dd { color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); }
.contact-block + .contact-block { margin-top: 2rem; }
.contact-k { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.contact-v { font-size: 1.15rem; font-weight: 600; }
.contact-v a { color: var(--green-signal); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: clamp(3.5rem,6vw,5rem) 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand .brand { color: #fff; }
.footer-brand .brand small { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 0.95rem; color: rgba(255,255,255,0.6); margin-top: 1.25rem; max-width: 34ch; }
.footer-col h5 { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.65rem; }
.footer-col a { color: rgba(255,255,255,0.72); text-decoration: none; font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 2rem; font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.45); }
.footer-bottom a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Misc ---------- */
.lang-note { background: var(--green-mist); border: 1px solid var(--paper-line); border-radius: 6px; padding: 1.25rem 1.5rem; font-size: 0.95rem; color: var(--green); margin-bottom: 2rem; }
.tag { display:inline-block; font-family: var(--ff-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; background: var(--green-mist); color: var(--green); padding: 0.3rem 0.6rem; border-radius: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .mega-inner { grid-template-columns: 1fr; gap: 2rem; }
    .mega-aside { border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 1.5rem; }
    .case { grid-template-columns: 1fr; }
    .cta-inner { grid-template-columns: 1fr; }
    .cta-actions { justify-content: flex-start; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .nav-menu, .nav > .nav-cta { display: none; }
    .nav-toggle { display: flex; }
    .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
    .hero-spec { grid-template-columns: 1fr 1fr; }
    .hero-spec .spec { border-bottom: 1px solid var(--line-dark); }
    .statband { grid-template-columns: 1fr 1fr; }
    .split { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .defrow { grid-template-columns: 1fr; gap: 0.5rem; }
}
@media (max-width: 560px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .hero-spec { grid-template-columns: 1fr; }
    .hero-spec .spec { border-right: none; border-bottom: 1px solid var(--line-dark); }
    .statband { grid-template-columns: 1fr; }
    .statband .stat { border-right: none; border-bottom: 1px solid var(--line-dark); }
    .footer-top { grid-template-columns: 1fr; }
    .job { grid-template-columns: 1fr; }
    .case-body, .case-side { padding: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

:focus-visible { outline: 3px solid var(--green-signal); outline-offset: 2px; }
