/* ==========================================================================
   WEDDING ATTIRE STUDIO - SITE STYLES
   Premium wedding-fashion identity built on Bootstrap 5.
   ========================================================================== */

:root {
    --ivory: #faf6f0;
    --cream: #f4ece1;
    --sand: #ede2d2;
    --blush: #eadbd3;
    --gold: #b9965b;
    --gold-light: #d6bd8f;
    --ink: #2c2a27;
    --ink-soft: #3d3a36;
    --slate: #766d64;
    --white: #ffffff;
    --hairline: #e6dbcb;
    --shadow-sm: 0 2px 12px rgba(44, 42, 39, 0.06);
    --shadow-lg: 0 18px 48px rgba(44, 42, 39, 0.14);
    --font-serif: "Cormorant Garamond", Georgia, serif;
    --font-body: "Jost", "Segoe UI", sans-serif;
    --radius: 0.5rem;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--ivory);
    font-size: 1rem;
    line-height: 1.7;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-serif);
    font-weight: 500;
    color: var(--ink);
    line-height: 1.15;
}

p {
    color: var(--slate);
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--ink);
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--gold-light);
    color: var(--ink);
}

/* Accessible focus states */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--ink);
    color: var(--ivory);
    padding: 0.75rem 1.25rem;
}

.skip-link:focus {
    left: 0.5rem;
    top: 0.5rem;
}

/* --------------------------------------------------------------------------
   Utility helpers
   -------------------------------------------------------------------------- */

.section {
    padding: 6rem 0;
}

.section-tight {
    padding: 4rem 0;
}

.section-alt {
    background: var(--cream);
}

.section-white {
    background: var(--white);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.eyebrow::before,
.eyebrow::after {
    content: "";
    height: 1px;
    width: 2rem;
    background: var(--gold-light);
}

.eyebrow-no-line::before,
.eyebrow-no-line::after {
    display: none;
}

.section-heading {
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    margin-bottom: 1.1rem;
}

.section-lede {
    max-width: 46rem;
    margin: 0 auto;
    font-size: 1.06rem;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.82rem;
    padding: 0.85rem 1.9rem;
    border-radius: 999px;
    transition: all 0.25s ease;
}

.btn-gold {
    background: linear-gradient(120deg, var(--gold), var(--gold-light));
    border: 1px solid var(--gold);
    color: var(--white);
}

.btn-gold:hover,
.btn-gold:focus {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.75);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background: var(--white);
    border-color: var(--white);
    color: var(--ink);
}

.btn-outline-ink {
    border: 1px solid var(--ink);
    color: var(--ink);
    background: transparent;
}

.btn-outline-ink:hover,
.btn-outline-ink:focus {
    background: var(--ink);
    color: var(--ivory);
}

.btn-outline-cookie {
    border: 1px solid var(--hairline);
    color: var(--slate);
    background: transparent;
}

.btn-outline-cookie:hover,
.btn-outline-cookie:focus {
    border-color: var(--ink);
    color: var(--ink);
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.site-navbar {
    background: rgba(250, 246, 240, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    padding: 0.95rem 0;
    transition: box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.site-navbar.is-scrolled {
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--hairline);
    background: rgba(250, 246, 240, 0.97);
}

.site-navbar.navbar-strong {
    background: rgba(250, 246, 240, 0.97);
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--hairline);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--ink);
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
}

.navbar-brand:hover {
    color: var(--ink);
}

.brand-mark {
    color: var(--gold);
    font-size: 0.85rem;
    transform: rotate(45deg);
    display: inline-block;
}

.brand-name {
    white-space: nowrap;
}

.navbar-nav .nav-link {
    color: var(--ink-soft);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 0.6rem 0.9rem;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 100%;
    bottom: 0.25rem;
    height: 1px;
    background: var(--gold);
    transition: right 0.25s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--ink);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    right: 0.9rem;
}

.nav-cta {
    padding: 0.65rem 1.4rem;
    margin-left: 0.75rem;
}

.navbar-toggler {
    border-color: var(--hairline);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(44,42,39,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(250, 246, 240, 0.98);
        border: 1px solid var(--hairline);
        border-radius: var(--radius);
        padding: 1rem;
        margin-top: 0.75rem;
        box-shadow: var(--shadow-lg);
    }

    .nav-cta {
        margin: 0.75rem 0 0;
        display: inline-block;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 8rem 0 5rem;
}

.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(20, 18, 15, 0.35) 0%, rgba(20, 18, 15, 0.28) 45%, rgba(20, 18, 15, 0.62) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 54rem;
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    margin-bottom: 1.6rem;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
    content: "";
    height: 1px;
    width: 3rem;
    background: rgba(255, 255, 255, 0.6);
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 5.6vw, 4.5rem);
    font-weight: 500;
    letter-spacing: 0.01em;
    margin-bottom: 1.4rem;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero p {
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(1rem, 1.5vw, 1.22rem);
    font-weight: 300;
    max-width: 40rem;
    margin: 0 auto 2.2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 1.6rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-decoration: none;
}

.hero-scroll:hover {
    color: var(--white);
}

/* --------------------------------------------------------------------------
   Interior page hero
   -------------------------------------------------------------------------- */

.page-hero {
    position: relative;
    padding: 10rem 0 4.5rem;
    text-align: center;
    background: var(--ink);
    color: var(--ivory);
    overflow: hidden;
}

.page-hero .page-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.34;
}

.page-hero .page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 18, 15, 0.5) 0%, rgba(20, 18, 15, 0.72) 100%);
}

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

.page-hero h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 4.6vw, 3.6rem);
    margin-bottom: 1rem;
}

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

.page-hero .eyebrow::before,
.page-hero .eyebrow::after {
    background: var(--gold-light);
}

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 42rem;
    margin: 0 auto;
    font-weight: 300;
}

.breadcrumb-nav {
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-nav a:hover {
    color: var(--white);
}

.breadcrumb-nav span {
    color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   Category cards
   -------------------------------------------------------------------------- */

.category-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    display: block;
    min-height: 320px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    background: var(--ink);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.category-card .category-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.category-card:hover .category-media {
    transform: scale(1.05);
}

.category-card .category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 18, 15, 0.05) 40%, rgba(20, 18, 15, 0.78) 100%);
}

.category-card .category-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 1.75rem;
}

.category-card h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

.category-card p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.95rem;
    font-weight: 300;
    margin-bottom: 0.9rem;
}

.category-link {
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.category-link:hover {
    color: var(--white);
}

.category-link .arrow {
    transition: transform 0.25s ease;
}

.category-card:hover .arrow {
    transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   Gallery / collection cards
   -------------------------------------------------------------------------- */

.collection-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    height: 100%;
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.collection-media-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--sand);
}

.collection-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.collection-card:hover .collection-media {
    transform: scale(1.06);
}

.collection-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    background: rgba(250, 246, 240, 0.9);
    color: var(--ink);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
}

.collection-body {
    padding: 1.4rem;
}

.collection-body h3 {
    font-size: 1.3rem;
    margin-bottom: 0.45rem;
}

.collection-body p {
    font-size: 0.95rem;
    margin-bottom: 1.1rem;
}

/* --------------------------------------------------------------------------
   Feature / split sections
   -------------------------------------------------------------------------- */

.feature-image-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--sand);
}

.feature-image {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 1.75rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.7rem;
    margin-bottom: 0.7rem;
    color: var(--slate);
    font-size: 0.98rem;
}

.feature-list li::before {
    content: "\25C6";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold);
    font-size: 0.78rem;
}

/* --------------------------------------------------------------------------
   Style guide content
   -------------------------------------------------------------------------- */

.article-card {
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 1.9rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.article-num {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.article-card h3 {
    font-size: 1.35rem;
    margin: 0.6rem 0 0.7rem;
}

.article-card p {
    font-size: 0.96rem;
}

.article-card .read-more {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.article-card .read-more:hover {
    color: var(--ink);
}

.guide-section {
    margin-bottom: 3.4rem;
}

.guide-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.guide-section h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.6rem;
}

.guide-section p,
.guide-section li {
    color: var(--slate);
    font-size: 1rem;
}

.guide-section ul {
    padding-left: 1.2rem;
}

.guide-section ul li {
    margin-bottom: 0.4rem;
}

.pull-quote {
    border-left: 3px solid var(--gold);
    padding: 1.2rem 1.6rem;
    margin: 1.8rem 0;
    background: var(--cream);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--ink);
}

/* --------------------------------------------------------------------------
   Contact form
   -------------------------------------------------------------------------- */

.form-panel {
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 3vw, 2.75rem);
    box-shadow: var(--shadow-sm);
}

.form-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.form-control,
.form-select {
    border: 1px solid var(--hairline);
    border-radius: 0.35rem;
    padding: 0.75rem 1rem;
    color: var(--ink);
    background-color: var(--ivory);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.18rem rgba(185, 150, 91, 0.18);
    background-color: var(--white);
}

.form-control::placeholder {
    color: #b0a79c;
    font-weight: 300;
}

.form-check-input:checked {
    background-color: var(--gold);
    border-color: var(--gold);
}

.required-star {
    color: var(--gold);
}

.captcha-note {
    font-size: 0.78rem;
    color: var(--slate);
}

.alert-custom {
    border-radius: var(--radius);
}

.alert-success-custom {
    background: #f0f5ee;
    border: 1px solid #cfe0c9;
    color: #33502f;
}

.alert-danger-custom {
    background: #faf0ef;
    border: 1px solid #eccfcb;
    color: #7a3a33;
}

.contact-side ul {
    list-style: none;
    padding: 0;
}

.contact-side ul li {
    border-bottom: 1px solid var(--hairline);
    padding: 1rem 0;
    color: var(--slate);
    font-size: 0.98rem;
}

.contact-side ul li:last-child {
    border-bottom: 0;
}

.contact-side ul li .side-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.25rem;
}

.form-flash {
    margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   Cookie consent modal
   -------------------------------------------------------------------------- */

.cookie-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(20, 18, 15, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.cookie-overlay[hidden] {
    display: none;
}

.cookie-modal {
    background: var(--ivory);
    border-radius: 0.9rem;
    box-shadow: var(--shadow-lg);
    max-width: 34rem;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: clamp(1.5rem, 4vw, 2.75rem);
    text-align: center;
    border: 1px solid var(--hairline);
    animation: modal-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modal-in {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cookie-mark {
    display: inline-block;
    color: var(--gold);
    font-size: 1.2rem;
    transform: rotate(45deg);
    margin-bottom: 0.6rem;
}

.cookie-modal h2 {
    font-size: 1.9rem;
    margin-bottom: 0.9rem;
}

.cookie-modal p {
    font-size: 0.97rem;
    margin-bottom: 1.4rem;
}

.cookie-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.cookie-policy-link {
    margin-bottom: 0;
    font-size: 0.85rem;
}

@media (max-width: 575.98px) {
    .cookie-actions .btn {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
    background: var(--ink);
    color: rgba(250, 246, 240, 0.85);
    padding: 4.5rem 0 2rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--ivory);
    margin-bottom: 1rem;
}

.footer-brand:hover {
    color: var(--ivory);
}

.footer-about {
    color: rgba(250, 246, 240, 0.72);
    font-size: 0.94rem;
    font-weight: 300;
}

.footer-contact {
    margin-top: 1.2rem;
}

.footer-contact a {
    color: var(--gold-light);
    letter-spacing: 0.02em;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-heading {
    color: var(--ivory);
    font-size: 1.05rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    font-family: var(--font-body);
    font-weight: 500;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(250, 246, 240, 0.78);
    font-size: 0.95rem;
    font-weight: 300;
}

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

.footer-bottom {
    border-top: 1px solid rgba(250, 246, 240, 0.14);
    margin-top: 3rem;
    padding-top: 1.6rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: rgba(250, 246, 240, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

.footer-legal {
    max-width: 38rem;
    font-size: 0.78rem;
}

/* --------------------------------------------------------------------------
   Legal / static pages
   -------------------------------------------------------------------------- */

.legal-body {
    max-width: 52rem;
}

.legal-body h2 {
    font-size: 1.6rem;
    margin: 2.2rem 0 0.9rem;
}

.legal-body h3 {
    font-size: 1.2rem;
    margin: 1.7rem 0 0.6rem;
}

.legal-body p,
.legal-body li {
    color: var(--slate);
    font-size: 1rem;
}

.legal-body ul,
.legal-body ol {
    padding-left: 1.3rem;
}

.legal-body li {
    margin-bottom: 0.45rem;
}

.legal-body .updated {
    color: var(--slate);
    font-size: 0.88rem;
    font-style: italic;
    margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   Error pages
   -------------------------------------------------------------------------- */

.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(rgba(44, 42, 39, 0.82), rgba(44, 42, 39, 0.86)),
        url("https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=1600&q=60") center/cover fixed no-repeat;
    color: var(--ivory);
    padding: 4rem 1.5rem;
}

.error-code {
    font-family: var(--font-serif);
    font-size: clamp(4.5rem, 14vw, 8rem);
    line-height: 1;
    color: var(--gold-light);
}

.error-page h1 {
    color: var(--white);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    margin: 1rem 0;
}

.error-page p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 34rem;
    margin: 0 auto 2rem;
    font-weight: 300;
}

/* --------------------------------------------------------------------------
   Reveal animation (subtle, reduced-motion friendly)
   -------------------------------------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

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

/* --------------------------------------------------------------------------
   Responsive polish
   -------------------------------------------------------------------------- */

@media (max-width: 767.98px) {
    .section {
        padding: 4rem 0;
    }

    .category-card {
        min-height: 260px;
    }

    .feature-image {
        min-height: 280px;
    }
}