:root {
    --navy: #123b59;
    --navy-dark: #061d2f;
    --navy-ink: #0c2f49;
    --steel: #dde7ee;
    --blue: #237399;
    --copper: #a06b4d;
    --copper-light: #c88b62;
    --green: #5d8a75;
    --ink: #10202d;
    --muted: #657a8b;
    --line: #d6e1e8;
    --paper: #f6f8f7;
    --white: #ffffff;
    --shadow: 0 26px 70px rgba(6, 29, 47, 0.2);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px clamp(18px, 4vw, 56px);
    background: rgba(6, 29, 47, 0.95);
    color: var(--white);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.92rem;
}

.site-nav a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--white);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: transparent;
    padding: 10px;
}

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

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    min-height: 0;
    padding: clamp(36px, 5vw, 66px) clamp(18px, 6vw, 86px) clamp(34px, 5vw, 60px);
    color: var(--white);
    background:
        radial-gradient(circle at 88% 18%, rgba(160, 107, 77, 0.22), transparent 30%),
        linear-gradient(135deg, var(--navy-dark), var(--navy));
}

.hero-media {
    position: relative;
    aspect-ratio: 4 / 3;
    min-height: 0;
    max-height: 520px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 29, 47, 0.05), rgba(6, 29, 47, 0.46)),
        linear-gradient(90deg, rgba(6, 29, 47, 0.36), transparent 42%);
}

.hero-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 38% 46%;
    filter: saturate(0.82) contrast(1.06);
}

.media-note {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    display: grid;
    gap: 2px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(6, 29, 47, 0.82);
}

.media-note strong {
    font-size: 1rem;
}

.media-note span {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.92rem;
}

.hero-content {
    align-self: center;
    max-width: 820px;
    padding: 0;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--copper-light);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 18px;
    font-size: clamp(2.45rem, 5vw, 4.6rem);
    line-height: 1;
    letter-spacing: 0;
    overflow-wrap: break-word;
}

h1 span {
    display: block;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(1.75rem, 3.2vw, 3.35rem);
    line-height: 1.08;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.lead {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 1.45vw, 1.18rem);
}

.hero-actions,
.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    padding: 12px 22px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

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

.button.primary:hover {
    background: var(--copper-light);
}

.button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    margin: 28px 0 0;
    list-style: none;
}

.hero-points li {
    min-height: 78px;
    padding: 12px;
    border-left: 3px solid var(--copper);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.84);
}

.stat-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stat-strip div {
    padding: 16px clamp(18px, 5vw, 64px);
    border-right: 1px solid var(--line);
    text-align: center;
}

.stat-strip strong {
    display: block;
    color: var(--navy);
    font-size: clamp(1.45rem, 3vw, 2.55rem);
    line-height: 1;
}

.stat-strip span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-weight: 700;
    line-height: 1.25;
}

.section,
.factory-band,
.dark-slab,
.contact {
    padding: clamp(44px, 6vw, 78px) clamp(18px, 6vw, 86px);
}

.intro,
.image-story,
.contact {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
    gap: clamp(28px, 6vw, 74px);
    align-items: center;
}

.intro-text {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.08rem;
}

.intro-text p + p {
    margin-top: 18px;
}

.factory-band {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
    gap: clamp(28px, 6vw, 76px);
    color: var(--white);
    background:
        linear-gradient(rgba(6, 29, 47, 0.94), rgba(6, 29, 47, 0.9)),
        url("https://images.pexels.com/photos/3862627/pexels-photo-3862627.jpeg?auto=compress&cs=tinysrgb&w=1600") center/cover;
}

.factory-copy {
    max-width: 760px;
}

.factory-copy p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
}

.detail-board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.detail-board span {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 800;
    text-align: center;
}

.image-story figure {
    margin: 0;
}

.image-story img,
.wide-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-story figure {
    min-height: 430px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--steel);
    box-shadow: var(--shadow);
}

.image-story figcaption {
    padding: 14px 16px;
    color: rgba(255, 255, 255, 0.86);
    background: var(--navy-dark);
    font-size: 0.92rem;
}

.section-heading {
    max-width: 830px;
    margin-bottom: 26px;
}

.offset-heading {
    margin-left: clamp(0px, 12vw, 180px);
}

.services-section {
    color: var(--white);
    background:
        linear-gradient(rgba(6, 29, 47, 0.94), rgba(6, 29, 47, 0.9)),
        url("https://images.pexels.com/photos/3862627/pexels-photo-3862627.jpeg?auto=compress&cs=tinysrgb&w=1600") center/cover;
}

.services-section .section-heading h2 {
    color: var(--white);
}

.services-section .service-card {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: background 420ms ease, border-color 420ms ease, transform 420ms ease;
}

.services-section .service-card p {
    color: rgba(255, 255, 255, 0.74);
}

.services-section .tag-row span {
    color: var(--white);
    background: rgba(255, 255, 255, 0.13);
}

.services-section .service-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.28);
    background:
        linear-gradient(135deg, rgba(18, 59, 89, 0.94), rgba(35, 115, 153, 0.88)),
        url("https://images.pexels.com/photos/10871585/pexels-photo-10871585.jpeg?auto=compress&cs=tinysrgb&w=1200") center/cover;
}

.service-grid:has(.service-card:hover) .service-card.featured:not(:hover) {
    background: rgba(255, 255, 255, 0.08);
}

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

.service-card {
    grid-column: span 4;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.service-card.featured {
    grid-column: span 6;
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(18, 59, 89, 0.94), rgba(35, 115, 153, 0.88)),
        url("https://images.pexels.com/photos/10871585/pexels-photo-10871585.jpeg?auto=compress&cs=tinysrgb&w=1200") center/cover;
}

.service-card:nth-child(2) {
    grid-column: span 6;
}

.service-card:nth-child(6) {
    grid-column: 1 / -1;
}

.service-number {
    flex: 0 0 auto;
    color: var(--copper);
    font-weight: 800;
    letter-spacing: 0.1em;
}

.service-title-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}

.service-title-row h3 {
    margin-bottom: 0;
}

.service-card.featured .service-number {
    color: var(--copper-light);
}

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

.service-card.featured p {
    color: rgba(255, 255, 255, 0.82);
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
}

.tag-row span {
    padding: 6px 9px;
    border-radius: 8px;
    color: var(--navy);
    background: #edf3f6;
    font-size: 0.76rem;
    font-weight: 800;
    font-variant-caps: all-small-caps;
    letter-spacing: 0.06em;
}

.featured .tag-row span {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
}

.dark-slab {
    color: var(--white);
    background: var(--navy-dark);
}

.process-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
    counter-reset: step;
}

.process-list li {
    min-height: 176px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    counter-increment: step;
}

.process-list li::before {
    content: counter(step, decimal-leading-zero);
    display: block;
    margin-bottom: 18px;
    color: var(--copper-light);
    font-weight: 800;
}

.process-list p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.72);
}

.case-section {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(28px, 6vw, 70px);
    align-items: start;
}

.case-list {
    display: grid;
    gap: 14px;
}

.case-list article {
    padding: 22px;
    border-left: 4px solid var(--copper);
    background: var(--white);
}

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

.wide-photo {
    position: relative;
    height: 170px;
    min-height: 0;
    overflow: hidden;
    color: var(--white);
    background: var(--navy-dark);
}

.wide-photo > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wide-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 29, 47, 0.88), rgba(6, 29, 47, 0.62));
}

.wide-photo > img {
    opacity: 0.38;
    object-position: center 42%;
}

.wide-photo div {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-content: center;
    padding: 22px;
    text-align: center;
}

.wide-photo p {
    margin-bottom: 6px;
    color: var(--copper-light);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.wide-photo strong {
    display: block;
    max-width: 760px;
    font-size: clamp(1.75rem, 3.4vw, 3.1rem);
    line-height: 1.04;
}

.contact {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(120deg, rgba(6, 29, 47, 0.97), rgba(18, 59, 89, 0.92)),
        url("https://images.pexels.com/photos/3862632/pexels-photo-3862632.jpeg?auto=compress&cs=tinysrgb&w=1600") center/cover;
}

.contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(160, 107, 77, 0.12) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.24;
    pointer-events: none;
}

.contact > * {
    position: relative;
    z-index: 1;
}

.contact-copy {
    align-self: stretch;
    display: flex;
    flex-direction: column;
}

.contact-copy > p {
    max-width: 660px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.08rem;
}

.contact-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 30px;
}

.contact-links a {
    display: grid;
    gap: 3px;
    padding: 15px 16px;
    border-left: 3px solid var(--copper);
    border-radius: 8px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: background 260ms ease, transform 260ms ease;
}

.contact-links a:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.14);
}

.contact-links span {
    color: var(--copper-light);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-links strong {
    font-size: 1.08rem;
}

.contact-note {
    margin-top: auto;
    padding-top: 28px;
}

.contact-note span {
    display: block;
    color: var(--copper-light);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-note p {
    max-width: 420px;
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.68);
}

.contact-form {
    position: relative;
    overflow: hidden;
    padding: clamp(22px, 4vw, 32px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
        rgba(5, 22, 36, 0.88);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.contact-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--copper), var(--blue));
}

.form-head {
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.form-head strong {
    color: var(--white);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1;
}

.contact-form label {
    display: grid;
    gap: 7px;
    margin-bottom: 13px;
}

.contact-form label > span:first-child {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.contact-form label > span:first-child::before {
    content: "";
    color: var(--copper-light);
}

.contact-form label > span:first-child::after {
    content: "";
    color: var(--copper-light);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 3px solid rgba(200, 139, 98, 0.78);
    border-radius: 6px;
    padding: 12px 14px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.98rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(200, 139, 98, 0.08), transparent 36%),
        rgba(4, 20, 33, 0.76);
    transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.contact-form textarea {
    min-height: 132px;
    resize: vertical;
}

.select-shell {
    position: relative;
    display: block;
}

.select-shell::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--copper-light);
    border-bottom: 2px solid var(--copper-light);
    pointer-events: none;
    transform: translateY(-70%) rotate(45deg);
}

.contact-form select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 44px;
    cursor: pointer;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.48);
}

.contact-form select option {
    color: var(--white);
    background: #071c2c;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 0;
    border-color: var(--copper-light);
    box-shadow: 0 0 0 3px rgba(200, 139, 98, 0.18);
    background:
        linear-gradient(90deg, rgba(200, 139, 98, 0.18), transparent 40%),
        rgba(2, 13, 22, 0.96);
}

.form-submit {
    width: 100%;
    min-height: 50px;
    margin-top: 6px;
    border: 1px solid rgba(200, 139, 98, 0.72);
    border-radius: 6px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent),
        linear-gradient(135deg, var(--copper), #744832);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.form-submit:hover {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent),
        linear-gradient(135deg, var(--copper-light), #82543d);
}

.hidden-field {
    position: absolute;
    left: -9999px;
}

.notice {
    margin-bottom: 18px;
    border-radius: 8px;
    padding: 14px 16px;
    font-weight: 800;
}

.notice p {
    margin: 0;
}

.notice.success {
    color: #0f5132;
    background: #dff3e8;
}

.notice.error {
    color: #842029;
    background: #f8d7da;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 24px clamp(18px, 6vw, 86px);
    color: rgba(255, 255, 255, 0.76);
    background: #071c2c;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: var(--white);
    text-decoration: none;
}

@media (max-width: 1080px) {
    .hero,
    .intro,
    .image-story,
    .factory-band,
    .case-section,
    .contact {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        max-height: none;
    }

    .hero-media {
        min-height: 280px;
        max-height: 340px;
    }

    .hero-points,
    .process-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card,
    .service-card.featured,
    .service-card:nth-child(2) {
        grid-column: span 6;
    }

    .service-card:nth-child(6) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .site-header {
        align-items: flex-start;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 74px;
        left: 18px;
        right: 18px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        border-radius: 8px;
        background: var(--navy-dark);
    }

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

    .site-nav a {
        padding: 12px;
    }

    .hero-content {
        padding: 32px 18px 44px;
    }

    h1 {
        font-size: clamp(1.85rem, 8.5vw, 2.35rem);
        line-height: 1.05;
    }

    h2 {
        font-size: clamp(1.55rem, 8vw, 2.35rem);
    }

    .hero-media {
        min-height: 230px;
        max-height: 280px;
    }

    .eyebrow {
        font-size: 0.72rem;
        letter-spacing: 0.12em;
    }

    .hero-points,
    .stat-strip,
    .detail-board,
    .process-list {
        grid-template-columns: 1fr;
    }

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

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

    .service-card,
    .service-card.featured,
    .service-card:nth-child(2),
    .service-card:nth-child(6) {
        grid-column: auto;
        min-height: auto;
    }

    .image-story figure {
        min-height: 280px;
    }

    .wide-photo {
        height: 145px;
    }

    .hero-actions,
    .contact-links,
    .site-footer {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }
}
