@font-face {
  font-family: "Noto Sans";
  src: url("../assets/NotoSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("../assets/NotoSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif";
  src: url("../assets/NotoSerif-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif";
  src: url("../assets/NotoSerif-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  --navy: #143d66;
  --red: #b52636;
  --ink: #162f46;
  --paper: white;
  --line: #c3ced5;
  --gutter: clamp(1.15rem, 5vw, 4.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 1rem/1.65 "Noto Sans", Arial, sans-serif;
}
img { max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
[hidden] { display: none !important; }
.skip {
  position: absolute; inset: 0 auto auto .5rem; z-index: 100;
  transform: translateY(-125%); padding: .7rem 1rem; background: white; color: #143d66;
}
.skip:focus { transform: none; }
.wrap { width: min(100%, calc(1180px + var(--gutter) * 2)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.1rem, 6.1vw, 6.1rem); scroll-margin-top: 1rem; }
.section + .section { border-top: 1px solid var(--line); }
.section-heading { margin-bottom: clamp(1.5rem, 3.7vw, 3.4rem); }
.eyebrow, .meta, .program-code {
  font-size: .8rem;
  line-height: 1.5;
  font-weight: 700;
  color: var(--red);
}
.eyebrow { margin: 0 0 .7rem; }
.section h2, .end-invite h2 {
  font: 400 clamp(2rem, 4.3vw, 3.85rem)/1.1 "Noto Serif", Georgia, serif;
  margin: 0; letter-spacing: -.045em; text-wrap: balance;
}
.section-heading > p:last-child:not(.eyebrow) { max-width: 65ch; margin-block-end: 0; }
.section h3 {
  margin: 0 0 .6rem;
  font: 700 clamp(1.23rem, 1.8vw, 1.55rem)/1.25 "Noto Serif", Georgia, serif;
  letter-spacing: -.025em; text-wrap: pretty;
}
.section article, .section li { min-width: 0; }
.section article > p, .date-list p, .steps p, .visit-info p { margin: 0 0 .8rem; max-width: 65ch; }
.section .meta { margin: 0 0 .5rem; }
.section a { font-weight: 700; }
.proof-list, .program-list, .date-list, .steps {
  display: grid; gap: clamp(1.25rem, 3vw, 3rem); grid-template-columns: repeat(3, minmax(0, 1fr));
}
.proof-list > article, .program-list > article, .steps > li {
  border-top: 2px solid currentColor; padding-top: 1.15rem;
}
.story-list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 3vw, 3rem); row-gap: 2.2rem;
}
.story-list > article { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.story-list img { display: block; width: 100%; height: auto; aspect-ratio: 1.8; object-fit: cover; object-position: center 33%; margin-bottom: 1rem; }
.story-list a, .program-list a, .steps a, .faq a { font-size: .92rem; }
.section .program-code { font-size: .85rem; color: inherit; }
.date-list, .steps { list-style: none; margin: 0; padding: 0; }
.date-list li { border-top: 2px solid var(--line); padding-top: 1.2rem; }
.date-list time { display: block; margin-bottom: .8rem; font-weight: 700; }
.date-list li[data-status="next"] { border-top-color: var(--red); }
.date-status { display: block; font-size: .82rem; font-weight: 700; margin: .25rem 0; }
.calendar { display: inline-block; padding-block: .4rem; font-size: .9rem; }
.visit-info { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem,4.5vw,4.5rem); margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.faq { max-width: 54rem; }
.faq details { padding: 1rem 0; border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; list-style: none; padding: .3rem 2.4rem .3rem 0; cursor: pointer;
  font: 700 clamp(1.05rem, 1.7vw, 1.35rem)/1.4 "Noto Sans", Arial, sans-serif;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset: .12rem .25rem auto auto; font-size: 1.6rem; line-height: 1.2; }
.faq details[open] summary::after { content: "−"; }
.faq details > p { max-width: 68ch; margin: .8rem 0; }
.end-invite { background: #143d66; color: #fff; padding: clamp(2rem, 5vw, 4.5rem) 0; }
.end-invite .wrap, .page-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.end-invite h2 { font-size: clamp(1.9rem, 3vw, 3rem); }
.end-invite p { margin: .7rem 0 0; }
.end-button, .mobile-link {
  display: inline-block; text-align: center; font-weight: 700; text-decoration: none;
  color: #143d66; background: white; border: 1px solid currentColor; padding: .75rem 1.2rem; border-radius: .2rem;
}
.end-button:hover, .mobile-link:hover { text-decoration: underline; }
.page-footer { color: #143d66; background: #f4f6f7; padding-block: 1.5rem; }
.footer-brand { display: flex; gap: .8rem; align-items: center; font: 700 .84rem/1.45 "Noto Sans", sans-serif; }
.footer-brand img { width: 34px; height: 43px; }
.page-footer nav { display: flex; flex-wrap: wrap; gap: .55rem 1.5rem; font-size: .85rem; }
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .proof-list, .program-list, .story-list, .steps, .date-list, .visit-info { grid-template-columns: 1fr; }
  .visit-info { gap: 1.2rem; }
  .end-invite .wrap, .page-footer .wrap { align-items: start; flex-direction: column; }
  .mobile-bar:not([hidden]) {
    position: fixed; inset: auto 0 0; z-index: 20; display: flex; gap: .55rem; align-items: center;
    justify-content: space-between; padding: .55rem var(--gutter) max(.55rem, env(safe-area-inset-bottom));
    color: #fff; background: #102f4b; box-shadow: 0 -3px 18px #142c451f;
    font-weight: bold; font-size: .88rem;
  }
  .mobile-bar a { font-size: .83rem; padding: .56rem .8rem; }
  html { scroll-padding-bottom: 4.5rem; }
}
@media (max-width: 365px) {
  .page-footer nav { flex-direction: column; }
}
@media print {
  .mobile-bar, .skip, .page-footer nav, .end-invite { display: none !important; }
  .section { padding-block: 1.3rem; }
}
/* Keep the school's full photo strip and its original credit visible in every design. */
#pribehy .story-list article img.swimflip-photo { object-fit: contain; object-position: center; }
