:root {
    --ink: #111827;
    --muted: #5f6877;
    --line: #e6e9ef;
    --soft: #f6f8fb;
    --accent: #0f766e;
    --accent-dark: #0b4f4a;
    --gold: #c98b2c;
    --blue: #2563eb;
    --radius: 8px;
    --shadow: 0 24px 70px rgba(17, 24, 39, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #fff;
    line-height: 1.6;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(20px, 5vw, 72px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0;
}

.brand-logo {
    display: block;
    width: 198px;
    max-width: 52vw;
    height: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--muted);
    font-size: 0.95rem;
}

.nav a:hover,
.footer a:hover {
    color: var(--accent);
}

.header-cta {
    padding: 10px 16px;
    color: #fff;
    font-weight: 700;
    background: var(--accent);
    border-radius: 8px;
}

.section {
    padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: clamp(34px, 6vw, 84px);
    align-items: center;
    min-height: calc(100vh - 72px);
    padding-top: clamp(48px, 6vw, 84px);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    max-width: 920px;
    margin: 0;
    font-size: clamp(3.2rem, 8vw, 6.8rem);
    line-height: 0.94;
    letter-spacing: 0;
}

h2 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.02;
    letter-spacing: 0;
}

h3 {
    margin: 0 0 10px;
    font-size: 1.16rem;
    line-height: 1.25;
}

.hero-text {
    max-width: 740px;
    margin: 26px 0 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {
    color: #fff;
    background: var(--accent);
    box-shadow: 0 12px 26px rgba(15, 118, 110, 0.24);
}

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

.button.secondary {
    color: var(--ink);
    background: #fff;
    border-color: var(--line);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 34px;
    color: var(--muted);
    font-size: 0.95rem;
}

.trust-row strong,
.pill-grid span {
    padding: 8px 12px;
    color: var(--ink);
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 999px;
}

.hero-panel {
    position: relative;
    padding: 18px;
    background: linear-gradient(145deg, #ffffff 0%, #f7fafc 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: -18px -18px auto auto;
    width: 44%;
    height: 42%;
    background: repeating-linear-gradient(135deg, rgba(15, 118, 110, 0.13) 0 2px, transparent 2px 10px);
    border-radius: var(--radius);
    z-index: -1;
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.panel-header span {
    width: 10px;
    height: 10px;
    background: var(--line);
    border-radius: 999px;
}

.panel-header strong {
    margin-left: auto;
    font-size: 0.86rem;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.metric-grid div,
.journey,
.about-card,
.lead-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.metric-grid div {
    min-height: 126px;
    padding: 18px;
}

.metric-grid span,
.timeline span {
    color: var(--muted);
    font-size: 0.88rem;
}

.metric-grid strong {
    display: block;
    margin-top: 14px;
    color: var(--accent);
    font-size: 2rem;
    line-height: 1;
}

.journey {
    display: grid;
    gap: 12px;
    margin-top: 12px;
    padding: 16px;
}

.journey div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.journey b {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    color: #fff;
    background: var(--ink);
    border-radius: 8px;
}

.problem,
.bands {
    background: var(--soft);
}

.proof-strip {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
    padding-top: clamp(56px, 6vw, 84px);
    padding-bottom: clamp(56px, 6vw, 84px);
    background: #fff;
}

.proof-strip-copy {
    max-width: 560px;
}

.proof-strip-copy h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.proof-strip-copy p:last-child {
    color: var(--muted);
    font-size: 1.05rem;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.proof-grid article {
    display: grid;
    grid-template-rows: 104px auto auto;
    min-width: 0;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.055);
}

.proof-grid img {
    display: block;
    width: 100%;
    height: 104px;
    object-fit: cover;
    object-position: center;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 7px;
}

.proof-grid h3 {
    margin: 14px 0 6px;
    font-size: 1rem;
}

.proof-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.4;
}

.section-heading {
    display: grid;
    gap: 8px;
    margin-bottom: 34px;
}

.section-heading.compact {
    max-width: 760px;
    margin: 0 auto 26px;
    text-align: center;
}

.section-heading.compact h2 {
    margin: 0 auto;
    font-size: clamp(1.55rem, 2.4vw, 2.45rem);
    line-height: 1.08;
}

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    color: var(--muted);
    font-size: 1.08rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.card {
    min-height: 270px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.card p,
.about-card p,
.contact-copy p,
.footer p {
    color: var(--muted);
}

.icon {
    display: inline-flex;
    margin-bottom: 34px;
    color: var(--gold);
    font-weight: 900;
}

.bands {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 32px;
    align-items: start;
}

.pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.timeline div {
    min-height: 260px;
    padding: 24px;
    background: #fff;
    border-right: 1px solid var(--line);
}

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

.timeline h3 {
    margin-top: 18px;
}

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

.about,
.contact {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(28px, 5vw, 70px);
    align-items: start;
}

.about-card {
    padding: 28px;
}

.contact {
    background: #0f172a;
    color: #fff;
}

.contact .eyebrow {
    color: #7dd3fc;
}

.contact-copy p,
.check-list {
    color: #cbd5e1;
}

.check-list {
    display: grid;
    gap: 10px;
    padding-left: 20px;
}

.lead-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 22px;
    color: var(--ink);
}

.lead-form label {
    display: grid;
    gap: 7px;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 700;
}

.lead-form input,
.lead-form textarea {
    width: 100%;
    padding: 13px 14px;
    color: var(--ink);
    font: inherit;
    background: #fff;
    border: 1px solid #d7dde7;
    border-radius: 8px;
}

.lead-form input:focus,
.lead-form textarea:focus {
    outline: 3px solid rgba(15, 118, 110, 0.18);
    border-color: var(--accent);
}

.full {
    grid-column: 1 / -1;
    width: 100%;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

.notice {
    grid-column: 1 / -1;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 700;
}

.notice.success {
    color: #065f46;
    background: #d1fae5;
}

.notice.error {
    color: #991b1b;
    background: #fee2e2;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    padding: 34px clamp(20px, 5vw, 72px);
    background: #fff;
    border-top: 1px solid var(--line);
}

.footer > div {
    display: grid;
    gap: 8px;
}

.footer span,
.footer a {
    color: var(--muted);
}

.project-links {
    padding: 12px clamp(20px, 5vw, 72px) 18px;
    color: #8a93a3;
    font-size: 0.7rem;
    line-height: 1.35;
    background: #f8fafc;
    border-top: 1px solid var(--line);
}

.project-links-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 0;
    max-width: 1080px;
    margin: 0 auto;
    text-align: center;
}

.project-links span {
    margin-right: 8px;
    color: #6b7280;
    font-weight: 800;
}

.project-links a {
    color: #8a93a3;
}

.project-links a::after {
    content: "/";
    margin: 0 8px;
    color: #cbd5e1;
}

.project-links a:last-child::after {
    content: "";
    margin: 0;
}

.project-links a:hover {
    color: var(--accent);
}

@media (max-width: 980px) {
    .site-header {
        position: static;
        flex-wrap: wrap;
    }

    .nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .hero,
    .split,
    .bands,
    .about,
    .contact,
    .proof-strip {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .proof-strip-copy {
        max-width: 720px;
    }

    .proof-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .proof-grid article {
        grid-template-rows: 96px auto auto;
    }

    .proof-grid img {
        height: 96px;
    }

    .timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .timeline div:nth-child(2) {
        border-right: 0;
    }

    .timeline div {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 640px) {
    .section {
        padding: 56px 18px;
    }

    .site-header {
        padding: 14px 18px;
    }

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

    h1 {
        font-size: clamp(2.8rem, 17vw, 4.1rem);
    }

    .metric-grid,
    .cards,
    .timeline,
    .proof-grid,
    .lead-form {
        grid-template-columns: 1fr;
    }

    .proof-grid article {
        grid-template-columns: 112px 1fr;
        grid-template-rows: auto auto;
        column-gap: 14px;
        align-items: start;
    }

    .proof-grid img {
        grid-row: 1 / 3;
        height: 86px;
    }

    .proof-grid h3 {
        margin-top: 0;
    }

    .timeline div,
    .timeline div:nth-child(2) {
        border-right: 0;
    }

    .footer {
        flex-direction: column;
    }

    .project-links-inner {
        justify-content: flex-start;
        text-align: left;
    }
}
