html {
    scroll-behavior: smooth;
}

:root {
    --stone-ink: #2b2825;
    --line: rgba(67, 58, 52, 0.12);
    --hero-glow: rgba(236, 119, 43, 0.2);
}

body {
    font-family: "Manrope", sans-serif;
}

.site-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 5%, rgba(236, 119, 43, 0.2), transparent 32%),
        radial-gradient(circle at 85% 8%, rgba(163, 157, 149, 0.12), transparent 26%),
        linear-gradient(180deg, #f8f6f3 0%, #f5f2ed 55%, #f7f5f2 100%);
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.4rem;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s ease;
    background: rgba(236, 119, 43, 0.9);
}

.nav-link:hover,
.nav-link.is-active {
    color: #1f1d1a;
}

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.mobile-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease;
}

.mobile-panel.is-open {
    max-height: 400px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-link {
    border-radius: 0.8rem;
    padding: 0.55rem 0.7rem;
    transition: background-color 0.25s ease;
}

.mobile-link:hover {
    background: #f7f1ea;
}

.mobile-menu-icon {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #292622;
    position: relative;
    display: inline-block;
}

.mobile-menu-icon::before,
.mobile-menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: #292622;
}

.mobile-menu-icon::before {
    top: -6px;
}

.mobile-menu-icon::after {
    top: 6px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.72rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.3s ease, background-color 0.25s ease;
}

.btn-primary {
    color: #fff;
    background: #ec772b;
    box-shadow: 0 12px 28px rgba(236, 119, 43, 0.33);
}

.btn-primary:hover {
    transform: translateY(-1px);
    background: #db661d;
}

.btn-secondary {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.8);
    color: #26231f;
}

.btn-secondary:hover {
    transform: translateY(-1px);
    border-color: rgba(236, 119, 43, 0.55);
    color: #8d3f0f;
}

.eyebrow {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ba5212;
    font-weight: 800;
}

.hero-art {
    position: relative;
}

.hero-frame {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    border: 1px solid rgba(103, 92, 84, 0.18);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(244, 240, 233, 0.9));
    min-height: 470px;
    padding: 1.4rem;
    box-shadow: 0 24px 56px rgba(28, 24, 19, 0.1);
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.82;
    z-index: 1;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(160deg, rgba(247, 243, 236, 0.5) 0%, rgba(247, 243, 236, 0.08) 38%, rgba(247, 243, 236, 0.64) 100%),
        radial-gradient(circle at 18% 24%, rgba(236, 119, 43, 0.16), transparent 52%);
    z-index: 2;
}

.orbe {
    position: absolute;
    border-radius: 999px;
    filter: blur(1px);
    z-index: 2;
}

.orbe-a {
    width: 300px;
    height: 300px;
    right: -90px;
    top: -80px;
    background: radial-gradient(circle, var(--hero-glow), transparent 66%);
    animation: floatA 9s ease-in-out infinite;
}

.orbe-b {
    width: 220px;
    height: 220px;
    left: -70px;
    bottom: -70px;
    background: radial-gradient(circle, rgba(50, 44, 39, 0.14), transparent 72%);
    animation: floatB 10s ease-in-out infinite;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(56, 51, 46, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 51, 46, 0.06) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at 74% 45%, black 48%, transparent 86%);
    z-index: 2;
}

.section-block,
.section-spacing {
    margin-top: 4.2rem;
}

.section-title {
    margin-top: 0.45rem;
    font-family: "Playfair Display", serif;
    font-size: clamp(1.9rem, 2.2vw, 2.8rem);
    line-height: 1.15;
    color: #1f1d1a;
}

.section-text {
    margin-top: 1rem;
    font-size: 1.06rem;
    line-height: 1.8;
    color: #575149;
}

.info-pill {
    border: 1px solid rgba(111, 99, 91, 0.14);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.75);
    padding: 1rem;
    box-shadow: 0 12px 30px rgba(28, 24, 19, 0.05);
}

.service-card {
    border: 1px solid rgba(111, 99, 91, 0.16);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.88);
    padding: 1.3rem;
    box-shadow: 0 10px 32px rgba(24, 22, 20, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: rgba(236, 119, 43, 0.45);
    box-shadow: 0 18px 38px rgba(24, 22, 20, 0.08);
}

.service-card h3 {
    margin: 0;
    font-size: 1.03rem;
    line-height: 1.45;
}

.icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    height: 2.35rem;
    width: 2.35rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(236, 119, 43, 0.2);
    background: rgba(236, 119, 43, 0.08);
    color: #c25717;
}

.icon-wrap svg {
    height: 1.25rem;
    width: 1.25rem;
}

.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.timeline li {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border: 1px solid rgba(111, 99, 91, 0.16);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.86);
    padding: 0.88rem 0.95rem;
    font-weight: 600;
    color: #302d29;
}

.timeline li>span:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2rem;
    width: 2rem;
    border-radius: 999px;
    background: #f7d7bf;
    color: #8d3f0f;
    font-size: 0.78rem;
    font-weight: 800;
}

.timeline li>span:last-child {
    display: block;
    color: #302d29;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.4;
}

.project-card {
    border: 1px solid rgba(111, 99, 91, 0.18);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 1.3rem;
    box-shadow: 0 10px 30px rgba(24, 22, 20, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
    transform: translateY(-3px);
    border-color: rgba(236, 119, 43, 0.45);
    box-shadow: 0 18px 38px rgba(24, 22, 20, 0.08);
}

.project-media {
    margin: -0.35rem -0.35rem 0.85rem;
    overflow: hidden;
    border-radius: 1rem;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    filter: saturate(0.9) contrast(1.04);
    transition: transform 0.5s ease, filter 0.35s ease;
}

.project-card:hover .project-image {
    transform: scale(1.06);
    filter: saturate(1) contrast(1.08);
}

.project-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.project-kicker {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ba5212;
}

.project-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(111, 99, 91, 0.2);
    background: rgba(255, 255, 255, 0.8);
    padding: 0.26rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #645b53;
}

.project-card h3 {
    margin: 0.55rem 0 0;
    font-size: 1.22rem;
    line-height: 1.3;
    color: #1f1d1a;
}

.project-card p:last-child {
    margin: 0.7rem 0 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #555047;
}

.compare-card {
    border: 1px solid rgba(111, 99, 91, 0.18);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.85);
    padding: 1.3rem;
}

.compare-card h3 {
    margin: 0;
    letter-spacing: 0.04em;
    color: #1f1d1a;
}

.compare-card ul {
    margin: 0.85rem 0 0;
    padding-left: 1.1rem;
    color: #555047;
    line-height: 1.8;
}

.sector-chip {
    border: 1px solid rgba(111, 99, 91, 0.17);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    padding: 0.54rem 0.9rem;
    font-size: 0.9rem;
}

.cta-block {
    border: 1px solid rgba(111, 99, 91, 0.16);
    border-radius: 1.8rem;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.94), rgba(246, 240, 232, 0.9));
    padding: 2.2rem;
    box-shadow: 0 18px 44px rgba(24, 22, 20, 0.06);
}

.cta-block p {
    margin: 0;
    text-align: center;
    font-family: "Playfair Display", serif;
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    line-height: 1.3;
    color: #24211e;
}

.info-panel {
    border: 1px solid rgba(111, 99, 91, 0.18);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.85);
    padding: 1.5rem;
}

.contact-subtitle {
    margin: 0;
    font-size: 0.86rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #6f665f;
}

.contact-form {
    display: grid;
    gap: 1rem;
    border: 1px solid rgba(111, 99, 91, 0.18);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.92);
    padding: 1.5rem;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 0.36rem;
}

.contact-form span {
    font-size: 0.82rem;
    font-weight: 600;
    color: #625a53;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(111, 99, 91, 0.24);
    border-radius: 0.8rem;
    background: #fffdfb;
    padding: 0.66rem 0.8rem;
    color: #2c2925;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(236, 119, 43, 0.5);
    box-shadow: 0 0 0 4px rgba(236, 119, 43, 0.13);
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes floatA {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

@keyframes floatB {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(9px);
    }
}

@media (max-width: 1024px) {
    .hero-frame {
        min-height: 390px;
    }
}

@media (max-width: 768px) {
    .hero-frame {
        min-height: 340px;
    }

    .section-block,
    .section-spacing {
        margin-top: 3.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal,
    .orbe-a,
    .orbe-b {
        transition: none;
        animation: none;
        opacity: 1;
        transform: none;
    }
}