/* Vibe strain library: field-guide layout on a light reading surface (Codex landing direction, 2026-11-22). */
.vsl {
  --vsl-paper: #f7f2e6;
  --vsl-card: #fffdf7;
  --vsl-ink: #0a0f1f;
  --vsl-navy: #0e1428;
  --vsl-muted: #4c5161;
  --vsl-olive: #6b7457;
  --vsl-rule: #d9d2bf;
  --vsl-orange: #f88900;
  --vsl-head: Montserrat, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --vsl-body: 'Red Hat Display', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --vsl-wrap: 1180px;
  --vsl-radius: 10px;
  --vsl-gap: clamp(1.25rem, 1rem + 1.5vw, 2.5rem);
  background: var(--vsl-paper);
  color: var(--vsl-ink);
  font-family: var(--vsl-body);
  font-size: clamp(1rem, .95rem + .2vw, 1.0625rem);
  line-height: 1.65;
  padding: 0 16px clamp(2.5rem, 2rem + 3vw, 5rem);
}
.vsl > * { max-width: var(--vsl-wrap); margin-left: auto; margin-right: auto; }
.vsl h1, .vsl h2, .vsl h3 { font-family: var(--vsl-head); color: var(--vsl-navy); line-height: 1.15; letter-spacing: -.01em; }
.vsl h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.75rem); font-weight: 700; margin: .2em 0 .35em; }
.vsl h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); font-weight: 700; margin: 2em 0 .6em; }
.vsl h3 { font-size: 1.15rem; font-weight: 600; margin: 1.6em 0 .4em; }
.vsl a { color: var(--vsl-navy); text-decoration: underline; text-decoration-color: var(--vsl-olive); text-underline-offset: .2em; text-decoration-thickness: 1px; }
.vsl a:hover { text-decoration-color: var(--vsl-orange); text-decoration-thickness: 2px; }
.vsl a:focus-visible, .vsl button:focus-visible, .vsl input:focus-visible { outline: 3px solid var(--vsl-orange); outline-offset: 2px; }
.vsl-eyebrow { font-family: var(--vsl-head); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--vsl-olive); margin: 0; }
.vsl-crumbs { font-size: .85rem; padding-top: 1.25rem; color: var(--vsl-muted); display: flex; flex-wrap: wrap; gap: .4em; }
.vsl-crumbs a { color: var(--vsl-muted); }

/* Hero */
.vsl-hero { display: grid; gap: var(--vsl-gap); align-items: center; padding: clamp(1.5rem, 1rem + 3vw, 3.5rem) 0 clamp(1rem, .5rem + 2vw, 2rem); border-bottom: 1px solid var(--vsl-rule); }
@media (min-width: 900px) { .vsl-hero { grid-template-columns: 1fr 1fr; } }
.vsl-lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--vsl-ink); max-width: 34ch; }
.vsl-count { font-size: .9rem; color: var(--vsl-muted); }
.vsl-hero__art { margin: 0; justify-self: center; max-width: 440px; }
.vsl-portrait { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 1px 0 var(--vsl-rule), 0 18px 40px -24px rgba(14, 20, 40, .45); background: #f5efdf; }
.vsl-hero__art figcaption, .vsl-example figcaption { font-size: .82rem; color: var(--vsl-muted); margin-top: .75rem; }
.vsl-facts { display: grid; gap: .1rem; margin: 1.25rem 0 0; border-top: 1px solid var(--vsl-rule); }
.vsl-facts div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--vsl-rule); }
.vsl-facts dt { font-family: var(--vsl-head); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--vsl-olive); padding-top: .2rem; }
.vsl-facts dd { margin: 0; }
.name-disclaimer { font-size: .82rem; color: var(--vsl-muted); max-width: 60ch; }

/* Worked parentage example */
.vsl-example { margin: 0; display: grid; justify-items: center; text-align: center; }
.vsl-example__parents { display: flex; gap: clamp(1rem, 4vw, 3rem); }
.vsl-node { font-family: var(--vsl-head); font-weight: 600; border: 1px solid var(--vsl-olive); border-radius: 999px; padding: .35rem 1rem; background: var(--vsl-card); }
.vsl-example__label { font-size: .78rem; font-family: var(--vsl-head); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--vsl-olive); margin: .7rem 0; border-left: 1px dashed var(--vsl-olive); border-right: 1px dashed var(--vsl-olive); padding: 0 1rem; }
.vsl-example__child { display: grid; justify-items: center; gap: .6rem; max-width: 360px; }
.vsl-node--child { margin: 0; }

/* Entry routes */
.vsl-routes { display: grid; gap: 1rem; margin-top: var(--vsl-gap); }
@media (min-width: 900px) { .vsl-routes { grid-template-columns: 1.2fr 1fr 1fr; } }
.vsl-route { background: var(--vsl-card); border: 1px solid var(--vsl-rule); border-radius: var(--vsl-radius); padding: 1.25rem 1.35rem; }
.vsl-route h2 { font-size: 1.15rem; margin: 0 0 .5rem; }
.vsl-route p { margin: .4rem 0; }
.vsl-search label { display: block; font-size: .85rem; color: var(--vsl-muted); margin-bottom: .35rem; }
.vsl-search div { display: flex; gap: .5rem; }
.vsl-search input { flex: 1; min-width: 0; font: inherit; padding: .6rem .8rem; border: 1px solid var(--vsl-olive); border-radius: 8px; background: #fff; color: var(--vsl-ink); }
.vsl-quiet-links { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.vsl-btn { font-family: var(--vsl-head); font-weight: 600; font-size: .95rem; border-radius: 8px; padding: .6rem 1.1rem; cursor: pointer; text-decoration: none; display: inline-block; transition: transform .15s ease, background-color .15s ease; }
.vsl-btn--primary { background: var(--vsl-orange); color: var(--vsl-ink); border: 0; }
.vsl-btn--primary:hover { background: #ffa033; }
.vsl-btn--primary:active { transform: translateY(1px); }
.vsl-btn--quiet { background: transparent; color: var(--vsl-navy); border: 1px solid var(--vsl-navy); }
.vsl-btn--quiet:hover { background: var(--vsl-navy); color: #fff; }

/* One step further */
.vsl-step { border-left: 3px solid var(--vsl-olive); padding: .25rem 0 .25rem 1.25rem; margin-top: var(--vsl-gap); }
.vsl-step h2 { margin-top: 0; font-size: 1.2rem; }

/* Library grid */
.vsl-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.vsl-chip { font: 600 .85rem var(--vsl-head); padding: .4rem .85rem; border-radius: 999px; border: 1px solid var(--vsl-olive); background: var(--vsl-card); color: var(--vsl-navy); cursor: pointer; }
.vsl-chip[aria-pressed="true"] { background: var(--vsl-navy); border-color: var(--vsl-navy); color: #fff; }
.vsl-note { font-size: .85rem; color: var(--vsl-muted); }
.vsl-status { font-size: .9rem; min-height: 1.4em; }
.vsl-grid { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
@media (min-width: 600px) { .vsl-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
.vsl-grid li[hidden] { display: none; }
.vsl-card { display: grid; gap: .45rem; text-decoration: none; color: inherit; }
.vsl-card .vsl-portrait { transition: transform .2s ease, box-shadow .2s ease; }
.vsl-card:hover .vsl-portrait { transform: translateY(-3px); box-shadow: 0 1px 0 var(--vsl-rule), 0 22px 40px -22px rgba(14, 20, 40, .55); }
.vsl-card__name { font-family: var(--vsl-head); font-weight: 700; color: var(--vsl-navy); }
.vsl-card__meta { font-size: .85rem; color: var(--vsl-muted); line-height: 1.4; }

/* Strain page body */
.vsl-layout { display: grid; gap: var(--vsl-gap); padding-top: 1rem; }
@media (min-width: 960px) { .vsl-layout { grid-template-columns: minmax(0, 720px) 300px; justify-content: space-between; } }
.vsl-body { max-width: 720px; }
.vsl-body h2 { border-top: 1px solid var(--vsl-rule); padding-top: 1.2rem; }
.vsl-body ul { padding-left: 1.2rem; }
.vsl-body li { margin: .35rem 0; }
.vsl-related { align-self: start; position: sticky; top: 1.5rem; background: var(--vsl-card); border: 1px solid var(--vsl-rule); border-radius: var(--vsl-radius); padding: 1.1rem; }
.vsl-related h2 { font-size: 1rem; margin: 0 0 .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--vsl-olive); }
.vsl-related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.vsl-related a { display: grid; grid-template-columns: 56px 1fr; gap: .75rem; align-items: center; text-decoration: none; color: inherit; }
.vsl-related .vsl-portrait { width: 56px; height: 56px; box-shadow: none; }
.vsl-related strong { display: block; font-family: var(--vsl-head); color: var(--vsl-navy); }
.vsl-related em { font-style: normal; font-size: .82rem; color: var(--vsl-muted); line-height: 1.35; display: block; }
.vsl-prose { max-width: 720px; }

/* Required notices */
.vsl-compliance { margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); border-top: 1px solid var(--vsl-rule); padding-top: 1rem; font-size: .85rem; color: var(--vsl-muted); }
.vsl-compliance ul { margin: 0 0 .5rem; padding-left: 1.1rem; }
.vsl-compliance p { margin: .3rem 0; }

/* 21+ check */
.vsl-age { position: fixed; inset: 0; z-index: 99999; background: rgba(10, 15, 31, .82); display: grid; place-items: center; padding: 16px; backdrop-filter: blur(6px); }
.vsl-age[hidden] { display: none; }
.vsl-age__box { background: var(--vsl-paper); border-radius: 14px; padding: 2rem; max-width: 420px; text-align: center; }
.vsl-age__box h2 { margin: .2rem 0 .5rem; }
.vsl-age__brand { font: 600 .8rem var(--vsl-head); letter-spacing: .14em; text-transform: uppercase; color: var(--vsl-olive); margin: 0; }
.vsl-age__actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }

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

/* Theme overrides: the site theme styles bare buttons and links with higher specificity. */
body .vsl a { color: var(--vsl-navy); }
body .vsl a.vsl-btn--quiet, body .vsl button.vsl-btn--quiet { background: transparent; color: var(--vsl-navy); border: 1px solid var(--vsl-navy); }
body .vsl a.vsl-btn--quiet:hover, body .vsl button.vsl-btn--quiet:hover { background: var(--vsl-navy); color: #fff; }
body .vsl button.vsl-btn--primary { background: var(--vsl-orange); color: var(--vsl-ink); border: 0; }
body .vsl button.vsl-btn--primary:hover { background: #ffa033; color: var(--vsl-ink); }
body .vsl button.vsl-chip { background: var(--vsl-card); color: var(--vsl-navy); border: 1px solid var(--vsl-olive); }
body .vsl button.vsl-chip[aria-pressed="true"] { background: var(--vsl-navy); border-color: var(--vsl-navy); color: #fff; }
.vsl > .vsl-age { max-width: none; margin: 0; }
.vsl-card .vsl-portrait, .vsl-card__placeholder { aspect-ratio: 1 / 1; width: 100%; height: auto; object-fit: cover; }
.vsl-card__placeholder { display: grid; place-items: center; background: #efe8d6; border: 1px solid var(--vsl-rule); border-radius: 4px; color: var(--vsl-olive); font: 600 .72rem var(--vsl-head); letter-spacing: .14em; text-transform: uppercase; }
body .vsl a.vsl-card, body .vsl .vsl-related a { text-decoration: none; }
/* 2026-11-22: age-gate buttons sit outside .vsl, so the theme button style made Yes white-on-white. */
body .vsl-age button.vsl-btn--primary, body .vsl-age .vsl-btn--primary { background: #f88900 !important; color: #231f20 !important; border: 0 !important; }
body .vsl-age button.vsl-btn--primary:hover { background: #e07b00 !important; color: #231f20 !important; }
body .vsl-age a.vsl-btn--quiet { background: transparent !important; color: #0e1428 !important; border: 1px solid #0e1428 !important; }

/* Link from a strain page to its place on the family map */
.vsl-maplink { margin: 1rem 0 0; font-size: .92rem; }
body .vsl .vsl-maplink a { color: var(--vsl-olive); font-weight: 600; }

/* ---- Library quick wins, module 1.2.0 (2026-11-22) ---- */
.vsl [hidden] { display: none !important; }
.vsl .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Landing hero: plain-words H1, the old headline as a tagline, search as the main control */
.vsl-tagline { font-family: var(--vsl-head); font-weight: 600; font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); color: var(--vsl-olive); margin: 0 0 .6rem; }
.vsl-hero .vsl-search { margin: 1.25rem 0 .5rem; max-width: 34rem; }
.vsl-hero .vsl-search label { font-family: var(--vsl-head); font-weight: 600; color: var(--vsl-navy); }
.vsl-hero .vsl-search input { padding: .8rem 1rem; font-size: 1.05rem; border-width: 2px; }
.vsl-hero .vsl-search .vsl-btn { padding: .8rem 1.3rem; }

/* Filter bar: aroma family and reported type */
.vsl-filterbar { display: grid; gap: .9rem; }
.vsl-filters { align-items: center; }
.vsl-filters__label { flex-basis: 100%; font: 600 .75rem var(--vsl-head); letter-spacing: .08em; text-transform: uppercase; color: var(--vsl-olive); }
@media (min-width: 760px) { .vsl-filters__label { flex-basis: 8.5rem; } }
.vsl-pages { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1rem 0; }
.vsl-pages [aria-busy="true"] { opacity: .6; pointer-events: none; }

/* Cards: type and aroma tags, and the name-only row for a strain with no page yet */
.vsl-card__tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.vsl-tag { font: 600 .68rem var(--vsl-head); letter-spacing: .04em; padding: .16rem .5rem; border-radius: 999px; border: 1px solid var(--vsl-rule); background: var(--vsl-card); color: var(--vsl-muted); }
.vsl-tag--type { border-color: var(--vsl-olive); color: var(--vsl-navy); }
.vsl-card--review { align-content: start; gap: .3rem; padding: .9rem 1rem; border: 1px dashed var(--vsl-olive); border-radius: var(--vsl-radius); background: transparent; }
.vsl-card--review .vsl-card__meta { font: 600 .7rem var(--vsl-head); letter-spacing: .1em; text-transform: uppercase; color: var(--vsl-olive); }
.vsl-card__map { font-size: .88rem; }

/* Store menu search links */
.vsl-menusearch { margin: 1rem 0 1.5rem; padding: .9rem 1.1rem; border-left: 3px solid var(--vsl-orange); background: var(--vsl-card); border-radius: 0 var(--vsl-radius) var(--vsl-radius) 0; }
.vsl-menusearch p { margin: .3rem 0; }
.vsl-menusearch__title { font-family: var(--vsl-head); font-weight: 700; color: var(--vsl-navy); }
.vsl-menusearch__state { font: 600 .75rem var(--vsl-head); letter-spacing: .08em; text-transform: uppercase; color: var(--vsl-olive); margin-right: .3rem; }
.vsl-menusearch a { display: inline-block; padding: .2rem 0; }

/* Strain page: summary under the H1, lineage status, family and similar-aroma lists */
.vsl-lede--strain { max-width: 58ch; font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem); margin: 0 0 .5rem; }
.vsl-badge { display: inline-block; margin-left: .35rem; font: 600 .68rem var(--vsl-head); letter-spacing: .06em; text-transform: uppercase; padding: .14rem .55rem; border-radius: 999px; border: 1px solid var(--vsl-olive); color: var(--vsl-navy); background: var(--vsl-card); white-space: nowrap; vertical-align: .08em; }
.vsl-family__list { list-style: none; padding-left: 0 !important; margin: .4rem 0 1rem; }
.vsl-family__list li { padding: .45rem 0; border-bottom: 1px solid var(--vsl-rule); margin: 0; }
.vsl-family__list a { font-family: var(--vsl-head); font-weight: 600; }
body .vsl a.vsl-maponly { text-decoration-style: dashed; }
.vsl-related .vsl-note { margin: .75rem 0 0; }
@media (max-width: 899px) {
  .vsl-hero--strain .vsl-hero__art { max-width: 240px; }
  .vsl-facts div { grid-template-columns: 7.5rem 1fr; gap: .75rem; }
}
