/* ========================================
           RESET & CUSTOM PROPERTIES
        ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-green-dark: #1a2e20;
    --color-green-mid: #2d4a36;
    --color-green-light: #4a7055;
    --color-green-pale: #eef3ee;
    --color-gold: #c9a87c;
    --color-gold-light: #e8dcc8;
    --color-brown: #4a3525;
    --color-white: #ffffff;
    --color-black: #111111;
    --color-charcoal: #1c1c1c;
    --color-text-light: #6b6b6b;
    --color-border: #e2e6e0;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.15);
    --transition: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal, .stagger-children > * { transition: none !important; opacity: 1 !important; transform: none !important; }
}

body {
    font-family: var(--font-body);
    color: var(--color-black);
    background: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

body.nav-locked { overflow: hidden; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section-padding { padding: 120px 0; }

.section-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-black);
    margin-bottom: 20px;
}

.section-title .highlight { color: var(--color-green-mid); font-style: italic; font-weight: 400; }

.section-sub {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 640px;
    line-height: 1.7;
    font-weight: 400;
}
.section-sub.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* ========================================
           HEADER / NAVIGATION
        ======================================== */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 32px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 32px;
}

header.scrolled .logo { color: var(--color-black); }
header.scrolled nav a { color: var(--color-black); }
header.scrolled nav a:hover { color: var(--color-green-mid); }
header.scrolled .nav-cta { background: var(--color-black); color: var(--color-white) !important; }
header.scrolled .nav-cta:hover { background: var(--color-green-mid); }

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.logo-badge {
    height: 64px;
    width: auto;
    aspect-ratio: 301 / 239;
    display: block;
    transition: height 0.3s ease;
}
header.scrolled .logo-badge { height: 50px; }

nav { display: flex; align-items: center; gap: 36px; }

nav a {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.04em;
    transition: color 0.25s ease;
    position: relative;
}
nav a::after {
    content: '';
    position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--color-gold);
    transition: width 0.3s ease;
}
nav a:hover { color: var(--color-white); }
nav a:hover::after { width: 100%; }
header.scrolled nav a::after { background: var(--color-green-mid); }

.nav-cta {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white) !important;
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: rgba(255, 255, 255, 0.25); transform: translateY(-1px); border-color: rgba(255, 255, 255, 0.2); }
header.scrolled .nav-cta { background: var(--color-black); border-color: var(--color-black); color: var(--color-white) !important; }
header.scrolled .nav-cta:hover { background: var(--color-green-mid); border-color: var(--color-green-mid); }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-toggle span { display: block; width: 26px; height: 2px; background: var(--color-white); transition: all 0.3s ease; border-radius: 2px; }
header.scrolled .mobile-toggle span { background: var(--color-black); }
.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========================================
           HERO
        ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-black) url('assets/images/hero-plantation.jpg') center/cover no-repeat;
}
@supports (height: 100svh) {
    .hero { height: 100svh; }
}

.hero-video {
    position: absolute;
    top: 50%; left: 50%;
    width: 100%; height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
    filter: brightness(0.7) saturate(1.1);
}

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(26, 46, 32, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    padding: 0 32px;
    color: var(--color-white);
    margin-top: -40px;
}

.hero-content .hero-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold-light);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.hero-content .hero-label::before { content: ''; width: 40px; height: 2px; background: var(--color-gold); }

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    max-width: 900px;
}

.hero-content .sub-group { border-left: 3px solid var(--color-gold); padding-left: 28px; max-width: 640px; }
.hero-content .sub-group p { font-size: 1.25rem; line-height: 1.75; color: rgba(255, 255, 255, 0.85); font-weight: 400; margin-bottom: 4px; }
.hero-content .sub-group p.bold { font-weight: 700; color: var(--color-white); font-size: 1.3rem; }

.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
    animation: bounceDown 2s infinite;
}
.scroll-indicator .line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent); }
@keyframes bounceDown { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .scroll-indicator { animation: none; } }

/* ========================================
           ABOUT
        ======================================== */
.about { background: var(--color-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image { border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; background: var(--color-green-pale); box-shadow: var(--shadow-lg); }
.about-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.about-image:hover img { transform: scale(1.03); }
.about-text p { font-size: 1.05rem; line-height: 1.9; color: var(--color-text-light); margin-bottom: 20px; }

.btn-primary {
    display: inline-flex; align-items: center; gap: 12px;
    background: var(--color-black); color: var(--color-white);
    padding: 16px 40px; border-radius: 40px;
    font-weight: 600; font-size: 0.85rem; letter-spacing: 0.02em;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--color-green-mid); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-primary i { width: 20px; height: 20px; }

.about-pillars {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
    text-align: center;
}
.about-pillars .pillar {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-black);
}
.about-pillars .pillar i { width: 22px; height: 22px; color: var(--color-gold); flex-shrink: 0; }
@media (max-width: 560px) {
    .about-pillars { flex-direction: column; gap: 18px; }
}

/* ========================================
           VISION & MISSION
        ======================================== */
.vision-mission { background: var(--color-white); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; }
.vm-card { background: var(--color-white); padding: 52px 44px; border-radius: 16px; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); transition: box-shadow var(--transition), transform var(--transition); }
.vm-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.vm-card .icon-wrap { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--color-gold-light); color: var(--color-brown); margin-bottom: 24px; }
.vm-card .icon-wrap i { width: 28px; height: 28px; }
.vm-card h3 { font-size: 1.8rem; font-weight: 700; color: var(--color-black); margin-bottom: 16px; }
.vm-card p { font-size: 1rem; line-height: 1.8; color: var(--color-text-light); }

/* ========================================
           WHAT WE DO
        ======================================== */
.what-we-do { background: var(--color-white); }
.wwd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.wwd-card {
    background: var(--color-white); padding: 44px 36px 40px; border-radius: 16px;
    border: 1px solid var(--color-border);
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
    position: relative; display: flex; flex-direction: column;
}
.wwd-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-8px); border-color: var(--color-gold); }
.wwd-card .card-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; background: var(--color-gold-light);
    border-radius: 50%; color: var(--color-brown); margin-bottom: 20px;
    border: 1px solid var(--color-border); flex-shrink: 0;
}
.wwd-card .card-icon i { width: 26px; height: 26px; }
.wwd-card h4 { font-size: 1.4rem; font-weight: 700; color: var(--color-black); margin-bottom: 12px; }
.wwd-card p { font-size: 0.95rem; line-height: 1.8; color: var(--color-text-light); margin-bottom: 20px; flex: 1; }

.wwd-features { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--color-border); }
.wwd-features .feature-item { display: flex; align-items: center; gap: 14px; font-size: 0.85rem; color: var(--color-black); font-weight: 500; transition: color 0.3s ease, transform 0.2s ease; padding: 4px 0; }
.wwd-features .feature-item:hover { color: var(--color-green-mid); transform: translateX(4px); }
.wwd-features .feature-item .num {
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.6rem; font-weight: 700; letter-spacing: 0.05em;
    color: var(--color-gold); background: var(--color-gold-light);
    width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease;
}
.wwd-features .feature-item:hover .num { background: var(--color-gold); color: var(--color-white); }
.wwd-features .feature-item .feat-line { flex: 1; position: relative; }
.wwd-features .feature-item .feat-line::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: var(--color-gold); transition: width 0.4s ease; }
.wwd-features .feature-item:hover .feat-line::after { width: 100%; }
.wwd-features .feature-item .feat-line .feat-text { font-weight: 400; color: var(--color-text-light); }

/* ========================================
           PHILOSOPHY
        ======================================== */
.philosophy { background: var(--color-black); color: var(--color-white); position: relative; overflow: hidden; }
.philosophy::after {
    content: '"'; position: absolute; bottom: -60px; right: 40px;
    font-size: 24rem; color: rgba(255, 255, 255, 0.03); line-height: 1;
    pointer-events: none; font-family: Georgia, serif;
}
.philosophy .section-label { color: var(--color-gold-light); }
.philosophy .section-title { color: var(--color-white); }
.philosophy .section-title .highlight { color: var(--color-gold); }
.philosophy-inner { max-width: 820px; position: relative; z-index: 1; }
.philosophy-inner p { font-size: 1.1rem; line-height: 1.9; color: rgba(255, 255, 255, 0.8); margin-bottom: 20px; }
.philosophy-inner p strong { color: var(--color-white); font-weight: 600; }
.philosophy-inner .quote-block { margin-top: 40px; padding: 36px 44px; background: rgba(255, 255, 255, 0.05); border-left: 4px solid var(--color-gold); border-radius: 12px; backdrop-filter: blur(4px); }
.philosophy-inner .quote-block p { font-size: 1.3rem; font-weight: 400; line-height: 1.6; color: var(--color-white); margin-bottom: 0; font-style: italic; font-family: Georgia, serif; }

/* ========================================
           VALUES
        ======================================== */
.values { background: var(--color-white); border-top: 1px solid var(--color-border); }
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 48px; }
.value-item { text-align: center; padding: 32px 20px 28px; background: var(--color-white); border-radius: 12px; border: 1px solid var(--color-border); transition: transform var(--transition), box-shadow var(--transition), background var(--transition); }
.value-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: var(--color-gold-light); border-color: var(--color-gold); }
.value-item .v-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--color-white); color: var(--color-brown); margin-bottom: 16px; border: 1px solid var(--color-border); }
.value-item .v-icon i { width: 24px; height: 24px; }
.value-item h5 { font-size: 1.1rem; font-weight: 700; color: var(--color-black); margin-bottom: 8px; }
.value-item p { font-size: 0.85rem; line-height: 1.6; color: var(--color-text-light); }

/* ========================================
           CONTACT
        ======================================== */
.contact {
    position: relative;
    background:
        linear-gradient(135deg, rgba(17,17,17,0.88) 0%, rgba(26,46,32,0.82) 100%),
        url('assets/images/contact-mug.jpg') center/cover no-repeat;
    border-top: 1px solid var(--color-border);
    color: var(--color-white);
}
.contact .section-label { color: var(--color-gold-light); }
.contact .section-title { color: var(--color-white); }
.contact .section-title .highlight { color: var(--color-gold); }
.contact .section-sub { color: rgba(255, 255, 255, 0.75); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 48px; align-items: start; }
.contact-item { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.contact-item i { width: 22px; height: 22px; color: var(--color-gold); flex-shrink: 0; }
.contact-info h3 { font-size: 1.8rem; font-weight: 700; color: var(--color-white); margin-bottom: 16px; }
.contact-info p { font-size: 1rem; color: rgba(255, 255, 255, 0.75); line-height: 1.7; margin-bottom: 28px; }
.contact-item span { font-size: 0.95rem; color: var(--color-white); }

.contact-form {
    background: var(--color-white);
    padding: 44px 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
}
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--color-black); margin-bottom: 6px; letter-spacing: 0.02em; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 14px 18px; border: 1px solid var(--color-border);
    border-radius: 8px; font-family: var(--font-body); font-size: 0.95rem;
    color: var(--color-black); background: var(--color-white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-gold); box-shadow: 0 0 0 4px rgba(201, 168, 124, 0.15); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn-primary { width: 100%; justify-content: center; padding: 16px; font-size: 0.9rem; margin-top: 8px; }

.form-privacy-note {
    font-size: 0.8rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: -4px 0 16px;
}
.form-privacy-note a { color: var(--color-green-mid); font-weight: 600; }
.form-privacy-note a:hover { color: var(--color-gold); }

/* Honeypot field — visually hidden but present in the DOM for bots to fill in */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-error {
    font-size: 0.8rem;
    color: #b3261e;
    margin-top: -12px;
    margin-bottom: 16px;
    display: none;
}
.form-error.visible { display: block; }

.form-status {
    font-size: 0.85rem;
    margin-top: 14px;
    text-align: center;
}
.form-status.success { color: var(--color-green-mid); }
.form-status.error { color: #b3261e; }

/* ========================================
           FOOTER
        ======================================== */
footer { background: var(--color-black); color: rgba(255, 255, 255, 0.6); padding: 52px 0 40px; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-logo { display: flex; align-items: center; }
.footer-tagline { font-size: 1.2rem; font-weight: 400; color: rgba(255, 255, 255, 0.4); letter-spacing: 0.02em; font-style: italic; font-family: Georgia, serif; }
.footer-copy { font-size: 0.75rem; color: rgba(255, 255, 255, 0.3); margin-top: 16px; width: 100%; text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.06); padding-top: 20px; }

/* ========================================
           RESPONSIVE
        ======================================== */
@media (max-width: 1024px) {
    .values-grid { grid-template-columns: repeat(3, 1fr); }
    .wwd-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .vm-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .section-padding { padding: 80px 0; }
    .hero-content h1 { font-size: clamp(2.8rem, 10vw, 4rem); }
}

@media (max-width: 768px) {
    /* backdrop-filter on an ancestor creates a new containing block for
       any position:fixed descendant — since the nav drawer below is
       fixed-position AND a DOM child of <header>, header's blur was
       trapping the drawer's top/bottom anchors to header's own ~70px
       height instead of the full viewport. Disabling it here (mobile
       only — desktop nav isn't fixed-position, so it's unaffected)
       fixes that without needing to restructure the HTML. */
    header, header.scrolled {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    header:not(.scrolled) {
        background: rgba(0, 0, 0, 0.45);
    }

    nav {
        position: fixed; top: 0; right: 0; bottom: 0;
        width: min(82vw, 340px);
        background: var(--color-green-dark);
        flex-direction: column; justify-content: center; gap: 28px;
        padding: 40px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 999; align-items: flex-start;
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.35);
    }
    nav.open { transform: translateX(0); }
    .nav-scrim {
        position: fixed; inset: 0;
        background: rgba(17, 17, 17, 0.55);
        z-index: 998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }
    .nav-scrim.open { opacity: 1; pointer-events: auto; }
    nav a { font-size: 1.2rem; font-weight: 500; color: var(--color-white) !important; }
    .nav-cta { background: var(--color-white) !important; color: var(--color-black) !important; border: none; align-self: flex-start; }
    .nav-cta:hover { background: var(--color-gold) !important; color: var(--color-black) !important; }
    .mobile-toggle { display: flex; z-index: 1001; }
    .wwd-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid .value-item:nth-child(5) { grid-column: 1 / 3; max-width: 50%; margin: 0 auto; }
    .container { padding: 0 20px; }
    header { padding: 12px 20px; }
    header.scrolled { padding: 10px 20px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-tagline { font-size: 1rem; }
    .vm-card { padding: 32px 24px; }
    .contact-form { padding: 28px 20px; }
    .philosophy-inner .quote-block { padding: 24px 20px; }
    .philosophy-inner .quote-block p { font-size: 1.1rem; }
    .scroll-indicator { display: none; }
}

@media (max-width: 480px) {
    .values-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .value-item { padding: 20px 12px; }
    .value-item p { font-size: 0.8rem; }
    .section-title { font-size: 2rem; }
    .hero-content h1 { font-size: 2.6rem; }
    .hero-content { padding: 0 20px; }
    .hero-content .sub-group { padding-left: 18px; border-left-width: 2px; }
    .hero { min-height: 620px; }
    .hero-content .sub-group p { font-size: 1.05rem; }
    .hero-content .sub-group p.bold { font-size: 1.1rem; }
    .wwd-features .feature-item { font-size: 0.8rem; }
}

/* ========================================
           ANIMATIONS
        ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }
.reveal-delay-1 { transition-delay: 0.05s; }
.reveal-delay-2 { transition-delay: 0.1s; }
.reveal-delay-3 { transition-delay: 0.15s; }
.reveal-delay-4 { transition-delay: 0.2s; }
.reveal-delay-5 { transition-delay: 0.25s; }

.stagger-children > * { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > * { opacity: 1; transform: translateY(0); }

/* ========================================
           404 ERROR PAGE
        ======================================== */
.error-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
    background: var(--color-white);
}
.error-logo { width: 90px; height: auto; margin-bottom: 32px; }
.error-code {
    font-size: clamp(3.5rem, 10vw, 6rem);
    font-weight: 800;
    color: var(--color-gold-light);
    line-height: 1;
    letter-spacing: -0.02em;
}
.error-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    color: var(--color-black);
    margin: 16px 0 12px;
    max-width: 560px;
}
.error-sub {
    font-size: 1.05rem;
    color: var(--color-text-light);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 40px;
}
.error-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.error-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-green-mid);
    transition: color 0.25s ease;
}
.error-link:hover { color: var(--color-gold); }

/* ========================================
           LEGAL PAGE (Privacy Policy, etc.)
        ======================================== */
.legal-page { background: var(--color-white); padding: 60px 0 100px; min-height: 70vh; }
.legal-container { max-width: 760px; }
.legal-updated { font-size: 0.85rem; color: var(--color-text-light); margin-bottom: 40px; }
.legal-page h2 { font-size: 1.3rem; font-weight: 700; color: var(--color-black); margin: 40px 0 14px; }
.legal-page p { font-size: 1rem; line-height: 1.8; color: var(--color-text-light); margin-bottom: 18px; }
.legal-page p strong { color: var(--color-black); font-weight: 600; }
.legal-page ul { margin: 0 0 18px; padding-left: 22px; }
.legal-page li { font-size: 1rem; line-height: 1.8; color: var(--color-text-light); margin-bottom: 10px; }
.legal-page a { color: var(--color-green-mid); font-weight: 600; text-decoration: underline; }
.legal-page a:hover { color: var(--color-gold); }
.legal-disclaimer {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--color-text-light);
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
    margin-top: 32px;
}
