:root {
    --black: #0a0d0f;
    --graphite: #151a1e;
    --steel: #252d32;
    --line: #38444b;
    --paper: #e9edef;
    --muted: #9ca8ae;
    --red: #b93a31;
    --amber: #d59845;
    --blue: #7ea9ba;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--paper);
    background:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
        radial-gradient(circle at 75% 10%, rgba(185,58,49,.14), transparent 32rem),
        #0a0d0f;
    background-size: 42px 42px, 42px 42px, auto, auto;
    font-family: "Helvetica Neue", Arial, sans-serif;
    line-height: 1.72;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background: rgba(10,13,15,.94);
    backdrop-filter: blur(18px);
}

.header-inner,
.shell,
.footer-inner {
    width: min(1220px, calc(100% - 38px));
    margin: 0 auto;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 78px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    color: white;
    font-weight: 900;
    letter-spacing: .11em;
    text-decoration: none;
    text-transform: uppercase;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid #606d74;
    background: linear-gradient(135deg, #2f373c, #0e1214);
    color: var(--amber);
    font-family: Georgia, serif;
    font-size: 1.25rem;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-list a {
    display: block;
    padding: 9px 12px;
    border: 1px solid transparent;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
    border-color: var(--line);
    color: white;
    background: #171d21;
}

.shell {
    padding: 58px 0 90px;
}

.hero {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 48px;
    align-items: center;
    min-height: 650px;
}

.eyebrow {
    margin: 0 0 15px;
    color: var(--amber);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .2em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.04;
}

h1 {
    margin-bottom: 24px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.5rem, 8vw, 7.5rem);
    font-weight: 400;
    letter-spacing: -.06em;
}

h2 {
    margin-bottom: 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 5vw, 4.3rem);
    font-weight: 400;
    letter-spacing: -.045em;
}

h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
    letter-spacing: -.02em;
}

.lead {
    max-width: 760px;
    color: #c2cbd0;
    font-size: 1.12rem;
}

.hero-image,
.feature-image {
    overflow: hidden;
    border: 1px solid #4a565d;
    background: #111619;
    box-shadow: 0 35px 90px rgba(0,0,0,.45);
}

.hero-image {
    position: relative;
}

.hero-image::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(to top, rgba(4,6,7,.56), transparent 55%);
}

.hero-image img,
.feature-image img {
    display: block;
    width: 100%;
    height: auto;
}

.data-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 35px;
    border: 1px solid var(--line);
    background: var(--line);
}

.data-strip div {
    padding: 20px;
    background: #111619;
}

.data-strip strong {
    display: block;
    color: white;
    font-size: 1.45rem;
}

.data-strip span {
    color: var(--muted);
    font-size: .76rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.section-head {
    max-width: 860px;
    margin: 76px 0 30px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.panel {
    grid-column: span 6;
    padding: clamp(26px, 4vw, 44px);
    border: 1px solid var(--line);
    background: linear-gradient(145deg, #151b1f, #0e1214);
}

.panel.wide {
    grid-column: span 12;
}

.panel.red {
    border-top: 3px solid var(--red);
}

.panel.amber {
    border-top: 3px solid var(--amber);
}

.panel.blue {
    border-top: 3px solid var(--blue);
}

.panel p:last-child {
    margin-bottom: 0;
}

.measure {
    display: inline-block;
    margin-bottom: 18px;
    padding: 5px 8px;
    border: 1px solid #59666d;
    color: #cdd6da;
    font-family: "Courier New", monospace;
    font-size: .74rem;
    letter-spacing: .07em;
}

.article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 42px;
    align-items: start;
}

.article-body {
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid var(--line);
    background: #111619;
}

.article-body p:first-of-type::first-letter {
    float: left;
    margin: 8px 11px 0 0;
    color: var(--red);
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: .68;
}

.sidebar {
    position: sticky;
    top: 104px;
    padding: 25px;
    border: 1px solid var(--line);
    background: #151b1f;
}

.sidebar ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.comparison-lab {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 24px;
    margin-top: 38px;
}

.controls,
.output {
    padding: 28px;
    border: 1px solid var(--line);
    background: #111619;
}

.controls button {
    width: 100%;
    margin: 0 0 9px;
    padding: 14px;
    border: 1px solid #465158;
    color: #aeb9be;
    background: #191f23;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.controls button:hover,
.controls button.active {
    border-color: var(--amber);
    color: white;
    background: #242b30;
}

.output {
    background: linear-gradient(145deg, rgba(185,58,49,.13), rgba(126,169,186,.08));
}

.output strong {
    color: var(--amber);
}

.site-footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    background: #07090a;
}

.footer-inner {
    padding: 30px 0 42px;
}

.footer-inner ul {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

@media (max-width: 850px) {
    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 0;
    }

    .hero,
    .article,
    .comparison-lab {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .panel {
        grid-column: span 12;
    }

    .sidebar {
        position: static;
    }
}

@media (max-width: 580px) {
    .data-strip {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 3.4rem;
    }
}
