/* Creston Valley Fall Fair
   Built for easy reading: large type, strong contrast (WCAG AAA for body text),
   big touch targets, underlined links, no motion. Colours come from the logo:
   sunflower yellow, sky blue and soil brown on a warm cream page. */

@font-face { font-family: "Atkinson Hyperlegible"; src: url("fonts/atkinson-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("fonts/atkinson-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("fonts/atkinson-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Bitter"; src: url("fonts/bitter.woff2") format("woff2"); font-weight: 600 900; font-style: normal; font-display: swap; }

:root {
  --ink: #1c1712;          /* body text: 16:1 on the page colour */
  --soft: #463e34;         /* secondary text: still 9:1 */
  --page: #fffaf1;
  --card: #ffffff;
  --line: #e5d9c4;
  --blue: #1d4f91;         /* links and buttons: 8:1 on white */
  --blue-dark: #12345f;
  --blue-tint: #e8f0fb;
  --sun: #f5b400;
  --sun-tint: #fff3cc;
  --brown: #5b3a1c;
  --green: #1f6b3a;
  --green-tint: #e4f3e8;
  --pink: #a3245e;
  --pink-tint: #fbe7f0;
  --red: #9d2a10;
  --red-tint: #fdecea;
  --radius: 14px;
  --wrap: 72rem;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: "Atkinson Hyperlegible", Verdana, Tahoma, "Segoe UI", sans-serif;
  font-size: 1.25rem; /* 20px */ line-height: 1.6;
}
@media (min-width: 60em) { body { font-size: 1.3125rem; } }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 40em) { .wrap { padding-inline: 2rem; } }

h1, h2, h3 { line-height: 1.2; color: var(--ink); margin: 0 0 .6em; font-family: "Bitter", Georgia, serif; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.4rem); }
h3 { font-size: 1.4rem; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; }
li + li { margin-top: .35em; }
strong { font-weight: 700; }

a { color: var(--blue); text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--blue-dark); text-decoration-thickness: .14em; }
:focus-visible { outline: 4px solid var(--sun); outline-offset: 3px; box-shadow: 0 0 0 7px var(--ink); border-radius: 4px; }

.skip { position: absolute; left: 1rem; top: -10rem; z-index: 100; background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 1rem; color: #fff; }

/* ---------- header and menu ---------- */
.topbar { background: var(--brown); color: #fbf1df; font-size: 1.05rem; }
.topbar-in { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.6rem; padding-block: .5rem; }
.tb-item { display: inline-flex; align-items: center; gap: .45rem; }
.tb-item svg { width: 1.15em; height: 1.15em; color: var(--sun); flex: none; }
.tb-link { color: #ffd766; font-weight: 700; }
.tb-size { margin-left: auto; display: flex; align-items: center; gap: .3rem; }
.tb-size-label { margin-right: .2rem; }
.tb-size button {
  min-width: 44px; min-height: 44px; padding: 0 .4rem; cursor: pointer; font-family: inherit; font-weight: 700; line-height: 1;
  color: #fbf1df; background: transparent; border: 2px solid rgba(255, 215, 102, .6); border-radius: 8px;
}
.tb-size button[data-size="0"] { font-size: 1rem; }
.tb-size button[data-size="1"] { font-size: 1.2rem; }
.tb-size button[data-size="2"] { font-size: 1.4rem; }
.tb-size button:hover { background: rgba(255, 255, 255, .12); }
.tb-size button[aria-pressed="true"] { background: var(--sun); color: var(--ink); border-color: var(--sun); }
/* Phones: date and directions on the first line, text size on its own line */
@media (max-width: 47.99em) { .tb-size { order: 3; margin-left: 0; flex-basis: 100%; } .tb-link { margin-left: auto; } }
/* Larger text: everything is sized in rem, so scaling the root scales the whole site */
html.fs-1 { font-size: 112.5%; }
html.fs-2 { font-size: 128%; }
.tb-link:hover { color: #fff; }
@media (max-width: 47.99em) { .tb-place { display: none; } }

.site-header {
  position: relative; z-index: 10; background: var(--card);
  border-bottom: 6px solid var(--sun);
  box-shadow: 0 2px 0 var(--brown), 0 10px 24px -14px rgba(60, 40, 10, .45);
}
/* a row of little "rhinestones" along the bottom edge: the fair's theme */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, #fff 0 1.6px, transparent 2.2px) 0 0 / 22px 6px repeat-x;
  opacity: .9;
}
.header-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; padding-block: .75rem; }
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--ink); }
.brand img { width: 52px; height: 52px; flex: none; transition: transform .4s ease; }
.brand:hover img { transform: rotate(-8deg) scale(1.04); }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wm-small { font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brown); }
.wm-big { font-family: "Bitter", Georgia, serif; font-weight: 900; font-size: 1.65rem; color: var(--ink); margin-top: .12rem; }
@media (min-width: 40em) { .brand img { width: 76px; height: 76px; } .wm-big { font-size: 2.3rem; } .wm-small { font-size: 1.05rem; letter-spacing: .14em; } }

.menu-btn {
  display: inline-flex; align-items: center; gap: .55rem; flex: none;
  min-height: 52px; padding: .5rem .85rem; border: 2px solid var(--blue); border-radius: 12px;
  background: var(--blue); color: #fff; font: inherit; font-weight: 700; font-size: 1.1rem; cursor: pointer;
}
@media (min-width: 40em) { .menu-btn { padding-inline: 1.1rem; font-size: 1.15rem; } }
.menu-btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.menu-icon { display: inline-flex; flex-direction: column; gap: 4px; }
.menu-icon span { display: block; width: 20px; height: 3px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav { display: none; flex-basis: 100%; }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: .4rem 0 .8rem; display: grid; gap: .5rem; }
.site-nav li + li { margin: 0; }
.site-nav a {
  display: flex; align-items: center; min-height: 56px; padding: .6rem 1rem; border-radius: 10px;
  background: var(--page); border: 2px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none;
}
.site-nav a:hover { border-color: var(--blue); color: var(--blue); }
.site-nav a[aria-current="page"] { background: var(--sun-tint); border-color: var(--sun); }
/* No-JS fallback: the menu is simply shown */
.no-js .site-nav { display: block; }
.no-js .menu-btn { display: none; }

@media (min-width: 75em) {
  .menu-btn { display: none; }
  .site-nav { display: block; flex-basis: auto; }
  .site-nav ul { display: flex; gap: .15rem; padding: 0; }
  .site-nav a {
    position: relative; min-height: 48px; padding: .4rem .75rem; background: transparent; border: 0; font-size: 1.08rem; border-radius: 8px;
  }
  .site-nav a::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .3rem; height: 4px; border-radius: 2px; background: var(--sun); transform: scaleX(0); transition: transform .25s ease; }
  .site-nav a:hover { background: var(--page); color: var(--blue); }
  .site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav a[aria-current="page"] { background: transparent; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; text-align: center;
  min-height: 56px; padding: .7rem 1.4rem; border-radius: 12px; border: 3px solid var(--blue);
  background: var(--blue); color: #fff; font-weight: 700; font-size: 1.15rem; line-height: 1.25; text-decoration: none; cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn.secondary { background: var(--card); color: var(--blue); }
.btn.secondary:hover { background: var(--blue-tint); color: var(--blue-dark); }
.btn.sun { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.btn.sun:hover { background: #e0a400; border-color: #e0a400; color: var(--ink); }
.btn svg { width: 1.3em; height: 1.3em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.4rem 0 0; }
@media (max-width: 30em) { .btn-row .btn { width: 100%; } }

/* ---------- sections ---------- */
.section { padding-block: 3rem; }
@media (min-width: 60em) { .section { padding-block: 4.5rem; } }
.section.tint { background: var(--sun-tint); }
.section.white { background: var(--card); border-block: 1px solid var(--line); }
.lead { font-size: 1.2em; color: var(--soft); max-width: 40em; }
.narrow > * { max-width: 46rem; } /* keeps lines short but on the page's left edge */
.page-head { background: var(--card); border-bottom: 1px solid var(--line); padding-block: 2.2rem 2rem; }
.page-head h1 { margin-bottom: .3em; }
.page-head p { margin: 0; color: var(--soft); font-size: 1.15em; max-width: 42em; }
.jump { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.jump a { display: inline-flex; align-items: center; min-height: 48px; padding: .4rem 1rem; border: 2px solid var(--blue); border-radius: 999px; font-weight: 700; text-decoration: none; background: var(--card); }
.jump a:hover { background: var(--blue-tint); }

/* ---------- home hero: the Creston Valley at sunrise ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #fdf6e6 0%, #fdeccb 45%, #fbdca6 75%, #f6cf8e 100%);
  /* room for the scene below the content: its peaks start ~29% down from its top */
  padding-bottom: max(170px, 21vw);
}
/* the scene sits under the content; its peaks start ~30% down, so the padding
   above keeps text clear of the mountains */
/* The scene keeps its 1600:440 shape on wide screens (height follows width) and
   is only cropped at the sides on narrow ones, so the sun's place is predictable. */
.scene { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: max(240px, 27.5vw); z-index: -1; }
/* The sun is drawn at x=1000; shift it into open sky for each layout so the
   snapshots never cover it (phone: left of the bottom photo; tablet: left of
   the centred photos; desktop: under the text column). */
/* ---- the sky follows the time of day in Creston (data-sky on .hero) ---- */
.hero[data-sky="day"] { background: linear-gradient(180deg, #cfe6f7 0%, #e3f0f7 35%, #fbefd6 72%, #f6d9a2 100%); }
.hero[data-sky="dawn"] { background: linear-gradient(180deg, #f9d8c4 0%, #fbe3cf 35%, #fbd3a8 70%, #f6b98a 100%); }
.hero[data-sky="dusk"] { background: linear-gradient(180deg, #f6c58f 0%, #f5a86e 40%, #ee8a5a 72%, #d9694a 100%); }
.hero[data-sky="night"] { background: linear-gradient(180deg, #0c1a33 0%, #13284d 45%, #1d3a66 75%, #2c4f7f 100%); }
.moon, .stars { display: none; }
.hero[data-sky="night"] .moon { display: inline; }
.hero[data-sky="night"] .sun-body > :not(.moon) { display: none; }
.hero[data-sky="dawn"] .sun-disc { fill: #ffb347; }
.hero[data-sky="dawn"] .sun-body { transform: translateY(60px); }
.hero[data-sky="dusk"] .sun-disc { fill: #f26b3a; }
.hero[data-sky="dusk"] .sun-ring { stroke: #c9472a; }
.hero[data-sky="dusk"] .scene-rays { fill: #f59a5c; }
.hero[data-sky="dusk"] .sun-body { transform: translateY(45px); }
.hero[data-sky="night"] .sun-body { transform: translateY(-20px); }
.land-shade { fill: transparent; pointer-events: none; }
.hero[data-sky="dusk"] .land-shade { fill: rgba(90, 30, 40, .25); }
.hero[data-sky="night"] .land-shade { fill: rgba(8, 18, 42, .58); }
.hero[data-sky="night"] .stars {
  display: block; position: absolute; left: 0; right: 0; top: 0; height: 75%; z-index: -2; pointer-events: none;
  background-image:
    radial-gradient(1.6px 1.6px at 20px 30px, #fff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 140px 90px, #fff 50%, transparent 52%),
    radial-gradient(2px 2px at 260px 40px, #fff7d6 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 330px 150px, #fff 50%, transparent 52%),
    radial-gradient(1.6px 1.6px at 80px 180px, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 200px 130px, #fff 50%, transparent 52%);
  background-size: 380px 220px;
}
.hero[data-sky="night"] .stars::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(1.8px 1.8px at 60px 70px, #fff 50%, transparent 52%), radial-gradient(1.4px 1.4px at 240px 170px, #fff 50%, transparent 52%), radial-gradient(1.8px 1.8px at 310px 60px, #ffe9a8 50%, transparent 52%); background-size: 420px 240px; }
@media (prefers-reduced-motion: no-preference) {
  .hero[data-sky="night"] .stars::after { animation: twinkle-stars 3.5s ease-in-out infinite alternate; }
}
@keyframes twinkle-stars { from { opacity: .25; } to { opacity: 1; } }
/* night: light text on the dark sky */
.hero[data-sky="night"] .h1-small { color: #ffd766; }
.hero[data-sky="night"] .h1-big { color: #fff; background: linear-gradient(transparent 72%, rgba(245, 180, 0, .45) 72% 92%, transparent 92%); }
.hero[data-sky="night"] .where { color: #f3ede4; }
.hero[data-sky="night"] .where svg { color: #ffd766; }
.hero[data-sky="night"] .kicker { background: rgba(255, 255, 255, .12); }
.hero[data-sky="night"] .theme-badge { background: rgba(255, 255, 255, .12); }

.scene-sun { translate: -440px 0; }
@media (min-width: 48em) { .scene-sun { translate: -800px 0; } }
@media (min-width: 60em) { .scene-sun { translate: -500px 0; } }

.hero-in { display: grid; gap: 2.2rem; padding-top: 2.2rem; align-items: center; }
@media (min-width: 60em) { .hero-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 3rem; padding-top: 3.5rem; } }

/* Phones: two deliberate lines ("Since 1918" on its own, in yellow); one line when there is room */
.kicker { display: inline-block; background: var(--brown); color: #fff3d6; font-weight: 700; padding: .5rem 1.1rem; border-radius: 14px; margin: 0 0 1rem; font-size: 1.1rem; line-height: 1.3; }
.kicker-since { display: block; color: var(--sun); font-size: 1.2rem; }
@media (min-width: 40em) {
  .kicker { padding: .3rem .95rem; border-radius: 999px; font-size: 1.02rem; }
  .kicker-since { display: inline; font-size: inherit; }
  .kicker-since::before { content: "· "; color: #fff3d6; }
}
.hero h1 { margin: 0 0 1.2rem; line-height: .95; }
.h1-small { display: block; font-size: clamp(1.5rem, 4.5vw, 2.3rem); color: var(--brown); letter-spacing: .02em; }
.h1-big {
  display: inline-block; font-size: clamp(3.4rem, 13vw, 6.2rem); font-weight: 900; color: var(--ink); letter-spacing: -.01em;
  background: linear-gradient(transparent 72%, rgba(245, 180, 0, .55) 72% 92%, transparent 92%);
  padding-right: .1em;
}

/* the date "ticket" */
.when {
  display: grid; grid-template-columns: 1fr 1fr; max-width: 30rem; margin: 0 0 1.2rem;
  background: var(--card); border: 3px solid var(--ink); border-radius: 16px; overflow: hidden;
  box-shadow: 6px 6px 0 var(--ink);
}
.when-day { display: flex; flex-direction: column; align-items: center; padding: .8rem .5rem .9rem; text-align: center; }
.when-day + .when-day { border-left: 3px dashed var(--line); }
.when-dow { font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--red); font-size: 1.05rem; }
.when-num { font-family: "Bitter", Georgia, serif; font-weight: 900; font-size: 3.6rem; line-height: 1; color: var(--ink); }
.when-hrs { font-weight: 700; font-size: 1.08rem; color: var(--soft); margin-top: .2rem; }
.when-month { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1rem; background: var(--ink); color: #fff; text-align: center; font-weight: 700; padding: .5rem; letter-spacing: .04em; }
.when-count { color: var(--sun); }

.where { display: flex; gap: .7rem; align-items: flex-start; font-size: 1.15em; margin: 0 0 .2rem; }
.where svg { width: 1.6em; height: 1.6em; color: var(--red); flex: none; margin-top: .1em; }

.theme-badge { display: inline-flex; align-items: center; gap: .6rem; margin: 1.4rem 0 0; padding: .5rem 1rem .5rem .8rem; background: #2a1d10; color: #fff; border-radius: 999px; font-size: 1.08rem; }
.theme-badge strong { color: #ffd766; }
.sparkles { position: relative; width: 1.6rem; height: 1.6rem; flex: none; }
.sparkles i { position: absolute; width: .9rem; height: .9rem; background: #fff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.sparkles i:nth-child(1) { left: 0; top: .1rem; }
.sparkles i:nth-child(2) { right: 0; top: 0; width: .55rem; height: .55rem; background: #ffd766; }
.sparkles i:nth-child(3) { right: .15rem; bottom: 0; width: .65rem; height: .65rem; }

/* snapshots */
.hero-photos { position: relative; height: 20rem; max-width: 34rem; width: 100%; margin-inline: auto; }
@media (min-width: 40em) { .hero-photos { height: 26rem; } }
@media (min-width: 60em) { .hero-photos { height: 30rem; } }
.snap { position: absolute; margin: 0; background: #fff; padding: .55rem .55rem 1.8rem; border-radius: 4px; box-shadow: 0 14px 30px -10px rgba(50, 30, 5, .45), 0 2px 6px rgba(0,0,0,.12); }
.snap img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.snap::before { content: ""; position: absolute; top: -12px; left: 50%; width: 76px; height: 24px; margin-left: -38px; background: rgba(245, 180, 0, .55); transform: rotate(-3deg); }
.snap-1 { width: 62%; aspect-ratio: 16 / 11; left: 0; top: 10%; transform: rotate(-4deg); z-index: 2; }
.snap-2 { width: 42%; aspect-ratio: 1; right: 0; top: 0; transform: rotate(5deg); z-index: 1; }
.snap-2 img { object-position: 30% 50%; }
.snap-3 { width: 36%; aspect-ratio: 4 / 5; right: 14%; bottom: 0; transform: rotate(-2deg); z-index: 3; }
.snap-1 img, .snap-2 img, .snap-3 img { height: 100%; }

/* ---------- the fair in numbers ---------- */
.stats {
  position: relative; color: #fbf1df; padding-block: 4.2rem 4rem;
  background: linear-gradient(rgba(58, 38, 20, .72), rgba(58, 38, 20, .72)), #3a2614 url("../img/sunflower-pattern.png") center / 560px repeat;
}
.stats::before, .stats::after { content: ""; position: absolute; left: 0; right: 0; height: 34px; background: no-repeat center / 100% 100%; }
.stats::before { top: -1px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1200V16C1010 40 860 4 610 22 380 38 210 6 0 26Z' fill='%23fffaf1'/%3E%3C/svg%3E"); }
.stats::after { bottom: -1px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40H1200V20C980 2 820 36 580 16 360 0 190 32 0 14Z' fill='%23fffaf1'/%3E%3C/svg%3E"); }
.stats-in { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1rem; text-align: center; }
@media (min-width: 56em) { .stats-in { grid-template-columns: repeat(4, 1fr); } }
.stat { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; }
.stat-num, .stat-plus { font-family: "Bitter", Georgia, serif; font-weight: 900; font-size: clamp(2.8rem, 9vw, 4.4rem); line-height: 1; color: var(--sun); }
.stat-label { flex-basis: 100%; font-weight: 700; font-size: 1.15rem; margin-top: .4rem; }

/* ---------- don't miss ---------- */
.highlights { display: grid; gap: 1.2rem; grid-template-columns: 1fr; margin-top: 1.5rem; }
@media (min-width: 40em) { .highlights { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64em) { .highlights { grid-template-columns: repeat(4, 1fr); } }
.hl { display: flex; flex-direction: column; background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); }
.hl:hover { border-color: var(--blue); }
.hl:hover .hl-title { color: var(--blue); text-decoration: underline; }
.hl-photo { position: relative; overflow: hidden; }
.hl-photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hl-when { position: absolute; left: .75rem; top: .75rem; background: var(--sun); color: var(--ink); font-weight: 700; font-size: 1.05rem; padding: .25rem .75rem; border-radius: 8px; box-shadow: 0 3px 0 var(--ink); }
.hl-body { padding: 1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .3rem; }
.hl-title { font-family: "Bitter", Georgia, serif; font-weight: 800; font-size: 1.4rem; line-height: 1.2; }
.hl-place { display: inline-flex; align-items: center; gap: .35rem; color: var(--soft); }
.hl-place svg { width: 1.05em; height: 1.05em; flex: none; }

/* ---------- animation (decoration only; text never moves) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .scene-sun { animation: sun-rise 2.4s cubic-bezier(.2, .7, .2, 1) both; }
  .scene-rays { transform-origin: 1000px 190px; animation: spin 80s linear infinite; }
  .scene-far { animation: rise 1.6s .15s cubic-bezier(.2, .7, .2, 1) both; }
  .scene-mid { animation: rise 1.6s .3s cubic-bezier(.2, .7, .2, 1) both; }
  .scene-near { animation: rise 1.6s .45s cubic-bezier(.2, .7, .2, 1) both; }
  .scene-valley { animation: rise 1.6s .6s cubic-bezier(.2, .7, .2, 1) both; }
  .snap-1 { animation: drop-1 .9s .5s cubic-bezier(.2, .8, .3, 1.2) both; }
  .snap-2 { animation: drop-2 .9s .75s cubic-bezier(.2, .8, .3, 1.2) both; }
  .snap-3 { animation: drop-3 .9s 1s cubic-bezier(.2, .8, .3, 1.2) both; }
  .snap { transition: transform .35s ease; }
  .hero-photos:hover .snap-1 { transform: rotate(-6deg) translateY(-4px); }
  .hero-photos:hover .snap-2 { transform: rotate(8deg) translateY(-4px); }
  .hero-photos:hover .snap-3 { transform: rotate(0deg) translateY(-4px); }
  .sparkles i { animation: twinkle 2.4s ease-in-out infinite; }
  .sparkles i:nth-child(2) { animation-delay: .8s; }
  .sparkles i:nth-child(3) { animation-delay: 1.6s; }
  .hero-text { animation: fade 1s .1s ease both; }
  .hl-photo img { transition: transform .5s ease; }
  .hl:hover .hl-photo img { transform: scale(1.05); }
}
/* Cards fade up as they scroll into view, only in browsers that can tie an
   animation to scrolling; everywhere else they are simply shown. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .tile, .card, .facts li, .people li, .split > img {
      animation: fade-up linear both; animation-timeline: view(); animation-range: entry 0% entry 35%;
    }
  }
}
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes sun-rise { from { transform: translateY(170px); } to { transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { transform: translateY(60px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes drop-1 { from { opacity: 0; transform: translateY(-40px) rotate(-12deg); } to { opacity: 1; transform: rotate(-4deg); } }
@keyframes drop-2 { from { opacity: 0; transform: translateY(-40px) rotate(14deg); } to { opacity: 1; transform: rotate(5deg); } }
@keyframes drop-3 { from { opacity: 0; transform: translateY(-40px) rotate(-10deg); } to { opacity: 1; transform: rotate(-2deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(.6) rotate(0); opacity: .5; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- cards and tiles ---------- */
.tiles { display: grid; gap: 1.1rem; grid-template-columns: 1fr; margin-top: 1.5rem; }
@media (min-width: 40em) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64em) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile {
  display: flex; flex-direction: column; background: var(--card); border: 2px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--ink);
}
.tile:hover { border-color: var(--blue); }
.tile:hover .tile-title { color: var(--blue); text-decoration: underline; }
.tile img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.tile-body { padding: 1.1rem 1.25rem 1.3rem; }
.tile-title { display: flex; justify-content: space-between; gap: .5rem; font-weight: 700; font-size: 1.35rem; line-height: 1.25; margin-bottom: .3rem; }
.tile-title::after { content: "→"; color: var(--blue); }
.tile p { margin: 0; color: var(--soft); }

.cards { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 48em) { .cards.two { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64em) { .cards.three { grid-template-columns: repeat(3, 1fr); } .cards.two-wide { grid-template-columns: 1fr 1fr; } }
@media (min-width: 48em) and (max-width: 63.99em) { .cards.three { grid-template-columns: 1fr 1fr; } }
.card { background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.2rem; }
.card h3 { margin-bottom: .4em; }
.card > :last-child { margin-bottom: 0; }
.card.photo { padding: 0; overflow: hidden; }
.card.photo img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card.photo .card-body { padding: 1.3rem 1.4rem 1.2rem; }
.card.photo .card-body > :last-child { margin-bottom: 0; }
.price { font-size: 1.6rem; font-weight: 700; color: var(--brown); margin: 0 0 .5rem; }

/* key facts ("Good to know") */
.facts { display: grid; gap: 1rem; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 1.5rem 0 0; }
@media (min-width: 48em) { .facts { grid-template-columns: 1fr 1fr; } }
.facts li { margin: 0; display: flex; gap: 1rem; align-items: flex-start; background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.facts .ic { flex: none; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--sun-tint); color: var(--brown); }
.facts .ic svg { width: 1.6rem; height: 1.6rem; }
.facts h3 { font-size: 1.25rem; margin: .2rem 0 .25rem; }
.facts p { margin: 0; color: var(--soft); }

/* split: text beside a photo */
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56em) { .split { grid-template-columns: 1.1fr 1fr; gap: 3rem; } .split.flip > :first-child { order: 2; } }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 35%; }

/* notices */
.notice { border-radius: var(--radius); padding: 1.2rem 1.4rem; border: 2px solid; margin: 0 0 1.5rem; }
.notice > :last-child { margin-bottom: 0; }
.notice h2, .notice h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.notice.warn { background: var(--red-tint); border-color: var(--red); }
.notice.warn h2, .notice.warn h3 { color: var(--red); }
.notice.info { background: var(--blue-tint); border-color: var(--blue); }
.notice.sun { background: var(--sun-tint); border-color: var(--sun); }
.tag { display: inline-block; font-size: .85em; font-weight: 700; padding: .1rem .6rem; border-radius: 999px; vertical-align: .1em; white-space: nowrap; }
h2 .tag, h3 .tag { font-family: "Atkinson Hyperlegible", Verdana, sans-serif; font-size: 1rem; vertical-align: middle; margin-left: .4rem; white-space: normal; }
.tag.closed { background: var(--red-tint); color: var(--red); border: 2px solid var(--red); }
.tag.open { background: var(--green-tint); color: var(--green); border: 2px solid var(--green); }

/* definition-style details: "When / Where / Cost" */
.details { margin: 0 0 1rem; display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; }
.details dt { font-weight: 700; }
.details dd { margin: 0; }

/* lists with check marks */
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before { content: ""; position: absolute; left: .1rem; top: .45em; width: 1.05rem; height: .6rem; border-left: 4px solid var(--green); border-bottom: 4px solid var(--green); transform: rotate(-45deg); }
.columns { columns: 1; }
@media (min-width: 48em) { .columns { columns: 2; column-gap: 2.5rem; } .columns li { break-inside: avoid; } }

/* ---------- schedule ---------- */
.print-title { display: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* each place has its own colour (always shown with its name, never alone) */
.p-outdoor { --pc: #8a4b17; --pt: #f8e8d6; }
.p-indoor  { --pc: #1d4f91; --pt: #e3edfa; }
.p-field   { --pc: #1f6b3a; --pt: #e1f2e6; }
.p-tent    { --pc: #b04a00; --pt: #fde7d4; }
.p-grounds { --pc: #6a3d9a; --pt: #efe6fa; }
.p-beer    { --pc: #7a5a00; --pt: #fff0bf; }

.sched-hero {
  position: relative; color: #fbf1df; padding-block: 2.6rem 3.4rem;
  /* the sunflower pattern only as a faint texture under a brown wash */
  background: linear-gradient(rgba(58, 38, 20, .9), rgba(58, 38, 20, .9)), #3a2614 url("../img/sunflower-pattern.png") center / 720px repeat;
}
.sched-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 30px; background: no-repeat center / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40H1200V20C980 2 820 36 580 16 360 0 190 32 0 14Z' fill='%23fffaf1'/%3E%3C/svg%3E"); }
.sched-hero h1 { color: #fff; margin-bottom: .3em; }
.sched-intro { font-size: 1.15em; margin: 0 0 1.6rem; max-width: 40em; }
.day-tickets { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 34rem; }
.day-ticket {
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: .8rem .5rem 1rem;
  background: var(--card); color: var(--ink); text-decoration: none; border-radius: 14px; border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--sun); transition: transform .15s ease, box-shadow .15s ease;
}
.day-ticket:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--sun); color: var(--ink); }
@media (max-width: 63.99em) { .day-ticket[aria-current="true"] { background: var(--sun); box-shadow: 5px 5px 0 #fff; } }
.dt-dow { font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--red); }
@media (max-width: 63.99em) { .day-ticket[aria-current="true"] .dt-dow, .day-ticket[aria-current="true"] .dt-hrs { color: var(--ink); } }
.dt-num { font-family: "Bitter", Georgia, serif; font-weight: 900; font-size: 3.2rem; line-height: 1; }
.dt-hrs { font-weight: 700; color: var(--soft); }
.big-moments-title { color: #ffd766; font-size: 1.3rem; margin: 2rem 0 .8rem; }
.big-moments { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 64em) { .big-moments { grid-template-columns: repeat(3, 1fr); } }
.big-moments li { margin: 0; display: flex; flex-direction: column; padding: .6rem .9rem; border-radius: 10px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 215, 102, .4); }
.bm-when { font-weight: 700; color: #ffd766; font-size: .95rem; }
.bm-name { font-weight: 700; font-size: 1.05rem; line-height: 1.3; color: #fff; }
@media (min-width: 40em) { .bm-when { font-size: 1rem; } .bm-name { font-size: 1.15rem; } }
.bm-name::before { content: "★ "; color: var(--sun); }

.sched-tools { padding-block: 1.6rem .4rem; }
.sched-tools .btn-row { margin-top: 0; }
.place-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; align-items: center; }
.chips-label { flex-basis: 100%; margin: 0 0 .1rem; font-weight: 700; }
.chip-btn {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 48px; padding: .35rem .95rem; cursor: pointer;
  font: inherit; font-size: 1.05rem; font-weight: 700; color: var(--ink); background: var(--card);
  border: 2px solid var(--pc, var(--ink)); border-radius: 999px;
}
.chip-btn:hover { background: var(--pt, var(--sun-tint)); }
.chip-btn[aria-pressed="true"] { background: var(--pc, var(--ink)); color: #fff; }
.chip-count { font-weight: 400; }
.filter-note { flex-basis: 100%; margin: .3rem 0 0; color: var(--soft); font-style: italic; min-height: 1em; }
.dot { width: .8rem; height: .8rem; border-radius: 50%; background: var(--pc); flex: none; }
.chip-btn[aria-pressed="true"] .dot { background: #fff; }

/* phone: a sticky Friday/Saturday switch */
.day-switch { position: sticky; top: 0; z-index: 8; background: var(--page); border-bottom: 2px solid var(--line); padding-block: .5rem; }
.day-switch-in { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.day-switch button { min-height: 52px; font: inherit; font-weight: 700; font-size: 1.05rem; line-height: 1.2; border: 2px solid var(--ink); border-radius: 10px; background: var(--card); color: var(--ink); cursor: pointer; padding: .3rem .4rem; }
.day-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
@media (min-width: 64em) { .day-switch { display: none !important; } }

.sched-body { padding-top: 1.4rem; }
.days { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 64em) { .days { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 63.99em) { .js .days[data-show="friday"] #saturday, .js .days[data-show="saturday"] #friday { display: none; } }
.day { scroll-margin-top: 5rem; }
.day-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2rem 1rem; padding: .9rem 1.1rem; margin-bottom: .6rem; background: var(--ink); color: #fff; border-radius: 12px; }
@media (min-width: 64em) { .day-head { position: sticky; top: .5rem; z-index: 3; } }
.day-head h2 { margin: 0; color: #fff; font-size: 1.45rem; }
.day-head p { margin: 0; font-weight: 700; color: #ffd766; }
.slot { display: grid; grid-template-columns: 4.7rem 1fr; gap: .6rem; padding: .55rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 6rem; }
@media (min-width: 40em) { .slot { grid-template-columns: 5.6rem 1fr; gap: .8rem; } }
.slot-time { font-weight: 700; font-size: 1.15rem; color: var(--brown); line-height: 1.3; padding-top: .45rem; }
.slot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.slot li { margin: 0; }
.ev { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .7rem; padding: .45rem .75rem; background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--pc); border-radius: 8px; }
.ev-name { font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
.ev-tags { display: inline-flex; flex-wrap: wrap; gap: .3rem .4rem; align-items: center; }
.place-pill { display: inline-flex; align-items: center; gap: .35rem; font-size: .98rem; font-weight: 700; color: var(--pc); background: var(--pt); padding: .05rem .6rem; border-radius: 999px; white-space: nowrap; }
.ev.star { background: #fffbea; border-color: var(--sun); border-left-color: var(--pc); box-shadow: inset 0 0 0 1px var(--sun); }
.star-icon { color: #c98a00; margin-right: .3rem; }
.slot.now { background: var(--sun-tint); border-radius: 10px; padding-inline: .5rem; outline: 3px solid var(--sun); }
.slot.now .slot-time::after { content: "On now"; display: block; width: max-content; margin-top: .3rem; font-size: .85rem; background: var(--red); color: #fff; padding: .05rem .45rem; border-radius: 6px; }
.badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .95rem; font-weight: 700; padding: .05rem .55rem; border-radius: 999px; border: 2px solid; white-space: nowrap; line-height: 1.5; }
.badge svg { width: 1em; height: 1em; flex: none; }
.badge.music { background: var(--blue-tint); color: var(--blue); }
.badge.kids { background: var(--pink-tint); color: var(--pink); }
.badge.all { background: var(--green-tint); color: var(--green); }
.sched-note { margin-top: 2rem; }

/* ---------- inner-page heading band ---------- */
.band-hero {
  position: relative; color: #fbf1df; padding-block: 2.4rem 3.6rem; overflow: hidden;
  background: linear-gradient(rgba(58, 38, 20, .9), rgba(58, 38, 20, .9)), #3a2614 url("../img/sunflower-pattern.png") center / 720px repeat;
}
.band-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 30px; background: no-repeat center / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40H1200V20C980 2 820 36 580 16 360 0 190 32 0 14Z' fill='%23fffaf1'/%3E%3C/svg%3E"); }
.band-hero-in { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 60em) { .band-hero-in { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 3rem; } }
.band-hero h1 { color: #fff; margin-bottom: .3em; }
.band-intro { font-size: 1.15em; margin: 0; max-width: 36em; }
.jump-dark a { background: transparent; color: #fff; border-color: rgba(255, 215, 102, .8); }
.jump-dark a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.band-photos { position: relative; height: 12rem; max-width: 30rem; width: 100%; }
@media (min-width: 40em) { .band-photos { height: 15rem; } }
@media (min-width: 60em) { .band-photos { height: 17rem; margin-left: auto; } }
.band-snap-1 { width: 62%; aspect-ratio: 4 / 3; left: 0; top: 8%; transform: rotate(-4deg); z-index: 2; }
.band-snap-2 { width: 50%; aspect-ratio: 4 / 3; right: 0; bottom: 0; transform: rotate(4deg); z-index: 1; }
.band-snap-1 img, .band-snap-2 img { height: 100%; }
.page-history .band-snap-1 img, .page-history .band-snap-2 img { filter: sepia(.35); }
@media (prefers-reduced-motion: no-preference) {
  .band-snap-1 { animation: drop-1 .8s .2s cubic-bezier(.2, .8, .3, 1.2) both; }
  .band-snap-2 { animation: drop-b2 .8s .45s cubic-bezier(.2, .8, .3, 1.2) both; }
}
@keyframes drop-b2 { from { opacity: 0; transform: translateY(-40px) rotate(12deg); } to { opacity: 1; transform: rotate(4deg); } }

/* ---------- visit: map card ---------- */
.map-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--line); background: var(--ink); }
.map-card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.map-info { background: var(--card); padding: 1.3rem 1.4rem 1.4rem; }
@media (min-width: 56em) {
  .map-card > img { aspect-ratio: 21 / 9; }
  .map-info { position: absolute; left: 1.5rem; bottom: 1.5rem; max-width: 26rem; border-radius: 12px; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--sun); }
}
.map-info p { margin: 0; }
.map-pin svg { width: 2.4rem; height: 2.4rem; color: var(--red); }
.map-venue { font-family: "Bitter", Georgia, serif; font-weight: 800; font-size: 1.6rem; line-height: 1.2; margin-top: .2rem !important; }
.map-address { font-size: 1.15rem; }
.map-note { color: var(--soft); margin-top: .5rem !important; }
.map-info .btn-row { margin-top: 1rem; }

/* ---------- enter: numbered steps and prize rosettes ---------- */
.steps { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.2rem; counter-reset: none; position: relative; }
@media (min-width: 64em) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 2rem; border-top: 4px dashed var(--sun); z-index: 0; }
}
.step { margin: 0; position: relative; z-index: 1; background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: 4.6rem 1.4rem 1.2rem; }
.step > :last-child { margin-bottom: 0; }
.step-num {
  position: absolute; top: .4rem; left: 1.4rem; width: 4rem; height: 4rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--sun); color: var(--ink); border: 3px solid var(--ink); font-family: "Bitter", Georgia, serif; font-weight: 900; font-size: 2rem;
}
.card.contest { position: relative; padding-top: 1.6rem; }
.card.contest h3 { padding-right: 4.4rem; }
.rosette { position: absolute; top: -.6rem; right: .9rem; width: 3.8rem; height: auto; filter: drop-shadow(0 3px 3px rgba(0,0,0,.2)); }
@media (prefers-reduced-motion: no-preference) {
  .rosette { transform-origin: 50% 0; transition: transform .4s ease; }
  .card.contest:hover .rosette { transform: rotate(-8deg); }
}

/* ---------- get involved: sponsor tiers ---------- */
.tier { position: relative; padding-top: 2.2rem; overflow: hidden; }
.tier::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: .9rem; background: var(--tier); }
.tier h3 { display: inline-flex; align-items: center; gap: .5rem; }
.tier h3::before { content: ""; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--tier); box-shadow: inset 0 -3px 0 rgba(0,0,0,.2), 0 0 0 2px var(--card), 0 0 0 4px var(--tier); }
.tier-bronze { --tier: linear-gradient(135deg, #b8742f, #e0a66a 45%, #8d5420); }
.tier-silver { --tier: linear-gradient(135deg, #8e98a3, #dfe4ea 45%, #7a838d); }
.tier-gold { --tier: linear-gradient(135deg, #c99a12, #ffe08a 45%, #b07f00); }
.tier-platinum { --tier: linear-gradient(135deg, #5d6b7d, #cfd8e3 45%, #4a5666); }

/* ---------- things to do: music ---------- */
.music-card { display: flex; gap: 1rem; align-items: flex-start; }
.music-ic { flex: none; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue); }
.music-ic svg { width: 1.5rem; height: 1.5rem; }
.music-card h3 { margin-bottom: .2rem; }
.music-card p { margin: 0; color: var(--soft); }

/* ---------- history: timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 2rem 0 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 3.1rem; top: .5rem; bottom: .5rem; width: 4px; background: var(--brown); border-radius: 2px; }
.timeline li { position: relative; display: grid; grid-template-columns: 6.2rem 1fr; gap: 1.2rem; align-items: start; margin: 0 0 1.1rem; }
.tl-year {
  position: relative; z-index: 1; justify-self: center; min-width: 5.4rem; text-align: center;
  background: var(--sun); color: var(--ink); border: 3px solid var(--ink); border-radius: 999px;
  font-family: "Bitter", Georgia, serif; font-weight: 900; font-size: 1.2rem; padding: .2rem .6rem;
}
.timeline p { margin: 0; background: var(--card); border: 2px solid var(--line); border-radius: 12px; padding: .7rem 1rem; max-width: 40rem; }
@media (min-width: 56em) {
  .timeline::before { left: 50%; margin-left: -2px; }
  .timeline li { grid-template-columns: 1fr 6.2rem 1fr; }
  .timeline li .tl-year { grid-column: 2; grid-row: 1; }
  .timeline li p { grid-row: 1; }
  .timeline li:nth-child(odd) p { grid-column: 1; justify-self: end; text-align: right; }
  .timeline li:nth-child(even) p { grid-column: 3; }
}

/* ---------- grounds map ---------- */
.map-layout { display: grid; gap: 2rem; align-items: start; grid-template-columns: minmax(0, 1fr); }
.map-layout > * { min-width: 0; } /* lets the wide map scroll inside its box instead of widening the page */
@media (min-width: 56em) { .map-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } .map-frame { position: sticky; top: 1rem; } }
.map-hint { margin: 0 0 .5rem; color: var(--soft); font-style: italic; }
@media (min-width: 56em) { .map-hint { display: none; } }
.map-scroll { overflow-x: auto; border-radius: var(--radius); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--sun); background: var(--ink); }
.map-pic { position: relative; min-width: 46rem; }
@media (min-width: 56em) { .map-pic { min-width: 0; } }
.map-pic > img { width: 100%; display: block; }
.map-road { position: absolute; left: 30%; bottom: 17%; background: rgba(28, 23, 18, .75); color: #fff; font-weight: 700; font-size: .95rem; padding: .1rem .5rem; border-radius: 6px; transform: rotate(-1deg); }
.pin {
  position: absolute; transform: translate(-50%, -50%); width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; padding: 0;
  background: var(--pc, var(--ink)); color: #fff; border: 3px solid #fff; box-shadow: 0 3px 8px rgba(0,0,0,.45);
  font: inherit; font-weight: 700; font-size: 1.15rem;
}
.pin:hover, .pin.active { background: var(--sun); color: var(--ink); border-color: var(--ink); z-index: 2; }
.map-north { margin: .7rem 0 0; color: var(--soft); font-size: 1.05rem; }
.spot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.spot { margin: 0; background: var(--card); border: 2px solid var(--line); border-left: 6px solid var(--pc, var(--ink)); border-radius: 12px; padding: .9rem 1.1rem 1rem; scroll-margin-top: 1rem; transition: box-shadow .3s, border-color .3s; }
.spot.active { border-color: var(--sun); border-left-color: var(--pc, var(--ink)); box-shadow: 0 0 0 4px var(--sun); }
.spot-head { display: flex; align-items: center; gap: .7rem; }
.spot-head h3 { margin: 0; font-size: 1.3rem; }
.spot-num { flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--pc, var(--ink)); color: #fff; font-weight: 700; }
.spot p { margin: .5rem 0 0; color: var(--soft); }
.spot details { margin-top: .6rem; }
.spot summary { cursor: pointer; font-weight: 700; color: var(--blue); min-height: 44px; display: flex; align-items: center; }
.spot-events { list-style: none; padding: 0; margin: .3rem 0 0; display: grid; gap: .2rem; font-size: 1.05rem; }
.spot-events li { margin: 0; }
.spot-events span { font-weight: 700; color: var(--brown); display: inline-block; min-width: 7.5rem; }
.show-on-map { margin-top: .7rem; min-height: 44px; padding: .3rem .9rem; font: inherit; font-weight: 700; color: var(--blue); background: var(--card); border: 2px solid var(--blue); border-radius: 10px; cursor: pointer; }
.show-on-map:hover { background: var(--blue-tint); }
a.place-pill { text-decoration: none; }
a.place-pill:hover { text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) {
  .pin.active { animation: pin-pulse 1.2s ease-out 2; }
  @keyframes pin-pulse { 0% { box-shadow: 0 0 0 0 rgba(245, 180, 0, .9); } 100% { box-shadow: 0 0 0 22px rgba(245, 180, 0, 0); } }
}

/* ---------- prize results ---------- */
.results-tools { padding-block: 2rem 0; }
.search-label { display: block; font-weight: 700; font-size: 1.2rem; margin-bottom: .4rem; }
.search-row input { width: 100%; max-width: 32rem; min-height: 56px; font: inherit; font-size: 1.15rem; padding: .4rem 1rem; border: 2px solid var(--ink); border-radius: 10px; background: var(--card); }
.result-sec { margin-bottom: 2.5rem; scroll-margin-top: 1rem; }
.result-sec > h2 { border-bottom: 4px solid var(--sun); padding-bottom: .4rem; }
.result-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; grid-template-columns: 1fr; }
@media (min-width: 48em) { .result-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 72em) { .result-list { grid-template-columns: repeat(3, 1fr); } }
.result { margin: 0; background: var(--card); border: 2px solid var(--line); border-radius: 12px; padding: .9rem 1.1rem; }
.result h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.places { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.places li { margin: 0; display: flex; align-items: center; gap: .6rem; }
.ribbon { flex: none; min-width: 5.2rem; text-align: center; font-weight: 700; font-size: .95rem; padding: .1rem .5rem; border-radius: 4px; clip-path: polygon(0 0, 100% 0, 92% 50%, 100% 100%, 0 100%); }
.ribbon.r1 { background: #b3261e; color: #fff; }
.ribbon.r2 { background: #1d4f91; color: #fff; }
.ribbon.r3 { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.card.bis { position: relative; }
.card.bis .rosette { top: -.8rem; }
.card.bis h3 { padding-right: 4.4rem; }
.bis-winner { font-weight: 700; font-size: 1.2rem; margin: 0 0 .3rem; }
.result mark, .result-hit { background: var(--sun-tint); }

/* ---------- sponsor wall ---------- */
.sponsors-home .lead { margin-bottom: 1.2rem; }
.sp-thanks { margin-top: 1.5rem; }
.sp-tier { margin: 1.4rem 0 0; }
.sp-tier:last-of-type { margin-bottom: 2rem; }
.sp-tier-name { display: flex; align-items: center; gap: .6rem; font-size: 1.15rem; margin-bottom: .7rem; }
.sp-tier-name::before { content: ""; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--tier); }
.sp-logos { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.sp-platinum { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.sp-gold { grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); }
.sp-silver, .sp-bronze { grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); }
.sp-logos li { margin: 0; }
.sp-logos a, .sp-box { display: grid; place-items: center; height: 100%; min-height: 6rem; padding: .8rem; background: var(--card); border: 2px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); }
.sp-platinum a, .sp-platinum .sp-box { min-height: 8rem; }
.sp-logos a:hover { border-color: var(--blue); }
.sp-logos img { max-height: 5rem; width: auto; max-width: 100%; object-fit: contain; }
.sp-name { font-family: "Bitter", Georgia, serif; font-weight: 800; font-size: 1.15rem; text-align: center; line-height: 1.25; }
.sp-platinum .sp-name { font-size: 1.4rem; }

/* ---------- gallery mosaic and full-screen viewer ---------- */
.mosaic { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .6rem; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 9rem; grid-auto-flow: dense; }
@media (min-width: 48em) { .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 11rem; gap: .8rem; } }
.mosaic li { margin: 0; }
.mosaic li:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic li:nth-child(6), .mosaic li:nth-child(8) { grid-row: span 2; }
/* spans chosen so 12 photos fill whole rows: 2 columns (phone) and 4 columns */
.mosaic li:nth-child(12) { grid-column: span 2; }
@media (min-width: 48em) { .mosaic li:nth-child(7), .mosaic li:nth-child(9) { grid-column: span 2; } }
.mosaic-link { display: block; height: 100%; border-radius: 12px; overflow: hidden; position: relative; border: 3px solid var(--card); box-shadow: 0 6px 18px -8px rgba(50, 30, 5, .45); }
.mosaic-link img { width: 100%; height: 100%; object-fit: cover; }
.mosaic li:nth-child(9) img { object-position: 50% 12%; } /* the cowgirl: keep her hat in view */
.mosaic-link::after { content: "+"; font-family: "Atkinson Hyperlegible", Verdana, sans-serif; position: absolute; right: .5rem; bottom: .5rem; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%; background: rgba(28, 23, 18, .7); color: #fff; font-size: 1.3rem; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .mosaic-link img { transition: transform .5s ease; }
  .mosaic-link:hover img { transform: scale(1.05); }
}
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(15, 11, 7, .96); color: #fff; }
.lightbox::backdrop { background: rgba(15, 11, 7, .9); }
.lb-inner { height: 100%; display: grid; grid-template-rows: auto 1fr auto; gap: .6rem; padding: max(.8rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom)); }
.lb-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lb-count { margin: 0; font-weight: 700; font-size: 1.15rem; }
.lb-fig { margin: 0; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 13rem); object-fit: contain; border-radius: 6px; }
.lb-fig figcaption { color: #f3ede4; font-size: 1.15rem; text-align: center; max-width: 40rem; margin: 0; }
.lb-nav { display: flex; justify-content: center; gap: 1rem; }
.lb-btn { min-height: 56px; min-width: 7.5rem; padding: .5rem 1.2rem; font: inherit; font-weight: 700; font-size: 1.2rem; color: var(--ink); background: var(--sun); border: 0; border-radius: 12px; cursor: pointer; }
.lb-btn:hover { background: #ffd04d; }
.lb-close { background: #fff; }
.lightbox :focus-visible { box-shadow: 0 0 0 7px #fff; }

/* ---------- save the date / reminder ---------- */
.remind-sec { background: linear-gradient(180deg, var(--page), #fdeccb); }
.remind-grid { display: grid; gap: 1.2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 60em) { .remind-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); } .remind-grid > :only-child { grid-column: 1 / -1; max-width: 46rem; } }
.remind-card { position: relative; background: var(--card); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 6px 6px 0 var(--sun); padding: 1.6rem 1.5rem 1.4rem; }
.remind-card h2 { font-size: 1.7rem; margin-bottom: .4rem; }
.remind-ic { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--sun-tint); color: var(--brown); margin-bottom: .8rem; }
.remind-ic svg { width: 1.7rem; height: 1.7rem; }
.remind-small { color: var(--soft); font-size: 1.02rem; margin: .8rem 0 0; }
.remind-form label { display: block; font-weight: 700; margin-bottom: .4rem; }
.remind-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.remind-row input { flex: 1 1 14rem; min-height: 56px; font: inherit; font-size: 1.15rem; padding: .4rem 1rem; border: 2px solid var(--ink); border-radius: 10px; background: #fff; min-width: 0; }
.remind-row .btn { flex: 0 0 auto; }
@media (max-width: 30em) { .remind-row .btn { flex-basis: 100%; } }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.remind-msg { margin: .8rem 0 0; padding: .7rem 1rem; border-radius: 10px; font-weight: 700; }
.remind-msg.ok { background: var(--green-tint); color: var(--green); border: 2px solid var(--green); }
.remind-msg.err { background: var(--red-tint); color: var(--red); border: 2px solid var(--red); }

/* ---------- fair-week weather ---------- */
.weather { background: var(--card); border-bottom: 1px solid var(--line); padding-block: 1.6rem 1.2rem; }
.weather-in { display: grid; gap: .6rem 2rem; }
@media (min-width: 60em) { .weather-in { grid-template-columns: auto 1fr; align-items: center; } .weather h2 { grid-row: span 3; max-width: 9em; } }
.weather h2 { font-size: 1.6rem; margin: 0; }
.wx-days { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40em) { .wx-days { grid-template-columns: 1fr 1fr; } }
.wx-day { margin: 0; display: flex; align-items: center; gap: .9rem; background: var(--page); border: 2px solid var(--line); border-radius: 12px; padding: .7rem 1rem; line-height: 1.4; }
.wx-ic svg { width: 3.4rem; height: 3.4rem; display: block; }
.wx-tip { margin: 0; font-size: 1.15rem; background: var(--sun-tint); border-left: 5px solid var(--sun); padding: .5rem .9rem; border-radius: 6px; }
.wx-src { margin: 0; color: var(--soft); font-size: .95rem; }

/* ---------- after the fair: thank-you card ---------- */
.thanks-card { max-width: 32rem; background: var(--card); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 6px 6px 0 var(--sun); padding: 1.3rem 1.4rem; margin: 0 0 .4rem; }
.thanks-card p { margin: 0 0 .7rem; }
.thanks-big { font-family: "Bitter", Georgia, serif; font-weight: 900; font-size: 1.7rem; line-height: 1.15; color: var(--red); }
.thanks-next { display: flex; gap: .6rem; align-items: flex-start; margin: .9rem 0 0 !important; padding-top: .8rem; border-top: 2px dashed var(--line); font-size: 1.1rem; }
.thanks-next svg { width: 1.5em; height: 1.5em; color: var(--brown); flex: none; }

/* ---------- theme banner ---------- */
.theme-banner {
  position: relative; overflow: hidden; color: #f3ede4; padding-block: 3.4rem 3rem;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 7px),
    linear-gradient(180deg, #24406a, #1b3152);
}
.theme-banner::before { content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(245, 180, 0, .6); border-radius: 14px; pointer-events: none; }
.lasso { position: absolute; left: 0; top: 4px; width: 100%; height: 46px; }
.theme-in { position: relative; display: grid; gap: 1.2rem; align-items: center; justify-items: center; text-align: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 56em) { .theme-in { grid-template-columns: 11rem minmax(0, 1fr) 8rem; gap: 2.5rem; } }
.theme-art { width: 7rem; height: auto; filter: drop-shadow(0 6px 0 rgba(0,0,0,.25)); }
.theme-art.boot { width: 5.5rem; }
@media (max-width: 55.99em) { .theme-art.hat { order: -1; } .theme-art.boot { display: none; } }
@media (min-width: 56em) { .theme-art.hat { width: 11rem; transform: rotate(-10deg); } .theme-art.boot { width: 6.5rem; transform: rotate(8deg); } }
.gem { fill: #fff; stroke: #cfe3ff; stroke-width: .6; }
.theme-kicker { margin: 0; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ffd766; }
.theme-banner h2 { color: #fff; margin: .2rem 0 .6rem; font-size: clamp(2.4rem, 8vw, 4.2rem); font-weight: 900; line-height: 1.05; }
.sparkle-word {
  background: linear-gradient(100deg, #fff 0%, #fff 40%, #ffe9a8 48%, #fff 56%, #fff 100%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.theme-banner h2 { filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .3)); }
.theme-text p:not(.theme-kicker) { font-size: 1.15rem; max-width: 34em; margin: 0 auto 1.2rem; }
.stars-deco i { position: absolute; width: 1.1rem; height: 1.1rem; background: #fff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.stars-deco i:nth-child(1) { left: 6%; top: 10%; }
.stars-deco i:nth-child(2) { right: 8%; top: 18%; width: .8rem; height: .8rem; background: #ffd766; }
.stars-deco i:nth-child(3) { left: 4%; bottom: 6%; width: .7rem; height: .7rem; }
.stars-deco i:nth-child(4) { right: 4%; bottom: 10%; background: #ffd766; }
.stars-deco i:nth-child(5) { left: 50%; top: -6%; width: .7rem; height: .7rem; }
@media (prefers-reduced-motion: no-preference) {
  .sparkle-word { animation: shine 4.5s ease-in-out infinite; }
  .stars-deco i, .gem { animation: twinkle 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .stars-deco i:nth-child(2n), .gem:nth-child(2n) { animation-delay: 1.1s; }
  .stars-deco i:nth-child(3n) { animation-delay: .5s; }
}
@keyframes shine { 0%, 60% { background-position: 100% 0; } 100% { background-position: -50% 0; } }
a.theme-badge { color: #fff; text-decoration: none; }
a.theme-badge:hover { background: #3d2a16; color: #fff; }

/* ---------- people (history) ---------- */
.people { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); list-style: none; padding: 0; margin: 1.5rem 0 0; }
.people li { margin: 0; background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.people img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; width: 100%; filter: grayscale(1); }
.people span { display: block; padding: .8rem 1rem; font-weight: 700; }
.article { max-width: 44rem; }
.article p { margin-bottom: 1.15em; }
.byline { font-style: italic; color: var(--soft); }
figure { margin: 2rem 0; }
figcaption { color: var(--soft); font-size: 1.05rem; margin-top: .6rem; }
figure img { border-radius: var(--radius); }

/* ---------- footer ---------- */
.site-footer { position: relative; background: #2a1d10 url("../img/sunflower-pattern.png") center / 720px repeat; color: #f3ede4; margin-top: 70px; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: rgba(28, 19, 10, .88); pointer-events: none; }
.site-footer > * { position: relative; }
.site-footer a { color: #ffd766; }
.site-footer a:hover { color: #fff; }
.site-footer h2 { color: #fff; }
.site-footer :focus-visible { box-shadow: 0 0 0 7px #fff; }
.footer-hills { position: absolute !important; left: 0; width: 100%; height: 90px; top: -89px; display: block; }
.footer-bunting { display: flex; justify-content: center; overflow: hidden; height: 34px; padding-top: 6px; background: linear-gradient(#5b3a1c, #5b3a1c) center 6px / 100% 3px no-repeat; }
.footer-bunting i { flex: none; width: 26px; height: 26px; margin: 0 4px; clip-path: polygon(0 0, 100% 0, 50% 100%); background: var(--sun); }
.footer-bunting i:nth-child(5n+2) { background: var(--blue); }
.footer-bunting i:nth-child(5n+3) { background: #c62828; }
.footer-bunting i:nth-child(5n+4) { background: #fff3cc; }
.footer-bunting i:nth-child(5n+5) { background: #3d6b52; }

/* Facebook */
.footer-social { display: grid; gap: 1.6rem; align-items: center; padding-block: 2.4rem 2.6rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 60em) { .footer-social { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 3rem; } }
.footer-social h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: .4rem; }
.footer-social p { font-size: 1.15rem; max-width: 30em; }
.fb-btn { background: #1877f2; border-color: #1877f2; color: #fff !important; }
.fb-btn:hover { background: #0f5fcc; border-color: #0f5fcc; }
.fb-card { display: block; background: #fff; color: var(--ink) !important; text-decoration: none; border-radius: 16px; border: 3px solid var(--sun); box-shadow: 6px 6px 0 rgba(0, 0, 0, .35); overflow: hidden; transition: transform .2s ease; }
.fb-card:hover { transform: translateY(-3px); }
.fb-card-head { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.1rem; }
.fb-card-head img { width: 56px; height: 56px; border-radius: 50%; border: 2px solid #1877f2; }
.fb-card-head strong { display: block; font-size: 1.2rem; }
.fb-card-sub { display: inline-flex; align-items: center; gap: .3rem; color: #1877f2; font-weight: 700; }
.fb-card-sub svg { width: 1.1em; height: 1.1em; }
.fb-card-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.fb-card-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.fb-card-cta { display: block; padding: .9rem 1.1rem; font-weight: 700; color: #1877f2; font-size: 1.1rem; }
.fb-posts { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40em) { .fb-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fb-posts li { margin: 0; }
.fb-post { display: flex; flex-direction: column; height: 100%; background: #fff; color: var(--ink) !important; text-decoration: none; border-radius: 12px; overflow: hidden; border: 3px solid var(--sun); }
.fb-post img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fb-post-body { display: flex; flex-direction: column; gap: .4rem; padding: .8rem .9rem 1rem; font-size: 1.02rem; line-height: 1.45; flex: 1; }
.fb-post-when { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; color: #1877f2; font-size: .95rem; }
.fb-post-when svg { width: 1em; height: 1em; }
.fb-post-more { margin-top: auto; font-weight: 700; color: var(--blue); }

/* When / Where / Get in touch */
.footer-cards { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48em) { .footer-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72em) { .footer-cards { grid-template-columns: 1fr 1fr 1.25fr; } }
.fcard { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 215, 102, .3); border-radius: 16px; padding: 1.3rem 1.3rem 1.2rem; }
.fcard-ic { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--sun); color: var(--ink); margin-bottom: .7rem; }
.fcard-ic svg { width: 1.5rem; height: 1.5rem; }
.fcard h2 { font-size: 1.4rem; margin-bottom: .7rem; }
.fcard p { margin: 0 0 .9rem; }
.fdays { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.fdays li { margin: 0; display: flex; align-items: center; gap: .8rem; line-height: 1.35; }
.fday-n { flex: none; width: 3.4rem; text-align: center; background: #fff; color: var(--ink); border-radius: 10px; font-family: "Bitter", Georgia, serif; font-weight: 900; font-size: 1.5rem; line-height: 1; padding: .3rem 0 .4rem; }
.fday-n span { display: block; font-family: "Atkinson Hyperlegible", Verdana, sans-serif; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: .15rem; }
.fcard-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 !important; }
.fpill, .footer-nav a { display: inline-flex; align-items: center; min-height: 48px; padding: .3rem 1rem; border: 2px solid rgba(255, 215, 102, .7); border-radius: 999px; font-weight: 700; text-decoration: none; }
.fpill:hover, .footer-nav a:hover { background: rgba(255, 215, 102, .15); }
.fcontacts { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.fcontacts li { margin: 0; display: flex; flex-direction: column; gap: .15rem; }
.fc-label { font-size: .9rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #cdbfa8; }
.fcontacts a { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; overflow-wrap: anywhere; }
.fcontacts svg { width: 1.1em; height: 1.1em; flex: none; }

.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; padding-block: 2rem 1.6rem; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; border-top: 1px solid rgba(255, 215, 102, .25); padding-block: 1.2rem 1.6rem; font-size: 1.02rem; }
.footer-brand { display: flex; align-items: center; gap: .8rem; margin: 0; }
.footer-brand img { width: 52px; height: 52px; background: #fff; border-radius: 50%; padding: 3px; flex: none; }
.fb-since { color: #cdbfa8; }
.to-top { display: inline-flex; align-items: center; gap: .4rem; min-height: 48px; padding: .3rem 1.1rem; border-radius: 12px; background: var(--sun); color: var(--ink) !important; font-weight: 700; text-decoration: none; }
.to-top:hover { background: #ffd04d; }

/* ---------- print (schedule and other pages) ---------- */
@media print {
  body { font-size: 12pt; background: #fff; }
  .topbar, .site-header, .site-footer, .btn-row, .jump, .filter, .skip, .no-print { display: none !important; }
  .print-title { display: block !important; font-family: "Bitter", Georgia, serif; font-weight: 800; font-size: 15pt; margin: 0 0 6pt; }
  @page { margin: 12mm; }
  .page-head, .section { padding: 0 0 12pt; border: 0; background: #fff; }
  a { color: #000; text-decoration: none; }
  .sched-hero, .sched-tools, .day-switch, .sched-note { display: none !important; }
  .days { display: grid !important; grid-template-columns: 1fr 1fr; gap: 14pt; }
  .day { display: block !important; }
  .day-head { position: static; background: none; color: #000; border: 2px solid #000; padding: 4pt 6pt; }
  .day-head h2, .day-head p { color: #000; font-size: 12pt; }
  .slot { grid-template-columns: 4.5em 1fr; gap: 3pt; padding: 1pt 0; break-inside: avoid; border-bottom: 1px solid #999; }
  .slot ul { gap: 0; }
  .slot-time, .ev-name { font-size: 9pt; padding: 0; line-height: 1.25; }
  .ev { padding: 0 4pt; border-width: 0 0 0 4px; break-inside: avoid; }
  .day-head { margin-bottom: 3pt; }
  .place-pill, .badge { font-size: 8pt; border: 0; padding: 0; background: none; color: #000; }
  .dot { display: none; }
  .ev[hidden], .slot[hidden] { display: none !important; }
}

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
