:root {
    --ink: #090b0d;
    --charcoal: #151719;
    --graphite: #22272b;
    --muted: #62666b;
    --line: #d9d4c9;
    --paper: #f6f3ed;
    --white: #ffffff;
    --gold: #c6a95e;
    --gold-dark: #94783a;
    --success: #166534;
    --error: #9f1239;
    --shadow: 0 22px 60px rgba(9, 11, 13, 0.18);
    --max: 1180px;
    --motion: 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

p {
    margin: 0;
    color: var(--muted);
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--ink);
    font-weight: 650;
    line-height: 1.05;
    letter-spacing: 0;
}

h1 {
    max-width: 960px;
    font-size: clamp(2.8rem, 7vw, 6.8rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 4.2rem);
}

h3 {
    font-size: 1.25rem;
}

.compact-heading {
    font-size: clamp(1.75rem, 3vw, 2.8rem);
}

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

.site-header.is-scrolled,
body:has(.page-hero) .site-header {
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    box-shadow: 0 1px 0 rgba(9, 11, 13, 0.08);
    backdrop-filter: blur(16px);
}

.brand {
    display: flex;
    align-items: center;
    width: min(220px, 48vw);
    transition: transform 220ms ease;
}

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

.brand-logo {
    width: 100%;
    height: auto;
}

.brand-logo-dark {
    display: none;
    padding: 7px 10px;
    background: rgba(255, 255, 255, 0.95);
}

.brand-logo-light {
    display: block;
}

.site-header.is-scrolled .brand-logo-dark,
body:has(.page-hero) .site-header .brand-logo-dark {
    display: block;
}

.site-header.is-scrolled .brand-logo-light,
body:has(.page-hero) .site-header .brand-logo-light {
    display: none;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 28px);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-nav a {
    position: relative;
    padding: 10px 0;
}

.site-nav a::after {
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 2px;
    background: var(--gold);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid rgba(198, 169, 94, 0.5);
    background: rgba(255, 255, 255, 0.92);
}

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

.hero,
.page-hero {
    position: relative;
    display: grid;
    min-height: 100svh;
    overflow: hidden;
    color: var(--white);
    isolation: isolate;
}

.hero {
    align-items: end;
    padding: 150px clamp(20px, 5vw, 72px) 48px;
    background: var(--ink);
}

.page-hero::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    content: "";
    background: inherit;
    transform: scale(1.04);
    animation: backgroundSettle 1800ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
    z-index: -3;
}

.hero-slide {
    opacity: 0;
    transition: opacity 1000ms ease;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}

.hero-slide.is-active img {
    animation: slideImageSettle 6500ms linear forwards;
}

.hero-overlay,
.page-hero::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background:
        linear-gradient(90deg, rgba(9, 11, 13, 0.9) 0%, rgba(9, 11, 13, 0.62) 48%, rgba(9, 11, 13, 0.22) 100%),
        linear-gradient(0deg, rgba(9, 11, 13, 0.82) 0%, rgba(9, 11, 13, 0) 52%);
}

.hero-content {
    max-width: var(--max);
    width: 100%;
    margin: 0 auto;
    animation: fadeUp 900ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}

.hero h1,
.hero h2,
.hero h3,
.page-hero h1 {
    color: var(--white);
}

.hero-copy {
    max-width: 760px;
    margin-top: 26px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
    animation: fadeUp 900ms cubic-bezier(0.22, 1, 0.36, 1) 300ms both;
}

.hero-stat {
    position: absolute;
    right: clamp(20px, 5vw, 72px);
    bottom: 48px;
    display: grid;
    grid-template-columns: auto 190px;
    align-items: center;
    gap: 18px;
    max-width: 330px;
    padding-left: 22px;
    border-left: 2px solid var(--gold);
    animation: fadeIn 900ms ease 520ms both;
}

.hero-dots {
    position: absolute;
    right: clamp(20px, 5vw, 72px);
    bottom: 24px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.hero-dots button {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: width 220ms ease;
}

.hero-dots button.is-active {
    width: 68px;
}

.hero-dots button::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34px;
    height: 3px;
    background: rgba(255, 255, 255, 0.38);
    content: "";
    transform: translate(-50%, -50%);
    transition: width 220ms ease, background 220ms ease;
}

.hero-dots button.is-active::before {
    width: 58px;
    background: var(--gold);
}

.hero-stat strong {
    color: var(--gold);
    font-size: 4rem;
    line-height: 1;
}

.hero-stat span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.95rem;
}

.page-hero {
    min-height: 72svh;
    align-items: end;
    padding: 150px clamp(20px, 5vw, 72px) 70px;
}

.page-hero > div {
    width: min(var(--max), 100%);
    margin: 0 auto;
    animation: fadeUp 900ms cubic-bezier(0.22, 1, 0.36, 1) 140ms both;
}

.page-hero p:not(.eyebrow) {
    max-width: 760px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.about-hero {
    background: url("stock/optimized/large-excavator-equipment.jpg") center / cover no-repeat;
}

.services-hero {
    background: url("stock/optimized/closeup-shot-platinum-rock-being-moved-conveyor-belt.jpg") center / cover no-repeat;
}

.products-hero {
    background: url("stock/optimized/still-life-ashes-with-charcoal.jpg") center / cover no-repeat;
}

.sustainability-hero {
    background: url("stock/optimized/high-angle-view-construction-vehicle-stoilensky-mining-processing-plant.jpg") center / cover no-repeat;
}

.contact-hero {
    background: url("stock/optimized/truck-transporting-building-material.jpg") center / cover no-repeat;
}

.eyebrow {
    margin-bottom: 16px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid transparent;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(9, 11, 13, 0.18);
}

.button-primary {
    background: var(--gold);
    color: var(--ink);
}

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

.section:not(.contact-layout):not(.service-list) > .button {
    width: fit-content;
    margin-top: 34px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    margin-top: 28px;
    color: var(--gold-dark);
    font-size: 0.8rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.text-link::after {
    width: 38px;
    height: 1px;
    margin-left: 12px;
    background: currentColor;
    content: "";
    transform-origin: left;
    transition: transform 220ms ease;
}

.text-link:hover::after {
    transform: scaleX(1.35);
}

.section {
    padding: clamp(70px, 10vw, 130px) clamp(20px, 5vw, 72px);
}

.section:not(.contact-layout):not(.service-list):not(.section-grid) > * {
    width: min(var(--max), 100%);
    margin-right: auto;
    margin-left: auto;
}

.section.section-grid,
.section.contact-layout,
.section.service-list {
    width: min(var(--max), calc(100% - clamp(40px, 10vw, 144px)));
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
}

.intro-band {
    background: var(--paper);
}

.section-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 92px);
    align-items: start;
}

.section-grid > p,
.rich-copy p {
    font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.section-grid .button {
    margin-top: 30px;
}

.rich-copy {
    display: grid;
    gap: 20px;
}

.section-heading {
    max-width: 820px;
    margin-bottom: 42px;
}

.feature-grid,
.value-grid,
.commitment-grid,
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
}

.feature-card,
.value-grid article,
.commitment-grid article {
    min-height: 260px;
    padding: clamp(24px, 3vw, 38px);
    background: var(--white);
    transition: transform 260ms ease, box-shadow 260ms ease;
}

.feature-card:hover,
.value-grid article:hover,
.commitment-grid article:hover,
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 46px rgba(9, 11, 13, 0.12);
}

.feature-card span,
.commitment-grid span,
.service-list span {
    display: block;
    margin-bottom: 34px;
    color: var(--gold-dark);
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.15em;
}

.feature-card h3,
.value-grid h3,
.commitment-grid h2 {
    margin-bottom: 18px;
}

.commitment-grid h2 {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.12;
}

.image-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
    min-height: 650px;
    background: var(--charcoal);
    overflow: hidden;
}

.image-split.reverse {
    grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1fr);
}

.image-split.reverse img {
    order: 2;
}

.image-split img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
    transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.image-split:hover img {
    transform: scale(1.035);
}

.image-split-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(42px, 6vw, 86px);
}

.image-split-content h2,
.dark-section h2,
.dark-section h3 {
    color: var(--white);
}

.image-split-content p:not(.eyebrow),
.dark-section p,
.dark-section span {
    color: rgba(255, 255, 255, 0.72);
}

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

.metrics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: rgba(255, 255, 255, 0.16);
}

.metrics-grid div {
    min-height: 190px;
    padding: 30px;
    background: var(--charcoal);
    transition: background 220ms ease, transform 220ms ease;
}

.metrics-grid div:hover {
    background: var(--graphite);
    transform: translateY(-3px);
}

.metrics-grid strong {
    display: block;
    margin-bottom: 40px;
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 0.14em;
}

.muted-section {
    background: var(--paper);
}

.two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
}

.two-column article {
    overflow: hidden;
    padding: clamp(34px, 5vw, 58px);
    background: var(--white);
}

.two-column article:has(img) {
    padding: 0;
}

.two-column article img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.two-column article > div {
    padding: clamp(28px, 4vw, 44px);
}

.two-column h2 {
    font-size: clamp(1.45rem, 2.2vw, 2.15rem);
    line-height: 1.14;
}

.two-column p:not(.eyebrow) {
    margin-top: 22px;
}

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

.value-grid article {
    min-height: 230px;
}

.service-list {
    display: grid;
    gap: 0;
}

.service-list article {
    display: grid;
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    padding: clamp(34px, 5vw, 64px) 0;
    border-bottom: 1px solid var(--line);
}

.service-list article:last-child {
    border-bottom: 0;
}

.service-list img {
    width: 100%;
    aspect-ratio: 1.22;
    object-fit: cover;
}

.service-list ul {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding-left: 18px;
    color: var(--muted);
}

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

.product-card {
    display: grid;
    min-height: 520px;
    overflow: hidden;
    background: var(--ink);
    transition: transform 260ms ease, box-shadow 260ms ease;
}

.product-card img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover img {
    transform: scale(1.04);
}

.product-card div {
    padding: 30px;
}

.product-card h2 {
    margin-bottom: 14px;
    color: var(--white);
    font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.product-card p {
    color: rgba(255, 255, 255, 0.72);
}

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

.contact-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: start;
}

.contact-panel {
    padding: clamp(28px, 4vw, 44px);
    background: var(--charcoal);
    color: var(--white);
}

.contact-panel h2 {
    color: var(--white);
}

.contact-panel p,
.contact-panel a {
    display: block;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.75);
}

.contact-form {
    display: grid;
    gap: 20px;
}

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

label {
    display: grid;
    gap: 8px;
}

label span {
    color: var(--graphite);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

input,
select,
textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--white);
    color: var(--ink);
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--gold-dark);
    outline: 2px solid rgba(198, 169, 94, 0.24);
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity var(--motion), transform var(--motion);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

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

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes backgroundSettle {
    to {
        transform: scale(1);
    }
}

@keyframes slideImageSettle {
    from {
        transform: scale(1.04);
    }

    to {
        transform: scale(1);
    }
}

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

    .page-hero::before,
    .hero-content,
    .hero-actions,
    .hero-stat,
    .page-hero > div {
        animation: none !important;
        transform: none !important;
    }
}

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

.form-alert {
    padding: 14px 16px;
    border-left: 4px solid currentColor;
    font-weight: 750;
}

.form-alert.success {
    background: rgba(22, 101, 52, 0.1);
    color: var(--success);
}

.form-alert.error {
    background: rgba(159, 18, 57, 0.1);
    color: var(--error);
}

.site-footer {
    background: var(--ink);
    color: var(--white);
    padding: 64px clamp(20px, 5vw, 72px) 28px;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) repeat(2, minmax(180px, 0.6fr));
    gap: 44px;
    width: min(var(--max), 100%);
    margin: 0 auto;
}

.footer-logo {
    width: 220px;
}

.footer-inner h2 {
    margin-bottom: 18px;
    color: var(--white);
    font-size: 1rem;
}

.footer-inner p,
.footer-inner a {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.68);
}

.footer-bottom {
    width: min(var(--max), 100%);
    margin: 48px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.9rem;
}

@media (max-width: 980px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        top: 86px;
        right: 16px;
        left: 16px;
        display: grid;
        gap: 0;
        padding: 18px;
        background: var(--white);
        color: var(--ink);
        box-shadow: var(--shadow);
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 180ms ease, transform 180ms ease;
    }

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

    .section-grid,
    .contact-layout,
    .service-list article,
    .image-split,
    .image-split.reverse {
        grid-template-columns: 1fr;
    }

    .image-split.reverse img {
        order: 0;
    }

    .feature-grid,
    .metrics-grid,
    .value-grid,
    .commitment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-stat {
        position: static;
        margin: 40px auto 0;
        width: min(var(--max), 100%);
    }

    .hero-dots {
        position: static;
        width: min(var(--max), 100%);
        margin: 26px auto 0;
    }

    .hero {
        min-height: 88svh;
    }
}

@media (max-width: 680px) {
    .site-header {
        min-height: 76px;
    }

    .brand {
        width: min(180px, 58vw);
    }

    .site-nav {
        top: 76px;
    }

    .hero,
    .page-hero {
        padding-right: 20px;
        padding-left: 20px;
    }

    .hero {
        padding-top: 130px;
        padding-bottom: 38px;
    }

    .page-hero {
        min-height: 68svh;
        padding-top: 130px;
        padding-bottom: 48px;
    }

    .hero-actions,
    .form-grid,
    .two-column,
    .feature-grid,
    .metrics-grid,
    .value-grid,
    .commitment-grid,
    .product-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .section:not(.contact-layout):not(.service-list) > .button {
        width: 100%;
    }

    .hero-stat {
        grid-template-columns: 1fr;
    }

    .product-card,
    .feature-card,
    .value-grid article,
    .commitment-grid article {
        min-height: auto;
    }

    .image-split img {
        min-height: 320px;
    }
}
