:root {
    --black: #070807;
    --ink: #12120f;
    --cream: #fff6e9;
    --cream-2: #f5e9d8;
    --muted: #cdbfa9;
    --green: #245d35;
    --green-2: #3f8b54;
    --red: #e9413c;
    --yellow: #f4b11d;
    --line: rgba(255, 246, 233, .14);
    --shadow: 0 28px 80px rgba(0, 0, 0, .42);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--cream);
    background:
        radial-gradient(circle at 10% 5%, rgba(244, 177, 29, .14), transparent 30%),
        radial-gradient(circle at 90% 15%, rgba(233, 65, 60, .12), transparent 32%),
        radial-gradient(circle at 50% 100%, rgba(36, 93, 53, .25), transparent 42%),
        var(--black);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.7;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .26;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, black, transparent 78%);
}

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

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

.site-shell {
    width: min(1480px, calc(100% - 28px));
    margin: 18px auto 0;
}

.topbar {
    position: sticky;
    top: 14px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 22px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: rgba(9, 10, 8, .78);
    backdrop-filter: blur(22px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}

.brand {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    font-family: Caveat, cursive;
    font-size: 34px;
    font-weight: 700;
    line-height: .85;
}

.brand i {
    width: 72px;
    height: 8px;
    margin-top: 5px;
    border-radius: 20px;
    background: var(--yellow);
    transform: rotate(-4deg);
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    font-weight: 900;
    font-size: 14px;
}

.desktop-nav a {
    position: relative;
    padding: 8px 0;
}

.desktop-nav a::after,
.text-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    border-radius: 10px;
    background: transparent;
}

.desktop-nav a.active::after {
    background: var(--red);
}

.top-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 23px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--green);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
    font-weight: 900;
    cursor: pointer;
}

.btn.red {
    background: var(--red);
}

.btn.yellow {
    color: var(--black);
    background: var(--yellow);
}

.btn.ghost {
    color: var(--cream);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .06);
}

.page-wrap {
    padding: 32px 0 24px;
}

.lux-card,
.hero-masterpiece,
.home-about-split,
.signature-line-section,
.process-strip,
.feature-ribbon {
    border: 1px solid var(--line);
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(255, 246, 233, .08), rgba(255, 246, 233, .035));
    box-shadow: var(--shadow);
}

.hero-masterpiece {
    position: relative;
    display: grid;
    grid-template-columns: minmax(330px, .86fr) minmax(520px, 1.2fr);
    gap: 34px;
    min-height: 620px;
    overflow: hidden;
    padding: clamp(34px, 5vw, 76px);
    isolation: isolate;
}

.hero-masterpiece::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(7, 8, 7, .88) 0%, rgba(7, 8, 7, .72) 39%, rgba(7, 8, 7, .20) 100%),
        url('../img/home-hero-bg.jpg') center/cover no-repeat;
    opacity: .95;
}

.hero-masterpiece::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 56% 35%, rgba(244, 177, 29, .22), transparent 25%),
        radial-gradient(circle at 70% 60%, rgba(233, 65, 60, .18), transparent 28%),
        radial-gradient(circle at 86% 25%, rgba(63, 139, 84, .22), transparent 28%);
}

.hero-copy-panel {
    align-self: center;
    max-width: 560px;
}

.eyebrow,
.mini-kicker {
    margin: 0 0 14px;
    color: var(--yellow);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

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

.hero-copy-panel h1,
.about-main-copy h1,
.request-copy h1,
.contact-page h1,
.gallery-filter h1 {
    margin-bottom: 24px;
    color: var(--cream);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(58px, 8vw, 132px);
    line-height: .9;
    letter-spacing: -.055em;
}

.hero-copy-panel h1 span,
.about-main-copy h1 span,
.request-copy h1 span,
.contact-page h1 span,
.gallery-filter h1 span {
    display: block;
    color: var(--red);
    font-family: Caveat, cursive;
    font-size: .76em;
    letter-spacing: -.02em;
}

.lead {
    max-width: 620px;
    margin-bottom: 28px;
    color: #eadbc2;
    font-size: 18px;
    line-height: 1.9;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.text-link {
    position: relative;
    font-weight: 950;
    padding-bottom: 8px;
}

.text-link::after {
    background: var(--green-2);
}

.hero-art-panel {
    align-self: center;
    justify-self: end;
    width: min(720px, 100%);
}

.hero-art-panel img {
    width: 100%;
    aspect-ratio: 1.22 / 1;
    object-fit: contain;
    border: 14px solid rgba(255, 246, 233, .9);
    border-radius: 34px;
    background: rgba(255, 246, 233, .92);
    box-shadow: 0 35px 90px rgba(0, 0, 0, .42);
}

.home-about-split {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 32px;
    margin-top: 26px;
    padding: clamp(26px, 4vw, 52px);
}

.home-about-split h2,
.gallery-taste h2,
.about-written h2,
.skill-band h2,
.request-content-grid h2,
.contact-feature h2 {
    margin-bottom: 18px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(34px, 4vw, 64px);
    line-height: 1.02;
    letter-spacing: -.04em;
}

.home-about-split p,
.gallery-taste p,
.about-written p,
.request-content-grid p,
.contact-feature p,
.skill-band p {
    color: #dfd1bc;
    line-height: 1.9;
}

.feature-ribbon,
.process-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 26px;
    padding: 14px;
}

.feature-ribbon article,
.process-strip article,
.promise-card,
.about-stat-grid article {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 246, 233, .07);
}

.feature-ribbon article,
.process-strip article {
    min-height: auto;
    padding: 22px;
}

.feature-ribbon i,
.process-strip i {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    border-radius: 14px;
    color: var(--yellow);
    background: rgba(244, 177, 29, .12);
}

.feature-ribbon strong,
.process-strip strong,
.about-stat-grid strong {
    display: block;
    margin-bottom: 8px;
    color: var(--cream);
    font-weight: 950;
}

.feature-ribbon span,
.process-strip span,
.about-stat-grid span {
    display: block;
    color: #d8c7ad;
    font-size: 14px;
    line-height: 1.65;
}

.signature-line-section {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 18px;
    margin-top: 26px;
    padding: 16px;
}

.signature-card,
.signature-image-card {
    overflow: hidden;
    border-radius: 26px;
}

.signature-card {
    padding: clamp(28px, 4vw, 52px);
    background: linear-gradient(160deg, rgba(36, 93, 53, .95), rgba(12, 42, 23, .95));
}

.signature-card h2 {
    max-width: 520px;
    margin-bottom: 18px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(38px, 4vw, 72px);
    line-height: .98;
}

.signature-card p:not(.mini-kicker) {
    max-width: 560px;
    color: #f6ead8;
}

.signature-image-card img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
}

.gallery-taste {
    margin-top: 26px;
    padding: clamp(24px, 4vw, 48px);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 24px;
}

.mini-gallery-grid,
.gallery-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.art-tile,
.art-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 246, 233, .08);
    cursor: zoom-in;
    transition: transform .22s ease, border-color .22s ease;
}

.art-tile:hover,
.art-card:hover {
    transform: translateY(-4px);
    border-color: rgba(244, 177, 29, .65);
}

.art-tile img,
.art-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #f7ead8;
}

.art-tile div,
.art-card div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
}

.art-tile span,
.art-card span {
    color: var(--yellow);
    font-size: 12px;
    font-weight: 900;
}

.about-hero,
.request-page,
.contact-page,
.gallery-page {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    padding: clamp(28px, 5vw, 68px);
}

.about-photo-stack img,
.request-photo,
.contact-art {
    width: 100%;
    border-radius: 28px;
    border: 1px solid rgba(255, 246, 233, .18);
    background: #f7ead8;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .28);
    object-fit: contain;
}

.about-deep-dive {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 22px;
    margin-top: 26px;
}

.about-written,
.skill-band,
.request-content-grid .lux-card,
.contact-feature {
    padding: clamp(26px, 4vw, 48px);
}

.about-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.about-stat-grid article {
    padding: 24px;
}

.refined-columns,
.about-columns,
.request-content-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
}

.request-content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.promise-card {
    align-self: start;
    padding: 24px;
}

.promise-card h3 {
    margin-bottom: 10px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    line-height: 1.1;
}

.promise-card p {
    margin-bottom: 0;
    color: #d9c9af;
}

.skill-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 26px;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-list span {
    padding: 13px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--cream);
    background: rgba(255, 246, 233, .08);
    font-weight: 900;
}

.steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 28px 0;
}

.steps span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    color: #eadbc2;
    background: rgba(255, 246, 233, .06);
    font-weight: 800;
}

.contact-cards {
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.contact-cards a {
    display: grid;
    grid-template-columns: 42px 1fr 22px;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 246, 233, .08);
}

.contact-cards i:first-child {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: var(--cream);
    background: var(--green);
}

.styled-form {
    display: grid;
    gap: 14px;
}

.styled-form input,
.styled-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 246, 233, .18);
    border-radius: 18px;
    padding: 16px 18px;
    color: var(--cream);
    background: rgba(255, 246, 233, .08);
    font: inherit;
    outline: none;
}

.styled-form textarea {
    min-height: 165px;
    resize: vertical;
}

.contact-feature {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 28px;
    align-items: center;
    margin-top: 26px;
}

.gallery-page {
    grid-template-columns: 330px 1fr;
    align-items: start;
}

.gallery-filter {
    position: sticky;
    top: 120px;
}

.gallery-filter a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #f0dfc4;
    background: rgba(255, 246, 233, .07);
    font-weight: 900;
}

.gallery-filter a.active {
    color: #fff;
    background: var(--green);
}

.gallery-filter em {
    display: block;
    margin-top: 34px;
    color: var(--yellow);
    font-family: Caveat, cursive;
    font-size: 38px;
    font-style: normal;
    line-height: 1.05;
}

.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.pager a,
.pager span {
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 246, 233, .08);
    font-weight: 900;
}

.pager a {
    color: var(--black);
    background: var(--yellow);
}

.modal-backdrop,
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, .78);
    backdrop-filter: blur(12px);
}

.modal-backdrop[hidden],
.lightbox[hidden] {
    display: none;
}

.modal-box {
    width: min(620px, 100%);
    position: relative;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: linear-gradient(145deg, #12160e, #080908);
    box-shadow: var(--shadow);
}

.modal-box h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 42px;
    line-height: 1.05;
}

.modal-close,
.lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--red);
    font-size: 28px;
    cursor: pointer;
}

.lightbox-inner {
    position: relative;
    width: min(1100px, 96vw);
    max-height: 92vh;
}

.lightbox-inner img {
    width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 24px;
    background: #f7ead8;
}

.lightbox-caption {
    margin-top: 10px;
    text-align: center;
    color: var(--cream);
    font-weight: 900;
}

.toast-stack {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1200;
    display: grid;
    gap: 12px;
    width: min(420px, calc(100% - 32px));
}

.toast {
    position: relative;
    padding: 16px 48px 16px 18px;
    border-radius: 18px;
    color: #fff;
    background: var(--green);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
    font-weight: 900;
}

.toast.error {
    background: var(--red);
}

.toast button {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    color: #fff;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
}

.footer {
    margin: 26px 0 34px;
    padding: 18px 4px;
    color: #cdbfa9;
    font-size: 14px;
}

.split-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.split-footer a {
    color: var(--yellow);
    font-weight: 950;
    text-decoration: none;
}

.mobile-app-nav {
    display: none;
}

.empty {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    color: #e8dcc7;
    background: rgba(255, 246, 233, .07);
}

@media (max-width: 980px) {
    .site-shell {
        width: min(100% - 20px, 1480px);
        margin-top: 10px;
        padding-bottom: 94px;
    }

    .desktop-nav,
    .top-cta {
        display: none;
    }

    .topbar {
        top: 8px;
        border-radius: 22px;
    }

    .hero-masterpiece,
    .home-about-split,
    .signature-line-section,
    .about-hero,
    .about-deep-dive,
    .skill-band,
    .request-page,
    .request-content-grid,
    .contact-page,
    .contact-feature,
    .gallery-page {
        grid-template-columns: 1fr;
    }

    .hero-masterpiece {
        min-height: auto;
        padding: 24px;
    }

    .hero-masterpiece::before {
        background:
            linear-gradient(180deg, rgba(7, 8, 7, .9) 0%, rgba(7, 8, 7, .72) 48%, rgba(7, 8, 7, .42) 100%),
            url('../img/home-hero-bg.jpg') center/cover no-repeat;
    }

    .hero-art-panel {
        justify-self: stretch;
    }

    .feature-ribbon,
    .process-strip,
    .about-stat-grid,
    .refined-columns,
    .about-columns,
    .mini-gallery-grid,
    .gallery-showcase {
        grid-template-columns: 1fr;
    }

    .section-heading,
    .split-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .gallery-filter {
        position: static;
    }

    .mobile-app-nav {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 10px;
        z-index: 1000;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 4px;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 26px;
        background: rgba(9, 10, 8, .88);
        backdrop-filter: blur(18px);
        box-shadow: 0 18px 60px rgba(0, 0, 0, .45);
    }

    .mobile-app-nav a {
        display: grid;
        place-items: center;
        gap: 4px;
        min-height: 54px;
        border-radius: 18px;
        color: #d9c9af;
        font-size: 11px;
        font-weight: 900;
    }

    .mobile-app-nav i {
        font-size: 19px;
    }

    .mobile-app-nav a.active {
        color: var(--black);
        background: var(--yellow);
    }
}
