/* =========================================================
   CAMP LOGIC — stylesheet
   Mobile-first: unqualified rules are the small-screen layout.
   Each component's tablet/desktop variants live in min-width
   media queries directly beneath it, so the responsive story
   for one component stays in one place.
   ========================================================= */

:root {
    --bg: #ede6d6;
    --bg-alt: #e3d9bf;
    --card: #f8f3e6;
    --ink: #201d16;
    --ink-soft: #5a5546;
    --green: #46583a;
    --green-dark: #2b3524;
    --rust: #9c4a2b;
    --rust-soft: #c97a54;
    --gold: #b8912a;
    --steel: #5c5a4e;
    --line: rgba(32, 29, 22, 0.14);
    --line-strong: rgba(32, 29, 22, 0.28);

    /* shared breakpoints */
    /*
    Baseline (No Media Query)   — Large mobile phones (under 425px ) 
    bp-bl @media (min-width: 425px)   — Large mobile / base line settings
    bp-tb @media (min-width: 768px)   — Tablets (Portrait iPad) 
    bp_lp @media (min-width: 1024px)  — Laptops / Landscape tablets 
    bp-dp @media (min-width: 1200px)  — Desktop monitors 
    bp-xw @media (min-width: 1440px)  — Ultrawide displays

    ##Media used:
    bp-bl @media (min-width: 425px)   — Large mobile / base line settings
    bp_lp @media (min-width: 1024px)  — Laptops / Landscape tablets 
    bp-xw @media (min-width: 1440px)  — Ultrawide displays
    */

    --container-xw: 1440px;
    --container-dp: 1200px;
    --container-lp: 1024px;
    --container-tb: 768px;
    --container-bl: 425px;

    --padding-container-xw: 2rem;
    --padding-container-dp: 1.75rem;
    --padding-container-lp: 1.5rem;
    --padding-container-tb: 1.25rem;
    --padding-container-bl: 1rem;

    /* Font type scale */
    --text-xs: 0.75rem; /* 12px */
    --text-sm: 0.875rem; /* 14px */
    --text-base: 1rem; /* 16px */
    --text-lg: 1.125rem; /* 18px */
    --text-xl: 1.25rem; /* 20px */
    --text-2xl: 1.5rem; /* 24px */
    --text-3xl: 1.875rem; /* 30px */
    --text-4xl: 2.25rem; /* 36px */
    --text-5xl: 3rem; /* 48px */

    /* */
    --height-mainnav: 78px;

    /* Aspect Ratio */
    --aspect-mobile: 1/1;
    --aspect-tablet: 4/3;
    --aspect-desktop: 4/3;
    --aspect-wide: 16/9;
}

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

/* TYPE SCALE CLASSES */
.text-xs {
    font-size: var(--text-xs);
}

.text-sm {
    font-size: var(--text-sm);
}

.text-base {
    font-size: var(--text-base);
}

.text-lg {
    font-size: var(--text-lg);
}

.text-xl {
    font-size: var(--text-xl);
}

.text-2xl {
    font-size: var(--text-2xl);
}

.text-3xl {
    font-size: var(--text-3xl);
}

.text-4xl {
    font-size: var(--text-4xl);
}

.text-5xl {
    font-size: var(--text-5xl);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: "Work Sans", sans-serif;
    font-size: var(--text-xs);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

.wrap {
    max-width: var(--container-bl);
    margin: 0 auto;
    padding: 0 var(--padding-container-bl);
}

@media (min-width: 1024px) {
    .wrap {
        max-width: var(--container-lp);
        padding: 0 var(--padding-container-lp);
    }
}

@media (min-width: 1440px) {
    .wrap {
        max-width: var(--container-xw);
        padding: 0 var(--padding-container-xw);
    }
}

h1,
h2,
h3,
h4 {
    font-family: "Fraunces", serif;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.01em;
}

.eyebrow {
    font-family: "IBM Plex Mono", monospace;
    font-size: var(--text-xs);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
}

.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    background: var(--rust);
    display: inline-block;
}

.eyebrow.light {
    color: rgba(237, 230, 214, 0.8);
}

.eyebrow.light::before {
    background: var(--gold);
}

/* visible keyboard focus everywhere — buttons, links, controls */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--rust);
    outline-offset: 2px;
}

section {
    padding: 1rem 1rem;
}

@media (min-width: 1024px) {
    section {
        padding: 1.25rem 0;
    }
}

.btn {
    font-family: "IBM Plex Mono", monospace;
    font-size: var(--text-xs);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 15px 26px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--rust);
    color: #f8f3e6;
}

.btn-primary:hover {
    background: #823c21;
}

.btn-outline {
    border-color: var(--line-strong);
    color: var(--ink);
}

.btn-outline:hover {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}

.btn-outline.light {
    border-color: rgba(237, 230, 214, 0.4);
    color: #ede6d6;
}

.btn-outline.light:hover {
    background: #ede6d6;
    color: var(--ink);
}

.btn svg {
    width: 14px;
    height: 14px;
}

/* ---------- header ---------- */
.topbar {
    background: var(--ink);
    color: rgba(237, 230, 214, 0.75);
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.04em;
}

.topbar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px var(--padding-container-bl);
}

@media (min-width: 1024px) {
    .topbar .wrap {
        padding: 9px var(--padding-container-lp);
    }
}

@media (min-width: 1440px) {
    .topbar .wrap {
        padding: 9px var(--padding-container-xw);
    }
}

.topbar a:hover {
    color: var(--gold);
}

.topbar .contacts {
    display: flex;
    gap: 22px;
}

.topbar .contacts span:last-child {
    display: none;
}

@media (min-width: 1024px) {
    .topbar .contacts span:last-child {
        display: inline;
    }
}

.topbar .social {
    display: flex;
    gap: 14px;
}

.topbar .social svg {
    width: 14px;
    height: 14px;
}

header.mainnav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(237, 230, 214, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

header.mainnav .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--height-mainnav);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Fraunces", serif;
    font-weight: 700;
    font-size: var(--text-lg);
    letter-spacing: -0.01em;
}

.logo svg {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.logo .sub {
    font-family: "IBM Plex Mono", monospace;
    font-size: 9.5px;
    letter-spacing: 0.18em;
    font-weight: 400;
    color: var(--ink-soft);
    display: block;
    margin-top: -2px;
}

/* nav: hidden off-canvas panel on mobile, becomes an inline bar from 980px */
nav.primary {
    display: none;
}

nav.primary.nav-open {
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 10px 22px 20px;
    z-index: 60;
    box-shadow: 0 16px 24px rgba(32, 29, 22, 0.12);
}

nav.primary .navlink {
    font-family: "Work Sans", sans-serif;
    font-weight: 500;
    font-size: 14.5px;
    padding: 10px 16px;
    position: relative;
}

nav.primary .navlink:hover {
    color: var(--rust);
}

.has-drop {
    position: relative;
}

.dropdown {
    background: var(--card);
    border: 1px solid var(--line);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.18s ease;
    box-shadow: 0 14px 30px rgba(32, 29, 22, 0.12);
}

.dropdown a {
    display: block;
    padding: 12px 18px;
    font-size: 14px;
    border-bottom: 1px solid var(--line);
}

.dropdown a:last-child {
    border-bottom: none;
}

.dropdown a:hover {
    background: var(--bg-alt);
    color: var(--rust);
}

/* mobile: dropdown is a tap-to-expand inline panel (see js/main.js).
   display:none when collapsed so it doesn't reserve empty space in the
   stacked nav list -- opacity/visibility alone would still take up room. */

.has-drop .dropdown {
    position: static;
    margin: 4px 0 8px 12px;
    display: none;
}

.has-drop.dropdown-open .dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navcta {
    margin-left: 0;
    margin-top: 8px;
    justify-content: center;
}

.burger {
    display: flex;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.burger svg {
    width: 24px;
    height: 24px;
}

.nav-close {
    display: none;
}

nav.primary.nav-open .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    width: 36px;
    height: 36px;
    margin-bottom: 4px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink);
}

.nav-close svg {
    width: 20px;
    height: 20px;
}

@media (min-width: 1024px) {
    nav.primary {
        display: flex;
        align-items: center;
        gap: 2px;
        position: static;
        flex-direction: row;
        background: transparent;
        border-bottom: none;
        padding: 0;
        box-shadow: none;
    }

    .has-drop:hover .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .has-drop .dropdown {
        position: absolute;
        top: calc(100% + 2px);
        left: 16px;
        margin: 0;
        display: block;
    }

    .navcta {
        margin-left: 12px;
        margin-top: 0;
    }

    .burger {
        display: none;
    }

    nav.primary.nav-open .nav-close {
        display: none;
    }
}

/* ---------- hero carousel ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--bg);
    padding: 0;
}

.hero-slides {
    position: relative;
    padding: 0;
}

@media (min-width: 1024px) {
    .hero-slides {
        padding: 0;
    }
}

@media (min-width: 1440px) {
    .hero-slides {
        padding: 0;
    }
}

.hero-slide {
    position: relative;
    display: none;
}

.hero-slide.is-active {
    display: block;
}

@media (min-width: 1024px) {
    .hero-slide {
        position: absolute;
        inset: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.7s ease;
        display: block;
    }

    .hero-slide.is-active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        position: relative;
    }
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 18% 30%, rgba(70, 88, 58, 0.1) 0, transparent 45%),
        radial-gradient(circle at 82% 70%, rgba(156, 74, 43, 0.1) 0, transparent 50%),
        repeating-radial-gradient(
            circle at 50% 120%,
            transparent 0 60px,
            rgba(32, 29, 22, 0.035) 61px,
            transparent 62px 120px
        );
}

.hero-slide .wrap {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--padding-container-bl);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

@media (min-width: 1024px) {
    .hero-slide .wrap {
        grid-template-columns: 1.05fr 0.85fr;
        gap: 56px;
        height: 100%;
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
        align-items: center;
    }
}

.hero-slide h1 {
    font-size: clamp(1.5rem, 4vw, 2.7rem);
    margin: 16px 0 18px;
}

@media (min-width: 1024px) {
    .hero-slide h1 {
        font-size: clamp(1.25rem, 2.25vw, 2.25rem);
        margin: 20px 0 20px;
    }
}

.hero-slide h1 em {
    font-style: normal;
    color: var(--rust);
}

.hero-slide p.lede {
    font-size: 0.85rem;
    color: var(--ink-soft);
    max-width: 46ch;
    margin-bottom: var(--padding-container-bl);
}

@media (min-width: 1024px) {
    .hero-slide p.lede {
        font-size: 1.1rem;
        margin-bottom: var(--padding-container-lp);
    }
}

.hero-slide .btns {
    display: flex;
    gap: 14px;
    flex-wrap: nowrap;
    margin-bottom: var(--padding-container-bl);
}

@media (min-width: 1024px) {
    .hero-slide .btns {
        margin-bottom: var(--padding-container-lp);
    }
}

.taglist {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px; /* 16px gap between all items (row and column) */
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--ink-soft);
}

@media (min-width: 1024px) {
    .taglist {
        justify-content: flex-start;
    }
}

.taglist span {
    border-right: 1px solid var(--line-strong);
    border-left: 1px solid var(--line-strong);
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px; /* pill shape */
    text-align: center;
    white-space: nowrap; /* prevents breaking within tags */
}

.hero-photo {
    position: relative;
    aspect-ratio: var(--aspect-mobile);
    border: 1px solid var(--line-strong);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

@media (min-width: 1024px) {
    .hero-photo {
        /* aspect-ratio: var(--aspect-desktop); */
        padding: 22px;
        height: inherit;
    }
}

@media (min-width: 1440px) {
    .hero-photo {
        /* aspect-ratio: var(--aspect-wide); */
        padding: 22px;
        height: inherit;
    }
}

.hero-photo .tag {
    align-self: flex-start;
    background: var(--rust);
    color: #f8f3e6;
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 10px;
    margin-bottom: auto;
}

.hero-photo .cap {
    font-family: "IBM Plex Mono", monospace;
    font-size: 11.5px;
    color: rgba(237, 230, 214, 0.75);
    border-top: 1px solid rgba(237, 230, 214, 0.25);
    padding-top: 12px;
}

.slide-construction .hero-photo {
    background:
        linear-gradient(160deg, rgba(70, 88, 58, 0.9), rgba(43, 53, 36, 0.92)),
        repeating-linear-gradient(115deg, rgba(237, 230, 214, 0.05) 0 2px, transparent 2px 14px);
}

.slide-tents .hero-photo {
    background:
        linear-gradient(160deg, rgba(156, 74, 43, 0.85), rgba(122, 55, 30, 0.92)),
        repeating-linear-gradient(115deg, rgba(237, 230, 214, 0.06) 0 2px, transparent 2px 14px);
}

.slide-modular .hero-photo {
    background:
        linear-gradient(160deg, rgba(92, 90, 78, 0.9), rgba(58, 56, 46, 0.92)),
        repeating-linear-gradient(115deg, rgba(237, 230, 214, 0.05) 0 2px, transparent 2px 14px);
}

.slide-mining .hero-photo {
    background:
        linear-gradient(160deg, rgba(184, 145, 42, 0.75), rgba(43, 53, 36, 0.92)),
        repeating-linear-gradient(115deg, rgba(237, 230, 214, 0.06) 0 2px, transparent 2px 14px);
}

.hero-controls {
    position: static;
    padding-top: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 980px) {
    .hero-controls {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 28px;
        z-index: 3;
        padding-top: 0;
    }
}

/* */
.hero-controls-new {
    position: static;
    padding-top: var(--padding-container-bl);
    padding-bottom: var(--padding-container-bl);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 980px) {
    .hero-controls-new {
        position: relative;
        z-index: 3;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}
/* */

.hc-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: rgba(248, 243, 230, 0.7);
    backdrop-filter: blur(4px);
    font-size: 19px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.hc-arrow:hover {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}

.hc-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
}

.dot.is-active {
    background: var(--rust);
    border-color: var(--rust);
    width: 24px;
    border-radius: 5px;
}

/* ---------- attraction strip (stats) ---------- */
.attract-strip {
    background: var(--rust);
    color: #f8f3e6;
}

.attract-strip .wrap {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}

.attract-item {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 18px;
    border-bottom: 1px solid rgba(248, 243, 230, 0.2);
}

.attract-item:nth-child(3),
.attract-item:nth-child(4) {
    border-bottom: none;
}

.attract-item svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    color: var(--gold);
}

.attract-item .t {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.4;
}

@media (min-width: 800px) {
    .attract-item {
        flex: 1 1 240px;
        padding: 26px 30px;
        border-right: 1px solid rgba(248, 243, 230, 0.2);
        border-bottom: none;
    }

    .attract-item:last-child {
        border-right: none;
    }
}

/* ---------- client marquee ---------- */
.trust {
    background: var(--card);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.trust-inner {
    display: flex;
    align-items: center;
}

.trust-label {
    display: none;
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    white-space: nowrap;
    padding: 30px 32px;
    flex-shrink: 0;
    border-right: 1px solid var(--line);
}

@media (min-width: 700px) {
    .trust-label {
        display: block;
    }
}

.marquee {
    overflow: hidden;
    flex: 1;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 60px, black calc(100% - 60px), transparent);
    mask-image: linear-gradient(90deg, transparent, black 60px, black calc(100% - 60px), transparent);
}

.marquee-track {
    display: flex;
    gap: 64px;
    width: max-content;
    padding: 24px 22px;
    animation: scroll 24s linear infinite;
}

@media (min-width: 720px) {
    .marquee-track {
        padding: 30px 32px;
    }
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-track span {
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 17px;
    color: var(--ink-soft);
    opacity: 0.68;
    white-space: nowrap;
    letter-spacing: -0.01em;
    transition:
        opacity 0.2s,
        color 0.2s;
}

@media (min-width: 1024px) {
    .marquee-track span {
        font-size: 19px;
    }
}

.marquee-track span:hover {
    opacity: 1;
    color: var(--rust);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ---------- flat section strip-head ---------- */
.strip-head {
    padding: 40px 0 34px;
}

@media (min-width: 720px) {
    .strip-head {
        padding: 52px 0 44px;
    }
}

.strip-head.green {
    background: var(--green-dark);
    color: #f4efe1;
}

.strip-head.rust {
    background: var(--rust);
    color: #f8f3e6;
}

.strip-head .eyebrow {
    margin-bottom: 14px;
}

.strip-head h2 {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
    margin-bottom: 12px;
    color: inherit;
}

@media (min-width: 720px) {
    .strip-head h2 {
        font-size: clamp(1.8rem, 3vw, 2.5rem);
    }
}

.strip-head p {
    max-width: 640px;
    font-size: 15px;
    opacity: 0.88;
}

@media (min-width: 720px) {
    .strip-head p {
        font-size: 15.5px;
    }
}

/* ---------- services ---------- */
#services-wrap {
    padding: 0;
}

#services {
    padding: var(--padding-container-bl) 0;
}
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--padding-container-bl);
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1440px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.service-card {
    background: var(--card);
    display: flex;
    flex-direction: column;
    background: var(--bg-card, #ffffff);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.service-card .ph {
    aspect-ratio: 8/5;
    margin-bottom: 0.5rem;
    position: relative;
    background: repeating-linear-gradient(135deg, var(--bg-alt) 0 12px, var(--card) 12px 24px);
    border: 1px solid var(--line);
}

.service-card .ph span {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 10.5px;
    color: var(--ink-soft);
    background: rgba(248, 243, 230, 0.85);
    padding: 3px 7px;
}

.service-card .eyebrow {
    margin-bottom: 12px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--ink-soft);
    font-size: 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card .go {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--rust);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-card .go svg {
    width: 13px;
    height: 13px;
    transition: transform 0.2s;
}

.service-card:hover .go svg {
    transform: translateX(4px);
}

#services-wrap {
    padding-top: 0;
}

@media (min-width: 1024px) {
    #services-wrap {
        padding-top: 0px;
    }
}

/* ---------- why us ---------- */
.why {
    background: var(--steel);
    color: #f4efe1;
}

.why .sec-head {
    max-width: 640px;
    margin-bottom: 40px;
}

@media (min-width: 720px) {
    .why .sec-head {
        margin-bottom: 52px;
    }
}

.why .sec-head p {
    color: rgba(244, 239, 225, 0.75);
}

.why .sec-head h2 {
    color: #f4efe1;
    font-size: clamp(1.7rem, 6vw, 2.7rem);
    margin-bottom: 14px;
}

@media (min-width: 720px) {
    .why .sec-head h2 {
        font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    }
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 560px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .why-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 36px;
    }
}

.why-item svg {
    width: 30px;
    height: 30px;
    color: var(--gold);
    margin-bottom: 18px;
}

.why-item h4 {
    font-size: 1.05rem;
    color: #f4efe1;
    margin-bottom: 10px;
    font-weight: 600;
}

.why-item p {
    font-size: 14.5px;
    color: rgba(244, 239, 225, 0.7);
}

.why-badge {
    margin-top: 44px;
    padding-top: 32px;
    border-top: 1px solid rgba(244, 239, 225, 0.18);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media (min-width: 720px) {
    .why-badge {
        margin-top: 56px;
        padding-top: 40px;
    }
}

.why-badge .pill {
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 14px;
}

.why-badge p {
    font-size: 14.5px;
    color: rgba(244, 239, 225, 0.72);
    max-width: 60ch;
}

/* ---------- projects ---------- */
#projects-wrap {
    padding-top: 48px;
}

@media (min-width: 720px) {
    #projects-wrap {
        padding-top: 64px;
    }
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 900px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
}

.project-card {
    background: var(--card);
    border: 1px solid var(--line);
}

.project-card .ph {
    aspect-ratio: 4/3;
    position: relative;
    background: linear-gradient(160deg, rgba(92, 90, 78, 0.9), rgba(43, 53, 36, 0.85));
    border-bottom: 1px solid var(--line);
}

.project-card .ph span {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 10.5px;
    color: rgba(237, 230, 214, 0.75);
}

.project-body {
    padding: 22px;
}

@media (min-width: 720px) {
    .project-body {
        padding: 24px;
    }
}

.meta-row {
    display: flex;
    justify-content: space-between;
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-soft);
    margin-bottom: 12px;
}

.project-body h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

@media (min-width: 720px) {
    .project-body h3 {
        font-size: 1.2rem;
    }
}

.project-body p {
    font-size: 14.5px;
    color: var(--ink-soft);
    margin-bottom: 16px;
}

.project-body .go {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--rust);
}

.projects-foot {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

@media (min-width: 720px) {
    .projects-foot {
        margin-top: 44px;
    }
}

/* ---------- split banner ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    background: var(--line);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

@media (min-width: 800px) {
    .split {
        grid-template-columns: 1fr 1fr;
    }
}

.split-item {
    background: var(--bg-alt);
    padding: 36px 28px;
    position: relative;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

@media (min-width: 720px) {
    .split-item {
        padding: 56px;
        min-height: 320px;
    }
}

.split-item.dark {
    background: var(--green-dark);
    color: #f4efe1;
}

.split-item.dark p {
    color: rgba(244, 239, 225, 0.75);
}

.split-item.dark .eyebrow {
    color: rgba(244, 239, 225, 0.7);
}

.split-item h3 {
    font-size: 1.5rem;
    margin: 14px 0 12px;
}

@media (min-width: 720px) {
    .split-item h3 {
        font-size: 1.7rem;
    }
}

.split-item p {
    color: var(--ink-soft);
    max-width: 42ch;
    margin-bottom: 20px;
    font-size: 15px;
}

/* ---------- cta ---------- */
.cta {
    background: var(--rust);
    color: #f8f3e6;
    text-align: center;
}

.cta h2 {
    font-size: clamp(1.7rem, 7vw, 2.9rem);
    margin-bottom: 18px;
    color: #fbf6ea;
}

@media (min-width: 720px) {
    .cta h2 {
        font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    }
}

.cta p {
    color: rgba(248, 243, 230, 0.85);
    max-width: 56ch;
    margin: 0 auto 30px;
    font-size: 16px;
}

@media (min-width: 720px) {
    .cta p {
        margin-bottom: 34px;
        font-size: 17px;
    }
}

.cta .btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-outline {
    border-color: rgba(248, 243, 230, 0.5);
    color: #f8f3e6;
}

.cta .btn-outline:hover {
    background: #f8f3e6;
    color: var(--rust);
}

.cta .btn-primary {
    background: var(--green-dark);
}

.cta .btn-primary:hover {
    background: #202817;
}

/* ---------- footer ---------- */
footer {
    background: var(--ink);
    color: rgba(237, 230, 214, 0.68);
    padding: 56px 0 0;
}

@media (min-width: 720px) {
    footer {
        padding: 72px 0 0;
    }
}

.foot-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(237, 230, 214, 0.14);
}

@media (min-width: 520px) {
    .foot-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 800px) {
    .foot-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
        gap: 40px;
        padding-bottom: 56px;
    }
}

footer h5 {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(237, 230, 214, 0.85);
    margin-bottom: 18px;
}

footer .logo {
    color: #f4efe1;
    margin-bottom: 16px;
}

footer .logo .sub {
    color: rgba(237, 230, 214, 0.55);
}

footer p.blurb {
    font-size: 14.5px;
    line-height: 1.6;
    max-width: 34ch;
    margin-bottom: 20px;
}

footer ul li {
    margin-bottom: 11px;
    font-size: 14.5px;
}

footer ul li a:hover {
    color: var(--gold);
}

footer .pill {
    display: inline-block;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 12px;
}

.foot-social {
    display: flex;
    gap: 14px;
    margin-top: 20px;
}

.foot-social svg {
    width: 16px;
    height: 16px;
}

.foot-social a {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(237, 230, 214, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.foot-social a:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.foot-bottom {
    padding: 24px 0 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    color: rgba(237, 230, 214, 0.45);
}

@media (min-width: 600px) {
    .foot-bottom {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    }
}

/* ---------- scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .marquee-track {
        animation: none;
    }

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

    .hero-slide {
        transition: none;
    }
}
