:root {
    --yellow: #ffd500;
    --yellow-soft: #fff3a3;
    --black: #101010;
    --charcoal: #1d1d1d;
    --green-dark: #111111;
    --muted: #666;
    --line: #e8e8e8;
    --surface: #f5f5f5;
    --white: #fff;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body:has(.mobile-sticky-cta) {
    padding-bottom: 0;
}

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

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

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px clamp(20px, 5vw, 70px);
    color: var(--white);
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.62),
        rgba(0, 0, 0, 0)
    );
}

.brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-mark {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -0.08em;
}

.brand-sub {
    margin-top: 5px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.86;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 14px;
    font-weight: 700;
}

.nav a {
    opacity: 0.85;
}

.nav a:hover {
    color: var(--yellow);
    opacity: 1;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: currentColor;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.menu-toggle.is-open span:first-child {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:last-child {
    transform: translateY(-6px) rotate(-45deg);
}

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.nav-cta:hover,
.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.nav-cta,
.button.primary {
    color: var(--black);
    background: var(--yellow);
}

.button.secondary {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.hero {
    position: relative;
    min-height: 820px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
}

.hero-bg,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-bg {
    background-image: url("assets/banner/hero-project.webp");
    background-position: center;
    background-size: cover;
    transform: scale(1.03);
}

.hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.84),
            rgba(0, 0, 0, 0.54),
            rgba(0, 0, 0, 0.22)
        ),
        linear-gradient(180deg, rgba(17, 17, 17, 0.45), rgba(0, 0, 0, 0.28));
}

.hero::after {
    content: "";
    position: absolute;
    right: -8vw;
    bottom: -10vw;
    width: 36vw;
    height: 42vw;
    background: var(--yellow);
    clip-path: polygon(42% 0, 100% 0, 100% 100%, 0 100%);
    opacity: 0.86;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
    animation: heroFadeUp 0.8s ease both;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

.eyebrow {
    margin: 0 0 14px;
    color: var(--yellow);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow.dark {
    color: var(--black);
}

.hero h1 {
    max-width: 840px;
    margin: 0;
    font-size: clamp(44px, 7vw, 86px);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.hero-copy {
    max-width: 690px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 19px;
}

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

.credibility {
    position: relative;
    z-index: 5;
    margin-top: -46px;
}

.proof-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    overflow: hidden;
    margin-bottom: 18px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow);
}

.proof-strip div {
    padding: 24px;
    background: var(--black);
    color: var(--white);
}

.proof-strip strong {
    display: block;
    color: var(--yellow);
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.05em;
}

.proof-strip span {
    display: block;
    margin-top: 6px;
    color: var(--yellow);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.credibility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.cred-card {
    min-height: 190px;
    padding: 30px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.cred-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.12);
}

.icon,
.service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 50%;
    color: var(--black);
    background: var(--yellow);
    font-size: 13px;
    font-weight: 900;
}

.cred-card h2,
.service-card h3,
.why-cards h3,
.project-info h3 {
    margin: 0;
    line-height: 1.2;
}

.cred-card h2 {
    font-size: 21px;
}

.cred-card p,
.service-card p,
.why-cards p,
.section-heading p,
.about-copy p,
.footer p {
    color: var(--muted);
}

.section {
    padding: 120px 0;
}

.section-heading {
    max-width: 700px;
}

.section-heading.center {
    margin: 0 auto 54px;
    text-align: center;
}

.section-heading.compact {
    margin-bottom: 34px;
}

.section-heading.split {
    max-width: none;
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    align-items: end;
    gap: 60px;
    margin-bottom: 46px;
}

.section-heading h2,
.about-copy h2,
.contact-panel h2 {
    margin: 0;
    color: var(--green-dark);
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1;
    letter-spacing: -0.055em;
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: -18px 0 28px;
}

.project-filters button {
    padding: 10px 15px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--black);
    background: var(--surface);
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.project-filters button:hover,
.project-filters button:focus-visible {
    border-color: var(--yellow);
    transform: translateY(-1px);
}

.project-filters button.is-active {
    color: var(--black);
    background: var(--yellow);
    border-color: var(--yellow);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.project-card {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    border-radius: 20px;
    background: var(--surface);
    transition:
        opacity 0.28s ease,
        transform 0.28s ease;
}

.project-card.is-filtering-out {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
}

.project-card.is-filtering-in {
    animation: projectFilterIn 0.34s ease both;
}

.project-card.is-hidden {
    display: none;
}

@keyframes projectFilterIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }

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

.project-card.large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 738px;
}

.project-slides {
    position: absolute;
    inset: 0;
}

.project-slides img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: projectFadeThree 12s infinite;
    transition: transform 0.45s ease;
}

.project-slides img:first-child {
    opacity: 1;
    animation-delay: 0s;
}

.project-slides img:nth-child(2) {
    animation-delay: -8s;
}

.project-slides img:nth-child(3) {
    animation-delay: -4s;
}

.project-slides.two-images img {
    animation-name: projectFadeTwo;
    animation-duration: 8s;
}

.project-slides.two-images img:nth-child(2) {
    animation-delay: -4s;
}

.project-slides.single-image img,
.project-slides img:only-child {
    opacity: 1;
    animation: none;
}

.project-card:hover .project-slides img {
    transform: scale(1.05);
}

@keyframes projectFadeThree {
    0%,
    38% {
        opacity: 1;
    }

    45%,
    93% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes projectFadeTwo {
    0%,
    55% {
        opacity: 1;
    }

    65%,
    90% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.76));
}

.project-info {
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 2;
    padding: 18px;
    border-top: 6px solid var(--yellow);
    color: var(--white);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
}

.project-info span {
    display: block;
    margin-bottom: 8px;
    color: var(--yellow);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-info h3 {
    font-size: 20px;
}

.project-empty {
    display: none;
    margin-top: 28px;
    padding: 24px;
    border: 1px dashed var(--line);
    border-radius: 18px;
    text-align: center;
    background: var(--surface);
}

.project-empty.is-visible {
    display: block;
}

.project-info p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    font-weight: 700;
}

.services,
.why,
.faq {
    background: var(--surface);
}

.service-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: -24px 0 34px;
}

.service-summary div,
.faq-grid article {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
}

.service-summary strong,
.service-summary span {
    display: block;
}

.service-summary strong {
    margin-bottom: 8px;
    color: var(--green-dark);
    font-size: 16px;
}

.service-summary span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.service-card {
    grid-column: span 2;
    min-height: 280px;
    padding: 30px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.12);
}

.service-card.featured {
    grid-column: span 2;
    color: var(--white);
    background: var(--green-dark);
    border-color: var(--green-dark);
}

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

.service-card h3 {
    color: var(--green-dark);
    font-size: 24px;
}

.service-card.featured h3 {
    color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 70px;
}

.about-image {
    position: relative;
}

.about-slider {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 24px;
}

.about-image::before {
    content: "";
    position: absolute;
    inset: 26px -26px -26px 26px;
    z-index: -1;
    border-radius: 24px;
    background: var(--yellow);
}

.about-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 24px;
}

.about-slider img {
    position: absolute;
    inset: 0;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.about-slider img.is-active {
    opacity: 1;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    font-weight: 700;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 12px;
    height: 12px;
    background: var(--yellow);
}

.why-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
}

.why-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.why-cards article {
    padding: 28px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.why-cards article:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.12);
}

.why-cards article::before {
    content: "";
    display: block;
    width: 44px;
    height: 8px;
    margin-bottom: 24px;
    background: var(--yellow);
}

.references {
    padding: 70px 0;
    background: var(--white);
}

.reach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 26px;
}

.reach-grid article {
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.reach-grid article:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.12);
}

.reach-grid h3 {
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.2;
}

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

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

.faq-grid h3 {
    margin: 0 0 10px;
    color: var(--green-dark);
    font-size: 22px;
    line-height: 1.2;
}

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

.project-map-image {
    display: block;
    width: 100%;
    margin: 4px 0 24px;
    border-radius: 16px;
    background-color: #f4f3ef;
}

.contact-cta {
    padding: 90px 0;
    background: var(--green-dark);
}

.contact-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 30px;
    padding: 48px;
    border-radius: 28px;
    background: var(--yellow);
}

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

.contact-panel p {
    max-width: 720px;
    margin-bottom: 0;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dark-button {
    color: var(--white);
    background: var(--black);
}

.outline-dark {
    color: var(--black);
    border: 1px solid var(--black);
}

.mobile-sticky-cta {
    display: none;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

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

.project-card.reveal {
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.footer {
    color: var(--white);
    background: #060606;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 1.5fr;
    gap: 70px;
    padding: 70px 0 50px;
}

.footer-brand {
    display: inline-block;
    color: var(--yellow);
    margin-bottom: 18px;
}

.footer h3 {
    margin: 0 0 18px;
    color: var(--yellow);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.footer a {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.footer p {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.68);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.54);
    font-size: 13px;
}

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

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

    .project-slides img:not(:first-child) {
        display: none;
    }
}

@media (max-width: 980px) {
    .site-header {
        position: absolute;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
        order: 3;
        margin-left: auto;
    }

    .nav {
        order: 5;
        width: 100%;
        max-height: 0;
        margin-top: 0;
        padding: 0;
        overflow: hidden;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 22px;
        background: rgba(0, 0, 0, 0.86);
        backdrop-filter: blur(14px);
        opacity: 0;
        pointer-events: none;
        transition:
            max-height 0.28s ease,
            margin-top 0.28s ease,
            padding 0.28s ease,
            opacity 0.2s ease;
    }

    .nav.is-open {
        max-height: 280px;
        margin-top: 14px;
        padding: 10px;
        opacity: 1;
        pointer-events: auto;
    }

    .nav a {
        padding: 14px 16px;
        border-radius: 14px;
    }

    .nav a:hover,
    .nav a:focus-visible {
        color: var(--black);
        background: var(--yellow);
    }

    .hero {
        min-height: 720px;
    }

    .proof-strip,
    .credibility-grid,
    .section-heading.split,
    .about-grid,
    .why-grid,
    .contact-panel,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .service-summary,
    .faq-grid,
    .reach-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .project-card.large {
        grid-column: span 2;
        min-height: 520px;
    }

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

    .service-card,
    .service-card.featured {
        grid-column: span 1;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

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

    .brand-sub,
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
    }

    .hero {
        min-height: 760px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-copy {
        font-size: 16px;
    }

    .button {
        width: 100%;
    }

    .credibility {
        margin-top: -24px;
    }

    .credibility-grid,
    .project-grid,
    .service-grid,
    .service-summary,
    .why-cards,
    .faq-grid,
    .reach-grid {
        grid-template-columns: 1fr;
    }

    .project-card,
    .project-card.large {
        grid-column: auto;
        min-height: 430px;
    }

    .project-map-image {
        border-radius: 14px;
    }

    .section {
        padding: 84px 0;
    }

    .section-heading h2,
    .about-copy h2,
    .contact-panel h2 {
        font-size: 36px;
    }

    .about-image::before {
        inset: 18px -10px -18px 18px;
    }

    .contact-panel {
        padding: 28px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    body:has(.mobile-sticky-cta) {
        padding-bottom: 78px;
    }

    .mobile-sticky-cta {
        position: fixed;
        left: 14px;
        right: 14px;
        bottom: 14px;
        z-index: 30;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 54px;
        border-radius: 999px;
        color: var(--black);
        background: var(--yellow);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
        font-size: 13px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }
}
