/* 25 Days of PCN page (/25days/). Pixel, 2026-11-30. Classes are all h25- so nothing clashes with about.css or events.css. */
.h25-page { background: var(--paper); color: var(--ink); overflow-x: clip; }
.h25-page [hidden] { display: none !important; }
.h25-wrap { position: relative; z-index: 2; width: min(94%, 1480px); margin: 0 auto; }

/* hero */
.h25-hero { position: relative; overflow: hidden; background: var(--cream); border-bottom: 1.8px solid var(--ink); padding: clamp(118px, 13vw, 168px) 0 clamp(40px, 5vw, 72px); }
.h25-hero .h25-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(20px, 4vw, 64px); align-items: end; }
.h25-blob { position: absolute; border-radius: 50%; pointer-events: none; z-index: 1; }
.h25-hero h1 { margin: 0; font-family: 'Fraunces', serif; font-weight: 900; font-size: clamp(54px, 8.4vw, 136px) !important; line-height: .96; letter-spacing: -.03em; color: var(--ink); position: relative; z-index: 1; }
.h25-lede { margin: clamp(18px, 2vw, 28px) 0 0; max-width: 640px; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.h25-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 2.4vw, 32px); }
.h25-ctas .pill:focus-visible, .h25-go:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.h25-big { position: relative; justify-self: center; display: flex; flex-direction: column; align-items: center; margin-top: calc(-1 * clamp(118px, 13vw, 168px)); transform-origin: 50% 0; animation: h25-sway 5.5s ease-in-out infinite alternate; pointer-events: none; }
.h25-big i { display: block; width: 5px; height: clamp(150px, 19vw, 250px); background: var(--ink); }
.h25-big span { position: relative; display: grid; place-items: center; width: clamp(190px, 24vw, 340px); aspect-ratio: 1; border-radius: 50%; background: var(--c, #FF5E51); box-shadow: inset -18px -18px 0 rgba(28,25,28,.10); font-family: 'Fraunces', serif; font-weight: 900; font-size: clamp(110px, 14.5vw, 210px); line-height: 1; letter-spacing: -.04em; color: var(--n, #1C191C); }
.h25-big span::before { content: ""; position: absolute; top: -5%; left: 50%; width: 15%; height: 9%; margin-left: -7.5%; border-radius: 4px; background: var(--ink); }

/* the 25 ornaments + the open day */
.h25-days { padding: clamp(36px, 5vw, 72px) 0 clamp(44px, 6vw, 88px); }
.h25-days .h25-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.h25-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: clamp(14px, 1.8vw, 26px); }
.h25-grid li { border-top: 2.5px solid var(--ink); margin: 0; padding: 0; display: flex; justify-content: center; }
.h25-o { -webkit-appearance: none; appearance: none; display: flex; flex-direction: column; align-items: center; width: 100%; margin: 0; padding: 0 4px; border: 0; background: none; color: var(--ink); cursor: pointer; transform-origin: 50% 0; opacity: 0; transform: translateY(-18px); transition: opacity .45s ease var(--d, 0s), transform .6s cubic-bezier(.2, 1.4, .4, 1) var(--d, 0s); -webkit-tap-highlight-color: transparent; }
.h25-on .h25-o { opacity: 1; transform: none; }
.h25-o i { display: block; width: 2.5px; height: var(--l, 20px); background: var(--ink); }
.h25-o span { position: relative; display: grid; place-items: center; width: min(100%, clamp(52px, 6.4vw, 104px)); aspect-ratio: 1; border-radius: 50%; background: var(--paper); border: 2.5px solid var(--ink); font-family: 'Fraunces', serif; font-weight: 900; font-size: clamp(21px, 2.5vw, 40px); line-height: 1; letter-spacing: -.03em; color: var(--ink-3); transition: transform .18s, box-shadow .18s; }
.h25-o span::before { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 8px; margin-left: -7px; border-radius: 2px; background: var(--ink); }
.h25-o.is-open span { background: var(--c); border-color: transparent; color: var(--n, #1C191C); box-shadow: inset -5px -5px 0 rgba(28,25,28,.10); }
.h25-o.is-open:hover span { transform: scale(1.07); }
.h25-o.is-sel span { box-shadow: inset -5px -5px 0 rgba(28,25,28,.10), 0 0 0 3px var(--paper), 0 0 0 6px var(--ink); }
.h25-o:focus-visible { outline: none; }
.h25-o:focus-visible span { outline: 3px solid var(--coral); outline-offset: 4px; }
.h25-on .h25-o.is-open { animation: h25-sway var(--t, 4s) ease-in-out var(--d, 0s) infinite alternate; }
.h25-o.is-locked { cursor: default; }
.h25-o.h25-no { animation: h25-no .4s; }
.h25-hint { min-height: 26px; margin: 16px 0 0; font-size: 16px; font-weight: 600; color: var(--ink-2); }

.h25-panel { position: sticky; top: 104px; background: #fffdf9; border: 1.8px solid var(--ink); border-radius: 24px; box-shadow: var(--shadow-paper-lg); padding: clamp(20px, 2.4vw, 36px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 36px); align-items: start; scroll-margin-top: 96px; }
.h25-panel.h25-nopic { grid-template-columns: minmax(0, 1fr); }
.h25-panel.h25-in { animation: h25-in .45s cubic-bezier(.2, .9, .3, 1); }
.h25-pic { margin: 0; border: 1.8px solid var(--ink); border-radius: 14px; overflow: hidden; transform: rotate(-1.6deg); box-shadow: var(--shadow-paper); background: var(--cream); }
.h25-pic img { display: block; width: 100%; height: auto; }
.h25-when { margin: 0 0 8px; font-family: 'Caveat', cursive; font-weight: 700; font-size: clamp(26px, 2.4vw, 34px); line-height: 1; color: #C8372B; }
.h25-panel h2 { margin: 0; font-family: 'Fraunces', serif; font-weight: 900; font-size: clamp(27px, 2.7vw, 42px) !important; line-height: 1.06; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.h25-text p.h25-p { margin: 16px 0 0; font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.h25-text p.h25-ask { color: var(--ink); }
.h25-go { margin-top: 22px; }

/* sign-up */
.h25-signup { position: relative; overflow: hidden; background: var(--paper-2); border-top: 1.8px solid var(--ink); padding: clamp(40px, 5.5vw, 80px) 0; scroll-margin-top: 80px; }
.h25-signup .h25-wrap { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); gap: clamp(24px, 4.5vw, 72px); align-items: start; }
.h25-about { position: sticky; top: 112px; }
.h25-about h2 { margin: 0; font-family: 'Fraunces', serif; font-weight: 900; font-size: clamp(38px, 4.6vw, 72px) !important; line-height: 1; letter-spacing: -.025em; color: var(--ink); }
.h25-about p.h25-lede { font-size: clamp(17px, 1.5vw, 20px); }
.h25-mini { display: flex; gap: 0; margin: 0 0 18px; padding: 0; list-style: none; border-top: 2.5px solid var(--ink); width: max-content; }
.h25-mini li { display: flex; flex-direction: column; align-items: center; width: 46px; }
.h25-mini li::before { content: ""; width: 2.5px; height: var(--l); background: var(--ink); }
.h25-mini li::after { content: ""; width: 30px; height: 30px; border-radius: 50%; background: var(--c); }
.h25-form { min-width: 0; margin: 0 -12px; }
.h25-form iframe { display: block; width: 100%; min-height: 290px; border: 0; background: var(--paper-2); }

@keyframes h25-sway { from { transform: rotate(-2.2deg); } to { transform: rotate(2.2deg); } }
@keyframes h25-no { 0%, 100% { transform: none; } 25% { transform: rotate(-5deg); } 75% { transform: rotate(5deg); } }
@keyframes h25-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
  .h25-panel { position: relative; top: auto; }
  .h25-days .h25-wrap, .h25-signup .h25-wrap { grid-template-columns: minmax(0, 1fr); }
  .h25-about { position: static; }
}
@media (max-width: 720px) {
  .h25-hero { padding-top: 104px; }
  .h25-hero .h25-wrap { grid-template-columns: minmax(0, 1fr) 118px; align-items: start; }
  .h25-hero .h25-copy { grid-column: 1 / -1; grid-row: 1; }
  .h25-hero h1 { max-width: calc(100% - 124px); }
  .h25-big { grid-column: 2; grid-row: 1; justify-self: end; margin-top: -104px; }
  .h25-big i { width: 3.5px; height: 96px; }
  .h25-big span { width: 112px; font-size: 62px; box-shadow: inset -8px -8px 0 rgba(28,25,28,.10); }
  .h25-panel { grid-template-columns: minmax(0, 1fr); }
  .h25-blob.h25-b2 { display: none; }
  .h25-pic { max-width: 300px; margin: 0 auto; }
}
@media (max-width: 480px) { .h25-form { margin: 0 -14px; } .h25-wrap { width: calc(100% - 36px); } }
@media (prefers-reduced-motion: reduce) {
  .h25-big, .h25-on .h25-o.is-open, .h25-o.h25-no, .h25-panel.h25-in { animation: none; }
  .h25-o { opacity: 1; transform: none; transition: none; }
}
