@import url('https://fonts.cdnfonts.com/css/pp-neue-montreal');

:root {
    --bg: #f4f3ef;
    --fg: #1f1f1f;
    --loader-bg: #e4e2d9;
    --stroke: rgba(0, 0, 0, 0.18);

    /* Primary Palette: Teal, Light Grey, Burnt Orange */
    --teal: #2f6b61;
    --teal-dark: #1e4d46;
    --teal-light: #44897d;
    --burnt-orange: #d95d39;
    --burnt-orange-dark: #b54728;
    --burnt-orange-light: #e87b5c;
    --light-grey: #f4f3ef;
    --light-grey-alt: #eae8e1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PP Neue Montreal', Arial, sans-serif;
    color: var(--fg);
    background-color: var(--bg);
}

html.is-loading,
body.is-loading {
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
    font-size: 6rem;
    font-weight: 500;
    letter-spacing: -0.1rem;
    line-height: 1.1;
}

h2 {
    font-size: 1.75rem;
    font-weight: 500;
    letter-spacing: -0.02rem;
    line-height: 1.1;
}

a,
p {
    color: var(--fg);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 550;
    overflow: hidden;
    line-height: 1;
}

.hero {
    position: relative;
    width: 100vw;
    height: 100svh;
    background-color: var(--bg);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--loader-bg);
    transform-origin: bottom;
    transform: scaleY(0);
}

.counter {
    position: fixed;
    right: 3rem;
    bottom: 2rem;
    display: flex;
    height: 120px;
    font-size: 120px;
    line-height: 150px;
    clip-path: polygon(0 0, 100% 0, 100% 120px, 0 120px);
}

.digit {
    position: relative;
    top: -15px;
}

.numioffset1 {
    position: relative;
    right: -30px;
}

.numioffset2 {
    position: relative;
    right: -15px;
}

.images-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    contain: layout paint;
    z-index: 1;
}

.images-container .img {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 20%;
    aspect-ratio: 5/3;
    border-radius: 0.75rem;
    overflow: hidden;
    contain: layout paint;
    backface-visibility: hidden;
}

.images-container .img.animate-out {
    top: unset;
    left: unset;
    bottom: 1.5rem;
    right: 1.5rem;
}

.divider {
    background-color: var(--stroke);
}

nav {
    position: relative;
    width: 100vw;
    height: 5rem;
    padding: 1.5rem 1.5rem 1.5rem 7.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
}

.logo-name a {
    font-size: 1.5rem;
}

.nav-items,
.links {
    display: flex;
    align-items: center;
}

.nav-items {
    gap: 7.5rem;
}

.links {
    gap: 0.9rem;
}

nav>.divider {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    transform-origin: left;
    transform: scaleX(0);
}

.sidebar {
    position: absolute;
    top: 0;
    left: 0;
    width: 5rem;
    height: 100svh;
    padding-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 4;
}

.sidebar .logo {
    width: 5rem;
    aspect-ratio: 10/7;
    transform: scale(0);
}

.sidebar .divider {
    position: absolute;
    left: auto;
    right: 0;
    top: 0;
    bottom: auto;
    width: 1px;
    height: 100svh;
    background-color: rgba(0, 0, 0, 0.28);
    opacity: 1;
    transform-origin: top;
    transform: scaleY(0);
}

.header {
    position: absolute;
    top: 35%;
    left: 7.5rem;
    transform: translateY(-50%);
    width: 60%;
}

.site-info {
    position: absolute;
    right: 1.5rem;
    top: 60%;
    transform: translateY(-50%);
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.site-info .divider {
    width: 100%;
    height: 1px;
    transform-origin: left;
    transform: scaleX(0);
}

.site-info-copy {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-footer {
    position: absolute;
    bottom: 1.5rem;
    left: 7.5rem;
    z-index: 5;
}

.hero-footer a {
    text-decoration: none;
    color: var(--fg);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.hero-footer a:hover {
    color: var(--burnt-orange);
    transform: translateX(4px);
}

.line {
    overflow: hidden;
}

.about {
    min-height: 100vh;
    padding: clamp(5rem, 8vw, 7rem) 1.5rem 6rem 7.5rem;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #f1efe7 0%, #e9e4d8 100%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(3rem);
    transition: opacity 0.7s ease, transform 0.7s ease, visibility 0s linear 0.7s;
}

body.is-ready .about {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.about-inner {
    width: min(1200px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.about-copy {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-kicker {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
    opacity: 0.65;
}

.about-copy h2 {
    max-width: none;
    width: fit-content;
    font-size: clamp(2.4rem, 4.2vw, 4.75rem);
    line-height: 1;
    letter-spacing: -0.08rem;
    white-space: nowrap;
}

.about-body {
    max-width: 42rem;
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.7;
    color: rgba(31, 31, 31, 0.82);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.about-card {
    padding: 1.25rem;
    border: 1px solid rgba(31, 31, 31, 0.12);
    border-radius: 1.25rem;
    background-color: rgba(255, 255, 255, 0.48);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px rgba(31, 31, 31, 0.08);
}

.about-card strong {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.about-card p {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    color: rgba(31, 31, 31, 0.72);
}

.image-container {
    position: relative;
    min-height: min(70vh, 42rem);
    border-radius: 1.5rem;
    overflow: hidden;
    background-color: #d8d2c6;
    box-shadow: 0 30px 60px rgba(31, 31, 31, 0.12);
}

.image-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.32) 100%);
    z-index: 1;
}

.image-container img {
    height: 100%;
}

.about-badge {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 2;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1rem;
    background-color: rgba(20, 20, 20, 0.42);
    backdrop-filter: blur(10px);
}

.about-badge p {
    color: #f7f2e7;
}

.about-badge p:first-child {
    margin-bottom: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
}

.about-badge p:last-child {
    font-size: 1.1rem;
    font-weight: 550;
    line-height: 1.2;
}

.line span {
    position: relative;
    display: block;
    transform: translateY(125%);
    will-change: transform;
}


.steps {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(180deg, #ece7da 0%, #e4ded1 100%);
    overflow: hidden;
}

.steps::before {
    content: "";
    position: absolute;
    inset: 1.5rem;
    border: 1px solid rgba(31, 31, 31, 0.1);
    border-radius: 1.5rem;
    pointer-events: none;
}

.steps::after {
    content: "";
    position: absolute;
    inset: auto 1.5rem 1.5rem auto;
    width: min(28vw, 20rem);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47, 107, 97, 0.16) 0%, rgba(47, 107, 97, 0) 70%);
    pointer-events: none;
}

.steps-shell {
    position: relative;
    width: 100%;
    height: 100vh;
    padding: 2rem 1.5rem 2rem 7.5rem;
}

.steps-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(18rem, 32rem) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: center;
    width: 100%;
    height: 100%;
}

.steps-reverse .steps-content {
    order: 2;
}

.steps-reverse .steps-stage {
    order: 1;
    padding-left: 0;
    padding-right: clamp(1.5rem, 3vw, 2.5rem);
}

.steps-reverse .steps-stage::before {
    left: auto;
    right: 0;
}

.steps-reverse .steps-stage::after {
    left: auto;
    right: -1px;
}



/* =============================================
   PROJECTS SECTION — Split-screen scroll reveal
   ============================================= */

/* =============================================
   PROJECTS SECTION — Integrated Split Scroll
   ============================================= */

.proj-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: #141414;
    color: #f1efe7;
    overflow: hidden;
}

/* Site signature inner border frame */
.proj-section::before {
    content: "";
    position: absolute;
    inset: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    pointer-events: none;
    z-index: 10;
}

/* Accent glow background */
.proj-section::after {
    content: "";
    position: absolute;
    inset: auto 1.5rem 1.5rem auto;
    width: min(30vw, 22rem);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47, 107, 97, 0.18) 0%, rgba(47, 107, 97, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

/* Shell & Layout matching .steps-shell and .steps-layout */
.proj-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: minmax(18rem, 32rem) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: center;
    width: 100%;
    height: 100vh;
    padding: 2rem 2.5rem 2rem 7.5rem;
    z-index: 2;
}

/* ---- LEFT SIDE (Text Content) ---- */
.proj-left {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

/* Intro text block */
.proj-intro {
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    will-change: opacity, transform;
}

.proj-kicker {
    color: var(--burnt-orange);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
}

.proj-heading {
    max-width: 100%;
    font-size: clamp(2rem, 3.2vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.05rem;
    color: #f1efe7;
    word-break: break-word;
}

.proj-body {
    max-width: 100%;
    color: rgba(241, 239, 231, 0.65);
    font-size: clamp(0.92rem, 1.05vw, 1.05rem);
    font-weight: 500;
    line-height: 1.6;
}

/* Project text panels */
.proj-panel {
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    opacity: 0;
    pointer-events: none;
    will-change: opacity, transform;
}

.proj-panel[aria-hidden="false"] {
    pointer-events: auto;
}

.proj-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.proj-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(47, 107, 97, 0.4);
    border-radius: 999px;
    background: rgba(47, 107, 97, 0.14);
    color: var(--teal-light);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    line-height: 1;
}

.proj-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(217, 93, 57, 0.3);
    border-radius: 999px;
    background: rgba(217, 93, 57, 0.1);
    color: var(--burnt-orange-light);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    line-height: 1;
}

.proj-title {
    font-size: clamp(1.8rem, 3vw, 3.2rem);
    font-weight: 550;
    line-height: 1.05;
    letter-spacing: -0.04rem;
    color: #f1efe7;
}

.proj-desc {
    color: rgba(241, 239, 231, 0.65);
    font-size: clamp(0.92rem, 1.05vw, 1.05rem);
    font-weight: 500;
    line-height: 1.6;
}

.proj-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    width: fit-content;
    margin-top: 0.5rem;
    padding: 0.8rem 1.4rem;
    border: 1px solid rgba(47, 107, 97, 0.4);
    border-radius: 999px;
    background: rgba(47, 107, 97, 0.14);
    color: var(--teal-light);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.proj-link:hover {
    background: rgba(47, 107, 97, 0.3);
    border-color: rgba(47, 107, 97, 0.7);
    color: #f1efe7;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(47, 107, 97, 0.25);
}

.proj-link svg {
    transition: transform 0.22s ease;
    flex-shrink: 0;
    stroke: currentColor;
}

.proj-link:hover svg {
    transform: translateX(3px);
}

/* Progress dots pinned at bottom left */
.proj-dots {
    position: absolute;
    bottom: 2.5rem;
    left: 7.5rem;
    display: flex;
    gap: 0.55rem;
    align-items: center;
    z-index: 5;
}

.proj-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(241, 239, 231, 0.2);
    transition: background 0.3s ease, transform 0.3s ease, width 0.3s ease;
}

.proj-dot.active {
    background: var(--burnt-orange);
    width: 22px;
    border-radius: 3px;
}

/* ---- RIGHT SIDE (Media Viewport) ---- */
.proj-right {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem 2.5rem 0;
}

.proj-img-wrap {
    position: relative;
    width: 100%;
    height: min(72vh, 580px);
    border-radius: 1.5rem;
    overflow: hidden;
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.proj-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    will-change: opacity, transform;
    transform: scale(1.04);
}

/* Vignette overlay */
.proj-img-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.45) 100%);
    pointer-events: none;
    z-index: 2;
}

.proj-img[data-proj-img="0"] {
    opacity: 1;
    transform: scale(1);
}

/* Image counter overlay */
.proj-img-counter {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 4;
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(15, 15, 15, 0.65);
    backdrop-filter: blur(12px);
}

.proj-img-current {
    font-size: 0.95rem;
    font-weight: 650;
    color: #f1efe7;
    line-height: 1;
}

.proj-img-sep {
    font-size: 0.75rem;
    color: rgba(241, 239, 231, 0.4);
    line-height: 1;
}

.proj-img-total {
    font-size: 0.75rem;
    color: rgba(241, 239, 231, 0.5);
    font-weight: 500;
    line-height: 1;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .proj-section::before {
        inset: 0.75rem;
        border-radius: 1.25rem;
    }

    .proj-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 1.25rem 1.5rem 1.25rem;
        height: 100vh;
        height: 100svh;
        overflow: hidden;
    }

    .proj-right {
        order: 1;
        width: 100%;
        height: 46%;
        min-height: 200px;
        padding: 0;
    }

    .proj-left {
        order: 2;
        position: relative;
        width: 100%;
        flex: 1;
        min-height: 0;
        padding: 0;
    }

    .proj-img-wrap {
        height: 100%;
        max-height: none;
        border-radius: 1rem;
    }

    .proj-intro,
    .proj-panel {
        position: absolute;
        inset: 0 0 2.2rem 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.6rem;
        padding: 0;
    }

    .proj-kicker {
        font-size: 0.72rem;
        letter-spacing: 0.14rem;
    }

    .proj-heading {
        font-size: clamp(1.3rem, 4.5vw, 1.75rem);
        line-height: 1.1;
    }

    .proj-body {
        font-size: 0.86rem;
        line-height: 1.45;
    }

    .proj-num,
    .proj-tag {
        font-size: 0.65rem;
        padding: 0.45rem 0.7rem;
    }

    .proj-title {
        font-size: clamp(1.35rem, 5vw, 1.85rem);
        line-height: 1.1;
    }

    .proj-desc {
        font-size: 0.86rem;
        line-height: 1.45;
    }

    .proj-link {
        margin-top: 0.2rem;
        padding: 0.65rem 1.15rem;
        font-size: 0.7rem;
    }

    .proj-dots {
        position: absolute;
        bottom: 0;
        left: 0;
        height: 1.5rem;
        margin-bottom: 0;
        z-index: 10;
    }
}

@media (max-width: 640px) {
    .proj-wrapper {
        padding: 1.25rem 1rem 1.25rem 1rem;
    }

    .proj-right {
        height: 42%;
    }

    .proj-heading {
        font-size: clamp(1.15rem, 4.5vw, 1.5rem);
    }

    .proj-title {
        font-size: clamp(1.2rem, 5vw, 1.6rem);
    }

    .proj-desc,
    .proj-body {
        font-size: 0.82rem;
        line-height: 1.4;
    }
}




.steps-content {
    position: relative;
    z-index: 2;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-block: 0.5rem;
    max-width: 100%;
    overflow: hidden;
}

.steps-intro {
    position: relative;
    z-index: 2;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.steps-kicker {
    color: rgba(31, 31, 31, 0.62);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
}

.steps-intro h2 {
    max-width: 100%;
    font-size: clamp(2.2rem, 3.5vw, 3.8rem);
    line-height: 1.02;
    letter-spacing: -0.05rem;
    color: var(--fg);
    word-break: break-word;
    overflow-wrap: break-word;
}

.steps-copy {
    max-width: 100%;
    color: rgba(31, 31, 31, 0.72);
    font-size: clamp(0.95rem, 1.1vw, 1.08rem);
    font-weight: 500;
    line-height: 1.6;
}

.steps-stage {
    position: relative;
    --divider-progress: 0;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    padding-left: clamp(1.5rem, 3vw, 2.5rem);
}

.steps-stage::before {
    content: "";
    position: absolute;
    top: 1rem;
    bottom: 1rem;
    left: 0;
    width: 1px;
    background: linear-gradient(180deg, rgba(31, 31, 31, 0) 0%, rgba(31, 31, 31, 0.18) 12%, rgba(31, 31, 31, 0.18) 88%, rgba(31, 31, 31, 0) 100%);
    pointer-events: none;
}

.steps-stage::after {
    content: "";
    position: absolute;
    top: 1rem;
    bottom: 1rem;
    left: -1px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(31, 31, 31, 0.2) 0%, rgba(31, 31, 31, 0.72) 45%, rgba(31, 31, 31, 0.92) 100%);
    box-shadow: 0 0 18px rgba(31, 31, 31, 0.18);
    transform: scaleY(var(--divider-progress, 0));
    transform-origin: top center;
    pointer-events: none;
}

.cards {
    position: relative;
    top: 40;
    left: 0;
    transform: translate(-50%, -50%);
    width: min(120%, 72rem);
    height: min(76vh, 620px);
    will-change: transform;
}

::-webkit-scrollbar {
    display: none;
}

.card {
    position: absolute;
    width: 340px;
    height: 520px;
    top: 50%;
    left: 50%;
    transform-origin: center center;
    margin-left: -170px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    background: linear-gradient(160deg, rgba(20, 20, 20, 0.95) 0%, rgba(14, 14, 14, 0.98) 100%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 0.5px rgba(255, 255, 255, 0.04) inset;
    backdrop-filter: blur(18px);
    will-change: transform;
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65), 0 0 30px rgba(47, 107, 97, 0.10) inset;
}

.card-img {
    position: relative;
    flex: 1;
    border-radius: 1rem;
    overflow: hidden;
}

.card-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.0) 30%, rgba(0, 0, 0, 0.38) 100%);
}

/* Teal accent line at top of card image */
.card-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(47, 107, 97, 0.7), transparent);
    z-index: 1;
    border-radius: 999px;
}

.card-content {
    width: 100%;
    min-height: 135px;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 0.15rem;
}

.card-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.card-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(47, 107, 97, 0.35);
    border-radius: 999px;
    background-color: rgba(47, 107, 97, 0.12);
    color: var(--teal-light);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.card-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(217, 93, 57, 0.25);
    border-radius: 999px;
    background-color: rgba(217, 93, 57, 0.08);
    color: var(--burnt-orange-light);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.card-copy {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.card-content h3 {
    color: #f1efe7;
    font-size: 1.4rem;
    font-weight: 550;
    line-height: 1.05;
    letter-spacing: -0.03rem;
}

.card-content p {
    text-align: left;
    color: rgba(241, 239, 231, 0.58);
    font-size: 0.96rem;
    font-weight: 500;
    line-height: 1.5;
}

.card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-top: auto;
    padding: 0.8rem 1.4rem;
    border: 1px solid rgba(47, 107, 97, 0.4);
    border-radius: 999px;
    background: rgba(47, 107, 97, 0.14);
    color: var(--teal-light);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.card-button:hover {
    background: rgba(47, 107, 97, 0.28);
    border-color: rgba(47, 107, 97, 0.7);
    color: #f1efe7;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(47, 107, 97, 0.20);
}

.projects-showcase .count,
.projects-showcase .step-counter {
    max-width: 18rem;
}

.projects-showcase .step-counter h1 {
    font-size: clamp(4.7rem, 7vw, 8.5rem);
    letter-spacing: -0.055em;
    color: rgba(241, 239, 231, 0.12);
    -webkit-text-stroke: 1px rgba(241, 239, 231, 0.18);
}

.step-counter {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 2rem;
}

.counter-title,
.count {
    position: relative;
    width: 100%;
    max-width: 15rem;
    height: 150px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    overflow: hidden;
}

.count {
    top: 0;
    display: flex;
    align-items: flex-start;
}

.count-container {
    position: relative;
    display: flex;
    flex-direction: column;
    transform: translateY(150px);
    will-change: transform;
}

.step-counter h1 {
    width: 100%;
    position: relative;
    color: rgba(31, 31, 31, 0.96);
    display: flex;
    align-items: center;
    height: 150px;
    text-transform: uppercase;
    font-family: "PP Monument Extended", "PP Neue Montreal", Arial, sans-serif;
    font-weight: 900;
    font-size: clamp(5rem, 8vw, 9.375rem);
    line-height: 1;
    letter-spacing: -0.04em;
    white-space: nowrap;
    will-change: transform;
}

.empty {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 1000px) {
    h1 {
        font-size: 2.5rem;
        letter-spacing: -0.05rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    nav .links {
        display: none;
    }

    .images-container .img {
        width: 30%;
    }

    .header {
        top: 25%;
        left: 6.5rem;
        width: calc(100% - 8rem);
    }

    .site-info {
        width: calc(100% - 8rem);
        right: unset;
        left: 6.5rem;
    }

    .hero-footer {
        left: 6.5rem;
    }

    .about {
        padding-left: 1.5rem;
    }

    .about-inner {
        grid-template-columns: 1fr;
    }

    .about-copy h2 {
        max-width: 100%;
        width: 100%;
        white-space: normal;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .image-container {
        min-height: 28rem;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1.25rem 1.25rem 1.25rem 1.25rem;
    }

    .sidebar {
        display: none;
    }

    .header {
        top: 22%;
        left: 1.25rem;
        width: calc(100% - 2.5rem);
    }

    .header h1 {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .site-info {
        top: 52%;
        left: 1.25rem;
        width: calc(100% - 2.5rem);
    }

    .site-info h2 {
        font-size: 1.2rem;
    }

    .hero-footer {
        left: 1.25rem;
        bottom: 1.5rem;
    }

    .hero-footer h2 {
        font-size: 1.15rem;
    }
}

@media (max-width: 640px) {
    .about {
        min-height: auto;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .about-copy {
        gap: 1.25rem;
    }

    .about-copy h2 {
        font-size: clamp(1.2rem, 8vw, 3rem);
    }

    .about-body {
        font-size: 1rem;
    }

    .image-container {
        min-height: 22rem;
    }

    .about-badge {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        padding: 0.9rem 1rem;
    }
}

@media(max-width: 900px) {
    .steps-shell {
        padding: 1.25rem 1rem 1rem 1rem;
        height: 100vh;
        height: 100svh;
    }

    .steps-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        gap: 0.75rem;
        align-items: start;
        height: 100%;
    }

    .steps-reverse .steps-content,
    .steps-reverse .steps-stage {
        order: initial;
    }

    .steps-reverse .steps-stage {
        padding-right: 0;
    }

    .projects-showcase .steps-intro h2 {
        max-width: 100%;
    }

    .projects-showcase .count,
    .projects-showcase .step-counter {
        max-width: 11rem;
    }

    .steps-content {
        min-height: auto;
        gap: 0.5rem;
        padding-block: 0;
    }

    .steps-intro {
        max-width: none;
        gap: 0.5rem;
    }

    .steps-intro h2 {
        max-width: 100%;
        font-size: clamp(1.5rem, 5vw, 2.1rem);
        line-height: 1.05;
    }

    .steps-copy {
        max-width: 100%;
        font-size: 0.88rem;
        line-height: 1.35;
    }

    .step-counter {
        align-items: flex-start;
        margin-top: 0;
        padding-top: 0;
    }

    .counter-title {
        height: 30px;
    }

    .counter-title h1 {
        font-size: 30px;
    }

    .count {
        top: 0px;
        max-width: 10rem;
    }

    .steps-stage {
        position: relative;
        width: 100%;
        height: 100%;
        min-height: 420px;
        padding-left: 0;
        overflow: visible;
    }

    .steps-stage::before {
        display: none;
    }

    .steps-stage::after {
        display: none;
    }

    .cards {
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: 100%;
    }

    .card {
        width: clamp(264px, 82.5vw, 307px);
        height: clamp(379px, 55vh, 439px);
        top: 50%;
        left: 50%;
        margin-left: calc(clamp(264px, 82.5vw, 307px) / -2);
        margin-top: calc(clamp(379px, 55vh, 439px) / -2 + 10px);
        padding: 0.75rem;
    }



    .card-content {
        min-height: 100px;
        gap: 0.5rem;
    }

    .card-content h3 {
        font-size: 1.1rem;
    }

    .card-content p {
        font-size: 0.84rem;
        line-height: 1.35;
    }
}

/* Get in Touch Section */
.get-in-touch {
    background-color: #1f1f1f;
    color: #f1efe7;
    min-height: auto;
    padding: clamp(5rem, 8vw, 7rem) 1.5rem 4rem 7.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Accent glow background */
.get-in-touch::after {
    content: "";
    position: absolute;
    inset: auto 1.5rem 1.5rem auto;
    width: min(30vw, 22rem);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(241, 239, 231, 0.05) 0%, rgba(241, 239, 231, 0) 70%);
    pointer-events: none;
}

.contact-inner {
    width: min(1200px, 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(3rem, 5vw, 5rem);
}

.contact-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-kicker {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
    color: rgba(241, 239, 231, 0.6);
}

.contact-header h2 {
    max-width: none;
    width: fit-content;
    font-size: clamp(2.4rem, 4.2vw, 4.75rem);
    line-height: 1;
    letter-spacing: -0.08rem;
    white-space: nowrap;
    color: #f1efe7;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
}

.contact-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Info Items */
.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.info-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: rgba(241, 239, 231, 0.45);
}

.info-link,
.info-text {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 500;
    color: #f1efe7;
    transition: color 0.3s ease, transform 0.3s ease;
    width: fit-content;
}

.info-link:hover {
    color: #b9b4a7;
    transform: translateX(4px);
}

.info-icon {
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    stroke: #f1efe7;
}

.info-link:hover .info-icon {
    opacity: 1;
    stroke: #b9b4a7;
}

/* Hours Card */
.hours-card {
    padding: 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    background-color: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hours-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hours-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02rem;
    color: #f1efe7;
}

.hours-icon {
    stroke: #f1efe7;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 500;
    padding-bottom: 0.25rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.04);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row .day {
    color: rgba(241, 239, 231, 0.85);
}

.hours-row .time {
    color: #f1efe7;
    font-weight: 600;
}

.highlight-sunday {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 0.5rem 0.75rem;
    margin: 0 -0.75rem;
    border-radius: 0.5rem;
    border-bottom: none;
}

.highlight-sunday .day {
    color: #f1efe7;
    font-weight: 600;
}

.highlight-sunday .time {
    color: #b9b4a7;
}

/* Footer Section */
.contact-footer {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: clamp(1rem, 2vw, 2rem);
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.copyright {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(241, 239, 231, 0.5);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(241, 239, 231, 0.5);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f1efe7;
}

@media (min-width: 1001px) {
    .info-col {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(2rem, 5vw, 6rem);
        align-items: end;
    }

    .info-item {
        min-width: 0;
    }

    .info-link,
    .info-text {
        max-width: 100%;
        font-size: clamp(1.05rem, 1.5vw, 1.45rem);
        line-height: 1.2;
    }

    .contact-footer {
        margin-top: clamp(2rem, 4vw, 4rem);
    }
}

/* Responsive updates */
@media (max-width: 1000px) {
    .get-in-touch {
        padding-left: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-header h2 {
        white-space: normal;
    }

    .info-link,
    .info-text {
        font-size: clamp(1.2rem, 3.5vw, 1.6rem);
    }
}

@media (max-width: 640px) {
    .get-in-touch {
        padding-top: 4rem;
        padding-bottom: 3rem;
    }

    .contact-inner {
        gap: 2.5rem;
    }

    .contact-header h2 {
        font-size: clamp(1.2rem, 8vw, 3rem);
    }

    .hours-card {
        padding: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-links {
        width: 100%;
        justify-content: space-between;
        gap: 1rem;
    }
}
