@font-face {
  font-family: "Golos Text";
  src: url("golos-text.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("playfair-display.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("playfair-display-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #1c2134;
  --night: #151d34;
  --cream: #fff7ec;
  --paper: #fffcf6;
  --red: #df1b16;
  --red-light: #ff4234;
  --red-dark: #a71d27;
  --red-deep: #751b2d;
  --muted: #575160;
  --line: #ded0c7;
  --snow: url("winter-pattern.png");
  --serif: "Playfair Display", Georgia, serif;
  --spark: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  font: 100%/1.55 "Golos Text", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
:focus-visible { outline: 3px solid #e75059; outline-offset: 4px; }
.wrap { width: min(100% - 3rem, 1180px); margin-inline: auto; }
.section { padding-block: clamp(3.6rem, 7.6vw, 7rem); }
.section h2 { margin: 0; font-size: clamp(2.3rem, 5.1vw, 4.55rem); font-weight: 735; letter-spacing: -.014em; line-height: 1.07; }
.section h2 em { font: italic 580 .97em/1 var(--serif); letter-spacing: -.012em; }
.eyebrow { margin: 0; font-size: .875rem; font-weight: 750; letter-spacing: .105em; text-transform: uppercase; }
.ink-accent { color: var(--red-dark); }
.skip, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { z-index: 10; width: auto; height: auto; inset: 8px auto auto 8px; padding: 10px; clip-path: none; background: var(--cream); }

.masthead { background: #fffaf3; color: var(--night); border-bottom: 1px solid #ecd9cb; }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.6rem; gap: 1rem; }
.masthead-toggle { display: none; }
.brand { display: inline-flex; align-items: center; width: max-content; text-decoration: none; }
.brand-logo { display: block; width: 6.55rem; height: auto; }
.masthead-nav {
  min-width: 0; display: flex; align-items: center; justify-content: end;
  flex-wrap: wrap; gap: .1rem clamp(.7rem, 2.2vw, 1.9rem);
}
.masthead-nav a {
  display: inline-flex; align-items: center; gap: .48rem; min-height: 44px;
  color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 650; line-height: 1.12;
}
.masthead-nav a::before, .masthead-toggle::before, .hero-year::before {
  content: ""; flex: 0 0 auto; width: .65rem; aspect-ratio: 1; background: var(--red-light);
  clip-path: var(--spark);
}
.masthead-nav a:hover { color: var(--red-dark); text-decoration: underline; text-underline-offset: .33em; }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: min(700px, 86svh); overflow: hidden; color: var(--cream); background: var(--night); }
.hero-image, .hero-veil, .hero-flurry { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-image { object-fit: cover; object-position: 57% center; z-index: -3; }
.hero-veil {
  z-index: -2;
  background: linear-gradient(90deg, #14182cf7, #151c35e9 24%, #151b334e 60%, #151b3300 85%),
              linear-gradient(0deg, #161a2e8c, #161a2e00 50%);
}
.hero-flurry { z-index: -1; overflow: hidden; }
.hero-flurry::before, .hero-flurry::after {
  content: ""; position: absolute; inset: -35px; background: var(--snow) repeat 36px 24px / 390px;
  mask-image: linear-gradient(115deg, #000 5%, #0007 38%, #0000 100%);
  opacity: .57; animation: drift 4.45s ease-out both;
}
.hero-flurry::after { background-size: 225px; opacity: .28; animation-duration: 4.8s; animation-delay: .12s; }
@keyframes drift { from { transform: translate(-10px,-23px); } to { transform: translate(2px,7px); } }
.hero-body { padding-block: clamp(4.3rem, 8vw, 7.5rem); animation: rise .62s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.hero-year { color: #fbe4da; display: flex; align-items: center; flex-wrap: wrap; gap: .58rem; }
.hero-year span { color: var(--red-light); }
.hero h1 { margin: .26em 0 .33em; font-size: clamp(3.3rem, 7.75vw, 8.2rem); line-height: .98; letter-spacing: -.021em; font-weight: 800; }
.hero h1 em {
  display: inline-block; padding-right: .11em; color: var(--red-light);
  font: italic 620 .91em/1.1 var(--serif); letter-spacing: -.018em;
}
.hero-intro { max-width: 29rem; font-size: clamp(1rem, 1.8vw, 1.24rem); margin: 0 0 1.85rem; color: #fff3e9; }
.hero-actions, .card-actions { display: flex; gap: .65rem; flex-wrap: wrap; }
.action {
  min-height: 47px; display: inline-flex; align-items: center; justify-content: center; text-align: center;
  padding: .69rem 1.15rem; border: 1px solid transparent; border-radius: .55rem; font-weight: 670;
  text-decoration: none; line-height: 1.22; transition: color .18s, background .18s, border-color .18s;
}
.action-fire { background: var(--red); color: #fff; box-shadow: 0 7px 22px #b91e2424; }
.action-fire:hover:not(:disabled) { background: #bf1814; }
.action-ghost { border-color: #ffddce91; color: var(--cream); background: #171b3291; }
.action-ghost:hover { background: #29213a; border-color: #ffe9db; }
.action-dark { background: var(--red-dark); color: white; }
.action-dark:hover:not(:disabled) { background: var(--red-deep); }
.action-outline { background: transparent; color: var(--ink); border-color: #96808a; }
.action-outline:hover:not(:disabled) { background: #fff0e4; border-color: var(--red-deep); color: var(--red-deep); }
#page-body { background: linear-gradient(136deg, #fff8ec 12%, #ffede4 57%, #fff8ec 87%); }
.composer {
  display: grid; grid-template-columns: minmax(0,1.19fr) minmax(0,.81fr);
  column-gap: clamp(2.6rem, 7vw, 7.2rem); row-gap: 1.8rem; align-items: center;
}
.composer h2 { margin-bottom: 1.85rem; }
.composer h2 em { color: var(--red-dark); }
.type-select {
  display: inline-flex; flex-wrap: wrap; gap: .25rem; padding: .25rem;
  border: 1px solid #e5c6bd; border-radius: .66rem; margin: 0 0 1.45rem; min-inline-size: 0;
  background: #fffaf2;
}
.type-select label {
  display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; padding: .48rem .8rem;
  border: 1px solid transparent; border-radius: .44rem; font-size: .9375rem; font-weight: 660;
  color: #683a42; transition: background .18s, border-color .18s;
}
.type-select label:has(:checked) { color: white; background: var(--red); border-color: var(--red); }
.type-select label:focus-within { outline: 3px solid #e75059; outline-offset: 3px; }
.type-select input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.field-label { display: block; margin-bottom: .45rem; font-weight: 680; }
.field-label span { padding-left: .3rem; color: var(--muted); font-size: .875rem; font-weight: 420; }
.textarea-field { position: relative; margin-bottom: 1.15rem; }
textarea, .composer input:not([type]) {
  padding: .84rem .95rem; border: 1px solid #af9da4; border-radius: .55rem;
  width: 100%; min-width: 0; background: var(--paper); color: var(--ink);
}
textarea { min-height: 8rem; display: block; resize: vertical; padding-bottom: 1.8rem; line-height: 1.42; }
#char-count {
  position: absolute; right: .77rem; bottom: .39rem; color: var(--muted);
  font-size: .8125rem; font-variant-numeric: tabular-nums; padding-inline: .24rem; background: var(--paper);
}
.consent { display: flex; gap: .65rem; align-items: start; font-size: .9375rem; line-height: 1.45; color: var(--muted); margin: .95rem 0; cursor: pointer; }
.consent input { accent-color: var(--red-dark); flex: 0 0 1.15rem; min-height: 1.15rem; margin-top: .16rem; }
.status-text { color: var(--muted); min-height: 1.5rem; font-size: .875rem; margin-block: .6rem 0; }
.status-text[data-error="true"] { color: #922232; }
.card-area {
  --postcard-width: 337px;
  min-width: 0; display: grid; justify-items: center; gap: 1.15rem; padding: .55rem 0;
  background: radial-gradient(ellipse at center, #d7dfe4a8, transparent 68%);
}
.card-area[data-kind="wish"] { background: radial-gradient(ellipse at center, #ed9a8b61, transparent 69%); }
.story-card {
  display: block; width: min(100%, var(--postcard-width, 337px)); height: auto; aspect-ratio: 9 / 16;
  border-radius: .56rem; background: #f9ead7;
  box-shadow: 0 22px 52px #3a223f33, 0 0 0 1px #5b294227;
}
.composer-tools { width: min(100%, var(--postcard-width)); }
.card-actions { position: relative; gap: .55rem; flex-wrap: nowrap; }
.card-actions > .action { min-height: 2.85rem; padding-inline: .62rem; font-size: .9rem; }
#share-card { flex: 1; }
.card-actions > .action-more {
  flex: 0 0 2.85rem; padding: 0; border-radius: 50%; border-color: #e9d8cd;
  color: #86555b; background: #fffaf3;
}
.action-more::before {
  content: ""; width: 3.5px; height: 3.5px; border-radius: 50%; background: currentColor;
  box-shadow: -6px 0 currentColor, 6px 0 currentColor;
}
.card-actions > .action-more:hover, .card-actions > .action-more[aria-expanded="true"] {
  color: var(--red-deep); background: #f9e8dd;
}
.action-more:focus-visible { outline: 2px solid var(--red-dark); outline-offset: 2px; }
.composer-tools .status-text { min-height: 0; }
.composer-tools .status-text:empty { margin: 0; }
#story-link-fallback {
  display: block; width: 100%; padding: .7rem .75rem; margin-top: .65rem;
  color: var(--ink); background: #fff9ef; border: 1px solid var(--line); border-radius: .55rem;
}
.card-options {
  position: absolute; z-index: 3; inset-inline-end: 0; top: calc(100% + .4rem);
  width: min(100%, 16.75rem); max-height: var(--card-options-space, 20rem); overflow: auto;
  padding: .38rem; border: 1px solid #e6ccbd; border-radius: .88rem;
  background: var(--paper); box-shadow: 0 12px 30px #3420362c;
}
.card-options[data-placement="above"] { top: auto; bottom: calc(100% + .4rem); }
.card-options :focus-visible { outline: 2px solid #ae252e; outline-offset: -2px; }
.card-option {
  display: flex; align-items: center; gap: .55rem; width: 100%; min-height: 44px;
  padding: .36rem .45rem; border: 0; border-radius: .56rem; cursor: pointer;
  color: var(--night); background: transparent; text-align: left; font-size: .88rem; font-weight: 630;
}
.card-option-icon {
  flex: none; display: grid; place-items: center; width: 1.65rem; height: 1.65rem;
  color: var(--red-deep); background: #f8e9df; border-radius: .42rem; font-size: 1.05rem; line-height: 1;
}
.card-option:hover:not(:disabled) { background: #fcf0e7; }
.card-feed-option { margin-top: .18rem; padding-top: .18rem; border-top: 1px solid #efded3; }
.card-feed-option summary { list-style: none; }
.card-feed-option summary::-webkit-details-marker { display: none; }
.card-feed-option summary::after {
  content: ""; flex: none; width: .36rem; height: .36rem; margin-inline: auto .35rem;
  border: solid var(--red-dark); border-width: 0 1.5px 1.5px 0; transform: translateY(-.1rem) rotate(45deg);
}
.card-feed-option[open] summary::after { transform: translateY(.1rem) rotate(225deg); }
.card-feed-consent { margin: .12rem .45rem .28rem; }
.card-feed-consent .consent { align-items: center; min-height: 44px; margin: .2rem 0 .45rem; font-size: .8rem; }
.card-feed-consent .consent input { margin-top: 0; }
.card-feed-consent .action { min-height: 44px; width: 100%; font-size: .83rem; }
.card-options .status-text { padding-inline: .45rem; font-size: .8rem; }
.card-feed-consent .status-text { padding-inline: 0; }
.story-share-dialog {
  width: min(100% - 2rem, 31rem); border: 1px solid var(--line); border-radius: 1rem;
  padding: 1.45rem; color: var(--night); background: var(--paper); box-shadow: 0 18px 65px #151d343a;
}
.story-share-dialog::backdrop { background: #151d3469; }
.story-share-dialog h2 { margin: 0 2rem .8rem 0; font-size: clamp(1.3rem, 4vw, 1.7rem); line-height: 1.22; }
.story-share-close {
  position: absolute; top: .65rem; right: .65rem; border: 0; background: none; color: inherit;
  width: 2.5rem; height: 2.5rem; font-size: 1.7rem; line-height: 1;
}
.story-share-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; }
.story-share-options .action { width: 100%; padding-inline: .3rem; }
.story-share-options [aria-disabled="true"] { opacity: .55; }
.story-share-native { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.story-share-label { margin: 1rem 0 .45rem; font-size: .88rem; font-weight: 650; }
.story-share-dialog .status-text { min-height: 0; }
.story-share-dialog .status-text:empty { margin: 0; }
.story-share-extra { display: flex; flex-wrap: wrap; gap: .75rem; font-size: .9rem; font-weight: 650; }
.story-share-extra:not(:has(:not([hidden]))) { display: none; }
.story-share-extra a, .story-share-text-button {
  margin-top: .82rem; padding: 0; border: 0; color: var(--red-dark); background: none; text-decoration: underline;
  text-underline-offset: .2em;
}
.shared-story-page { min-height: 100svh; background: radial-gradient(ellipse at top, #fff9ed, #f2dfd0); }
.shared-story-home { font-size: .92rem; font-weight: 680; text-align: right; text-decoration: none; }
.shared-story-home:hover { text-decoration: underline; text-underline-offset: .25em; }
.shared-story { display: grid; justify-items: center; gap: 1.28rem; padding-block: clamp(1.2rem, 3vw, 2.35rem) 2.6rem; }
.shared-story-media { width: min(100%, 373px); }
.shared-story-media .story-card { width: 100%; }
.year-review-mini:not(.year-review-mini-full) :is(.skip, .hero, .feed, .footer, #hero-partner, #editions) { display: none; }
.year-review-mini:not(.year-review-mini-full):not(.has-map-return) .masthead { display: none; }
.has-map-return .masthead { position: sticky; top: 0; z-index: 4; }
.has-map-return .masthead-inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
  gap: .45rem; min-height: 3.55rem; width: min(100% - 1.5rem, 705px);
}
.has-map-return .brand { grid-column: 2; grid-row: 1; }
.has-map-return .brand-logo { width: 4.65rem; }
.mini-map-return, .has-map-return .masthead-toggle {
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 44px; padding: .3rem .66rem; border: 0; border-radius: 2rem;
  background: #f6e8df; color: var(--red-deep); font-size: .82rem; font-weight: 650; white-space: nowrap;
}
.mini-map-return { grid-column: 1; grid-row: 1; justify-self: start; }
.mini-map-return::before {
  content: ""; width: .43rem; height: .43rem; border: solid currentColor; border-width: 0 0 1.5px 1.5px;
  transform: rotate(45deg);
}
.has-map-return .masthead-toggle { grid-column: 3; grid-row: 1; justify-self: end; background: transparent; }
.has-map-return .masthead-toggle::before { display: none; }
.has-map-return .masthead-toggle::after {
  content: ""; width: .43rem; height: .43rem; border-right: 1.5px solid; border-bottom: 1.5px solid;
  transform: translateY(-.1rem) rotate(45deg);
}
.has-map-return .masthead-toggle[aria-expanded="true"]::after { transform: translateY(.08rem) rotate(225deg); }
.has-map-return #section-nav {
  position: absolute; z-index: 1; top: calc(100% + .35rem); inset-inline-end: 0; inset-inline-start: auto;
  display: none; grid-template-columns: minmax(0, 1fr); gap: 0; min-width: min(13.5rem, 100%);
  padding: .32rem .78rem; background: #fffaf3; border: 1px solid #e4c9ba; border-radius: .78rem;
  box-shadow: 0 .75rem 1.65rem #2b15282e;
}
.has-map-return .masthead-toggle[aria-expanded="true"] + #section-nav { display: grid; }
.has-map-return #section-nav a:not(:last-child) { border-bottom: 1px solid #ecd9cb; }
.has-map-return .shared-story-home { display: none; }
.has-map-return :is(#write, #feed, .edition) { scroll-margin-top: 4rem; }
.year-review-mini-full .hero { min-height: min(33rem, 76svh); }
.year-review-mini .composer { padding-block: 1.25rem; gap: 1rem; }
.year-review-mini .composer h2 { font-size: clamp(1.7rem, 8vw, 2.75rem); }
.year-review-mini .card-area { --postcard-width: 280px; padding-block: .45rem; }
.year-review-mini .shared-story-media { width: min(100%, 230px); }
.year-review-mini .shared-story { gap: .7rem; padding-block: 1.25rem; }
.story-looks { min-width: 0; margin: 1.15rem 0 .45rem; padding: 0; border: 0; }
.story-looks legend { margin-bottom: .6rem; padding: 0; font-size: .96rem; font-weight: 720; }
.story-designs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.story-design {
  position: relative; display: grid; align-content: start; gap: .16rem; padding: .3rem .3rem .48rem;
  min-width: 0; cursor: pointer; border: 1px solid #d6b7aa; border-radius: .65rem; background: #fffaf0;
}
.story-design img { display: block; width: 100%; aspect-ratio: 20/11; height: auto; object-fit: cover; border-radius: .4rem; }
.story-design :is(strong, span) { padding-inline: .24rem; overflow-wrap: anywhere; }
.story-design strong { margin-top: .18rem; font-size: .79rem; line-height: 1.2; }
.story-design span { color: var(--muted); font-size: .72rem; line-height: 1.2; }
.story-design:has(:checked) { border-color: var(--red-dark); box-shadow: inset 0 0 0 1px var(--red-dark); }
.story-design:has(:checked)::after {
  content: "✓"; position: absolute; inset: .56rem .56rem auto auto; width: 1.25rem; height: 1.25rem;
  display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--red-dark);
  font-size: .78rem; font-weight: 800;
}
.story-design:has(:focus-visible), #story-photo:focus-visible + .photo-control { outline: 2px solid var(--red-dark); outline-offset: 3px; }
.story-photo-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .28rem .7rem; margin-top: .7rem; }
.photo-control, .photo-remove {
  display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: .4rem .8rem;
  font-size: .84rem; font-weight: 680; color: var(--red-dark); border: 1px solid #ceaca2;
  border-radius: 3rem; background: #fff9ee; cursor: pointer;
}
.photo-remove { padding-inline: .3rem; border: 0; background: transparent; text-decoration: underline; }
#story-photo:disabled + .photo-control { opacity: .58; cursor: default; }
#story-photo-status { min-height: 0; margin-block: .35rem 0; }
#story-photo-status:empty { margin: 0; }
.photo-strength { margin: .55rem 0 0; padding: 0; border: 0; min-inline-size: 0; }
.photo-strength legend { margin-bottom: .28rem; font-size: .78rem; color: var(--muted); font-weight: 640; }
.photo-strength-options { display: flex; flex-wrap: wrap; gap: .28rem; }
.photo-strength label {
  display: inline-flex; align-items: center; min-height: 36px; padding: .3rem .68rem; border-radius: 2rem;
  border: 1px solid #e3c9bb; background: #fffaf3; color: var(--red-deep); font-size: .8rem; cursor: pointer;
}
.photo-strength label:has(:checked) { background: #f1ddd5; border-color: #b97578; font-weight: 690; }
.photo-strength label:has(:focus-visible) { outline: 2px solid var(--red-dark); outline-offset: 2px; }
.feed {
  position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(ellipse at 98% 12%, #fff4df 0%, #f5e5d1 55%, #edd9c7 100%);
}
.feed::before {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: var(--snow) repeat 70px 10px / 300px; opacity: .75;
}
.feed-head { display: flex; justify-content: space-between; align-items: end; gap: 1.1rem 2rem; flex-wrap: wrap; margin-bottom: 2.05rem; }
.feed h2 em { color: var(--red-dark); }
.feed-intro { margin: .9rem 0 0; color: var(--muted); }
.feed-filters { display: flex; flex-wrap: wrap; gap: .46rem; }
.feed-filters button {
  min-height: 44px; border-radius: 2rem; border: 1px solid #aa7d78;
  padding: .45rem .9rem; color: var(--red-deep); background: #fff7eb; font-size: .93rem; font-weight: 650;
}
.feed-filters button[aria-pressed="true"] { color: #fff4e8; background: var(--red-deep); border-color: var(--red-deep); }
.feed-filters button:hover:not([aria-pressed="true"]) { background: #ffe8d8; }
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(.75rem, 2.2vw, 1.35rem); }
.feed .quote { animation: rise .42s ease-out both; }
.feed .quote:nth-child(3n+2) { animation-delay: 60ms; }
.feed .quote:nth-child(3n+3) { animation-delay: 115ms; }
.quote {
  position: relative; isolation: isolate; display: flex; min-width: 0; min-height: 15rem; flex-direction: column;
  padding: clamp(1.25rem, 2.75vw, 2.1rem); padding-bottom: clamp(1.65rem, 3.3vw, 2.55rem);
}
.quote[data-kind="win"] {
  background: linear-gradient(140deg, #fffdf5 10%, #f7f0e9 100%); color: #222c45;
  border: 1px solid #d6beb5; border-bottom: 0; border-radius: .37rem .37rem 0 0;
  clip-path: polygon(0 0, 100% 0, 100% 97%, 96% 98.5%, 90% 97.3%, 84% 99.2%, 76% 97.8%,
    69% 99%, 63% 97%, 56% 99.5%, 50% 98.3%, 45% 100%, 39% 98%, 31% 99%, 24% 97.6%, 17% 99.5%, 11% 98%, 4% 99.5%, 0 98%);
}
.quote[data-kind="win"]::before {
  content: "«"; position: absolute; z-index: -1; right: .18em; top: -.26em; pointer-events: none;
  content: "«" / "";
  color: #ccd4e464; font: 650 clamp(6rem, 13vw, 10rem)/1 var(--serif);
}
.quote[data-kind="wish"] {
  border-radius: .42rem; color: #fff6e8;
  background: radial-gradient(ellipse at 96% 4%, #a4383e, #872334 55%, #6b1a30 100%);
  box-shadow: 0 9px 18px #6d293126;
}
.quote[data-kind="wish"]::before, .quote[data-kind="wish"]::after {
  content: ""; position: absolute; pointer-events: none; z-index: -1;
}
.quote[data-kind="wish"]::before {
  inset: .44rem; border: 1px dashed #ffd2b28f; border-radius: .26rem;
  background: var(--snow) 0 0 / 225px;
}
.quote[data-kind="wish"]::after {
  width: 2.2rem; aspect-ratio: 1; top: .96rem; right: 1rem;
  background: #ffc49d; clip-path: var(--spark);
}
.quote-kind {
  margin: 0 2rem 0 0; width: fit-content; padding: .2rem .5rem;
  border: 1px solid #aebacd; border-radius: .24rem;
  color: #33476c; font-size: .75rem; letter-spacing: .045em; font-weight: 750;
}
.quote[data-kind="wish"] .quote-kind {
  padding-left: 0; border-color: transparent; color: #ffddc3;
}
.quote blockquote {
  margin: .95rem 0 1.15rem;
  font: 560 clamp(1.18rem, 2.1vw, 1.65rem)/1.32 var(--serif);
  overflow-wrap: anywhere; white-space: pre-wrap;
}
.quote[data-kind="wish"] blockquote { font-style: italic; font-weight: 560; }
.quote-author {
  display: flex; align-items: baseline; gap: .55rem; margin: auto 0 0;
  font-size: .98rem; line-height: 1.35; font-weight: 730; color: #33476c; overflow-wrap: anywhere;
}
.quote-author::before {
  content: ""; flex: 0 0 .64rem; height: .64rem; background: #ad3440; clip-path: var(--spark);
}
.quote[data-kind="wish"] .quote-author { color: #ffe2c8; }
.quote[data-kind="wish"] .quote-author::before { background: #ffd2a6; }
.feed-status { margin: 0; color: var(--muted); }
.feed-status a { color: var(--red-deep); text-underline-offset: .25em; }
.action-feed { margin-top: 1.25rem; background: #fffaf2; color: var(--red-deep); border-color: #b68b84; }
.action-feed:hover { background: #ffe1ce; }

.edition { border-bottom: 1px solid var(--line); }
.edition:last-child { border-bottom: 0; }
.edition h2 { max-width: 24ch; }
.edition-intro { max-width: 62ch; margin: 1.1rem 0 1.75rem; color: var(--muted); }
.edition-heading .edition-intro { margin-bottom: 0; }
#voting .edition-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: end; gap: .65rem 1.7rem; }
#voting .edition-heading h2 {
  font: 640 clamp(2.5rem, 5.7vw, 4.65rem)/1.08 var(--serif);
  letter-spacing: -.018em;
}
#voting .edition-heading .edition-intro { margin: 0 0 .18rem; }
.polls { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); margin-top: 1.75rem; gap: 1.15rem; }
.poll {
  --platform: #1f5878; --platform-soft: #eaf1f5;
  position: relative; isolation: isolate; display: flex; min-width: 0; flex-direction: column; align-items: stretch;
  overflow: hidden; padding: clamp(1.12rem, 3.05vw, 2.25rem); background: #fffcf7;
  border: 1px solid #ded1c5; border-radius: 1rem;
}
.poll[data-platform="vk"] { --platform: #33478d; --platform-soft: #ebedf7; }
#voting .poll[data-status="results"] { background: linear-gradient(143deg, #fffdf8 22%, var(--platform-soft)); border-color: #c9d8e1; }
#voting .poll[data-status="open"] {
  color: #fff3e7; background: radial-gradient(ellipse at 100% 100%, #993d51 0%, #542239 50%, #262743 91%);
  min-height: 20rem; border-color: transparent;
}
#voting .poll[data-status="open"]::after {
  content: ""; position: absolute; z-index: -1; right: .8rem; bottom: -1.25rem;
  width: min(12.4rem, 44%); aspect-ratio: 1.35; transform: rotate(-14deg);
  border: 1px solid #ffdabc91; border-radius: .42rem; box-shadow: .65rem .6rem 0 #ffbc9e24, 1.25rem 1.15rem 0 #ffc1a415;
  background:
    radial-gradient(circle, #ffd8ae 56%, transparent 61%) 14% 28% / .8rem .8rem no-repeat,
    radial-gradient(circle, #ffd8ae80 53%, transparent 60%) 14% 53% / .8rem .8rem no-repeat,
    radial-gradient(circle, #ffd8ae80 53%, transparent 60%) 14% 78% / .8rem .8rem no-repeat,
    linear-gradient(#ffd8ae70 0 0) 70% 28% / 58% .15rem no-repeat,
    linear-gradient(#ffd8ae55 0 0) 70% 53% / 58% .15rem no-repeat,
    linear-gradient(#ffd8ae55 0 0) 70% 78% / 58% .15rem no-repeat,
    #ffe3cd22;
}
#voting .poll[data-status="open"] .poll-state { color: #ffe2ce; }
#districts .poll { background: linear-gradient(180deg, var(--platform-soft), #fffaf3 13rem); }
#districts .poll-list { gap: .28rem; }
#districts .poll-result {
  display: grid; grid-template-columns: 1.65rem minmax(0, 1fr); align-items: center; gap: .58rem;
  padding: .46rem .52rem; border-bottom: 1px solid #d7cbb868;
}
#districts .poll-leader { border: 1px solid #d94b432d; border-radius: .52rem; background: #ffecdf; }
.poll-rank {
  display: grid; place-items: center; width: 1.62rem; aspect-ratio: 1;
  background: var(--platform-soft); color: var(--platform); border-radius: .38rem; font-size: .83rem; font-weight: 740;
}
.poll-leader .poll-rank { background: var(--red-dark); color: #fff5eb; }
.poll-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .55rem; }
.poll-platform, .poll-state { margin: 0; font-size: .83rem; font-weight: 690; }
.poll-platform {
  display: inline-flex; align-items: center; gap: .4rem; padding: .26rem .65rem;
  background: var(--platform-soft); color: var(--platform); border-radius: 2rem;
}
.poll-platform::before { content: ""; width: .46rem; aspect-ratio: 1; border-radius: 50%; background: currentColor; }
.poll-state { color: var(--muted); }
.poll h3 { margin: 1.05rem 0 .68rem; font: 650 clamp(1.47rem, 2.65vw, 2.17rem)/1.17 var(--serif); letter-spacing: -.01em; overflow-wrap: anywhere; }
.poll-meta {
  display: flex; justify-content: space-between; align-items: baseline; gap: .8rem;
  margin: .08rem 0 1rem; padding-bottom: .55rem; border-bottom: 1px solid #8c9eb35a;
  color: var(--muted); font-size: .86rem;
}
.poll-tally { margin: 0; }
.poll-tally strong { color: var(--platform); font: 700 clamp(1.27rem, 2.55vw, 1.88rem)/1 var(--serif); }
.poll-meta time { flex: 0 0 auto; }
.poll-list { display: grid; gap: .78rem; margin: 0 0 1.22rem; padding: 0; list-style: none; }
.poll-values, .poll-numbers { display: flex; align-items: baseline; justify-content: space-between; gap: .65rem; }
.poll-values { margin-bottom: .25rem; }
.poll-option { min-width: 0; overflow-wrap: anywhere; }
.poll-numbers { flex: 0 0 auto; gap: .7rem; font-variant-numeric: tabular-nums; }
.poll-votes { color: var(--muted); font-size: .86rem; }
.poll-share { min-width: 3em; color: var(--platform); text-align: end; }
.poll-meter {
  --meter-size: .57rem;
  display: block; width: 100%; height: var(--meter-size); border: 0; appearance: none; accent-color: var(--platform);
}
#districts .poll-meter { --meter-size: .31rem; }
.poll-meter::-webkit-meter-bar { height: var(--meter-size); border: 0; border-radius: 1rem; background: #a6b6cc47; }
.poll-meter::-webkit-meter-optimum-value { border-radius: 1rem; background: var(--platform); }
.poll-meter::-moz-meter-bar { border-radius: 1rem; background: var(--platform); }
.poll-leader .poll-option { color: var(--red-dark); font-weight: 720; }
.poll-leader .poll-meter::-webkit-meter-optimum-value { background: var(--red); }
.poll-leader .poll-meter::-moz-meter-bar { background: var(--red); }
.poll-action {
  align-self: start; margin-top: auto; gap: .65rem; border-radius: 2rem; border-color: #8898ae;
  background: #fffd; color: #23374e;
}
.poll-action::after { content: "↗" / ""; font-size: .95em; }
.poll-action:hover { background: #fff6ed; color: var(--red-deep); border-color: var(--red-deep); }
.poll[data-status="open"] .poll-action { margin-top: auto; color: #63213a; background: #ffdfbc; border-color: transparent; }
.poll[data-status="open"] .poll-action:hover { background: #fff1db; }

.quiz-body {
  position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  --quiz-option: #263554; --quiz-hover: #3a4d6e;
  gap: 1.35rem clamp(1.35rem, 4vw, 3.4rem); align-items: start; overflow: hidden;
  padding: clamp(1.4rem, 4.3vw, 3.3rem); margin-top: 1.8rem; border-radius: 1rem; scroll-margin-top: 1rem;
  color: #fff8ef; background: radial-gradient(ellipse at 3% 100%, #3c314b 0%, #1c2948 55%, #151d34 100%);
}
.quiz-body[data-question="numbers"] {
  --quiz-option: #672c46; --quiz-hover: #893b54;
  background: radial-gradient(ellipse at 84% 0, #7e2739, #4b2036 58%, #302234 100%);
}
.quiz-body::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .38;
  background: var(--snow) -40px 30px / 330px; mask-image: linear-gradient(105deg, #000, #0000 73%);
}
.quiz-track { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; }
.quiz-counter { flex: 0 0 auto; margin: 0; color: #ffe7db; font-size: .9rem; font-weight: 650; }
.quiz-progress { display: flex; gap: .24rem; width: min(100%, 16rem); }
.quiz-progress span { flex: 1; min-width: 0; height: .38rem; border-radius: 1rem; background: #ffffff42; }
.quiz-progress [data-state="current"] { background: #fff2e5; }
.quiz-progress [data-state="right"] { background: #9bd2ab; }
.quiz-progress [data-state="wrong"] { background: #ff987f; }
.quiz-body h3 { margin: 0; font: 640 clamp(1.6rem, 3.45vw, 2.75rem)/1.16 var(--serif); letter-spacing: -.008em; overflow-wrap: anywhere; }
.quiz-image { display: block; width: 100%; aspect-ratio: 5 / 3; object-fit: cover; object-position: 64% 63%; margin-top: 1.15rem; border-radius: .43rem; }
.quiz-options { list-style: none; display: grid; gap: .53rem; padding: 0; margin: 0; }
.quiz-numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .72rem; }
.quiz-option {
  display: flex; align-items: center; gap: .68rem; min-height: 3rem; width: 100%;
  padding: .59rem .8rem; border: 1px solid #72819b; border-radius: .42rem;
  color: #fff9f2; background: var(--quiz-option); text-align: start; font-weight: 620;
}
.quiz-option::before { content: ""; width: .78rem; height: .78rem; flex: 0 0 .78rem; border: 1px solid currentColor; border-radius: 100%; }
.quiz-numbers .quiz-option { justify-content: center; min-height: 4.3rem; font-size: 1.32rem; font-variant-numeric: tabular-nums; border-color: #b27d8a; }
.quiz-numbers .quiz-option::before { display: none; }
.quiz-option:hover:not(:disabled):not([aria-disabled="true"]) { background: var(--quiz-hover); border-color: #fff3e9; }
.quiz-option[aria-disabled="true"] { cursor: default; }
.quiz-option[data-result="right"] { background: #e1efe5; color: #174032; border-color: #537f66; opacity: 1; }
.quiz-option[data-result="wrong"] { background: #ffe1d8; color: #762820; border-color: #9d3526; opacity: 1; }
.quiz-option[data-result]::before { background: currentColor; box-shadow: inset 0 0 0 2px #ffffffad; }
.quiz-feedback { overflow-anchor: none; }
.quiz-feedback:not(:empty) { margin-top: .9rem; }
.quiz-explanation { padding: .75rem .95rem; border-left: 3px solid #a8d0b1; background: #e9f1eb; color: #173b33; border-radius: .22rem .54rem .54rem .22rem; }
.quiz-explanation[data-result="wrong"] { background: #fff1ea; color: #652920; border-color: #ef866e; }
.quiz-explanation p { margin-block: .35rem; }
.quiz-feedback .action { margin-top: .8rem; }
.quiz-body[data-state="done"] {
  grid-template-columns: minmax(0, max-content) minmax(0, 1fr); align-items: center;
  background: radial-gradient(ellipse at 5% 72%, #82354b, #4c263d 38%, #202944 83%);
}
.quiz-result {
  display: grid; place-content: center; text-align: center; min-width: clamp(9rem, 17vw, 13rem);
  padding: 1.05rem; color: #fff4e7; border: 1px solid #ffc8aa85; border-radius: .85rem; background: #64273f60;
}
.quiz-result strong { font: 670 clamp(2.1rem, 4.75vw, 4.15rem)/1.09 var(--serif); font-variant-numeric: lining-nums; }
.quiz-result span { font-size: .88rem; margin-top: .32rem; color: #ffddcf; }
.quiz-summary p { max-width: 56ch; margin: .65rem 0 1.25rem; color: #fff3e7; }

.timeline { margin-top: 1.75rem; }
.timeline-media { overflow: hidden; border-radius: .85rem; height: clamp(200px, 35vw, 450px); background: var(--night); }
.timeline-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.timeline-frame {
  --chronicle-height: clamp(21rem, 36vw, 28.5rem);
  position: relative; display: grid; overflow: hidden;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-rows: minmax(var(--chronicle-height), auto);
  border: 1px solid #d8c8bc; border-radius: .9rem; background: #fffcf4; box-shadow: 0 .65rem 2rem #4a34271a;
}
.timeline-frame .timeline-media { position: relative; grid-area: 1 / 1; height: auto; border-radius: 0; }
.timeline-frame:not(.has-month) .timeline-media { position: absolute; grid-area: auto; inset: 0; }
.timeline-frame .timeline-image { position: absolute; inset: 0; object-position: center; }
.month-details { display: grid; grid-area: 1 / 2; grid-template-columns: minmax(0, 1fr); }
.month-nav { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: .37rem; margin: 0 0 .85rem; }
[data-season="winter"] { --season-paper: #e6edf7; --season: #293f69; }
[data-season="spring"] { --season-paper: #e6f0e4; --season: #28523c; }
[data-season="summer"] { --season-paper: #ffefca; --season: #69430e; }
[data-season="autumn"] { --season-paper: #ffe4d8; --season: #80351c; }
.month-nav button {
  min-width: 0; min-height: 2.8rem; padding: .42rem .14rem; border: 1px solid transparent; border-radius: .52rem;
  color: var(--season); background: var(--season-paper); font-size: clamp(.78rem, 1.15vw, .96rem); font-weight: 700;
}
.month-nav button:hover { border-color: var(--season); }
.month-nav button[aria-pressed="true"] { color: white; background: var(--season); }
.month-detail {
  grid-area: 1 / 1; visibility: hidden; display: flex; min-width: 0;
  flex-direction: column; align-items: start; justify-content: center;
  padding: clamp(1.35rem, 4vw, 3.25rem);
  background: #fffaf2 linear-gradient(144deg, var(--season-paper), #fffaf2 70%);
}
.month-detail.is-current { visibility: visible; }
.month-label {
  margin: 0 0 1rem; padding: .24rem .64rem; color: var(--season); background: #fff9f0c7;
  border: 1px solid var(--season); border-radius: 2rem; font-size: .8rem; font-weight: 720;
}
.month-detail h3 { margin: 0; font: 650 clamp(1.5rem, 2.8vw, 2.65rem)/1.14 var(--serif); letter-spacing: -.01em; overflow-wrap: anywhere; }
.month-context { max-width: 47ch; color: var(--muted); margin: .8rem 0 0; overflow-wrap: anywhere; }
.month-link {
  display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; margin-top: 1.1rem;
  color: var(--season); font-weight: 730; text-decoration: none;
}
.month-link::after {
  content: "→" / ""; display: grid; place-items: center; width: 1.9rem; aspect-ratio: 1;
  background: var(--season); color: #fff; border-radius: 50%; transition: transform .17s ease-out;
}
.month-link:hover { text-decoration: underline; text-underline-offset: .2em; }
.month-link:hover::after { transform: translateX(.18rem); }
.featured { margin-top: clamp(2.4rem, 6vw, 5rem); padding-top: 1.7rem; border-top: 1px solid #d8b9b2; }
.featured h3 { margin: 0 0 1.2rem; font: 650 clamp(1.6rem, 4.1vw, 2.7rem)/1.17 var(--serif); letter-spacing: -.007em; }
.featured .quote-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr)); }

.partner {
  display: flex; align-items: center; position: relative; isolation: isolate; overflow: hidden; min-height: 11rem;
  margin: 1.15rem 0 0; padding: clamp(1.1rem, 3.6vw, 2rem); color: #fff7ef;
  border-radius: .78rem; background: radial-gradient(ellipse at 95% 60%, #9e252d 0%, #5b1b30 38%, #201d38 80%);
}
.partner-copy { z-index: 1; display: grid; justify-items: start; gap: .38rem; max-width: min(100%, 39rem); }
.partner-kicker { margin: 0; color: #ffd6c7; font-size: .78rem; font-weight: 700; }
.partner-name { font: italic 650 clamp(1.5rem, 4vw, 2.8rem)/1.05 var(--serif); overflow-wrap: anywhere; }
.partner-project { margin: .15rem 0; font-size: .95rem; }
.partner-action { min-height: 2.75rem; color: #250f22; background: #fff3e8; }
.partner-erid { font-size: .72rem; color: #ffe2d7; overflow-wrap: anywhere; }
.partner-art {
  position: absolute; inset: 0 0 0 41%; pointer-events: none; opacity: .9;
  background:
    radial-gradient(ellipse at 65% 68%, transparent 23%, #ff917a65 23.5%, transparent 24.1%, transparent 36%, #ff917a73 36.5%, transparent 37.2%, transparent 52%, #ff917a55 52.7%, transparent 53.1%),
    var(--snow) 50% 50% / 250px;
  mask-image: linear-gradient(90deg, #0000, #000 38%);
}
.partner-art::after {
  content: ""; position: absolute; top: 15%; left: 58%; width: min(7vw, 4.8rem); aspect-ratio: 1;
  background: #ffc2a9; rotate: 14deg;
  clip-path: polygon(50% 0, 61% 40%, 100% 50%, 61% 60%, 50% 100%, 39% 60%, 0 50%, 39% 40%);
}

.footer { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--cream); }
.footer::before {
  content: ""; position: absolute; pointer-events: none; inset: 0; z-index: -1; opacity: .36;
  background: var(--snow) repeat 0 20px / 360px;
  mask-image: linear-gradient(107deg, #0000 44%, #000 100%);
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.25rem 2.5rem;
  padding-block: clamp(2.7rem, 5vw, 4.55rem) 2.45rem;
}
.footer-brand .brand-logo { width: 6rem; }
.footer-brand .brand-logo { filter: drop-shadow(0 0 .45rem #fff1e44c); }
.footer-brand p { color: #ffe9dc; font-size: .95rem; margin: .85rem 0 0; }
.footer-nav h2 { font-size: 1rem; margin: 0 0 .58rem; font-weight: 750; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; font-size: .925rem; }
.footer-nav li + li { margin-top: .32rem; }
.footer a:not(.brand) { color: #ffe4d8; text-decoration-color: #ffad9c8c; text-underline-offset: .22em; }
.footer a:not(.brand):hover { color: #ffb09c; }
.footer-meta {
  display: grid; grid-template-columns: 1fr max-content auto; align-items: start; gap: 1.1rem 1.8rem;
  border-top: 1px solid #f8d8cc43; padding-block: 1.45rem 2.2rem; color: #e8dad9; font-size: .875rem;
}
.footer-meta p { margin: 0 0 .26rem; }
.footer-publication { color: var(--cream); font-weight: 690; }
.footer-contacts { display: grid; gap: .15rem; }
.footer-age { border: 1px solid #ffcfbf7c; color: #fff0e7; border-radius: .4rem; padding: .2rem .45rem; font-weight: 700; }

@media (max-width: 1020px) {
  .month-nav { grid-template-columns: repeat(6, minmax(0,1fr)); gap: .45rem; }
}
@media (max-width: 900px) {
  .footer-top { gap: 1.5rem; }
  .feed .quote-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 2.25rem, 1180px); }
  .hero { min-height: 570px; }
  .hero-image { object-position: 69% center; }
  .hero-veil {
    background: linear-gradient(0deg, #151827ee, #151827b0 35%, #161b3572 62%, #171e3930),
                linear-gradient(90deg, #1518278a, #1518270f);
  }
  .hero h1 { font-size: clamp(3.02rem, 10.65vw, 5.15rem); }
  .composer { grid-template-columns: 1fr; }
  #voting .edition-heading { grid-template-columns: 1fr; }
  .quiz-body, .quiz-body[data-state="done"] { grid-template-columns: 1fr; }
  .quiz-result { justify-self: start; }
  .timeline-frame {
    --chronicle-height: clamp(14rem, 55vw, 21rem);
    grid-template-columns: minmax(0, 1fr); grid-template-rows: var(--chronicle-height) auto;
  }
  .month-details { grid-area: 2 / 1; }
  .timeline-frame:not(.has-month) .timeline-media {
    display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: .25rem; background: #fffcf4; container-type: size;
  }
  .timeline-frame:not(.has-month) .timeline-media::before,
  .timeline-frame:not(.has-month) .timeline-media::after {
    content: ""; background-image: url("voronezh-seasons.webp"); background-repeat: no-repeat;
    background-size: cover;
    background-size: max(200%, calc(100cqh * 8 / 9)) auto;
  }
  .timeline-frame:not(.has-month) .timeline-media::before { background-position: left 60%; }
  .timeline-frame:not(.has-month) .timeline-media::after { background-position: right 60%; }
  .timeline-frame:not(.has-month) .timeline-image { width: 1px; height: 1px; clip-path: inset(50%); }
  .quote-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-meta { grid-template-columns: 1fr max-content; }
  .footer-meta > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .masthead { position: relative; z-index: 2; }
  .masthead-inner { position: relative; min-height: 4.1rem; gap: .75rem; }
  .masthead .brand-logo { width: clamp(4rem, 17vw, 5.25rem); }
  .masthead-toggle {
    display: inline-flex; align-items: center; gap: .52rem; min-height: 44px;
    color: var(--red-deep); background: #fff5e9; border: 1px solid #d6b2a7; border-radius: 2rem;
    padding: .45rem .84rem; font-size: .91rem; font-weight: 680;
  }
  .masthead-toggle::after {
    content: ""; width: .46rem; aspect-ratio: 1; border-right: 1.5px solid; border-bottom: 1.5px solid;
    transform: translateY(-.1rem) rotate(45deg);
  }
  .masthead-toggle[aria-expanded="true"]::after { transform: translateY(.08rem) rotate(225deg); }
  #section-nav {
    display: none; position: absolute; z-index: 1; top: calc(100% - .1rem); inset-inline: 0;
    grid-template-columns: minmax(0, 1fr); justify-content: stretch; gap: 0;
    padding: .4rem .9rem; background: #fffaf3; border: 1px solid #ddc3b5; border-radius: .7rem;
    box-shadow: 0 .75rem 1.75rem #2b152837;
  }
  .masthead-toggle[aria-expanded="true"] + #section-nav { display: grid; }
  #section-nav a { min-height: 45px; padding-inline: .2rem; }
  #section-nav a:not(:last-child) { border-bottom: 1px solid #ecd9cb; }
}
@media (max-width: 510px) {
  .hero { min-height: min(570px, 83svh); }
  .hero-body { padding-block: 3.55rem; }
  .hero h1 { font-size: clamp(2.45rem, 10.25vw, 4rem); }
  .hero-intro { margin-bottom: 1.42rem; max-width: 21rem; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 22rem; }
  .story-share-dialog {
    inset: auto 0 0; width: 100%; max-width: none; max-height: 83dvh; margin: auto 0 0;
    padding: 1.15rem 1.1rem max(1.05rem, env(safe-area-inset-bottom, 0px));
    border-radius: 1.15rem 1.15rem 0 0;
  }
  .month-nav { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .partner-art { opacity: .42; }
  .quote-grid, .feed .quote-grid { grid-template-columns: 1fr; }
  .quote { min-height: 10.5rem; }
  .footer-top { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .hero-body, .hero-flurry::before, .hero-flurry::after, .feed .quote { animation: none; }
  .action, .type-select label, .month-link::after { transition: none; }
}
