/* valleyofflowers.info — one stylesheet, no framework. */

@font-face { font-family: "Fraunces"; src: url(/assets/fonts/fraunces.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/assets/fonts/fraunces-italic.woff2) format("woff2"); font-weight: 300 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/assets/fonts/inter.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --forest: #1f3a2b;
  --forest-2: #2c4f3a;
  --meadow: #5b7b2e;
  --poppy: #3e6fb0;
  --poppy-soft: #dce7f5;
  --sun: #e8c547;
  --paper: #f7f4ec;
  --paper-2: #efe9dc;
  --ink: #1d2420;
  --ink-2: #4a544d;
  --line: #ddd5c4;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(29 36 32 / .06), 0 8px 24px rgb(29 36 32 / .08);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: min(1200px, 100% - 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: var(--poppy); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--forest); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }

.wrap { width: var(--wrap); margin-inline: auto; }
.narrow { max-width: 720px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--forest); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.eyebrow { font: 600 .78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--meadow); margin-bottom: .8em; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 46rem; }
.small { font-size: .85rem; color: var(--ink-2); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-bottom: 72px; }
.section-head { max-width: 46rem; margin-bottom: 32px; }
.more { margin-top: 28px; }

/* Buttons & links */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; background: var(--forest);
  color: #fff; font: 600 .98rem/1 var(--sans); text-decoration: none; border: 2px solid var(--forest); cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--forest-2); color: #fff; transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-ghost { background: rgb(255 255 255 / .14); border-color: rgb(255 255 255 / .7); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgb(255 255 255 / .26); }
.btn-outline { background: transparent; color: var(--forest); }
.btn-outline:hover { background: var(--forest); }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; transition: margin .15s; }
.link-arrow:hover::after { margin-left: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(247 244 236 / .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); }
.brand-logo { height: 54px; width: auto; display: block; transition: filter .2s; }
.brand-name { white-space: nowrap; font: 600 1.05rem/1 var(--serif); letter-spacing: -.01em; padding-left: 12px; border-left: 1px solid currentColor; opacity: .85; }
@media (max-width: 420px) { .brand-name { display: none; } }
.footer-logo { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: .92; margin-bottom: 10px; }
.menu summary { list-style: none; display: none; cursor: pointer; padding: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 22px; height: 2px; background: var(--forest); margin: 5px 0; border-radius: 2px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
.nav a:not(.btn):hover, .nav a[aria-current] { background: var(--paper-2); color: var(--forest); }
.nav .btn { margin-left: 8px; }

/* Desktop: inline nav; mobile: <details> toggle */
.menu { display: none; }
@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .menu { display: block; }
  .menu summary { display: block; }
  .menu > nav { position: absolute; left: 0; right: 0; top: 70px; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 20px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav a:not(.btn) { padding: 12px 8px; font-size: 1.05rem; }
  .nav .btn { margin: 12px 0 0; justify-content: center; }
}

/* Home: transparent header over the hero */
.is-home .site-header { position: fixed; inset: 0 0 auto; background: transparent; border-color: transparent; backdrop-filter: none; transition: background .2s; }
.is-home .site-header .brand, .is-home .site-header .nav a:not(.btn) { color: #fff; }
.is-home .site-header:not(.scrolled) .brand-logo { filter: brightness(0) invert(1); }
.is-home .site-header .menu summary span { background: #fff; }
.is-home .site-header .nav a:not(.btn):hover { background: rgb(255 255 255 / .16); }
.is-home .site-header .nav .btn { background: #fff; color: var(--forest); border-color: #fff; }
.is-home .site-header.scrolled { background: rgb(247 244 236 / .94); backdrop-filter: saturate(1.4) blur(10px); border-color: var(--line); }
.is-home .site-header.scrolled .brand, .is-home .site-header.scrolled .nav a:not(.btn) { color: var(--ink); }
.is-home .site-header.scrolled .brand { color: var(--forest); }
.is-home .site-header.scrolled .menu summary span { background: var(--forest); }
.is-home .site-header.scrolled .nav .btn { background: var(--forest); color: #fff; border-color: var(--forest); }
@media (max-width: 960px) {
  .is-home .site-header .menu > nav a:not(.btn) { color: var(--ink); }
  .is-home .site-header .menu > nav .btn { background: var(--forest); color: #fff; border-color: var(--forest); }
}

/* Hero */
.hero { position: relative; min-height: min(100svh, 920px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--forest); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(10 20 14 / .45) 0%, rgb(10 20 14 / 0) 28%, rgb(10 20 14 / .1) 50%, rgb(10 20 14 / .72) 100%); }
.hero-copy { position: relative; padding-block: 140px clamp(48px, 9vh, 96px); }
.hero h1 { color: #fff; font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 400; letter-spacing: -.02em; margin-bottom: .25em; text-shadow: 0 2px 30px rgb(0 0 0 / .25); }
.hero .eyebrow { color: #e9f1d5; }
.hero .lede { color: rgb(255 255 255 / .92); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Season bar */
.season-bar { background: var(--forest); color: #e9efe5; font-size: .95rem; }
.season-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 14px; }
.season-row p { margin: 0; }
.season-status strong { color: #fff; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; background: #c9a227; }
.is-open .dot { background: #7bd389; box-shadow: 0 0 0 4px rgb(123 211 137 / .25); }
.season-tip { color: #b9c9b6; }

/* Facts */
.facts dl { display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; border-bottom: 1px solid var(--line); }
.facts dl > div { padding: 26px 12px; border-right: 1px solid var(--line); }
.facts dl > div:last-child { border-right: 0; }
.facts dt { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.facts dd { margin: 4px 0 0; font: 500 1.15rem/1.3 var(--serif); color: var(--forest); }
@media (max-width: 900px) { .facts dl { grid-template-columns: repeat(3, 1fr); } .facts dl > div:nth-child(3n) { border-right: 0; } .facts dl > div:nth-child(-n+3) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .facts dl { grid-template-columns: repeat(2, 1fr); } .facts dl > div { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); padding: 18px 10px; } .facts dl > div:nth-child(2n) { border-right: 0 !important; } }

/* Tabs */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.tabs button { font: 600 .95rem/1 var(--sans); padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.js .tab-panel[data-hidden] { display: none; }

/* Species cards */
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.species-card a { display: flex; flex-direction: column; height: 100%; background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
.species-card a:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgb(29 36 32 / .06), 0 16px 36px rgb(29 36 32 / .14); }
.card-img, .species-card .img-missing { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper-2); }
.card-body { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
.card-title { font: 500 1.08rem/1.25 var(--serif); color: var(--forest); }
.card-sci { font-style: italic; font-size: .85rem; color: var(--ink-2); }
.swatches { display: flex; gap: 4px; margin-top: 6px; }
.swatches i, .chip i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); display: inline-block; }

/* Feature split */
.feature { background: var(--paper-2); padding-block: clamp(56px, 8vw, 104px); }
.feature-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-copy p { color: var(--ink-2); }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0 0 8px; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px; border: solid var(--meadow); border-width: 0 0 2px 2px; transform: rotate(-45deg); }

/* Guide cards */
.guide-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .guide-grid { grid-template-columns: 1fr; } }
.guide-card { position: relative; display: block; height: 100%; padding: 24px 24px 48px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.guide-card:hover { border-color: var(--meadow); transform: translateY(-2px); }
.guide-card h3 { margin-bottom: 6px; }
.guide-card p { color: var(--ink-2); margin: 0; font-size: .95rem; }
.guide-card span { position: absolute; left: 24px; bottom: 18px; color: var(--meadow); font-weight: 600; }

/* Valley Today strip */
.today { background: var(--forest); color: #e9efe5; }
.today h2 { color: #fff; } .today .eyebrow { color: #b8d48a; } .today .section-head p { color: #c4d1c1; }
.strip { list-style: none; margin: 0; padding: 0 max(16px, (100% - 1200px) / 2); display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.strip li { flex: 0 0 min(420px, 80vw); scroll-snap-align: start; }
.strip figure { margin: 0; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.strip figcaption { font-size: .88rem; color: #c4d1c1; padding: 10px 2px 0; }

/* CTA band */
.cta-band { position: relative; color: #fff; overflow: hidden; background: var(--forest); }
.cta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(10 20 14 / .78), rgb(10 20 14 / .25)); }
.cta-copy { position: relative; padding-block: clamp(72px, 12vw, 140px); }
.cta-copy h2 { color: #fff; }
.cta-copy p { color: rgb(255 255 255 / .9); font-size: 1.15rem; }

/* Page heads, breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--ink-2); padding-top: 20px; }
.crumbs a { color: var(--ink-2); }
.page-head { padding-block: 40px 28px; }

/* Filters */
.filters { padding-block: 12px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.search input { width: 100%; font: inherit; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); }
.chips { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; scrollbar-width: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font: 500 .88rem/1 var(--sans); padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--forest); color: #fff; border-color: var(--forest); }
.filter-count { margin: 10px 0 0; font-size: .85rem; color: var(--ink-2); }
.empty { padding: 40px 0; text-align: center; color: var(--ink-2); }
.js .species-card[hidden] { display: none; }

/* Species page */
.species { padding-top: 16px; }
.species-head { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.species-img, .species-hero .img-missing { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--paper-2); }
.species-intro h1 { margin-bottom: .1em; }
.sci { font: italic 400 1.25rem/1.4 var(--serif); color: var(--ink-2); margin-bottom: 18px; }
.month-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-bottom: 20px; }
.month-bar span { text-align: center; font-size: .78rem; font-weight: 600; padding: 7px 0; border-radius: 6px; background: var(--paper-2); color: #9a9f97; }
.month-bar span.on { background: var(--meadow); color: #fff; }
.fact-list { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.fact-list > div { display: grid; grid-template-columns: 9rem 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.fact-list dt { color: var(--ink-2); }
.fact-list dd { margin: 0; }
.species-body { display: grid; grid-template-columns: 1fr 320px; gap: clamp(24px, 5vw, 64px); padding-top: 48px; }
.prose { max-width: 42rem; }
.prose h2 { font-size: 1.5rem; margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.where { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.where li { position: relative; padding-left: 26px; }
.where li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 10px; height: 10px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--meadow); }
.side-cta { align-self: start; position: sticky; top: 88px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.side-cta h2 { font-size: 1.35rem; }
.side-cta p { color: var(--ink-2); font-size: .95rem; }
.side-cta .btn { width: 100%; justify-content: center; margin-bottom: 12px; }
@media (max-width: 900px) { .species-head, .species-body { grid-template-columns: 1fr; } .side-cta { position: static; } }
.gallery { padding-top: 56px; }
.gallery-grid { list-style: none; margin: 0; padding: 0; columns: 3 260px; column-gap: 14px; }
.gallery-grid li { break-inside: avoid; margin-bottom: 14px; }
.gallery-grid figure { margin: 0; }
.gallery-grid img { width: 100%; border-radius: 10px; }
.gallery-grid figcaption { font-size: .84rem; color: var(--ink-2); padding: 8px 2px 0; }

/* Blog index */
.post-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; height: 100%; background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: transform .18s; }
.post-card:hover { transform: translateY(-3px); }
.post-card time { font-size: .8rem; color: var(--ink-2); }
.post-excerpt { font-size: .92rem; color: var(--ink-2); margin-top: 4px; }

/* Content pages (guides, posts) */
.doc { padding-bottom: 80px; }
.doc-head { max-width: 50rem; padding-block: 28px 24px; }
.doc-meta { color: var(--ink-2); font-size: .9rem; }
.doc-hero { margin-bottom: 40px; }
.doc-hero-img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.doc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 72px); }
@media (max-width: 960px) { .doc-grid { grid-template-columns: 1fr; } }
.doc-main { min-width: 0; max-width: 46rem; }
.doc-body { font-size: 1.06rem; }
.doc-body h2 { margin-top: 1.8em; scroll-margin-top: 90px; }
.doc-body h3 { margin-top: 1.4em; color: var(--forest-2); }
.doc-body h4 { font: 600 1rem/1.3 var(--sans); margin: 1.2em 0 .4em; }
.doc-body ul, .doc-body ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.doc-body li { margin-bottom: .35em; }
.doc-body blockquote { margin: 1.4em 0; padding: 14px 20px; background: var(--poppy-soft); border-left: 4px solid var(--poppy); border-radius: 0 10px 10px 0; }
.doc-body blockquote p:last-child { margin: 0; }
.doc-body .fig { margin: 1.6em 0; }
.doc-body .fig img { width: 100%; border-radius: 10px; }
.doc-body figcaption { font-size: .87rem; color: var(--ink-2); padding-top: 8px; }
.doc-body .gallery-block { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 1.4em 0; }
.doc-body .gallery-block .fig { margin: 0; }
.doc-body .gallery-block img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
@media (max-width: 560px) { .doc-body .gallery-block { grid-template-columns: repeat(2, 1fr); } }
.doc-body iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 10px; }
.doc-body hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.table-wrap table { border-collapse: collapse; width: 100%; font-size: .94rem; }
.table-wrap th, .table-wrap td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-wrap th { background: var(--paper-2); font-weight: 600; }
.table-wrap tr:last-child td { border-bottom: 0; }
.need { background: #eef3e6; border: 1px solid #cddcb7; border-radius: var(--radius); padding: 18px 22px; margin-bottom: 24px; }
.need h2 { font-size: 1.2rem; margin-bottom: .4em; }
.need ul { margin: 0 0 8px; padding-left: 1.2em; }
.need li { margin-bottom: 5px; font-size: .97rem; }
.need .small { margin: 0; }
.toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 22px; margin-bottom: 32px; }
.toc summary { font-weight: 600; cursor: pointer; color: var(--forest); }
.toc ol { margin: 10px 0 0; padding-left: 1.3em; columns: 2 16rem; column-gap: 32px; font-size: .95rem; }
.toc li { break-inside: avoid; margin-bottom: 4px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.doc-side { display: grid; gap: 24px; align-content: start; }
.doc-side .side-cta { position: static; }
.faq-side { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.faq-side h2 { font: 600 .78rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--meadow); margin-bottom: 12px; }
.faq-item { display: grid; gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.faq-item:last-child { border-bottom: 0; padding-bottom: 0; }
.faq-img { width: 100%; aspect-ratio: 423 / 311; object-fit: cover; border-radius: 8px; }
.faq-q { font: 500 1.02rem/1.3 var(--serif); color: var(--forest); }
.faq-item:hover .faq-q { color: var(--poppy); }
.faq-a { font-size: .86rem; color: var(--ink-2); line-height: 1.5; }
.side-guides { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.side-guides h2 { font: 600 .78rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--meadow); margin-bottom: 10px; }
.side-guides a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .95rem; }
.side-guides a:last-child { border-bottom: 0; }
.side-guides a:hover { color: var(--poppy); }
@media (min-width: 961px) { .doc-side { position: sticky; top: 88px; align-self: start; } }

/* Forms */
.contact-grid { display: grid; grid-template-columns: 1fr 320px; gap: clamp(24px, 5vw, 64px); padding-bottom: 80px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 16px; background: var(--white); padding: clamp(20px, 4vw, 36px); border-radius: var(--radius); border: 1px solid var(--line); }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form input, .form select, .form textarea { font: 400 1rem/1.4 var(--sans); padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--poppy); outline-offset: 0; border-color: var(--poppy); background: #fff; }
.form [aria-invalid="true"] { border-color: #b3261e; }
.row-2, .row-3 { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.row-3 { grid-template-columns: 1.4fr 1fr .7fr; }
@media (max-width: 560px) { .row-2, .row-3 { grid-template-columns: 1fr; } }
.form .btn { justify-self: start; }
.form-error, .field-error { color: #b3261e; font-weight: 500; font-size: .9rem; margin: 0; }
.contact-side .big-link { font: 500 1.6rem/1.2 var(--serif); text-decoration: none; color: var(--forest); }
.link-list { padding-left: 1.2em; }

/* Footer */
.site-footer { background: #15281e; color: #b9c6b8; font-size: .93rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-block: 56px 32px; }
.footer-grid h2 { font: 600 .78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-grid a { display: block; color: #d8e2d6; text-decoration: none; padding: 3px 0; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-brand { font: 500 1.4rem/1.2 var(--serif); color: #fff; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 18px 28px; border-top: 1px solid rgb(255 255 255 / .1); font-size: .82rem; color: #8fa08d; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* WhatsApp button */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 6px 20px rgb(0 0 0 / .25); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

.img-missing { background: linear-gradient(135deg, var(--paper-2), #e2dccb); }

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

/* Reviews (genuine Google reviews) */
.reviews { margin-top: 56px; }
.review-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; }
.stars { color: #e2a400; letter-spacing: 2px; font-size: 1.05rem; margin: 0 0 8px; }
.review-text { font-size: .95rem; color: var(--ink); margin-bottom: 10px; }
.review-more summary { cursor: pointer; color: var(--poppy); font-size: .88rem; font-weight: 600; margin-bottom: 8px; }
.review-more p { font-size: .93rem; }
.review-by { margin: auto 0 0; font-size: .85rem; color: var(--ink-2); padding-top: 10px; border-top: 1px solid var(--line); }
.review-by strong { color: var(--forest); }
.doc-main .review-grid { grid-template-columns: 1fr; }
@media (min-width: 700px) { .doc-main .review-grid { grid-template-columns: 1fr 1fr; } }

/* Owner's availability tag on flower cards */
.avail { align-self: flex-start; margin-top: 6px; font-size: .72rem; font-weight: 600; letter-spacing: .02em; padding: 3px 8px; border-radius: 999px; }
.avail-easy { background: #e3efd6; color: #3d5f1f; }
.avail-rare { background: #fbefd2; color: #7a5a06; }
.avail-very_rare { background: #f6dede; color: #8a2a2a; }


/* Slim filter summary that stays at the top while browsing the flower grid */
.filter-mini { position: sticky; top: 70px; z-index: 10; background: rgb(247 244 236 / .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.filter-mini-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 8px; font-size: .92rem; }
.filter-mini-row strong { color: var(--forest); }
.filter-mini [data-mini-summary] { color: var(--ink-2); }
.filters { scroll-margin-top: 72px; }

/* E-book "Did you know?" box on flower pages */
.did-you-know { background: #fdf6e3; border: 1px solid #ecdcae; border-radius: var(--radius); padding: 16px 20px; margin: 1.6em 0; }
.did-you-know h2 { margin-top: 0; font-size: 1.25rem; color: #7a5a06; }
.did-you-know p:last-child { margin-bottom: 0; }

/* Walk the valley */
.walk-route { position: sticky; top: 70px; z-index: 9; background: rgb(247 244 236 / .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.walk-route ol { list-style: none; margin: 0; padding: 10px 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.walk-route a { display: flex; align-items: center; gap: 6px; white-space: nowrap; padding: 6px 12px 6px 6px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: .86rem; border: 1px solid transparent; }
.walk-route a.on { background: var(--white); border-color: var(--line); color: var(--forest); font-weight: 600; }
.walk-dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--paper-2); font-size: .75rem; font-weight: 700; color: var(--forest); }
.walk-route a.on .walk-dot { background: var(--meadow); color: #fff; }
.walk { position: relative; padding-bottom: 72px; }
.walk::before { content: ""; position: absolute; left: 19px; top: 24px; bottom: 140px; width: 3px; background: repeating-linear-gradient(var(--meadow) 0 10px, transparent 10px 18px); opacity: .5; }
.walk-body { min-width: 0; }
.walk-stop { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 20px; padding: 36px 0; scroll-margin-top: 130px; }
.walk-marker span { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--forest); color: #fff; font-weight: 700; box-shadow: 0 0 0 6px var(--paper); }
.walk-meta { display: flex; gap: 10px; margin: 6px 0 4px; font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--meadow); text-transform: uppercase; }
.walk-meta span + span::before { content: "·"; margin-right: 10px; color: var(--ink-2); }
.walk-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.walk-photo { margin: 0; }
.walk-photo img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.walk-photo.tall img { width: auto; max-width: 100%; max-height: 620px; margin: 0 auto; display: block; }   /* portrait: keep the whole frame */
.walk-text p { font-size: 1.05rem; color: var(--ink); }
@media (max-width: 820px) { .walk-grid { grid-template-columns: 1fr; } .walk-stop { grid-template-columns: 28px 1fr; gap: 12px; } .walk::before { left: 13px; } .walk-marker span { width: 28px; height: 28px; font-size: .8rem; } }
.walk-flowers { margin-top: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.walk-flowers h3 { font: 600 .78rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--meadow); margin-bottom: 10px; }
.mini-cards { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.mini-cards li { scroll-snap-align: start; }
.mini-cards a { display: grid; gap: 4px; text-decoration: none; color: var(--forest); font-size: .86rem; font-weight: 500; line-height: 1.25; }
.mini-cards img { width: 150px; height: 112px; object-fit: cover; border-radius: 8px; }
.mini-cards .avail { margin-top: 0; font-style: normal; }
.walk-end { margin-left: 60px; padding: 32px; background: var(--forest); color: #e9efe5; border-radius: var(--radius); }
.walk-end h2 { color: #fff; }
.walk-end .btn-outline { color: #fff; border-color: #fff; }
@media (max-width: 820px) { .walk-end { margin-left: 0; } }

/* What will I see on my dates? */
.plan-form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-top: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.plan-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; flex: 1 1 240px; }
.plan-form input { font: inherit; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.plan-result { padding-bottom: 72px; }
.plan-period, .plan-closed { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 24px; max-width: 52rem; }
.plan-text { font-size: 1.1rem; }
.plan-count { margin: 12px 0 0; color: var(--ink-2); }
.plan-group { margin: 28px 0; }
.plan-group h3 span { color: var(--ink-2); font-weight: 400; }
.wrap-cards { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); overflow: visible; }
.wrap-cards img { width: 100%; }
.plan-cta { margin-top: 36px; padding: 28px; background: var(--forest); color: #e9efe5; border-radius: var(--radius); }
.plan-cta h2 { color: #fff; }
.plan-cta .btn-outline { color: #fff; border-color: #fff; }

/* Full-screen photo viewer */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgb(8 14 10 / .94); display: grid; place-items: center; padding: 40px 56px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: grid; gap: 10px; justify-items: center; }
.lightbox img { max-width: min(1600px, 100%); max-height: calc(100vh - 140px); object-fit: contain; border-radius: 6px; }
.lightbox figcaption { color: #dfe7dc; font-size: .95rem; text-align: center; max-width: 52rem; }
.lightbox button { position: absolute; background: rgb(255 255 255 / .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgb(255 255 255 / .24); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; color: #9fb09c; font-size: .85rem; margin: 0; }
@media (max-width: 640px) { .lightbox { padding: 56px 8px; } .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; } }

/* Previous / next flower */
.species-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.species-nav a { display: grid; gap: 2px; text-decoration: none; max-width: 48%; }
.species-nav a span { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.species-nav a strong { font: 500 1.1rem/1.25 var(--serif); color: var(--forest); }
.species-nav .next { text-align: right; margin-left: auto; }

/* "Flowers I want to see" */
.species-card { position: relative; }
.wish-btn { position: absolute; z-index: 2; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgb(255 255 255 / .88); color: #b9b2a3; font-size: 1.15rem; line-height: 1; box-shadow: 0 2px 8px rgb(0 0 0 / .15); transition: transform .15s, color .15s; }
.wish-btn:hover { transform: scale(1.08); }
.wish-btn[aria-pressed="true"], .wish-big[aria-pressed="true"] { color: #d0394f; }
.wish-big[aria-pressed="true"] { border-color: #d0394f; }
.wish-float { position: fixed; left: 18px; bottom: 22px; z-index: 40; background: var(--white); color: #d0394f; border: 1px solid #f0c9cf; border-radius: 999px;
  padding: 10px 16px; font-weight: 600; text-decoration: none; box-shadow: 0 6px 20px rgb(0 0 0 / .15); }
.wish-float[hidden] { display: none; }
.wish-float span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 4px; border-radius: 11px; background: #d0394f; color: #fff; font-size: .8rem; }

/* Flower quiz */
.quiz { padding-bottom: 72px; scroll-margin-top: 90px; }
.quiz-progress { font-weight: 600; color: var(--meadow); }
.quiz-img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.quiz-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
@media (max-width: 520px) { .quiz-choices { grid-template-columns: 1fr; } }
.quiz-choice { font: 500 1rem/1.3 var(--sans); padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; text-align: left; }
.quiz-choice:hover:not(:disabled) { border-color: var(--meadow); }
.quiz-choice.right { background: #e3efd6; border-color: #7aa255; color: #2d4a14; font-weight: 600; }
.quiz-choice.wrong { background: #f6dede; border-color: #d48a8a; color: #7a2323; }
.quiz-feedback { font-size: 1.02rem; }
.quiz-end { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }
.quiz-end .hero-actions { justify-content: center; }
.quiz-invite { margin: 28px 0 0; text-align: center; font-size: 1.05rem; }

/* Read next: the planning route */
.read-next { margin: 44px 0 8px; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.read-step { margin: 0 0 8px; font: 600 .78rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--meadow); }
.read-bar { height: 4px; background: var(--paper-2); border-radius: 2px; margin-bottom: 16px; }
.read-bar span { display: block; height: 100%; background: var(--meadow); border-radius: 2px; }
.read-links { display: flex; justify-content: space-between; gap: 16px; }
.read-links a { display: grid; gap: 2px; text-decoration: none; max-width: 48%; }
.read-links a span { font-size: .8rem; color: var(--ink-2); }
.read-links a strong { font: 500 1.12rem/1.25 var(--serif); color: var(--forest); }
.read-links .next { margin-left: auto; text-align: right; }
.read-links .next strong { color: var(--poppy); }
.walk-readnext { margin-left: 60px; margin-bottom: 24px; }
@media (max-width: 820px) { .walk-readnext { margin-left: 0; } }
