/* Sackville Sports Stadium - public site. Mobile first. */
@font-face { font-family: "Barlow"; src: url(fonts/barlow-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(fonts/barlow-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(fonts/barlow-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(fonts/barlow-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(fonts/barlow-condensed-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }

:root {
  /* Brand, taken from the Stadium logo */
  --navy: #103d76;
  --navy-deep: #0a2a52;
  --sky: #0096cf;
  --red: #cf373e;
  --red-dark: #b02a31;
  /* Roles */
  --ground: #ffffff;
  --ink: #0d1b2e;
  --ink-2: #44546a;
  --tone: #edf3f8;        /* one step from ground */
  --tone-2: #dfe9f2;
  --amber: #8a5a00;
  --amber-bg: #fff1d6;
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1320px;
  --section: clamp(64px, 10vw, 160px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 18px/1.55 var(--font); font-variant-numeric: lining-nums; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: .15em; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.01em; line-height: 1; margin: 0; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
[hidden] { display: none !important; }

/* Buttons: square corners, flat fill */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.4em; border: 0; border-radius: 0;
  font: 700 1rem/1 var(--font); text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--red); color: #fff; }
.btn-accent:hover { background: var(--red-dark); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--tone); color: var(--navy); }
.btn-ghost { background: var(--tone); color: var(--navy); min-width: 48px; padding: .6em .9em; font-size: 1.375rem; }
.btn-ghost:hover { background: var(--tone-2); color: var(--navy); }
.btn-small { min-height: 36px; padding: .45em .9em; font-size: .875rem; }
.btn-large { min-height: 60px; padding: .9em 2em; font-size: 1.375rem; }
.text-link { font-weight: 600; background: none; border: 0; padding: 0; color: var(--navy); text-decoration: underline; cursor: pointer; font: inherit; font-weight: 600; }

/* Alerts */
.alert { color: #fff; font-weight: 500; }
.alert p { margin: 0; padding: .7rem 0; }
.alert a { color: inherit; font-weight: 700; }
.alert-info { background: #00729e; }
.alert-warning { background: var(--amber-bg); color: var(--ink); }
.alert-warning a { color: var(--navy); }
.alert-closure { background: var(--red); }

/* Utility bar */
.utility { background: var(--navy-deep); color: #e8f0f8; font-size: .875rem; }
.utility-inner { display: flex; align-items: center; gap: 1rem; min-height: 48px; flex-wrap: wrap; padding-top: .35rem; padding-bottom: .35rem; }
.utility a { color: #fff; }
.today-hours { margin: 0; margin-right: auto; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.today-hours::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: #45c46e; flex: none; }
.today-hours.is-closed::before { background: var(--red); }
.today-hours a { font-weight: 600; }
.utility-phone { font-weight: 600; text-decoration: none; }
.utility-social { display: inline-flex; padding: .25rem; }
@media (max-width: 599px) {
  .utility-phone, .today-hours a { display: none; }
  .utility-inner { gap: .6rem; }
}

/* Header + navigation */
.site-header { background: #fff; position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand { gap: clamp(.75rem, 2vw, 1.25rem); }
.brand-rec { width: auto; height: 48px; }
.brand-halifax { width: auto; height: 20px; }
@media (min-width: 700px) { .brand-rec { height: 58px; } .brand-halifax { height: 24px; } }
.menu-toggle { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 600; }
.sub-toggle { display: none; }

@media (max-width: 1099px) {
  .menu-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; background: var(--navy); color: #fff; border: 0; font: 700 1rem var(--font); cursor: pointer; }
  .site-nav { display: none; }
  .site-nav.open, .site-nav:target { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; max-height: calc(100vh - 120px); overflow-y: auto; padding: 0 var(--gutter) 1.5rem;
    box-shadow: 0 20px 40px rgba(13, 27, 46, .18); } /* taste-skill-ignore: floating menu panel */
  .site-nav > ul > li { display: flex; flex-wrap: wrap; align-items: center; }
  .site-nav > ul > li > a { flex: 1; padding: 1rem 0; font: 700 1.375rem var(--display); }
  .js .sub-toggle { display: inline-flex; width: 48px; height: 48px; border: 0; background: var(--tone); cursor: pointer; align-items: center; justify-content: center; }
  .sub-toggle::before { content: "+"; font: 700 1.375rem/1 var(--font); color: var(--navy); }
  .sub-toggle[aria-expanded="true"]::before { content: "–"; }
  .site-nav .sub { width: 100%; padding: 0 0 .75rem .75rem; }
  .js .site-nav .sub { display: none; }
  .js .site-nav .sub.open { display: block; }
  .site-nav .sub a { display: block; padding: .55rem 0; font-weight: 500; }
  .site-nav { width: 100%; }
}
@media (min-width: 1100px) {
  .site-nav > ul { display: flex; gap: .2rem; }
  .site-nav > ul > li { position: relative; }
  .site-nav > ul > li > a { display: block; padding: 1.6rem .75rem; font-size: 1rem; }
  .site-nav > ul > li.is-active > a { color: var(--red); }
  .site-nav > ul > li > a:hover { color: var(--red); }
  .site-nav .sub { position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff; padding: .5rem 0; display: none;
    box-shadow: 0 16px 36px rgba(13, 27, 46, .16); } /* taste-skill-ignore: dropdown overlay */
  .site-nav li:hover > .sub, .site-nav li:focus-within > .sub { display: block; }
  .site-nav > ul > li:last-child .sub { left: auto; right: 0; }
  .site-nav .sub a { display: block; padding: .6rem 1.2rem; font-weight: 500; }
  .site-nav .sub a:hover, .site-nav .sub a[aria-current] { background: var(--tone); color: var(--navy); }
}

.preview-bar { background: var(--amber-bg); color: var(--ink); text-align: center; padding: .5rem; font-weight: 600; }

/* Hero */
.hero { position: relative; background: var(--navy); }
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; display: grid; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s; }
.hero-slide.is-current { opacity: 1; visibility: visible; }
.hero-slide picture { display: block; overflow: hidden; }
.hero-slide img { width: 100%; height: 62vw; max-height: 72vh; object-fit: cover; }
.hero-slide.is-current img { animation: drift 14s var(--ease) both; }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-panel { background: var(--navy); color: #fff; padding: 1.75rem var(--gutter) 3.5rem; }
.hero-title { font: 800 clamp(2.6rem, 8vw, 6.2rem)/.92 var(--display); letter-spacing: -.02em; margin: 0 0 .6rem; max-width: 11em; }
.hero-sub { font-size: 1.375rem; max-width: 30em; color: #dbe7f3; }
.hero-dots { position: absolute; left: var(--gutter); bottom: 1.1rem; display: flex; gap: .5rem; }
.hero-dots button { width: 36px; height: 6px; border: 0; padding: 0; background: rgba(255, 255, 255, .35); cursor: pointer; }
.hero-dots button[aria-current="true"] { background: #fff; }
@media (min-width: 900px) {
  .hero-slide { grid-template-columns: 1fr; }
  .hero-slide img { height: min(74vh, 760px); max-height: none; }
  .hero-panel { position: absolute; left: var(--gutter); bottom: 0; width: min(640px, 48vw); padding: 2.5rem 2.5rem 3.75rem; }
  .hero-dots { left: calc(var(--gutter) + 2.5rem); }
}

/* On today (the live part of the home page) */
.today { padding: var(--section) 0; }
.today-grid { display: grid; gap: 2.5rem; }
.today-intro h2 { font-size: clamp(2.4rem, 6vw, 4.5rem); color: var(--navy); }
.today-date { font: 700 1.375rem/1.2 var(--display); color: var(--ink-2); margin: .4rem 0 1.25rem; }
.today-now { font-size: 1.375rem; font-weight: 600; }
.today-now strong { color: var(--red); }
.closure-note { background: var(--red); color: #fff; padding: .6rem .9rem; font-weight: 700; display: inline-block; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.5rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .4rem .9rem; border: 0; background: var(--tone); color: var(--ink); font: 600 1rem var(--font); cursor: pointer; border-radius: 999px; transition: background-color .2s; }
.chip:hover { background: var(--tone-2); }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; }
.swatch { display: inline-block; width: .75rem; height: .75rem; border-radius: 50%; flex: none; }
.schedule-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.schedule-links a { font-weight: 600; }
.occ-list { list-style: none; margin: 0; padding: 0; }
.occ { display: grid; grid-template-columns: 1fr; gap: .1rem .9rem; padding: .8rem 0; }
.occ-list .occ + .occ { margin-top: .15rem; }
.occ-time { font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.occ-name { font: 700 1.375rem/1.15 var(--display); display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.occ-meta { color: var(--ink-2); font-size: .875rem; }
.occ .new { background: #00729e; color: #fff; font: 700 .875rem/1 var(--font); padding: .3em .5em; }
.occ .cancel { color: var(--red-dark); }
.occ .changed { color: var(--amber); }
.occ.is-cancelled .occ-name, .occ.is-cancelled .occ-time { text-decoration: line-through; color: #5f6e80; }
.occ.is-now { background: var(--tone); margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; }
.occ.is-now .occ-time::after { content: "On now"; display: block; width: max-content; margin-top: .3rem; background: var(--red); color: #fff; font-size: .875rem; line-height: 1.2; padding: .2em .5em; }
.occ.is-past { opacity: .45; }
.occ.is-hidden { display: none; }
.empty-day { color: var(--ink-2); }
.tomorrow { margin-top: 1.5rem; }
.tomorrow summary { cursor: pointer; font: 700 1.375rem var(--display); color: var(--navy); padding: .5rem 0; }
@media (min-width: 700px) {
  .occ { grid-template-columns: 11rem 1fr; }
  .occ-meta { grid-column: 2; }
}
@media (min-width: 1000px) {
  .today-grid { grid-template-columns: 5fr 7fr; gap: 4rem; }
  .today-intro { position: sticky; top: 1.5rem; align-self: start; }
  .occ { grid-template-columns: 11rem 1fr 13rem; align-items: baseline; }
  .occ-meta { grid-column: auto; text-align: right; }
}

/* Feature tiles: one row under the hero */
.features { padding: clamp(32px, 5vw, 64px) 0 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section-title { font-size: clamp(2.4rem, 6vw, 4.5rem); color: var(--navy); margin-bottom: 2rem; }
.tile-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
@media (min-width: 900px) { .tile-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; } }
.tile { display: flex; flex-direction: column; gap: .35rem; text-decoration: none; color: var(--ink); overflow: hidden; }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: .5rem; transition: transform .5s var(--ease); }
.tile:hover img { transform: scale(1.03); }
.tile-title { font: 800 1.375rem/1.05 var(--display); color: var(--navy); transition: color .2s; }
.tile-text { color: var(--ink-2); font-size: 1rem; }
.tile:hover .tile-title { color: var(--red); }
@media (max-width: 599px) { .tile-text { display: none; } }

/* Registration band */
.register-band { background: var(--navy); color: #fff; padding: clamp(56px, 8vw, 120px) 0; }
.register-inner { display: grid; gap: 1.75rem; align-items: center; }
.register-statement { font: 700 clamp(2rem, 3.4vw, 2.25rem)/1.15 var(--display); margin: 0; max-width: 24em; }
@media (min-width: 900px) { .register-inner { grid-template-columns: 1fr auto; gap: 3rem; } }

/* HRM quick links (homepage) */
.quick-links-band { padding: var(--section) 0; }
.quick-links-inner { display: grid; gap: 1.5rem; }
@media (min-width: 1000px) { .quick-links-inner { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; } }
.quick-links-band .section-title { margin: 0; }
.quick-links ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
@media (min-width: 700px) { .quick-links ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem 2rem; } }
.quick-links li { margin: 0; }
.quick-links a { display: block; padding: .7rem 0; font-weight: 600; text-decoration: none; }
.quick-links a::after { content: " →"; color: var(--red); }
.quick-links a:hover { text-decoration: underline; }
.sidebar .block ul { padding-left: 1.1rem; }

/* Hours band */
.hours-band { background: var(--tone); padding: var(--section) 0; }
.hours-grid { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .hours-grid { grid-template-columns: 7fr 5fr; gap: 5rem; } }
.hours-groups { display: grid; gap: 2rem; }
@media (min-width: 640px) { .hours-groups { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.hours-group h3 { font-size: 2rem; color: var(--navy); margin-bottom: .6rem; }
.hours-list { margin: 0 0 1rem; }
.hours-list > div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem .7rem; }
.hours-list > div:nth-child(odd) { background: rgba(16, 61, 118, .06); }
.hours-list dt { font-weight: 600; }
.hours-list dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.closures-list dd { white-space: normal; }
.closures-list .is-closed dd { color: var(--red-dark); font-weight: 600; }
.prose .hours-list { max-width: 34rem; }

/* Interior pages */
.page-head { padding-top: clamp(1.5rem, 4vw, 3rem); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.crumbs ol { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .875rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: #8796a8; }
.crumbs a { color: var(--ink-2); }
.page-title { font-size: clamp(2.4rem, 6vw, 4.5rem); color: var(--navy); max-width: 16em; }
.lead { font-size: 1.375rem; max-width: 40em; margin-top: 1.25rem; }
.page-hero img { width: 100%; height: clamp(220px, 38vw, 520px); object-fit: cover; }
.page-body { display: grid; gap: 3rem; padding-bottom: var(--section); }
@media (min-width: 1000px) { .page-body.has-sidebar { grid-template-columns: minmax(0, 1fr) 360px; gap: 4rem; } }
.sidebar { display: grid; gap: 1.25rem; align-content: start; }
.sidebar .block { background: var(--tone); padding: 1.5rem; }
.sidebar .prose, .block .prose p { max-width: 65ch; }
.block h2 { font-size: 2rem; color: var(--navy); margin-bottom: .8rem; }
.below-band { background: var(--tone); padding: var(--section) 0; }
.below-blocks .prose { max-width: 70rem; }
.below-blocks .prose h2 { margin-top: 2.5rem; }
.below-blocks .prose h2:first-child { margin-top: 0; }
.below-blocks .prose hr { display: none; }

/* Rich text */
.prose { max-width: 46rem; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 2rem; color: var(--navy); margin: 2.2rem 0 .8rem; }
.prose h3 { font-size: 2rem; color: var(--navy); margin: 1.8rem 0 .6rem; }
.prose h4, .prose h5 { font: 700 1.375rem/1.3 var(--font); margin: 1.5rem 0 .5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li > ul { margin: .35em 0 0; }
.prose img { margin: 1.5rem 0; }
.prose img.img-right { float: right; max-width: 45%; margin: 0 0 1rem 1.5rem; }
.prose img.img-left { float: left; max-width: 45%; margin: 0 1.5rem 1rem 0; }
.prose p:has(> img + img) { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .75rem; }
.prose p:has(> img + img) img { margin: 0; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.prose hr { border: 0; height: 2.5rem; margin: 0; }
.prose blockquote { margin: 1.5rem 0; padding-left: 1.25rem; font-size: 1.375rem; border-left: 4px solid var(--sky); }
.table-scroll { overflow-x: auto; margin: 1.5rem 0; }
.prose table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: 1rem; font-variant-numeric: tabular-nums; }
.prose th, .prose td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--tone-2); vertical-align: top; }
.prose tr:first-child td, .prose th { background: var(--tone); font-weight: 700; }
.prose iframe { max-width: 100%; border: 0; }
.prose::after { content: ""; display: block; clear: both; }

/* Section landing pages */
.section-list { list-style: none; margin: 0 0 var(--section); padding: 0; }
.section-list a { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1.5rem; padding: 1.4rem 0; text-decoration: none; color: var(--ink); }
.section-item-title { font: 800 2rem/1 var(--display); color: var(--navy); transition: color .2s; }
.section-item-text { grid-column: 1; color: var(--ink-2); max-width: 46em; }
.section-list .arrow { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 2rem; color: var(--navy); transition: transform .25s var(--ease); }
.section-list a:hover .section-item-title, .section-list a:hover .arrow { color: var(--red); }
.section-list a:hover .arrow { transform: translateX(6px); }

/* Schedule pages */
.week-nav { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.week-range { margin: 0; font: 700 1.375rem/1.1 var(--display); }
.week-range span { color: var(--navy); }
.day-chips { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 1rem; position: sticky; top: 0; background: #fff; z-index: 5; padding-top: .5rem; scrollbar-width: none; }
.day-chips a { flex: 1 0 auto; min-width: 52px; text-align: center; text-decoration: none; background: var(--tone); color: var(--ink); padding: .45rem .5rem; font: 700 1.375rem/1.05 var(--display); }
.day-chips a span { display: block; font: 600 .875rem var(--font); color: var(--ink-2); }
.day-chips a.is-today { background: var(--navy); color: #fff; }
.day-chips a.is-today span { color: #cfe0f1; }
.day { padding: 1.5rem 1.25rem 1rem; margin: 0 -1.25rem; scroll-margin-top: 80px; }
.day:nth-child(odd) { background: var(--tone); }
.day.is-today { background: var(--tone-2); }
.day-title { font-size: 2rem; color: var(--navy); margin-bottom: .5rem; }
.day-title span { color: var(--ink-2); font-weight: 700; }
.day-title em { font-style: normal; background: var(--red); color: #fff; font: 700 .875rem var(--font); padding: .2em .5em; vertical-align: middle; }
.day.is-past { opacity: .55; }
.schedule .occ { grid-template-columns: 1fr; }
@media (min-width: 700px) { .schedule .occ { grid-template-columns: 11rem 1fr; } .schedule .occ-meta { grid-column: 2; } }
@media (min-width: 1000px) { .schedule .occ { grid-template-columns: 11rem 1fr minmax(0, 15rem); } .schedule .occ-meta { grid-column: auto; text-align: right; } }
.schedule-note { color: var(--ink-2); font-size: .875rem; margin-top: 2rem; max-width: 60ch; }
@media (min-width: 1000px) { .day-chips { display: none; } }

/* Footer */
.site-footer { background: var(--navy-deep); color: #d5e2ef; padding: clamp(56px, 8vw, 110px) 0 2rem; }
.site-footer a { color: #fff; }
.footer-name { font: 800 clamp(2.6rem, 8vw, 6.2rem)/.9 var(--display); color: #fff; letter-spacing: -.02em; margin: 0 0 3rem; }
.footer-cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-cols h2 { font: 700 1.375rem var(--display); color: #fff; margin-bottom: .5rem; }
.footer-base { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 3.5rem; padding-top: 1.5rem; font-size: .875rem; }
.footer-base p { margin: 0; }
.footer-base img { width: 140px; }
.credit { margin-left: auto !important; opacity: .75; }

/* Entrance motion (enhancement only; content is visible without script) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Print: schedules print cleanly */
@media print {
  .alert, .utility, .site-header, .site-footer, .day-chips, .week-nav .btn, .print-btn, .sidebar, .below-band, .hero, .crumbs { display: none !important; }
  body { font-size: 11pt; }
  .page-title { font-size: 24pt; }
  .day { padding: 6pt 0; break-inside: avoid; }
  .day-title { font-size: 14pt; }
  .occ { padding: 3pt 0; grid-template-columns: 9rem 1fr !important; }
  .occ-name { font-size: 11pt; }
  .day.is-past { opacity: 1; }
}
@media (max-width: 699px) { .print-btn { display: none !important; } }
.prose .hours-groups { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); max-width: 60rem; }
.prose:has(.hours-groups) { max-width: 60rem; }
