:root {
    --ink: #1c2023;
    --ink-2: #262b2f;
    --steel: #999998;
    --steel-light: #c7c7c6;
    --fog: #f1f1f0;
    --fog-2: #e4e4e3;
    --oxide: #feda00;
    --oxide-dark: #d9bc00;
    --oxide-text: #8a6d00;
    --signal: #feda00;
    --white: #f7f6f3;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--fog);
    color: var(--ink);
    font-family: "Inter", sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.display {
    font-family: "Barlow Condensed", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 0.95;
}

.mono {
    font-family: "IBM Plex Mono", monospace;
    letter-spacing: 0.02em;
}

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

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

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

:focus-visible {
    outline: 3px solid var(--signal);
    outline-offset: 2px;
}

/* ---------- corrugated profile signature (SVG pattern) ---------- */
.corrugated-divider {
    width: 100%;
    height: 28px;
    background-image: repeating-linear-gradient(
        -35deg,
        var(--oxide) 0px,
        var(--oxide) 3px,
        transparent 3px,
        transparent 34px
    );
    background-color: var(--ink);
    opacity: 0.9;
}

.corrugated-divider.light {
    background-color: var(--fog);
}

/* ---------- header ---------- */
header {
    background: var(--ink);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 3px solid var(--oxide);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    gap: 24px;
}

.logo {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 900;
    font-size: 22px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-plate {
    padding: 8px 14px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    line-height: 0;
}

.logo-plate img {
    display: block;
    height: 80px;
    width: auto;
}

.sub-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo span.sub {
    display: block;
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--steel-light);
    text-transform: none;
    font-weight: 500;
}

nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

nav a {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    opacity: 0.85;
}

nav a:hover {
    opacity: 1;
    color: var(--signal);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 18px;
}

.phone-mono {
    font-family: "IBM Plex Mono", monospace;
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
}

.phone-mono small {
    display: block;
    font-size: 10px;
    color: var(--steel-light);
    font-weight: 500;
}

.btn {
    display: inline-block;
    padding: 12px 22px;
    font-weight: 700;
    font-size: 14px;
    background: var(--oxide);
    color: var(--ink);
    border-radius: 2px;
    border: none;
    cursor: pointer;
    transition:
        background 0.15s ease,
        transform 0.15s ease;
    font-family: "Inter", sans-serif;
}

.btn:hover {
    background: var(--oxide-dark);
    transform: translateY(-1px);
}

.btn.ghost {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn.ghost:hover {
    background: var(--white);
    color: var(--ink);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 26px;
    cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
    background: var(--ink);
    color: var(--white);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
    min-height: 560px;
}

.hero-copy {
    padding: 80px 32px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 640px;
    justify-self: center;
}

.eyebrow {
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    color: var(--signal);
    letter-spacing: 0.12em;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--signal);
}

.hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 900;
    margin-bottom: 22px;
}

.hero h1 em {
    font-style: normal;
    color: var(--oxide);
}

.hero p.lede {
    font-size: 18px;
    color: #d7d4cc;
    max-width: 520px;
    margin-bottom: 34px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-facts {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    border-top: 1px solid #3a3f43;
    padding-top: 24px;
}

.hero-fact .num {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 900;
    font-size: 34px;
    color: var(--white);
}

.hero-fact .label {
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    color: var(--steel-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-panel {
    position: relative;
    overflow: hidden;
    background-image: url("images/hero-roof.jpg");
    background-size: cover;
    background-position: center;
    border-left: 3px solid var(--oxide);
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -35deg,
        transparent 0 40px,
        rgba(168, 64, 46, 0.14) 40px 43px
    );
}

.hero-panel .tag {
    position: absolute;
    bottom: 28px;
    left: 28px;
    right: 28px;
    background: rgba(28, 32, 35, 0.88);
    border: 1px solid var(--oxide);
    padding: 16px 18px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    color: var(--white);
}

.hero-panel .tag b {
    color: var(--signal);
}

/* ---------- trust strip ---------- */
.trust-strip {
    background: var(--white);
    border-bottom: 1px solid var(--fog-2);
    padding: 22px 0;
}

.trust-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: center;
    justify-content: space-between;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}

.trust-item .dot {
    width: 8px;
    height: 8px;
    background: var(--oxide);
    flex: none;
    transform: rotate(45deg);
}

/* ---------- section shell ---------- */
section {
    padding: 96px 0;
}

.section-head {
    max-width: 640px;
    margin-bottom: 56px;
}

.section-head .eyebrow {
    color: var(--oxide-text);
}

.process .section-head .eyebrow {
    color: var(--oxide);
}

.section-head h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
}

.section-head p {
    color: var(--steel);
    font-size: 16px;
    margin-top: 14px;
}

/* ---------- services ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--fog-2);
    border: 2px solid var(--ink);
}

.service-card {
    background: var(--white);
    padding: 32px 28px;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    transition: background 0.15s ease;
}

.service-card:hover {
    background: var(--fog);
}

.service-card .material {
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    color: var(--oxide-text);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.service-card h3 {
    font-size: 26px;
    font-weight: 700;
    margin-top: 4px;
}

.service-card p {
    font-size: 14px;
    color: var(--steel);
    flex: 1;
}

.service-card a.more {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    border-bottom: 2px solid var(--oxide);
    align-self: flex-start;
}

/* ---------- process ---------- */
.process {
    background: var(--ink);
    color: var(--white);
}

.process .section-head p {
    color: var(--steel-light);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    counter-reset: step;
}

.step {
    padding: 32px 28px 32px 0;
    border-left: 2px solid #3a3f43;
    padding-left: 28px;
    position: relative;
}

.step:first-child {
    border-left: none;
    padding-left: 0;
}

.step .step-num {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 900;
    font-size: 54px;
    color: var(--oxide);
    line-height: 1;
    margin-bottom: 12px;
}

.step h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step p {
    font-size: 14px;
    color: var(--steel-light);
}

/* ---------- regions ---------- */
.regions-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.region-tag {
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    padding: 10px 16px;
    border: 1.5px solid var(--ink);
    color: var(--ink);
    font-weight: 600;
}

/* ---------- testimonial ---------- */
.proof {
    background: var(--white);
    border-top: 1px solid var(--fog-2);
    border-bottom: 1px solid var(--fog-2);
}

.proof-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}

.quote-mark {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 100px;
    color: var(--oxide-text);
    line-height: 0.6;
    margin-bottom: 8px;
}

.proof blockquote {
    font-size: 26px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: 20px;
}

.proof cite {
    font-style: normal;
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    color: var(--steel);
}

.proof-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.proof-stat {
    border-left: 3px solid var(--oxide-text);
    padding-left: 16px;
}

.proof-stat .num {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 900;
    font-size: 40px;
}

.proof-stat .label {
    font-size: 13px;
    color: var(--steel);
}

/* ---------- CTA band ---------- */
.cta-band {
    background: var(--oxide);
    color: var(--ink);
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-inner h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    max-width: 560px;
}

.cta-inner .btn {
    background: var(--ink);
    color: var(--white);
}

.cta-inner .btn:hover {
    background: #000;
}

.cta-phone {
    font-family: "IBM Plex Mono", monospace;
    font-size: 22px;
    font-weight: 600;
}

.cta-phone small {
    display: block;
    font-size: 12px;
    opacity: 0.85;
}

/* ---------- footer ---------- */
footer {
    background: var(--ink);
    color: var(--steel-light);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-col h4 {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--white);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.footer-col p,
.footer-col a {
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
    color: var(--steel-light);
}

.footer-col a:hover {
    color: var(--signal);
}

.footer-bottom {
    border-top: 1px solid #33393e;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    font-family: "IBM Plex Mono", monospace;
}

.cert-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 16px;
}

.cert-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1) brightness(1.6);
    opacity: 0.75;
    transition:
        opacity 0.15s ease,
        filter 0.15s ease;
}

.cert-logo:hover {
    opacity: 1;
    filter: none;
}

/* ---------- shared cross-page components ---------- */
nav a.active {
    opacity: 1;
    color: var(--oxide);
    border-bottom: 2px solid var(--oxide);
    padding-bottom: 3px;
}

header .btn.ghost {
    white-space: nowrap;
}

.page-hero {
    background: var(--ink);
    color: var(--white);
    padding: 72px 0 56px;
    border-bottom: 3px solid var(--oxide);
}

.page-hero .eyebrow {
    color: var(--signal);
}

.page-hero h1 {
    font-size: clamp(38px, 5.5vw, 60px);
    font-weight: 900;
    max-width: 760px;
}

.page-hero p.lede {
    font-size: 17px;
    color: #d7d4cc;
    max-width: 600px;
    margin-top: 16px;
}

.breadcrumb {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    color: var(--steel-light);
    margin-bottom: 18px;
    letter-spacing: 0.05em;
}

.breadcrumb a {
    color: var(--steel-light);
}

.breadcrumb a:hover {
    color: var(--signal);
}

/* timeline (About) */
.timeline {
    display: flex;
    flex-direction: column;
}

.tl-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 28px;
    padding: 28px 0;
    border-top: 1px solid var(--fog-2);
}

.tl-row:first-child {
    border-top: none;
}

.tl-year {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 600;
    color: var(--oxide-text);
    font-size: 15px;
}

.tl-row h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.tl-row p {
    font-size: 14px;
    color: var(--steel);
    max-width: 560px;
}

/* credential cards (About) */
.cred-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--fog-2);
    border: 2px solid var(--ink);
}

.cred-card {
    background: var(--white);
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cred-card .code {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    color: var(--oxide-text);
    letter-spacing: 0.05em;
}

.cred-card h3 {
    font-size: 20px;
    font-weight: 700;
}

.cred-card p {
    font-size: 13px;
    color: var(--steel);
}

/* director profile (About) */
.profile-band {
    background: var(--white);
    border-top: 1px solid var(--fog-2);
    border-bottom: 1px solid var(--fog-2);
}

.profile-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: start;
}

.profile-avatar {
    width: 200px;
    height: 200px;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 900;
    font-size: 64px;
    color: var(--oxide);
    border: 3px solid var(--oxide);
}

.profile-grid h3 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 4px;
}

.profile-grid .role {
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    color: var(--oxide-text);
    margin-bottom: 14px;
    display: block;
}

.profile-grid p {
    font-size: 15px;
    color: var(--steel);
    max-width: 600px;
    margin-bottom: 10px;
}

/* value grid (About) */
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    border-left: 3px solid var(--oxide);
    padding-left: 20px;
}

.value-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 14px;
    color: var(--steel);
}

/* service detail rows (Services) */
.detail-row {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: center;
    padding: 64px 0;
    border-top: 1px solid var(--fog-2);
}

.detail-row:first-child {
    border-top: none;
    padding-top: 24px;
}

.detail-row.reverse .detail-copy {
    order: 2;
}

.detail-row.reverse .detail-panel {
    order: 1;
}

.detail-panel {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    background: repeating-linear-gradient(
        -35deg,
        #33393e 0 42px,
        #2a2f33 42px 84px
    );
    border-left: 3px solid var(--oxide);
}

.detail-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -35deg,
        transparent 0 40px,
        rgba(254, 218, 0, 0.1) 40px 43px
    );
}

.detail-panel .code-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    color: var(--signal);
    background: rgba(28, 32, 35, 0.85);
    padding: 6px 10px;
    border: 1px solid var(--oxide);
}

.detail-copy .material {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    color: var(--oxide-text);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.detail-copy h2 {
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 800;
    margin-bottom: 14px;
}

.detail-copy p {
    font-size: 15px;
    color: var(--steel);
    margin-bottom: 18px;
    max-width: 520px;
}

.detail-copy ul {
    list-style: none;
    margin-bottom: 22px;
}

.detail-copy ul li {
    font-size: 14px;
    color: var(--ink);
    padding: 8px 0;
    border-top: 1px solid var(--fog-2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-copy ul li:first-child {
    border-top: none;
}

.detail-copy ul li::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--oxide);
    flex: none;
    transform: rotate(45deg);
}

/* contact page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.contact-info h3 {
    font-size: 15px;
    font-family: "IBM Plex Mono", monospace;
    letter-spacing: 0.05em;
    color: var(--oxide-text);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.contact-info .block {
    margin-bottom: 32px;
}

.contact-info .big {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    font-size: 28px;
}

.contact-info p {
    font-size: 14px;
    color: var(--steel);
    margin-top: 4px;
}

.contact-form {
    background: var(--white);
    border: 2px solid var(--ink);
    padding: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field.full {
    grid-column: 1 / -1;
}

.form-field label {
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--steel);
}

.form-field input,
.form-field select,
.form-field textarea {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    padding: 11px 12px;
    border: 1.5px solid var(--fog-2);
    background: var(--fog);
    color: var(--ink);
    border-radius: 2px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--oxide);
    background: var(--white);
}

.form-field textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    width: 100%;
    padding: 14px;
    font-size: 15px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 8px 0;
    border-top: 1px solid var(--fog-2);
}

.hours-row:first-child {
    border-top: none;
}

/* mobile menu */
.nav-open {
    overflow: hidden;
}

nav.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--ink);
    z-index: 100;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

nav.active a {
    font-size: 24px;
    opacity: 1;
}

nav.active a.active {
    color: var(--oxide);
    border-bottom: 2px solid var(--oxide);
    padding-bottom: 4px;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        min-height: 280px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .step {
        border-left: none;
        padding-left: 0;
        border-top: 2px solid #3a3f43;
        padding-top: 24px;
    }

    .step:first-child {
        border-top: none;
        padding-top: 0;
    }

    .proof-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .header-cta .btn.ghost {
        display: none;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-facts {
        gap: 20px;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cred-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .cred-grid {
        grid-template-columns: 1fr 1fr;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-avatar {
        width: 120px;
        height: 120px;
        font-size: 40px;
    }

    .value-grid {
        grid-template-columns: 1fr;
    }

    .detail-row,
    .detail-row.reverse {
        grid-template-columns: 1fr;
    }

    .detail-row.reverse .detail-copy,
    .detail-row.reverse .detail-panel {
        order: 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn {
        transition: none;
    }
}
