/* =========================================================
   NIRVIKA — Dark Editorial Theme
   Black/charcoal base, gold accent, Fraunces + Inter type.
   Scoped under body.dark-theme so it doesn't leak into the
   light Arkitektur-based pages until the rest are approved.
   ========================================================= */

body.dark-theme {
    --ink: #0B0B0A;
    --panel: #151310;
    --panel-2: #1B1814;
    --gold: #C9A24B;
    --gold-soft: #E4C77E;
    --cream: #F3EFE7;
    --muted: #A79E8C;
    --hair: rgba(201, 162, 75, .28);

    background: var(--ink);
    color: var(--cream);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.dark-theme .display {
    font-family: 'Fraunces', serif;
}

/* The theme's bootstrap.min.css hardcodes h1-h6 to a dark charcoal (#252525)
   for its light-background pages — override that inside the dark theme. */
body.dark-theme h1,
body.dark-theme h2,
body.dark-theme h3,
body.dark-theme h4,
body.dark-theme h5,
body.dark-theme h6 {
    color: var(--cream);
}

body.dark-theme .accent {
    font-style: italic;
    color: var(--gold-soft);
    font-weight: 400;
}

/* NAV */
body.dark-theme .dark-nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 5vw;
    border-bottom: 1px solid var(--hair);
    flex-wrap: wrap;
    gap: 16px;
}

body.dark-theme .dark-nav .brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

body.dark-theme .dark-nav .brand .mark {
    width: 52px;
    height: 52px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    object-fit: cover;
    flex: none;
}

body.dark-theme .dark-nav .brand .word {
    font-size: 21px;
    letter-spacing: .2em;
    color: var(--cream);
    font-weight: 600;
    font-family: 'Fraunces', serif;
}

body.dark-theme .dark-nav .brand .sub {
    display: block;
    font-size: 10.5px;
    letter-spacing: .18em;
    color: var(--muted);
    margin-top: 4px;
    text-transform: uppercase;
}

body.dark-theme .dark-nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
    flex-wrap: wrap;
}

body.dark-theme .dark-nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 500;
    transition: color .2s;
}

body.dark-theme .dark-nav-links a.active,
body.dark-theme .dark-nav-links a:hover {
    color: var(--gold-soft);
}

body.dark-theme .cta-pill {
    border: 1px solid var(--gold);
    color: var(--gold-soft);
    padding: 11px 26px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    transition: all .2s;
}

body.dark-theme .cta-pill-mobile {
    display: none;
}

body.dark-theme .nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--hair);
    color: var(--cream);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    flex: none;
}

body.dark-theme .cta-pill:hover {
    background: var(--gold);
    color: var(--ink);
}

/* Mobile nav collapse — the 6 links + CTA don't fit inline below ~991px */
@media (max-width: 991px) {
    body.dark-theme .nav-toggle {
        display: flex;
        position: absolute;
        top: 50%;
        right: 5vw;
        transform: translateY(-50%);
    }

    body.dark-theme .dark-nav .brand {
        max-width: calc(100% - 80px);
    }

    body.dark-theme .cta-pill-desktop {
        display: none;
    }

    body.dark-theme .cta-pill-mobile {
        display: inline-block;
        margin-top: 8px;
    }

    body.dark-theme .dark-nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
        padding: 24px 0 6px;
    }

    body.dark-theme .dark-nav-links.open {
        display: flex;
    }

    body.dark-theme .dark-nav {
        align-items: center;
    }
}

/* SECTIONS */
body.dark-theme section {
    padding: 100px 5vw;
}

body.dark-theme .eyebrow {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: .28em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}

body.dark-theme .eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--gold);
    flex: none;
}

body.dark-theme .eyebrow.center {
    justify-content: center;
}

body.dark-theme .eyebrow.center::before {
    display: none;
}

/* HERO */
body.dark-theme .hero {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 60px;
    align-items: center;
    padding-top: 80px;
}

body.dark-theme .hero h1 {
    font-size: clamp(34px, 4.4vw, 56px);
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -.01em;
    margin-bottom: 26px;
    text-wrap: balance;
}

body.dark-theme .hero .lede {
    font-size: 17px;
    line-height: 1.75;
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 38px;
}

body.dark-theme .hero-cta {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
}

body.dark-theme .btn-solid {
    background: var(--gold);
    color: var(--ink);
    padding: 15px 32px;
    border-radius: 2px;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-block;
    transition: background .2s;
}

body.dark-theme .btn-solid:hover {
    background: var(--gold-soft);
    color: var(--ink);
}

body.dark-theme .btn-line {
    color: var(--cream);
    padding: 15px 4px;
    text-decoration: none;
    border-bottom: 1px solid var(--hair);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 600;
}

body.dark-theme .hero-photo {
    position: relative;
}

body.dark-theme .hero-photo img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

body.dark-theme .hero-photo .frame {
    position: absolute;
    inset: 20px -20px -20px 20px;
    border: 1px solid var(--gold);
    z-index: -1;
}

/* STATS */
body.dark-theme .stats {
    border-top: 1px solid var(--hair);
    border-bottom: 1px solid var(--hair);
    padding: 52px 5vw;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

body.dark-theme .stat {
    text-align: center;
    border-right: 1px solid var(--hair);
}

body.dark-theme .stat:last-child {
    border-right: none;
}

body.dark-theme .stat .n {
    font-size: clamp(26px, 3vw, 40px);
    color: var(--gold-soft);
    font-weight: 500;
}

body.dark-theme .stat .l {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 8px;
}

/* NARRATIVE (Who We Are) */
body.dark-theme .narrative {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 70px;
    align-items: center;
}

body.dark-theme .narrative .photo-pair {
    position: relative;
    height: 480px;
}

body.dark-theme .narrative .photo-pair img {
    position: absolute;
    border-radius: 2px;
    object-fit: cover;
}

body.dark-theme .narrative .photo-pair img.p1 {
    width: 72%;
    height: 70%;
    top: 0;
    left: 0;
}

body.dark-theme .narrative .photo-pair img.p2 {
    width: 58%;
    height: 52%;
    bottom: 0;
    right: 0;
    border: 6px solid var(--ink);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
}

body.dark-theme .narrative h2 {
    font-weight: 500;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.25;
    margin-bottom: 22px;
    text-wrap: balance;
}

body.dark-theme .narrative p {
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--muted);
    margin-bottom: 18px;
    max-width: 540px;
}

body.dark-theme .signoff {
    margin-top: 28px;
    font-family: 'Fraunces', serif;
    font-style: italic;
    color: var(--gold-soft);
    font-size: 16px;
}

/* PRODUCT / CATEGORY GRID */
body.dark-theme .cat-head {
    text-align: center;
    margin-bottom: 54px;
}

body.dark-theme .cat-head h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 500;
}

body.dark-theme .cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--hair);
}

body.dark-theme .cat-card {
    background: var(--ink);
    position: relative;
    min-height: 340px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    isolation: isolate;
}

body.dark-theme .cat-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .22;
    transition: opacity .35s ease, transform .5s ease;
    z-index: -1;
}

body.dark-theme .cat-card:hover img {
    opacity: .42;
    transform: scale(1.04);
}

body.dark-theme .cat-card .cat-body {
    padding: 30px;
}

body.dark-theme .cat-card .cat-num {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: .12em;
    margin-bottom: 10px;
    display: block;
}

body.dark-theme .cat-card h3 {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: 21px;
    color: var(--cream);
    margin-bottom: 8px;
}

body.dark-theme .cat-card p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0;
}

/* WHY / CRAFT STRIP */
body.dark-theme .craft-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--hair);
}

body.dark-theme .craft-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Two-column checklist grid (e.g. About "Why Choose Us") */
body.dark-theme .feature-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 60px;
    max-width: 1000px;
    margin: 0 auto;
}

body.dark-theme .craft-card {
    background: var(--ink);
    padding: 42px 34px;
}

body.dark-theme .craft-card .num {
    color: var(--gold);
    font-family: 'Fraunces', serif;
    font-size: 13px;
    margin-bottom: 18px;
}

body.dark-theme .craft-card h3 {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 12px;
}

body.dark-theme .craft-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* CTA BAND */
body.dark-theme .cta-band {
    text-align: center;
    background: var(--panel);
    border-top: 1px solid var(--hair);
    border-bottom: 1px solid var(--hair);
}

body.dark-theme .cta-band h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 500;
    margin-bottom: 16px;
}

body.dark-theme .cta-band p {
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto 32px;
    font-size: 15px;
}

/* FOOTER */
body.dark-theme .dark-footer {
    padding: 80px 5vw 0;
}

body.dark-theme .dark-footer .cols {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--hair);
}

body.dark-theme .dark-footer h5 {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    color: var(--cream);
    font-size: 16px;
    margin-bottom: 20px;
}

body.dark-theme .dark-footer p,
body.dark-theme .dark-footer a {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.8;
    text-decoration: none;
}

body.dark-theme .dark-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

body.dark-theme .dark-footer li {
    margin-bottom: 10px;
}

body.dark-theme .dark-footer a:hover {
    color: var(--gold-soft);
}

body.dark-theme .dark-footer .social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

body.dark-theme .dark-footer .social a {
    width: 36px;
    height: 36px;
    border: 1px solid var(--hair);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
}

body.dark-theme .dark-footer .social a:hover {
    border-color: var(--gold);
    color: var(--gold-soft);
}

body.dark-theme .dark-footer .bottom {
    padding: 26px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12.5px;
    color: var(--muted);
}

body.dark-theme .back-to-top-dark {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .3s ease;
    z-index: 999;
}

body.dark-theme .back-to-top-dark.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ============ PHOTO BAND (full-bleed image + quote) ============ */
body.dark-theme .photo-band {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    padding: 90px 5vw;
    overflow: hidden;
}

body.dark-theme .photo-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 11, 10, .78), rgba(11, 11, 10, .5) 45%, rgba(11, 11, 10, .85));
}

body.dark-theme .photo-band .band-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

body.dark-theme .photo-band blockquote {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(24px, 3.4vw, 38px);
    color: var(--cream);
    line-height: 1.4;
    margin: 0 0 20px;
}

body.dark-theme .photo-band cite {
    display: block;
    color: var(--gold-soft);
    font-size: 12.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-style: normal;
}

/* ============ CERTIFICATION CHIP STRIP ============ */
body.dark-theme .cert-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

body.dark-theme .cert-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--hair);
    padding: 15px 26px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 13px;
    letter-spacing: .04em;
}

body.dark-theme .cert-chip i {
    color: var(--gold);
}

/* ============ INNER PAGE HERO / BREADCRUMB ============ */
body.dark-theme .page-hero {
    padding: 90px 5vw 60px;
    border-bottom: 1px solid var(--hair);
}

body.dark-theme .page-hero h1 {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 500;
}

body.dark-theme .page-hero .crumb {
    margin-top: 18px;
    font-size: 12px;
    letter-spacing: .08em;
    color: var(--muted);
}

body.dark-theme .page-hero .crumb a {
    color: var(--gold-soft);
    text-decoration: none;
}

body.dark-theme .page-hero .lede {
    margin-top: 18px;
    max-width: 620px;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.75;
}

/* ============ TWO-COL CONTENT + IMAGE (reusable) ============ */
body.dark-theme .split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

body.dark-theme .split img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 2px;
}

body.dark-theme .split h2 {
    font-size: clamp(24px, 2.8vw, 32px);
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.3;
}

body.dark-theme .split p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ============ FEATURE LINE (checklist rows) ============ */
body.dark-theme .feature-line {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

body.dark-theme .feature-line i {
    color: var(--gold);
    margin-top: 5px;
    flex: none;
}

body.dark-theme .feature-line h4 {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: 16.5px;
    margin-bottom: 4px;
    color: var(--cream);
}

body.dark-theme .feature-line p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0;
}

/* ============ TABS (Quality & Process) ============ */
body.dark-theme .tab-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 50px;
    align-items: start;
}

body.dark-theme .tab-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body.dark-theme .tab-btn {
    text-align: left;
    background: var(--panel);
    border: 1px solid var(--hair);
    color: var(--muted);
    padding: 22px 26px;
    font-family: 'Fraunces', serif;
    font-size: 17px;
    cursor: pointer;
    transition: all .2s ease;
}

body.dark-theme .tab-btn:hover {
    border-color: var(--gold);
    color: var(--cream);
}

body.dark-theme .tab-btn.active {
    background: var(--gold);
    color: var(--ink);
    border-color: var(--gold);
}

body.dark-theme .tab-panel {
    display: none;
}

body.dark-theme .tab-panel.active {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 44px;
    align-items: center;
}

body.dark-theme .tab-panel img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 2px;
}

body.dark-theme .tab-panel h3 {
    font-size: clamp(22px, 2.6vw, 28px);
    font-weight: 500;
    margin-bottom: 16px;
}

body.dark-theme .tab-panel p.desc {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 20px;
}

body.dark-theme .tab-panel .check-line {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

body.dark-theme .tab-panel .check-line i {
    color: var(--gold);
    margin-top: 3px;
    flex: none;
}

body.dark-theme .tab-panel .check-line strong {
    color: var(--cream);
}

/* ============ GALLERY ============ */
body.dark-theme .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

body.dark-theme .gallery-tile {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 2px;
    cursor: pointer;
    display: block;
    border: 1px solid var(--hair);
}

body.dark-theme .gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

body.dark-theme .gallery-tile:hover img {
    transform: scale(1.06);
}

body.dark-theme .gallery-tile .cap {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .88), transparent);
    color: var(--cream);
    padding: 16px;
    font-size: 12.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.dark-theme .lightbox {
    position: fixed;
    inset: 0;
    background: rgba(6, 6, 5, .92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    padding: 40px;
}

body.dark-theme .lightbox.show {
    display: flex;
}

body.dark-theme .lightbox img {
    max-width: 90vw;
    max-height: 78vh;
    object-fit: contain;
    border: 1px solid var(--hair);
}

body.dark-theme .lightbox .lb-cap {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-top: 18px;
}

body.dark-theme .lightbox .lb-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--cream);
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

/* ============ CONTACT ============ */
body.dark-theme .info-card {
    background: var(--panel);
    border: 1px solid var(--hair);
    padding: 28px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 20px;
}

body.dark-theme .info-card .icon {
    width: 48px;
    height: 48px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex: none;
}

body.dark-theme .info-card h4 {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 6px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}

body.dark-theme .info-card p,
body.dark-theme .info-card a {
    color: var(--cream);
    font-size: 14.5px;
    line-height: 1.6;
    text-decoration: none;
}

body.dark-theme .form-dark label {
    display: block;
    font-size: 11.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

body.dark-theme .form-dark input,
body.dark-theme .form-dark textarea {
    width: 100%;
    background: var(--panel);
    border: 1px solid var(--hair);
    color: var(--cream);
    padding: 14px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    margin-bottom: 20px;
    border-radius: 2px;
}

body.dark-theme .form-dark input:focus,
body.dark-theme .form-dark textarea:focus {
    outline: none;
    border-color: var(--gold);
}

body.dark-theme .alert-success {
    background: var(--panel);
    border: 1px solid var(--gold);
    color: var(--gold-soft);
    padding: 18px 22px;
    font-size: 14px;
    margin-bottom: 24px;
    border-radius: 2px;
}

body.dark-theme .alert-error {
    background: var(--panel);
    border: 1px solid #c0392b;
    color: #e08b81;
    padding: 18px 22px;
    font-size: 14px;
    margin-bottom: 24px;
    border-radius: 2px;
}

body.dark-theme .map-frame {
    border: 1px solid var(--hair);
    filter: grayscale(1) invert(.92) contrast(.9);
}

@media (max-width: 991px) {
    body.dark-theme .split,
    body.dark-theme .tab-layout,
    body.dark-theme .tab-panel.active {
        grid-template-columns: 1fr;
    }

    body.dark-theme .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    body.dark-theme .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    body.dark-theme .hero,
    body.dark-theme .narrative {
        grid-template-columns: 1fr;
    }

    body.dark-theme .narrative .photo-pair {
        height: 380px;
        margin-bottom: 10px;
    }

    body.dark-theme .cat-grid,
    body.dark-theme .craft-grid,
    body.dark-theme .craft-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    body.dark-theme .feature-grid-2 {
        gap: 24px 30px;
    }

    body.dark-theme .dark-footer .cols {
        grid-template-columns: 1fr 1fr;
    }

    body.dark-theme .stats {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 30px;
    }

    body.dark-theme .stat:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 576px) {
    body.dark-theme section {
        padding: 64px 6vw;
    }

    body.dark-theme .craft-grid,
    body.dark-theme .craft-grid-4,
    body.dark-theme .feature-grid-2,
    body.dark-theme .dark-footer .cols {
        grid-template-columns: 1fr;
    }

    body.dark-theme .cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2px;
    }

    body.dark-theme .cat-card {
        min-height: 190px;
    }

    body.dark-theme .cat-card .cat-body {
        padding: 14px;
    }

    body.dark-theme .cat-card .cat-num {
        font-size: 10px;
        margin-bottom: 4px;
    }

    body.dark-theme .cat-card h3 {
        font-size: 15px;
        margin-bottom: 4px;
    }

    body.dark-theme .cat-card p {
        display: none;
    }

    body.dark-theme .dark-nav {
        padding: 20px 6vw;
    }

    body.dark-theme .dark-nav-links {
        gap: 18px;
    }
}
