/* ==========================================
   HOLLOW GROVE STUDIO
   Complete Responsive Stylesheet
   Seamless Navy-to-Forest Transition
   ========================================== */

/* 1. DESIGN SYSTEM */

:root {
    --midnight: #0c1c27;
    --navy: #102431;
    --forest: #12372f;
    --forest-dark: #0d2925;

    --parchment: #f2e5ce;
    --parchment-light: #f9f0df;

    --gold: #c99a60;
    --gold-light: #e5b773;
    --copper: #a86645;

    --ink: #17232a;
    --cream: #fff4df;
    --muted: #d9d3c9;

    --font-heading: "Playfair Display", Georgia, serif;
    --font-body: "Montserrat", Arial, sans-serif;

    --container-width: 1200px;
    --section-space: 88px;
}

/* 2. GLOBAL RESET */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--midnight);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
}

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

button {
    font: inherit;
}

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

.container {
    width: min(90%, var(--container-width));
    margin-inline: auto;
}

:focus-visible {
    outline: 3px solid var(--gold-light);
    outline-offset: 4px;
}

/* 3. HEADER AND NAVIGATION */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;

    background: linear-gradient(to bottom,
            rgba(5, 17, 25, 0.94),
            rgba(5, 17, 25, 0.12));
}


.navbar {
    width: 94%;
    max-width: none;
    min-height: 82px;
    margin-inline: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}


.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;

    color: var(--gold-light);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    white-space: nowrap;
}

.logo span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.65rem;
}

.nav-links a {
    font-size: 0.79rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--gold-light);
}

.nav-cta {
    padding: 0.75rem 1.2rem;
    background: var(--gold);
    border-radius: 5px;

    color: var(--ink) !important;
    font-weight: 700 !important;
}

.nav-cta:hover {
    background: var(--gold-light);
}

.menu-toggle {
    display: none;
}

/* 4. SHARED LAYOUT */

.homepage {
    background: var(--midnight);
}

.content-section {
    position: relative;
    padding: var(--section-space) 0;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 3.25rem;
    text-align: center;
}

.eyebrow {
    margin-bottom: 0.7rem;
    color: var(--gold);

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.section-heading h2,
.portfolio-heading h2 {
    margin-bottom: 0.95rem;
    font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.section-heading>p:last-child {
    max-width: 630px;
    margin: 0 auto;
    font-size: 0.93rem;
    line-height: 1.85;
}

/* 5. BUTTONS */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    min-height: 48px;
    padding: 0.85rem 1.5rem;

    border: 1px solid transparent;
    border-radius: 5px;

    font-family: var(--font-body);
    font-size: 0.83rem;
    font-weight: 600;
    text-align: center;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gold);
    color: var(--ink);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
}

.btn-outline {
    background: rgba(8, 22, 31, 0.65);
    border-color: var(--gold);
    color: var(--cream);
}

.btn-outline:hover {
    background: rgba(201, 154, 96, 0.18);
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* 6. HERO SECTION */

.hero {
    position: relative;
    min-height: 590px;

    display: flex;
    align-items: center;

    padding: 130px 0 90px;
    background-color: var(--midnight);

    background-image:
        linear-gradient(90deg,
            rgba(5, 16, 25, 0.93) 0%,
            rgba(5, 16, 25, 0.79) 28%,
            rgba(5, 16, 25, 0.34) 55%,
            rgba(5, 16, 25, 0.02) 100%),
        url("../images/01-hero-cottage.png");

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero .eyebrow {
    color: var(--gold-light);
}

.hero h1 {
    max-width: 620px;
    margin-bottom: 0.7rem;

    color: var(--cream);
    font-size: clamp(3.5rem, 6.5vw, 6rem);
    line-height: 1.06;
    letter-spacing: -0.035em;

    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.35);
}

.hero-tagline {
    margin-bottom: 1.4rem;
    color: var(--gold-light);

    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.7vw, 2.5rem);
    font-style: italic;
}

.hero-description {
    max-width: 460px;
    margin-bottom: 2rem;

    color: var(--cream);
    font-size: 0.97rem;
    line-height: 1.85;
}

/* ==========================================
   7. REFINED GOLD SIDE BORDERS
   ========================================== */

.what-we-do,
.pricing-section,
.portfolio-section,
.process-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.what-we-do>.container,
.pricing-section>.container,
.portfolio-section>.container,
.process-section>.container {
    position: relative;
    z-index: 2;
}

.what-we-do::before,
.what-we-do::after,
.pricing-section::before,
.pricing-section::after,
.portfolio-section::before,
.portfolio-section::after,
.process-section::before,
.process-section::after {
    content: "";
    position: absolute;

    top: 0;
    bottom: 0;

    width: 92px;

    pointer-events: none;
    z-index: 1;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 640'%3E%3Cg fill='none' stroke='%23c99a60' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M30 0V640M24 0V640M36 0V640' opacity='.65'/%3E%3Cpath d='M17 0V640' stroke-dasharray='1 6' opacity='.5'/%3E%3Cpath d='M43 0V640' stroke-dasharray='1 7' opacity='.45'/%3E%3Cpath d='M30 53L52 80 30 107 8 80ZM30 213L52 240 30 267 8 240ZM30 373L52 400 30 427 8 400ZM30 533L52 560 30 587 8 560'/%3E%3Cpath d='M30 62L45 80 30 98 15 80ZM30 222L45 240 30 258 15 240ZM30 382L45 400 30 418 15 400ZM30 542L45 560 30 578 15 560' opacity='.65'/%3E%3Ccircle cx='30' cy='80' r='7'/%3E%3Ccircle cx='30' cy='240' r='7'/%3E%3Ccircle cx='30' cy='400' r='7'/%3E%3Ccircle cx='30' cy='560' r='7'/%3E%3Cpath d='M30 112C62 125 72 149 57 166S25 191 30 207M30 272C62 285 72 309 57 326S25 351 30 367M30 432C62 445 72 469 57 486S25 511 30 527M30 592C62 605 72 629 57 640' opacity='.8'/%3E%3Cpath d='M30 118Q58 131 54 148Q51 158 43 152Q37 145 47 141M30 278Q58 291 54 308Q51 318 43 312Q37 305 47 301M30 438Q58 451 54 468Q51 478 43 472Q37 465 47 461' opacity='.7'/%3E%3Cpath d='M75 119V201M75 279V361M75 439V521' stroke-dasharray='1 6' opacity='.4'/%3E%3Cpath d='M75 140l3 8 8 3-8 3-3 8-3-8-8-3 8-3ZM75 300l3 8 8 3-8 3-3 8-3-8-8-3 8-3ZM75 460l3 8 8 3-8 3-3 8-3-8-8-3 8-3Z'/%3E%3C/g%3E%3Cg fill='%23c99a60'%3E%3Cpath d='M30 70l3 10-3 10-3-10ZM30 230l3 10-3 10-3-10ZM30 390l3 10-3 10-3-10ZM30 550l3 10-3 10-3-10Z'/%3E%3Ccircle cx='75' cy='185' r='1.7'/%3E%3Ccircle cx='75' cy='345' r='1.7'/%3E%3Ccircle cx='75' cy='505' r='1.7'/%3E%3C/g%3E%3C/svg%3E");

    background-repeat: repeat-y;
    background-size: 92px 640px;
    background-position: center top;
}

.what-we-do::before,
.pricing-section::before,
.portfolio-section::before,
.process-section::before {
    left: 12px;
}

.what-we-do::after,
.pricing-section::after,
.portfolio-section::after,
.process-section::after {
    right: 12px;
    transform: scaleX(-1);
}

.what-we-do::before,
.what-we-do::after,
.process-section::before,
.process-section::after {
    opacity: 0.7;
}

.pricing-section::before,
.pricing-section::after,
.portfolio-section::before,
.portfolio-section::after {
    opacity: 0.85;
}

/* ==========================================
   8. WHAT WE DO
   PARCHMENT TO NAVY — UNCHANGED
   ========================================== */

.what-we-do {
    color: var(--ink);

    background-color: var(--parchment);

    background-image:
        linear-gradient(to bottom,
            transparent calc(100% - 24px),
            rgba(12, 28, 39, 0.18) calc(100% - 12px),
            rgba(12, 28, 39, 0.42) 100%),
        radial-gradient(ellipse at 50% 15%,
            var(--parchment-light),
            var(--parchment) 85%);
}

.what-we-do .eyebrow {
    color: #87562e;
}

.what-we-do .section-heading h2 {
    color: #14232b;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    min-width: 0;
    width: 100%;
    padding: 1.5rem 1.7rem;

    text-align: center;
    border-right: 1px solid rgba(91, 70, 45, 0.22);
}

.feature-card:last-child {
    border-right: none;
}

.feature-icon,
.feature-card img {
    display: block;
    width: 96px;
    height: 96px;
    max-width: 96px;

    flex: 0 0 96px;
    align-self: center;
    margin: 0 auto 1.1rem;

    object-fit: contain;
    object-position: center;
}

.feature-card h3 {
    width: 100%;
    margin-bottom: 0.65rem;

    color: #192a2e;
    font-size: 1.42rem;
    text-align: center;
}

.feature-card p {
    max-width: 230px;
    margin: 0 auto;

    color: #39413d;
    font-size: 0.83rem;
    line-height: 1.75;
    text-align: center;
}

/* ==========================================
   9. SERVICES AND PRICING
   NAVY TO FOREST — SEAMLESS
   ========================================== */

.pricing-section {
    background-color: #0c1c27;

    background-image: linear-gradient(to bottom,
            #0c1c27 0%,
            #0c1c27 calc(100% - 100px),
            #0d2328 calc(100% - 75px),
            #102b2b calc(100% - 50px),
            #12342e calc(100% - 25px),
            #153c32 100%);
}

.pricing-section .section-heading>p:last-child {
    color: var(--muted);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 1.5rem;

    max-width: 1120px;
    margin-inline: auto;
}

.pricing-card {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;

    min-width: 0;
    padding: 2.6rem 2rem 2rem;

    background: #10302d;
    border: 1px solid rgba(201, 154, 96, 0.48);
    border-radius: 8px;

    text-align: center;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    background: #0b2630;
    border: 2px solid var(--gold);
}

.popular-label {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);

    padding: 0.3rem 1.2rem;
    border-radius: 4px;

    background: var(--gold);
    color: var(--ink);

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.package-symbol {
    display: flex;
    justify-content: center;
    align-items: center;

    height: 50px;
    margin-bottom: 0.75rem;

    color: var(--gold-light);
    font-family: Georgia, serif;
    font-size: 2.5rem;
    line-height: 1;
}

.pricing-card h3 {
    min-height: 2.4rem;
    margin-bottom: 0.4rem;
    font-size: 1.85rem;
}

.card-kicker {
    min-height: 1.4rem;
    margin-bottom: 1.3rem;

    color: var(--gold-light);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.package-description {
    max-width: 280px;
    min-height: 5.4rem;
    margin-bottom: 1.1rem;

    color: #e6e2d8;
    font-size: 0.84rem;
    line-height: 1.75;
}

.price-note {
    min-height: 2rem;
    margin-bottom: 1.2rem;

    color: var(--cream);
    font-family: var(--font-heading);
    font-size: 1.15rem;
}

.pricing-card ul {
    width: 100%;
    margin: 0 0 1.8rem;
    padding: 0;

    list-style: none;
    text-align: left;
}

.pricing-card li {
    padding: 0.42rem 0;
    color: #e6e2d8;
    font-size: 0.8rem;
}

.pricing-card li::before {
    content: "✦";
    margin-right: 0.65rem;
    color: var(--gold);
}

.btn-card {
    width: 100%;
    max-width: 230px;
    margin-top: auto;

    background: transparent;
    border-color: var(--gold);
    color: var(--cream);
}

.btn-card:hover,
.featured .btn-card {
    background: var(--gold);
    color: var(--ink);
}

.featured .btn-card:hover {
    background: var(--gold-light);
}

/* ==========================================
   10. PORTFOLIO
   MATCHED FOREST COLOR + SOFT EXIT
   ========================================== */

.portfolio-section {
    background-color: #153c32;

    background-image:
        linear-gradient(to bottom,
            transparent calc(100% - 30px),
            rgba(242, 229, 206, 0.04) calc(100% - 20px),
            rgba(242, 229, 206, 0.10) calc(100% - 10px),
            rgba(242, 229, 206, 0.18) 100%),
        linear-gradient(to bottom,
            #153c32 0%,
            #14392f 45%,
            #0d2925 100%);
}

.portfolio-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;

    gap: 2rem;
    margin-bottom: 2.4rem;
}

.portfolio-heading>div {
    max-width: 650px;
}

.portfolio-heading h2 {
    margin-bottom: 0.7rem;
}

.portfolio-heading p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.text-link {
    display: inline-block;
    color: var(--gold-light);

    font-size: 0.85rem;
    font-weight: 600;
}

.text-link:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.portfolio-heading>.text-link {
    flex-shrink: 0;
    margin-bottom: 0.6rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 2rem;
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.portfolio-preview {
    aspect-ratio: 16 / 9;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(201, 154, 96, 0.65);
    border-radius: 7px;

    background: linear-gradient(135deg,
            #254f4a,
            #0d252b);

    color: var(--gold-light);
    text-align: center;
    overflow: hidden;
}

.concept-preview {
    background: linear-gradient(135deg,
            #193a32,
            #0c1c27);
}

.preview-symbol {
    display: block;
    font-family: var(--font-heading);
    font-size: 4rem;
}

.portfolio-preview p {
    margin: 0;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.portfolio-info {
    flex: 1;
    padding: 1.2rem 0 0;
}

.portfolio-info h3 {
    margin-bottom: 0.3rem;
    font-size: 1.55rem;
}

.portfolio-info p {
    margin-bottom: 0.4rem;
    color: #e2e4d9;
    font-size: 0.85rem;
}

.portfolio-info .project-status {
    color: var(--gold-light);
    font-size: 0.76rem;
}

/* ==========================================
   11. OUR PROCESS
   FOREST TO PARCHMENT — UNCHANGED
   ========================================== */

.process-section {
    color: var(--ink);

    background-color: var(--parchment);

    background-image:
        linear-gradient(to bottom,
            rgba(13, 41, 37, 0.22) 0px,
            rgba(13, 41, 37, 0.10) 12px,
            rgba(13, 41, 37, 0.03) 24px,
            transparent 36px),
        radial-gradient(ellipse at 50% 20%,
            var(--parchment-light),
            var(--parchment) 85%);
}

.process-section .eyebrow {
    color: #87562e;
}

.process-section .section-heading {
    margin-bottom: 3rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 2rem;
}

.process-step {
    position: relative;
    min-width: 0;
    padding: 1.1rem 0.8rem;
}

.step-number {
    display: block;
    margin-bottom: 0.7rem;

    color: #a16a3d;
    font-family: var(--font-heading);
    font-size: 2.3rem;
    line-height: 1.2;
}

.process-step h3 {
    margin-bottom: 0.65rem;
    color: #192a2e;
    font-size: 1.5rem;
}

.process-step p {
    max-width: 250px;
    margin-bottom: 0;

    color: #39413d;
    font-size: 0.82rem;
    line-height: 1.8;
}

.process-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);

    color: #9c6d43;
    font-size: 1.4rem;
}

/* 12. FINAL CTA — CAT AT THE DESK */

.final-section {
    position: relative;
    min-height: 440px;

    display: flex;
    align-items: center;

    padding: 70px 0;
    background-color: var(--midnight);

    background-image:
        linear-gradient(90deg,
            rgba(7, 21, 30, 0.02) 0%,
            rgba(7, 21, 30, 0.08) 38%,
            rgba(7, 21, 30, 0.78) 58%,
            rgba(7, 21, 30, 0.97) 100%),
        url("../images/02-footer-desk.png");

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.final-layout {
    display: flex;
    justify-content: flex-end;
}

.final-content {
    width: min(100%, 470px);
    text-align: left;
}

.final-content h2 {
    margin-bottom: 1.2rem;
    font-size: clamp(2.1rem, 3.5vw, 3.4rem);
}

.final-content>p:not(.eyebrow) {
    margin-bottom: 1.8rem;

    color: #e8e4d9;
    font-size: 0.9rem;
    line-height: 1.85;
}

/* 13. FOOTER */

.site-footer {
    padding: 2.8rem 0;
    background: #081720;
    border-top: 1px solid rgba(201, 154, 96, 0.25);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 0.75rem;
    text-align: center;
}

.footer-logo {
    color: var(--gold-light);
    font-family: var(--font-heading);
    font-size: 1.35rem;
}

.footer-tagline {
    margin: 0;
    color: var(--muted);

    font-family: var(--font-heading);
    font-style: italic;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 1.5rem;
    margin: 0.8rem 0;
}

.footer-links a {
    color: var(--muted);
    font-size: 0.8rem;
}

.footer-links a:hover {
    color: var(--gold-light);
}

.copyright {
    margin: 0;
    color: #a8b0ad;
    font-size: 0.72rem;
}

/* ==========================================
   TABLET — 950PX AND BELOW
   ========================================== */

@media (max-width: 950px) {

    :root {
        --section-space: 68px;
    }

    .navbar {
        min-height: 74px;
    }

    .menu-toggle {
        display: block;
        padding: 0.45rem 0.75rem;

        background: rgba(8, 22, 31, 0.9);
        border: 1px solid var(--gold);
        border-radius: 5px;

        color: var(--cream);
        font-size: 1.3rem;
        cursor: pointer;
    }

    .nav-links {
        display: none;

        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 1rem 5% 1.5rem;

        background: #0b2029;
        border-bottom: 1px solid var(--gold);
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.25);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 0.85rem;
    }

    .nav-cta {
        margin-top: 0.6rem;
        text-align: center;
    }

    .hero {
        min-height: 540px;
        padding: 115px 0 75px;

        background-image:
            linear-gradient(90deg,
                rgba(5, 16, 25, 0.92),
                rgba(5, 16, 25, 0.65) 58%,
                rgba(5, 16, 25, 0.2)),
            url("../images/01-hero-cottage.png");

        background-position: center, 63% center;
    }

    .hero h1 {
        font-size: clamp(3.1rem, 7vw, 4.7rem);
    }

    .what-we-do::before,
    .what-we-do::after,
    .pricing-section::before,
    .pricing-section::after,
    .portfolio-section::before,
    .portfolio-section::after,
    .process-section::before,
    .process-section::after {
        width: 60px;
        background-size: 60px auto;
    }

    .what-we-do::before,
    .pricing-section::before,
    .portfolio-section::before,
    .process-section::before {
        left: 4px;
    }

    .what-we-do::after,
    .pricing-section::after,
    .portfolio-section::after,
    .process-section::after {
        right: 4px;
    }

    .what-we-do::before,
    .what-we-do::after,
    .process-section::before,
    .process-section::after {
        opacity: 0.45;
    }

    .feature-grid {
        max-width: 650px;
        margin-inline: auto;

        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
        border: 1px solid rgba(91, 70, 45, 0.18);
        border-radius: 8px;
    }

    .feature-card:last-child {
        border-right: 1px solid rgba(91, 70, 45, 0.18);
    }

    .pricing-grid {
        max-width: 450px;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pricing-card {
        padding: 2.1rem 2rem 1.8rem;
    }

    .pricing-card h3,
    .card-kicker,
    .package-description,
    .price-note {
        min-height: 0;
    }

    .pricing-card ul {
        max-width: 290px;
    }

    .process-grid {
        max-width: 650px;
        margin-inline: auto;

        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.2rem;
    }

    .process-step {
        padding: 1.4rem;
        border: 1px solid rgba(91, 70, 45, 0.15);
        border-radius: 8px;
    }

    .process-step::after {
        display: none;
    }

    .final-section {
        min-height: 410px;

        background-image:
            linear-gradient(90deg,
                rgba(7, 21, 30, 0.2),
                rgba(7, 21, 30, 0.84) 55%,
                rgba(7, 21, 30, 0.97)),
            url("../images/02-footer-desk.png");

        background-position: 42% center;
    }

    .final-content {
        max-width: 400px;
    }
}

/* ==========================================
   MOBILE — 600PX AND BELOW
   ========================================== */

@media (max-width: 600px) {

    :root {
        --section-space: 54px;
    }

    body {
        font-size: 14px;
    }

    .container {
        width: min(90%, 460px);
    }

    .navbar {
        min-height: 68px;
        gap: 0.7rem;
    }

    .logo {
        font-size: clamp(0.95rem, 4vw, 1.2rem);
        white-space: normal;
        line-height: 1.2;
    }

    .hero {
        min-height: 570px;
        padding: 115px 0 65px;

        background-image:
            linear-gradient(to right,
                rgba(5, 16, 25, 0.91),
                rgba(5, 16, 25, 0.63)),
            url("../images/01-hero-cottage.png");

        background-position: center, 63% center;
    }

    .hero .eyebrow {
        max-width: 300px;
        font-size: 0.63rem;
        letter-spacing: 0.13em;
    }

    .hero h1 {
        max-width: 360px;
        font-size: clamp(2.8rem, 11vw, 4rem);
        overflow-wrap: break-word;
    }

    .hero-tagline {
        max-width: 340px;
        font-size: clamp(1.4rem, 5vw, 1.9rem);
    }

    .hero-description {
        max-width: 310px;
        font-size: 0.9rem;
        line-height: 1.8;
    }

    .button-group {
        flex-direction: column;
        align-items: stretch;
        max-width: 250px;
        gap: 0.75rem;
    }

    .what-we-do::before,
    .what-we-do::after,
    .pricing-section::before,
    .pricing-section::after,
    .portfolio-section::before,
    .portfolio-section::after,
    .process-section::before,
    .process-section::after {
        display: none;
    }

    .section-heading {
        margin-bottom: 2.5rem;
    }

    .section-heading h2,
    .portfolio-heading h2 {
        font-size: clamp(1.9rem, 7vw, 2.5rem);
    }

    .section-heading>p:last-child {
        font-size: 0.87rem;
        line-height: 1.75;
    }

    .feature-grid {
        max-width: 400px;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-card {
        padding: 1.4rem 1.5rem;
    }

    .feature-icon,
    .feature-card img {
        width: 80px;
        height: 80px;
        max-width: 80px;

        flex-basis: 80px;
        margin: 0 auto 0.7rem;
    }

    .feature-card h3 {
        margin-bottom: 0.4rem;
        font-size: 1.35rem;
    }

    .feature-card p {
        max-width: 290px;
        font-size: 0.84rem;
    }

    .pricing-grid {
        max-width: 400px;
    }

    .pricing-card {
        padding: 2rem 1.5rem 1.6rem;
    }

    .pricing-card h3 {
        font-size: 1.7rem;
    }

    .card-kicker {
        margin-bottom: 0.9rem;
    }

    .package-description {
        margin-bottom: 0.8rem;
    }

    .price-note {
        margin-bottom: 0.8rem;
    }

    .pricing-card ul {
        margin-bottom: 1.2rem;
    }

    .portfolio-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .portfolio-heading>.text-link {
        margin: 0;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin-inline: auto;
        gap: 2rem;
    }

    .portfolio-preview {
        aspect-ratio: 16 / 9;
    }

    .portfolio-info {
        padding-top: 0.9rem;
    }

    .process-grid {
        max-width: 400px;
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .process-step {
        padding: 1.2rem 1.4rem;
    }

    .step-number {
        margin-bottom: 0.3rem;
        font-size: 1.9rem;
    }

    .process-step h3 {
        margin-bottom: 0.35rem;
        font-size: 1.4rem;
    }

    .process-step p {
        max-width: none;
    }

    .final-section {
        min-height: 590px;
        align-items: flex-end;

        padding: 250px 0 55px;

        background-image:
            linear-gradient(to bottom,
                rgba(7, 21, 30, 0.08) 0%,
                rgba(7, 21, 30, 0.12) 28%,
                rgba(7, 21, 30, 0.9) 57%,
                rgba(7, 21, 30, 0.98) 100%),
            url("../images/02-footer-desk.png");

        background-position: center, 30% top;
        background-size: cover;
    }

    .final-layout {
        justify-content: center;
    }

    .final-content {
        width: 100%;
        max-width: 390px;
        text-align: center;
    }

    .final-content h2 {
        font-size: clamp(2rem, 8vw, 2.6rem);
    }

    .final-content>p:not(.eyebrow) {
        font-size: 0.87rem;
    }

    .site-footer {
        padding: 2.2rem 0;
    }

    .footer-links {
        gap: 0.7rem 1.1rem;
    }
}

/* ==========================================
   SMALL PHONES
   ========================================== */

@media (max-width: 380px) {

    .logo {
        font-size: 0.95rem;
    }

    .hero h1 {
        font-size: 2.65rem;
    }

    .hero-tagline {
        font-size: 1.35rem;
    }

    .pricing-card {
        padding-inline: 1.2rem;
    }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .btn,
    .nav-links a {
        transition: none;
    }
}


/* ================================
   FIREFLY ANIMATION
================================ */

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-content {
    position: relative;
    z-index: 1;
}


.fireflies {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 9999;
}


.firefly {
    position: absolute;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: #ffe6a0;
    box-shadow:
        0 0 8px 2px rgba(255, 215, 110, 0.7),
        0 0 20px 5px rgba(255, 215, 110, 0.2);
    opacity: 0;
    animation: firefly-float var(--duration) ease-in-out infinite alternate;
    animation-delay: var(--delay);
}

@keyframes firefly-float {
    0% {
        transform: translate3d(0, 0, 0);
        opacity: 0;
    }

    30% {
        opacity: 0.8;
    }

    60% {
        opacity: 0.3;
    }

    85% {
        opacity: 0.9;
    }

    100% {
        transform: translate3d(var(--drift-x), var(--drift-y), 0);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .firefly {
        animation: none;
        opacity: 0.25;
    }
}


/* =================================
   FIREFLY VISIBILITY AND LAYERING
================================= */

.hero,
.pricing-section,
.portfolio-section,
.final-section,
.site-footer {
    position: relative;
    isolation: isolate;
}

/* Keep fireflies above section backgrounds */

.fireflies {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

/* Keep text, cards, and buttons clickable */

.hero>.container,
.pricing-section>.container,
.portfolio-section>.container,
.final-section>.container,
.site-footer>.container {
    position: relative;
    z-index: 3;
}