/* JCTBA modern layer: photo slideshow, photo cards, bands, mosaic, marquee, scroll reveals.
   Brand: walnut #7c4b05, leaf #3d7a1c / #8bc53f, book orange #f4a83d. Text stays 4.5:1+ everywhere:
   words on photographs always sit on a dark shade strong enough for white text. */

:root { --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --nav-h: var(--nav, 72px); --dark: #1f1a15; }
body.home main, body.inner main { padding-top: 0; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--leaf); }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--leaf-light); }
.eyebrow--light { color: #cfe8b0; }
.lead { font-size: clamp(18px, .5vw + 16px, 21px); line-height: 1.6; margin: 0; }
.muted { color: var(--muted); }

/* ---------- buttons on photographs ---------- */
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 18px; }
.btn--ghost-light { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-btn, 8px);
  border: 1.5px solid rgb(255 255 255 / .7); color: #fff; background: rgb(255 255 255 / .06); text-decoration: none; font-weight: 500;
  transition: background-color 150ms ease, transform 160ms var(--ease-out); }
.btn--ghost-light:hover { background: rgb(255 255 255 / .16); }
.btn--ghost-light:active { transform: scale(.97); }

/* =========================================================
   HERO SLIDESHOW
   ========================================================= */
.show { position: relative; margin-top: var(--nav-h); height: min(calc(100svh - var(--nav-h)), 860px); min-height: 560px; overflow: hidden; background: var(--dark); color: #fff; }
.show__track { position: absolute; inset: 0; }
.show__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 900ms ease, visibility 0s linear 900ms; }
.show__slide.is-active { opacity: 1; visibility: visible; transition: opacity 900ms ease, visibility 0s; z-index: 1; }
.show__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 40%; transform: scale(1.06); }
.show__slide.is-active .show__img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.08) translate3d(1.5%, 0, 0); } to { transform: scale(1) translate3d(0, 0, 0); } }
.show__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgb(24 17 10 / .92) 0%, rgb(24 17 10 / .78) 34%, rgb(24 17 10 / .25) 64%, rgb(24 17 10 / .05) 100%),
  linear-gradient(0deg, rgb(24 17 10 / .55) 0%, transparent 35%); }
.show__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 96px; max-width: 1280px; }
.show__content > * { max-width: 640px; }
.show__label { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; margin: 0 0 20px; padding: 8px 14px; border-radius: 99px; background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .25); font-size: 15px; font-weight: 600; }
.show__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf-light); box-shadow: 0 0 0 4px rgb(139 197 63 / .25); }
.show__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 4.6vw + 8px, 80px); line-height: 1.02; letter-spacing: -0.035em; margin: 0; color: #fff; text-wrap: balance; }
.show__text { margin: 22px 0 0; font-size: clamp(18px, .5vw + 16px, 21px); line-height: 1.55; color: rgb(255 255 255 / .92); max-width: 560px; }
.show__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
/* words rise in with each slide */
.show__slide .show__content > * { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); }
.show__slide.is-active .show__content > * { opacity: 1; transform: none; }
.show__slide.is-active .show__content > *:nth-child(2) { transition-delay: 90ms; }
.show__slide.is-active .show__content > *:nth-child(3) { transition-delay: 170ms; }
.show__slide.is-active .show__content > *:nth-child(4) { transition-delay: 240ms; }

.show__controls { position: absolute; z-index: 3; left: 0; right: 0; bottom: 128px; display: flex; align-items: center; justify-content: space-between; gap: 24px; pointer-events: none; }
.show__controls > * { pointer-events: auto; }
.show__dots { display: flex; gap: 10px; }
.show__dot { width: 64px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.show__bar { display: block; width: 100%; height: 4px; border-radius: 4px; background: rgb(255 255 255 / .35); overflow: hidden; }
.show__bar i { display: block; height: 100%; width: 0; background: #fff; }
.show__dot[aria-current="true"] .show__bar i { width: 100%; }
.show.is-playing .show__dot[aria-current="true"] .show__bar i { width: 0; animation: progress var(--show-ms, 7000ms) linear forwards; }
@keyframes progress { to { width: 100%; } }
.show__btns { display: flex; gap: 8px; }
.show__btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / .55); background: rgb(0 0 0 / .25); color: #fff; display: grid; place-items: center; cursor: pointer;
  transition: background-color 150ms ease, transform 160ms var(--ease-out); }
.show__btn:hover { background: rgb(255 255 255 / .18); }
.show__btn:active { transform: scale(.94); }
.show__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.show__btn .i-play { display: none; fill: currentColor; stroke: none; }
.show.is-paused .show__btn .i-pause { display: none; }
.show.is-paused .show__btn .i-play { display: block; }

/* ---------- quick actions, overlapping the slideshow ---------- */
.quick { position: relative; z-index: 4; margin-top: -84px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: var(--bg); border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgb(42 38 34 / .45), 0 0 0 1px rgb(42 38 34 / .06); overflow: hidden; }
.quick__item { display: flex; gap: 16px; align-items: center; padding: 28px 24px; color: var(--ink); text-decoration: none; border-right: 1px solid rgb(42 38 34 / .08); transition: background-color 200ms ease; }
.quick__item:last-child { border-right: 0; }
.quick__item:hover { background: var(--surface); }
.quick__item strong { display: block; font-size: 19px; font-weight: 700; margin-bottom: 2px; }
.quick__item span span { display: block; color: var(--muted); font-size: 16px; line-height: 1.35; }
.quick__icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #eef5e4; color: var(--leaf); transition: transform 200ms var(--ease-out); }
.quick__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.quick__item:hover .quick__icon { transform: translateY(-2px) scale(1.04); }
.quick__item--accent .quick__icon { background: #fbecd4; color: var(--action); }

/* =========================================================
   SECTIONS
   ========================================================= */
.block { padding: clamp(72px, 8vw, 128px) 0; }
.block--tight { padding: 48px 0; }
.block--surface { background: var(--surface); }
.block--dark { background: var(--dark); color: #f7f3ec; }
.block--dark h2, .block--dark h3 { color: #fff; }
.block--dark .lead { color: rgb(247 243 236 / .85); }
.block__head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.block__head h2, .split2 h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 2.6vw + 14px, 54px); line-height: 1.06; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.block__head .lead { margin-top: 16px; }
.block__head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.block__head--split > div { max-width: 720px; }

/* ---------- photo cards ---------- */
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pcard { background: var(--bg); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 0 0 1px rgb(42 38 34 / .08); display: flex; flex-direction: column; transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.pcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.pcard__n { position: absolute; left: 16px; top: 16px; padding: 6px 10px; border-radius: 99px; background: rgb(255 255 255 / .92); color: var(--action); font-weight: 700; font-size: 14px; }
.pcard__body { padding: 24px; display: grid; gap: 10px; }
.pcard h3 { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.pcard p { margin: 0; }
@media (hover: hover) and (pointer: fine) {
  .pcard:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgb(42 38 34 / .45), 0 0 0 1px rgb(42 38 34 / .08); }
  .pcard:hover .pcard__media img { transform: scale(1.05); }
}

/* ---------- photo band with the tagline ---------- */
.band { position: relative; overflow: hidden; min-height: 560px; display: flex; align-items: center; color: #fff; background: var(--dark); }
.band__img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.band__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(24 17 10 / .9), rgb(24 17 10 / .6) 60%, rgb(24 17 10 / .35)); }
.band__content { position: relative; padding: 96px 0; }
.band__quote { font-family: var(--font-display); font-size: clamp(30px, 2.8vw + 12px, 58px); line-height: 1.12; letter-spacing: -0.025em; margin: 0; max-width: 22ch; color: #fff; }
.band__quote strong { color: var(--orange); font-weight: 400; }

/* ---------- steps ---------- */
.steps2 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: s; position: relative; }
.steps2::before { content: ""; position: absolute; top: 32px; left: 32px; right: 32px; height: 2px; background: repeating-linear-gradient(90deg, var(--leaf-light) 0 10px, transparent 10px 18px); }
.step2 { position: relative; display: grid; gap: 12px; padding: 0 8px 0 0; }
.step2__n { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--action); color: #fff; font-family: var(--font-display); font-size: 26px; box-shadow: 0 0 0 8px var(--bg); }
.step2 h3 { margin: 12px 0 0; font-size: 22px; font-weight: 600; }
.step2 p { margin: 0; }

/* ---------- audio on dark ---------- */
.audio3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.block--dark .audio-card { background: #2b241d; border-color: rgb(255 255 255 / .08); color: #f7f3ec; }
.block--dark .audio-card__title { color: #fff; }
.block--dark .audio-card__meta, .block--dark .embed__via { color: rgb(247 243 236 / .7); }
.block--dark .embed__btn { color: #fff; }
.block--dark .player__play { background: var(--orange); color: #2a1a05; }
.block--dark .player__speed { color: #fff; border-color: rgb(255 255 255 / .3); }
.block--dark .transcript summary { color: #fff; }

/* ---------- mosaic ---------- */
.mosaic { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.mosaic__item { overflow: hidden; border-radius: var(--r-md); background: var(--surface); }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-out); }
.mosaic__item--1 { grid-column: span 2; grid-row: span 2; }
.mosaic__item--4 { grid-column: span 2; }
@media (hover: hover) and (pointer: fine) { .mosaic__item:hover img { transform: scale(1.05); } }

/* ---------- photo + text split ---------- */
.split2 { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split2--rev { grid-template-columns: 1fr 1.05fr; }
.split2__media { position: relative; border-radius: var(--r-lg); overflow: visible; }
.split2__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--r-lg); display: block; }
.split2__text { display: grid; gap: 18px; align-content: center; }
.split2__text .btn-row { margin: 8px 0 0; }
.float-badge { position: absolute; left: -20px; bottom: 28px; display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 14px; background: var(--bg); box-shadow: 0 20px 40px -20px rgb(42 38 34 / .5); font-weight: 700; font-size: 16px; }
.float-badge__wave { display: flex; gap: 3px; align-items: center; height: 20px; }
.float-badge__wave i { width: 4px; border-radius: 3px; background: var(--action); height: 40%; animation: bars 1.1s ease-in-out infinite; }
.float-badge__wave i:nth-child(2) { animation-delay: -.2s; } .float-badge__wave i:nth-child(3) { animation-delay: -.45s; } .float-badge__wave i:nth-child(4) { animation-delay: -.7s; } .float-badge__wave i:nth-child(5) { animation-delay: -.9s; }
@keyframes bars { 0%, 100% { height: 30%; } 50% { height: 100%; } }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #eef5e4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%233d7a1c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.bankline { display: grid; gap: 6px; padding: 16px 0; border-top: 1px solid rgb(42 38 34 / .12); }
.bankline__name { font-weight: 700; }
.bankline__row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.bankline__row > span:first-child { color: var(--muted); }
.bankline__row > span:nth-child(2) { font-weight: 600; letter-spacing: .03em; }

/* ---------- partners marquee ---------- */
.marquee { padding: 56px 0; border-top: 1px solid rgb(42 38 34 / .08); border-bottom: 1px solid rgb(42 38 34 / .08); overflow: hidden; }
.marquee .eyebrow { display: flex; }
.marquee__viewport { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 64px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track li { font-family: var(--font-display); font-size: clamp(22px, 1.4vw + 12px, 32px); color: var(--ink); white-space: nowrap; opacity: .8; display: flex; align-items: center; }
.marquee__track img { height: 48px; width: auto; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- press cards ---------- */
.news3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ncard { position: relative; display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: var(--r-lg); background: var(--bg); box-shadow: 0 0 0 1px rgb(42 38 34 / .1); transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.ncard__media { margin: -28px -28px 8px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.ncard__media img { width: 100%; height: 100%; object-fit: cover; }
.ncard__meta { margin: 0; color: var(--muted); font-size: 16px; }
.ncard h3 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 600; }
.ncard h3 a { color: inherit; text-decoration: none; }
.ncard h3 a::after { content: ""; position: absolute; inset: 0; }
.ncard p { margin: 0; }
.ncard__more { display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; color: var(--action); font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .ncard:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgb(42 38 34 / .45), 0 0 0 1px rgb(42 38 34 / .1); } }

/* ---------- closing photo CTA ---------- */
.cta { position: relative; overflow: hidden; color: #fff; background: var(--dark); }
.cta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.cta__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(24 17 10 / .92), rgb(24 17 10 / .7) 55%, rgb(24 17 10 / .3)); }
.cta__content { position: relative; padding: clamp(96px, 10vw, 160px) 0; }
.cta h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 4vw + 12px, 80px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 18px; color: #fff; max-width: 14ch; }
.cta .lead { max-width: 560px; color: rgb(255 255 255 / .9); }

/* ---------- inner page header with photo ---------- */
.pagehead { position: relative; margin-top: var(--nav-h); padding: clamp(72px, 8vw, 120px) 0 clamp(56px, 6vw, 88px); background: var(--surface); }
.pagehead--photo { min-height: 460px; display: flex; align-items: flex-end; color: #fff; background: var(--dark); overflow: hidden; }
.pagehead__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 12s ease-out forwards; }
.pagehead__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgb(24 17 10 / .9) 0%, rgb(24 17 10 / .55) 55%, rgb(24 17 10 / .35) 100%); }
.pagehead__content { position: relative; display: grid; gap: 16px; }
.pagehead h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 4vw + 12px, 76px); line-height: 1.02; letter-spacing: -0.035em; margin: 0; max-width: 18ch; text-wrap: balance; }
.pagehead--photo h1 { color: #fff; }
.pagehead--photo .lead { color: rgb(255 255 255 / .9); }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 16px; }
.crumbs a { color: inherit; opacity: .85; }
.pagehead--photo .crumbs a, .pagehead--photo .crumbs { color: #fff; }

/* =========================================================
   SCROLL REVEAL (added by modern.js; never hides anything without script)
   ========================================================= */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- accessibility modes and reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .show__slide.is-active .show__img, .pagehead__img { animation: none; transform: none; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__track li[aria-hidden] { display: none; }
  .float-badge__wave i { animation: none; height: 70%; }
}
html[data-calm] .js-reveal [data-reveal], html[data-calm] [data-reveal] { opacity: 1 !important; transform: none !important; }
html[data-calm] .marquee__track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
html[data-calm] .marquee__track li[aria-hidden] { display: none; }
html[data-calm] .show__img, html[data-calm] .pagehead__img { animation: none !important; transform: none !important; }
html[data-contrast="high"] .show__shade, html[data-contrast="high"] .band__shade, html[data-contrast="high"] .cta__shade, html[data-contrast="high"] .pagehead__shade { background: rgb(0 0 0 / .88); }
html[data-contrast="high"] .quick, html[data-contrast="high"] .pcard, html[data-contrast="high"] .ncard { background: #000 !important; color: #fff; border: 2px solid #fff; }
html[data-contrast="high"] .block--surface, html[data-contrast="high"] .block--dark, html[data-contrast="high"] .pagehead { background: #000 !important; }
html[data-contrast="high"] .show__title, html[data-contrast="high"] .band__quote, html[data-contrast="high"] .cta h2 { color: #ffd400; }
html[data-contrast="light"] .quick, html[data-contrast="light"] .pcard, html[data-contrast="light"] .ncard { border: 2px solid #000; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick__item:nth-child(2) { border-right: 0; }
  .quick__item:nth-child(-n+2) { border-bottom: 1px solid rgb(42 38 34 / .08); }
}
@media (max-width: 860px) {
  .show { height: auto; min-height: 640px; }
  .show__slide { position: absolute; }
  .show__content { justify-content: flex-end; padding-bottom: 150px; padding-top: 96px; }
  .show__shade { background: linear-gradient(0deg, rgb(24 17 10 / .95) 0%, rgb(24 17 10 / .8) 45%, rgb(24 17 10 / .3) 100%); }
  .show__controls { bottom: 84px; }
  .show__dot { width: 40px; }
  .quick { margin-top: -48px; }
  .audio3, .news3, .steps2 { grid-template-columns: 1fr; }
  .steps2::before { display: none; }
  .split2, .split2--rev { grid-template-columns: 1fr; }
  .split2--rev .split2__media { order: -1; }
  .float-badge { left: 12px; bottom: 12px; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .mosaic__item--1 { grid-column: span 2; }
  .mosaic__item--4 { grid-column: span 1; }
  .band { min-height: 460px; }
}
@media (max-width: 560px) {
  .cards4, .quick { grid-template-columns: 1fr; }
  .quick__item { border-right: 0; border-bottom: 1px solid rgb(42 38 34 / .08); padding: 20px; }
  .show__actions .btn { width: 100%; }
  .show__btns .show__btn:not([data-pause]) { display: none; }
}

/* ---------- release the kit's "one section per screen" sizing: this layout sizes sections by content ---------- */
html body main > :is(section, .section), html body footer.closing { height: auto !important; min-height: 0 !important; padding: 0; display: block; }
html body main > :is(section, .section) > :is(.wrap, .container), html body footer.closing > .wrap { height: auto; display: block; }
html body main > section.block { padding: clamp(72px, 8vw, 128px) 0; }
html body main > section.block--tight { padding: 48px 0; }
html body main > section.marquee { padding: 56px 0; }
html body main > section.show { height: min(calc(100svh - var(--nav-h)), 860px) !important; min-height: 560px !important; }
html body main > section.show > .show__controls { position: absolute; height: auto; display: flex; z-index: 3; }
html body main > section.show .show__content { height: 100%; display: flex; }
html body main > section.band { min-height: 560px !important; display: flex; }
html body main > section.pagehead { padding: clamp(72px, 8vw, 120px) 0 clamp(56px, 6vw, 88px); }
html body main > section.pagehead--photo { min-height: 460px !important; display: flex; }
html body main > nav.quick { display: grid; }
html body footer.closing { padding: 72px 0 32px; }
@media (max-width: 860px) { html body main > section.show { height: auto !important; min-height: 640px !important; } html body main > section.band { min-height: 460px !important; } }
.band__img { inset: -15% 0; height: 130%; }
html body main > section > .wrap.split2 { display: grid !important; }
html body main > section.show > .wrap.show__controls { display: flex !important; flex-direction: row !important; align-items: center; justify-content: space-between; }
html body main > section.show .show__content { flex-direction: column !important; justify-content: center; }
@media (max-width: 860px) { html body main > section > .wrap.split2 { grid-template-columns: 1fr; } html body main > section.show .show__content { justify-content: flex-end; } }
.mosaic__item--5, .mosaic__item--6 { grid-column: span 2; }
html body main > section.section { padding: clamp(64px, 7vw, 112px) 0; }
html body main > section.section.close-type { padding: clamp(80px, 8vw, 128px) 0; }
.frame--photo .frame__img { border-radius: var(--r-lg); width: 100%; height: 100%; object-fit: cover; }

picture { display: contents; }

/* ---------- language switch ---------- */
.lang-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: var(--btn-h, 44px); padding: 0 12px; border-radius: var(--r-btn, 8px);
  border: 1px solid color-mix(in oklab, var(--ink) 18%, transparent); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: .04em;
  transition: background-color 150ms ease, transform 160ms var(--ease-out); }
.lang-btn:hover { background: var(--surface); }
.lang-btn:active { transform: scale(.97); }

/* ---------- footer headings (h2 for screen readers, small to the eye) ---------- */
.site-footer .footer__h { font-family: var(--font-text); font-size: 16px; font-weight: 700; letter-spacing: 0; margin: 0 0 12px; color: var(--ink); }

/* ---------- WhatsApp button ---------- */
.wa-float { position: fixed; z-index: 30; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px;
  border-radius: 99px; background: #1f7a45; color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 12px 30px -10px rgb(0 0 0 / .45);
  transition: transform 200ms var(--ease-out), background-color 150ms ease; }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }
.wa-float:hover { background: #18633a; }
.wa-float:active { transform: scale(.96); }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { width: 56px; padding: 0; justify-content: center; } }
html[data-contrast="high"] .wa-float { background: #ffd400; color: #000; }

/* ---------- activities ---------- */
.evlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.evlist--page { grid-template-columns: 1fr; max-width: 900px; }
.evcard { display: flex; gap: 20px; align-items: flex-start; padding: 24px; border-radius: var(--r-lg); background: var(--bg); box-shadow: 0 0 0 1px rgb(42 38 34 / .1); height: 100%; }
.evcard__date { flex: none; width: 76px; border-radius: 14px; overflow: hidden; text-align: center; background: var(--action); color: #fff; display: grid; }
.evcard__d { font-family: var(--font-display); font-size: 34px; line-height: 1; padding: 12px 0 6px; }
.evcard__m { background: rgb(0 0 0 / .18); font-weight: 700; font-size: 14px; padding: 4px 0; text-transform: lowercase; }
.evcard__body h3 { margin: 0 0 6px; font-size: 21px; font-weight: 600; line-height: 1.25; }
.evcard__meta { margin: 0 0 8px; color: var(--muted); font-size: 16px; }
.evcard__desc p { margin: 0; }
.evlist--past .evcard__date { background: var(--muted); }
@media (max-width: 860px) { .evlist { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faqwrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
html body main > section > .wrap.faqwrap { display: grid !important; }
.faqlist { display: grid; gap: 12px; }
.faqi { background: var(--bg); border-radius: var(--r-md); box-shadow: 0 0 0 1px rgb(42 38 34 / .1); }
.faqi summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; min-height: 64px; }
.faqi summary::-webkit-details-marker { display: none; }
.faqi summary h3 { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.3; }
.faqi summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #eef5e4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%233d7a1c' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform 200ms var(--ease-out); }
.faqi[open] summary::after { transform: rotate(45deg); }
.faqi__a { padding: 0 24px 22px; }
.faqi__a p { margin: 0; }
@media (max-width: 860px) { html body main > section > .wrap.faqwrap { grid-template-columns: 1fr; gap: 0; } }

/* ---------- online giving ---------- */
.give-online { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 32px; border-radius: var(--r-lg); background: var(--bg); box-shadow: 0 0 0 1px rgb(42 38 34 / .1); }
.give-online__qr { display: grid; gap: 8px; justify-items: center; text-align: center; max-width: 220px; font-size: 15px; color: var(--muted); }
.give-online__qr img { width: 180px; height: 180px; object-fit: contain; background: #fff; border-radius: 12px; padding: 8px; }
@media (max-width: 760px) { .give-online { grid-template-columns: 1fr; } }
.contact-card--wa .contact-card__big { color: #1f7a45; }

/* ---------- president's message ---------- */
html body main > section.president { padding: clamp(80px, 8vw, 128px) 0; background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%); }
.pres { display: grid; grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.pres__portrait { margin: 0; position: relative; }
.pres__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--surface); box-shadow: 0 30px 60px -30px rgb(42 38 34 / .5); }
.pres__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.pres__photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: linear-gradient(90deg, var(--trunk), var(--orange), var(--leaf-light)); }
.pres__photo--initials { display: grid; place-items: center; background: linear-gradient(145deg, #8a5a1c, var(--action)); }
.pres__photo--initials span { font-family: var(--font-display); font-size: clamp(88px, 9vw, 140px); color: rgb(255 255 255 / .92); letter-spacing: -0.04em; }
.pres__portrait::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: 24px; border: 2px solid var(--leaf-light); z-index: -1; }
.pres__id { position: absolute; left: 20px; right: 20px; bottom: 24px; padding: 16px 18px; border-radius: 14px; background: rgb(255 255 255 / .94); box-shadow: 0 12px 30px -16px rgb(0 0 0 / .4); display: grid; gap: 2px; }
.pres__name { font-weight: 700; font-size: 19px; color: var(--ink); }
.pres__role { color: var(--muted); font-size: 15px; }
.pres__text h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 2.6vw + 14px, 52px); line-height: 1.06; letter-spacing: -0.03em; margin: 0 0 28px; }
.pres__quote { position: relative; margin: 0; padding: 8px 0 0 0; }
.pres__quote::before { content: "“"; position: absolute; left: -8px; top: -52px; font-family: Georgia, serif; font-size: 140px; line-height: 1; color: var(--orange); opacity: .55; pointer-events: none; }
.pres__quote p { position: relative; font-size: clamp(19px, .5vw + 17px, 22px); line-height: 1.7; margin: 0 0 18px; max-width: 60ch; }
.pres__quote p:first-child { font-size: clamp(21px, .8vw + 17px, 26px); line-height: 1.5; color: var(--ink); }
.pres__sign { display: grid; gap: 2px; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid rgb(42 38 34 / .12); max-width: 60ch; }
.pres__sig { font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 34px; color: var(--action); line-height: 1.1; }
.pres__signrole { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) {
  .pres { grid-template-columns: 1fr; }
  .pres__portrait { max-width: 380px; margin-inline: auto; width: 100%; }
  .pres__portrait::before { inset: 16px -12px -12px 16px; }
}
html[data-contrast="high"] .pres__id { background: #000; border: 2px solid #fff; }
html[data-contrast="high"] .pres__name { color: #ffd400; }

/* ---- News photos ---- */
.nph { width: 100%; height: 100%; min-height: 100%; display: grid; place-items: center; gap: 10px; align-content: center; background: radial-gradient(120% 90% at 20% 10%, #9a6410 0%, var(--walnut, #7c4b05) 45%, #4a2d03 100%); color: #fff; text-align: center; padding: 24px; }
.nph__mark { width: 64px; height: auto; opacity: .9; filter: brightness(0) invert(1); }
.nph__src { font-family: var(--font-display, inherit); font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.ncard__media { background: #efe7da; }
.ncard__media > *, .ncard__media picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ncard__media img { transition: transform 600ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .ncard:hover .ncard__media img:not(.nph__mark) { transform: scale(1.04); } }
.ncard__h { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 600; }
.ncard__h a { color: inherit; text-decoration: none; }
.ncard__h a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ncard__h a:focus-visible { outline: none; }
.ncard:has(a:focus-visible) { box-shadow: 0 0 0 3px var(--walnut, #7c4b05); }
.nlead { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--bg); box-shadow: 0 0 0 1px rgb(42 38 34 / .1), 0 24px 48px -32px rgb(42 38 34 / .35); margin-bottom: 48px; }
.nlead__media { aspect-ratio: 16 / 10; overflow: hidden; background: #efe7da; }
.nlead__media > *, .nlead__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nlead__media img:not(.nph__mark) { transition: transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nlead:hover .nlead__media img:not(.nph__mark) { transform: scale(1.03); } }
.nlead__body { display: grid; gap: 16px; align-content: center; padding: clamp(28px, 4vw, 56px); }
.nlead__body p { margin: 0; }
.nlead__tag { display: inline-block; padding: 2px 10px; border-radius: 99px; background: var(--leaf, #3d7a1c); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-right: 6px; }
.nlead__title { margin: 0; font-size: clamp(26px, 1.4vw + 18px, 38px); line-height: 1.15; font-weight: 600; }
.nlead__title a { color: inherit; text-decoration: none; }
.nlead__title a::after { content: ""; position: absolute; inset: 0; }
.nlead:has(a:focus-visible) { box-shadow: 0 0 0 3px var(--walnut, #7c4b05); }
.nlead__title a:focus-visible { outline: none; }
.ngrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ngrid > li { display: grid; }
@media (max-width: 1099px) { .ngrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) { .nlead { grid-template-columns: 1fr; } }
@media (max-width: 699px) { .ngrid { grid-template-columns: 1fr; } }
.art-photo { margin: 0 0 8px; }
.art-photo__frame { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: #efe7da; box-shadow: 0 30px 60px -40px rgb(42 38 34 / .45); }
.art-photo__frame > *, .art-photo__frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.art-photo__cap { margin-top: 12px; color: var(--muted); font-size: 15px; }
.art-body { max-width: 72ch; margin-inline: auto; }
.art-back { margin-top: 40px; }
@media (prefers-reduced-motion: reduce) { .ncard__media img, .nlead__media img { transition: none; } }
.ncard__media .nph .nph__mark, .nlead__media .nph .nph__mark { width: 72px; height: auto; object-fit: contain; transform: none; }

/* ---- Latest news pop-up card (home) ---- */
.npop { position: fixed; z-index: 90; left: 24px; bottom: 24px; width: min(420px, calc(100vw - 32px)); opacity: 0; transform: translateY(24px) scale(.97); transform-origin: bottom left; transition: opacity 320ms var(--ease-out), transform 420ms var(--ease-out); pointer-events: none; }
.npop.is-in { opacity: 1; transform: none; pointer-events: auto; }
.npop[hidden] { display: none; }
.npop__card { position: relative; overflow: hidden; border-radius: 20px; background: var(--bg, #fbf7f0); box-shadow: 0 0 0 1px rgb(42 38 34 / .08), 0 30px 70px -20px rgb(42 38 34 / .45); }
.npop__card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; z-index: 2; background: linear-gradient(90deg, var(--walnut, #7c4b05), #f4a83d 50%, #8bc53f); }
.npop__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #2a1c06; }
.npop__media > :not(.npop__badge), .npop__media img:not(.nph__mark) { display: block; width: 100%; height: 100%; object-fit: cover; }
.npop__media .nph__mark { width: 64px; }
.npop__badge { position: absolute; left: 14px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 99px; background: rgb(255 255 255 / .94); color: #2a2622; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 6px 16px -6px rgb(0 0 0 / .35); }
.npop__pulse { width: 8px; height: 8px; border-radius: 50%; background: #d9361c; box-shadow: 0 0 0 0 rgb(217 54 28 / .6); animation: npop-pulse 1.8s ease-out infinite; }
@keyframes npop-pulse { 70% { box-shadow: 0 0 0 9px rgb(217 54 28 / 0); } 100% { box-shadow: 0 0 0 0 rgb(217 54 28 / 0); } }
.npop__x { position: absolute; z-index: 3; right: 12px; top: 14px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgb(20 14 6 / .55); color: #fff; cursor: pointer; backdrop-filter: blur(6px); transition: background 200ms ease, transform 160ms var(--ease-out); }
.npop__x:hover { background: rgb(20 14 6 / .8); } .npop__x:active { transform: scale(.94); }
.npop__x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.npop__body { display: grid; gap: 10px; padding: 20px 22px 22px; }
.npop__meta { margin: 0; color: var(--muted); font-size: 14px; }
.npop__h { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 700; }
.npop__text { margin: 0; font-size: 16px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.npop__actions { display: flex; align-items: center; gap: 16px; margin-top: 6px; }
.npop__later { border: 0; background: none; padding: 10px 4px; font: inherit; font-size: 16px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.npop__later:hover { color: var(--ink); }
@media (max-width: 599px) { .npop { left: 16px; right: 16px; bottom: 16px; width: auto; } .npop__media { aspect-ratio: 2 / 1; } .npop__h { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { .npop { transition: opacity 200ms linear; transform: none; } .npop__pulse { animation: none; } }
html[data-calm] .npop, html[data-calm] .npop__pulse { transition: none; animation: none; transform: none; }

/* ---- Article poster + lightbox ---- */
.art-grid { display: grid; gap: 48px; }
.art-grid--poster { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
.art-grid--poster .art-body { margin-inline: 0; }
@media (max-width: 999px) { .art-grid--poster { grid-template-columns: 1fr; } .poster { max-width: 420px; } }
.poster { position: sticky; top: 100px; display: grid; gap: 14px; }
.poster__h { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.poster__thumb { position: relative; display: block; border-radius: 16px; overflow: hidden; background: #efe7da; box-shadow: 0 0 0 1px rgb(42 38 34 / .1), 0 24px 50px -28px rgb(42 38 34 / .5); transform: rotate(-1.2deg); transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.poster__thumb img { display: block; width: 100%; height: auto; }
.poster__zoom { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; background: rgb(20 14 6 / .78); color: #fff; font-size: 15px; font-weight: 600; white-space: nowrap; backdrop-filter: blur(6px); }
.poster__zoom svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (hover: hover) and (pointer: fine) { .poster__thumb:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 0 0 1px rgb(42 38 34 / .1), 0 34px 60px -28px rgb(42 38 34 / .6); } }
.poster__thumb:focus-visible { outline: 3px solid var(--walnut, #7c4b05); outline-offset: 4px; }
.poster__dl { justify-self: start; font-size: 16px; }
.npop__poster { font-size: 16px; font-weight: 600; color: var(--walnut, #7c4b05); text-decoration: underline; text-underline-offset: 4px; padding: 10px 2px; }
.lbx { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(14 10 4 / .92); color: #fff; opacity: 0; transition: opacity 200ms ease; display: none; }
.lbx[open] { display: grid; grid-template-rows: auto 1fr; }
.lbx.is-in { opacity: 1; }
.lbx::backdrop { background: transparent; }
.lbx-open { overflow: hidden; }
.lbx__bar { display: flex; align-items: center; gap: 20px; padding: 14px 18px 14px 24px; }
.lbx__cap { margin: 0; flex: 1; font-weight: 600; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lbx__full { color: #fff; font-size: 15px; text-underline-offset: 4px; opacity: .85; }
.lbx__x { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgb(255 255 255 / .12); color: #fff; cursor: pointer; transition: background 200ms ease, transform 160ms var(--ease-out); }
.lbx__x:hover { background: rgb(255 255 255 / .22); } .lbx__x:active { transform: scale(.94); }
.lbx__x svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.lbx__stage { display: grid; place-items: center; overflow: auto; padding: 0 16px 24px; }
.lbx__img { max-width: min(100%, 1100px); max-height: calc(100dvh - 100px); width: auto; height: auto; border-radius: 10px; box-shadow: 0 40px 80px -30px #000; cursor: zoom-in; transform: scale(.96); transition: transform 260ms var(--ease-out); }
.lbx.is-in .lbx__img { transform: none; }
.lbx.is-zoom .lbx__img { max-height: none; max-width: none; width: min(1600px, 180vw); cursor: zoom-out; }
.lbx.is-zoom .lbx__stage { place-items: start center; }
@media (max-width: 599px) { .lbx__full { display: none; } }
@media (prefers-reduced-motion: reduce) { .lbx, .lbx__img, .poster__thumb { transition: none; transform: none; } }

/* ---- Article mini gallery ---- */
.agal { padding-top: 0; }
.agal__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; padding-top: 32px; border-top: 1px solid rgb(42 38 34 / .12); }
.agal__head h2 { margin: 0; font-size: clamp(24px, 1vw + 18px, 32px); }
.agal__head p { margin: 0; }
.agal__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; }
.agal__grid--1 { grid-template-columns: 1fr; grid-auto-rows: 460px; }
.agal__grid--2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 360px; }
.agal__grid--3 { grid-template-columns: 2fr 1fr; grid-auto-rows: 220px; }
.agal__grid--3 .agal__item:first-child { grid-row: span 2; }
.agal__grid--4 .agal__item:first-child, .agal__grid--5 .agal__item:first-child { grid-column: span 2; grid-row: span 2; }
.agal__item { position: relative; border-radius: 14px; overflow: hidden; background: #efe7da; }
.agal__item a { display: block; width: 100%; height: 100%; }
.agal__item picture, .agal__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.agal__item img { transition: transform 600ms var(--ease-out), filter 300ms ease; }
.agal__zoom { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgb(20 14 6 / .6); color: #fff; opacity: 0; transform: scale(.9); transition: opacity 200ms ease, transform 200ms var(--ease-out); backdrop-filter: blur(6px); }
.agal__zoom svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .agal__item a:hover img { transform: scale(1.04); } .agal__item a:hover .agal__zoom { opacity: 1; transform: none; } }
.agal__item a:focus-visible { outline: 3px solid var(--walnut, #7c4b05); outline-offset: -3px; }
.agal__item a:focus-visible .agal__zoom { opacity: 1; transform: none; }
@media (max-width: 899px) { .agal__grid, .agal__grid--3 { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } .agal__grid--1 { grid-template-columns: 1fr; grid-auto-rows: 260px; } .agal__grid--2 { grid-auto-rows: 200px; } .agal__grid .agal__item:first-child { grid-column: span 2; grid-row: span 2; } .agal__grid--2 .agal__item:first-child { grid-column: auto; grid-row: auto; } }
.nbadge { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: rgb(20 14 6 / .7); color: #fff; font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); }
.nbadge svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ncard__media, .nlead__media { position: relative; }
.ncard__media .nbadge, .nlead__media .nbadge { width: auto; height: auto; }
/* lightbox set navigation */
.lbx__stage { position: relative; }
.lbx__count { font-size: 15px; font-variant-numeric: tabular-nums; opacity: .8; }
.lbx__nav { position: absolute; top: 50%; z-index: 2; width: 56px; height: 56px; margin-top: -28px; display: none; place-items: center; border: 0; border-radius: 50%; background: rgb(255 255 255 / .14); color: #fff; cursor: pointer; transition: background 200ms ease, transform 160ms var(--ease-out); }
.lbx.is-set .lbx__nav { display: grid; }
.lbx__nav--prev { left: 20px; } .lbx__nav--next { right: 20px; }
.lbx__nav:hover { background: rgb(255 255 255 / .26); } .lbx__nav:active { transform: scale(.94); }
.lbx__nav svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lbx__nav:focus-visible, .lbx__x:focus-visible { outline: 3px solid #f4a83d; outline-offset: 2px; }
.lbx.is-set .lbx__img { cursor: default; max-width: min(calc(100% - 150px), 1300px); }
.lbx__img { transition: transform 260ms var(--ease-out), opacity 160ms ease; }
.lbx.is-swap .lbx__img { opacity: .35; }
@media (max-width: 599px) { .lbx__nav { top: auto; bottom: 18px; margin-top: 0; width: 52px; height: 52px; background: rgb(255 255 255 / .2); } .lbx.is-set .lbx__img { max-width: 100%; max-height: calc(100dvh - 180px); } .lbx.is-set .lbx__stage { padding-bottom: 90px; } }
.art-photo { position: relative; z-index: 1; margin-top: -50px; }
.agal__grid--4 .agal__item:last-child { grid-column: span 2; }
@media (max-width: 899px) { .agal__grid--4 .agal__item:last-child { grid-column: span 2; } .agal__grid--4 .agal__item:nth-child(2), .agal__grid--4 .agal__item:nth-child(3) { grid-column: auto; } }

/* ---- Activities: photo cards and activity page ---- */
.evcard { position: relative; }
.evcard h3 a { color: inherit; text-decoration: none; }
.evcard h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.evcard:has(h3 a:focus-visible) { box-shadow: 0 0 0 3px var(--walnut, #7c4b05); }
.evcard h3 a:focus-visible { outline: none; }
.evcard .ncard__more { margin-top: 10px; display: inline-flex; }
.evcard__desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.evcard--photo { flex-direction: column; gap: 0; padding: 0; overflow: hidden; }
.evcard--photo .evcard__body { padding: 20px 24px 24px; }
.evcard__media { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #efe7da; }
.evcard__media picture, .evcard__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.evcard__media img { transition: transform 600ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .evcard--photo:hover .evcard__media img { transform: scale(1.04); } }
.evcard__media .evcard__date { position: absolute; left: 16px; top: 16px; box-shadow: 0 10px 24px -10px rgb(0 0 0 / .5); }
.evfacts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 22px 0 0; }
.evfacts div { display: grid; gap: 2px; }
.evfacts dt { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--leaf, #3d7a1c); }
.evfacts dd { margin: 0; font-size: clamp(18px, .4vw + 16px, 21px); font-weight: 500; }
.pagehead .btn-row { margin-top: 26px; }

/* ---- Activity "ticket" cards ---- */
.evlist > li { display: grid; container-type: inline-size; }
.evlist--page { max-width: none; gap: 28px; }
.evt { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 22px; overflow: hidden; background: var(--bg, #fbf7f0); box-shadow: 0 0 0 1px rgb(42 38 34 / .09), 0 18px 40px -30px rgb(42 38 34 / .45); transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .evt:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgb(42 38 34 / .1), 0 30px 60px -32px rgb(42 38 34 / .55); } }
.evt:has(.evt__title a:focus-visible) { box-shadow: 0 0 0 3px var(--walnut, #7c4b05); }
.evt__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, #8a5a12, #4a2d03); isolation: isolate; }
.evt__backdrop { position: absolute; inset: -30px; z-index: -1; background-size: cover; background-position: center; filter: blur(28px) saturate(1.2) brightness(.7); transform: scale(1.1); }
.evt__media picture { display: contents; }
.evt__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 18px 18px 18px 96px; filter: drop-shadow(0 18px 30px rgb(0 0 0 / .45)); transition: transform 600ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .evt:hover .evt__img { transform: scale(1.03); } }
.evt__mark { position: absolute; right: 24px; bottom: 18px; width: 96px; opacity: .9; filter: brightness(0) invert(1); }
.evt__tile { position: absolute; left: 16px; top: 16px; display: grid; justify-items: center; min-width: 66px; padding: 8px 10px 9px; border-radius: 16px; background: #fffaf2; color: #2a2622; text-align: center; line-height: 1; box-shadow: 0 14px 28px -12px rgb(0 0 0 / .55); }
.evt__tile::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; border-radius: 16px 16px 0 0; background: linear-gradient(90deg, var(--walnut, #7c4b05), #f4a83d); }
.evt__wd { margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--leaf, #3d7a1c); }
.evt__day { margin: 6px 0 4px; font-family: var(--font-display, inherit); font-size: 30px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.evt__mon { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #5a5048; }
.evt__body { display: grid; align-content: start; gap: 12px; padding: 22px 24px 24px; }
.evt__status { margin: 0; display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 4px 12px 4px 10px; border-radius: 99px; font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; background: #efe7da; color: #5a4a36; }
.evt__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.evt--soon .evt__status, .evt--later .evt__status { background: #fdf0dc; color: #7c4b05; }
.evt--live .evt__status { background: #e3f1da; color: #2e6114; }
.evt--live .evt__dot { box-shadow: 0 0 0 0 rgb(61 122 28 / .55); animation: evt-pulse 1.8s ease-out infinite; }
@keyframes evt-pulse { 70% { box-shadow: 0 0 0 8px rgb(61 122 28 / 0); } 100% { box-shadow: 0 0 0 0 rgb(61 122 28 / 0); } }
.evt__title { margin: 0; font-size: clamp(21px, .6vw + 18px, 26px); line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.evt__title a { color: inherit; text-decoration: none; }
.evt__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.evt__title a:focus-visible { outline: none; }
.evt__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 16px; }
.evt__facts li { display: flex; align-items: flex-start; gap: 10px; }
.evt__facts .ico { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--leaf, #3d7a1c); }
.ico { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.evt__text { margin: 0; color: #4a4038; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.evt__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 6px; padding-top: 16px; border-top: 1px dashed rgb(42 38 34 / .18); }
.evt__more { font-weight: 700; color: var(--walnut, #7c4b05); display: inline-flex; align-items: center; gap: 6px; }
.evt__chips { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.evt__chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: #f3ece1; font-size: 14px; color: #4a4038; }
.evt__chip .ico { width: 16px; height: 16px; }
.evt__cal { position: relative; z-index: 2; margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid rgb(42 38 34 / .18); background: #fffaf2; color: inherit; font-size: 15px; font-weight: 600; text-decoration: none; transition: background 200ms ease, transform 160ms var(--ease-out); }
.evt__cal:hover { background: #fff; } .evt__cal:active { transform: scale(.97); }
.evt__cal:focus-visible { outline: 3px solid var(--walnut, #7c4b05); outline-offset: 2px; }
.evt__cal .ico { width: 18px; height: 18px; }
.evt--past .evt__media { filter: grayscale(.6); }
.evt--past .evt__tile::before { background: #8a8078; }
/* wide card (Activities page): photo left, ticket right, with a perforated edge */
@container (min-width: 640px) {
  .evt { grid-template-rows: none; grid-template-columns: minmax(260px, 42%) 1fr; }
  .evt__media { aspect-ratio: auto; min-height: 340px; }
  .evt__img { padding: 22px 22px 22px 104px; }
  .evt__body { padding: 30px 34px 30px 38px; align-content: center; }
  .evt__body::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(42% - 1px); width: 2px; background: radial-gradient(circle, var(--bg, #fbf7f0) 3px, transparent 3.5px) 0 0 / 2px 14px repeat-y; }
  .evt__title { font-size: clamp(24px, 1vw + 18px, 30px); }
  .evt__tile { left: 20px; top: 20px; min-width: 76px; }
  .evt__day { font-size: 34px; }
}
/* narrow cards (home page columns): poster fills the frame */
@container (max-width: 639px) {
  .evt__img { padding: 14px 14px 14px 92px; }
}
.block--surface .evt { background: #fffaf2; }
@media (prefers-reduced-motion: reduce) { .evt, .evt__img { transition: none; } .evt--live .evt__dot { animation: none; } }
html[data-calm] .evt, html[data-calm] .evt__img { transition: none; transform: none; } html[data-calm] .evt--live .evt__dot { animation: none; }

.evt--wide .evt__img { object-fit: cover; padding: 0; filter: none; }
.evt__chips { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.evt__foot { justify-content: space-between; }
.evt__cal { margin-left: 0; }
@container (min-width: 640px) { .evt--wide .evt__img { padding: 0; } }
@container (max-width: 639px) { .evt--wide .evt__img { padding: 0; } }

/* ================= Footer (walnut, modern) ================= */
html body footer.closing.xf { position: relative; overflow: hidden; padding: 0 0 28px; background: #1e1408; color: #efe4d3; isolation: isolate; }
.xf::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, #7c4b05, #bf791a 30%, #f4a83d 55%, #8bc53f 80%, #3d7a1c); }
.xf__glow { position: absolute; z-index: -1; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgb(191 121 26 / .28), transparent 70%); pointer-events: none; }
.xf a { color: inherit; }
.xf__top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px 64px; align-items: center; padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid rgb(239 228 211 / .14); }
.xf__brand { display: flex; align-items: center; gap: clamp(20px, 3vw, 36px); }
.xf__badge { flex: none; display: grid; place-items: center; width: clamp(112px, 12vw, 150px); aspect-ratio: 1; border-radius: 28px; background: #fbf5ea; box-shadow: 0 24px 50px -24px rgb(0 0 0 / .7), inset 0 0 0 1px rgb(124 75 5 / .15); transform: rotate(-3deg); transition: transform 400ms var(--ease-out); }
.xf__badge img { width: 78%; height: auto; display: block; }
@media (hover: hover) and (pointer: fine) { .xf__badge:hover { transform: rotate(0) scale(1.03); } }
.xf__badge:focus-visible { outline: 3px solid #f4a83d; outline-offset: 4px; }
.xf__tag { margin: 0; font-family: var(--font-display, inherit); font-size: clamp(34px, 2.6vw + 18px, 58px); line-height: 1.02; font-weight: 600; letter-spacing: -.025em; color: #fff7ec; }
.xf__tag em { font-style: normal; color: #f4a83d; }
.xf__lede { margin: 14px 0 0; max-width: 42ch; font-size: 17px; line-height: 1.55; color: #d9cbb6; }
.xf__cta { display: grid; gap: 14px; }
.xf__act { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 18px 22px; border-radius: 18px; border: 1px solid rgb(239 228 211 / .22); background: rgb(255 255 255 / .03); text-decoration: none; transition: background 250ms ease, border-color 250ms ease, transform 200ms var(--ease-out); }
.xf__act-k { grid-column: 1; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #c9b89f; }
.xf__act-t { grid-column: 1; font-family: var(--font-display, inherit); font-size: 22px; font-weight: 600; color: #fff7ec; }
.xf__act > svg { grid-column: 2; grid-row: 1 / span 2; width: 22px; height: 22px; transition: transform 250ms var(--ease-out); }
.xf__act--main { background: #f4a83d; border-color: #f4a83d; }
.xf__act--main .xf__act-k { color: #5a3a08; } .xf__act--main .xf__act-t, .xf__act--main > svg { color: #2a1a04; }
@media (hover: hover) and (pointer: fine) { .xf__act:hover { border-color: rgb(239 228 211 / .45); background: rgb(255 255 255 / .07); } .xf__act--main:hover { background: #f7b856; } .xf__act:hover > svg { transform: translateX(4px); } }
.xf__act:active { transform: scale(.98); }
.xf__act:focus-visible, .xf a:focus-visible { outline: 3px solid #f4a83d; outline-offset: 3px; border-radius: 8px; }
.xf__grid { display: grid; grid-template-columns: 1.25fr 1.25fr 1fr 1fr; gap: 40px; padding: clamp(40px, 5vw, 64px) 0; }
.xf__h { margin: 0 0 18px; font-family: var(--font-text); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #a8c98c; }
.xf__open { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 5px 12px 5px 10px; border-radius: 99px; font-size: 14px; font-weight: 700; background: rgb(255 255 255 / .08); color: #efe4d3; }
.xf__dot { width: 8px; height: 8px; border-radius: 50%; background: #c9b89f; }
.xf__open--open { background: rgb(139 197 63 / .16); color: #cfe9b4; }
.xf__open--open .xf__dot { background: #8bc53f; box-shadow: 0 0 0 0 rgb(139 197 63 / .6); animation: xf-pulse 2s ease-out infinite; }
@keyframes xf-pulse { 70% { box-shadow: 0 0 0 8px rgb(139 197 63 / 0); } 100% { box-shadow: 0 0 0 0 rgb(139 197 63 / 0); } }
.xf__addr { font-style: normal; font-size: 18px; line-height: 1.45; color: #fff7ec; }
.xf__hours { margin: 16px 0 18px; display: grid; gap: 6px; font-size: 16px; }
.xf__hours div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 6px; border-bottom: 1px dashed rgb(239 228 211 / .16); max-width: 300px; }
.xf__hours dt { color: #c9b89f; } .xf__hours dd { margin: 0; font-variant-numeric: tabular-nums; color: #fff7ec; }
.xf__ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.xf__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: #f4a83d !important; text-decoration: none; }
.xf__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.xf__list, .xf__nav, .xf__social, .xf__legal { list-style: none; margin: 0; padding: 0; }
.xf__list { display: grid; gap: 10px; }
.xf__line { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 8px 14px 8px 8px; border-radius: 14px; text-decoration: none; transition: background 200ms ease; }
.xf__line .xf__ico { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgb(244 168 61 / .14); color: #f4a83d; }
.xf__line > span { display: grid; font-size: 17px; color: #fff7ec; word-break: break-word; }
.xf__k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #c9b89f; }
@media (hover: hover) and (pointer: fine) { .xf__line:hover { background: rgb(255 255 255 / .06); } }
.xf__nav { display: grid; gap: 4px; }
.xf__nav a { display: inline-flex; align-items: center; min-height: 40px; font-size: 17px; text-decoration: none; color: #efe4d3; background: linear-gradient(#f4a83d, #f4a83d) 0 85% / 0 2px no-repeat; transition: background-size 250ms var(--ease-out), color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .xf__nav a:hover { color: #fff; background-size: 100% 2px; } }
.xf__social { display: flex; flex-wrap: wrap; gap: 10px; }
.xf__social a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgb(239 228 211 / .25); color: #fff7ec; transition: background 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .xf__social a:hover { background: #f4a83d; border-color: #f4a83d; color: #2a1a04; } }
.xf__social a:active { transform: scale(.94); }
.xf__small { margin: 14px 0 0; font-size: 15px; color: #c9b89f; max-width: 28ch; }
.xf__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 24px; border-top: 1px solid rgb(239 228 211 / .14); font-size: 15px; color: #c9b89f; }
.xf__bar p { margin: 0; }
.xf__legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.xf__legal a, .xf__credit a { color: #efe4d3; text-decoration: none; } .xf__legal a:hover, .xf__credit a:hover { text-decoration: underline; text-underline-offset: 3px; }
.xf__credit { margin-left: auto !important; }
.xf__top-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid rgb(239 228 211 / .25); color: #efe4d3 !important; text-decoration: none; font-weight: 600; transition: background 200ms ease; }
.xf__top-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.xf__top-btn:hover { background: rgb(255 255 255 / .08); }
.xf__mark { position: absolute; z-index: -1; left: 50%; bottom: -0.2em; transform: translateX(-50%); font-family: var(--font-display, inherit); font-weight: 800; font-size: clamp(120px, 24vw, 380px); line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgb(239 228 211 / .07); white-space: nowrap; pointer-events: none; user-select: none; }
@media (max-width: 1099px) { .xf__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 899px) { .xf__top { grid-template-columns: 1fr; } }
@media (max-width: 599px) {
  .xf__brand { flex-direction: column; align-items: flex-start; }
  .xf__grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .xf__col:nth-child(1), .xf__col:nth-child(2) { grid-column: 1 / -1; }
  .xf__bar { flex-direction: column; align-items: flex-start; gap: 16px; }
  .xf__credit { margin-left: 0 !important; }
  .xf__mark { font-size: 32vw; bottom: 0; }
}
.wa-float { z-index: 40; }
@media (prefers-reduced-motion: reduce) { .xf__open--open .xf__dot { animation: none; } .xf__badge, .xf__act, .xf__act > svg { transition: none; } }
html[data-calm] .xf__open--open .xf__dot { animation: none; }
/* display modes */
html[data-contrast="high"] footer.xf { background: #000 !important; color: #fff; }
html[data-contrast="high"] .xf__tag, html[data-contrast="high"] .xf__tag em, html[data-contrast="high"] .xf__h, html[data-contrast="high"] .xf__act-t { color: #ffd400 !important; }
html[data-contrast="high"] .xf :is(.xf__lede, .xf__k, .xf__act-k, .xf__hours dt, .xf__small, .xf__bar, .xf__addr, .xf__line > span) { color: #fff !important; }
html[data-contrast="high"] .xf__act, html[data-contrast="high"] .xf__social a, html[data-contrast="high"] .xf__top-btn { background: #000 !important; border: 2px solid #ffd400 !important; }
html[data-contrast="high"] .xf__glow, html[data-contrast="high"] .xf__mark, html[data-contrast="light"] .xf__glow, html[data-contrast="light"] .xf__mark { display: none; }
html[data-contrast="light"] footer.xf { background: #fff !important; color: #000; border-top: 3px solid #000; }
html[data-contrast="light"] .xf * { color: #000 !important; }
html[data-contrast="light"] .xf__act, html[data-contrast="light"] .xf__social a, html[data-contrast="light"] .xf__top-btn, html[data-contrast="light"] .xf__line .xf__ico { background: #fff !important; border: 2px solid #000 !important; }
html body footer.xf ul.xf__social { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; grid-template-columns: none; }
html body footer.xf ul.xf__social li { display: block; margin: 0; }
html body footer.xf ul.xf__social a { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; }
html body footer.xf ul.xf__social .xf__ico { width: 22px; height: 22px; }
html body footer.xf ul.xf__legal { display: flex; flex-direction: row; flex-wrap: wrap; gap: 6px 22px; }
html body footer.xf ul.xf__legal li { margin: 0; }
html body footer.xf ul.xf__legal a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 599px) { html body footer.xf ul.xf__legal { gap: 0 20px; } }
html body footer.xf ul.xf__nav { gap: 0; }
html body footer.xf ul.xf__list { gap: 6px; }
html[data-contrast="high"] .xf__act > svg, html[data-contrast="high"] .xf__ico { color: #ffd400 !important; }

/* "Help us keep the library free" box */
.support { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; padding: clamp(28px, 4vw, 44px); border-radius: 24px; background: #1e1408; color: #efe4d3; position: relative; overflow: hidden; }
.support::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, #7c4b05, #f4a83d 50%, #8bc53f); }
.support h2 { margin: 0 0 8px; color: #fff7ec; font-size: clamp(24px, 1vw + 18px, 32px); }
.support p { margin: 0; max-width: 56ch; color: #d9cbb6; }
.support__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.support .btn--primary { background: #f4a83d; border-color: #f4a83d; color: #2a1a04; }
.support .btn--secondary { background: transparent; border-color: rgb(239 228 211 / .35); color: #fff7ec; }
@media (max-width: 799px) { .support { grid-template-columns: 1fr; } }
html[data-contrast="high"] .support { background: #000; border: 2px solid #ffd400; } html[data-contrast="high"] .support h2 { color: #ffd400; } html[data-contrast="high"] .support p { color: #fff; }
html[data-contrast="light"] .support { background: #fff; border: 2px solid #000; } html[data-contrast="light"] .support * { color: #000 !important; }
#questions h2 { margin-bottom: 28px; }
html body .support .btn--secondary { border: 1px solid rgb(239 228 211 / .45) !important; padding-inline: 20px; min-height: 48px; display: inline-flex; align-items: center; border-radius: var(--r-md, 10px); }

/* ---- review fixes (4 Dec 2026) ---- */
/* 2: nothing under 14px for low-vision readers */
.evt__wd { font-size: 14px; letter-spacing: .04em; }
.evt__mon { font-size: 14px; letter-spacing: .04em; }
.evt__day { font-size: 32px; }
.evt__tile { min-width: 78px; }
.evfacts dt, .xf__act-k, .xf__h, .xf__k, .nlead__tag, .npop__badge, .nbadge, .evt__status, .xf__open, .poster__h, .xf__hours, .xf__small, .xf__bar, .evt__chip { font-size: 14px; }
.logo-sub { font-size: 14px; }
/* 3: shorter home page on phones */
@media (max-width: 599px) { #join, #inside { display: none; } }
/* 4: a single activity uses the wide ticket */
.evlist:has(> li:only-child) { grid-template-columns: 1fr; }
/* 5: postal address card on Donate */
.post-addr { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: var(--bg, #fbf7f0); box-shadow: 0 0 0 1px rgb(42 38 34 / .1); max-width: 420px; }
.post-addr svg { flex: none; width: 24px; height: 24px; margin-top: 2px; fill: none; stroke: var(--leaf, #3d7a1c); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.post-addr__k { margin: 0 0 4px !important; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--leaf, #3d7a1c); }
.post-addr address { font-style: normal; font-size: 17px; line-height: 1.5; }
/* 7: readable line length in answers */
.faqi__a { max-width: 72ch; }
/* 8: 44px menu links on desktop */
@media (min-width: 1024px) { html body .nav__link { height: 44px; } }
