/* Baffless Version B - Bold & Modern */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=DM+Serif+Display&display=swap');

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

:root {
    --bg: #100d0a;
    --surface: #1a1510;
    --surface-2: #221c15;
    --border: rgba(255,255,255,0.06);
    --text: #c8c8d0;
    --text-bright: #eeeef0;
    --text-dim: #6b6b78;
    --accent: #e8a065;
    --accent-2: #d4845a;
    --accent-glow: rgba(232,160,101,0.15);
    --gradient-warm: linear-gradient(135deg, #e8a065 0%, #d4845a 50%, #c07050 100%);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    background: var(--bg); color: var(--text);
    line-height: 1.7; overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: all 0.3s; }
a:hover { color: var(--text-bright); }

/* NAVIGATION - Minimal top bar */
#navbar {
    position: fixed; top: 0; width: 100%; z-index: 100;
    padding: 1rem 2rem;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(16,13,10,0.9); backdrop-filter: blur(30px);
    border-bottom: 1px solid var(--border);
}
#navbar.scrolled { padding: 0.7rem 2rem; }
.logo {
    font-family: 'DM Serif Display', serif;
    font-size: 1.6rem; font-weight: 400;
    color: var(--text-bright); text-decoration: none;
    letter-spacing: 1px;
}
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 1.5rem; list-style: none; align-items: center; }
.nav-links a {
    color: var(--text-dim); font-size: 0.82rem; font-weight: 400;
    letter-spacing: 0.5px; text-transform: uppercase;
    transition: color 0.3s; text-decoration: none;
}
.nav-links a:hover { color: var(--text-bright); }
.nav-toggle {
    display: none; background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--text-bright); margin: 6px 0; transition: 0.3s;
}

/* DROPDOWN */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ↓'; font-size: 0.55rem; opacity: 0.5; }
.dropdown-menu {
    display: none; position: absolute; top: 100%; left: -1rem;
    background: var(--surface); border: 1px solid var(--border);
    min-width: 240px; padding: 0.6rem 0; margin-top: 0.8rem;
    border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a {
    display: block; padding: 0.6rem 1.4rem;
    font-size: 0.78rem; border-radius: 0;
}
.dropdown-menu a:hover { background: var(--accent-glow); color: var(--accent); }

/* HERO - Full impact */
.hero {
    height: 100vh; position: relative;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    filter: brightness(0.15) contrast(1.2) saturate(0.4);
    transform: scale(1.1);
}
.hero-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(232,160,101,0.12), transparent 32%), radial-gradient(ellipse at center, rgba(16,13,10,0.3) 0%, rgba(16,13,10,0.9) 70%);
}
.hero-content {
    position: relative; z-index: 2;
    text-align: center; max-width: 900px; padding: 0 2rem;
}
.hero-label {
    font-size: 0.75rem; letter-spacing: 6px; text-transform: uppercase;
    color: var(--accent); margin-bottom: 2rem; font-weight: 400;
}
.hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 400; line-height: 1.05; margin-bottom: 2rem;
    color: var(--text-bright);
    background: linear-gradient(135deg, var(--text-bright) 0%, var(--accent) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero h1 em {
    font-style: italic;
    background: var(--gradient-warm);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: 1.15rem; font-weight: 300; color: var(--text-dim);
    max-width: 600px; margin: 0 auto 3rem; line-height: 1.8;
}

/* BUTTONS - Pill style */
.btn {
    display: inline-block; padding: 1rem 2.5rem;
    font-size: 0.82rem; font-weight: 500;
    letter-spacing: 1.5px; text-transform: uppercase;
    text-decoration: none; border: none; cursor: pointer;
    transition: all 0.4s; font-family: 'Space Grotesk', sans-serif;
    border-radius: 50px;
}
.btn-primary {
    background: var(--gradient-warm); color: var(--bg);
    box-shadow: 0 4px 30px rgba(232,160,101,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(232,160,101,0.4); }
.btn-outline {
    background: transparent; color: var(--text-bright);
    border: 1px solid rgba(255,255,255,0.15);
}
.btn-outline:hover { border-color: var(--accent); background: var(--accent-glow); }
.hero-cta { display: inline-flex; gap: 1.2rem; flex-wrap: wrap; justify-content: center; }
.page-cta { display: flex; justify-content: center; margin: 3rem 0 0.5rem; }
.content .page-cta .btn-primary { color: var(--bg); border-bottom: 0; }
.content .page-cta .btn-primary:hover { border-bottom: 0; }

.scroll-down {
    position: absolute; bottom: 3rem; left: 50%;
    transform: translateX(-50%); z-index: 2;
    opacity: 0.3; animation: float 3s ease-in-out infinite;
}
.scroll-down svg { width: 20px; height: 20px; stroke: var(--accent); }
@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.3; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.6; }
}

/* SECTIONS */
.section-label {
    font-size: 0.72rem; letter-spacing: 5px; text-transform: uppercase;
    color: var(--accent); margin-bottom: 1rem; font-weight: 500;
}
.divider {
    width: 60px; height: 2px; margin: 3rem auto;
    background: var(--gradient-warm); border-radius: 1px;
}
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* PAGE HERO (sub-pages) - Dramatic */
.page-hero {
    padding: 12rem 3rem 5rem; text-align: center;
    max-width: 900px; margin: 0 auto;
    position: relative;
}
.page-hero .icon {
    font-size: 3.5rem; margin-bottom: 1.5rem; display: block;
    filter: drop-shadow(0 0 20px var(--accent-glow));
}
.page-hero .icon svg {
    width: 3.25rem;
    height: 3.25rem;
    stroke: var(--accent);
    display: block;
    margin: 0 auto;
}
.page-hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 400; margin-bottom: 1.5rem; color: var(--text-bright);
}
.page-hero .subtitle {
    font-size: 1.15rem; color: var(--text-dim);
    font-weight: 300; max-width: 650px; margin: 0 auto; line-height: 1.9;
}

/* CONTENT */
.content { max-width: 780px; margin: 0 auto; padding: 3rem 3rem 6rem; }
.content p {
    font-size: 1.05rem; color: var(--text); font-weight: 300;
    line-height: 2; margin-bottom: 1.5rem;
}
.content strong { color: var(--text-bright); font-weight: 500; }
.content h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem; font-weight: 400; color: var(--text-bright);
    margin: 3.5rem 0 1.5rem;
    padding-left: 1rem; border-left: 3px solid var(--accent);
}
.content h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem; font-weight: 400; color: var(--text-bright);
    margin: 2.5rem 0 1rem;
}
.content ul, .content ol {
    margin: 1rem 0 1.5rem 1.5rem; line-height: 2; font-weight: 300;
}
.content li { margin-bottom: 0.5rem; }
.content img {
    max-width: 100%; height: auto; margin: 2.5rem 0;
    border: 1px solid var(--border); border-radius: 8px;
}
.content .img-caption {
    font-size: 0.8rem; color: var(--text-dim); text-align: center;
    margin-top: -2rem; margin-bottom: 2rem; font-style: italic;
}
.polar-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem; margin: 2.5rem 0 1rem;
}
.polar-grid figure { margin: 0; }
.polar-grid img {
    width: 100%; height: auto; display: block; margin: 0;
    background: #fff; border: 1px solid var(--border); border-radius: 8px;
}
.polar-grid + .img-caption { margin-top: 0; }

/* SYSTEM-SPECIFIC TOPIC NAVIGATION */
.system-paths {
    width: 100%; max-width: 1120px; margin: 0 auto 3rem; padding: 0 3rem;
}
.system-paths-shell {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border: 1px solid var(--border); border-radius: 18px;
    background: var(--surface);
}
.system-paths-kicker {
    margin-bottom: 0.65rem;
    font-family: 'IBM Plex Mono', monospace; font-size: 0.64rem;
    font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--accent);
}
.system-paths h2 {
    margin: 0 0 0.75rem; padding: 0; border: 0;
    font-family: 'DM Serif Display', serif; font-size: clamp(1.8rem, 3vw, 2.45rem);
    font-weight: 400; line-height: 1.1; color: var(--text-bright);
}
.system-paths-intro {
    max-width: 68ch; margin: 0;
    font-size: 0.92rem; font-weight: 300; line-height: 1.7; color: var(--text);
}
.system-paths-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem; margin-top: 1.6rem;
}
.system-path-card {
    display: flex; min-width: 0; min-height: 142px; flex-direction: column;
    padding: 1.15rem; border: 1px solid var(--border); border-radius: 12px;
    background: var(--surface-2); color: inherit; text-decoration: none;
    transition: border-color .2s ease, transform .2s ease;
}
.system-path-card:hover,
.system-path-card:focus-visible {
    border-color: var(--accent); color: inherit; transform: translateY(-2px);
}
.system-path-card:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
.system-path-card-label {
    margin-bottom: 0.7rem;
    font-family: 'IBM Plex Mono', monospace; font-size: 0.58rem;
    font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--accent);
}
.system-path-card-name {
    margin-bottom: 0.45rem; font-size: 0.98rem; font-weight: 600;
    line-height: 1.25; color: var(--text-bright);
}
.system-path-card-note {
    font-size: 0.78rem; font-weight: 300; line-height: 1.55; color: var(--text);
}
@media (min-width: 1120px) {
    .content .polar-grid {
        width: min(1080px, calc(100vw - 6rem));
        margin-left: 50%; transform: translateX(-50%);
    }
}
@media (max-width: 640px) {
    .polar-grid { grid-template-columns: 1fr; gap: 0.9rem; }
    .system-paths { padding: 0 1.25rem; }
    .system-paths-grid { grid-template-columns: 1fr; }
    .system-path-card { min-height: 0; }
}
.wide-fig { margin: 2.5rem 0 0; }
.wide-fig img {
    width: 100%; height: auto; display: block; margin: 0;
    background: #fff; border: 1px solid var(--border); border-radius: 8px;
}
.wide-fig + .img-caption { margin-top: 0.9rem; }
@media (min-width: 1120px) {
    .content .wide-fig {
        width: min(1080px, calc(100vw - 6rem));
        margin-left: 50%; transform: translateX(-50%);
    }
}
.response-figure { margin: 2.5rem auto 0; }
.response-figure-waveform { max-width: 663px; }
.response-figure-measurement { max-width: 749px; }
.response-figure img {
    width: 100%; height: auto; display: block; margin: 0;
    background: #fff; border: 1px solid var(--border); border-radius: 8px;
}
.response-figure + .img-caption { margin-top: 0.9rem; }
.read-next {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem; margin: 2rem 0 2.5rem;
}
.read-next-card {
    display: flex; flex-direction: column; gap: 0.5rem;
    padding: 1.4rem 1.5rem; background: var(--surface-2);
    border: 1px solid var(--border); border-radius: 10px;
    text-decoration: none; transition: border-color 0.25s, transform 0.25s;
}
.content .read-next-card { border-bottom: 1px solid var(--border); }
.read-next-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.content .read-next-card:hover { border-bottom-color: var(--accent); }
.read-next-k {
    font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
    color: var(--accent); font-weight: 500;
}
.read-next-t {
    font-family: 'DM Serif Display', serif; font-size: 1.15rem;
    color: var(--text-bright); line-height: 1.3;
}
.read-next-d { font-size: 0.88rem; color: var(--text); font-weight: 300; line-height: 1.7; }
@media (max-width: 640px) {
    .read-next { grid-template-columns: 1fr; }
}
.content a { color: var(--accent); border-bottom: 1px solid transparent; }
.content a:hover { border-bottom-color: var(--accent); }
.content table { width: 100%; border-collapse: collapse; margin: 2rem 0; border-radius: 8px; overflow: hidden; }
.content th, .content td {
    padding: 0.9rem 1.2rem; text-align: left;
    border: 1px solid var(--border); font-size: 0.9rem; font-weight: 300;
}
.content th {
    background: var(--surface-2); color: var(--accent);
    font-weight: 500; text-transform: uppercase;
    font-size: 0.75rem; letter-spacing: 1px;
}

/* INTRO */
.intro { padding: 8rem 3rem; text-align: center; max-width: 1000px; margin: 0 auto; }
.intro h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 400; line-height: 1.6; color: var(--text);
}
.intro h2 em { color: var(--accent); font-style: italic; }
.intro p {
    font-size: 1.05rem; color: var(--text-dim); font-weight: 300;
    max-width: 800px; margin: 1rem auto 0; line-height: 1.9;
}

/* HIGHLIGHTS - Card grid with glow */
.highlights { padding: 2rem 3rem 6rem; max-width: 1400px; margin: 0 auto; }
.highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.highlight-tile {
    background: var(--surface); border: 1px solid var(--border);
    padding: 2.5rem 1.8rem; text-align: center;
    border-radius: 12px; position: relative; overflow: hidden;
    transition: all 0.4s; cursor: pointer;
    text-decoration: none; color: inherit; display: block;
}
.highlight-tile:hover {
    border-color: rgba(232,160,101,0.3);
    background: var(--surface-2);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(232,160,101,0.08);
}
.highlight-tile .hl-icon { font-size: 2.2rem; margin-bottom: 1.2rem; display: block; }
.highlight-tile .hl-value {
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem; font-weight: 400;
    color: var(--text-bright); margin-bottom: 0.5rem; line-height: 1.25;
}
.highlight-tile .hl-label {
    font-size: 0.68rem; letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--accent); margin-bottom: 0.8rem; font-weight: 500;
}
.highlight-tile .hl-desc {
    font-size: 0.85rem; color: var(--text-dim);
    font-weight: 300; line-height: 1.7;
}

.highlights-large { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px; }
.hl-large {
    background: var(--surface); border: 1px solid var(--border);
    padding: 2.5rem; display: flex; align-items: center; gap: 2rem;
    border-radius: 12px; transition: all 0.4s; cursor: pointer;
    text-decoration: none; color: inherit;
}
.hl-large:hover { border-color: rgba(232,160,101,0.3); background: var(--surface-2); }
.hl-large .hl-icon { font-size: 2.5rem; flex-shrink: 0; }
.hl-large .hl-content { flex: 1; }
.hl-large .hl-value {
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem; font-weight: 400; color: var(--text-bright); margin-bottom: 0.4rem;
}
.hl-large .hl-desc { font-size: 0.9rem; color: var(--text-dim); font-weight: 300; line-height: 1.7; }

/* PHOTO STRIP */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.photo-strip.four { grid-template-columns: repeat(4, 1fr); }
.photo-strip .ps-item { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 4px; }
.photo-strip .ps-item.wide { grid-column: span 2; aspect-ratio: 2/1; }
.photo-strip .ps-item.tall { grid-row: span 2; }
.photo-strip .ps-item img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.8) contrast(1.1) saturate(0.7);
    transition: all 0.6s;
}
.photo-strip .ps-item:hover img {
    filter: brightness(0.95) contrast(1.05) saturate(0.9);
    transform: scale(1.06);
}
.photo-strip .ps-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 2rem 1.5rem 1.2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    opacity: 0; transition: opacity 0.4s;
}
.photo-strip .ps-item:hover .ps-caption { opacity: 1; }
.photo-strip .ps-caption h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1rem; font-weight: 400; color: var(--text-bright);
}
.photo-strip .ps-caption p { font-size: 0.75rem; color: var(--text-dim); }

/* PRODUCT */
.product {
    padding: 5rem 0 7rem; background: var(--surface);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.product-header { text-align: center; max-width: 900px; margin: 0 auto 4rem; padding: 0 2rem; }
.product-header h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400;
}
.product-header p { font-size: 1.1rem; color: var(--text-dim); font-weight: 300; margin-top: 1rem; line-height: 1.9; }
.product-grid {
    max-width: 1400px; margin: 0 auto; padding: 0 3rem;
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px;
}
.product-main {
    position: relative; overflow: hidden; border-radius: 12px;
    border: 1px solid var(--border); aspect-ratio: 3/4;
}
.product-main img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.85) contrast(1.1) saturate(0.8);
    transition: transform 0.8s;
}
.product-main:hover img { transform: scale(1.04); }
.product-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.product-thumb {
    position: relative; overflow: hidden; border-radius: 12px;
    border: 1px solid var(--border);
}
.product-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.8) contrast(1.1) saturate(0.7);
    transition: transform 0.6s;
}
.product-thumb:hover img { transform: scale(1.05); }
.product-thumb .img-caption, .product-main .img-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 1.5rem; background: linear-gradient(transparent, rgba(0,0,0,0.85));
    font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase;
    color: var(--text-dim); margin: 0;
}

/* SPECS */
.specs-row {
    max-width: 1400px; margin: 3rem auto 0; padding: 0 3rem;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.spec-item {
    background: var(--bg); padding: 2.2rem; text-align: center;
    border: 1px solid var(--border); border-radius: 12px;
}
.spec-item .val {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem; color: var(--accent); font-weight: 400;
}
.spec-item .label {
    font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
    color: var(--text-dim); margin-top: 0.5rem;
}

/* FEATURES */
.features { padding: 7rem 3rem; max-width: 1400px; margin: 0 auto; }
.features-header { text-align: center; margin-bottom: 4rem; }
.features-header h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 400;
}
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.feature-card {
    background: var(--surface); padding: 2.5rem 2rem;
    border: 1px solid var(--border); border-radius: 12px;
    transition: all 0.3s;
}
.feature-card:hover {
    border-color: rgba(232,160,101,0.2);
    box-shadow: 0 10px 40px rgba(232,160,101,0.05);
}
.feature-num {
    font-size: 0.65rem; color: var(--accent-2);
    letter-spacing: 2px; margin-bottom: 1.2rem; font-weight: 600;
}
.feature-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem; font-weight: 400; margin-bottom: 0.8rem; color: var(--text-bright);
}
.feature-card p { font-size: 0.95rem; color: var(--text-dim); font-weight: 300; line-height: 1.75; }

/* SPLIT SECTIONS */
.split-section { padding: 6rem 3rem; background: var(--surface); border-top: 1px solid var(--border); }
.split-inner {
    max-width: 1300px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: center;
}
.split-inner.reverse { grid-template-columns: 1.2fr 1fr; }
.split-image img { max-width: 100%; border: 1px solid var(--border); border-radius: 12px; }
.split-text h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 2.2rem; font-weight: 400; margin-bottom: 1.5rem; line-height: 1.25;
}
.split-text p { font-size: 1.05rem; color: var(--text-dim); font-weight: 300; line-height: 1.9; margin-bottom: 1rem; }
.split-text .highlight { color: var(--text); font-weight: 400; }

/* IMAGE BREAK */
.image-break { position: relative; width: 100%; height: 50vh; min-height: 350px; overflow: hidden; }
.image-break img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.35) contrast(1.15) saturate(0.5);
}
.image-break .ib-text {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; padding: 2rem;
}
.image-break .ib-text h3 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 400; color: var(--text-bright);
}
.image-break .ib-text p { font-size: 1rem; color: var(--text-dim); font-weight: 300; max-width: 500px; }

/* ENGINEER */
.engineer {
    padding: 7rem 3rem; max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 5rem; align-items: center;
}
.engineer-img { overflow: hidden; border-radius: 12px; border: 1px solid var(--border); }
.engineer-img img { width: 100%; filter: brightness(0.8) saturate(0.7); transition: transform 0.6s; }
.engineer-img:hover img { transform: scale(1.03); }
.engineer-text h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem; font-weight: 400; margin-bottom: 1.5rem; line-height: 1.3;
}
.engineer-text p { font-size: 1.05rem; color: var(--text-dim); font-weight: 300; line-height: 1.9; margin-bottom: 1rem; }

/* CTA */
.cta {
    padding: 8rem 3rem; text-align: center;
    background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
}
.cta h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 400; margin-bottom: 1.2rem;
}
.cta p { font-size: 1rem; color: var(--text-dim); font-weight: 300; max-width: 520px; margin: 0 auto 2.5rem; line-height: 1.8; }

/* CHATBOT */
.chatbot-section { padding: 5rem 1.5rem 6rem; background: var(--surface); border-top: 1px solid var(--border); }
.chatbot-container { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; min-height: 500px; }
.chat-header { text-align: center; padding: 2rem 1rem 1.5rem; }
.chat-header h2 { font-family: 'DM Serif Display', serif; font-size: 1.8rem; font-weight: 400; color: var(--text-bright); margin-bottom: 0.6rem; }
.chat-header p { font-size: 0.95rem; color: var(--text-dim); font-weight: 300; }
.chat-suggestions { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.5rem 0; align-items: center; }
.chat-suggestions button {
    background: var(--bg); border: 1px solid var(--border);
    color: var(--text); font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem; font-weight: 300;
    padding: 0.8rem 1.5rem; border-radius: 50px;
    cursor: pointer; transition: all 0.3s; max-width: 90%;
}
.chat-suggestions button:hover { border-color: var(--accent); background: var(--accent-glow); color: var(--accent); }
.chat-messages { flex: 1; overflow-y: auto; padding: 1rem 0; display: flex; flex-direction: column; gap: 1rem; }
.chat-msg { max-width: 100%; padding: 1rem 1.2rem; font-size: 1rem; line-height: 1.75; animation: msgIn 0.3s ease; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.chat-msg.bot { background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 16px; align-self: flex-start; font-weight: 300; }
.chat-msg.user { background: var(--accent-2); color: var(--bg); border-radius: 16px; align-self: flex-end; font-weight: 400; }
.chat-msg.bot .sender { font-size: 0.65rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 0.4rem; }
.chat-input-row { display: flex; gap: 0.8rem; padding: 1.5rem 0 0.5rem; }
.chat-input-row input {
    flex: 1; background: var(--bg); border: 1px solid var(--border);
    border-radius: 50px; padding: 0.9rem 1.5rem; color: var(--text-bright);
    font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem;
    outline: none; transition: border-color 0.3s;
}
.chat-input-row input:focus { border-color: var(--accent); }
.chat-input-row input::placeholder { color: var(--text-dim); }
.chat-input-row button {
    background: var(--gradient-warm); border: none;
    padding: 0.9rem 2rem; cursor: pointer;
    font-family: 'Space Grotesk', sans-serif; font-size: 0.85rem; font-weight: 600;
    letter-spacing: 1px; color: var(--bg); border-radius: 50px;
    transition: all 0.3s;
}
.chat-input-row button:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(232,160,101,0.3); }
.chat-footer { text-align: center; padding: 0.8rem 0; font-size: 0.75rem; color: var(--text-dim); }
.chat-typing { padding: 0.9rem 1.2rem; align-self: flex-start; font-size: 0.85rem; color: var(--text-dim); }
.chat-typing span { animation: blink 1.2s infinite; }
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 60%, 100% { opacity: 0.2; } 30% { opacity: 1; } }

/* PRICE BOX */
.price-box {
    background: var(--surface); border: 1px solid var(--accent-2);
    padding: 2.5rem; margin: 2.5rem 0; text-align: center; border-radius: 12px;
    box-shadow: 0 10px 40px rgba(232,160,101,0.08);
}
.price-box .price {
    font-family: 'DM Serif Display', serif;
    font-size: 3rem; color: var(--accent); font-weight: 400;
}
.price-box .price-note { font-size: 0.9rem; color: var(--text-dim); margin-top: 0.5rem; }

/* BACK */
.back-bottom { text-align: center; padding: 3rem; border-top: 1px solid var(--border); }
.back-bottom a {
    color: var(--accent); font-size: 0.85rem;
    letter-spacing: 2px; text-transform: uppercase; font-weight: 500;
}

/* FOOTER */
footer { padding: 3rem 3rem 1.5rem; border-top: 1px solid var(--border); }
.footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: start;
}
.footer-brand p { font-size: 0.8rem; color: var(--text-dim); font-weight: 300; margin-top: 0.5rem; }
.footer-links { text-align: right; }
.footer-links a { display: block; color: var(--text-dim); font-size: 0.8rem; margin-bottom: 0.4rem; text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
    max-width: 1200px; margin: 2rem auto 0; padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center; font-size: 0.7rem; color: rgba(255,255,255,0.1);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    #navbar { padding: 0.8rem 1.5rem; }
    .nav-links {
        /* nav has backdrop-filter, which makes it the containing block for
           fixed children — size against the viewport instead of inset:0 */
        display: none; position: fixed; top: 0; left: 0;
        width: 100vw; height: 100vh; height: 100dvh;
        margin: 0; padding: 5.5rem 1.5rem 3rem;
        background: var(--bg); flex-direction: column;
        align-items: center; justify-content: center; gap: 2rem; z-index: 200;
        overflow-y: auto; overscroll-behavior: contain;
    }
    .nav-links { justify-content: safe center; }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; z-index: 201; }
    .dropdown-menu {
        display: block; position: static; background: transparent; border: none;
        min-width: 0; box-shadow: none; padding: 0; margin-top: 0.9rem; text-align: center;
    }
    .dropdown-menu a { padding: 0.5rem 0; }
    /* Touch devices have no hover: the dropdown label is a heading, not a link */
    .nav-dropdown > a { pointer-events: none; opacity: 0.55; }
    .nav-dropdown > a::after { display: none; }
    .highlights-grid { grid-template-columns: repeat(2, 1fr); }
    .highlights-large { grid-template-columns: 1fr; }
    .hl-large { flex-direction: column; text-align: center; }
    .product-grid { grid-template-columns: 1fr; }
    .product-main { aspect-ratio: 4/3; }
    .product-side { grid-template-columns: 1fr 1fr; }
    .specs-row { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .split-inner, .split-inner.reverse { grid-template-columns: 1fr; }
    .engineer { grid-template-columns: 1fr; padding: 4rem 1.5rem; }
    .hero-cta { flex-direction: column; align-items: center; }
    .footer-inner { flex-direction: column; gap: 1.5rem; }
    .footer-links { text-align: left; }
    .page-hero { padding: 9rem 1.5rem 3rem; }
    .content { padding: 2rem 1.5rem 4rem; }
    .photo-strip, .photo-strip.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    #navbar { padding: 0.8rem 1rem; }
    #navbar.scrolled { padding: 0.7rem 1rem; }
    .logo { font-size: 1.3rem; }
    .highlights-grid { grid-template-columns: 1fr; }
    .specs-row { grid-template-columns: 1fr 1fr; }
}
