/* ═══════════════════════════════════════════════════
   VanderlindenPhotography Design System
   Cream / Sage / Swiss Blue
   ═══════════════════════════════════════════════════ */

:root {
    --bg: #F5F0EB;
    --surface: #FFFFFF;
    --surface-alt: #EDE8E3;
    --ink: #2C2C2A;
    --ink-muted: #4A4A48;
    --ink-soft: #7A7A76;
    --line: #D6D0C8;
    --line-soft: #E5DFD8;
    --sage: #7C9082;
    --sage-soft: rgba(124, 144, 130, 0.10);
    --accent: #4A90A4;
    --accent-soft: rgba(74, 144, 164, 0.10);

    --font-display: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-mono: 'Courier New', Courier, monospace;

    --max-width: 1200px;
    --radius-lg: 4px;
    --radius-md: 3px;
    --radius-sm: 2px;
    --space-section: clamp(5rem, 10vw, 7rem);
    --space-stack: 1.5rem;
    --space-card: 1rem;
    --grid-line: 1px solid var(--line);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    color-scheme: light;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    line-height: 1.65;
    background: var(--bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

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

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

[hidden] {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ═══════════════════════════════════════════════════
   Navigation
   ═══════════════════════════════════════════════════ */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(245, 240, 235, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.nav-shell {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.9rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    font-family: var(--font-display);
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ink);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    padding: 0.4rem 0.7rem;
    min-height: 2.2rem;
    border: 1px solid transparent;
    transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--ink);
}

.nav-links a.active {
    border-bottom: 2px solid var(--sage);
    padding-bottom: calc(0.4rem - 2px);
}

/* ═══════════════════════════════════════════════════
   Layout
   ═══════════════════════════════════════════════════ */
main {
    overflow: hidden;
}

.content-section {
    padding: var(--space-section) 2rem;
}

.section-tone {
    background: var(--surface);
    border-top: var(--grid-line);
}

.section-shell {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    gap: var(--space-stack);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.section-heading {
    display: grid;
    gap: 0.5rem;
}

.section-subtitle {
    color: var(--ink-soft);
    max-width: 60ch;
    font-size: 0.92rem;
    line-height: 1.55;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--sage);
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════
   Typography
   ═══════════════════════════════════════════════════ */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    line-height: 1.15;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

p {
    color: var(--ink-muted);
}

/* ═══════════════════════════════════════════════════
   Buttons
   ═══════════════════════════════════════════════════ */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.75rem 1.6rem;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    transition: all 0.15s ease;
    cursor: pointer;
}

.button-primary {
    background: var(--accent);
    color: #FFFFFF;
    border-color: var(--accent);
}

.button-primary:hover {
    background: #3D7A8C;
    border-color: #3D7A8C;
}

.button-secondary {
    border-color: var(--ink);
    background: transparent;
    color: var(--ink);
}

.button-secondary:hover {
    background: var(--ink);
    color: var(--bg);
}

.text-link {
    display: inline-block;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.text-link:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* ═══════════════════════════════════════════════════
   Hero — full-width image with overlay
   ═══════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--sage);
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(44, 44, 42, 0.3) 0%,
        rgba(44, 44, 42, 0.55) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 2rem;
}

.hero h1 {
    color: #FFFFFF;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    margin-top: 1rem;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    letter-spacing: 0.02em;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2.2rem;
    justify-content: center;
}

.hero .button-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #FFFFFF;
}

.hero .button-primary:hover {
    background: #3D7A8C;
    border-color: #3D7A8C;
}

.hero .button-secondary {
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.hero .button-secondary:hover {
    background: #FFFFFF;
    color: var(--ink);
}

/* ═══════════════════════════════════════════════════
   Portfolio Preview Cards
   ═══════════════════════════════════════════════════ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-card);
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 3 / 4;
    background: var(--sage-soft);
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-card:hover img {
    transform: scale(1.03);
}

.portfolio-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(44, 44, 42, 0.6) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    transition: background 0.3s ease;
}

.portfolio-card:hover .portfolio-card-overlay {
    background: linear-gradient(0deg, rgba(44, 44, 42, 0.75) 0%, transparent 60%);
}

.portfolio-card-label {
    color: #FFFFFF;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.portfolio-card-count {
    display: block;
    margin-top: 0.25rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Placeholder for images not yet added */
.img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--surface-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
    font-size: 0.82rem;
    font-family: var(--font-mono);
    object-fit: cover;
}

/* ═══════════════════════════════════════════════════
   About Teaser (homepage)
   ═══════════════════════════════════════════════════ */
.about-teaser {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-teaser-img {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--sage-soft);
}

.about-teaser-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-teaser-copy h2 {
    margin-bottom: 1rem;
}

.about-teaser-copy p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════════════════
   Contact Form
   ═══════════════════════════════════════════════════ */
.contact-form-wrap {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.form-group {
    display: grid;
    gap: 0.35rem;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 0.7rem 0.85rem;
    font-family: var(--font-body);
    font-size: 1rem;
    min-height: 48px;
    color: var(--ink);
    background: var(--surface);
    transition: border-color 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-status {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    min-height: 1.25rem;
}

.form-status.success {
    color: var(--sage);
}

.form-status.error {
    color: #C44;
}

/* ═══════════════════════════════════════════════════
   Gallery Grid
   ═══════════════════════════════════════════════════ */
.gallery-page {
    padding: clamp(3.5rem, 7vw, 5rem) 2rem var(--space-section);
}

.gallery-shell {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.gallery-header {
    max-width: 600px;
}

.gallery-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.75rem;
}

.gallery-header p {
    font-size: 1rem;
    line-height: 1.65;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.gallery-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
    background: var(--surface-alt);
    transition: opacity 0.2s ease;
}

.gallery-item:hover {
    opacity: 0.88;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ═══════════════════════════════════════════════════
   Lightbox
   ═══════════════════════════════════════════════════ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 2rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.15s;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 2.5rem;
    cursor: pointer;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.15s;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
}

.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════════════
   About Page
   ═══════════════════════════════════════════════════ */
.about-page {
    padding: clamp(3.5rem, 7vw, 5rem) 2rem var(--space-section);
}

.about-shell {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    gap: var(--space-section);
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.about-photo {
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--sage-soft);
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-bio h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
}

.about-bio p {
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-card);
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: border-color 0.2s ease;
}

.service-card:hover {
    border-color: var(--sage);
}

.service-card h3 {
    font-size: 1.15rem;
}

.service-card p {
    font-size: 0.92rem;
    line-height: 1.6;
}

.about-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.about-cta h2 {
    margin-bottom: 0.75rem;
}

.about-cta p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* ═══════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════ */
.site-footer {
    border-top: 1px solid var(--line);
    background: var(--bg);
}

.footer-shell {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.8rem 2rem 2.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-copy {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--ink-soft);
    letter-spacing: 0.04em;
}

.footer-socials {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    color: var(--ink-soft);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.15s;
}

.footer-socials a:hover {
    color: var(--accent);
}

/* ═══════════════════════════════════════════════════
   Motion — reveals
   ═══════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════
   Focus styles
   ═══════════════════════════════════════════════════ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════
   Theme toggle
   ═══════════════════════════════════════════════════ */
.theme-toggle {
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.theme-toggle:hover {
    color: var(--ink);
    border-color: var(--ink);
}

.theme-toggle svg {
    width: 16px;
    height: 16px;
    display: block;
}

.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }

[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* ═══════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-teaser {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 760px) {
    .nav-shell {
        flex-wrap: wrap;
        padding: 0.75rem 1.25rem;
        gap: 0.75rem;
    }

    .nav-toggle {
        display: flex;
        order: 2;
        min-width: 2.75rem;
        min-height: 2.75rem;
        align-items: center;
        justify-content: center;
    }

    .brand {
        order: 1;
        flex: 1;
        min-width: 0;
    }

    .theme-toggle {
        order: 3;
    }

    .nav-shell nav {
        display: block;
        width: 100%;
        padding-top: 0;
        order: 4;
        border-top: 1px solid var(--line);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.2s ease, padding-top 0.3s ease;
    }

    .nav-open nav {
        max-height: 300px;
        opacity: 1;
        padding-top: 0.75rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-links a {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 0.75rem 0.5rem;
        min-height: 2.9rem;
        font-size: 0.82rem;
        border-bottom: 1px solid var(--line-soft);
    }

    .nav-links a.active {
        border-bottom-color: var(--sage);
        padding-bottom: 0.75rem;
        font-weight: 600;
        color: var(--sage);
    }

    .hero {
        min-height: 60vh;
    }

    .content-section {
        padding: 3.5rem 1.25rem;
    }

    .gallery-page,
    .about-page {
        padding: 2.5rem 1.25rem 3.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-card {
        aspect-ratio: 3 / 2;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-shell {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        padding: 1.2rem 1.25rem;
    }

    .button {
        padding: 0.7rem 1.1rem;
        font-size: 0.78rem;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 1.8rem;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 400px) {
    .nav-shell {
        padding: 0.7rem 0.9rem;
    }

    .hero {
        min-height: 50vh;
    }

    .content-section {
        padding: 2.5rem 0.9rem;
    }

    .gallery-page,
    .about-page {
        padding: 2rem 0.9rem 3rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    .brand {
        font-size: 0.72rem;
    }

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

    .gallery-grid {
        gap: 0.5rem;
    }
}

@media (hover: none) {
    .button-primary:hover {
        background: var(--accent);
        border-color: var(--accent);
    }

    .button-primary:active {
        opacity: 0.85;
    }

    .gallery-item:hover {
        opacity: 1;
    }

    .portfolio-card:hover img {
        transform: none;
    }

    .lightbox-prev,
    .lightbox-next {
        display: none;
    }
}

@media print {
    .site-nav,
    .site-footer,
    .lightbox {
        display: none;
    }

    body {
        background: #ffffff;
    }

    .content-section,
    .hero,
    .gallery-page,
    .about-page {
        padding: 1.5rem 0;
    }
}

/* Lightbox swipe hint */
.lightbox-swipe-hint {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.lightbox-swipe-hint.is-visible {
    opacity: 1;
}

/* Sticky mobile CTA */
.mobile-cta {
    display: none;
}

@media (max-width: 760px) {
    .mobile-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 90;
        height: 48px;
        align-items: center;
        justify-content: center;
        background: rgba(245, 240, 235, 0.92);
        backdrop-filter: blur(12px);
        box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.06);
        border-top: 1px solid var(--line);
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    .mobile-cta.is-visible {
        transform: translateY(0);
    }

    .mobile-cta a {
        font-family: var(--font-body);
        font-size: 0.82rem;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--accent);
        text-decoration: none;
    }

    .mobile-cta a:active {
        opacity: 0.7;
    }

    body {
        padding-bottom: 48px;
    }
}

/* ═══════════════════════════════════════════════════
   Dark mode
   ═══════════════════════════════════════════════════ */
[data-theme="dark"] {
    --bg: #1A1A18;
    --surface: #242422;
    --surface-alt: #2A2A28;
    --ink: #EDEBE8;
    --ink-muted: #C8C6C2;
    --ink-soft: #8A8884;
    --line: #3A3A38;
    --line-soft: #2E2E2C;
    --sage: #8FA898;
    --sage-soft: rgba(143, 168, 152, 0.12);
    --accent: #5BA3B8;
    --accent-soft: rgba(91, 163, 184, 0.12);
    color-scheme: dark;
}

[data-theme="dark"] body {
    background: var(--bg);
}

[data-theme="dark"] .site-nav {
    background: rgba(26, 26, 24, 0.94);
    border-bottom-color: var(--line);
}

[data-theme="dark"] .site-footer {
    background: var(--bg);
    border-top-color: var(--line);
}

[data-theme="dark"] .hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(26, 26, 24, 0.4) 0%,
        rgba(26, 26, 24, 0.65) 100%
    );
}

[data-theme="dark"] .nav-links a {
    color: var(--ink-soft);
}

[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active {
    color: var(--ink);
}

[data-theme="dark"] .nav-links a.active {
    border-bottom-color: var(--sage);
}

[data-theme="dark"] .nav-toggle-bar {
    background: var(--ink);
}

[data-theme="dark"] .theme-toggle {
    border-color: var(--line);
    color: var(--ink-soft);
}

[data-theme="dark"] .theme-toggle:hover {
    color: var(--ink);
    border-color: var(--ink);
}

[data-theme="dark"] .button-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #FFFFFF;
}

[data-theme="dark"] .button-primary:hover {
    background: #4B8F9F;
    border-color: #4B8F9F;
}

[data-theme="dark"] .button-secondary {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}

[data-theme="dark"] .button-secondary:hover {
    background: var(--ink);
    color: var(--bg);
}

[data-theme="dark"] .section-tone {
    background: var(--surface);
    border-top-color: var(--line);
}

[data-theme="dark"] .service-card {
    background: var(--surface);
    border-color: var(--line);
}

[data-theme="dark"] .service-card:hover {
    border-color: var(--sage);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: var(--bg);
    color: var(--ink);
    border-color: var(--line);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: var(--accent);
}

[data-theme="dark"] .about-cta {
    background: var(--surface);
    border-color: var(--line);
}

[data-theme="dark"] .gallery-item {
    background: var(--surface-alt);
}

[data-theme="dark"] .portfolio-card {
    background: var(--surface-alt);
}

[data-theme="dark"] .img-placeholder {
    background: var(--surface-alt);
    color: var(--ink-soft);
}

[data-theme="dark"] .mobile-cta {
    background: rgba(26, 26, 24, 0.92);
}
