:root {
    --ink: #102025;
    --ink-soft: #31464d;
    --paper: #f7f5ef;
    --paper-strong: #fffdf8;
    --line: rgba(16, 32, 37, 0.14);
    --teal: #0f8f89;
    --teal-dark: #0a5e60;
    --orange: #e36f2c;
    --steel: #d8e1df;
    --white: #ffffff;
    --shadow: 0 20px 60px rgba(16, 32, 37, 0.16);
    --radius: 8px;
    --max: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body.nav-open {
    overflow: hidden;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(18px, 4vw, 52px);
    color: var(--white);
    transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
    color: var(--ink);
    background: rgba(255, 253, 248, 0.94);
    box-shadow: 0 10px 30px rgba(16, 32, 37, 0.08);
    backdrop-filter: blur(12px);
}

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

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid currentColor;
    border-radius: 8px;
    font-size: 0.86rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 0.95rem;
    font-weight: 700;
}

.site-nav a {
    opacity: 0.86;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    opacity: 1;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid currentColor;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    padding: 10px;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: currentColor;
}

.hero {
    position: relative;
    min-height: 84svh;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: #102025;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(16, 32, 37, 0.92), rgba(16, 32, 37, 0.62) 42%, rgba(16, 32, 37, 0.12)),
        linear-gradient(180deg, rgba(16, 32, 37, 0.48), rgba(16, 32, 37, 0.2) 48%, rgba(16, 32, 37, 0.5)),
        url("hero-3d-printing.png") center / cover no-repeat;
    transform: scale(1.02);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(680px, calc(100% - 36px));
    margin-left: clamp(18px, 8vw, 120px);
    padding-top: 96px;
    padding-bottom: 64px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 14px;
    color: var(--orange);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    max-width: 620px;
    font-size: clamp(4rem, 8.5vw, 8.4rem);
    line-height: 0.88;
    letter-spacing: 0;
}

.hero-subtitle {
    max-width: 650px;
    margin: 24px 0 0;
    font-size: clamp(1.45rem, 3vw, 2.5rem);
    line-height: 1.08;
    font-weight: 800;
}

.hero-text {
    max-width: 610px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.08rem;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 850;
    line-height: 1.1;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button.primary {
    color: var(--white);
    background: var(--teal);
}

.button.primary:hover,
.button.primary:focus-visible {
    background: var(--teal-dark);
}

.button.secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
}

.intro-band {
    background: var(--paper-strong);
    border-bottom: 1px solid var(--line);
}

.section,
.contact-section {
    padding: clamp(66px, 9vw, 112px) 0;
}

.section-inner {
    width: min(var(--max), calc(100% - 36px));
    margin: 0 auto;
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 72px);
    padding: clamp(34px, 5vw, 58px) 0;
    align-items: center;
}

.intro-grid h2,
.section-heading h2,
.work-copy h2,
.contact-copy h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 4.1rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.intro-grid p:last-child,
.section-heading p,
.work-copy p,
.contact-copy p {
    margin: 16px 0 0;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

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

.service-card {
    min-height: 236px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-strong);
    box-shadow: 0 10px 30px rgba(16, 32, 37, 0.04);
}

.card-number {
    color: var(--teal);
    font-weight: 900;
    font-size: 0.82rem;
}

.service-card h3,
.timeline-item h3 {
    margin: 26px 0 10px;
    font-size: 1.24rem;
    line-height: 1.15;
}

.service-card p,
.timeline-item p,
.work-item p {
    margin: 0;
    color: var(--ink-soft);
}

.split-band {
    background: var(--ink);
    color: var(--white);
}

.split-band .section-kicker {
    color: #ff9b5f;
}

.work-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: clamp(34px, 6vw, 88px);
    align-items: start;
}

.work-copy p {
    color: rgba(255, 255, 255, 0.76);
}

.text-link {
    display: inline-flex;
    margin-top: 24px;
    color: #8fddd8;
    font-weight: 850;
    border-bottom: 2px solid currentColor;
}

.work-list {
    display: grid;
    gap: 12px;
}

.work-item {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.work-item span {
    width: 10px;
    height: 10px;
    margin-top: 8px;
    border-radius: 50%;
    background: var(--orange);
}

.work-item p {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 720;
}

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

.timeline-item {
    padding: 24px 22px;
    border-top: 3px solid var(--teal);
    background: var(--paper-strong);
    border-radius: var(--radius);
}

.timeline-item span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--white);
    background: var(--ink);
    border-radius: 50%;
    font-weight: 900;
}

.timeline-item h3 {
    margin-top: 24px;
}

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

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
    gap: clamp(34px, 6vw, 82px);
    align-items: start;
}

.contact-links {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.contact-links a {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.contact-links span {
    color: var(--ink-soft);
}

.contact-links strong {
    text-align: right;
}

.location {
    margin-top: 26px;
    font-weight: 800;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: clamp(20px, 4vw, 34px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

label {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 850;
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(16, 32, 37, 0.18);
    border-radius: 8px;
    background: #fbfaf6;
    color: var(--ink);
    padding: 12px 13px;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--teal);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(15, 143, 137, 0.12);
}

.privacy-check {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    font-weight: 650;
    color: var(--ink-soft);
}

.privacy-check input {
    width: 18px;
    min-height: 18px;
    margin-top: 3px;
}

.trap-field {
    display: none;
}

.form-button {
    width: 100%;
}

.form-status {
    display: none;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 780;
}

.form-status.success,
.form-status.error,
.form-status.is-visible {
    display: block;
}

.form-status.success {
    color: #0b513f;
    background: #dff6ee;
}

.form-status.error {
    color: #7a271a;
    background: #ffe3d7;
}

.site-footer {
    padding: 28px 0;
    color: rgba(255, 255, 255, 0.8);
    background: var(--ink);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.footer-inner p {
    margin: 0;
}

.footer-inner div {
    display: flex;
    gap: 18px;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 900px) {
    .nav-toggle {
        display: block;
        position: relative;
        z-index: 22;
    }

    .site-nav {
        position: fixed;
        inset: 0;
        z-index: 21;
        display: grid;
        align-content: center;
        justify-items: center;
        gap: 22px;
        background: var(--paper-strong);
        color: var(--ink);
        font-size: 1.8rem;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .site-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .hero {
        min-height: 86svh;
    }

    .hero-backdrop {
        background:
            linear-gradient(90deg, rgba(16, 32, 37, 0.9), rgba(16, 32, 37, 0.55)),
            linear-gradient(180deg, rgba(16, 32, 37, 0.34), rgba(16, 32, 37, 0.7)),
            url("hero-3d-printing.png") 60% center / cover no-repeat;
    }

    .hero-content {
        width: min(680px, calc(100% - 36px));
        margin: 0 auto;
    }

    .intro-grid,
    .work-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .site-header {
        padding: 14px 18px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
    }

    .hero {
        min-height: 88svh;
    }

    .hero h1 {
        font-size: clamp(3.4rem, 18vw, 5rem);
    }

    .hero-subtitle {
        font-size: 1.48rem;
    }

    .hero-actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .card-grid,
    .timeline,
    .field-row {
        grid-template-columns: 1fr;
    }

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

    .contact-links a {
        display: grid;
        gap: 4px;
    }

    .contact-links strong {
        text-align: left;
        overflow-wrap: anywhere;
    }

    .footer-inner {
        display: grid;
    }
}
