@font-face {
    font-family: "League Spartan";
    src: url("assets/fonts/LeagueSpartan-Regular.ttf");
}

@font-face {
    font-family: "League Spartan";
    src: url("assets/fonts/LeagueSpartan-SemiBold.ttf");
    font-weight: 600;
}

:root {
    --bg: #252525;
    --panel: #303030;
    --text: #f2f2f2;
    --muted: #b8b8b8;
    --accent: #ff6600;
    --line: #4b4b4b;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "League Spartan", system-ui, sans-serif;
    line-height: 1.45;
}

a {
    color: inherit;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 5vw;
    border-bottom: 1px solid var(--line);
}

.brand {
    text-decoration: none;
    font-weight: 600;
    letter-spacing: .16em;
}

nav {
    display: flex;
    gap: 1.5rem;
}

nav a {
    text-decoration: none;
    color: var(--muted);
}

.site-header nav .current {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: .3em;
    cursor: default;
}

main {
    max-width: 1180px;
    margin: auto;
}

section {
    padding: 7rem 5vw;
}

.hero {
    min-height: 72vh;
    display: grid;
    align-content: center;
}

.hero.compact {
    min-height: 36vh;
}

.eyebrow {
    color: var(--accent);
    font-weight: 600;
    letter-spacing: .18em;
    font-size: .82rem;
}

h1,
h2 {
    line-height: 1.02;
    margin: .6rem 0 1.2rem;
}

h1 {
    font-size: clamp(3rem, 7vw, 6.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 4rem);
}

p {
    max-width: 720px;
    color: var(--muted);
    font-size: 1.08rem;
}

.hero-copy {
    font-size: 1.3rem;
}

.button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: .9rem 1.2rem;
    background: var(--accent);
    color: #111;
    text-decoration: none;
    font-weight: 600;
}

.button.secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line);
}

.capabilities {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    padding: 0;
}

.capabilities article {
    background: var(--panel);
    padding: 2rem;
    min-height: 240px;
}

.capabilities h2 {
    font-size: 1.25rem;
}

.project {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    background: #1d1d1d;
}

.project-facts {
    border-left: 1px solid var(--line);
    padding-left: 2rem;
}

.project-facts div {
    display: grid;
    gap: .3rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}

.project-facts span {
    color: var(--muted);
}

.project-facts strong {
    color: var(--accent);
}

[data-block-id="FN-020"] aside strong {
    color: var(--accent);
}

.field-notes-teaser {
    background: var(--panel);
}

.about {
    max-width: 900px;
}

.contact {
    border-top: 1px solid var(--line);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    padding: 2rem 5vw;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .9rem;
}

.bottom-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 2rem 5vw;
    border-top: 1px solid var(--line);
}

.bottom-nav a {
    text-decoration: none;
    color: var(--muted);
}

.bottom-nav a:hover {
    color: var(--text);
    text-decoration: underline;
}

.bottom-nav .current {
    color: #6f6f6f;
    cursor: default;
}

.notes-list {
    display: grid;
    gap: 2rem;
}

.note {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--line);
}

.note:last-child {
    border-bottom: 0;
}

.thumb {
    height: 190px;
    background: linear-gradient(135deg, #333, #151515);
    border: 1px solid var(--line);
}

.thumb.evidence {
    height: auto;
    min-height: 190px;
    padding: 1.1rem 1.1rem;
    font-family: ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
    display: grid;
    gap: .6rem;
    align-content: start;
}

.evidence-headline {
    margin: 0;
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 600;
}

.evidence-lines {
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.5;
    border-top: 1px solid var(--line);
    padding-top: .45rem;
}

.evidence-source {
    color: var(--muted);
    font-size: .85rem;
    letter-spacing: .08em;
}

.evidence-viz {
    display: grid;
    gap: .35rem;
    border-top: 1px solid var(--line);
    padding-top: .6rem;
}

.bar-row {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: .5rem;
    align-items: center;
    font-size: .74rem;
    color: var(--muted);
}

.bar-track {
    display: block;
    height: 10px;
    background: #1d1d1d;
    border: 1px solid var(--line);
}

.bar-fill {
    display: block;
    height: 100%;
    background: var(--accent);
}

.evidence-spark {
    margin: 0;
    font-size: .95rem;
    color: var(--text);
    letter-spacing: .18em;
}

.evidence-spark .spark-glyphs {
    color: var(--accent);
}

.about h3 {
    color: var(--accent);
    font-size: 1rem;
    letter-spacing: .14em;
    margin: 2rem 0 .25rem;
}

.photo-float {
    max-width: 320px;
    margin: 6px 0 24px 28px;
    border: 1px solid var(--line);
    background: var(--panel);
    padding: .75rem;
}

.photo-float.right {
    float: right;
}

.photo-float.left {
    float: left;
    margin: 6px 28px 24px 0;
}

.photo-float img {
    display: block;
    width: 100%;
    height: auto;
}

.photo-float figcaption {
    color: var(--muted);
    font-size: .85rem;
    padding-top: .6rem;
}

.note .tag {
    color: var(--accent);
    font-size: .82rem;
    letter-spacing: .18em;
    font-weight: 600;
}

.note h2 {
    font-size: 1.9rem;
    margin: .5rem 0 .75rem;
}

.note p {
    font-size: 1.08rem;
    line-height: 1.5;
    max-width: 700px;
}

.note .read {
    color: var(--accent);
    letter-spacing: .1em;
    font-weight: 600;
    font-size: .85rem;
    margin-top: 1rem;
}

a.read {
    text-decoration: none;
}

a.read:hover {
    text-decoration: underline;
}

.article-brief,
.article-draft {
    max-width: 900px;
}

.article-body {
    max-width: 900px;
}

.article-body h2 {
    font-size: 1.6rem;
    margin-top: 2.5rem;
    clear: both;
}

.pull-quote {
    float: right;
    max-width: 320px;
    margin: 6px 0 24px 28px;
    padding: 22px 24px;
    border-left: 3px solid var(--accent);
    background: var(--panel);
    font-size: 1.4rem;
    line-height: 1.4;
    color: var(--text);
    text-align: center;
}

.pull-quote::before {
    content: "\201C";
    font-size: 2em;
    line-height: 0;
    vertical-align: -0.28em;
    color: var(--accent);
    margin-right: 6px;
}

.pull-quote::after {
    content: "\201D";
    font-size: 2em;
    line-height: 0;
    vertical-align: -0.28em;
    color: var(--accent);
    margin-left: 6px;
}

.pull-quote.left {
    float: left;
    margin: 6px 28px 24px 0;
    border-left: 0;
    border-right: 3px solid var(--accent);
}

.article-brief h2,
.article-draft h2 {
    font-size: 1.6rem;
    margin-top: 2.5rem;
}

.article-brief ul {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.6;
    max-width: 720px;
}

.article-draft {
    border: 1px dashed var(--line);
    padding: 2rem;
    margin-top: 3rem;
}

.service {
    max-width: 900px;
    border-bottom: 1px solid var(--line);
}

.service:last-of-type {
    border-bottom: 0;
}

.service a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.service a:hover {
    text-decoration: underline;
}

.service-keywords {
    font-family: ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
    font-size: .95rem;
    color: #d0d0d0;
}

.engagement {
    max-width: 900px;
}

.engagement article {
    border-bottom: 1px solid var(--line);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.engagement h3 {
    font-size: 1.4rem;
    margin-bottom: .5rem;
}

.contact-form-section {
    max-width: 900px;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-form label {
    display: grid;
    gap: .5rem;
    font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    font: inherit;
    color: var(--text);
    background: var(--panel);
    border: 1px solid var(--line);
    padding: .8rem 1rem;
    width: 100%;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--accent);
    border-color: var(--accent);
}

.contact-form .honeypot {
    position: absolute;
    left: -9999px;
    visibility: hidden;
}

.form-note {
    font-size: .95rem;
}

.form-status {
    color: var(--accent);
    font-weight: 600;
}

.form-status:empty {
    display: none;
}

.contact-form button:disabled {
    opacity: .6;
}

.capabilities article a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
}

.choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    padding: 0;
}

.choice {
    background: var(--panel);
    padding: 2.5rem;
    text-decoration: none;
    display: grid;
    gap: .5rem;
    align-content: start;
}

.choice h2 {
    font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.choice-cta {
    color: var(--accent);
    font-weight: 600;
    letter-spacing: .1em;
    margin-top: 1rem;
}

.contact-form input[type="file"] {
    padding: .6rem 0;
    background: transparent;
    border: 0;
}

@media (max-width: 800px) {
    .site-header {
        align-items: flex-start;
        gap: 1rem;
        flex-direction: column;
    }

    nav {
        flex-wrap: wrap;
    }

    .site-header nav {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .site-header nav a,
    .site-header nav .current {
        padding: .8rem 0;
        border-top: 1px solid var(--line);
    }

    .capabilities,
    .project,
    .choices,
    .note {
        grid-template-columns: 1fr;
    }

    .photo-float.left,
    .photo-float.right {
        float: none;
        max-width: 100%;
        margin: 1rem 0;
    }

    .project-facts {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: 1rem 0 0;
    }

    .thumb {
        overflow-x: auto;
    }

    .evidence-spark {
        letter-spacing: .08em;
        font-size: .85rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 4rem 5vw;
    }

    h1 {
        font-size: clamp(2.4rem, 11vw, 3rem);
    }

    .hero {
        min-height: 60vh;
    }

    .hero.compact {
        min-height: 30vh;
    }

    .button {
        display: block;
        text-align: center;
    }
}
