:root {
  --forest:#102e27; --leaf:#1c3b30; --cream:#f7efe1; --gold:#dfc28b;
  --muted:#bec9b9; --line:#b1bd9d38; --ink:#273e31;
  color-scheme:dark; font:16px/1.65 system-ui,sans-serif; color:var(--cream);
}
*,*::before,*::after {box-sizing:border-box}
html {scroll-behavior:smooth;scroll-padding:24px}
body {margin:0;background:var(--forest);background-image:radial-gradient(#d9c89422 .7px,transparent .7px),radial-gradient(ellipse at 76% 290px,#33524785,transparent 48%);background-size:52px 52px,100% 690px;background-repeat:repeat,no-repeat}
body:has(dialog[open]) {overflow:hidden}
a {color:inherit;text-decoration:none}
button,textarea {font:inherit}
button {cursor:pointer}
button:disabled {cursor:default;opacity:.4}
button,a {touch-action:manipulation}
:focus-visible {outline:3px solid #a28246;outline-offset:4px}
[hidden] {display:none!important}
.sr-only,.skip:not(:focus) {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus {position:fixed;z-index:3;top:10px;left:10px;padding:10px;background:var(--gold);color:var(--ink)}
.shell {width:min(1160px,calc(100% - 80px));margin-inline:auto}
.header,.footer {display:flex;align-items:center;justify-content:space-between;gap:20px}
.header {min-height:105px;border-bottom:1px solid var(--line)}
.brand {display:inline-flex;align-items:center;gap:12px;font-size:12px;letter-spacing:.16em;line-height:1.3}
.brand small {display:block;font-size:12px;letter-spacing:0;margin-top:5px;color:var(--muted)}
.monogram {display:grid;place-items:center;width:46px;height:46px;border:1px solid #d4b68385;border-radius:50%;font:italic 27px Georgia,serif;color:var(--gold);letter-spacing:-.11em;padding-right:4px}
.header nav {display:flex;align-items:center;gap:24px;color:var(--muted);font-size:14px}
.header nav a:hover,.plain:hover,.text-link:hover {color:#b69760}
.plain {padding:0;border:0;background:none;color:inherit}
.pill {padding:8px 15px;border:1px solid var(--line);border-radius:999px;background:transparent;color:inherit;font-size:14px;white-space:nowrap}
.pill:hover {background:#81967624}
.pill span {color:var(--gold);margin-left:5px}
.hero {min-height:650px;display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:38px;padding:65px 0}
.eyebrow {margin:0 0 20px;color:#d1b67e;font-size:12px;font-weight:600;letter-spacing:.15em}
h1,h2,.closing p {font-family:Georgia,serif;font-weight:400;margin:0;line-height:1.13}
h1 {font-size:clamp(44px,5.5vw,78px);letter-spacing:-.055em}
h1 em,h2 em,.closing em {color:var(--gold);font-weight:400}
.intro {max-width:365px;margin:24px 0 27px;color:var(--muted)}
.button {display:inline-flex;align-items:center;justify-content:center;gap:13px;padding:11px 18px;min-height:45px;border-radius:9px;font-size:14px;font-weight:600;border:1px solid transparent;transition:background .2s,transform .2s;text-align:center}
.button:hover:not(:disabled) {transform:translateY(-2px)}
.gold {background:var(--gold);color:#203b2e}
.gold:hover {background:#efd6a8}
.outline {border-color:#82907967;background:transparent;color:inherit}
.outline:hover {background:#7d91721c}
.facts {font-size:13px;color:#bbc9ba;margin:22px 0 0}
.facts span {color:var(--gold);margin-inline:5px}
.hero-art {position:relative;height:460px;min-width:0}
.orbit {position:absolute;inset:12px 5% 14px;border:1px dashed #b6b58b31;border-radius:50%}
.orbit::after {content:"";position:absolute;inset:18px;border:1px solid #b6b58b2a;border-radius:50%}
.postcard {position:absolute;border-radius:7px;box-shadow:0 19px 34px #0006}
.front {left:8%;top:9%;width:54%;height:82%;transform:rotate(-9deg);background:#f3ead8;color:#344837;padding:18px 8%;animation:float 7s ease-in-out infinite}
.front::before {content:"";position:absolute;inset:8px;border:1px solid #b69f7588;border-radius:3px}
.letterhead,.letterfoot {display:flex;justify-content:space-between;align-items:center;color:#806d4e;font-size:10px;letter-spacing:.13em}
.letterhead b {font:24px Georgia,serif;color:#45604d}
.front svg {width:110%;height:52%;margin-inline:-5%;display:block}
.card-title {font:clamp(25px,3vw,43px)/.98 Georgia,serif;letter-spacing:-.035em}
.letterfoot {border-top:1px solid #a8906a70;margin-top:14px;padding-top:10px;font-size:8px}
.reverse {right:6%;top:17%;width:46%;height:72%;transform:rotate(12deg);background:#783f3b;color:#ead0a5;border:1px solid #ae7560;text-align:center;padding:21px 13px;font-size:11px;letter-spacing:.2em}
.reverse svg {display:block;width:94%;height:72%;margin:auto}
.reverse em {font:italic 21px Georgia,serif;letter-spacing:0}
.seal {position:absolute;right:12%;bottom:0;background:#cfb178;color:#284034;border-radius:50%;width:90px;height:90px;outline:1px dashed #f6e3bb;outline-offset:-7px;display:grid;align-content:center;text-align:center;transform:rotate(12deg);font:35px/1 Georgia,serif}
.seal small {display:block;font:italic 14px Georgia,serif}
.sparkle {position:absolute;color:var(--gold);z-index:2;animation:twinkle 4s infinite}
.star-one {top:5%;left:6%;font-size:36px}
.star-two {top:49%;right:1%;font-size:24px;animation-delay:1s}
.steam {animation:twinkle 3.2s infinite}
.ribbon {display:flex;justify-content:center;gap:clamp(13px,4vw,52px);align-items:center;padding:18px 15px;background:#17352c;border-block:1px solid var(--line);white-space:nowrap;overflow:hidden;color:#d0cbb0;font:italic 19px Georgia,serif}
.ribbon b,.closing div {color:var(--gold)}
.calendar {padding-block:80px 75px}
.section-head,.toolbar {display:flex;align-items:end;justify-content:space-between;gap:20px}
.section-head h2,.about h2,.faq h2 {font-size:clamp(36px,5vw,53px);letter-spacing:-.035em}
.section-head>p {margin:0;color:var(--muted);max-width:300px}
.toolbar {align-items:center;margin:33px 0 23px;flex-wrap:wrap}
.filters,.toolbar-actions {display:flex;flex-wrap:wrap;gap:7px}
.filters {border:1px solid var(--line);border-radius:999px;padding:4px}
.filters button {border:0;border-radius:999px;background:transparent;color:var(--muted);font-size:14px;padding:8px 13px}
.filters button[aria-pressed=true] {background:var(--gold);color:var(--ink)}
.day-grid {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}
.day-card {background:#1b3b2f;color:#f3ead6;border:1px solid #aab69057;border-radius:12px;position:relative;isolation:isolate;text-align:left;min-width:0;min-height:191px;display:flex;flex-direction:column;justify-content:space-between;gap:11px;padding:16px;transition:transform .24s,box-shadow .24s}
.day-card::after {content:"";position:absolute;inset:6px;border:1px solid currentColor;border-radius:7px;opacity:.13;pointer-events:none}
.day-card:hover {transform:translateY(-5px) rotate(-.6deg);box-shadow:0 12px 24px #0004}
.day-card:active {transform:scale(.98)}
.day-card[data-tone=sage] {background:#29493b}
.day-card[data-tone=cream] {background:#ebdfc4;color:#2d4636}
.day-card[data-tone=berry] {background:#75433d;color:#fff1db}
.day-card[data-tone=gold] {background:#d1b57f;color:#24402f}
.card-head,.card-tail {display:flex;align-items:center;justify-content:space-between;gap:8px}
.day-number {font:30px/1 Georgia,serif}
.day-status {font-size:11px;font-weight:600}
.card-tail {font-size:14px;line-height:1.35;min-height:38px}
.card-tail span:last-child {font-size:22px}
.tile-art {width:56px;height:56px;align-self:center;stroke:currentColor;stroke-width:1.25;fill:none;transition:transform .4s;opacity:.82}
.day-card:hover .tile-art {transform:rotate(8deg) scale(1.08)}
.empty {grid-column:1/-1;text-align:center;padding:28px 12px;border:1px dashed var(--line);border-radius:12px}
.about {background:#ebe2ce;color:var(--ink);padding-block:66px}
.about-layout,.faq {display:grid;grid-template-columns:1fr 1fr;gap:55px}
.about .eyebrow {color:#755c35}
.about h2 {margin-bottom:24px}
.about h2 em {color:#884f36}
.text-link {text-decoration:underline;text-underline-offset:5px;font-size:14px}
.steps {list-style:none;margin:0;padding:0}
.steps li {display:flex;gap:17px;padding:14px 0;border-bottom:1px solid #53634230}
.steps li:last-child {border-bottom:0}
.steps li>span {flex:none;display:grid;place-items:center;width:44px;height:44px;background:#dcd6bf;border-radius:50%;font-size:22px}
.steps h3 {margin:0 0 5px;font-weight:600;font-size:17px}
.steps p {margin:0;color:#465644}
.faq {padding-block:74px}
.faq h2 span {color:var(--gold)}
.faq details {border-bottom:1px solid var(--line);padding:15px 0}
.faq summary {cursor:pointer;color:var(--cream)}
.faq details p {color:var(--muted);margin:10px 0 0}
.closing {text-align:center;padding-block:5px 65px}
.closing div {font-size:29px}
.closing p {font-size:clamp(29px,4vw,42px);margin:12px 0 23px}
.footer {border-top:1px solid var(--line);padding:24px 0 35px;color:var(--muted)}
.footer p {margin:0;font-size:13px}
dialog {color-scheme:light;width:min(740px,calc(100% - 26px));max-height:min(90dvh,880px);margin:auto;padding:0;color:var(--ink);background:#faf6ec;border:1px solid #bdad8a;border-radius:17px;box-shadow:0 26px 85px #0007;overscroll-behavior:contain}
dialog[open] {animation:arrive .28s ease-out}
dialog::backdrop {background:#081b16ce;backdrop-filter:blur(6px)}
.modal-head,.modal-actions {position:sticky;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 27px;background:#faf6ec;border-color:#d6ceb7}
.modal-head {top:0;border-bottom:1px solid #d6ceb7;font-size:12px;letter-spacing:.12em;color:#6e603f}
.modal-actions {bottom:0;border-top:1px solid #d6ceb7}
.modal-actions .gold {flex:1;background:#2e513d;color:#fff9ec}
.icon-button {flex:none;display:grid;place-items:center;width:40px;height:40px;border:1px solid #87917166;border-radius:50%;background:transparent;color:var(--ink);font-size:21px;line-height:1}
.icon-button:hover {background:#d8d8ba}
.icon-button[aria-pressed=true] {color:#9c3f36;background:#f1dcd0}
.icon-button svg {width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6}
.modal-content {padding:25px 33px 28px}
.modal-content h2 {font-size:clamp(29px,5vw,42px);letter-spacing:-.028em}
.subtitle {color:#735f39;margin:6px 0 18px}
.lesson-section {margin-top:24px}
.lesson-section h3 {font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:#755b37;margin:0 0 8px}
.lesson-section p,.answer p {white-space:pre-line;margin:0}
.phrase-list {display:grid;gap:8px}
.phrase {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;background:#e9edde;border:1px solid #cbd1bc;border-radius:9px}
.phrase b {font-weight:600}
.phrase small {display:block;font-size:14px;color:#495842}
.phrase-actions {display:flex;gap:5px}
.inset {padding:15px;border-radius:9px;background:#eaece0}
.bonus {padding:14px;border:1px dashed #b8ac8f;border-radius:9px}
.note-label {display:block;font-weight:600;margin-bottom:7px}
textarea {width:100%;min-height:112px;resize:vertical;padding:11px;border:1px solid #b7bda5;border-radius:8px;background:#fffdf7;color:var(--ink)}
.note-help {font-size:13px;color:#4a5c45}
.answer {margin-top:20px;border:1px solid #bdb49a;border-radius:10px;background:#f1ead9}
.answer summary {padding:12px 13px;cursor:pointer;font-weight:600}
.answer div {padding:0 14px 14px}
.answer h4 {margin:13px 0 5px}
.progress-meter {width:100%;accent-color:#385d43;height:19px}
.progress-days {display:flex;gap:6px;flex-wrap:wrap;margin:15px 0 20px}
.progress-days button {min-width:37px;border:1px solid #87917188;background:transparent;color:inherit;border-radius:6px;padding:4px}
.progress-days .complete {background:#2e513d;color:var(--cream)}
.saved-item {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 0;border-bottom:1px solid #b8bda0}
.saved-item p {margin:0 0 3px}
.saved-item .text-link {color:#496345}
.collection-buttons {display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.notice:not(.sr-only) {position:sticky;z-index:3;bottom:10px;width:fit-content;max-width:90%;margin:0 auto;padding:7px 12px;border-radius:8px;background:#dfc28b;color:#243a2b;font-size:13px;pointer-events:none}
.confetti {position:fixed;inset:50% auto auto 50%;pointer-events:none}
.confetti i {position:absolute;background:var(--piece);width:6px;height:9px;animation:confetti 850ms ease-out forwards}
@keyframes confetti {to{transform:translate(var(--x),var(--y)) rotate(340deg);opacity:0}}
@keyframes arrive {from{opacity:0;transform:translateY(15px) scale(.985)}}
@keyframes twinkle {50%{opacity:.5;transform:translateY(-4px)}}
@keyframes float {50%{transform:translateY(-9px) rotate(-7deg)}}
@media(max-width:940px) {
  .shell {width:calc(100% - 50px)}
  .hero {min-height:550px;gap:10px}
  .hero-art {height:360px}
  .day-grid {grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:700px) {
  .shell {width:calc(100% - 32px)}
  .header {min-height:75px}
  .header nav {display:none}
  .header .pill {font-size:13px;padding:7px 10px}
  .monogram {width:37px;height:37px;font-size:22px}
  .brand {font-size:10px;gap:8px}
  .brand small {font-size:11px}
  .hero {display:flex;flex-direction:column;min-height:0;padding:38px 0 29px;gap:15px;text-align:center}
  .hero .eyebrow {font-size:10px}
  h1 {font-size:clamp(38px,10vw,60px)}
  .intro {margin:19px auto 20px}
  .facts {margin-top:17px}
  .hero-art {height:clamp(246px,77vw,380px);width:min(100%,440px)}
  .front {padding:12px 6%}
  .reverse {padding:15px 8px}
  .reverse em {font-size:16px}
  .letterfoot {font-size:6px;margin-top:10px}
  .seal {width:65px;height:65px;font-size:25px}
  .seal small {font-size:11px}
  .ribbon {font-size:16px}
  .ribbon span:last-child,.ribbon b:last-of-type {display:none}
  .calendar,.faq {padding-block:45px}
  .section-head {display:block}
  .section-head>p {margin-top:15px}
  .toolbar {margin:22px 0 17px;gap:12px}
  .filters button,.toolbar .pill {font-size:13px}
  .day-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .day-card {min-height:165px;padding:12px}
  .day-card[data-day="25"] {grid-column:1/-1}
  .day-card .tile-art {width:49px;height:49px}
  .about {padding-block:41px}
  .about-layout,.faq {grid-template-columns:1fr;gap:21px}
  .footer {flex-wrap:wrap}
  .footer p {order:3;width:100%}
  dialog {max-height:94dvh}
  .modal-head,.modal-actions {padding:10px 13px}
  .modal-content {padding:21px 15px}
  .modal-actions {flex-wrap:wrap;gap:6px}
  .modal-actions .gold {order:-1;flex-basis:100%}
  .modal-actions .outline {flex:1}
  .phrase-actions {flex-direction:column}
}
@media(prefers-reduced-motion:reduce) {
  *,*::after,*::before {animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
