@font-face {
    font-family: "Halvar Breitschrift DEMO";
    src: url("../assets/fonts/Halvar-Breitschrift-Regular-Demo.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Halvar Breitschrift DEMO";
    src: url("../assets/fonts/Halvar-Breitschrift-Bold-Demo.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Benzin-Bold";
    src: url("../assets/fonts/benzin-bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-body: "Halvar Breitschrift DEMO", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-display: "Benzin-Bold", var(--font-body);
    --ink: #0e0e0b;
    --muted: #707070;
    --muted-2: #b4b4b4;
    --white: #fafafa;
    --panel: #f2f2f2;
    --bg: #fafafa;
    --lime: #b6e230;
    --lime-dark: #7d9e1a;
    --radius: 11px;
    --radius-lg: 15px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding-top: 88px;
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.5;
}

h1, h2, h3 {
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h1, h2 {
    font-family: var(--font-display);
}

h3 {
    font-family: var(--font-body);
}

/* ---------- Scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

p {
    margin: 0;
    font-weight: 400;
}

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

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.container {
    width: 100%;
    max-width: 1332px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Section title ---------- */
.section-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--ink);
    opacity: 0.44;
    margin: 0 0 28px;
}

.section-title img {
    height: 14px;
    width: auto;
    display: inline-block;
}

/* ---------- Buttons ---------- */
.arrow-icon {
    width: 22px;
    height: 22px;
    display: block;
}

.arrow-circle {
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    background: var(--ink);
    color: var(--white);
}

.arrow-circle--dark {
    background: var(--ink);
    color: var(--white);
}

.arrow-circle--lime {
    background: var(--lime);
    color: var(--ink);
}

.arrow-circle--white {
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 1px 4px rgba(14, 14, 11, 0.18);
}

.btn-lime,
.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 10px 10px 10px 20px;
    border-radius: 999px;
    font-weight: 400;
    font-size: 1rem;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.btn-lime {
    background: var(--lime);
    color: var(--ink);
}

.btn-dark {
    background: var(--ink);
    color: var(--lime);
}

.btn-lime:hover,
.btn-dark:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

.btn-plain {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-plain-text-wrap {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
}

.btn-plain-text {
    font-weight: 400;
    font-size: 1.1rem;
    white-space: nowrap;
}

.btn-plain-line {
    height: 1px;
    background: var(--ink);
    width: 100%;
}

/* ---------- Nav ---------- */
.nav-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--white);
    padding: 0;
}

.nav {
    padding: 20px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    gap: 36px;
    font-weight: 500;
}

.nav-logo img {
    height: 32px;
    width: auto;
}

/* ---------- Hero ---------- */
.hero {
    padding: 80px 0 96px;
}

.hero-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    line-height: 1.05;
    text-transform: uppercase;
}

.hero-sub {
    color: var(--muted);
    font-size: 0.9rem;
    max-width: 460px;
    line-height: 1.4;
    font-weight: 400;
}

.hero-image {
    height: clamp(280px, 45vw, 490px);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Stats ---------- */
.stats {
    padding: 64px 0 48px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 56px;
}

.stat-number {
    display: block;
    font-weight: 800;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    letter-spacing: 0.01em;
    color: var(--ink);
    line-height: 1.1;
}

.stat-rule {
    border: none;
    border-top: 1px solid rgba(14, 14, 11, 0.15);
    margin: 14px 0;
}

.stat-label {
    font-weight: 600;
    font-size: 1rem;
    color: var(--ink);
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.4;
}

/* ---------- Why Us ---------- */
.why-us {
    padding: 48px 0 96px;
}

.why-copy {
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 960px;
    margin-bottom: 36px;
}

.why-grid {
    display: grid;
    grid-template-columns: 44% 1fr;
    gap: 24px;
    align-items: stretch;
}

.why-media {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 360px;
}

.why-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-media-cta {
    position: absolute;
    right: 20px;
    bottom: 20px;
}

.why-values {
    background: var(--panel);
    border-radius: var(--radius);
    padding: 28px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.why-values hr {
    border: none;
    border-top: 1px solid rgba(14, 14, 11, 0.12);
    margin: 0;
}

.why-value h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.why-value p {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.4;
}

/* ---------- Services / Carousel ---------- */
.services {
    padding: 48px 0 96px;
}

.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.section-title-row .section-title {
    margin-bottom: 0;
}

.carousel-nav {
    display: flex;
    gap: 12px;
}

.carousel-nav .arrow-circle {
    cursor: pointer;
    border: none;
    width: 30px;
    height: 30px;
    transition: opacity 0.25s ease;
}

.carousel-nav .arrow-circle:hover {
    opacity: 0.8;
}

.carousel {
    position: relative;
}

.carousel-track-wrap {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    margin: 0 -12px;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-slide {
    flex: 0 0 100%;
    padding: 4px 12px;
}

@media (min-width: 700px) {
    .carousel-slide {
        flex: 0 0 50%;
    }
}

@media (min-width: 1000px) {
    .carousel-slide {
        flex: 0 0 25%;
    }
}

.service-card {
    position: relative;
    height: 374px;
    border-radius: var(--radius);
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.45);
}

.service-top,
.service-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-num {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--white);
}

.service-pill {
    background: var(--white);
    color: var(--ink);
    font-weight: 400;
    font-size: 1rem;
    padding: 8px 15px;
    border-radius: 20px;
}

.service-bottom {
    align-items: flex-end;
}

.service-bottom p {
    color: rgba(250, 250, 250, 0.85);
    font-size: 0.75rem;
    line-height: 1.3;
    max-width: 75%;
}

.service-arrow {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.carousel-scrollbar {
    position: relative;
    height: 2px;
    width: 100%;
    background: rgba(14, 14, 11, 0.12);
    border-radius: 2px;
    margin-top: 32px;
    cursor: pointer;
}

.carousel-scrollbar-thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: left 0.5s cubic-bezier(0.22, 1, 0.36, 1), width 0.3s ease;
}

/* ---------- Projects ---------- */
.projects {
    padding: 48px 0 96px;
}

.project-list {
    display: flex;
    flex-direction: column;
}

.project-row {
    display: block;
}

.project-row hr {
    border: none;
    border-top: 1px solid rgba(14, 14, 11, 0.15);
    margin: 0 0 18px;
}

.project-row-inner {
    display: grid;
    grid-template-columns: minmax(160px, 220px) 1fr minmax(220px, 443px);
    gap: 24px;
    align-items: start;
    padding-bottom: 60px;
}

.project-row-inner h3 {
    font-size: 1rem;
}

.project-row-inner p {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.4;
}

.project-media {
    height: 295px;
    border-radius: var(--radius);
    overflow: hidden;
}

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-row:hover .project-media img {
    transform: scale(1.06);
}

.project-cta {
    float: right;
}

/* ---------- Single Project ---------- */
.project-hero {
    padding: 48px 0 96px;
}

.project-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.project-title {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    line-height: 1.05;
    text-transform: uppercase;
    white-space: nowrap;
}

.project-desc {
    color: var(--muted);
    font-size: 0.85rem;
    max-width: 360px;
    line-height: 1.3;
}

.project-next {
    flex-shrink: 0;
}

.project-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-gallery-main {
    height: clamp(280px, 45vw, 490px);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.project-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.project-gallery-item {
    height: clamp(220px, 30vw, 490px);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.project-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Footer ---------- */
.site-footer {
    padding: 48px 0 0;
    overflow: hidden;
}

.footer-cta {
    background: var(--lime);
    border-radius: var(--radius-lg);
    padding: 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-cta h2 {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    text-transform: uppercase;
    max-width: 700px;
}

.footer-cta p {
    color: var(--lime-dark);
    font-size: 1.05rem;
    max-width: 560px;
}

.footer-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: 60px 0 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    line-height: 1.2;
}

.footer-brand img {
    height: 28px;
    width: auto;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 0.95rem;
}

.footer-contact {
    font-size: 0.95rem;
}

.footer-contact-title {
    color: var(--ink);
    margin-bottom: 20px;
}

.footer-contact-info {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-wordmark {
    width: 100%;
    height: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 32px;
    }

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

    .why-media {
        min-height: 280px;
    }

    .project-row-inner {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .project-media {
        height: 220px;
        order: -1;
    }

    .project-gallery-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
    }

    .hero-header {
        align-items: flex-start;
    }

    .footer-cta {
        padding: 36px 24px;
    }
}
