/* Nature Nook: bold visual system. Sits alongside Tailwind (CDN). */

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: #D6A84F; color: #123D2A; }

/* ---------- Headings: heavy display, tight tracking ---------- */
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.02; }
.font-serif { letter-spacing: -0.02em; }

/* Serif accent: italic Playfair in gold, inside heavy headings */
.accent-serif {
    font-family: "Playfair Display", Georgia, serif;
    font-style: italic;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #D6A84F;
}

/* Outlined display text for big background words */
.outline-text {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(214, 168, 79, .55);
    text-stroke: 1.5px rgba(214, 168, 79, .55);
}

/* ---------- Eyebrow chip ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .45rem .95rem; border-radius: 999px;
    background: #123D2A; color: #fff;
    font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: #D6A84F; }
.eyebrow-light { background: #D6A84F; color: #123D2A; }
.eyebrow-light::before { background: #123D2A; }

/* ---------- Buttons: chunky, bold, hard shadow ---------- */
.btn-gold, .btn-outline, .btn-primary, .btn-ghost-dark, .btn-link {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    border-radius: 999px; padding: 1.05rem 1.9rem;
    font-weight: 800; font-size: .95rem; letter-spacing: .02em; text-transform: uppercase;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s, color .2s, border-color .2s;
}
.btn-gold {
    background: #D6A84F; color: #123D2A; border: 2px solid #123D2A;
    box-shadow: 5px 5px 0 0 #123D2A;
}
.btn-gold:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 0 #123D2A; }
.btn-gold:active { transform: translate(3px,3px); box-shadow: 0 0 0 0 #123D2A; }

.btn-primary {
    background: #123D2A; color: #fff; border: 2px solid #123D2A;
    box-shadow: 5px 5px 0 0 #D6A84F;
}
.btn-primary:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 0 #D6A84F; background: #174F35; }
.btn-primary:active { transform: translate(3px,3px); box-shadow: 0 0 0 0 #D6A84F; }

.btn-outline {
    border: 2px solid #fff; color: #fff; background: transparent;
}
.btn-outline:hover { background: #fff; color: #123D2A; transform: translate(-2px,-2px); box-shadow: 5px 5px 0 0 #D6A84F; }

.btn-ghost-dark { border: 2px solid #123D2A; color: #123D2A; background: transparent; }
.btn-ghost-dark:hover { background: #123D2A; color: #fff; transform: translate(-2px,-2px); box-shadow: 5px 5px 0 0 #D6A84F; }

.btn-link { padding: 0; border-radius: 0; color: #123D2A; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .85rem; }
.btn-link:hover { color: #3f7a4e; }
.btn-link .arrow-circle { transition: transform .25s; }
.btn-link:hover .arrow-circle { transform: translateX(6px); }

/* ---------- Header pill ---------- */
#site-header.scrolled #nav-pill { box-shadow: 0 14px 0 -6px #D6A84F, 0 18px 40px -18px rgba(18,61,42,.45); background: #FAF9F2; }

#nav-pill { border: 2px solid #123D2A; }
/* Logo sizing: one source of truth */
#nav-pill .nav-logo {
    height: 4rem;                       /* h-16 on mobile */
    transition: height .3s ease;
}
@media (min-width: 768px) {
    #nav-pill .nav-logo { transition: height .3s ease; }
#site-header.scrolled #nav-pill .nav-logo { height: 4rem !important; }
}
#site-header.scrolled #nav-pill .nav-logo { height: 4rem !important; }
#menu-toggle[aria-expanded="true"] .menu-open { display: none; }
#menu-toggle[aria-expanded="true"] .menu-close { display: block; }

/* ---------- Marquee ribbon ---------- */
.marquee { animation: marquee 34s linear infinite; }
.marquee:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ribbon { background: #D6A84F; color: #123D2A; }

/* ---------- Section surfaces ---------- */
.surface-dark { background: #0c2519; color: #fff; }
.surface-forest { background: #123D2A; color: #fff; }
.surface-gold { background: #D6A84F; color: #123D2A; }
.surface-mist { background: #EAF4E5; }
/* Diagonal section edges */
.angle-top { clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%); padding-top: 140px; margin-top: -60px; }
.angle-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 0 100%); padding-bottom: 140px; }

/* ---------- Hero ---------- */
.hero-bg {
    background:
        radial-gradient(900px 520px at 88% 8%, rgba(105,168,79,.35), transparent 60%),
        radial-gradient(800px 500px at 0% 100%, rgba(214,168,79,.22), transparent 60%),
        linear-gradient(160deg, #0a2116 0%, #123D2A 55%, #174F35 100%);
}
.grain::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.arch { border-radius: 999px 999px 2.25rem 2.25rem; overflow: hidden; }
.arch-glow { box-shadow: 14px 14px 0 0 #D6A84F; border: 3px solid #D6A84F; }

/* Bold photo sticker */
.sticker-card {
    background: #FAF9F2; color: #123D2A; border: 2px solid #123D2A;
    box-shadow: 6px 6px 0 0 #D6A84F; border-radius: 1.25rem;
}

/* Glass (used on dark bands) */
.glass {
    background: rgba(18,61,42,.72); color: #fff;
    border: 2px solid rgba(214,168,79,.5);
    box-shadow: 6px 6px 0 0 rgba(214,168,79,.35);
}
.float-card { animation: bob 6s ease-in-out infinite; }
.float-card.d2 { animation-delay: -2.5s; }
.float-card.d3 { animation-delay: -4s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Offer sticker: gold disc with a rotating dashed ring (pure CSS) */
.sticker {
    width: 150px; height: 150px; border-radius: 999px;
    background: #D6A84F; color: #123D2A;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 6px 6px 0 0 #123D2A;
    position: relative;
}
.sticker::before {
    content: ""; position: absolute; inset: -10px; border-radius: 999px;
    border: 2px dashed #123D2A; animation: spin 18s linear infinite;
}
.sticker .core { font-family: "Archivo Black", Arial Black, sans-serif; font-size: 2.1rem; line-height: .9; text-align: center; display: flex; flex-direction: column; }
.sticker .core small { font-family: Inter, system-ui, sans-serif; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Decorative leaves and shapes */
.float-leaf { animation: float 9s ease-in-out infinite; }
.float-leaf.slow { animation-duration: 14s; }
.float-leaf.delay { animation-delay: -4s; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-18px) rotate(8deg); } }
.blob { position: absolute; border-radius: 9999px; border: 2px dashed rgba(214,168,79,.4); animation: spin 46s linear infinite; }
.particle { position: absolute; width: 8px; height: 8px; border-radius: 9999px; background: #D6A84F; opacity: .6; animation: drift 14s ease-in-out infinite; }
@keyframes drift { 0%,100% { transform: translate(0,0); opacity: .2; } 50% { transform: translate(18px,-26px); opacity: .9; } }

/* Section background decor: dot grids, dashed rings, outlined words */
.bg-dots { background-image: radial-gradient(rgba(18,61,42,.14) 1.3px, transparent 1.6px); background-size: 26px 26px; }
.bg-dots-dark { background-image: radial-gradient(rgba(18,61,42,.18) 1.3px, transparent 1.6px); background-size: 26px 26px; }
.outline-text-dark { color: transparent; -webkit-text-stroke: 1.5px rgba(18,61,42,.3); text-stroke: 1.5px rgba(18,61,42,.3); }
.blob-dark { position: absolute; border-radius: 9999px; border: 2px dashed rgba(18,61,42,.22); animation: spin 46s linear infinite; }
.sticker-dark { background: #123D2A; color: #D6A84F; box-shadow: 6px 6px 0 0 #FAF9F2; }
.sticker-dark::before { border-color: #D6A84F; }
/* Keep the italic accent readable when it sits on a dark utility colour */
.accent-serif.text-primary { color: #123D2A; }

/* Word-by-word headline reveal */
.word { display: inline-block; opacity: 0; transform: translateY(60px); animation: wordIn .9s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes wordIn { to { opacity: 1; transform: none; } }

/* Scroll cue */
.scroll-cue::after {
    content: ""; display: block; width: 3px; height: 42px; margin: 10px auto 0; border-radius: 2px;
    background: linear-gradient(#D6A84F, transparent); animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Stats ---------- */
.stat-num { font-family: "Archivo Black", Arial Black, sans-serif; font-size: clamp(3rem, 6vw, 5rem); line-height: .9; color: #123D2A; letter-spacing: -0.03em; }

/* ---------- Cards with hard shadow ---------- */
.brut-card {
    background: #fff; border: 2px solid #123D2A; border-radius: 1.5rem;
    box-shadow: 8px 8px 0 0 #123D2A;
    transition: transform .2s ease, box-shadow .2s ease;
}
.brut-card:hover { transform: translate(-3px,-3px); box-shadow: 11px 11px 0 0 #D6A84F; }

/* ---------- Images ---------- */
.img-zoom { overflow: hidden; }
.img-zoom img { transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.img-zoom:hover img { transform: scale(1.08); }
[data-parallax] { will-change: transform; transform: scale(1.12); }

/* Bento tiles */
.tile { position: relative; overflow: hidden; border-radius: 1.5rem; border: 2px solid #123D2A; box-shadow: 8px 8px 0 0 #123D2A; transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translate(-3px,-3px); box-shadow: 11px 11px 0 0 #D6A84F; }
.tile img { transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.tile-caption {
    position: absolute; inset: auto 0 0 0; padding: 1.5rem 1.6rem;
    background: linear-gradient(to top, rgba(10,30,20,.95), rgba(10,30,20,0));
    color: #fff; transform: translateY(6px); transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.tile:hover .tile-caption { transform: translateY(0); }

/* Steps */
.steps-line { background: repeating-linear-gradient(90deg, #123D2A 0 10px, transparent 10px 20px); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(8,22,15,.94); display: none; align-items: center; justify-content: center; z-index: 100; padding: 24px; }
.lightbox.open { display: flex; animation: fadeIn .3s ease; }
.lightbox img { max-height: 86vh; max-width: 92vw; border-radius: 18px; border: 3px solid #D6A84F; }
.lightbox-close { position: absolute; top: 20px; right: 20px; color: #123D2A; background: #D6A84F; width: 48px; height: 48px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-weight: 900; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Focus & motion ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid #D6A84F; outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .word { opacity: 1; transform: none; }
    [data-parallax] { transform: none !important; }
}
