:root {
  --ink: #172d50;
  --muted: #53647c;
  --cream: #f5f6fa;
  --paper: #ffffff;
  --green-950: #00205b;
  --green-900: #00338d;
  --green-800: #00338d;
  --green-700: #2759a3;
  --gold: #ebb700;
  --gold-light: #ffe085;
  --border: #d7deeb;
  --danger: #a7443c;
  --shadow: 0 24px 70px rgb(5 46 42 / 16%);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); line-height: 1.55; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 16px; background: white; color: var(--green-900); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.prototype-banner { min-height: 32px; padding: 6px clamp(20px, 5vw, 72px); display: flex; align-items: center; justify-content: center; gap: 18px; background: var(--gold); color: #3f3218; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.prototype-banner .text-button { font-size: .67rem; }
.text-button { padding: 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; cursor: pointer; font-weight: 700; }
.text-button.light { color: #d9e7e1; }

.site-header { position: absolute; z-index: 20; top: 32px; left: 0; right: 0; height: 92px; padding: 0 clamp(24px, 6vw, 96px); display: flex; align-items: center; justify-content: space-between; color: white; }
.brand { display: flex; gap: 12px; align-items: center; color: inherit; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgb(255 255 255 / 28%); border-radius: 50%; color: var(--gold); }
.brand-mark svg { width: 23px; fill: currentColor; }
.brand strong { display: block; font-family: var(--serif); font-size: 1.25rem; line-height: 1.05; font-weight: 500; }
.brand small { display: block; margin-top: 4px; color: rgb(255 255 255 / 62%); font-size: .6rem; letter-spacing: .09em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.7vw, 42px); font-size: .84rem; }
.site-nav a { color: inherit; text-decoration: none; }
.site-nav a:not(.button):hover { color: var(--gold-light); }
.nav-admin { padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
.menu-button { display: none; width: 44px; height: 44px; padding: 11px; border: 1px solid rgb(255 255 255 / 25%); border-radius: 50%; background: transparent; }
.menu-button span:not(.sr-only) { display: block; height: 1px; margin: 4px 0; background: white; }

.button { min-height: 49px; padding: 13px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid transparent; border-radius: 2px; text-decoration: none; font-weight: 700; font-size: .83rem; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .icon-button:focus-visible, .bauble:focus-visible, input:focus-visible, textarea:focus-visible, .dialog-close:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.button-small { min-height: 40px; padding: 10px 18px; }
.button-gold { background: var(--gold); color: #2d281b; box-shadow: 0 8px 30px rgb(0 0 0 / 12%); }
.button-gold:hover { background: #f0c970; }
.button-ghost { border-color: rgb(255 255 255 / 36%); color: white; background: rgb(255 255 255 / 5%); }
.button-dark { background: var(--green-900); color: white; }
.button-dark:hover { background: var(--green-700); }
.button-outline { border-color: #c8cdc5; color: var(--ink); background: transparent; }
.full-width { width: 100%; }

.hero { min-height: 780px; padding: 180px clamp(24px, 9vw, 150px) 100px; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(350px, .98fr); align-items: center; color: white; background:
  radial-gradient(circle at 72% 32%, rgb(40 125 102 / 34%), transparent 30%),
  radial-gradient(circle at 12% 80%, rgb(197 155 64 / 8%), transparent 32%),
  linear-gradient(122deg, var(--green-950), #073f37 65%, #052f2b);
}
.hero::before { content: ""; position: absolute; inset: 0; opacity: .13; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E"); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; max-width: 650px; }
.eyebrow { margin: 0 0 22px; display: flex; align-items: center; gap: 9px; color: var(--gold-light); font-size: .67rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow.dark { color: #98701e; }
.eyebrow.centred { justify-content: center; color: #98701e; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(4.3rem, 7vw, 7.4rem); font-weight: 400; letter-spacing: -.045em; line-height: .79; }
.hero h1 em { color: var(--gold-light); font-weight: 400; }
.hero-intro { max-width: 600px; margin: 38px 0 30px; color: rgb(255 255 255 / 72%); font-size: clamp(1rem, 1.45vw, 1.15rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.donation-note { margin: 19px 0 0; color: rgb(255 255 255 / 50%); font-size: .72rem; }
.donation-note span { margin-right: 6px; color: var(--gold); }
.hero-visual { position: absolute; z-index: 1; top: 90px; right: max(-40px, calc((100vw - 1400px) / 2)); width: min(49vw, 680px); height: 690px; }
.hero-sprig { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 30px 60px rgb(0 0 0 / 22%)); transform: rotate(-3deg); }
.sprig-stem { fill: none; stroke: #76562d; stroke-width: 10; stroke-linecap: round; }
.ornament-string { fill: none; stroke: #d4b45e; stroke-width: 2; }
.glow { position: absolute; border-radius: 50%; filter: blur(2px); background: var(--gold); box-shadow: 0 0 25px 4px var(--gold); animation: twinkle 3.2s infinite ease-in-out; }
.glow-one { width: 4px; height: 4px; top: 21%; left: 37%; }
.glow-two { width: 3px; height: 3px; top: 62%; left: 70%; animation-delay: 1.1s; }
@keyframes twinkle { 50% { opacity: .25; transform: scale(.65); } }

.tree-section { padding: 96px clamp(24px, 7vw, 112px) 112px; background: var(--paper); }
.section-heading { max-width: 1250px; margin: 0 auto 45px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading h2, .steps-section h2, .donation-section h2, .moderation-header h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2.9rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.035em; }
.section-heading p:not(.eyebrow) { max-width: 610px; margin: 19px 0 0; color: var(--muted); }
.tree-tools { display: flex; align-items: center; gap: 11px; }
.segmented-control { display: flex; padding: 4px; border: 1px solid var(--border); border-radius: 6px; background: #e9edf5; }
.segmented-control button { padding: 8px 14px; border: 0; border-radius: 4px; background: transparent; color: #68746f; font-size: .72rem; font-weight: 700; cursor: pointer; }
.segmented-control button.is-active { background: white; color: var(--green-800); box-shadow: 0 2px 8px rgb(0 0 0 / 8%); }
.icon-button { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 6px; background: white; cursor: pointer; }
.icon-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.tree-layout { max-width: 1250px; min-height: 750px; margin: 0 auto; display: grid; grid-template-columns: minmax(500px, 1fr) 300px; overflow: hidden; background: var(--cream); box-shadow: var(--shadow); }
.tree-stage { min-height: 750px; position: relative; display: grid; place-items: center; overflow: hidden; background:
  radial-gradient(circle at 50% 43%, rgb(255 255 255 / 80%), transparent 40%),
  linear-gradient(#eef2fa, #e5eaf5); }
.tree-stage::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(#cbd6ec 1px, transparent 1px); background-size: 28px 28px; }
.tree-shape { position: absolute; bottom: 16px; width: min(85%, 660px); height: 90%; }
.star { position: absolute; z-index: 3; top: 25px; left: 50%; color: var(--gold); font-size: 4rem; line-height: 1; transform: translateX(-50%); text-shadow: 0 0 28px rgb(228 185 86 / 60%); }
.bauble-layer { position: absolute; z-index: 4; inset: 0; }
.bauble { --size: 48px; position: absolute; left: var(--x); top: var(--y); width: var(--size); height: var(--size); display: grid; place-items: center; border: 2px solid rgb(255 255 255 / 48%); border-radius: 50%; color: white; background: var(--bauble, #bf6d54); box-shadow: inset -10px -10px 16px rgb(0 0 0 / 18%), inset 7px 7px 12px rgb(255 255 255 / 20%), 0 8px 15px rgb(0 0 0 / 23%); cursor: pointer; transform: translate(-50%, -50%); transition: transform .2s ease, filter .2s ease; }
.bauble::before { content: ""; position: absolute; top: -8px; left: 50%; width: 14px; height: 9px; border-radius: 3px 3px 0 0; background: #c1a359; transform: translateX(-50%); }
.bauble::after { content: ""; position: absolute; top: -22px; left: 50%; width: 1px; height: 15px; background: rgb(219 195 123 / 80%); }
.bauble:hover, .bauble.is-focused { z-index: 10; filter: brightness(1.12); transform: translate(-50%, -50%) scale(1.16); }
.bauble span { font-family: var(--serif); font-size: .82rem; text-shadow: 0 1px 3px rgb(0 0 0 / 38%); }
.tree-instruction { position: absolute; z-index: 5; bottom: 18px; left: 22px; margin: 0; color: #63726d; font-size: .68rem; }
.tree-story { padding: 66px 36px 40px; display: flex; flex-direction: column; color: white; background: var(--green-900); }
.story-icon { color: var(--gold); font-size: 1.8rem; }
.story-quote { margin: 28px 0 9px; font-family: var(--serif); font-size: 1.7rem; line-height: 1.25; }
.story-attribution { margin: 0; color: rgb(255 255 255 / 55%); font-size: .7rem; }
.tree-story hr { width: 100%; margin: auto 0 28px; border: 0; border-top: 1px solid rgb(255 255 255 / 15%); }
.tree-count { display: flex; gap: 15px; align-items: center; margin-bottom: 25px; }
.tree-count strong { color: var(--gold-light); font-family: var(--serif); font-size: 3.5rem; font-weight: 400; line-height: 1; }
.tree-count span { color: rgb(255 255 255 / 60%); font-size: .68rem; line-height: 1.35; text-transform: uppercase; letter-spacing: .08em; }
.tree-story .button-dark { width: 100%; justify-content: space-between; border-color: rgb(255 255 255 / 23%); background: rgb(255 255 255 / 6%); }

.dedication-list { max-width: 1250px; margin: 0 auto; }
.list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.list-card { min-height: 230px; padding: 28px; border: 1px solid var(--border); border-top: 4px solid var(--card-colour, var(--gold)); background: white; cursor: pointer; text-align: left; }
.list-card:hover { box-shadow: 0 12px 30px rgb(5 46 42 / 10%); }
.list-card .list-star { color: var(--card-colour, var(--gold)); }
.list-card h3 { margin: 21px 0 8px; font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.list-card blockquote { margin: 0; color: var(--muted); font-family: var(--serif); font-size: 1.08rem; }
.list-card small { display: block; margin-top: 20px; color: #8a9692; }

.steps-section { padding: 110px clamp(24px, 8vw, 130px); text-align: center; background: #f0eee4; }
.steps-grid { max-width: 1100px; margin: 60px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.steps-grid article { min-height: 290px; padding: 40px 48px; position: relative; border-right: 1px solid #d8d7ce; }
.steps-grid article:last-child { border-right: 0; }
.step-number { position: absolute; top: 0; left: 28px; color: #bdac83; font-family: var(--serif); font-size: .8rem; }
.step-icon { width: 75px; height: 75px; margin: 0 auto 24px; display: grid; place-items: center; border: 1px solid #c8b77d; border-radius: 50%; color: #a4771a; font-family: var(--serif); font-size: 1.6rem; }
.steps-grid h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 1.55rem; font-weight: 500; }
.steps-grid p { margin: 0; color: var(--muted); font-size: .87rem; }

.donation-section { padding: 80px clamp(24px, 9vw, 150px); display: flex; justify-content: space-between; align-items: center; gap: 50px; color: white; background: var(--green-950); }
.donation-section h2 { margin: 0; color: white; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.5rem); font-weight: 400; line-height: 1.02; }
.donation-section p:not(.eyebrow) { max-width: 650px; color: rgb(255 255 255 / 60%); }
.donation-action { max-width: 310px; display: flex; flex-direction: column; gap: 12px; text-align: center; }
.donation-action small { color: rgb(255 255 255 / 45%); font-size: .65rem; }

.site-footer { padding: 32px clamp(24px, 6vw, 96px); display: grid; grid-template-columns: 1fr 1.5fr auto; gap: 30px; align-items: center; color: rgb(255 255 255 / 57%); background: #04241f; font-size: .7rem; }
.footer-brand { display: flex; gap: 12px; align-items: center; color: white; }
.brand-mark.small { width: 35px; height: 35px; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand span { color: rgb(255 255 255 / 47%); font-size: .62rem; }

dialog { border: 0; padding: 0; }
dialog::backdrop { background: rgb(3 24 21 / 78%); backdrop-filter: blur(5px); }
.dedication-dialog { width: min(1040px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; border-radius: 4px; box-shadow: 0 30px 100px rgb(0 0 0 / 38%); }
.dialog-shell { min-height: 680px; display: grid; grid-template-columns: 40% 60%; }
.dialog-aside { padding: 58px 50px; position: relative; overflow: hidden; color: white; background: var(--green-900); }
.dialog-aside::after { content: ""; position: absolute; right: -100px; bottom: -120px; width: 300px; height: 300px; border: 1px solid rgb(255 255 255 / 8%); border-radius: 50%; box-shadow: 0 0 0 35px rgb(255 255 255 / 2%), 0 0 0 70px rgb(255 255 255 / 2%); }
.dialog-aside h2 { margin: 0; font-family: var(--serif); font-size: 3.1rem; font-weight: 400; line-height: .97; }
.dialog-aside > p:not(.eyebrow, .privacy-note) { color: rgb(255 255 255 / 64%); }
.mini-bauble { width: 125px; height: 125px; margin: 55px auto; display: grid; place-items: center; position: relative; border-radius: 50%; color: #fff6d8; background: radial-gradient(circle at 34% 28%, #f6dfa3, #c99533 62%, #8c5e19); box-shadow: 0 20px 45px rgb(0 0 0 / 32%); font-size: 2.3rem; }
.mini-bauble::before { content: ""; position: absolute; top: -19px; width: 35px; height: 22px; border-radius: 5px 5px 0 0; background: #9c7832; }
.mini-bauble::after { content: ""; position: absolute; top: -95px; width: 1px; height: 80px; background: #a9915c; }
.privacy-note { position: relative; z-index: 1; padding: 15px; display: flex; gap: 10px; border: 1px solid rgb(255 255 255 / 13%); color: rgb(255 255 255 / 56%); font-size: .7rem; }
.dialog-main { padding: 50px 58px; position: relative; background: var(--paper); }
.dialog-close { position: absolute; z-index: 10; top: 17px; right: 20px; width: 35px; height: 35px; border: 0; border-radius: 50%; background: rgb(20 45 41 / 8%); color: #52605c; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.form-progress { margin-bottom: 42px; display: flex; align-items: center; }
.form-progress > span { width: 28px; height: 28px; display: grid; place-items: center; position: relative; flex: 0 0 auto; border: 1px solid #bdc2ba; border-radius: 50%; color: #89938f; font-size: .72rem; font-weight: 700; }
.form-progress > span.is-current, .form-progress > span.is-complete { border-color: var(--green-700); color: white; background: var(--green-700); }
.form-progress > span small { position: absolute; top: 33px; color: #747f7b; font-size: .61rem; font-weight: 600; }
.form-progress i { height: 1px; flex: 1; background: #d6d9d2; }
.field-group { margin-bottom: 22px; position: relative; }
.field-group label { display: flex; justify-content: space-between; margin-bottom: 7px; font-size: .78rem; font-weight: 700; }
.field-group label span { color: #8b9692; font-size: .61rem; text-transform: uppercase; letter-spacing: .07em; }
.field-group input, .field-group textarea { width: 100%; padding: 13px 42px 13px 14px; border: 1px solid #cdd2ca; border-radius: 3px; color: var(--ink); background: white; }
.field-group textarea { padding-right: 14px; resize: vertical; }
.field-group input::placeholder, .field-group textarea::placeholder { color: #a8b0ad; }
.character-count { position: absolute; right: 10px; bottom: 13px; color: #99a29f; font-size: .62rem; }
.field-group:has(textarea) .character-count { bottom: 10px; }
.checkbox-field { margin: 4px 0 22px; display: flex; gap: 10px; align-items: flex-start; color: #63706c; font-size: .7rem; }
.checkbox-field input { margin-top: 3px; accent-color: var(--green-700); }
.preview-intro { margin: 0 0 18px; color: var(--muted); font-size: .78rem; }
.dedication-preview { padding: 36px; border: 1px solid #d8d6ca; position: relative; text-align: center; background: linear-gradient(135deg, white, #f4f1e7); }
.dedication-preview::before, .dedication-preview::after { content: ""; position: absolute; width: 26px; height: 26px; border-color: #c5a753; }
.dedication-preview::before { top: 10px; left: 10px; border-top: 1px solid; border-left: 1px solid; }
.dedication-preview::after { right: 10px; bottom: 10px; border-right: 1px solid; border-bottom: 1px solid; }
.preview-star { color: #bd8d2a; font-size: 1.4rem; }
.dedication-preview > p:first-of-type { margin: 12px 0 0; color: #9b7b39; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; }
.dedication-preview h3 { margin: 5px 0 20px; font-family: var(--serif); font-size: 2.4rem; font-weight: 500; }
.dedication-preview blockquote { margin: 0; color: #44534f; font-family: var(--serif); font-size: 1.27rem; line-height: 1.45; }
.dedication-preview .preview-from { margin: 19px 0 0; color: #7a8682; font-size: .7rem; }
.preview-notice { margin: 18px 0; padding: 13px; display: flex; gap: 12px; align-items: flex-start; background: #edf3ef; color: #5c6965; font-size: .68rem; }
.preview-notice span { color: var(--green-700); font-size: 1.2rem; }
.preview-notice p { margin: 0; }
.preview-notice strong { display: block; color: var(--ink); }
.form-actions { display: flex; gap: 10px; justify-content: space-between; }
.completion-step { padding-top: 35px; text-align: center; }
.completion-icon { width: 72px; height: 72px; margin: 0 auto 25px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green-700); font-size: 1.8rem; box-shadow: 0 0 0 9px #e3eee8; }
.completion-step .eyebrow { justify-content: center; margin-bottom: 12px; }
.completion-step h3 { margin: 0; font-family: var(--serif); font-size: 2.7rem; font-weight: 400; }
.completion-step > p:not(.eyebrow) { max-width: 460px; margin: 16px auto 30px; color: var(--muted); }
.completion-actions { display: flex; justify-content: center; gap: 10px; }

.message-dialog { width: min(570px, calc(100vw - 30px)); overflow: visible; border-radius: 3px; background: var(--paper); box-shadow: 0 30px 100px rgb(0 0 0 / 40%); }
.message-card { padding: 70px 60px 50px; position: relative; text-align: center; }
.message-bauble { width: 90px; height: 90px; margin: -115px auto 28px; display: grid; place-items: center; border: 3px solid rgb(255 255 255 / 45%); border-radius: 50%; color: white; background: var(--active-colour, var(--gold)); box-shadow: inset -13px -13px 18px rgb(0 0 0 / 18%), 0 12px 28px rgb(0 0 0 / 25%); font-size: 1.5rem; }
.message-kicker { margin: 0; color: #98701e; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.message-card h2 { margin: 7px 0 22px; font-family: var(--serif); font-size: 3rem; font-weight: 400; line-height: 1; }
.message-card blockquote { margin: 0; color: #485752; font-family: var(--serif); font-size: 1.4rem; line-height: 1.45; }
.message-from { margin: 20px 0 32px; color: #82908b; font-size: .74rem; }
.message-actions { display: flex; gap: 9px; justify-content: center; }
.share-feedback { min-height: 20px; margin: 14px 0 -15px; color: var(--green-700); font-size: .7rem; }

.moderation-view { min-height: 800px; padding: 155px clamp(24px, 7vw, 110px) 100px; background: #f2f2ec; }
.moderation-view::before { content: ""; position: absolute; z-index: -1; top: 32px; left: 0; right: 0; height: 92px; background: var(--green-950); }
.moderation-header { max-width: 1250px; margin: 0 auto 42px; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.moderation-header h1 { font-size: 3.7rem; }
.moderation-header p:not(.eyebrow) { max-width: 650px; margin-bottom: 0; color: var(--muted); }
.admin-stats { max-width: 1250px; margin: 0 auto 25px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.admin-stats article { padding: 22px 25px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--border); background: white; }
.admin-stats span { color: var(--muted); font-size: .75rem; }
.admin-stats strong { font-family: var(--serif); font-size: 2.2rem; font-weight: 500; }
.moderation-panel { max-width: 1250px; margin: 0 auto; border: 1px solid var(--border); background: white; }
.moderation-panel-heading { padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.moderation-panel-heading h2 { margin: 0; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; }
.moderation-panel-heading p { margin: 3px 0 0; color: var(--muted); font-size: .7rem; }
.prototype-chip { padding: 5px 9px; border-radius: 30px; color: #795a19; background: #f6e7b7; font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.review-list { min-height: 220px; }
.review-item { padding: 25px 28px; display: grid; grid-template-columns: 120px 1fr auto; gap: 25px; align-items: center; border-bottom: 1px solid var(--border); }
.review-item:last-child { border-bottom: 0; }
.review-meta { color: var(--muted); font-size: .67rem; }
.review-meta strong { display: block; color: var(--ink); font-size: .72rem; }
.review-copy h3 { margin: 0 0 5px; font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.review-copy blockquote { margin: 0; color: #52615c; font-family: var(--serif); font-size: 1.05rem; }
.review-copy p { margin: 7px 0 0; color: #85908d; font-size: .68rem; }
.review-actions { display: flex; gap: 8px; }
.review-actions button { min-height: 38px; padding: 8px 14px; }
.button-approve { border: 0; color: white; background: var(--green-700); }
.button-decline { border: 1px solid #dfc2bf; color: var(--danger); background: white; }
.empty-review { padding: 65px 20px; text-align: center; color: var(--muted); }
.empty-review span { display: block; color: var(--green-700); font-size: 2rem; }
.empty-review h3 { margin: 8px 0 3px; color: var(--ink); font-family: var(--serif); font-size: 1.5rem; }
.empty-review p { margin: 0; font-size: .75rem; }

.toast { position: fixed; z-index: 100; right: 22px; bottom: 22px; max-width: 360px; padding: 13px 18px; border-radius: 3px; color: white; background: #183f37; box-shadow: 0 12px 35px rgb(0 0 0 / 23%); font-size: .75rem; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .2s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .site-header { height: 78px; }
  .menu-button { display: block; }
  .site-nav { display: none; position: absolute; top: 72px; left: 20px; right: 20px; padding: 24px; flex-direction: column; align-items: stretch; border: 1px solid rgb(255 255 255 / 15%); color: white; background: var(--green-900); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav .button { width: 100%; }
  .hero { min-height: 740px; grid-template-columns: 1fr; padding-top: 170px; }
  .hero-copy { max-width: 610px; }
  .hero-visual { opacity: .34; right: -190px; width: 650px; }
  .tree-layout { grid-template-columns: 1fr; }
  .tree-story { min-height: 300px; padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 30px; }
  .tree-story hr { display: none; }
  .story-quote { grid-column: 1; margin: 0; }
  .tree-count { grid-column: 2; grid-row: 1; }
  .tree-story .button { grid-column: 2; }
  .story-icon, .story-attribution { display: none; }
  .list-grid { grid-template-columns: repeat(2, 1fr); }
  .dialog-shell { grid-template-columns: 32% 68%; }
  .dialog-aside { padding: 45px 28px; }
  .dialog-aside h2 { font-size: 2.5rem; }
  .dialog-main { padding: 45px 40px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer > p { display: none; }
}

@media (max-width: 700px) {
  .prototype-banner { justify-content: space-between; font-size: .55rem; }
  .brand small { display: none; }
  .hero { min-height: 700px; padding: 155px 23px 75px; }
  .hero h1 { font-size: clamp(4rem, 19vw, 5.5rem); }
  .hero-intro { margin-top: 30px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-visual { right: -300px; opacity: .25; }
  .tree-section { padding: 72px 16px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .tree-tools { width: 100%; justify-content: space-between; }
  .tree-layout { min-height: 0; }
  .tree-stage { min-height: 620px; }
  .tree-shape { width: 100%; }
  .bauble { --size: 42px; }
  .tree-story { display: flex; min-height: 330px; }
  .tree-story hr { display: block; }
  .story-icon, .story-attribution { display: block; }
  .story-quote { margin: 16px 0 0; }
  .list-grid { grid-template-columns: 1fr; }
  .steps-section { padding: 75px 22px; }
  .steps-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .steps-grid article { min-height: 235px; border-right: 0; border-bottom: 1px solid #d8d7ce; }
  .steps-grid article:last-child { border-bottom: 0; }
  .donation-section { padding: 70px 24px; flex-direction: column; align-items: flex-start; }
  .donation-action { width: 100%; max-width: none; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .dialog-shell { display: block; }
  .dialog-aside { min-height: 180px; padding: 35px 28px; }
  .dialog-aside h2 { font-size: 2.25rem; }
  .dialog-aside > p:not(.eyebrow) { display: none; }
  .mini-bauble { display: none; }
  .dialog-main { padding: 40px 24px 30px; }
  .form-progress { margin-bottom: 46px; }
  .form-actions, .completion-actions, .message-actions { flex-direction: column; }
  .message-card { padding: 65px 25px 35px; }
  .moderation-view { padding: 140px 16px 70px; }
  .moderation-header { align-items: flex-start; flex-direction: column; }
  .admin-stats { grid-template-columns: 1fr; }
  .review-item { grid-template-columns: 1fr; gap: 12px; }
  .review-actions { justify-content: stretch; }
  .review-actions button { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Lions International: blue #00338D and gold #EBB700. Preserve the official signature. */
.site-header {position:relative;top:0;height:118px;background:#fff;color:var(--green-950);border-bottom:1px solid var(--border);}
.lions-logo {display:block;width:72px;height:72px;background:#fff;flex-shrink:0;}
.lions-logo img {display:block;width:100%;height:100%;object-fit:contain;}
.brand small {color:#53647c;font-size:.64rem;letter-spacing:.035em;}
.brand strong {font-family:Arial,Helvetica,sans-serif;font-weight:700;font-size:1.3rem;}
.charity-number {display:block;margin-top:3px;font-size:.7rem;line-height:1.4;letter-spacing:normal;text-transform:none;}
.brand .charity-number {font-size:.65rem;}
.footer-brand .charity-number {font-size:.75rem;}
.eyebrow .charity-number {font-family:var(--sans);font-weight:400;}
.site-nav a:not(.button):hover {color:#00338d;}
.hero {min-height:650px;padding-top:80px;background:radial-gradient(ellipse at 80% 15%,#2759a3 0,transparent 45%),linear-gradient(120deg,#00205b,#00338d);}
.hero h1 em {color:#ebb700;}
.prototype-banner {background:#00338d;color:#fff;letter-spacing:.06em;min-height:34px;}
.prototype-banner .text-button {color:#fff;}
.button-gold:hover {background:#ffd24a;}
.footer-logo {width:112px;height:112px;object-fit:contain;background:white;flex-shrink:0;}
.footer-brand {align-items:center;gap:20px;}
.site-footer a {color:#fff;text-underline-offset:3px;}
.site-footer p {max-width:400px;}
.form-error {color:#a12d2d;font-weight:600;}
.form-error:empty {display:none;}
.honeypot {position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;}
.login-dialog {position:relative;width:min(460px,calc(100% - 32px));padding:40px;border:0;border-radius:8px;color:var(--ink);}
.login-dialog::backdrop {background:rgb(0 20 55 / 70%);}
.login-dialog h2 {font-size:2rem;margin:0 0 12px;}
.login-dialog .field-group {margin-top:20px;}
button:disabled {opacity:.55;cursor:not-allowed;transform:none;}
.empty-tree {grid-column:1/-1;padding:30px;text-align:center;}
.legal-page {max-width:850px;margin:50px auto;padding:30px;}
.legal-page h1 {font-size:2.7rem;line-height:1.1;}
@media(max-width:900px) {.site-nav {background:#00338d;color:#fff;}.site-header {padding:0 20px;}.menu-button {background:#00338d;}.brand small {max-width:170px;font-size:.6rem;}.lions-logo{width:64px;height:64px;}.hero {padding-top:60px;}}
@media(max-width:480px) {.site-header{height:105px;}.brand{gap:6px;}.brand strong{font-size:1.05rem;}.brand small{display:block;max-width:155px;font-size:.5rem;}.lions-logo{width:64px;height:64px;}.hero{min-height:600px;}.footer-logo{width:96px;height:96px;}}
@media(max-width:480px) {.brand small{font-size:.58rem;line-height:1.35;}.brand .charity-number{font-size:.6rem;}.prototype-banner{padding-block:8px;}}
