:root {
    /* ============================= */
    /* Base Colors */
    --white-primary: #FFFFFF;
    --white-muted: #F5F5F5;

    --black-primary: #000000;
    --black-secondary: #1C1C1C;

    /* ============================= */
    /* Text Colors */
    --text-primary: #0b0d12;
    --text-secondary: #4f545c;
    --text-secondary-overlay: #1f2328;
    --text-muted: #C4C4C4;
    --text-inverse: #FFFFFF;

    /* ============================= */
    /* Accent Colors (Construction Theme) */
    --accent-primary: #FF8200;   /* Industrial Reddish-Orange */
    --accent-secondary: #FF9C00; /* Construction Gold */

    /* ============================= */
    /* UI Elements */
    --background-main: var(--white-primary);
    --background-section: var(--white-muted);

    --navbar-bg: var(--white-primary);
    --footer-bg: var(--black-primary);

    --link-default: var(--accent-primary);
    --link-hover: var(--accent-secondary);

    --button-primary-bg: var(--accent-primary);
    --button-primary-text: var(--text-inverse);
    --button-primary-hover-bg: var(--accent-secondary);
    --button-primary-hover-text: var(--text-inverse);

    --divider-color: #353535;
    --border-light: #e0e0e0;

    /* Navbar height */
    --navbar-height: 80px;
}

/* =========================================================
   RESET & BASE
========================================================= */
html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--white-primary);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* =========================================================
   FONT Hierarchy
========================================================= */

/* -------------------------
   BODY / READING TEXT
-------------------------- */
body,
p,
a,
li,
button,
input,
textarea,
td,
th,
.hero-image-info__popup p,
.footer-note p,
.footer-links a,
.spec-list li,
.toc-panel a {
    font-family: 'Manrope', sans-serif;
}

/* -------------------------
   DISPLAY / HERO / HEADINGS
-------------------------- */
.text-box h1,
.text-box h1 .accent,
.Heading_1 h1,
.Heading_1 h2,
.Heading_1 h3,
.Heading_1 h4,
.toc-panel h4,
.hero-image-info__popup h4,
.footer-links h4,
.footer-note h4,
thead th,
tbody th {
    font-family: 'Exo 2', sans-serif;
}

/* -------------------------
   NAVBAR / BRAND / LOGO
-------------------------- */
#navbar__logo,
.footer-brand h2,
.footer-note strong[style*="Orbitron"] {
    font-family: 'Orbitron', sans-serif;
}

/* =========================================================
   NAVBAR
========================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    z-index: 9999;
    background: rgba(255, 255, 255, 0.92); /* slightly translucent */
    backdrop-filter: blur(10px);          /* modern glass effect */
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.navbar__container {
    max-width: 1300px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
#navbar__logo {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--black-primary);
    text-decoration: none;
}

/* Menu */
.navbar__menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar__item {
    height: 50px;
    font-size: 1.25rem;
    font-weight: 700;
}

.navbar__links {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0 1.1rem;
    height: 100%;
    color: var(--text-primary);
    transition: color 0.25s ease;
    text-decoration: none;
    text-shadow: 0 2px 8px rgba(0,0,0,0.12), 0 1px 0 rgba(255,255,255,0.12);
}

.nav-txt {
    display: inline-block; /* needed so ::after can size to the text */
    position: relative;
}

.nav-txt::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -15px;
    width: 100%;
    height: 4px;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    background: var(--accent-primary);
    transition: transform .75s cubic-bezier(.2,.8,.2,1);
    pointer-events: none;
    z-index: 2;
}

/* show the underline */
.navbar__links:hover .nav-txt::after,
.navbar__links:focus-visible .nav-txt::after,
.navbar__links.active .nav-txt::after,
.navbar__item:focus-within .nav-txt::after {
    transform: translateX(-50%) scaleX(1.15);
}

/* color on hover/focus/active */
.navbar__links:hover,.navbar__links:focus-visible,.navbar__links.active {
    color: var(--accent-primary);
    text-shadow: 0 2px 12px rgba(255,130,0,0.22), 0 1px 0 rgba(255,255,255,0.12);
    outline: none;
}

/* Mobile toggle */
.navbar__toggle {
    display: none;              
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 6px;
    z-index: 1200;
    width: 44px;
    height: 40px;
    box-sizing: content-box;
}

/* the three bars */
.navbar__toggle .bar {
    display: block;           
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: var(--accent-primary, #ff7200);
    transform-origin: center;
    transition: transform .25s ease, opacity .2s ease;
}

@media screen and (max-width: 1300px) {
    .navbar {
        transition: top 0.35s ease;
    }

    .navbar__toggle {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    } 

    .navbar__container {
        position: relative;
    }

    .navbar__menu {
        position: absolute;
        top: -1000px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        transition: top 0.35s ease;
        border-bottom: 1px solid var(--border-light);
        padding-bottom: 10px;
    }

    .navbar__menu.active {
        top: 80px;
    }
    
    .navbar__item {
        position: relative;
        width: 100%;
        height: auto;
        justify-content: center;
        font-size: 1.25rem;
    }
    
    .nav-txt::after {
        display: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 0 !important;
    }

    .navbar__links {
        display: block;
        width: 100%;
        padding: 1.25rem 1.5rem 1.25rem 2.5rem;
        box-sizing: border-box;
        border-radius: 12px;
        position: relative;
        text-align: center;
    }

    .navbar__links:hover, .navbar__links.active, .navbar__item:focus-within .navbar__links {
        color: var(--accent-primary);  
    }

    .navbar__links::before {
        content: "";
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%) scaleY(0);
        transform-origin: center;
        width: 6px;
        height: 30px;               /* final height */
        background: var(--accent-primary);
        border-radius: 4px;
        transition: transform .75s cubic-bezier(.2,.9,.2,1);
        z-index: 3;
        pointer-events: none;
    }

    .navbar__links::after {
        content: "";
        position: absolute;
        left: 8px;
        top: 50%;
        transform: translateY(-50%) scaleY(0);
        transform-origin: center;
        width: calc(100% - 16px);
        height: 50px;
        background: rgba(255,156,0,0.14);
        border-radius: 12px;
        transition: transform .75s cubic-bezier(.2,.9,.2,1), opacity .18s linear;
        z-index: 2;
        pointer-events: none;
        opacity: 0;
    }

    .navbar__links:hover::before,
    .navbar__links.active::before,
    .navbar__item:focus-within .navbar__links::before {
        transform: translateY(-50%) scaleY(1.15);
    }

    .navbar__links:hover::after,
    .navbar__links.active::after,
    .navbar__item:focus-within .navbar__links::after {
        transform: translateY(-50%) scaleY(1);
        opacity: 1;
    }

    .navbar__toggle.is-active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .navbar__toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .navbar__toggle.is-active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* =========================================================
   HERO SECTION
========================================================= */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    grid-template-rows: auto 1fr;
    align-items: center;
    justify-content: center;
}

/* HERO IMAGE */
.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    animation: heroZoom 18s ease-in-out infinite alternate;
    object-position: center 35%;
}

@keyframes heroZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.08);
    }
}

/* OVERLAY LAYERS */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            rgba(0,0,0,0.35),
            rgba(0,0,0,0.35)
        ),

        linear-gradient(
            to bottom,
            hsla(33, 100%, 89%, 0.4) 0%,
            hsla(33, 100%, 89%, 0.2) 8%,
            hsla(35, 100%, 81%, 0.1) 14%,
            transparent 22%
        ),
        linear-gradient(
            to top,
            hsla(33, 100%, 89%, 0.4) 0%,
            hsla(33, 100%, 89%, 0.2) 8%,
            hsla(35, 100%, 81%, 0.1) 14%,
            transparent 22%
        ),
        radial-gradient(
            ellipse at 80% 0%,
            rgba(255, 200, 120, 0.15) 0%,
            transparent 60%
        ),
        radial-gradient(
            ellipse at 20% 100%,
            rgba(255, 200, 120, 0.15) 0%,
            transparent 60%
        );
    z-index: 2;
    pointer-events: none;
}

/* =========================================================
   HERO IMAGE INFO BUTTON
========================================================= */

.hero-image-info {
    position: absolute;
    top: 100px;
    right: 20px;
    z-index: 20;
}

/* INFO BUTTON */
.hero-image-info__btn {
    padding: 6px 12px;
    background: rgba(255, 248, 240, 0.82);
    backdrop-filter: blur(10px);
    color: rgba(40, 40, 40, 0.9);
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.14);
    border: none;
    border-radius: 999px;
    transition: transform 0.2s ease;
}

.hero-image-info__btn a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 700;
    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.hero-image-info__btn a:hover {
    text-decoration: underline;
}


.hero-image-info__btn:hover {
    color: rgba(40, 40, 40, 1);
    transform: scale(1.05);
}

/* POPUP PANEL */
.hero-image-info__popup {
    position: absolute;
    top: 56px;
    right: 0;
    width: 400px;
    max-width: 80vw;
    padding: 1rem 1.15rem;
    border-radius: 16px;
    background: rgba(255, 248, 240, 0.92);
    backdrop-filter: blur(14px);
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
}

/* SHOW ON HOVER */
.hero-image-info:hover .hero-image-info__popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* POPUP TEXT */
.hero-image-info__popup h4 {
    margin-bottom: 0.6rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.hero-image-info__popup p {
    font-size: 0.92rem;
    font-weight: 550;
    line-height: 1.55;
    margin-bottom: 0.7rem;
    color: rgba(255,255,255,0.9);
}

/* =========================================================
   STRONG TEXT
========================================================= */

.hero-image-info__popup strong {
    color: rgba(20,20,20,0.95);
    font-weight: 700;
}

/* =========================================================
   LINKS (SOFTER + EYE-COMFORTABLE)
========================================================= */

.hero-image-info__popup a {
    color: var(--accent-secondary);
    text-decoration: none;
    font-weight: 600;
    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.hero-image-info__popup a:hover {
    color: #A46E47;
    opacity: 0.9;
    text-decoration: underline;
}


/* MOBILE */
@media screen and (max-width: 1300px) {    
    .hero-image-info {        
        top: auto;        
        bottom: 16px;        
        right: 16px;    
    }    
    
    .hero-image-info__btn {        
        padding: 5px 10px;        
        font-size: 0.72rem;        
        box-shadow: 0 4px 12px rgba(0,0,0,0.12);    
    }    
    
    .hero-image-info__btn a {        
        font-size: 0.72rem;    
    }
}

/* =========================================================
   HERO TEXT
========================================================= */
.hero__content {
    position: relative;
    z-index: 5;
    width: 100%;
    padding-top: var(--navbar-height);
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-box {
    max-width: 1300px;
    padding: 32px 42px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 25px;
    color: #fff;
    padding:
        clamp(1rem, 2vw, 2rem)
        clamp(1rem, 3vw, 2.5rem);
}

.text-box h1 {
    margin: 0;
    max-width: 1000px;
    font-size: clamp(3rem, 4vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    color: rgba(255, 252, 247, 0.98);
    text-wrap: balance;
    text-shadow:
        0 10px 35px rgba(0,0,0,0.42),
        0 3px 10px rgba(0,0,0,0.22);
}

.text-box h1 .accent {
    color: var(--accent-primary);
    text-shadow: 0 0 18px rgba(255, 190, 120, 0.18);
}

.text-box p {
    margin: 0;
    width: min(720px, 92%);
    font-size: clamp(1rem, 1.75vw, 1.25rem);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: 0.015em;
    color: rgba(255, 247, 235, 0.9);
    text-shadow: 0 3px 12px rgba(0,0,0,0.32);
    text-wrap: balance;
    align-self: center;
}

/* =========================================================
    ARTICLES SECTION
========================================================= */
/* -------------------------
   Page Layout
-------------------------- */
.page-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 280px; 
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    align-items: start; /* 🔥 prevents TOC pushing article down */
    column-gap: 3rem;
    background-color: var(--white-primary);
}

/* -------------------------
   TOC
-------------------------- */
/* WRAPPER */
.toc-wrapper {
    position: sticky;
    top: 90px;
    left: 45px;
    width: 280px;
    height: calc(100vh - 120px);
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid var(--accent-primary);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    background: var(--white-primary);
}

.toc-toggle {
    display: flex;
    align-items: center;
    height: 50px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    background: color-mix(in srgb, var(--accent-secondary) 50%, white);
    backdrop-filter: blur(10px);
}

.toc-toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 110px;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    padding: 6px 10px;
    border-radius: 8px;
    opacity: 1;
    transition: all 0.2s ease;
    transition: opacity 0.2s ease;
}

#toc-left {
    margin-right: auto;
}

/* RIGHT button */
#toc-right {
    margin-left: auto;
}

/* when MACRO is active → hide LEFT button */
.toc-wrapper.show-macro #toc-left {
    opacity: 0;
    pointer-events: none;
}

/* when MICRO is active → hide RIGHT button */
.toc-wrapper.show-micro #toc-right {
    opacity: 0;
    pointer-events: none;
}

/* hover */
.toc-toggle-btn:hover {
    background: rgba(0,0,0,0.05);
}

/* arrows */
.toc-toggle .arrow {
    font-size: 1rem;
    color: var(--accent-primary);
}

/* labels */
.toc-toggle .label {
    font-size: 0.85rem;
    white-space: nowrap;
    line-height: 1.25;
}

/* optional: make left/right visually balanced */
.toc-toggle-left {
    justify-content: flex-start;
}

.toc-toggle-right {
    justify-content: flex-end;
}

.toc-panel {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: calc(100% - 50px);
    padding: 1rem;
    overflow-y: auto;
    color: var(--text-primary);
    transition: transform 0.4s ease;
}

/* default positions */
.toc-panel--macro {
    transform: translateX(0%);
}

.toc-panel--micro {
    transform: translateX(100%);
}

/* active states */
.toc-wrapper.show-macro .toc-panel--macro {
    transform: translateX(0%);
}

.toc-wrapper.show-macro .toc-panel--micro {
    transform: translateX(100%);
}

.toc-wrapper.show-micro .toc-panel--macro {
    transform: translateX(-100%);
}

.toc-wrapper.show-micro .toc-panel--micro {
    transform: translateX(0%);
}

/* HEADINGS */
.toc-panel h4 {
    margin-bottom: 12px;
    font-size: 1.2rem;
    line-height: 1.2;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* LIST RESET */
.toc-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc-panel li {
    margin-bottom: 6px;
}

/* -------------------------
   LINKS (BASE)
-------------------------- */
.toc-panel a {
    display: block;
    text-decoration: none;
    color: var(--text-secondary);
    transition: color 0.2s ease;
    position: relative;
    padding-left: 12px; /* space for accent bar */
}

/* -------------------------
   MACRO PANEL (PAGES)
-------------------------- */
.toc-panel--macro > ul > li > a {
    font-size: 1.25rem;   /* 🔥 bigger */
    font-weight: 800;
    line-height: 1.6;
    color: var(--text-primary);
}

/* ACTIVE MACRO */
.toc-panel--macro > ul > li > a.active {
    color: var(--accent-primary);
}

/* 🔥 STRONGER, TALLER BAR */
.toc-panel--macro > ul > li > a.active::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 2px;
    bottom: 2px;
    width: 4px;
    background: var(--accent-primary);
    border-radius: 3px;
}

/* -------------------------
   MICRO PANEL (H2)
-------------------------- */
.toc-panel--micro > ul > li > a {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.5;
    color: var(--text-primary);
}

/* ACTIVE H2 (WITH BAR) */
.toc-panel--micro > ul > li > a.active {
    color: var(--accent-primary);
}

.toc-panel--micro > ul > li > a.active::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 4px;
    bottom: 4px;
    width: 3px;
    background: var(--accent-primary);
    border-radius: 2px;
}

/* -------------------------
   MICRO PANEL (H3)
-------------------------- */
.toc-panel ul ul {
    margin-left: 14px;
    padding-left: 10px;
    border-left: 1px solid rgba(0,0,0,0.08);
    margin-top: 6px;
}

.toc-panel ul ul > li > a {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--text-primary);
}

/* ACTIVE H3 (NO BAR — just highlight) */
.toc-panel ul ul > li > a.active {
    color: var(--accent-primary);
    font-weight: 700;
}

/* -------------------------
   HOVER
-------------------------- */
.toc-panel a:hover {
    color: var(--accent-primary);
}

/* -------------------------
   SCROLL OFFSET FIX
-------------------------- */

h2[id], h3[id] {
    scroll-margin-top: 110px; /* adjust to your navbar height */
}

.toc-mobile-btn {
    display: none; /* only show on mobile */
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000;
    padding: 12px 22px;
    background: var(--accent-primary);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.toc-mobile-btn:hover {
    transform: translateX(-50%) scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* hide on small screens */

/* =========================================================
   RESPONSIVE TOC (≤1200px)
========================================================= */
@media screen and (max-width: 1300px) {
    .page-layout {
        grid-template-columns: 1fr;
        padding: 1.5rem 1rem;
    }

    .toc-wrapper {
        position: fixed;
        top: 80px;
        left: 0;
        width: 85%;
        max-width: 340px;
        height: 100vh;
        z-index: 2000;
        overflow: hidden; /* IMPORTANT */
        transform: translateX(-110%);
        transition: transform 0.35s ease;
        border-radius: 0 16px 16px 0;
    }

    .toc-wrapper.open {
        transform: translateX(0%);
    }

    /* overlay */
    .toc-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.45);
        z-index: 1500;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .toc-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    /* -------------------------
       PANEL SYSTEM (CRITICAL FIX)
    -------------------------- */
    .toc-panel {
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        height: calc(100% - 50px);
        padding: 1rem;
        overflow-y: auto;
        transition: transform 0.35s ease;
    }

    /* macro position */
    .toc-panel--macro {
        transform: translateX(0%);
    }

    /* micro off-screen */
    .toc-panel--micro {
        transform: translateX(100%);
    }

    /* -------------------------
       SLIDE STATES
    -------------------------- */

    .toc-wrapper.show-macro .toc-panel--macro {
        transform: translateX(0%);
    }

    .toc-wrapper.show-macro .toc-panel--micro {
        transform: translateX(100%);
    }

    .toc-wrapper.show-micro .toc-panel--macro {
        transform: translateX(-100%);
    }

    .toc-wrapper.show-micro .toc-panel--micro {
        transform: translateX(0%);
    }

    /* touch improvements */
    .toc-panel a {
        font-size: 1.05rem;
    }

    .toc-toggle button {
        font-size: 1.4rem;
        padding: 6px 10px;
    }

    .toc-mobile-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* =========================================================
   ARTICLE / READING LAYOUT
========================================================= */
.Heading_1 {
    width: 100%;
    max-width: 85ch;
    margin: 0 auto;
    padding: 0 1.25rem 3rem; /* remove top padding */
    text-align: left;
    overflow: hidden;
}

/* -------------------------
   HEADINGS
-------------------------- */
.Heading_1 h1 {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-align: center;
    position: relative;
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-top: 0; /* important */
    padding-bottom: 1.2rem;
}

.Heading_1 h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 170px;
    height: 5px;
    background: linear-gradient(to right, transparent, var(--accent-primary), transparent);
    border-radius: 2px;
    opacity: 0.9;
}

.Heading_1 h2 {
    font-size: clamp(1.5rem, 2.5vw, 1.8rem);
    font-weight: 700;
    position: relative;
    text-align: center;
    padding-top: 2.2rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.Heading_1 h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--accent-primary), transparent);
    opacity: 0.9;
    border-radius: 2px;
}

.Heading_1 h3 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-top: 2rem;
    margin-bottom: 0.6rem;
    padding-top: 10px;
    position: relative;
    padding-left: 1rem;
}

.Heading_1 h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 4px;
    height: 1.38rem;
    background: var(--accent-primary);
    border-radius: 2px;
}

.Heading_1 h4 {
    color: var(--accent-primary);
    font-size: 1.17rem;
}

/* -------------------------
   PARAGRAPHS
-------------------------- */
.Heading_1 p {
    font-size: 1.15rem;        /* ~17px, responsive base */
    font-weight: 500;
    line-height: 1.8;         /* 🔥 key for readability */
    margin-bottom: 1.4rem;
    max-width: 65ch;           /* keeps lines readable */
    background: transparent;
    padding: 0;
    border-radius: 0;
}

/* -------------------------
   OVERVIEW LIST
-------------------------- */
.spec-list {
    padding-left: 1.2rem;
}

.spec-list li {
    font-size: 1.25rem;
    font-weight: 500;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 8px;
}

.spec-list li strong {
    min-width: 200px; /* 👈 controls alignment point */
    font-weight: 700;
}

.spec-list li span {
    flex: 1;
}

/* -------------------------
   REGULAR LISTS
-------------------------- */
.Heading_1 ul,
.Heading_1 ol {
    font-size: 1.15rem; 
    font-weight: 500;
    margin: 1.2rem 0 1.6rem 1.4rem;
    list-style: none;
    padding-left: 0;
}

/* List items */
.Heading_1 li {
    position: relative;
    margin-bottom: 0.6rem;
    padding-left: 1.6rem;
    line-height: 1.7;
}

.Heading_1 ul > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
}

/* Nested lists */
.Heading_1 li ul,
.Heading_1 li ol {
    margin-top: 0.6rem;
    padding-left: 1.2rem;
}

.Heading_1 li ul li {
    font-size: 0.98em;
    font-weight: 450;
    opacity: 0.9;
    padding-left: 1.4rem;
}

.Heading_1 li ul li::before {
    width: 6px;
    height: 6px;
    background: rgba(255, 156, 0, 0.7);
}

/* -------------------------
   CONSISTENT VERTICAL RHYTHM
-------------------------- */
.Heading_1 > * + * {
    margin-top: 0.6rem;
}

/* -------------------------
   ARTICLE TABLE (CENTERED + GRID STYLE)
-------------------------- */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2.5rem 0;
    font-size: 1.05rem;
    line-height: 1.6;
    border: 2px solid var(--divider-color); /* outer border */
    border-radius: 12px;
    overflow: hidden;
    background: var(--white-muted);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    table-layout: fixed;
}

/* Header */
thead th {
    padding: 14px;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
    background: var(--accent-primary);
    border: 1px solid var(--divider-color);
    color: #000;
}

/* Base cells */
th, td {
    padding: 13px 14px;
    border: 1px solid var(--divider-color);
    text-align: center;                    
    vertical-align: middle;
    font-weight: 500;
}
/* -------------------------
   HIERARCHY (MERGED CELLS)
-------------------------- */

/* LEFT GROUP LABEL (rowspan) */
tbody th[rowspan] {
    font-size: 1.15rem;
    font-weight: 700;
    background: var(--accent-secondary); /* 🔥 secondary accent */
    color: #000;
}

tbody th {
    font-size: 1.15rem;
    font-weight: 700;
    background: var(--accent-secondary); /* 🔥 secondary accent */
    color: #000;
}

/* FULL-WIDTH LABEL ROWS (colspan) */
tbody th[colspan="2"] {
    font-weight: 700;
    background: var(--accent-secondary); /* 🔥 same accent for consistency */
}

/* -------------------------
   VISUAL POLISH
-------------------------- */

/* Subtle zebra for readability */
tbody tr:nth-child(even) td {
    background: rgba(0,0,0,0.05);
}

/* Numbered list inside tables */
.table-list {
    list-style: none;          /* remove default numbers */
    counter-reset: item;
    padding-left: 0;
    margin: 0;
    text-align: left;
}

/* Each item */
.table-list li {
    counter-increment: item;
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.7rem;
    line-height: 1.45;
    font-size: 1.05rem;
}

/* Custom number */
.table-list li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 600;
    color: var(--accent-primary);
}

/* =========================================================
   FOOTER (UPDATED)
========================================================= */

.site-footer {
    background: #0f0f0f;
    color: rgba(255,255,255,0.85);
    padding: 70px 20px 25px;
    margin-top: 80px;
}

/* container layout */
.footer-container {
    max-width: 1300px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 2fr 1fr 2.5fr;
    gap: 45px;
}

/* =========================================================
   BRAND
========================================================= */

.footer-brand h2 {
    color: #ffffff;
    font-size: 1.9rem;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    max-width: 350px;
    font-weight: 600;
}

/* =========================================================
   LINKS
========================================================= */

.footer-links h4 {
    color: white;
    margin-bottom: 14px;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
    font-weight: 800;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    margin-bottom: 9px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-primary);
    transform: translateX(3px);
}

/* =========================================================
   NOTE / LEGAL SECTION
========================================================= */

.footer-note h4 {
    color: white;
    margin-bottom: 14px;
    font-size: 1.1rem;
    font-weight: 800;
}

.footer-note p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.7);
}

/* inline link inside note */
.footer-note a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
}

.footer-note a:hover {
    text-decoration: underline;
}

/* =========================================================
   BOTTOM BAR
========================================================= */

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 45px;
    padding-top: 18px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media screen and (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
}

@media screen and (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer-brand p {
        max-width: 100%;
    }
}
