@font-face {
  font-family: Instrument;
  src: url(assets/instrument.woff2) format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #f9f8f5;
  --white: #fff;
  --ink: #17222c;
  --muted: #455461;
  --navy: #152c44;
  --blue: #2a5473;
  --pale: #e8eef1;
  --line: #d3dce0;
  --type: Instrument, Arial, sans-serif;
  --out: cubic-bezier(.2,.75,.24,1);
  font-family: var(--type);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
button, a { -webkit-tap-highlight-color: transparent; }
.inner { width: min(100% - 6rem, 82rem); margin-inline: auto; }
.skip { position: fixed; z-index: 12; top: .7rem; left: .7rem; transform: translateY(-170%); background: var(--white); color: var(--navy); padding: .7rem 1rem; }
.skip:focus { transform: none; }

.top { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav, .footer .inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.nav { min-height: 5rem; }
.brand { display: inline-flex; gap: .72rem; align-items: center; text-decoration: none; color: var(--navy); flex: none; }
.brand img { width: 2.75rem; height: 2.75rem; border-radius: 50%; }
.brand strong { white-space: nowrap; font-size: 1rem; letter-spacing: -.015em; }
.brand strong > span { font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: clamp(1.1rem, 3vw, 3rem); font-size: .95rem; font-weight: 600; }
.nav-links > a:not(.button) { text-decoration: none; padding-block: .7rem; }
.nav-links > a:not(.button):hover { text-decoration: underline; text-underline-offset: .3em; }
.menu { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.15rem; padding: .65rem 1.15rem; border: 1px solid transparent; border-radius: .38rem; font-weight: 700; text-decoration: none; text-align: center; transition: background .2s, color .2s, transform .25s var(--out); }
.button:hover { transform: translateY(-2px); }
.button:active { transform: none; }
.button.blue { background: var(--navy); color: var(--white); }
.button.blue:hover { background: var(--blue); }
.button.light { background: var(--white); color: var(--navy); }
.button.light:hover { background: var(--pale); }
.button.outline { border-color: #9fadb9; color: var(--white); }
.button.outline:hover { background: #fff2; }
.nav .button { min-height: 2.7rem; padding: .55rem .85rem; }
.text-link { color: var(--navy); font-weight: 650; text-decoration-thickness: 1px; text-underline-offset: .27em; }
.text-link:hover { color: var(--blue); text-decoration-thickness: 2px; }

.hero { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: center; gap: clamp(2rem,5.5vw,5.75rem); padding-block: clamp(3.6rem,7.25vw,7.3rem); }
.hero-copy { position: relative; container-type: inline-size; }
.label { color: var(--blue); font-size: .82rem; font-weight: 700; letter-spacing: .085em; line-height: 1.45; text-transform: uppercase; }
h1, h2, h3 { font-weight: 700; }
h1 { font-size: clamp(2.55rem,15.25cqi,6.15rem); line-height: 1.07; letter-spacing: -.032em; margin: .72rem 0 1.25rem; }
h1 span { display: block; white-space: nowrap; animation: enter .72s var(--out) .1s both; }
h1 span + span { color: var(--blue); animation-delay: .19s; }
.hero-description, .academy-intro p { color: var(--muted); font-size: clamp(1.06rem,1.4vw,1.2rem); line-height: 1.58; max-width: 26rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem 1.3rem; margin-top: 1.4rem; }
.hero-photo { min-width: 0; border-bottom: 1px solid var(--line); }
.hero-frame { display: grid; align-items: center; border-radius: .55rem; overflow: hidden; background: var(--pale); animation: photo-in .9s var(--out) both; }
.hero-frame img { width: 100%; aspect-ratio: 750/358; object-fit: cover; animation: photo-settle 1.28s var(--out) both; }
.hero-photo figcaption { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .25rem .85rem; min-height: 3rem; padding-block: .85rem; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.hero-photo figcaption a { font-weight: 650; color: var(--navy); text-underline-offset: .25em; }
.entrance { animation: enter .72s var(--out) var(--delay,0ms) both; }
@keyframes enter { from { opacity: 0; transform: translateY(.95rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes photo-in { from { opacity: .45; clip-path: inset(0 8% 0 0 round .55rem); } to { opacity: 1; clip-path: inset(0 round .55rem); } }
@keyframes photo-settle { from { transform: scale(1.045); } to { transform: scale(1); } }

h2 { font-size: clamp(2.65rem,5vw,5.05rem); line-height: 1.08; letter-spacing: -.032em; text-wrap: balance; }
.hours { background: var(--pale); border-block: 1px solid var(--line); }
.hour-grid { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: clamp(1.3rem,6vw,6rem); align-items: start; padding-block: clamp(3rem,6vw,5.85rem); }
.hour-copy h2 { max-width: 9ch; }
.hour-copy > p { margin-top: .72rem; color: var(--muted); font-size: 1.075rem; line-height: 1.55; }
.hour-board { min-width: 0; padding: clamp(1rem,2.55vw,2.2rem); background: var(--white); border: 1px solid var(--line); border-radius: .6rem; }
.day-buttons { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: .35rem; }
.day-buttons button { border: 1px solid #aab9c4; border-radius: .3rem; background: var(--white); color: var(--navy); min-height: 2.7rem; padding: .35rem .08rem; font-size: .91rem; font-weight: 700; transition: background .2s, color .2s; }
.day-buttons button:not([aria-pressed=true]):hover { background: var(--pale); }
.day-buttons button[aria-pressed=true] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.day-panel { display: grid; align-content: center; gap: .37rem; min-height: 7.7rem; border-bottom: 1px solid var(--line); }
.day-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .63rem; font-size: .98rem; }
.day-meta span:not(:empty) { padding: .13rem .43rem; background: var(--pale); color: var(--blue); border-radius: .2rem; font-size: .8rem; font-weight: 650; }
.day-time { display: flex; align-items: baseline; gap: .2em; font: 700 clamp(2.35rem,5.05vw,4.9rem)/1.02 var(--type); letter-spacing: -.043em; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--navy); }
.day-time span { color: var(--blue); font-size: .66em; }
.day-panel.is-changing .day-time { animation: enter .35s var(--out) both; }
.week { border-bottom: 1px solid var(--line); }
.week summary { min-height: 2.75rem; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-size: .95rem; font-weight: 700; list-style: none; }
.week summary::-webkit-details-marker { display: none; }
.week summary::after { content: '+'; font-size: 1.2rem; font-weight: 500; }
.week[open] summary::after { content: '−'; }
.week dl { display: grid; gap: .45rem; padding-bottom: .75rem; }
.week dl div { display: flex; justify-content: space-between; gap: .45rem; font-size: .95rem; }
.week dd { white-space: nowrap; font-variant-numeric: tabular-nums; }
.hour-note { font-size: .88rem; color: var(--muted); line-height: 1.5; margin-top: .72rem; }
.hour-note a { text-underline-offset: .2em; font-weight: 600; }

.academy { padding-block: clamp(3.2rem,6.8vw,6.65rem); }
.academy-intro, .academy-content { display: grid; grid-template-columns: minmax(0,1.17fr) minmax(0,.83fr); gap: clamp(1.35rem,5vw,5rem); }
.academy-intro { align-items: end; margin-bottom: clamp(1.5rem,3vw,2.8rem); }
.gallery-stage { border: 1px solid var(--line); background: var(--white); border-radius: .5rem; overflow: hidden; }
.gallery-stage a { display: block; overflow: hidden; background: var(--pale); cursor: zoom-in; }
.gallery-stage img { width: 100%; aspect-ratio: 16/9; height: auto; object-fit: cover; transition: transform .38s var(--out); }
.gallery-stage img.portrait { object-position: 50% 21%; }
.gallery-stage a:hover img { transform: scale(1.022); }
.gallery-stage img.is-changing { animation: gallery-in .43s var(--out) both; }
@keyframes gallery-in { from { opacity: .52; transform: scale(1.02); } to { opacity: 1; transform: scale(1); } }
.gallery-stage figcaption { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 2.75rem; padding: .55rem .85rem; font-size: .9rem; font-weight: 650; }
.gallery-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: .55rem; gap: .5rem; }
.gallery-options a { min-height: 2.7rem; display: grid; place-items: center; border: 1px solid #aab9c4; border-radius: .3rem; color: var(--navy); text-decoration: none; font-weight: 650; font-size: .91rem; transition: background .2s, color .2s; }
.gallery-options a:hover { background: var(--pale); }
.gallery-options a[aria-current] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.gallery-social { display: inline-block; margin-top: .8rem; }
.activities { border-top: 1px solid #aab9c4; }
.activities > div { padding: 1.15rem 0 1.2rem; border-bottom: 1px solid var(--line); }
.activities h3 { font-size: clamp(1.65rem,2.6vw,2.4rem); line-height: 1.13; letter-spacing: -.028em; }
.activities p { margin-top: .32rem; color: var(--muted); line-height: 1.55; }
.activities ul { margin: 1rem 0 0; padding: 0 0 0 1.15rem; color: var(--muted); display: grid; gap: .52rem; line-height: 1.45; }
.activities li::marker { color: var(--blue); }

.visit { background: var(--navy); color: var(--white); }
.visit-grid { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: clamp(1.5rem,6vw,6rem); padding-block: clamp(3.25rem,6vw,6rem); align-items: start; }
.visit-data { display: grid; grid-template-columns: 1.1fr 1fr; align-items: start; gap: 1.15rem 1rem; border-top: 1px solid #8495a4; padding-top: 1.05rem; }
.visit h3 { font-size: 1.15rem; line-height: 1.25; letter-spacing: -.015em; margin-bottom: .45rem; }
.visit address, .visit-data > div > a:not(.button) { font-style: normal; display: block; line-height: 1.55; color: #e8eef1; }
.visit-data > div > a:not(.button) { text-underline-offset: .2em; width: fit-content; }
.visit-actions { grid-column: 1/-1; display: flex; gap: .6rem; flex-wrap: wrap; }
.footer .inner { padding-block: 1.15rem; color: var(--muted); font-size: .9rem; }
.footer .inner > a:last-child { font-weight: 650; text-underline-offset: .25em; }
[data-reveal].will-reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity .55s var(--out), transform .7s var(--out); }
[data-reveal].will-reveal.revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 62rem) {
  .inner { width: calc(100% - 3.5rem); }
  .hero { gap: clamp(1.4rem,4vw,3rem); }
}
@media (max-width: 48rem) {
  html { scroll-padding-top: 4.8rem; }
  .inner { width: calc(100% - 2.25rem); }
  .nav { min-height: 4rem; flex-wrap: wrap; }
  .brand img { width: 2.45rem; height: 2.45rem; }
  .menu { display: flex; justify-content: center; align-items: center; gap: .55rem; padding: .4rem .65rem; min-height: 2.55rem; border: 1px solid #aab9c4; border-radius: .3rem; background: transparent; color: var(--navy); font-size: .9rem; font-weight: 700; }
  .menu i { width: .85rem; height: .55rem; border-block: 1.5px solid currentColor; transition: transform .22s; }
  .menu[aria-expanded=true] i { transform: rotate(90deg); }
  .nav-links { width: 100%; display: grid; gap: .15rem; padding-bottom: .8rem; }
  .nav-links[data-collapsed=true] { display: none; }
  .nav-links .button { justify-self: start; }
  .hero, .hour-grid, .academy-intro, .academy-content, .visit-grid { grid-template-columns: minmax(0,1fr); }
  .hero { gap: 1.35rem; padding-block: 1.65rem 2.55rem; }
  .hero-photo { grid-row: 1; }
  .hero-photo figcaption { padding-block: .62rem; min-height: 0; font-size: .82rem; }
  h1 { font-size: clamp(2.9rem,9.75vw,4.85rem); margin: .48rem 0 .8rem; text-wrap: initial; }
  .hero-actions { margin-top: 1.03rem; }
  h2 { font-size: clamp(2.55rem,7.7vw,4.35rem); text-wrap: initial; }
  .hour-copy h2 { max-width: none; }
  .hour-copy > p { margin-top: .43rem; }
  .hour-grid { gap: 1.1rem; }
  .day-panel { min-height: 6.5rem; }
  .day-time { font-size: clamp(2.7rem,10.4vw,4.4rem); }
  .academy-intro { gap: .57rem; }
  .footer .inner { display: grid; grid-template-columns: 1fr auto; gap: .6rem; }
  .footer p { grid-row: 2; }
  .footer .inner > a:last-child { grid-column: 2; grid-row: 1/3; text-align: right; }
}
@media (max-width: 23rem) {
  .inner { width: calc(100% - 1.65rem); }
  .day-buttons { gap: .2rem; }
  .day-buttons button { font-size: .8rem; }
  .day-time { font-size: clamp(2.3rem,10.6vw,2.7rem); }
  .visit-data { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal].will-reveal { opacity: 1; transform: none; }
}
