/* ==========================================================================
   Toamnă - an autumn birthday, painted in watercolour: maple leaves falling all the way down the page (a touch on the
   opening sends a gust of wind through them), the photo in an arched window wrapped in a plaid scarf border, a badger
   playing in a pile of leaves at its foot and a cup of coffee on a stack of books beside it. A maple leaf drifts down
   above every title, the hedgehog says hello, the guest of honour's portrait sits in a plaid arch beside the squirrel
   with its acorn, the theme is handwritten on a kraft paper tag, every moment has an autumn treat,
   the days left are on maple leaves, the photos are polaroids, and at the end the bench waits under the maple tree in
   the park.
   Palette: --inv-primary (the ink and the scarf), --inv-accent (the soft colour), --inv-bg, --inv-text.
   The watercolours (assets/art, Pixabay, see LICENSES.md) are made transparent; on the dark palette (.to-dark, set
   by script.js) they get back a sheet of watercolour paper. script.js draws the leaves (canvas.to-air)
   ========================================================================== */

.toamna {
    --to-hand: 'Caveat', 'Segoe Print', cursive;
    --to-soft: color-mix(in srgb, var(--inv-text) 64%, var(--inv-bg));
    --to-line: color-mix(in srgb, var(--inv-primary) 18%, transparent);
    --to-scarf: var(--inv-primary);
    --to-paper: color-mix(in srgb, #fffaf2 90%, var(--inv-accent));
    --to-kraft: #d8b98a;
    --to-leaf: polygon(50% 0, 58% 18%, 70% 10%, 68% 30%, 88% 22%, 80% 40%, 100% 42%, 84% 56%, 90% 64%, 64% 62%, 66% 78%, 53% 70%, 52% 100%, 48% 100%, 47% 70%, 34% 78%, 36% 62%, 10% 64%, 16% 56%, 0 42%, 20% 40%, 12% 22%, 32% 30%, 30% 10%, 42% 18%);
    --to-shadow: 0 1px 2px color-mix(in srgb, var(--inv-text) 8%, transparent), 0 24px 48px -30px color-mix(in srgb, var(--inv-text) 50%, transparent);
    --kit-radius: 12px;
    --kit-field-bg: var(--inv-surface);
    --kit-field-border: var(--to-line);
    font-family: var(--inv-font-body);
    font-weight: 400;
    font-size: 1.03rem;
    line-height: 1.72;
    background: var(--inv-bg);
    overflow-x: clip;
}
.toamna.to-dark { --to-scarf: #9c4a25; }
.toamna h1, .toamna h2, .toamna h3 { font-family: var(--inv-font-heading); font-weight: 400; line-height: 1.12; }
:where(.toamna) :is(h1, h2, h3) { margin: 0; }
:where(.toamna) p { margin: 0 0 .9em; }
.toamna strong { font-weight: 700; }
.toamna a { color: var(--inv-primary); }
.to-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--inv-primary); margin: 0 0 10px; }
.to-role { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--to-soft); margin: 0 0 4px; }
.to-names { font-family: var(--inv-font-heading); font-size: 1.3rem; margin: 0; }
.to-hero, .to-main, .to-footer { position: relative; z-index: 1; }
.to-card { position: relative; background: var(--inv-surface); border-radius: 18px; box-shadow: var(--to-shadow), 0 0 0 1px var(--to-line); }
.to-air { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* ---------- The watercolours ---------- */
.to-art { position: relative; display: block; }
.to-art img { display: block; width: 100%; height: auto; }
.to-dark .to-art img { background: radial-gradient(closest-side, var(--to-paper) 54%, color-mix(in srgb, var(--to-paper) 40%, transparent) 78%, transparent 100%); }

/* ---------- The plaid arch ---------- */
.to-arch { position: relative; margin: 0; aspect-ratio: 4 / 5; padding: 12px; border-radius: 999px 999px 20px 20px;
    background:
        repeating-linear-gradient(90deg, transparent 0 10px, rgba(30, 16, 8, .28) 10px 15px, transparent 15px 26px, rgba(255, 236, 196, .4) 26px 28px, transparent 28px 40px),
        repeating-linear-gradient(0deg, transparent 0 10px, rgba(30, 16, 8, .28) 10px 15px, transparent 15px 26px, rgba(255, 236, 196, .4) 26px 28px, transparent 28px 40px),
        var(--to-scarf);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 30px 50px -30px color-mix(in srgb, var(--inv-text) 70%, transparent); }
.to-arch-photo { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 999px 999px 10px 10px; background: var(--to-paper); box-shadow: 0 0 0 3px var(--inv-surface); }
.to-arch-photo img, .to-initial { display: block; width: 100%; height: 100%; object-fit: cover; }
.to-initial { display: grid; place-items: center; font-family: var(--inv-font-heading); font-size: 5rem; color: var(--inv-primary); }

/* ---------- Navigation ---------- */
.to-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 6; display: flex; justify-content: center; padding: 18px; }
.to-nav .kit-nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.to-nav .kit-nav-links a { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--inv-text); padding: 6px 0; border-bottom: 1px solid transparent; }
.to-nav .kit-nav-links a:hover, .to-nav .kit-nav-links a.is-current { border-color: var(--inv-primary); color: var(--inv-primary); }
.to-nav .kit-nav-brand { font-family: var(--to-hand); font-weight: 600; font-size: 1.8rem; line-height: 1; color: var(--inv-primary); text-decoration: none; }
.to-nav.is-stuck { justify-content: space-between; align-items: center; padding: 8px clamp(16px, 4vw, 40px); background: color-mix(in srgb, var(--inv-bg) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--to-line); }
.toamna .kit-to-top { background: var(--inv-surface); color: var(--inv-primary); border: 1px solid var(--to-line); }
@media (max-width: 899px) {
    .to-nav { justify-content: flex-end; padding: 12px; }
    .to-nav .kit-nav-toggle { width: 46px; height: 46px; border-radius: 50%; background: var(--inv-surface); color: var(--inv-primary); border: 1px solid var(--to-line); font-size: 1.2rem; }
    .to-nav .kit-nav-links { display: none; }
    .to-nav.is-open .kit-nav-links {
        display: flex; flex-direction: column; gap: 12px; position: absolute; top: 66px; left: 12px; right: 12px;
        padding: 24px; border-radius: 18px; background: var(--inv-surface); box-shadow: var(--to-shadow);
    }
    .to-nav.is-stuck { padding: 6px 12px; }
}

/* ---------- Hero: the arch, the badger in the leaves and the coffee on the books ---------- */
.to-hero { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 110px 16px 60px; overflow: hidden; overflow: clip; cursor: default; }
.to-glow { position: absolute; right: -10%; top: -10%; width: min(900px, 150vw); aspect-ratio: 1; border-radius: 50%; pointer-events: none;
    background: radial-gradient(closest-side, color-mix(in srgb, #f7b85c 30%, transparent), transparent 70%); }
.to-dark .to-glow { background: radial-gradient(closest-side, color-mix(in srgb, #d9772f 22%, transparent), transparent 70%); }
.to-hero-inner { position: relative; z-index: 1; width: min(1060px, 100%); display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 30px; text-align: center; }
.to-scene { position: relative; width: min(330px, 70vw); margin-bottom: 8%; }
.kit-js .to-arch--hero { animation: to-rise 1.3s cubic-bezier(.3, 1.2, .5, 1) .1s both; }
@keyframes to-rise { from { opacity: 0; translate: 0 30px; } to { opacity: 1; translate: 0 0; } }
.to-badger { position: absolute; left: -30%; bottom: -14%; width: 70%; z-index: 3; }
.to-book { position: absolute; right: -28%; bottom: -10%; width: 56%; z-index: 3; }
.kit-js .to-badger img { animation: to-pop 1.2s cubic-bezier(.3, 1.4, .5, 1) .6s both; }
.kit-js .to-book img { animation: to-in-r 1.1s cubic-bezier(.3, 1.2, .5, 1) .8s both; }
@keyframes to-pop { from { opacity: 0; translate: 0 40px; scale: .9; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes to-in-r { from { opacity: 0; translate: 40px 10px; } to { opacity: 1; translate: 0 0; } }
.to-hero.is-gusty .to-badger img { animation: to-shake .8s ease-in-out 1; }
@keyframes to-shake { 0%, 100% { rotate: 0deg; } 25% { rotate: -3deg; } 60% { rotate: 2deg; } }

.to-hero-text { display: grid; justify-items: center; width: 100%; min-width: 0; }
.toamna .to-name { font-family: var(--inv-font-heading); font-size: clamp(2.9rem, 11vw, 5rem); line-height: 1.02; color: var(--inv-primary); overflow-wrap: anywhere; text-wrap: balance; margin: 0 0 14px; }
.to-hero-date { font-family: var(--inv-font-heading); font-style: italic; font-size: 1.4rem; margin: 0 0 4px; }
.to-hero-place { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--to-soft); margin: 0; }
.toamna .to-subtitle { max-width: 44ch; margin: 16px auto 0; color: var(--to-soft); }
@keyframes to-up { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
.kit-js .to-hero-text > * { animation: to-up 1s ease .9s both; }
.kit-js .to-hero-text > :nth-child(n+3) { animation-delay: 1.2s; }
@media (min-width: 900px) {
    .to-hero { padding-top: 140px; }
    .to-hero-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 90px; text-align: left; align-items: center; }
    .to-hero-text { justify-items: start; order: -1; }
    .toamna .to-subtitle { margin-left: 0; }
    .to-scene { width: min(340px, 30vw); margin-right: 6%; }
}

/* ---------- Sections ---------- */
.to-main { width: min(1080px, 100%); margin: 0 auto; padding: 0 16px; }
.to-section { padding-top: clamp(84px, 11vw, 128px); }
.to-title { margin: 0 auto clamp(26px, 4vw, 42px); text-align: center; }
.to-title h2 { font-size: clamp(2rem, 5.6vw, 2.8rem); color: var(--inv-primary); text-wrap: balance; }
.to-fall { display: block; width: 30px; height: 32px; margin: 0 auto 10px; }
.to-fall i { display: block; width: 100%; height: 100%; clip-path: var(--to-leaf); background: linear-gradient(160deg, #e9a23b, #c9512a 70%); }
.kit-js .to-title .to-fall i { opacity: 0; translate: -26px -40px; rotate: -40deg; }
.kit-js .to-title.is-visible .to-fall i { animation: to-drift 1.8s ease-out .1s both; }
@keyframes to-drift { 0% { opacity: 0; translate: -26px -40px; rotate: -40deg; } 30% { opacity: 1; translate: 18px -24px; rotate: 25deg; } 60% { translate: -12px -8px; rotate: -15deg; } 100% { opacity: 1; translate: 0 0; rotate: 0deg; } }

/* Welcome, from the hedgehog */
.to-welcome { display: grid; gap: 14px; justify-items: center; text-align: center; max-width: 820px; margin: 0 auto; }
.to-welcome p { font-size: 1.05rem; }
.to-hedgehog { width: min(220px, 56vw); }
.kit-js .to-welcome .to-hedgehog img { opacity: 0; translate: -30px 0; transition: opacity .9s ease, translate 1.2s cubic-bezier(.3, 1.2, .5, 1); }
.kit-js .to-welcome.is-visible .to-hedgehog img { opacity: 1; translate: 0 0; }
.toamna .to-welcome-title { font-family: var(--to-hand); font-weight: 600; font-size: clamp(2.8rem, 9vw, 3.8rem); line-height: 1.05; color: var(--inv-primary); margin-bottom: 12px; }
.to-quote-author { font-family: var(--inv-font-heading); font-style: italic; color: var(--inv-primary); }
@media (min-width: 760px) {
    .to-welcome { grid-template-columns: auto minmax(0, 1fr); gap: 50px; text-align: left; align-items: center; }
    .to-hedgehog { width: 250px; }
}

/* The guest of honour (the squirrel sits past the arch, so the section clips what a phone cannot show) */
.to-star { overflow-x: clip; padding-bottom: 30px; }
.to-star-grid { display: grid; gap: 56px; justify-items: center; text-align: center; max-width: 900px; margin: 0 auto; }
.to-portrait { position: relative; width: min(240px, 60vw); }
.to-squirrel { position: absolute; right: -34%; bottom: -10%; width: 60%; z-index: 3; }
.kit-js .to-star-grid .to-squirrel img { opacity: 0; translate: 20px 0; transition: opacity .8s ease .5s, translate 1.1s cubic-bezier(.3, 1.3, .5, 1) .5s; }
.kit-js .to-star-grid.is-visible .to-squirrel img { opacity: 1; translate: 0 0; }
.to-star-name { font-family: var(--inv-font-heading); font-size: 1.9rem; color: var(--inv-primary); margin-bottom: 4px; }
.to-age { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin: 0 0 10px; color: var(--to-soft); }
.to-age strong { font-family: var(--inv-font-heading); font-weight: 400; font-size: 4rem; line-height: 1; color: var(--inv-primary); }
.to-age small { font-family: var(--to-hand); font-size: 1.6rem; }
.to-star-message { font-family: var(--inv-font-heading); font-style: italic; font-size: 1.1rem; max-width: 38ch; margin-left: auto; margin-right: auto; }
@media (min-width: 760px) {
    .to-star-grid { grid-template-columns: auto minmax(0, 1fr); gap: 110px; text-align: left; align-items: center; }
    .to-portrait { width: 250px; }
    .to-age { justify-content: flex-start; }
    .to-star-message { margin-left: 0; }
}

/* The theme on a kraft paper tag, with a reinforced hole for the twine */
.to-tag { position: relative; max-width: 600px; margin: 0 auto; padding: 34px 32px 32px 74px; text-align: left; color: #3b2a1d;
    background:
        radial-gradient(circle at 34px 50%, var(--inv-bg) 0 7px, #b48a57 7.5px 9px, transparent 9.5px),
        repeating-linear-gradient(115deg, rgba(110, 70, 30, .05) 0 2px, transparent 2px 6px),
        var(--to-kraft);
    clip-path: polygon(40px 0, 100% 0, 100% 100%, 40px 100%, 0 calc(100% - 40px), 0 40px);
    filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .18)); }
.to-tag h3 { font-family: var(--to-hand); font-weight: 600; font-size: 2rem; line-height: 1.1; color: #7a3a17; margin-bottom: 8px; }
.to-tag p { font-family: var(--to-hand); font-weight: 500; font-size: 1.35rem; line-height: 1.35; color: #3b2a1d; }
.to-tag p:last-child { margin-bottom: 0; }
.kit-js .to-theme .to-tag { opacity: 0; rotate: -4deg; transform-origin: 34px 50%; transition: opacity .7s ease, rotate 1.4s cubic-bezier(.3, 1.6, .5, 1); }
.kit-js .to-theme.is-visible .to-tag { opacity: 1; rotate: 0deg; }

/* Programme: an autumn treat beside every moment */
.to-trail { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; display: grid; gap: 30px; }
.to-stop { display: grid; justify-items: center; }
.to-stop-art { width: min(150px, 40vw); margin-bottom: -14px; z-index: 2; }
.to-stop-card { width: 100%; display: grid; justify-items: center; gap: 2px; padding: 28px clamp(20px, 5vw, 36px) 22px; text-align: center; }
.kit-js .to-stop .to-stop-card { opacity: 0; translate: 0 26px; transition: opacity .7s ease, translate .9s ease; }
.kit-js .to-stop .to-stop-art img { opacity: 0; rotate: -8deg; transition: opacity .6s ease .3s, rotate .9s cubic-bezier(.3, 1.4, .5, 1) .3s; }
.kit-js .to-stop.is-visible .to-stop-card { opacity: 1; translate: 0 0; }
.kit-js .to-stop.is-visible .to-stop-art img { opacity: 1; rotate: 0deg; }
.to-stop-time { font-family: var(--to-hand); font-weight: 600; font-size: 2rem; line-height: 1; color: var(--inv-primary); margin: 0 0 4px; font-variant-numeric: tabular-nums; }
.to-stop-card h3 { font-size: clamp(1.4rem, 4vw, 1.65rem); margin-bottom: 4px; }
.to-stop-place { font-weight: 700; margin: 0; }
.to-stop-address, .to-stop-notes { color: var(--to-soft); margin: 0; }
.to-stop-notes { font-style: italic; margin-top: 6px; }
.to-stop .kit-event-actions { margin-top: 14px; justify-content: center; }
@media (min-width: 760px) {
    .to-stop { grid-template-columns: 170px minmax(0, 1fr); align-items: center; gap: 0; }
    .to-stop-art { width: 170px; margin: 0 -26px 0 0; }
    .to-stop:nth-child(even) { grid-template-columns: minmax(0, 1fr) 170px; }
    .to-stop:nth-child(even) .to-stop-art { order: 2; margin: 0 0 0 -26px; }
    .to-stop-card { justify-items: start; text-align: left; padding-left: 48px; }
    .to-stop:nth-child(even) .to-stop-card { padding-left: 36px; padding-right: 48px; }
    .to-stop .kit-event-actions { justify-content: flex-start; }
}
.toamna .kit-button { border-radius: 999px; border: 1px solid var(--inv-primary); color: var(--inv-primary); background: transparent; font-size: .78rem; font-weight: 700; padding: 8px 18px; text-decoration: none; }
.toamna .kit-button:hover { background: var(--inv-primary); color: var(--inv-bg); }

/* Countdown: each number on a maple leaf */
.to-countdown { text-align: center; }
.to-countdown .kit-countdown { display: flex; justify-content: center; flex-wrap: wrap; gap: 26px clamp(18px, 5vw, 40px); margin-top: 44px; }
.to-countdown .kit-countdown-unit { --c: #d8682a; position: relative; width: clamp(62px, 16vw, 92px); min-width: 0; aspect-ratio: 1; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: none; isolation: isolate; }
.to-countdown .kit-countdown-unit::before { content: ""; position: absolute; inset: -30% -22% -18%; z-index: -1; clip-path: var(--to-leaf); background: linear-gradient(160deg, color-mix(in srgb, var(--c) 70%, #ffd9a0), var(--c) 60%, color-mix(in srgb, var(--c) 75%, #3a1a0a)); }
.to-countdown .kit-countdown-unit:nth-child(2) { --c: #bf4128; }
.to-countdown .kit-countdown-unit:nth-child(3) { --c: #d99a2b; }
.to-countdown .kit-countdown-unit:nth-child(4) { --c: #9a5b2a; }
.to-countdown .kit-countdown-value { font-family: var(--inv-font-heading); font-size: clamp(1.3rem, 5vw, 1.9rem); line-height: 1; color: #fffaf2; font-variant-numeric: tabular-nums; text-shadow: 0 1px 3px rgba(60, 20, 0, .45); }
.to-countdown .kit-countdown-label { opacity: 1; color: #fff3e2; font-size: .5rem; font-weight: 700; letter-spacing: .1em; margin-top: 2px; text-shadow: 0 1px 2px rgba(60, 20, 0, .5); }
.kit-js .to-countdown .kit-countdown-unit { opacity: 0; translate: 0 -40px; rotate: -30deg; transition: opacity .6s ease, translate 1.2s cubic-bezier(.3, 1.2, .5, 1), rotate 1.2s cubic-bezier(.3, 1.4, .5, 1); }
.kit-js .to-countdown .kit-countdown-unit:nth-child(2) { transition-delay: .15s; }
.kit-js .to-countdown .kit-countdown-unit:nth-child(3) { transition-delay: .3s; }
.kit-js .to-countdown .kit-countdown-unit:nth-child(4) { transition-delay: .45s; }
.kit-js .to-countdown.is-visible .kit-countdown-unit { opacity: 1; translate: 0 0; rotate: 0deg; }

/* Gallery: polaroids, tilted a little this way and that */
.to-gallery-grid.kit-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 30px); }
.to-gallery-grid.kit-gallery a { position: relative; display: block; aspect-ratio: auto; padding: 8px 8px 30px; border-radius: 3px; background: #fffdf8; box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 18px 30px -18px rgba(0, 0, 0, .45); rotate: -2deg; transition: rotate .5s ease, translate .5s ease; }
.to-gallery-grid.kit-gallery a:nth-child(3n+2) { rotate: 1.8deg; }
.to-gallery-grid.kit-gallery a:nth-child(3n) { rotate: -.8deg; }
.to-gallery-grid.kit-gallery a:hover { rotate: 0deg; translate: 0 -4px; }
.to-gallery-grid.kit-gallery img { display: block; width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 1px; }
@media (min-width: 760px) { .to-gallery-grid.kit-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* RSVP, info, contact */
.to-reply { max-width: 700px; margin: 0 auto; padding: clamp(40px, 6vw, 56px) clamp(24px, 6vw, 56px) clamp(32px, 5vw, 48px); }
.toamna .inv-rsvp__intro { font-family: var(--inv-font-heading); font-size: 1.1rem; }
.toamna .inv-rsvp__deadline { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--inv-primary); }
.to-info-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.to-info-item { padding: 30px 24px 20px; text-align: center; }
.to-info-item h3 { font-size: 1.35rem; color: var(--inv-primary); margin-bottom: 8px; }
.to-faq { max-width: 720px; margin: 46px auto 0; text-align: center; display: grid; gap: 12px; }
.to-faq details { text-align: left; }
.to-faq summary { cursor: pointer; list-style: none; padding: 17px 56px 17px 22px; position: relative; font-weight: 700; font-size: 1.02rem; }
.to-faq summary::-webkit-details-marker { display: none; }
.to-faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; clip-path: var(--to-leaf); background: linear-gradient(160deg, #e9a23b, #c9512a 70%); transition: rotate .6s ease; }
.to-faq details[open] summary::after { rotate: 180deg; }
.to-faq summary:focus-visible { outline: 2px solid var(--inv-primary); outline-offset: 2px; border-radius: 18px; }
.to-faq details p { padding: 0 22px; color: var(--to-soft); }
.to-faq details p:last-child { padding-bottom: 16px; }
.to-contact { text-align: center; }
.to-contact-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 60px; }
.to-contact-person a { text-decoration: none; }

/* ---------- Footer: the bench under the maple tree ---------- */
.to-footer { text-align: center; padding: clamp(90px, 13vw, 140px) 16px 40px; overflow: hidden; overflow: clip; }
.to-footer-message { font-family: var(--inv-font-heading); font-style: italic; font-size: 1.2rem; color: var(--to-soft); max-width: 36ch; margin: 0 auto 6px; }
.toamna .to-footer-name { font-family: var(--to-hand); font-weight: 600; font-size: clamp(3.2rem, 11vw, 4.6rem); line-height: 1.05; color: var(--inv-primary); margin: 4px 0 10px; }
.to-hashtag { letter-spacing: .1em; color: var(--inv-primary); }
.to-park { position: relative; width: min(560px, 100%); margin: 30px auto 0; display: grid; grid-template-columns: 1fr 1.9fr 1fr; align-items: end; }
.to-bench { width: 100%; }
.to-walnuts { width: 92%; margin: 0 -18% 4% 0; z-index: 2; justify-self: end; }
.to-lantern { width: 110%; margin: 0 0 0 -24%; z-index: 2; }
.kit-js .to-footer .to-park .to-art img { opacity: 0; translate: 0 30px; transition: opacity .8s ease, translate 1.1s cubic-bezier(.3, 1.3, .5, 1); }
.kit-js .to-footer .to-park .to-bench img { transition-delay: .1s; }
.kit-js .to-footer .to-park .to-lantern img { transition-delay: .35s; }
.kit-js .to-footer .to-park .to-walnuts img { transition-delay: .5s; }
.kit-js .to-footer.is-visible .to-park .to-art img { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
    .kit-js .to-arch--hero, .kit-js .to-badger img, .kit-js .to-book img, .kit-js .to-hero-text > *, .kit-js .to-title.is-visible .to-fall i { animation: none; }
    .kit-js .to-title .to-fall i, .kit-js .to-welcome .to-hedgehog img, .kit-js .to-star-grid .to-squirrel img, .kit-js .to-theme .to-tag, .kit-js .to-stop .to-stop-card,
    .kit-js .to-stop .to-stop-art img, .kit-js .to-countdown .kit-countdown-unit, .kit-js .to-footer .to-park .to-art img { opacity: 1; translate: 0 0; rotate: 0deg; transition: none; }
}
