/* ============================================
   PATTERN-5: ANIMATION STORY
   Craft Editorial + GSAP Animation
   ============================================ */

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
    /* Colors — Earthy Warm Palette */
    --white: #fffcf7;
    --off-white: #f5efe6;
    --cream: #ebe3d5;
    --black: #2d2418;
    --dark-gray: #4a3f32;
    --gray: #7a6e5f;
    --light-gray: #a69c8e;
    --primary: #5a7a5e;
    --primary-light: #7a9a7e;
    --primary-dark: #3d5a40;
    --accent: #b8734d;
    --accent-light: #d9936f;
    --secondary: #6b8f71;
    --secondary-light: #89ab8e;

    /* Typography - Font Families */
    --font-display: 'Shippori Mincho', serif;
    --font-en: 'Cormorant Garamond', serif;
    --font-jp: 'Shippori Mincho', serif;
    --font-mincho: 'Shippori Mincho', serif;
    --font-gothic: 'Noto Sans JP', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;

    /* Typography - Scale */
    --text-hero: clamp(2.2rem, 5vw, 3.6rem);
    --text-h1: clamp(1.8rem, 3.5vw, 2.8rem);
    --text-h2: clamp(1.4rem, 2.8vw, 2rem);
    --text-h3: clamp(1.1rem, 2vw, 1.4rem);
    --text-body: clamp(0.9rem, 1.2vw, 1rem);
    --text-small: clamp(0.75rem, 0.9vw, 0.85rem);
    --text-label: 0.65rem;

    /* Typography - Line Heights (generous for editorial feel) */
    --lh-heading-jp: 1.9;
    --lh-body-jp: 2.2;
    --lh-heading-en: 1.3;
    --lh-label-en: 1;

    /* Typography - Letter Spacing */
    --ls-heading-jp: 0.12em;
    --ls-body-jp: 0.06em;
    --ls-label-en: 0.25em;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 80px;
    --space-5xl: 100px;
    --space-6xl: 120px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --transition-base: 0.3s ease;
    --transition-smooth: 0.5s var(--ease-out-expo);

    /* Shadows — warm tones */
    --shadow-sm: 0 2px 12px rgba(45, 36, 24, 0.06);
    --shadow-md: 0 8px 30px rgba(45, 36, 24, 0.08);
    --shadow-lg: 0 15px 50px rgba(45, 36, 24, 0.12);
    --shadow-header: 0 2px 20px rgba(45, 36, 24, 0.06);

    /* Border Radius — organic, rounded */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
}

/* ============================================
   RESET & BASE
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--off-white);
    color: var(--black);
    overflow-x: hidden;
    line-height: var(--lh-body-jp);
    letter-spacing: var(--ls-body-jp);
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
    position: fixed;
    top: -18px;
    left: -18px;
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, opacity 0.15s ease;
    mix-blend-mode: difference;
    will-change: transform;
}

.cursor-dot {
    position: fixed;
    top: -3px;
    left: -3px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.15s ease;
    will-change: transform;
}

.cursor.visible,
.cursor-dot.visible {
    opacity: 1;
}

.cursor.hover {
    width: 56px;
    height: 56px;
    border-color: var(--accent);
}

.cursor-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-en);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    color: var(--accent);
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.cursor.hover .cursor-label {
    opacity: 1;
}

body.custom-cursor-active,
body.custom-cursor-active a,
body.custom-cursor-active button,
body.custom-cursor-active input,
body.custom-cursor-active select,
body.custom-cursor-active textarea {
    cursor: none !important;
}

@media (pointer: coarse), (max-width: 768px) {
    .cursor, .cursor-dot { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    .cursor, .cursor-dot { display: none !important; }
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 210;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    transition: all var(--transition-smooth);
    will-change: background, padding;
}

.header.menu-open {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}

.header.scrolled {
    background: rgba(245, 239, 230, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 30px;
    box-shadow: var(--shadow-header);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity var(--transition-base);
}

.logo:hover { opacity: 0.8; }

.logo-img {
    height: 44px;
    width: auto;
    border-radius: 6px;
    transition: height var(--transition-smooth);
}

.header.scrolled .logo-img {
    height: 36px;
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gray);
    text-decoration: none;
    letter-spacing: 0.06em;
    transition: color var(--transition-base);
    position: relative;
    white-space: nowrap;
}

/* Nav link underline animation */
.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.4s var(--ease-out-expo);
}

.nav-links a:not(.nav-cta):hover::after { width: 100%; }

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

/* Header CTA Button — warm accent */
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 10px 22px;
    white-space: nowrap;
    background: var(--accent);
    color: var(--white) !important;
    font-family: var(--font-body) !important;
    font-size: 0.78rem !important;
    font-weight: 500;
    border-radius: var(--radius-pill);
    text-decoration: none !important;
    letter-spacing: 0.04em !important;
    text-transform: none !important;
    transition: all var(--transition-smooth);
}

.nav-cta:hover {
    background: #a5664a;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
    color: var(--white) !important;
}

.nav-cta svg {
    width: 14px;
    height: 14px;
}

/* Header Login & Register Links */
.nav-login,
.nav-register {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.04em;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.nav-login {
    color: var(--primary);
    border: 1px solid var(--primary);
}

.nav-login:hover {
    background: var(--primary);
    color: var(--white);
}

.nav-register {
    color: var(--white);
    background: var(--primary);
    border: 1px solid var(--primary);
}

.nav-register:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Header hero-mode (dark background pages) */
.header.hero-mode {
    background: transparent;
    backdrop-filter: none;
}

.header.hero-mode .logo-img {
    /* Logo already has brand gradient — no change needed */
}

.header.hero-mode .nav-links a {
    color: rgba(255,255,255,0.8);
}

.header.hero-mode .nav-links a:hover,
.header.hero-mode .nav-links a.active {
    color: var(--white);
}

.header.hero-mode .nav-login {
    color: rgba(255,255,255,0.85);
    border-color: rgba(255,255,255,0.4);
}

.header.hero-mode .nav-login:hover {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border-color: rgba(255,255,255,0.7);
}

.header.hero-mode .nav-register {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
    color: rgba(255,255,255,0.9);
}

.header.hero-mode .nav-register:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.7);
    color: var(--white);
}

.header.hero-mode .hamburger {
    color: var(--white);
}

/* ============================================
   HAMBURGER MENU
   ============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 201;
    background: none;
    border: none;
    padding: 0;
    color: var(--primary);
}

.hamburger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.hamburger.active {
    color: var(--white);
}

/* ============================================
   MOBILE MENU — sage green overlay
   ============================================ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(61, 90, 64, 0.97);
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    font-family: var(--font-mincho);
    font-size: 1.2rem;
    color: var(--white);
    text-decoration: none;
    padding: 22px 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.active a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active a:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active a:nth-child(6) { transition-delay: 0.35s; }

.mobile-menu a:hover {
    opacity: 0.7;
}

.mobile-menu .mobile-menu-login {
    margin-top: 20px;
    padding: 12px 32px;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-pill);
    text-decoration: none;
    text-align: center;
    opacity: 0;
    transform: translateY(15px);
}

.mobile-menu.active .mobile-menu-login {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.mobile-menu .mobile-menu-cta {
    margin-top: 40px;
    padding: 16px 40px;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-pill);
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-menu.active .mobile-menu-cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.35s;
}

/* ============================================
   BUTTON SYSTEM
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-jp);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
    letter-spacing: 0.5px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-jp);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before { left: 100%; }

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-base);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: var(--white);
    color: var(--primary);
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
    white-space: nowrap;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: var(--accent);
    color: var(--black);
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-smooth);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    filter: brightness(1.05);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-smooth);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}

.btn-lg { padding: 22px 50px; font-size: 1rem; }
.btn-sm { padding: 14px 30px; font-size: 0.8rem; }
.btn-block { width: 100%; }

.btn svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-base);
}

.btn:hover svg {
    transform: translateX(4px);
}

/* ============================================
   CTA SECTION — dark background call-to-action
   ============================================ */
.cta-section {
    padding: 100px 50px;
    background: var(--black);
    text-align: center;
    color: var(--white);
}

.cta-label {
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 20px;
}

.cta-title {
    font-family: var(--font-mincho);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.cta-section .btn-primary:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   FOOTER — dark with white text
   ============================================ */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 80px 50px 40px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer-brand .logo-img {
    height: 60px;
    border-radius: 8px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
}

.footer-contact {
    margin-top: 16px;
    font-size: 0.8rem !important;
    line-height: 2.0 !important;
}

.footer-contact a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-links h4 {
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 25px;
    color: var(--accent);
}

.footer-links ul { list-style: none; }

.footer-links li { margin-bottom: 12px; }

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}

/* ============================================
   SPLASH SCREEN
   ============================================ */
.splash {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #2e3d30;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    pointer-events: none;
}

.splash-logo {
    font-family: var(--font-mincho);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--cream);
    letter-spacing: 0.18em;
    opacity: 0;
    animation: splashLogoIn 0.8s ease forwards 0.4s;
}

.splash-tagline {
    font-family: var(--font-mincho);
    font-size: 0.85rem;
    color: rgba(235, 227, 213, 0.5);
    margin-top: 16px;
    letter-spacing: 0.1em;
    opacity: 0;
    animation: splashFadeIn 0.6s ease forwards 0.7s;
}

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

@keyframes splashFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 0.5; transform: translateY(0); }
}

.splash.exit {
    animation: splashExit 0.7s var(--ease-out-expo) forwards;
}

@keyframes splashExit {
    to { opacity: 0; transform: translateY(-20px); }
}

@media (prefers-reduced-motion: reduce) {
    .splash { display: none; }
}

/* ============================================
   PAGE HEADER — dark gradient
   ============================================ */
.page-header {
    padding: 160px 50px 80px;
    background: linear-gradient(135deg, #2c5f6e 0%, #3a7a5e 40%, var(--primary) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 60%);
    opacity: 1;
}

.page-header::after {
    content: '';
    position: absolute;
    right: 40px;
    bottom: 20px;
    width: 160px;
    height: 60px;
    background: url('../images/village-logo.png') no-repeat center / contain;
    opacity: 0.12;
}

.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.page-header-label {
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 20px;
}

.page-header-title {
    font-family: var(--font-mincho);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.page-header-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.9;
    max-width: 800px;
}

/* ============================================
   CONTENT-VISIBILITY PERFORMANCE
   ============================================ */
.footer,
.cta-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 400px;
}

/* ============================================
   GPU ACCELERATION HINTS
   ============================================ */
.mobile-menu {
    will-change: opacity, visibility;
}

.header {
    will-change: background, padding;
}

.btn-primary,
.btn-secondary,
.btn-accent,
.btn-outline {
    will-change: transform;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.sp-only { display: none; }
.pc-only { display: inline; }

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

@media (max-width: 1100px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .header-left { gap: 8px; }
}

@media (max-width: 768px) {
    .sp-only { display: inline; }
    .pc-only { display: none; }
    .header { padding: 16px 16px; gap: 8px; }
    .header.scrolled { padding: 12px 16px; }

    .btn, .btn-primary, .btn-secondary, .btn-accent, .btn-outline,
    button, .mobile-menu a, .mobile-menu .mobile-menu-cta, .footer-links a {
        min-height: 44px;
    }

    .footer-inner { grid-template-columns: 1fr; gap: 40px; }
    .footer { padding: 50px 25px; }
    .page-header { padding: 140px 25px 60px; }
    .cta-section { padding-left: 25px; padding-right: 25px; }

    input, select, textarea { font-size: 16px; }
}

@media (max-width: 640px) {
    .page-header-title { font-size: 1.8rem; }
    .page-header-desc { font-size: 0.9rem; }
    .cta-title { font-size: 1.6rem; }
    .page-header::after { right: 20px; bottom: 15px; width: 120px; height: 45px; opacity: 0.1; }
}

@media (max-width: 480px) {
    .header { padding: 14px 12px; }
    .header.scrolled { padding: 10px 12px; }
    .logo-img { height: 34px; }
    .header.scrolled .logo-img { height: 30px; }
    .header-left { gap: 5px; }
    .nav-login,
    .nav-register { padding: 4px 8px; font-size: 0.62rem; }
    .page-header { padding: 140px 20px 50px; }
    .footer { padding: 40px 16px; }
    .cta-section { padding: 60px 16px; }
    .btn-primary { width: 100%; justify-content: center; }
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s cubic-bezier(0.19, 1, 0.22, 1),
                transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Floating particles — warm golden */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(184, 115, 77, 0.25);
    border-radius: 50%;
    animation: particleFloat 12s ease-in-out infinite;
}

.particle:nth-child(1) { left: 15%; top: 20%; animation-delay: 0s; animation-duration: 14s; }
.particle:nth-child(2) { left: 45%; top: 60%; animation-delay: -3s; animation-duration: 11s; width: 2px; height: 2px; }
.particle:nth-child(3) { left: 70%; top: 30%; animation-delay: -6s; animation-duration: 16s; }
.particle:nth-child(4) { left: 85%; top: 70%; animation-delay: -9s; animation-duration: 13s; width: 2px; height: 2px; background: rgba(184, 115, 77, 0.12); }
.particle:nth-child(5) { left: 30%; top: 80%; animation-delay: -4s; animation-duration: 15s; width: 2px; height: 2px; background: rgba(201, 169, 98, 0.15); }

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    50% { transform: translate(30px, -40px) scale(1.5); opacity: 0.8; }
    90% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .particle { display: none; }
}
