/* ==========================================================================
   verdantcrown.co.za - site stylesheet (Vertex standard framework)

   MOCK-UP 2026-10-29. Colours from the Verdant Crown logo: deep forest green
   and crown gold. Photo-led and calm, as the reference sites Andre picked
   (BRIEF.md). Montserrat headings + Nunito Sans text, self-hosted
   (assets/fonts, SIL OFL). The menu is the framework drawer: pin open on
   desktop, pop-up on mobile; quick links in the header on wide screens.
   ========================================================================== */

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("assets/fonts/montserrat-latin.woff2") format("woff2");
}
@font-face {
    font-family: "Nunito Sans";
    font-style: normal;
    font-weight: 200 1000;
    font-display: swap;
    src: url("assets/fonts/nunito-sans-latin.woff2") format("woff2");
}

:root {
    --green-900: #0d2418;     /* logo background, darkest */
    --green-800: #133222;
    --green-700: #1b4630;
    --green-500: #2f7a4f;     /* leaf green */
    --gold: #c9a24a;          /* crown gold */
    --gold-dark: #a8842f;
    --gold-light: #e6cf8f;
    --cream: #f7f4ec;
    --ink: #17221b;
    --text: #4b5650;
    --line: #e4e0d4;
    --bg: #ffffff;
    --white: #ffffff;
    --ok-bg: #e7f4ea;
    --ok-ink: #1d5a33;
    --err-bg: #fbeaea;
    --err-ink: #8a1c1c;
    --shadow: 0 12px 40px rgba(13, 36, 24, 0.12);
    --radius: 10px;
    --nav-width: 300px;
    --head: "Montserrat", -apple-system, "Segoe UI", Arial, sans-serif;
    --body: "Nunito Sans", -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.75;
    color: var(--text);
    background: var(--bg);
}

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

a { color: var(--green-500); }
a:hover { color: var(--gold-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.2; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
strong { color: var(--ink); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 3000;
    background: var(--green-900); color: var(--white); padding: 0.6rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Preview banner (SITE_PREVIEW) */
.preview-bar {
    margin: 0; padding: 0.45rem 20px; text-align: center; font-size: 14px; font-weight: 600;
    background: var(--gold-light); color: var(--green-900);
}

/* Mock-up placeholders waiting for Andre's text */
.todo { background: #fff6d8; color: #6b5310; border-left: 4px solid var(--gold); padding: 0.6rem 0.9rem; font-style: italic; }
.section-dark .todo { background: rgba(201, 162, 74, 0.15); color: var(--gold-light); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-block;
    padding: 13px 28px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-family: var(--head);
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-primary { background: var(--gold); color: var(--green-900); }
.btn-primary:hover { background: var(--gold-light); color: var(--green-900); }
.btn-primary:disabled { background: #cfc8b4; color: #6f6a5c; cursor: not-allowed; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.6); color: var(--white); background: transparent; }
.btn-ghost:hover { background: var(--white); color: var(--green-900); }
.btn-outline { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn-outline:hover { background: var(--green-700); color: var(--white); }

/* --------------------------------------------------------------------------
   18+ age gate
   -------------------------------------------------------------------------- */
.age-gate {
    position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center;
    padding: 20px; background: rgba(8, 22, 14, 0.94);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.age-gate-box {
    width: 100%; max-width: 460px; text-align: center; background: var(--green-900); color: #d9e2da;
    border: 1px solid rgba(201, 162, 74, 0.5); border-radius: var(--radius); padding: 2.2rem 1.8rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.age-gate-box img { width: 120px; border-radius: 8px; margin-bottom: 0.8rem; }
.age-gate-box h2 { color: var(--gold); font-size: 1.6rem; }
.age-gate-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; margin: 1.4rem 0 1rem; }
.age-gate-actions .btn-outline { border-color: rgba(255, 255, 255, 0.5); color: var(--white); }
.age-gate-actions .btn-outline:hover { background: var(--white); color: var(--green-900); }
.age-gate-note { font-size: 13px; margin: 0; color: #a9b8ad; }
.age-gate-note a { color: var(--gold-light); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 900;
    background: var(--green-900);
    border-bottom: 1px solid rgba(201, 162, 74, 0.35);
}
.header-row { display: flex; align-items: center; gap: 1.25rem; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; text-decoration: none; }
.logo img { width: 52px; height: 52px; border-radius: 6px; display: block; }
.logo-text {
    font-family: var(--head); font-weight: 800; font-size: 1.25rem; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--gold);
}
.header-links { margin-left: auto; display: flex; gap: 1.6rem; }
.header-links a {
    color: #dfe7e0; text-decoration: none; font-family: var(--head); font-weight: 600; font-size: 14px;
    padding: 0.3rem 0; border-bottom: 2px solid transparent;
}
.header-links a:hover, .header-links a.active { color: var(--gold); border-bottom-color: var(--gold); }
@media (max-width: 900px) { .header-links { display: none; } }

.nav-toggle {
    margin-left: 0.5rem; background: none; border: none; cursor: pointer; padding: 10px;
    display: flex; flex-direction: column; gap: 5px;
}
@media (max-width: 900px) { .nav-toggle { margin-left: auto; } }
.nav-toggle:hover .nav-toggle-bar { background: var(--gold); }
.nav-toggle-bar {
    display: block; width: 26px; height: 2px; background: var(--white);
    transition: transform 0.25s, opacity 0.25s, background 0.25s;
}
body.nav-pinned .nav-toggle .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-pinned .nav-toggle .nav-toggle-bar:nth-child(2) { opacity: 0; width: 0; }
body.nav-pinned .nav-toggle .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.45); z-index: 950;
    opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s;
}
body.nav-open .nav-overlay { opacity: 1; visibility: visible; }

.site-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: var(--nav-width); max-width: 86vw;
    background: var(--green-800); color: var(--white);
    transform: translateX(100%); transition: transform 0.25s ease;
    z-index: 1000; display: flex; flex-direction: column; overflow-y: auto;
}
body.nav-open .site-nav, body.nav-pinned .site-nav { transform: translateX(0); }

.nav-drawer-head { display: flex; justify-content: flex-end; gap: 0.25rem; padding: 0.9rem 0.9rem 0.4rem; }
.nav-pin, .nav-close {
    background: none; border: none; color: var(--white); cursor: pointer; padding: 0.45rem; line-height: 0;
}
.nav-pin:hover, .nav-close:hover { color: var(--gold); }
body.nav-pinned .nav-pin { color: var(--gold); }
body.nav-pinned .nav-close { display: none; }
@media (max-width: 1099px) { .nav-pin { display: none; } }

.site-nav ul { list-style: none; margin: 0; padding: 0.5rem 0; }
.site-nav li a {
    display: block; padding: 0.7rem 1.6rem; color: var(--white); text-decoration: none;
    font-family: var(--head); font-weight: 600; font-size: 15px;
    border-left: 3px solid transparent;
}
.site-nav li a:hover { color: var(--gold); background: rgba(255, 255, 255, 0.05); }
.site-nav li a.active { border-left-color: var(--gold); color: var(--gold); }
.nav-foot { margin-top: auto; padding: 1.2rem 1.6rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.nav-foot a { color: var(--gold); font-family: var(--head); font-weight: 700; text-decoration: none; }

@media (min-width: 1100px) {
    body { transition: padding-right 0.25s ease; }
    body.nav-pinned { padding-right: var(--nav-width); }
}

/* --------------------------------------------------------------------------
   Hero (home) and page-title bands
   -------------------------------------------------------------------------- */
.hero, .page-hero {
    position: relative; overflow: hidden; color: #cfdcd2;
    background:
        radial-gradient(ellipse 60% 80% at 85% 30%, rgba(47, 122, 79, 0.45), transparent 65%),
        radial-gradient(ellipse 50% 60% at 10% 110%, rgba(201, 162, 74, 0.18), transparent 70%),
        linear-gradient(160deg, #081a10 0%, var(--green-900) 55%, #163a27 100%);
}
.hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 5.2vw, 3.8rem); line-height: 1.08; }
.hero .lead { max-width: 52ch; color: #d6e2d9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }
.hero-photo img {
    display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50% 50% var(--radius) var(--radius);
    border: 3px solid rgba(201, 162, 74, 0.6); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
@media (max-width: 860px) { .hero-photo { max-width: 380px; } }

.page-hero { padding: clamp(3rem, 7vw, 5rem) 0; }
.page-hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.page-hero h1 { color: var(--white); margin-bottom: 0.2em; }
.page-hero .lead { margin: 0; max-width: 60ch; font-size: 1.1rem; line-height: 1.6; }
.breadcrumb { font-family: var(--head); font-weight: 600; font-size: 13px; text-transform: uppercase; color: var(--white); }
.breadcrumb a { color: #b4c6b9; text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--gold); margin: 0 0.45rem; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.eyebrow {
    font-family: var(--head); color: var(--gold-dark); font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.14em; font-size: 13px; margin-bottom: 0.4rem;
}
.eyebrow-light { color: var(--gold); }
.lead { font-size: 1.15rem; }

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--cream); }
.section-title { margin-bottom: 1rem; }
.center-head { text-align: center; max-width: 720px; margin: 0 auto 2.6rem; }

.about-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3.5rem; align-items: center; }
.about-panel {
    background: var(--green-900); border-radius: var(--radius); padding: 2.5rem; display: flex;
    align-items: center; justify-content: center; box-shadow: var(--shadow);
}
.about-panel img { width: 256px; }
@media (max-width: 860px) { .about-row { grid-template-columns: 1fr; } }

.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }

ul.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; }
ul.ticks li { position: relative; padding-left: 1.8rem; margin-bottom: 0.7rem; }
ul.ticks li::before {
    content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; border-radius: 50%;
    background: var(--gold);
}

/* Strain tiles (home, /strains/, more strains) */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px; }
.tile {
    position: relative; display: block; overflow: hidden; border-radius: var(--radius); text-decoration: none;
    background: var(--green-900); box-shadow: 0 6px 24px rgba(13, 36, 24, 0.12);
    transition: transform 0.3s, box-shadow 0.3s;
}
.tile img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.5s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile:hover img { transform: scale(1.05); }
.tile-body {
    position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 0.1rem;
    padding: 2.6rem 1.2rem 1.1rem; color: var(--white);
    background: linear-gradient(180deg, transparent 0%, rgba(8, 22, 14, 0.92) 55%);
}
.tile-type { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold-light); }
.tile-name { font-family: var(--head); font-weight: 800; font-size: 1.2rem; line-height: 1.25; }
.tile-thc { font-size: 14px; color: #d5e0d8; }
.tile-thc small { color: #9fb1a5; }
.more-coming { text-align: center; margin: 2.4rem 0 0; font-family: var(--head); font-weight: 700; color: var(--gold-dark); }

/* Strain profile */
.strain-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; }
@media (max-width: 860px) { .strain-layout { grid-template-columns: 1fr; gap: 2rem; } }
.strain-photo img { display: block; width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.facts { margin: 0 0 1.4rem; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--head); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green-700); }
.facts dd { margin: 0; color: var(--ink); }
@media (max-width: 480px) { .facts div { grid-template-columns: 1fr; gap: 0; } }
.fine-print { font-size: 14px; color: #6d766f; }

/* How we grow - numbered steps on dark green */
.section-dark { background: var(--green-900); color: #c4d2c8; }
.section-dark .section-title { color: var(--white); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
    position: relative; background: var(--green-800); border-top: 3px solid var(--gold);
    border-radius: 0 0 var(--radius) var(--radius); padding: 2rem 1.6rem 1.6rem;
}
.step-num { font-family: var(--head); font-weight: 900; font-size: 2.4rem; line-height: 1; color: rgba(201, 162, 74, 0.5); }
.step h3 { color: var(--white); margin-top: 0.7rem; }
.step p { margin: 0; font-size: 15px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-bottom: 2rem; }
.gallery figure { margin: 0; }
.gallery img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { font-size: 14px; padding-top: 0.4rem; color: var(--green-700); font-weight: 600; }

/* Call-to-action band */
.cta-band {
    background: linear-gradient(135deg, var(--green-700) 0%, var(--green-900) 100%);
    color: #d5e0d8; padding: clamp(3rem, 7vw, 4.5rem) 0;
}
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { color: var(--white); margin: 0 0 0.3em; font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 26ch; }
.cta-band p { margin: 0; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3.5rem; align-items: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; gap: 2rem; } }

.form label { display: block; color: var(--text); margin-bottom: 1.1rem; font-size: 15px; font-weight: 600; }
.form input, .form select, .form textarea {
    display: block; width: 100%; margin-top: 0.35rem; padding: 0.8rem 0.95rem; font: inherit; font-weight: 400;
    color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: 6px;
}
.form input:focus, .form select:focus, .form textarea:focus { background: var(--white); border-color: var(--gold); outline: none; }
.form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 14px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.captcha-field { margin: 0.4rem 0 1rem; }
.captcha-noscript { color: var(--err-ink); }
altcha-widget { --altcha-max-width: 100%; --altcha-color-border: var(--line); --altcha-border-radius: 6px; }

.notice { padding: 0.9rem 1.1rem; margin-bottom: 1.2rem; border-radius: 6px; }
.notice-success { background: var(--ok-bg); color: var(--ok-ink); }
.notice-error { background: var(--err-bg); color: var(--err-ink); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: #081a10; color: #9fb1a5; padding: 4rem 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 96px; border-radius: 6px; margin-bottom: 0.9rem; }
.footer-head { color: var(--gold); font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.35rem; }
.site-footer a { color: #d3ddd5; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 3rem; padding: 1.3rem 20px; font-size: 14px; }
.footer-bottom p { margin: 0 0 0.3rem; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
