:root {
  --paper: #f3eee1; /* cream of the poster paper */
  --card: #fcfaf2; /* near-white cards sit on top */
  --ink: #3d352b; /* ink used on the poster's headings */
  --ink-soft: #6f5d46; /* clears 4.5:1 on paper and card */
  --accent: #c9542f; /* display text only, 24px+ */
  --accent-ink: #b84b2b; /* hover/focus + small-size text only, 3:1 ring */
  --rule: #e4dcc9;
  --input-rule: #7d6a51; /* form input border with 3:1 ratio */
  --frame: #ffffff;

  /* per-month hue (set on each card via the --custom property): dark enough
     that body text reads against cream */
  --hue-orange: #b84b2b;
  --hue-gold: #8f6b1b;
  --hue-olive: #6d7c1f;
  --hue-blue: #2e6da6;
  --hue-forest: #1d5c43;
  /* glow variants: decorative washes and photo patterns only */
  --glow-orange: #e5633b; --glow-gold: #e9b94c; --glow-olive: #a9b638;
  --glow-blue: #408ed2; --glow-forest: #2b6d46;
}

html { scroll-behavior: smooth; scroll-padding-bottom: 6.2rem; }

/* skip link: visually hidden until focused */
.skip {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: circle(0);
}
.skip:focus, .skip:focus-visible {
  position: fixed;
  top: 0.4rem; left: 0.4rem;
  width: auto; height: auto;
  clip-path: none;
  overflow: visible;
  z-index: 90;
  color: var(--ink);
  background: var(--card);
  font-size: 0.9rem;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

button { font-family: inherit; font-size: inherit; border: none; background: none; cursor: pointer; text-align: center; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, .slide:focus-visible {
  outline: 3px solid var(--accent-ink);
  outline-offset: 2px;
}

body {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  font-family: "EB Garamond", Georgia, serif;
  min-height: 100vh;
  padding: 4rem 3rem 6.2rem;
}

/* poster paper: grain over long, looping crayon ribbons flowing down the page —
   the wavy ribbon style of the poster itself (waves up top, looped ribbons low
   down); absolute + behind content, so they scroll and never hover the text */
body::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(122deg, rgba(44, 34, 26, 0.02) 0 1px, transparent 1px 3px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1500 260'%3E%3Cpath d='M-20 150 C 90 60 150 70 190 110 C 215 145 165 150 185 112 C 205 75 265 95 325 115 C 375 125 405 130 435 122 C 475 105 505 80 535 72 C 565 62 595 92 607 128 C 622 168 665 172 705 148 C 745 122 775 82 805 72 C 845 62 885 102 907 138 C 927 172 887 176 862 142 C 842 112 902 98 942 102 C 982 112 1022 132 1062 122 S 1142 102 1202 92 C 1262 82 1302 122 1342 132 C 1382 146 1422 102 1462 82 S 1522 112 1562 128' fill='none' stroke='%23a9b638' stroke-width='12' stroke-linecap='round'/%3E%3Cpath d='M-20 150 C 90 60 150 70 190 110 C 215 145 165 150 185 112 C 205 75 265 95 325 115 C 375 125 405 130 435 122 C 475 105 505 80 535 72 C 565 62 595 92 607 128 C 622 168 665 172 705 148 C 745 122 775 82 805 72 C 845 62 885 102 907 138 C 927 172 887 176 862 142 C 842 112 902 98 942 102 C 982 112 1022 132 1062 122 S 1142 102 1202 92 C 1262 82 1302 122 1342 132 C 1382 146 1422 102 1462 82 S 1522 112 1562 128' fill='none' stroke='%236d7c1f' stroke-width='4' stroke-linecap='round' opacity='0.35' transform='translate(4 6)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1500 260'%3E%3Cg transform='translate(1500 0) scale(-1 1)'%3E%3Cpath d='M-20 95 C 80 180 140 170 185 130 C 210 95 160 100 180 132 C 200 165 260 150 320 140 C 370 132 400 136 430 128 C 470 108 495 62 525 58 C 555 52 585 88 597 122 C 612 158 655 162 695 142 C 735 122 765 78 795 68 C 835 58 875 98 897 132 C 917 166 877 170 852 136 C 832 106 892 92 932 96 C 972 106 1012 126 1052 116 S 1132 96 1192 86 C 1252 76 1292 116 1332 126 C 1372 140 1412 96 1452 76 S 1512 106 1562 120' fill='none' stroke='%23e9b94c' stroke-width='11' stroke-linecap='round'/%3E%3Cpath d='M-20 95 C 80 180 140 170 185 130 C 210 95 160 100 180 132 C 200 165 260 150 320 140 C 370 132 400 136 430 128 C 470 108 495 62 525 58 C 555 52 585 88 597 122 C 612 158 655 162 695 142 C 735 122 765 78 795 68 C 835 58 875 98 897 132 C 917 166 877 170 852 136 C 832 106 892 92 932 96 C 972 106 1012 126 1052 116 S 1132 96 1192 86 C 1252 76 1292 116 1332 126 C 1372 140 1412 96 1452 76 S 1512 106 1562 120' fill='none' stroke='%238f6b1b' stroke-width='3.6' stroke-linecap='round' opacity='0.4' transform='translate(-3 5)'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1500 260'%3E%3Cg transform='translate(0 260) scale(1 -1)'%3E%3Cpath d='M-20 150 C 90 60 150 70 190 110 C 215 145 165 150 185 112 C 205 75 265 95 325 115 C 375 125 405 130 435 122 C 475 105 505 80 535 72 C 565 62 595 92 607 128 C 622 168 665 172 705 148 C 745 122 775 82 805 72 C 845 62 885 102 907 138 C 927 172 887 176 862 142 C 842 112 902 98 942 102 C 982 112 1022 132 1062 122 S 1142 102 1202 92 C 1262 82 1302 122 1342 132 C 1382 146 1422 102 1462 82 S 1522 112 1562 128' fill='none' stroke='%23408ed2' stroke-width='11.5' stroke-linecap='round'/%3E%3Cpath d='M-20 150 C 90 60 150 70 190 110 C 215 145 165 150 185 112 C 205 75 265 95 325 115 C 375 125 405 130 435 122 C 475 105 505 80 535 72 C 565 62 595 92 607 128 C 622 168 665 172 705 148 C 745 122 775 82 805 72 C 845 62 885 102 907 138 C 927 172 887 176 862 142 C 842 112 902 98 942 102 C 982 112 1022 132 1062 122 S 1142 102 1202 92 C 1262 82 1302 122 1342 132 C 1382 146 1422 102 1462 82 S 1522 112 1562 128' fill='none' stroke='%232e6da6' stroke-width='4' stroke-linecap='round' opacity='0.35' transform='translate(-3 4)'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1500 260'%3E%3Cg transform='translate(1500 260) scale(-1 -1)'%3E%3Cpath d='M-20 95 C 80 180 140 170 185 130 C 210 95 160 100 180 132 C 200 165 260 150 320 140 C 370 132 400 136 430 128 C 470 108 495 62 525 58 C 555 52 585 88 597 122 C 612 158 655 162 695 142 C 735 122 765 78 795 68 C 835 58 875 98 897 132 C 917 166 877 170 852 136 C 832 106 892 92 932 96 C 972 106 1012 126 1052 116 S 1132 96 1192 86 C 1252 76 1292 116 1332 126 C 1372 140 1412 96 1452 76 S 1512 106 1562 120' fill='none' stroke='%23a9b638' stroke-width='11.5' stroke-linecap='round'/%3E%3Cpath d='M-20 95 C 80 180 140 170 185 130 C 210 95 160 100 180 132 C 200 165 260 150 320 140 C 370 132 400 136 430 128 C 470 108 495 62 525 58 C 555 52 585 88 597 122 C 612 158 655 162 695 142 C 735 122 765 78 795 68 C 835 58 875 98 897 132 C 917 166 877 170 852 136 C 832 106 892 92 932 96 C 972 106 1012 126 1052 116 S 1132 96 1192 86 C 1252 76 1292 116 1332 126 C 1372 140 1412 96 1452 76 S 1512 106 1562 120' fill='none' stroke='%236d7c1f' stroke-width='3.8' stroke-linecap='round' opacity='0.35' transform='translate(3 -5)'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1500 300'%3E%3Cpath d='M-20 170 C 30 80 85 85 120 120 C 140 150 112 162 96 128 C 85 100 130 108 172 128 C 215 140 255 168 298 142 C 338 118 378 152 418 134 C 458 120 488 82 518 72 C 548 62 566 92 582 128 C 598 158 552 162 532 132 S 520 100 560 112 S 610 128 660 118 S 710 102 760 112 S 810 140 860 128 S 910 108 960 116 S 1010 148 1060 134 S 1110 112 1160 120 S 1210 142 1260 128 S 1310 110 1360 118 S 1420 138 1480 124 S 1540 112 1560 118' fill='none' stroke='%23e5633b' stroke-width='10' stroke-linecap='round'/%3E%3Cpath d='M-20 170 C 30 80 85 85 120 120 C 140 150 112 162 96 128 C 85 100 130 108 172 128 C 215 140 255 168 298 142 C 338 118 378 152 418 134 C 458 120 488 82 518 72 C 548 62 566 92 582 128 C 598 158 552 162 532 132 S 520 100 560 112 S 610 128 660 118 S 710 102 760 112 S 810 140 860 128 S 910 108 960 116 S 1010 148 1060 134 S 1110 112 1160 120 S 1210 142 1260 128 S 1310 110 1360 118 S 1420 138 1480 124 S 1540 112 1560 118' fill='none' stroke='%23b8462a' stroke-width='3.4' stroke-linecap='round' opacity='0.35' transform='translate(3 5)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1500 300'%3E%3Cg transform='translate(1500 0) scale(-1 1)'%3E%3Cpath d='M-20 170 C 30 80 85 85 120 120 C 140 150 112 162 96 128 C 85 100 130 108 172 128 C 215 140 255 168 298 142 C 338 118 378 152 418 134 C 458 120 488 82 518 72 C 548 62 566 92 582 128 C 598 158 552 162 532 132 S 520 100 560 112 S 610 128 660 118 S 710 102 760 112 S 810 140 860 128 S 910 108 960 116 S 1010 148 1060 134 S 1110 112 1160 120 S 1210 142 1260 128 S 1310 110 1360 118 S 1420 138 1480 124 S 1540 112 1560 118' fill='none' stroke='%23e9b94c' stroke-width='10' stroke-linecap='round'/%3E%3Cpath d='M-20 170 C 30 80 85 85 120 120 C 140 150 112 162 96 128 C 85 100 130 108 172 128 C 215 140 255 168 298 142 C 338 118 378 152 418 134 C 458 120 488 82 518 72 C 548 62 566 92 582 128 C 598 158 552 162 532 132 S 520 100 560 112 S 610 128 660 118 S 710 102 760 112 S 810 140 860 128 S 910 108 960 116 S 1010 148 1060 134 S 1110 112 1160 120 S 1210 142 1260 128 S 1310 110 1360 118 S 1420 138 1480 124 S 1540 112 1560 118' fill='none' stroke='%238f6b1b' stroke-width='3.2' stroke-linecap='round' opacity='0.4' transform='translate(-3 5)'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-position: 0 0, 1% 2%, 99% 9%, 0 30%, 2% 47%, 3% 71%, 97% 87%;
  background-size: auto, 108% 22rem, 104% 24rem, 108% 23rem, 104% 21rem, 106% 24rem, 104% 23rem;
  pointer-events: none;
  z-index: -1;
}

.masthead { text-align: center; margin: -1.6rem 0 0; }
.masthead .handle {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin: 0 0 0.45rem;
}
.masthead .art-title {
  display: block;
  margin: 0 auto;
  width: min(30rem, 88vw);
  height: auto;
}

/* always-visible floating nav bar, bottom of viewport */
.nav {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 80;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.8rem;
  padding: 0.9rem 1.4rem calc(0.9rem + env(safe-area-inset-bottom));
  font-size: 0.92rem;
  color: var(--ink-soft);
  background: rgba(246, 240, 232, 0.94);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border-top: 1px solid var(--rule);
}
.nav a { color: var(--ink-soft); transition: color 140ms ease; }
@media (hover: hover) { .nav a:hover { color: var(--accent-ink); } }

/* language chip: pill in the nav — active tongue solid, the other faded */
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--card);
  color: var(--ink-soft);
  transition: color 140ms ease;
}
.lang-btn .on { color: var(--ink); font-weight: 600; }
.lang-btn .off { color: var(--ink-soft); opacity: 0.6; }
@media (hover: hover) {
  .lang-btn:hover { color: var(--accent-ink); border-color: var(--accent-ink); }
  .lang-btn:hover .on { color: var(--accent-ink); }
}

/* fixed corner: the poster badge + a social strip that slides out to its left */
.corner {
  position: fixed;
  top: 1rem;
  right: 1.4rem;
  z-index: 70;
}
.corner .logo {
  display: block;
  width: 4.5rem;
  height: auto;
  transform: rotate(2deg);
  filter: drop-shadow(0 4px 9px rgba(0, 0, 0, 0.35));
  pointer-events: none;
}
.corner .social {
  position: absolute;
  right: 100%;
  top: 0;
  height: 100%;
  width: 0;
  padding-right: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  box-sizing: border-box;
  background: var(--card);
  border: 2px solid var(--rule);
  border-radius: 0 14px 14px 0;
  transition: width 200ms cubic-bezier(.2, .7, .2, 1),
              padding-right 200ms cubic-bezier(.2, .7, .2, 1);
}
.corner:has(:focus-visible) .social {
  width: 8.2rem;
  padding-right: 0.8rem;
}
.corner .soc {
  flex-shrink: 0;
  width: 3.1rem;
  height: 3.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: color 140ms ease;
}
.corner .soc svg { width: 1.5rem; height: 1.5rem; }
@media (hover: hover) {
  .corner:hover .social { width: 8.2rem; padding-right: 0.8rem; }
  .corner .soc:hover { color: var(--accent-ink); }
}
/* touch devices get no :hover — keep the strip open where a tap can land */
@media (hover: none) {
  .corner .social { width: 8.2rem; padding-right: 0.8rem; }
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.4rem;
  margin-top: 2.4rem;
}

.month-card {
  background: var(--card);
  border: 2px solid var(--hue, var(--rule));
  border-radius: 22px;
  padding: 1.4rem 1.5rem 1.5rem;
  box-shadow: 0 2px 10px rgba(120, 100, 70, 0.18), 0 -1px 0 rgba(255, 255, 255, 0.65);
  opacity: 0;
  transform: translateY(14px);
  animation: rise 620ms cubic-bezier(.2, .7, .2, 1) forwards;
  animation-delay: calc(var(--i) * 65ms);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
@media (hover: hover) {
  .month-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(120, 100, 70, 0.28), 0 -1px 0 rgba(255, 255, 255, 0.75);
  }
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes settle {
  from { opacity: 0; transform: scale(.97); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .month-card, .month-card:hover, .day, .modal-card { animation: none; opacity: 1; transform: none; transition: none; }
  .corner .social, .corner .soc { transition: none; }
  .row, .row::after, .row:hover::after { animation: none; opacity: 1; transform: none; transition: none; }
}

.month-card h2 {
  font-family: "Yeseva One", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
  color: var(--hue, var(--ink));
}

.month-card .yearline {
  display: block;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}

.rows {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.row {
  position: relative;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  column-gap: 0.9rem;
  align-items: center;
  animation: reveal 300ms ease backwards;
  animation-delay: calc(180ms + var(--i) * 65ms + var(--n) * 28ms);
  cursor: pointer;
}
/* the poster's signature move: day numbers live on round hue chips */
.row .num {
  justify-self: center;
  display: grid;
  place-items: center;
  min-width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  padding: 0 0.3rem;
  font-variant-numeric: tabular-nums;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--hue, var(--ink-soft));
  text-align: center;
}
.row .title {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink-soft);
}
@media (hover: hover) {
  .row:hover .title { color: var(--ink); }
  .past-row:hover .past-date { color: var(--accent-ink); }
  .past-row:hover .past-title { color: var(--ink); }
}
.row:focus-visible::after { opacity: 1; transform: translateY(0); }

/* hover tooltip: invite the click */
.row::after {
  content: attr(data-tip);
  position: absolute;
  left: 0;
  bottom: calc(100% + 4px);
  transform: translateY(5px);
  opacity: 0;
  transition: opacity 140ms ease, transform 140ms ease;
  pointer-events: none;
  z-index: 6;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8rem;
  padding: 0.32rem 0.6rem;
  border-radius: 8px;
  white-space: normal;
}
@media (hover: hover) { .row:hover::after { opacity: 1; transform: translateY(0); } }
.row:has(:focus-visible)::after { opacity: 1; transform: translateY(0); }

/* day modal: full-screen dim + centered card */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 50;
}
.modal.open {
  opacity: 1;
  pointer-events: auto;
  background: rgba(44, 34, 26, 0.45);
}

.modal-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 22px;
  box-shadow: 0 24px 50px rgba(120, 100, 70, 0.35), 0 -1px 0 rgba(255, 255, 255, 0.7);
  padding: 1.9rem 2.1rem 1.6rem;
  max-width: min(620px, 92vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  animation: settle 240ms ease-out;
}

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.2rem;
  color: var(--ink-soft);
  cursor: pointer;
  z-index: 10;
}
@media (hover: hover) { .modal-close:hover { color: var(--accent-ink); } }
.modal-close {
  padding: 0.5rem 0.7rem;
}

.modal-card .day {
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--hue, var(--accent));
}

.modal-card .label {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.modal-act::first-line { color: var(--hue, var(--accent-ink)); }

.modal-acts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.modal-act {
  font-family: "Yeseva One", Georgia, serif;
  font-size: 1.15rem;
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--card);
  padding: 0.75rem 1rem;
  line-height: 1.5;
}

/* past workshops list */
.past-row {
  position: relative;
  display: grid;
  grid-template-columns: 3.6rem 1fr;
  column-gap: 0.9rem;
  align-items: center;
  animation: reveal 300ms ease backwards;
  animation-delay: calc(var(--n) * 70ms);
  cursor: pointer;
}
.past-row .past-date {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}
.past-row .past-title {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink-soft);
}
/* past workshops hover colors live in the hover media above */

/* photo carousel inside the modal */
.photo-strip {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
  min-height: 10.4rem;
}
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px) scale(.97);
  transition: opacity 420ms ease, transform 420ms cubic-bezier(.2, .7, .2, 1), visibility 0s linear 300ms;
}
.slide.show {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 420ms ease, transform 420ms cubic-bezier(.2, .7, .2, 1), visibility 0s;
}
.photo {
  width: 11rem;
  height: 7.6rem;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background:
    var(--pat),
    radial-gradient(140% 120% at 20% 10%, rgba(255, 252, 245, 0.8), transparent),
    var(--frame);
  background-size: 40px 40px, 100% 100%, 100% 100%;
  box-shadow: 0 5px 16px rgba(120, 100, 70, 0.3);
  transform: rotate(var(--tilt, -1.5deg));
  transition: transform 160ms ease;
  cursor: pointer;
}
@media (hover: hover) { .photo:hover { transform: rotate(0deg) scale(1.02); } }

/* carousel arrows pinned to the strip ends, above the slides */
.carr {
  position: relative;
  z-index: 3;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.4rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 140ms ease, transform 160ms ease;
}
@media (hover: hover) {
  .carr:hover { color: var(--accent-ink); }
  .carr.prev:hover { transform: translateX(-3px); }
  .carr.next:hover { transform: translateX(3px); }
}

/* about: single row of five columns */
.cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.9rem;
  margin-top: 1.1rem;
}
.cols .col {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 1rem 1.05rem;
}
.cols .col h3 {
  font-family: "Yeseva One", Georgia, serif;
  font-size: 1.02rem;
  font-weight: 400;
  margin-bottom: 0.45rem;
  color: var(--ink);
}
.cols .col p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
  text-align: justify;
}

/* below-the-fold sections: each sits on an opaque panel — the poster's
   white month-boxes taken further — so crayon ribbons flow around text,
   never through it */
.section {
  background: var(--card);
  border: 2px solid var(--rule);
  border-radius: 22px;
  padding: 1.4rem 1.6rem 1.5rem;
  margin-top: 2.2rem;
}
.section h2 {
  font-family: "Yeseva One", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
}
.section .lead {
  font-size: 0.98rem;
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 0.4rem;
  max-width: 34rem;
}
.section p { margin-top: 0.7rem; max-width: 34rem; }
#about { margin-top: 2.4rem; }

/* sign-up form — narrow, centered on the page */
#signup-form {
  max-width: 24rem;
  margin: auto;
}
.field {
  display: grid;
  row-gap: 0.3rem;
  margin-top: 0.9rem;
}
.field label {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--ink-soft);
}
input, select {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--input-rule);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
}
.go {
  margin-top: 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--paper);
  background: var(--ink);
  border: none;
  border-radius: 10px;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  transition: background 140ms ease;
}
@media (hover: hover) { .go:hover { background: var(--accent-ink); } }

.footnote {
  margin-top: 2.6rem;
  text-align: center;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  body { padding: 3rem 2rem 6rem; }
  .calendar-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.1rem; }
  .cols { grid-template-columns: repeat(2, 1fr); }
  .modal-card { padding: 1.5rem 1.7rem 1.3rem; }
}

@media (max-width: 600px) {
  body { padding: 2.4rem 1.3rem 5.4rem; }
  body::before { background-size: auto, 104% 15rem, 104% 16rem, 104% 15rem, 104% 14rem, 104% 16rem, 104% 15rem; }
  .corner { top: 0.5rem; right: 0.8rem; }
  .corner .logo { width: 3.2rem; }
  .masthead .art-title { width: min(19rem, 86vw); }
  .nav { font-size: 0.82rem; gap: 0.35rem 1.1rem; padding: 0.65rem 0.9rem calc(0.65rem + env(safe-area-inset-bottom)); }
  .calendar-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.9rem; }
  .month-card { padding: 1.05rem 1.1rem 1.15rem; border-radius: 16px; }
  .section { padding: 1rem 1.1rem; }
  .modal-card { max-width: min(520px, 94vw); padding: 1.3rem 1.4rem 1.1rem; }
  .modal-card .day { font-size: 2rem; }
  .photo { width: 8.6rem; height: 5.9rem; }
  .photo-strip { min-height: 6.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .slide.show { position: static; visibility: visible; opacity: 1; transform: none; transition: none; }
  .photo-strip { flex-wrap: wrap; justify-content: center; gap: 0.8rem; min-height: 0; }
  .photo { transform: none; }
}

/* ---------- kiln-log flavor, kept last so it beats the mobile overrides ---------- */
.modal-card.kiln-card {
  background: var(--card) radial-gradient(130% 95% at 50% -8%, rgba(169, 182, 56, 0.09), transparent 58%);
}
.kiln-card .day {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  text-wrap: balance;
  max-width: 22rem;
}
.cap {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--ink-soft);
  max-width: 19rem;
}
