/* Chef's Genetix: the closeout, the plant line and the cookbook (staged 2026-11-19).
   Extends assets/site.css: same tokens, same cards, two new accents (gold for the kitchen, leaf for the plants). */
:root { --gold: #f5c76b; --gold-deep: #c98a2b; --leaf: #85ffb6; --dew: #ffe7a6; }

/* Brand */
.brand-mark.svg { background: transparent; border: 0; box-shadow: 0 0 26px rgba(181,71,255,.6); }
.brand small { letter-spacing: .02em; }
nav a[aria-current="page"] { color: var(--text); }
nav .nav-new { color: var(--gold); }

/* Closeout band (index and every page) */
.closeout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 22px; margin: 6px 0 4px; padding: 14px 18px; border: 1px solid rgba(245,199,107,.55); border-radius: 16px; background: linear-gradient(110deg, rgba(245,199,107,.16), rgba(181,71,255,.14)); }
.closeout p { margin: 0; color: var(--text); font-weight: 700; }
.closeout strong { font-family: Orbitron, Inter, sans-serif; color: var(--gold); text-transform: uppercase; letter-spacing: .02em; }
.closeout a { color: var(--gold); font-weight: 900; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.price-was { color: var(--muted); text-decoration: line-through; font-weight: 600; margin-right: 6px; }

/* Section rhythm */
.page-main { padding: 18px 0 40px; }
.section { margin: 64px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 22px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; max-width: 560px; }
.kicker { display: block; margin-bottom: 10px; color: var(--gold); font: 900 12px Orbitron, Inter, sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.lede { font-size: 18px; color: var(--text); opacity: .9; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: 22px; padding: 24px; background: rgba(255,255,255,.07); box-shadow: 0 18px 48px rgba(0,0,0,.24); }
.card h3 { margin: 0 0 10px; font-size: 18px; text-transform: uppercase; }
.card p { margin: 0; }
.card .num { display: block; margin-bottom: 12px; font: 900 13px Orbitron, Inter, sans-serif; color: var(--gold); }

/* Plants: hero art and care tables */
.plant-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 28px; align-items: stretch; padding: 24px 0 8px; }
.plant-hero .hero-card h1 { font-size: clamp(40px, 6vw, 66px); }
.plant-art { position: relative; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: radial-gradient(circle at 50% 30%, rgba(133,255,182,.18), transparent 55%), linear-gradient(160deg, #1d0f30, #0f0719); min-height: 380px; display: grid; place-items: center; }
.plant-art svg { width: 100%; height: 100%; max-height: 520px; }
.plant-art figcaption { position: absolute; left: 16px; bottom: 14px; color: var(--muted); font-size: 12px; }
.dew { animation: dew 4.8s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.dew:nth-of-type(3n) { animation-delay: -1.6s; }
.dew:nth-of-type(3n+1) { animation-delay: -3.1s; }
@keyframes dew { 0%, 100% { opacity: .78; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .dew { animation: none; } }
.genus { display: grid; grid-template-columns: 1fr; gap: 16px; }
.genus header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.genus h3 { font-size: 22px; margin: 0; }
.genus .latin { color: var(--leaf); font-style: italic; font-weight: 700; }
.care { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--line); }
.care dt, .care dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.care dt { color: var(--leaf); font: 900 12px Orbitron, Inter, sans-serif; text-transform: uppercase; padding-top: 14px; }
.care dd { color: var(--muted); line-height: 1.6; }
.cite { font-size: 12px; color: var(--muted); }
.cite a, .sources a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.sources ol { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.8; font-size: 14px; }
.waitlist { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg, rgba(80,34,124,.9), rgba(29,10,48,.92)); box-shadow: var(--shadow); }
.waitlist h2 { margin-bottom: 10px; }
.waitlist form { display: grid; gap: 12px; }
.waitlist .row { display: flex; gap: 10px; }
.waitlist .row button { white-space: nowrap; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 800; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--gold); font: 900 18px Orbitron, Inter, sans-serif; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; }

/* Cookbook */
.book-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 36px; align-items: center; padding: 28px 0 10px; }
.book-hero h1 { font-size: clamp(38px, 5.4vw, 62px); }
.book-stage { display: grid; place-items: center; perspective: 1400px; min-height: 460px; }
.book { position: relative; width: min(320px, 74vw); aspect-ratio: 3 / 4; transform: rotateY(-24deg) rotateX(6deg); transform-style: preserve-3d; transition: transform .6s ease; }
.book:hover { transform: rotateY(-10deg) rotateX(3deg); }
@media (prefers-reduced-motion: reduce) { .book, .book:hover { transition: none; } }
.book-cover { position: absolute; inset: 0; border-radius: 6px 14px 14px 6px; overflow: hidden; background: radial-gradient(circle at 75% 12%, rgba(245,199,107,.35), transparent 40%), radial-gradient(circle at 10% 95%, rgba(181,71,255,.55), transparent 50%), linear-gradient(160deg, #2a1046 0%, #12091e 70%); box-shadow: 30px 40px 70px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08); display: grid; grid-template-rows: auto 1fr auto; padding: 26px 24px 22px 30px; }
.book-cover:before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(255,255,255,.08) 60%, transparent); }
.book-spine-text { position: relative; color: var(--gold); font: 900 10px Orbitron, Inter, sans-serif; letter-spacing: .32em; text-transform: uppercase; }
.book-title { position: relative; align-self: center; }
.book-title b { display: block; font: 900 clamp(26px, 3.4vw, 34px)/1 Orbitron, Inter, sans-serif; color: #fff; text-transform: uppercase; }
.book-title span { display: block; margin-top: 12px; color: var(--gold); font: 700 13px Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.book-rule { width: 54px; height: 2px; margin: 18px 0; background: linear-gradient(90deg, var(--gold), transparent); }
.book-foot { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font: 800 11px Inter, sans-serif; text-transform: uppercase; letter-spacing: .12em; }
.book-foot img { width: 40px; height: 40px; }
.book-pages { position: absolute; top: 6px; bottom: 6px; right: -14px; width: 16px; border-radius: 0 6px 6px 0; background: repeating-linear-gradient(90deg, #f3eadb 0 2px, #d9cdb8 2px 3px); transform: rotateY(90deg) translateZ(-1px); transform-origin: left; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid rgba(245,199,107,.55); border-radius: 16px; background: rgba(245,199,107,.1); color: var(--text); }
.notice b { font-family: Orbitron, Inter, sans-serif; color: var(--gold); white-space: nowrap; }
.notice p { margin: 0; color: var(--text); opacity: .9; }
.toc { counter-reset: ch; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; padding: 0; list-style: none; }
.toc li { counter-increment: ch; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.toc li::before { content: counter(ch, decimal-leading-zero); color: var(--gold); font: 900 18px Orbitron, Inter, sans-serif; }
.toc b { display: block; color: var(--text); font-family: Orbitron, Inter, sans-serif; text-transform: uppercase; font-size: 14px; }
.toc span { color: var(--muted); font-size: 14px; line-height: 1.6; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.calc form { display: grid; gap: 14px; }
.calc output { display: block; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(0,0,0,.25); }
.calc output strong { display: block; font: 900 44px Orbitron, Inter, sans-serif; color: var(--gold); line-height: 1; }
.calc output small { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.calc output.over strong { color: var(--danger); }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pill-list li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-size: 13px; color: var(--text); background: rgba(255,255,255,.06); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: #fff; color: #12091e; font-weight: 900; }
.skip:focus { left: 12px; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (max-width: 900px) {
  .plant-hero, .book-hero, .grid-2, .grid-3, .waitlist, .calc, .toc { grid-template-columns: 1fr; }
  .plant-art { min-height: 300px; }
  .book-stage { min-height: 380px; }
  .waitlist .row { flex-direction: column; }
  .section { margin: 44px 0; }
  .closeout a { white-space: normal; }
}
