@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --ink: #201f1d;
    --dark-grey: #2c2c2c;
    --paper: #ffffff;
    --canvas: #f4f5f7;
    --primary-red: #c8102e;
    --primary-red-deep: #96001b;
    --primary-yellow: #f8b400;
    --card-bg: #ffffff;
    --soft-grey: #f2f4f7;
    --border: rgba(0, 0, 0, 0.08);
    --night: #0c0c0c;
    --font-display: 'Oswald', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    margin: 0;
    line-height: 1.7;
    color: var(--ink);
    background-color: var(--paper);
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin: 0;
}

/* ============ NAV ============ */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 8%;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 3px solid var(--ink);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.03em;
}

.logo span {
    color: var(--primary-red);
}

nav div a {
    text-decoration: none;
    color: var(--ink);
    margin-left: 28px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

nav div a:hover {
    color: var(--primary-red);
    border-bottom-color: var(--primary-yellow);
}

/* ============ HERO — blueprint grid ============ */
.hero {
    position: relative;
    background-color: var(--ink);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 42px 42px;
    color: white;
    padding: 0;
    text-align: left;
    overflow: hidden;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 8% 0;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: end;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--primary-yellow);
    margin-bottom: 18px;
}

.hero-eyebrow::before {
    content: '';
    width: 26px;
    height: 2px;
    background: var(--primary-yellow);
}

.hero h1 {
    font-size: clamp(2.6rem, 5.4vw, 4.4rem);
    line-height: 0.98;
    font-weight: 700;
}

.hero h1 em {
    font-style: normal;
    color: var(--primary-red);
}

.hero p.hero-lede {
    font-family: var(--font-body);
    text-transform: none;
    color: #d8d8d8;
    font-size: 1.05rem;
    max-width: 46ch;
    margin: 20px 0 28px;
}

.branch-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 46px;
}

.branch-tags span {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #e6e6e6;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 7px 14px;
    border-radius: 999px;
}

/* Nameplate stat plate — the signature element */
.spec-plate {
    position: relative;
    background: #17130f;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 34px 30px 26px;
    margin-bottom: 46px;
}

.spec-plate::before,
.spec-plate::after {
    content: '';
    position: absolute;
    width: 26px;
    height: 26px;
    border: 2px solid var(--primary-yellow);
}

.spec-plate::before {
    top: -9px;
    left: -9px;
    border-right: none;
    border-bottom: none;
}

.spec-plate::after {
    bottom: -9px;
    right: -9px;
    border-left: none;
    border-top: none;
}

.spec-plate-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--primary-yellow);
    margin-bottom: 20px;
}

.spec-plate-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.spec-plate-grid div {
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    padding: 0 14px;
}

.spec-plate-grid div:first-child {
    border-left: none;
    padding-left: 0;
}

.spec-plate-grid h3 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    color: white;
    margin: 0 0 6px;
}

.spec-plate-grid p {
    font-family: var(--font-body);
    text-transform: none;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    color: #a9a9a9;
    margin: 0;
}

/* Hazard divider — caution-tape strip, used once */
.hazard-divider {
    height: 12px;
    background: repeating-linear-gradient(135deg,
        var(--primary-yellow) 0 20px,
        var(--ink) 20px 40px);
}

/* ============ CONTENT WRAPPER ============ */
.container {
    padding: 80px 8%;
    max-width: 1200px;
    margin: auto;
}

/* ============ STORY — asymmetric split ============ */
.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
    width: 100%;
}

.about-image::before,
.about-image::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid var(--primary-red);
    z-index: 2;
}

.about-image::before {
    top: -12px;
    left: -12px;
    border-right: none;
    border-bottom: none;
}

.about-image::after {
    bottom: -12px;
    right: -12px;
    border-left: none;
    border-top: none;
}

.hero-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    border-radius: 0;
    box-shadow: none;
}

.about-text .section-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.about-text h2 {
    color: var(--ink);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 18px;
}

.about-text p {
    font-family: var(--font-body);
    color: #4a4a4a;
}

.highlight {
    border-left: 4px solid var(--primary-yellow);
    background: var(--canvas);
    padding: 18px 22px;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--ink);
    margin: 24px 0;
    font-size: 0.98rem;
}

/* ============ FEATURE CARDS — bento, consistent with dashboard system ============ */
.about-details {
    margin-top: 90px;
}

.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    gap: 20px;
    flex-wrap: wrap;
}

.section-heading-row h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    color: var(--ink);
}

.section-heading-row p {
    font-family: var(--font-body);
    text-transform: none;
    color: #6b6b6b;
    max-width: 42ch;
    margin: 0;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 4px;
    padding: 30px 28px;
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary-red);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-card h3 {
    margin-bottom: 14px;
    color: var(--ink);
    font-size: 1.15rem;
}

.feature-card p,
.feature-card li {
    font-family: var(--font-body);
    color: #545454;
    line-height: 1.8;
    font-size: 0.95rem;
}

.feature-card ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.feature-card ul li {
    margin-bottom: 10px;
    padding-left: 18px;
    position: relative;
}

.feature-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    background: var(--primary-yellow);
}

/* ============ MISSION / VISION ============ */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 90px;
}

.mission-box {
    position: relative;
    background: var(--ink);
    color: #eaeaea;
    padding: 40px 36px;
    border-left: 5px solid var(--primary-red);
}

.mission-box:nth-child(2) {
    border-left-color: var(--primary-yellow);
}

.mission-box .section-eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--primary-yellow);
    margin-bottom: 14px;
}

.mission-box:nth-child(2) .section-eyebrow {
    color: var(--primary-red);
}

.mission-box h3 {
    margin-bottom: 14px;
    color: white;
    font-size: 1.3rem;
}

.mission-box p {
    font-family: var(--font-body);
    color: #c6c6c6;
    line-height: 1.9;
}

/* ============ Stats strip (kept as compact ribbon under nav, referenced by hero) ============ */
.stats {
    display: none; /* stats now live in the hero spec-plate; kept out of flow */
}

/* ============ Footer-like Button ============ */
.cta-btn {
    display: inline-block;
    background: var(--primary-yellow);
    color: #101010;
    padding: 12px 34px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    margin-top: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(248, 180, 0, 0.25);
}

/* ============ FOOTER ============ */
.footer-section {
    background: linear-gradient(135deg, #080808 0%, #191919 100%);
    color: #f2f2f2;
    padding: 60px 8% 40px;
    margin-top: 0;
    border-top: 4px solid var(--primary-red);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column h4 {
    margin-bottom: 18px;
    font-size: 1rem;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.footer-column p,
.footer-column li {
    font-family: var(--font-body);
    color: #b8b8b8;
    font-size: 14px;
    line-height: 1.8;
}

.footer-column a {
    text-decoration: none;
    color: #d1d1d1;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--primary-yellow);
}

.footer-column li {
    margin-bottom: 8px;
    padding-left: 14px;
    position: relative;
}

.footer-column li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--primary-red);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-bottom {
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: #797979;
    font-size: 13px;
    font-family: var(--font-body);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

img {
    width: 100%;
    display: block;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        padding-top: 60px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin-bottom: 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    nav {
        padding: 16px 6%;
    }

    nav div a {
        margin-left: 16px;
        font-size: 0.75rem;
    }

    .container {
        padding: 56px 6%;
    }

    .spec-plate-grid {
        grid-template-columns: 1fr;
        row-gap: 18px;
    }

    .spec-plate-grid div {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
        padding-top: 14px;
    }

    .spec-plate-grid div:first-child {
        border-top: none;
        padding-top: 0;
    }

    .footer-section {
        padding: 40px 6% 30px;
    }
}