/* === 1. VARIABLES CSS === */
:root {
    /* Colors */
    --color-bg: #FAFAFA;
    --color-white: #FFFFFF;
    --color-text-primary: #2C2C2C;
    --color-text-secondary: #757575;
    --color-accent: #4A90E2;
    --color-accent-gray: #EEEEEE;
    --color-border: #e0e0e0;
    --color-footer: #1a1a1a;
    --color-success: #28a745;
    /* Brand gradient */
    --color-gradient-start: #667eea;
    --color-gradient-end: #764ba2;
    --gradient-brand: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    /* Typography */
    --font-primary: 'Geist', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    /* Spacing */
    --section-padding: clamp(4rem, 10vh, 8rem);
    /* Transitions — specific properties only, no "all" */
    --transition-smooth: transform 0.3s cubic-bezier(0.25, 0, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0, 0.25, 1), color 0.3s cubic-bezier(0.25, 0, 0.25, 1), background-color 0.3s cubic-bezier(0.25, 0, 0.25, 1), border-color 0.3s cubic-bezier(0.25, 0, 0.25, 1), opacity 0.3s cubic-bezier(0.25, 0, 0.25, 1);
    --transition-slow: transform 0.6s cubic-bezier(0.25, 0, 0, 1), opacity 0.6s cubic-bezier(0.25, 0, 0, 1);
    /* Easing curves */
    --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* === 2. RESET & BASE === */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    color: var(--color-text-primary);
    background-color: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
}

/* === 3. TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-light);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

p {
    font-size: 1.125rem;
}

.lead-text {
    font-size: 1.75rem;
    font-weight: var(--font-weight-light);
    margin-bottom: 2rem;
}

/* === 4. HERO MODERN === */
.hero-modern {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-brand);
    color: var(--color-white);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero-logo {
    max-height: clamp(80px, 12vw, 160px);
    width: auto;
    object-fit: contain;
}

.hero-title {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: var(--font-weight-light);
    margin-bottom: 1rem;
    color: var(--color-white);
    letter-spacing: 0.02em;
    animation: heroFadeUp 0.9s var(--ease-out-expo) 0.1s both;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: var(--font-weight-light);
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.88);
    animation: heroFadeUp 0.8s var(--ease-out-expo) 0.38s both;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 3rem;
    background: var(--color-white);
    color: var(--color-text-primary);
    text-decoration: none;
    border-radius: 50px;
    animation: heroFadeUp 0.7s var(--ease-out-expo) 0.62s both;
    font-size: 1.25rem;
    font-weight: var(--font-weight-medium);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    color: var(--color-accent);
}

.hero-cta:focus-visible {
    outline: 3px solid var(--color-white);
    outline-offset: 4px;
}

.hero-image-wrapper {
    position: absolute;
    bottom: -10%;
    right: 5%;
    z-index: 1;
    opacity: 0.15;
}

.hero-profile {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(100%) contrast(120%);
}

/* === 5. STATEMENT SECTION === */
.statement-section {
    padding: var(--section-padding) 0;
    background: var(--color-white);
    text-align: center;
}

.statement-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.statement-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: var(--font-weight-light);
    margin-bottom: 2rem;
    color: var(--color-text-primary);
}

.statement-text {
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-light);
}

/* === 6. HORIZONTAL SCROLL GALLERY === */
.horizontal-gallery {
    padding: var(--section-padding) 0;
    background: var(--color-bg);
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.gallery-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.gallery-instruction {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-light);
}

.gallery-container {
    position: relative;
    max-width: 100%;
    padding: 0 2rem;
}

.horizontal-scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none; /* Prevent text selection during drag */
}

.horizontal-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.horizontal-scroll-wrapper.active {
    cursor: grabbing;
    scroll-behavior: auto; /* Disable smooth scroll during drag */
}

.horizontal-scroll-wrapper.active .gallery-card {
    pointer-events: none; /* Prevent card interactions during drag */
}

.horizontal-scroll {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
}

/* Lightbox navigation buttons */
.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255);
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-text-primary);
}

.lightbox-nav-btn:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(74, 144, 226, 0.5);
}

.lightbox-nav-btn:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
}

.lightbox-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.lightbox-nav-prev {
    left: 20px;
}

.lightbox-nav-next {
    right: 20px;
}

.lightbox-counter {
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.gallery-card {
    position: relative;
    min-width: 450px;
    width: 450px;
    height: 600px;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.gallery-card:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-card:hover .gallery-card-overlay {
    opacity: 0;
}

.gallery-expand {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 0.8rem;
    color: oklch(97% 0.005 275 / 0.5);
    transform: translateY(-5px);
    opacity: 0;
    transition: transform 0.5s var(--ease-out-expo), opacity 0.4s ease;
}

.gallery-card:hover .gallery-expand {
    transform: translateY(0);
    opacity: 1;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    transform: translateY(8px);
    opacity: 0;
    transition: transform 0.5s var(--ease-out-expo), opacity 0.4s ease;
}

.gallery-card:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

.gallery-caption-type {
    display: block;
    font-size: 0.7rem;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: oklch(95% 0.008 275 / 0.6);
    margin-bottom: 0.3rem;
}

.gallery-caption-title {
    display: block;
    font-size: 1rem;
    font-weight: var(--font-weight-light);
    color: oklch(97% 0.005 275);
    line-height: 1.3;
}

/* === 7. SPLIT SECTIONS === */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    align-items: center;
}

.split-image {
    height: 100%;
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-content {
    padding: var(--section-padding);
    background: var(--color-white);
}

.split-inner {
    max-width: 600px;
}

.split-section.split-inverted {
    background: var(--color-bg);
}

.split-section.split-inverted .split-content {
    background: var(--color-bg);
}

.philosophy-quote {
    margin: 4rem 0 0 0;
    padding: 0;
    border: none;
}

.philosophy-quote-text {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: var(--font-weight-light);
    font-style: italic;
    line-height: 1.25;
    color: var(--color-text-primary);
    margin-bottom: 1.25rem;
}

.philosophy-quote-credit {
    display: block;
    font-size: 0.8125rem;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

/* === 8. TESTIMONIALS === */
.testimonials-section {
    padding: var(--section-padding) 0;
    background: var(--color-white);
}

.testimonials-section h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 4rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--color-bg);
    border-radius: 20px;
    padding: 3rem;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent-gray);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: var(--color-text-primary);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    font-size: 1.125rem;
    color: var(--color-text-primary);
}

.testimonial-author span {
    font-size: 1rem;
    color: var(--color-text-secondary);
}

/* === 9. MODERN CONTACT === */
.contact-modern {
    padding: var(--section-padding) 0;
    background: var(--gradient-brand);
    color: var(--color-white);
}

.contact-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-white);
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.88);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-decoration: none;
    color: var(--color-white);
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    color: var(--color-white);
}

.contact-method:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 3px;
    border-radius: 20px;
}

.contact-method i {
    font-size: 3rem;
}

.contact-method span {
    font-size: 1.25rem;
    font-weight: var(--font-weight-medium);
}

.contact-method small {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.72);
}

/* === 10. MODERN FORM === */
.contact-form-wrapper {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

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

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 1.25rem 1rem 0.75rem;
    font-size: 1.125rem;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    outline: none;
    transition: var(--transition-smooth);
    background: var(--color-bg);
    font-family: var(--font-primary);
}

.form-input:focus {
    border-color: var(--color-accent);
    background: var(--color-white);
}

.form-input:focus + .form-label-float,
.form-input:not(:placeholder-shown) + .form-label-float {
    transform: translateY(-1.5rem) scale(0.85);
    color: var(--color-accent);
}

.form-label-float {
    position: absolute;
    left: 1rem;
    top: 1.25rem;
    color: var(--color-text-secondary);
    font-size: 1.125rem;
    pointer-events: none;
    transition: var(--transition-smooth);
    transform-origin: left;
}

.hp-field {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
    pointer-events: none;
}

.btn-submit {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.25rem;
    font-weight: var(--font-weight-medium);
    background: var(--gradient-brand);
    color: var(--color-white);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.40);
}

.btn-submit:focus-visible {
    outline: 3px solid var(--color-text-primary);
    outline-offset: 3px;
}

.btn-submit.is-loading {
    pointer-events: none;
    opacity: 0.85;
}

.btn-submit.is-loading::after {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: var(--color-white);
    flex-shrink: 0;
    animation: spin 0.7s linear infinite;
}

/* === 11. NAVBAR === */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    transition: var(--transition-smooth);
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: var(--font-weight-regular);
    letter-spacing: 0.05em;
}

.nav-link {
    color: var(--color-text-primary) !important;
    font-weight: var(--font-weight-regular);
    padding: 0.5rem 1rem !important;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--color-accent) !important;
}

/* === 12. FOOTER === */
.footer {
    background: var(--color-footer);
    color: rgba(255, 255, 255, 0.8);
    padding: 2rem 0;
}

.social-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-smooth);
}

.social-links a:hover {
    color: var(--color-white) !important;
    transform: scale(1.1);
}

/* === 13. LIGHTBOX === */
.modal-content.bg-transparent {
    background-color: rgba(0, 0, 0, 0.9) !important;
}

#lightboxImage {
    max-height: 90vh;
    object-fit: contain;
}

/* === 14. ALERTS === */
.alert {
    border-radius: 12px;
    border: none;
    padding: 1.5rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* === 15. MODERN ANIMATIONS === */

/* --- Keyframes --- */

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}

/* Curtain reveal — photographic, cinematic */
@keyframes curtainSweepRight {
    from { clip-path: inset(0 100% 0 0); }
    to   { clip-path: inset(0 0% 0 0); }
}

@keyframes curtainSweepLeft {
    from { clip-path: inset(0 0 0 100%); }
    to   { clip-path: inset(0 0 0 0%); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Scroll animation system --- */

.animate-on-scroll {
    opacity: 0;
}

/* Curtain elements are visible by default; JS sets initial clip-path if available */
.animate-on-scroll.curtain-sweep-right,
.animate-on-scroll.curtain-sweep-left {
    opacity: 1;
}

.animate-on-scroll.animated {
    animation-duration: 0.85s;
    animation-fill-mode: both;
    animation-timing-function: var(--ease-out-expo);
}

.fade-in.animated       { animation-name: fadeIn; }
.slide-in-left.animated { animation-name: slideInLeft; }
.slide-in-right.animated{ animation-name: slideInRight; }
.scale-in.animated      { animation-name: scaleIn; }

.curtain-sweep-right.animated {
    animation-name: curtainSweepRight;
    animation-duration: 1.1s;
    clip-path: inset(0 0% 0 0);
}

.curtain-sweep-left.animated {
    animation-name: curtainSweepLeft;
    animation-duration: 1.1s;
    clip-path: inset(0 0 0 0%);
}

.gallery-card.animated:nth-child(1) { animation-delay: 0.1s; }
.gallery-card.animated:nth-child(2) { animation-delay: 0.2s; }
.gallery-card.animated:nth-child(3) { animation-delay: 0.3s; }
.gallery-card.animated:nth-child(4) { animation-delay: 0.4s; }
.gallery-card.animated:nth-child(5) { animation-delay: 0.5s; }
.gallery-card.animated:nth-child(6) { animation-delay: 0.6s; }
.gallery-card.animated:nth-child(7) { animation-delay: 0.7s; }
.gallery-card.animated:nth-child(8) { animation-delay: 0.8s; }
.gallery-card.animated:nth-child(9) { animation-delay: 0.9s; }

.testimonial-card.animated:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card.animated:nth-child(2) { animation-delay: 0.3s; }
.testimonial-card.animated:nth-child(3) { animation-delay: 0.5s; }

/* === 16. RESPONSIVE === */
@media (max-width: 1024px) {
    .split-section {
        grid-template-columns: 1fr;
    }

    .split-image {
        min-height: 400px;
    }

    .hero-profile {
        width: 300px;
        height: 300px;
    }

    .gallery-card {
        width: 400px;
        height: 550px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 56px;
    }

    .hero-image-wrapper {
        opacity: 0.08;
    }

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

    .horizontal-scroll {
        padding: 2rem 1rem;
    }

    .gallery-card {
        min-width: 320px;
        width: 320px;
        height: 450px;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .split-content {
        padding: 3rem 2rem;
    }

    .lead-text {
        font-size: 1.5rem;
    }

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

/* === 17. PERFORMANCE === */
/* will-change applied via JS just before animation fires — not statically */

/* Reduce motion for users who prefer it */
/* === COOKIE CONSENT === */
#cc-main {
    --cc-font-family: var(--font-primary);
    --cc-bg: var(--color-white);
    --cc-text: var(--color-text-primary);
    --cc-secondary-color: var(--color-text-secondary);
    --cc-btn-primary-bg: var(--color-accent);
    --cc-btn-primary-color: #fff;
    --cc-btn-primary-hover-bg: #357abd;
    --cc-btn-secondary-bg: var(--color-accent-gray);
    --cc-btn-secondary-color: var(--color-text-primary);
    --cc-btn-secondary-hover-bg: #e0e0e0;
    --cc-toggle-on-bg: var(--color-accent);
    --cc-separator-border-color: var(--color-accent-gray);
    --cc-modal-border-radius: 0.5rem;
    --cc-btn-border-radius: 4px;
    --cc-z-index: 9999;
}

/* === PRIVACY PAGE === */
.privacy-page {
    padding-top: 6rem;
    padding-bottom: 4rem;
}

.privacy-page h1 {
    font-size: 2.5rem;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.privacy-page .last-updated {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    margin-bottom: 3rem;
}

.privacy-page h2 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-accent-gray);
}

.privacy-page p,
.privacy-page li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.privacy-page ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-page .cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin: 1rem 0;
}

.privacy-page .cookie-table th {
    background: var(--color-accent-gray);
    color: var(--color-text-primary);
    font-weight: var(--font-weight-semibold);
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.875rem;
}

.privacy-page .cookie-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-accent-gray);
    color: var(--color-text-secondary);
}

.privacy-page .cookie-table code {
    background: var(--color-accent-gray);
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.85em;
}

.privacy-page .authority-note {
    background: var(--color-accent-gray);
    padding: 1rem 1.25rem;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.3);
}

.footer-legal-link {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-legal-link:hover {
    color: var(--color-accent) !important;
    text-decoration: underline;
}

button.footer-legal-link {
    background: none;
    border: none;
    cursor: pointer;
    vertical-align: baseline;
}

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll,
    .animate-on-scroll.animated {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    /* Hero page-load animations */
    .hero-title,
    .hero-subtitle,
    .hero-cta {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    /* Curtain reveal — show immediately */
    .animate-on-scroll.curtain-sweep-right,
    .animate-on-scroll.curtain-sweep-left {
        clip-path: none !important;
        animation: none !important;
    }

    /* Gallery caption */
    .gallery-caption,
    .gallery-expand {
        transform: none !important;
        opacity: 1 !important;
        transition: none !important;
    }

    /* Submit spinner */
    .btn-submit.is-loading::after {
        animation: none !important;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
