/* ============================================
   Pure Essentials — Main Stylesheet
   ============================================ */

:root {
    --forest:  #3d5a3a;
    --sage:    #6b8f71;
    --olive:   #8b9a6d;
    --sand:    #c4b49a;
    --cream:   #f5f0e8;
    --linen:   #faf8f4;
    --warm:    #8b7355;
    --dark:    #2a2a25;
    --text:    #4a4a42;
    --muted:   #7a7a6e;
    --white:   #ffffff;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans:  'Montserrat', -apple-system, sans-serif;

    --header-h: 80px;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--linen);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ---- Header ---- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--header-h);
    background: rgba(250, 248, 244, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(61, 90, 58, 0.08);
    transition: background 0.4s, box-shadow 0.4s;
}
.site-header.scrolled {
    background: rgba(250, 248, 244, 0.98);
    box-shadow: 0 1px 30px rgba(0,0,0,0.06);
}
.header-inner {
    max-width: 1280px; margin: 0 auto;
    padding: 0 40px; height: 100%;
    display: flex; align-items: center; justify-content: space-between;
}
.logo {
    display: flex; flex-direction: column; line-height: 1.1;
}
.logo-pure {
    font-family: var(--font-serif);
    font-size: 22px; font-weight: 500;
    letter-spacing: 0.25em; color: var(--forest);
}
.logo-essentials {
    font-family: var(--font-sans);
    font-size: 9px; font-weight: 500;
    letter-spacing: 0.45em; color: var(--warm);
    margin-top: 2px;
}
.main-nav {
    display: flex; gap: 36px;
}
.main-nav a {
    font-size: 11px; font-weight: 500;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--muted);
    transition: color 0.3s;
    position: relative;
}
.main-nav a::after {
    content: ''; position: absolute;
    bottom: -4px; left: 0; width: 0; height: 1px;
    background: var(--forest);
    transition: width 0.3s;
}
.main-nav a:hover { color: var(--forest); }
.main-nav a:hover::after { width: 100%; }

.menu-toggle {
    display: none; background: none; border: none; cursor: pointer;
    width: 28px; height: 20px; position: relative;
}
.menu-toggle span {
    display: block; width: 100%; height: 1.5px;
    background: var(--forest);
    position: absolute; left: 0;
    transition: all 0.3s;
}
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 0; }

/* ---- Hero ---- */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background-color: #2a3f28;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: none;
}
.hero::after {
    content: ''; position: absolute; inset: 0;
    background: none;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(30,45,28,0.7) 0%, rgba(30,45,28,0.8) 100%);
}
.hero-content {
    position: relative; z-index: 2;
    text-align: center; max-width: 700px;
    padding: 0 40px;
    animation: fadeUp 1.2s ease-out;
}
.hero-welcome {
    font-family: var(--font-sans);
    font-size: 11px; font-weight: 500;
    letter-spacing: 0.5em; color: var(--sand);
    margin-bottom: 24px;
}
.hero-title {
    display: flex; flex-direction: column; align-items: center;
    margin-bottom: 32px;
}
.hero-pure {
    font-family: var(--font-serif);
    font-size: clamp(56px, 10vw, 100px);
    font-weight: 300; letter-spacing: 0.15em;
    color: var(--white); line-height: 1;
}
.hero-essentials {
    font-family: var(--font-sans);
    font-size: clamp(14px, 2.5vw, 20px);
    font-weight: 300; letter-spacing: 0.55em;
    color: var(--sand); margin-top: 8px;
}
.hero-line {
    width: 60px; height: 1px;
    background: var(--sand); opacity: 0.5;
    margin: 0 auto 32px;
}
.hero-text {
    font-size: 15px; line-height: 1.9;
    color: rgba(255,255,255,0.75);
    max-width: 560px; margin: 0 auto 40px;
    font-weight: 300;
}
.hero-scroll {
    position: absolute; bottom: 40px; left: 50%;
    transform: translateX(-50%); z-index: 2;
    display: flex; flex-direction: column; align-items: center;
    gap: 8px;
}
.hero-scroll span {
    font-size: 9px; letter-spacing: 0.3em;
    text-transform: uppercase; color: var(--sand); opacity: 0.6;
}
.scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, var(--sand), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* ---- Button ---- */
.btn {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 11px; font-weight: 500;
    letter-spacing: 0.2em; text-transform: uppercase;
    padding: 16px 40px;
    border: 1px solid rgba(196, 180, 154, 0.4);
    color: var(--white);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: ''; position: absolute; inset: 0;
    background: var(--forest);
    transform: scaleX(0); transform-origin: right;
    transition: transform 0.4s ease;
    z-index: -1;
}
.btn:hover { border-color: var(--forest); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }

.section-contact .btn {
    color: var(--forest);
    border-color: var(--forest);
}
.section-contact .btn:hover { color: var(--white); }

/* ---- Sections ---- */
.section {
    padding: 140px 40px;
}
.section-inner {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}
.section-inner.reverse { direction: rtl; }
.section-inner.reverse > * { direction: ltr; }

.section-label {
    font-family: var(--font-sans);
    font-size: 11px; font-weight: 500;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--sage); display: block;
    margin-bottom: 16px;
}
.section h2 {
    font-family: var(--font-serif);
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 300; color: var(--forest);
    line-height: 1.15; margin-bottom: 20px;
}
.section-line {
    width: 40px; height: 1px;
    background: var(--sand);
    margin-bottom: 24px;
}
.section-line.centered { margin: 0 auto 24px; }
.section p {
    font-size: 15px; line-height: 1.9;
    color: var(--muted); max-width: 480px;
    margin-bottom: 28px;
}
.feature-list {
    display: flex; flex-direction: column; gap: 10px;
}
.feature-list li {
    font-size: 13px; font-weight: 400;
    color: var(--text);
    padding-left: 20px; position: relative;
}
.feature-list li::before {
    content: ''; position: absolute;
    left: 0; top: 8px;
    width: 6px; height: 6px;
    border: 1px solid var(--sage);
    border-radius: 50%;
}

/* Media frames */
.media-frame {
    position: relative;
    aspect-ratio: 4 / 5;
    background: linear-gradient(135deg, rgba(61,90,58,0.06), rgba(139,115,85,0.06));
    border: 1px solid rgba(61,90,58,0.1);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.media-frame::before {
    content: ''; position: absolute;
    top: -12px; left: -12px; right: 12px; bottom: 12px;
    border: 1px solid rgba(61,90,58,0.08);
    pointer-events: none;
}
.media-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* Section backgrounds */
.section-oils,
.section-teas,
.section-aroma {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.section-oils::before,
.section-teas::before,
.section-aroma::before {
    content: ''; position: absolute; inset: 0;
    z-index: 0;
}
.section-oils > .section-inner,
.section-teas > .section-inner,
.section-aroma > .section-inner {
    position: relative; z-index: 1;
}

.section-oils::before {
    background: rgba(250, 248, 244, 0.85);
}
.section-teas::before {
    background: rgba(245, 240, 232, 0.82);
}
.section-aroma::before {
    background: rgba(250, 248, 244, 0.8);
}

/* ---- Values Banner ---- */
.values-banner {
    background: var(--forest);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 40px;
    position: relative;
}
.values-banner::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(42, 42, 37, 0.55);
    z-index: 0;
}
.values-banner > .values-inner {
    position: relative; z-index: 1;
}
.values-inner {
    max-width: 1000px; margin: 0 auto;
    display: flex; align-items: center; justify-content: center;
    gap: 50px;
}
.value { text-align: center; }
.value-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 28px; font-weight: 400;
    color: var(--white);
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.value-label {
    font-family: var(--font-sans);
    font-size: 10px; font-weight: 500;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--sand); opacity: 0.7;
}
.value-divider {
    width: 1px; height: 40px;
    background: rgba(255,255,255,0.15);
}

/* ---- Contact ---- */
.section-contact {
    background: var(--cream);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 40px;
    text-align: center;
    position: relative;
}
.section-contact::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(245, 240, 232, 0.65);
    z-index: 0;
}
.section-contact > .contact-inner {
    position: relative; z-index: 1;
}
.contact-inner {
    max-width: 600px; margin: 0 auto;
}
.section-contact h2 {
    margin-bottom: 20px;
}
.section-contact p {
    max-width: 100%; margin: 0 auto 36px;
}

/* ---- Footer ---- */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    padding: 80px 40px 0;
}
.footer-inner {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-pure {
    color: var(--white); font-size: 18px;
}
.footer-brand .logo-essentials {
    color: var(--sand); font-size: 8px;
}
.footer-tagline {
    margin-top: 16px;
    font-size: 13px; line-height: 1.7;
    max-width: 280px;
}
.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 10px; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--white); margin-bottom: 20px;
}
.footer-links a,
.footer-contact a,
.footer-contact p {
    display: block; font-size: 13px;
    margin-bottom: 10px;
    transition: color 0.3s;
}
.footer-links a:hover,
.footer-contact a:hover {
    color: var(--sand);
}
.footer-bottom {
    padding: 24px 0;
    text-align: center;
}
.footer-bottom p {
    font-size: 11px; letter-spacing: 0.1em;
    color: rgba(255,255,255,0.3);
}

/* ---- Footer contact button ---- */
.footer-contact-btn {
    background: none; border: none; cursor: pointer;
    color: rgba(255,255,255,0.6); font-size: 13px;
    font-family: var(--font-sans); padding: 0;
    margin-bottom: 10px; display: block;
    transition: color 0.3s; text-align: left;
}
.footer-contact-btn:hover { color: var(--sand); }

/* ---- Contact Modal ---- */
.modal-overlay {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.modal-overlay.open {
    opacity: 1; visibility: visible;
}
.modal {
    background: var(--linen);
    width: 90%; max-width: 480px;
    padding: 48px 40px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
}
.modal-overlay.open .modal {
    transform: translateY(0);
}
.modal-close {
    position: absolute; top: 16px; right: 20px;
    background: none; border: none; cursor: pointer;
    font-size: 28px; color: var(--muted); line-height: 1;
    transition: color 0.3s;
}
.modal-close:hover { color: var(--forest); }
.modal h3 {
    font-family: var(--font-serif);
    font-size: 28px; font-weight: 300;
    color: var(--forest); margin-bottom: 28px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block; font-size: 10px; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
    width: 100%; padding: 12px 16px;
    border: 1px solid rgba(61,90,58,0.15);
    background: var(--white);
    font-family: var(--font-sans);
    font-size: 14px; color: var(--text);
    transition: border-color 0.3s;
    outline: none; resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--forest);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--sand);
}
.btn-submit {
    width: 100%; text-align: center;
    background: var(--forest); color: var(--white);
    border: 1px solid var(--forest);
    cursor: pointer; margin-top: 8px;
}
.btn-submit:hover {
    background: #2a3f28;
}
.btn-submit:disabled {
    opacity: 0.6; cursor: not-allowed;
}
.form-status {
    margin-top: 16px; font-size: 13px;
    text-align: center; min-height: 20px;
}
.form-status.success { color: var(--forest); }
.form-status.error { color: #b44; }

/* Honeypot — must be invisible to humans */
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Anti-bot checkbox */
.form-group-check { margin-bottom: 8px; }
.check-label {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 13px; color: var(--charcoal); cursor: pointer;
    line-height: 1.4;
}
.check-label input[type="checkbox"] {
    margin-top: 2px; accent-color: var(--sage);
    width: 16px; height: 16px; flex-shrink: 0;
}

/* ---- Animations ---- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50%      { opacity: 0.8; transform: scaleY(1.3); }
}

/* Scroll reveal — content visible by default, JS adds animation class */
.section-inner,
.contact-inner,
.values-inner {
    opacity: 1; transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.section-inner.will-animate,
.contact-inner.will-animate,
.values-inner.will-animate {
    opacity: 0; transform: translateY(40px);
}
.section-inner.visible,
.contact-inner.visible,
.values-inner.visible {
    opacity: 1; transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    :root { --header-h: 70px; }

    .main-nav {
        position: fixed; top: 0; right: 0;
        width: 280px; height: 100vh;
        background: var(--linen);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 28px;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
        z-index: 99;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav a { font-size: 13px; }

    .menu-toggle { display: block; z-index: 101; }
    .menu-toggle.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

    .section { padding: 80px 24px; }
    .section-inner,
    .section-inner.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }
    .media-frame { aspect-ratio: 1 / 1; max-width: 360px; margin: 0 auto; }

    .footer-inner { grid-template-columns: 1fr; gap: 40px; }

    .values-inner {
        flex-wrap: wrap; gap: 30px;
    }
    .value-divider { display: none; }
    .value { flex: 1 1 40%; }

    .hero-text { font-size: 14px; }
}

@media (max-width: 480px) {
    .header-inner { padding: 0 20px; }
    .hero-content { padding: 0 20px; }
    .hero-welcome { font-size: 10px; }
    .section { padding: 60px 20px; }
    .values-banner { padding: 40px 20px; }
}

/* Default page */
.default-page {
    max-width: 800px; margin: 0 auto;
    padding: calc(var(--header-h) + 60px) 40px 80px;
}
.default-page h1 {
    font-family: var(--font-serif);
    font-size: 36px; font-weight: 300;
    color: var(--forest); margin-bottom: 24px;
}
