:root {
    --bg: #f4f4f2;
    --surface: #ffffff;
    --surface-soft: #eeeeeb;
    --text: #242424;
    --muted: #66615d;
    --line: rgba(36, 36, 36, 0.16);
    --red: #d71920;
    --red-dark: #a90f16;
    --charcoal: #252525;
    --charcoal-soft: #333333;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --max: 1160px;
    --heading: "Arial Black", "Bahnschrift", "Arial Narrow Bold", Impact, sans-serif;
    --body: Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0 0 1rem;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.02;
    letter-spacing: 0;
    overflow-wrap: break-word;
}

h1,
h2 {
    font-family: var(--heading);
    font-weight: 900;
    text-transform: uppercase;
}

h1 {
    font-size: 4rem;
    max-width: 900px;
}

h2 {
    font-size: 2.6rem;
}

h3 {
    font-size: 1.22rem;
}

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px;
}

.narrow {
    max-width: 860px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 12px;
    background: var(--red);
    color: #fff;
    padding: 0.7rem 1rem;
    border-radius: var(--radius);
    z-index: 100;
}

.skip-link:focus {
    left: 12px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-top: 6px solid var(--red);
    border-bottom: 1px solid var(--line);
}

.site-header.compact {
    position: static;
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.brand span {
    min-width: 0;
}

.brand-logo {
    width: 88px;
    height: auto;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-family: var(--heading);
    color: var(--red);
    font-size: 1.55rem;
    line-height: 1;
    letter-spacing: 0;
}

.brand small {
    color: var(--muted);
    font-size: 0.82rem;
    margin-top: 0.15rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.94rem;
    color: var(--charcoal);
    font-weight: 700;
}

.main-nav a {
    padding: 0.65rem 0.55rem;
    border-bottom: 3px solid transparent;
}

.main-nav a:hover {
    color: var(--red);
    border-bottom-color: var(--red);
}

.nav-cta {
    color: #fff !important;
    background: var(--red);
    border-bottom: 0 !important;
    padding: 0.7rem 1rem !important;
    margin-left: 0.25rem;
    border-radius: var(--radius);
}

.nav-cta:hover {
    background: var(--red-dark);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: var(--radius);
    padding: 10px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--red);
    margin: 5px 0;
}

.section {
    padding: 92px 0;
}

.section-soft {
    background: var(--surface-soft);
}

.section-dark {
    background: var(--charcoal);
    color: #fff;
}

.hero {
    padding: 86px 0 76px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
    gap: 4rem;
    align-items: center;
}

.hero-copy,
.hero-card,
.section-heading,
.timeline-item,
.service-card,
.split-panel > div,
.article-copy,
.article-photos,
.gallery-grid,
.contact-copy,
.form-card,
.map-card,
.carousel,
.project-slide {
    min-width: 0;
}

.eyebrow {
    color: var(--red);
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0;
    font-weight: 900;
    margin-bottom: 1rem;
}

.section-dark .eyebrow,
.inverted .eyebrow {
    color: #ff6b70;
}

.hero-lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 720px;
    margin: 1.4rem 0 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    border: 0;
    border-radius: var(--radius);
    padding: 0.85rem 1.2rem;
    font-weight: 900;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.button-primary {
    background: var(--red);
    color: #fff;
}

.button-primary:hover {
    background: var(--red-dark);
}

.button-ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
}

.button-ghost:hover {
    background: #fff;
    color: var(--charcoal);
}

.button.full {
    width: 100%;
}

.hero-card,
.article-photos figure,
.gallery-card,
.project-slide,
.form-card,
.map-card {
    border-radius: var(--radius);
}

.hero-card {
    margin: 0;
    background: #fff;
    color: var(--text);
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow);
}

.hero-card img {
    width: 100%;
    border-radius: 4px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.hero-card figcaption {
    color: var(--muted);
    font-size: 0.92rem;
    padding: 0.85rem 0.25rem 0.15rem;
}

.stats-strip {
    background: var(--surface);
    border-block: 1px solid var(--line);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stats-grid div {
    padding: 1.35rem 1.2rem;
    border-right: 1px solid var(--line);
}

.stats-grid div:last-child {
    border-right: 0;
}

.stats-grid strong,
.stats-grid span {
    display: block;
}

.stats-grid strong {
    font-family: var(--heading);
    color: var(--red);
    font-size: 1.9rem;
    line-height: 1;
    letter-spacing: 0;
}

.stats-grid span {
    color: var(--muted);
    font-size: 0.92rem;
    margin-top: 0.35rem;
}

.two-columns {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 5rem;
}

.align-start {
    align-items: start;
}

.sticky-heading {
    position: sticky;
    top: 120px;
}

.section-heading p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 640px;
    margin-top: 1rem;
}

.section-heading.center {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 3rem;
}

.section-heading.center p {
    margin-left: auto;
    margin-right: auto;
}

.inverted p {
    color: rgba(255, 255, 255, 0.76);
}

.timeline {
    display: grid;
    gap: 1rem;
}

.timeline-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 5px solid var(--red);
    border-radius: var(--radius);
    padding: 1.45rem;
}

.timeline-item span {
    display: inline-flex;
    color: var(--red);
    font-weight: 900;
    margin-bottom: 0.55rem;
}

.timeline-item p {
    color: var(--muted);
    margin: 0.75rem 0 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 5px solid var(--red);
    border-radius: var(--radius);
    padding: 1.35rem;
    min-height: 270px;
    display: flex;
    flex-direction: column;
}

.card-number {
    color: var(--red);
    font-family: var(--heading);
    font-size: 2rem;
    line-height: 1;
    margin-bottom: auto;
}

.service-card h3 {
    margin-top: 2rem;
}

.service-card p {
    color: var(--muted);
    margin: 0.75rem 0 0;
}

.service-area {
    margin-top: 1.2rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 5px solid var(--red);
    border-radius: var(--radius);
    padding: 1.25rem 1.35rem;
}

.service-area p {
    color: var(--muted);
    margin: 0.55rem 0 0;
}

.split-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 2.4rem;
    align-items: start;
}

.split-panel > div:first-child p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.05rem;
    margin-top: 1rem;
}

.method-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.method-list div {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.15rem;
}

.method-list p {
    color: var(--muted);
    margin: 0.65rem 0 0;
}

.article-section {
    background: var(--surface);
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.85fr);
    gap: 3rem;
    align-items: start;
}

.article-copy {
    columns: 2 280px;
    column-gap: 2rem;
}

.article-copy .eyebrow,
.article-copy h2 {
    break-after: avoid;
    column-span: all;
}

.article-copy p {
    color: var(--muted);
}

.article-copy .article-source {
    column-span: all;
    margin-top: 0.85rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
    color: var(--red-dark);
    font-weight: 900;
}

.article-photos {
    display: grid;
    gap: 1rem;
}

.article-photos figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface-soft);
}

.article-photos img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    grid-template-rows: repeat(2, minmax(240px, auto));
    gap: 1rem;
}

.gallery-card {
    margin: 0;
    background: #fff;
    color: var(--text);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.gallery-card.large {
    grid-row: span 2;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.gallery-card.large img {
    min-height: 580px;
}

.gallery-card figcaption {
    padding: 0.9rem 1rem 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.projects-section {
    background: var(--surface-soft);
}

.carousel {
    position: relative;
}

.carousel-track {
    min-height: 540px;
}

.project-slide {
    display: none;
    margin: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    overflow: hidden;
}

.project-slide.is-active {
    display: block;
}

.project-slide img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    background: #ddd;
}

.project-slide figcaption {
    padding: 1rem 1.2rem;
    color: var(--muted);
    font-weight: 700;
}

.carousel-btn {
    position: absolute;
    top: 220px;
    z-index: 2;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: var(--radius);
    background: var(--red);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.carousel-btn:hover {
    background: var(--red-dark);
}

.carousel-btn.prev {
    left: 12px;
}

.carousel-btn.next {
    right: 12px;
}

.contact-section {
    background: var(--bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
    gap: 3.2rem;
    align-items: start;
}

.contact-copy p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 560px;
    margin-top: 1rem;
}

.contact-details {
    display: grid;
    gap: 0.65rem;
    margin-top: 2rem;
    color: var(--muted);
}

.contact-details a {
    color: var(--text);
    font-weight: 900;
}

.map-card {
    margin-top: 1.6rem;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #ddd;
}

.map-card iframe {
    display: block;
    width: 100%;
    height: 340px;
}

.form-card {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row.two {
    grid-template-columns: repeat(2, 1fr);
}

.field {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.form-row .field {
    margin-bottom: 0;
}

label {
    display: grid;
    gap: 0.45rem;
    color: var(--text);
    font-weight: 900;
    font-size: 0.95rem;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: var(--radius);
    padding: 0.9rem 1rem;
    color: var(--text);
    font: inherit;
    outline: none;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.14);
}

.invalid-feedback {
    display: none;
    width: 100%;
    color: #dc3545;
    font-size: 0.875rem;
    font-weight: 800;
    margin-top: 0.2rem;
}

.field.is-invalid-field .invalid-feedback,
.privacy-field.is-invalid-field .invalid-feedback {
    display: block;
}

.form-control.is-invalid,
.form-select.is-invalid,
.form-check-input.is-invalid {
    border-color: #dc3545;
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.16);
}

.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-weight: 400;
    color: var(--muted);
    margin: 0;
    font-size: 0.92rem;
}

.privacy-check input {
    width: 18px;
    min-width: 18px;
    margin-top: 0.25rem;
}

.privacy-field {
    margin: 1rem 0 1.2rem;
}

.privacy-field .invalid-feedback {
    margin-left: 1.8rem;
}

.privacy-check a {
    color: var(--red-dark);
    font-weight: 900;
    text-decoration: underline;
}

.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.alert {
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1rem;
}

.alert-success {
    background: #edf7ed;
    border: 1px solid #bde5bd;
    color: #225c22;
}

.alert-error {
    background: #fff0f0;
    border: 1px solid #f0b6b6;
    color: #6b2424;
}

.alert ul {
    margin: 0.5rem 0 0;
    padding-left: 1.2rem;
}

.site-footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.78);
    padding: 2.4rem 0;
    border-top: 6px solid var(--red);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 0.85fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-brand,
.footer-column {
    display: grid;
    gap: 0.45rem;
    align-content: start;
    min-width: 0;
}

.footer-contact {
    font-style: normal;
}

.footer-logo {
    width: 126px;
    background: #fff;
    padding: 0.35rem;
    border-radius: 4px;
    margin-bottom: 0.6rem;
}

.site-footer strong {
    color: #fff;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.site-footer p,
.site-footer span,
.site-footer a {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

.site-footer a:hover {
    color: #fff;
}

.policy-page h1 {
    font-size: 3.6rem;
    margin-bottom: 1.25rem;
}

.policy-page h2 {
    font-family: var(--body);
    text-transform: none;
    font-size: 1.45rem;
    margin: 2rem 0 0.65rem;
}

.policy-page p,
.policy-page li {
    color: var(--muted);
}

.policy-page a:not(.button) {
    color: var(--red-dark);
    font-weight: 900;
    text-decoration: underline;
}

@media (max-width: 980px) {
    h1 {
        font-size: 3.4rem;
    }

    h2,
    .policy-page h1 {
        font-size: 2.3rem;
    }

    .hero-grid,
    .two-columns,
    .split-panel,
    .article-layout,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .sticky-heading {
        position: static;
    }

    .stats-grid,
    .card-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .method-list {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-card.large {
        grid-row: auto;
    }

    .gallery-card.large img,
    .gallery-card img {
        min-height: 320px;
        height: auto;
    }
}

@media (max-width: 760px) {
    h1 {
        font-size: 2.3rem;
    }

    h2,
    .policy-page h1 {
        font-size: 1.9rem;
    }

    .container {
        padding: 0 14px;
    }

    .header-inner {
        min-height: 78px;
    }

    .brand-logo {
        width: 70px;
    }

    .brand strong {
        font-size: 1.2rem;
    }

    .brand small {
        max-width: 150px;
        font-size: 0.74rem;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        left: 14px;
        right: 14px;
        top: 86px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: var(--surface);
        border: 1px solid var(--line);
        border-top: 4px solid var(--red);
        border-radius: var(--radius);
        padding: 0.8rem;
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav.always-visible {
        position: static;
        display: flex;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0;
    }

    .main-nav a {
        border-bottom: 0;
    }

    .nav-cta {
        margin-left: 0;
    }

    .section {
        padding: 68px 0;
    }

    .hero {
        padding: 62px 0;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .button {
        width: 100%;
    }

    .stats-grid,
    .card-grid,
    .form-row.two,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .stats-grid div:last-child {
        border-bottom: 0;
    }

    .service-card {
        min-height: auto;
    }

    .article-copy {
        columns: 1;
    }

    .project-slide img {
        height: 300px;
    }

    .carousel-track {
        min-height: 380px;
    }

    .carousel-btn {
        top: 130px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 420px) {
    h1 {
        font-size: 1.95rem;
    }

    .hero-lead {
        font-size: 1.05rem;
    }

    .brand-logo {
        width: 62px;
    }

    .brand strong {
        font-size: 1.05rem;
    }
}
