:root {
  --cream: #fff8e7;
  --cream-2: #fdf0d2;
  --paper: #fffdf7;
  --sun: #f6b417;
  --sun-2: #ffd54a;
  --marigold: #e8891c;
  --pumpkin: #c8602b;
  --cranberry: #9b2c3a;
  --leaf: #5b7a3a;
  --leaf-2: #7d9b4f;
  --bark: #3d2814;
  --bark-2: #6b4a2b;
  --muted: #7a5f45;
  --line: #ecd9b0;
  --rx-blue: #2e5c8a;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(110, 70, 20, .12), 0 2px 6px rgba(110, 70, 20, .08);
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Nunito', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-hand: 'Caveat', 'Segoe Print', cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--cream); color: var(--bark); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--pumpkin); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; color: var(--bark); }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .78rem; color: var(--pumpkin); margin-bottom: .6em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--bark); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; opacity: 0; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; background: linear-gradient(180deg, #ffc93a, var(--sun)); color: var(--bark); font-weight: 800; font-family: var(--font-body); font-size: 1rem; border: 0; border-radius: 999px; padding: .75em 1.4em; text-decoration: none; cursor: pointer; box-shadow: 0 4px 0 #c98a0b, 0 8px 18px rgba(200, 130, 10, .25); transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #c98a0b; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-ghost { background: var(--paper); box-shadow: 0 0 0 2px var(--bark) inset, 0 4px 0 var(--bark); }
.btn-ghost:active { box-shadow: 0 0 0 2px var(--bark) inset, 0 1px 0 var(--bark); }
.btn-lg { font-size: 1.1rem; padding: .9em 1.6em; }
.btn-sm { font-size: .9rem; padding: .5em 1em; box-shadow: 0 3px 0 #c98a0b; }
.btn-block { width: 100%; }
.chip { display: inline-flex; align-items: center; gap: .3em; padding: .45em .95em; border-radius: 999px; background: var(--cream-2); border: 1.5px solid var(--line); color: var(--bark); font: 700 .9rem var(--font-body); text-decoration: none; cursor: pointer; }
.chip:hover { background: #fde6a8; }
.chip.active { background: var(--bark); color: var(--cream); border-color: var(--bark); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; background: rgba(255, 248, 231, .9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(236, 217, 176, .7); }
.brand { display: inline-flex; align-items: center; gap: .5em; font: 800 1.2rem var(--font-head); color: var(--bark); text-decoration: none; }
.brand-flower { width: 34px; height: 34px; animation: spin 40s linear infinite; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; }
.nav a:not(.btn) { color: var(--bark); text-decoration: none; font-weight: 700; }
.nav a:not(.btn):hover { color: var(--pumpkin); }
.menu-btn { display: none; background: none; border: 2px solid var(--bark); border-radius: 999px; padding: .3em .9em; font: 800 .9rem var(--font-body); color: var(--bark); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 90px; background:
  radial-gradient(1200px 500px at 85% -10%, rgba(255, 213, 74, .55), transparent 60%),
  radial-gradient(800px 400px at 0% 100%, rgba(232, 137, 28, .18), transparent 60%),
  linear-gradient(180deg, #fff3cf 0%, var(--cream) 100%); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; background: var(--bark); clip-path: polygon(0 100%, 0 60%, 10% 40%, 22% 55%, 35% 30%, 50% 50%, 63% 28%, 78% 52%, 90% 35%, 100% 55%, 100% 100%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); font-weight: 900; letter-spacing: -.02em; margin-bottom: .3em; }
.script { font-family: var(--font-hand); font-weight: 600; color: var(--pumpkin); font-size: 1.15em; display: inline-block; transform: rotate(-3deg); }
.lede { font-size: 1.2rem; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 18px; }
.when { font-weight: 700; color: var(--bark-2); }
.anniv { background: rgba(255, 255, 255, .7); border-left: 4px solid var(--sun); padding: 10px 14px; border-radius: 10px; max-width: 34em; font-size: .98rem; }
.status-pill { display: inline-flex; align-items: center; gap: .6em; background: var(--bark); color: var(--cream); font-weight: 800; font-size: .9rem; padding: .4em 1em; border-radius: 999px; }
.status-pill .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sun); }
.status-pill.live .dot { background: #7ddc6a; box-shadow: 0 0 0 0 rgba(125, 220, 106, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(125, 220, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(125, 220, 106, 0); } }

.leaves { position: absolute; inset: 0; pointer-events: none; }
.leaves span { position: absolute; top: -40px; font-size: 22px; opacity: .55; animation: fall linear infinite; }
@keyframes fall { to { transform: translate3d(var(--dx, 60px), 110vh, 0) rotate(540deg); } }
@media (prefers-reduced-motion: reduce) { .leaves, .brand-flower, .rx-flower { animation: none !important; display: none; } .brand-flower { display: inline; } html { scroll-behavior: auto; } }

/* Rx card */
.rx-card { position: relative; background: var(--paper); border-radius: 14px; padding: 26px 26px 22px; box-shadow: var(--shadow), 0 0 0 1px #e6d7b8; transform: rotate(2deg); background-image: repeating-linear-gradient(transparent 0 33px, rgba(46, 92, 138, .09) 33px 34px); }
.rx-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 3px double var(--rx-blue); padding-bottom: 10px; margin-bottom: 12px; color: var(--rx-blue); }
.rx-clinic { font: 900 1.35rem var(--font-head); color: var(--rx-blue); }
.rx-sub { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.stetho { width: 44px; height: 44px; color: var(--rx-blue); }
.rx-lines { margin: 0 0 6px; }
.rx-lines div { display: flex; gap: 10px; align-items: baseline; border-bottom: 1px dashed #cdd8e4; padding: 2px 0; }
.rx-lines dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--rx-blue); width: 62px; }
.rx-lines dd { margin: 0; }
.hand { font-family: var(--font-hand); font-size: 1.45rem; color: #1f3d66; line-height: 1.25; }
.rx-body { display: flex; gap: 12px; margin: 14px 0; }
.rx-symbol { font: 700 3.6rem/1 var(--font-head); color: var(--rx-blue); }
.rx-script { font-size: 1.6rem; }
.rx-sign { border-top: 1px solid #cdd8e4; padding-top: 8px; }
.sig { font-size: 1.5rem; }
.rx-dates { font-size: .8rem; color: var(--rx-blue); font-weight: 700; letter-spacing: .08em; }
.rx-flower { position: absolute; width: 96px; height: 96px; right: -30px; bottom: -34px; animation: spin 30s linear infinite; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .15)); }

/* Stats band */
.stats-band { background: var(--bark); color: var(--cream); padding: 30px 0 46px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat .num { display: block; font: 900 clamp(1.9rem, 4.5vw, 3rem)/1.1 var(--font-head); color: var(--sun-2); font-variant-numeric: tabular-nums; }
.stat .lbl { font-size: .95rem; opacity: .9; font-weight: 700; }
.path { margin-top: 30px; }
.path-head { display: flex; justify-content: space-between; font-size: .98rem; margin-bottom: 8px; gap: 10px; }
.path-track { position: relative; height: 22px; border-radius: 999px; background: repeating-linear-gradient(90deg, #5a3c20 0 18px, #644527 18px 36px); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .35); }
.path-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--leaf-2), var(--sun)); transition: width 1.6s cubic-bezier(.2, .8, .2, 1); }
.path-walker { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); font-size: 34px; transition: left 1.6s cubic-bezier(.2, .8, .2, 1); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .4)); }
.path-note { margin: 12px 0 0; font-size: .95rem; opacity: .85; text-align: center; }

/* Sections */
.section { padding: 84px 0; }
.flora-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.portrait { margin: 0; text-align: center; }
.portrait-frame { aspect-ratio: 1; border-radius: 50%; padding: 14px; background: conic-gradient(from 0deg, var(--sun), var(--marigold), var(--sun-2), var(--sun), var(--marigold), var(--sun)); box-shadow: var(--shadow); display: grid; place-items: center; max-width: 380px; margin: 0 auto; }
.portrait-frame > * { width: 100%; height: 100%; border-radius: 50%; background: var(--cream); object-fit: cover; }
.portrait-frame svg { padding: 14%; }
.portrait figcaption { margin-top: 16px; display: grid; }
.portrait figcaption strong { font: 800 1.35rem var(--font-head); }
.portrait figcaption span { color: var(--muted); font-weight: 700; }
.subtitle { font: 600 1.15rem var(--font-head); color: var(--pumpkin); font-style: italic; }
.quote { margin: 26px 0; padding: 18px 22px; background: var(--paper); border-radius: 14px; border-left: 6px solid var(--sun); box-shadow: var(--shadow); }
.quote p { font: 600 1.3rem var(--font-head); font-style: italic; margin: 0 0 4px; }
.quote cite { color: var(--muted); font-style: normal; font-size: .9rem; font-weight: 700; }
.link-arrow { font-weight: 800; text-decoration: none; }
.legacy-title { text-align: center; margin-top: 60px; font-size: 1.5rem; }
.legacy { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 18px; }
.legacy article { background: var(--paper); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border-top: 5px solid var(--sun); }
.legacy .ico { font-size: 1.8rem; }
.legacy p { font-size: .95rem; color: var(--bark-2); margin: 0; }

.how { background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; background: var(--paper); border-radius: var(--radius); padding: 28px 22px 22px; box-shadow: var(--shadow); counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; top: -14px; left: 20px; width: 32px; height: 32px; border-radius: 50%; background: var(--pumpkin); color: #fff; font: 900 1rem/32px var(--font-head); text-align: center; }
.step-ico { font-size: 2.2rem; display: block; margin-bottom: 8px; }
.steps p { font-size: .96rem; color: var(--bark-2); margin: 0; }

/* Forms */
.card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.form label { display: block; font-weight: 800; font-size: .92rem; margin-bottom: 14px; }
.form input:not([type=checkbox]), .form select, .form textarea { display: block; width: 100%; margin-top: 6px; padding: .7em .9em; font: 600 1rem var(--font-body); color: var(--bark); background: #fff; border: 2px solid var(--line); border-radius: 12px; transition: border-color .15s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--sun); outline: none; box-shadow: 0 0 0 4px rgba(246, 180, 23, .2); }
.form textarea { resize: vertical; }
.steps-input { font: 900 1.6rem var(--font-head) !important; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hint { font-weight: 600; color: var(--muted); font-size: .85rem; }
.req { color: var(--cranberry); }
.check { display: flex !important; gap: .6em; align-items: flex-start; font-weight: 700 !important; }
.check input { margin-top: .3em; width: 18px; height: 18px; accent-color: var(--marigold); flex: none; }
.check.small { font-size: .82rem !important; color: var(--muted); }
.quick-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 16px; }
.quick-steps button { border: 1.5px dashed var(--line); background: var(--cream); border-radius: 999px; padding: .3em .8em; font: 800 .85rem var(--font-body); color: var(--bark-2); cursor: pointer; }
.quick-steps button:hover { border-color: var(--sun); background: #fff1c2; }
.form-msg { margin: 12px 0 0; font-weight: 700; min-height: 1.2em; }
.form-msg.err { color: var(--cranberry); }
.form-msg.ok { color: var(--leaf); }

.log { background: var(--cream); }
.log-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.badges { display: grid; gap: 10px; margin-top: 22px; }
.badge-item { display: flex; gap: 12px; align-items: center; background: var(--paper); border: 1.5px solid var(--line); padding: 10px 14px; border-radius: 14px; }
.badge-item .b-ico { font-size: 1.7rem; width: 40px; text-align: center; }
.badge-item strong { display: block; }
.badge-item small { color: var(--muted); font-weight: 700; }
.badge-item.earned { border-color: var(--sun); background: #fff3cc; }
.my-walks { margin-top: 26px; }
.my-walks h3 { font-size: 1.1rem; }
.my-walks ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.my-walks li { display: flex; justify-content: space-between; background: var(--paper); border-radius: 10px; padding: 8px 12px; font-weight: 700; }

/* Garden */
.garden-sec { background: linear-gradient(180deg, #e9f4ff 0%, #fff6dc 55%, #fbe7b5 100%); }
.garden { position: relative; margin-top: 30px; min-height: 200px; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; row-gap: 26px; padding: 30px 0 0; }
.flower { position: relative; display: block; cursor: pointer; border: 0; background: none; padding: 0 3px; margin-bottom: 18px; }
.flower::after { content: ''; position: absolute; left: 0; right: 0; bottom: -18px; height: 18px; background: linear-gradient(180deg, #8cb455, #5f8236); }
.flower:first-child::after { border-radius: 9px 0 0 9px; } .flower:last-child::after { border-radius: 0 9px 9px 0; }
.flower:hover, .flower:focus { z-index: 6; }
.flower svg { display: block; overflow: visible; transform-origin: 50% 100%; animation: sway 5s ease-in-out infinite; animation-delay: var(--d, 0s); }
.flower.new svg { animation: grow 1.2s cubic-bezier(.2, 1.4, .4, 1) both, sway 5s ease-in-out 1.2s infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@keyframes grow { from { transform: scale(0); } to { transform: scale(1); } }
.flower .tip { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--bark); color: var(--cream); font-size: .82rem; font-weight: 700; padding: 5px 10px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 5; }
.flower:hover .tip, .flower:focus .tip { opacity: 1; }

.garden-count { font: 600 1.15rem var(--font-head); margin: 18px 0 0; }
.garden-count strong { color: var(--pumpkin); font-size: 1.5em; }
.garden-years { margin: 14px 0 0; }
.garden.multi { justify-content: flex-start; padding-left: 8px; }
.year-break { flex-basis: 100%; height: 0; }
.years .board-list .who { flex: none; }
.signpost { align-self: flex-end; position: relative; width: 58px; height: 74px; margin: 0 6px 18px; }
.signpost::before { content: ''; position: absolute; left: 50%; bottom: 0; width: 6px; height: 50px; transform: translateX(-50%); background: #7a4e26; border-radius: 2px; }
.signpost span { position: absolute; top: 0; left: 0; right: 0; background: #a0682f; color: #fff8e7; font: 800 .85rem/1 var(--font-body); padding: 6px 0; text-align: center; border-radius: 4px; box-shadow: 0 2px 0 #6b4220; }
.signpost::after { content: ''; position: absolute; left: -6px; right: -6px; bottom: -18px; height: 18px; background: linear-gradient(180deg, #8cb455, #5f8236); }
.sms-cta { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; max-width: 760px; margin: 44px auto 0; background: var(--paper); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow); }
.sms-cta[hidden] { display: none; }
.sms-cta h3 { font-size: 1.45rem; }
.sms-phone { width: 230px; background: #f3efe8; border-radius: 22px; padding: 14px 12px; border: 6px solid #2a1b0d; display: grid; gap: 8px; font-size: .8rem; line-height: 1.35; }
.bubble { padding: 7px 11px; border-radius: 16px; max-width: 88%; }
.bubble.in { background: #e3ded5; justify-self: start; border-bottom-left-radius: 4px; }
.bubble.out { background: #34a853; color: #fff; justify-self: end; font-weight: 800; border-bottom-right-radius: 4px; }
.sms-tip { background: #fff3cc; border-left: 4px solid var(--sun); padding: 10px 14px; border-radius: 10px; font-size: .95rem; }
.when a { color: inherit; }
@media (max-width: 560px) { .sms-cta { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

.garden3d { position: relative; margin-top: 26px; height: clamp(420px, 62vw, 640px); border-radius: 28px; overflow: hidden; box-shadow: 0 20px 50px rgba(110, 70, 20, .25), 0 0 0 4px #fff8e7; background: linear-gradient(#cfe2f3, #f9d9a6); transition: height .4s ease; }
.garden3d[hidden] { display: none; }
.garden3d.collapsed { height: 0; box-shadow: none; margin: 0; }
.g3d-canvas { position: absolute; inset: 0; }
.g3d-canvas canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.garden3d.exploring .g3d-canvas canvas { touch-action: none; }
.g3d-hud { position: absolute; top: 16px; left: 16px; background: rgba(255, 250, 235, .82); backdrop-filter: blur(8px); border-radius: 18px; padding: 12px 18px; box-shadow: 0 6px 20px rgba(60, 35, 10, .15); pointer-events: none; max-width: 70%; }
.g3d-count { font: 900 2.4rem/1 var(--font-head); color: var(--pumpkin); font-variant-numeric: tabular-nums; }
.g3d-sub { font-weight: 800; font-size: .9rem; color: var(--bark); }
.g3d-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; font-size: .8rem; font-weight: 800; color: var(--bark-2); }
.g3d-legend:empty { display: none; }
.g3d-legend i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; box-shadow: 0 0 0 1.5px rgba(61, 40, 20, .35); }
.g3d-controls { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.g3d-controls .chip { background: rgba(255, 250, 235, .92); box-shadow: 0 4px 14px rgba(60, 35, 10, .18); }
.g3d-controls .chip[disabled] { opacity: .55; }
.g3d-zoom { width: 38px; justify-content: center; padding: .45em 0; }
.g3d-tip { position: absolute; top: 0; left: 0; pointer-events: none; background: var(--bark); color: var(--cream); padding: 7px 12px; border-radius: 10px; font-size: .85rem; white-space: nowrap; margin: -64px 0 0 12px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); z-index: 3; }
.g3d-tip span { color: var(--sun-2); font-weight: 700; }
.g3d-hint { position: absolute; left: 16px; bottom: 12px; margin: 0; font-size: .8rem; font-weight: 700; color: rgba(61, 40, 20, .75); text-shadow: 0 1px 0 rgba(255, 255, 255, .6); pointer-events: none; }
.flat-toggle { margin-top: 14px; }
.garden.as-fallback { display: none; }
.garden.as-fallback.show-flat { display: flex; }
@media (max-width: 640px) {
  .g3d-hint { display: none; }
  .g3d-count { font-size: 1.5rem; }
  .g3d-sub { font-size: .74rem; }
  .g3d-hud { top: 10px; left: 10px; padding: 7px 11px; border-radius: 14px; max-width: 58%; }
  .g3d-zoom { display: none; }
  .g3d-controls .chip { font-size: .82rem; }
  .g3d-controls { right: 10px; bottom: 10px; }
}

/* Boards */
.boards { padding-top: 0; background: #fbe7b5; }
.boards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.board h3 { margin-bottom: 12px; }
.board-list { margin: 0; padding: 0; list-style: none; counter-reset: r; display: grid; gap: 6px; }
.board-list li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--cream); font-weight: 700; counter-increment: r; }
.board-list:not(.plain) li::before { content: counter(r); width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--line); font-size: .8rem; font-weight: 900; }
.board-list li:nth-child(1)::before { background: #f6c445; }
.board-list li:nth-child(2)::before { background: #d9d4c7; }
.board-list li:nth-child(3)::before { background: #e3a56b; }
.board-list .who { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-list .who small { color: var(--muted); font-weight: 600; }
.board-list .val { font-variant-numeric: tabular-nums; color: var(--pumpkin); font-weight: 900; }
.board-list .empty { background: none; color: var(--muted); font-weight: 600; }
.board-list .empty::before { display: none; }

/* Gratitude */
.gratitude { background: var(--bark); color: var(--cream); }
.gratitude h2 { color: var(--cream); }
.gratitude .eyebrow { color: var(--sun-2); }
.gratitude .muted { color: #e8d6b8; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 20px 0 30px; }
.wall { columns: 3 280px; column-gap: 18px; }
.note { break-inside: avoid; margin-bottom: 18px; background: var(--paper); color: var(--bark); border-radius: 6px 18px 18px 18px; padding: 20px 20px 16px; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); position: relative; }
.note:nth-child(3n+1) { background: #fff7d6; }
.note:nth-child(3n+2) { background: #ffeedd; }
.note::before { content: '🍂'; position: absolute; top: -12px; right: 14px; font-size: 1.4rem; }
.note:nth-child(2n)::before { content: '🌻'; }
.note .prompt { font-weight: 800; color: var(--pumpkin); font-size: .85rem; margin-bottom: 4px; }
.note .msg { font: 500 1.08rem/1.5 var(--font-head); white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: 12px; }
.note .meta { font-size: .85rem; color: var(--muted); font-weight: 700; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }

/* Join */
.join { background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.join h2 { font-size: 1.7rem; }
.cal-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: .9rem; font-weight: 700; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.or { text-align: center; position: relative; margin: 20px 0 16px; color: var(--muted); font-weight: 700; font-size: .9rem; }
.or::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed var(--line); }
.or span { position: relative; background: var(--paper); padding: 0 10px; }

/* Footer */
.footer { background: #2a1b0d; color: #e8d6b8; padding: 50px 0; }
.footer .brand { color: var(--cream); margin-bottom: 10px; }
.footer a { color: var(--sun-2); font-weight: 800; text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.tag { font: 700 1.6rem var(--font-hand); color: var(--sun); }

/* Celebration */
.celebrate { border: 0; border-radius: 24px; padding: 0; max-width: min(520px, 94vw); width: 100%; background: var(--paper); color: var(--bark); box-shadow: 0 30px 80px rgba(0, 0, 0, .4); overflow: hidden; }
.celebrate::backdrop { background: rgba(42, 27, 13, .6); backdrop-filter: blur(3px); }
.cel-inner { position: relative; padding: 30px 26px 22px; text-align: center; }
.cel-badge { font-size: 4.4rem; line-height: 1; animation: pop .7s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pop { from { transform: scale(0) rotate(-40deg); } }
#shareCanvas { width: 100%; max-width: 300px; height: auto; border-radius: 14px; box-shadow: var(--shadow); margin: 6px auto 14px; display: block; }
.cel-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cel-next { margin: 16px 0 0; font-size: .9rem; font-weight: 700; }
.close-x { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--muted); }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti span { position: absolute; top: -20px; font-size: 20px; animation: drop 2.6s ease-in forwards; }
@keyframes drop { to { transform: translateY(700px) rotate(720deg); opacity: 0; } }

/* Simple pages (unsubscribe / 404) */
body.simple { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(circle at 50% 0%, #ffe9a8, var(--cream) 60%); }
.simple-card { max-width: 460px; text-align: center; background: var(--paper); padding: 40px 30px; border-radius: var(--radius); box-shadow: var(--shadow); }
.simple-flower { font-size: 4rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .flora-grid, .log-grid, .join-grid { grid-template-columns: 1fr; }
  .rx-card { max-width: 440px; margin: 10px auto 0; transform: rotate(1deg); }
  .steps, .legacy { grid-template-columns: 1fr 1fr; }
  .boards-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .portrait-frame { max-width: 260px; }
}
@media (max-width: 760px) {
  .menu-btn { display: inline-block; }
  .nav ul { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 4px; background: var(--cream); padding: 12px 20px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav ul.open { display: flex; }
  .nav ul li { width: 100%; }
  .nav ul a:not(.btn) { display: block; padding: 10px 0; }
  .nav ul .btn { width: 100%; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .hero { padding: 40px 0 80px; }
  .steps, .legacy, .field-row { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .card { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .rx-flower { right: -14px; width: 76px; height: 76px; }
}

/* Initials on sunflowers (flat garden) */
.fl-initial { font: 800 15px var(--font-head); fill: #ffe7a3; stroke: rgba(40, 20, 5, .85); stroke-width: 2.5px; paint-order: stroke; pointer-events: none; }

/* Optional note form under the gratitude wall */
.note-form-wrap { max-width: 560px; margin: 30px auto 0; text-align: center; }
.note-form-wrap summary { list-style: none; cursor: pointer; }
.note-form-wrap summary::-webkit-details-marker { display: none; }
.note-form-wrap[open] summary { margin-bottom: 16px; }
.note-form { text-align: left; color: var(--bark); }
