@font-face {
  font-family: 'Bitstream Vera Sans';
  src: url('/assets/vera.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Bitstream Vera Sans';
  src: url('/assets/vera-bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --navy: #091e38;
  --night: #061525;
  --blue: #173a60;
  --gold: #e8bc72;
  --gold-light: #f5d9a2;
  --gold-ink: #82541f;
  --ivory: #faf7f0;
  --paper: #fffdf8;
  --ink: #10283e;
  --muted: #4d5e6d;
  --line: #e8e0d2;
  --max: 75rem;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Bitstream Vera Sans', system-ui, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2,.7,.25,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 6.5rem; background: var(--navy); }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 1rem/1.62 var(--sans); }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { text-decoration-thickness: .13em; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: wait; opacity: .6; }
a, button, summary, input, select, textarea { -webkit-tap-highlight-color: rgba(215,169,94,.23); }
:focus-visible { outline: 3px solid #a86e28; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
h1 { font-size: clamp(3.25rem, 8.7vw, 6.9rem); }
h2 { font-size: clamp(2rem, 4.7vw, 3.55rem); }
h3 { line-height: 1.27; }
ul { padding-inline-start: 1.35em; }
::selection { color: var(--night); background: var(--gold-light); }
.section { padding-block: clamp(3.45rem, 7vw, 6.5rem); }
.wrap { width: min(100% - 2.25rem, var(--max)); margin-inline: auto; }
.narrow { max-width: 52rem; }
.icon { width: 1.35rem; height: 1.35rem; flex: 0 0 auto; display: inline-block; }
.sr-only, .form-trap { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: .6rem; left: .6rem; color: var(--night); background: var(--gold-light); padding: .62rem 1rem; border-radius: .4rem; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.eyebrow { font: 700 .78rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .15em; color: var(--gold-ink); margin-block-end: .85rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.7rem; }
.button { min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; border-radius: .35rem; border: 1px solid transparent; padding: .76rem 1.2rem; text-align: center; line-height: 1.35; text-decoration: none; font-size: .92rem; font-weight: 710; transition: background .2s, box-shadow .2s, border .2s, color .2s, transform .2s var(--ease), translate .18s var(--ease); }
.button--gold { color: #172638; background: var(--gold); }
.button--gold:hover { background: var(--gold-light); box-shadow: 0 8px 22px #090e202f; }
.button--ink { color: #fff8eb; background: var(--navy); }
.button--ink:hover { background: #20466d; }
.button--outline { color: #fff7e8; border-color: #fdf1d17a; background: #081b2f55; }
.button--outline:hover { background: #fff7e824; border-color: #fff7e8; }
.button--line { color: var(--ink); background: transparent; border-color: #9b8055; }
.button--line:hover { background: #efdcbf; }
.button:active, .icon-button:active, .chat-launch:active { transform: scale(.97); }
.icon-button { border: 1px solid currentColor; color: inherit; background: transparent; border-radius: 50%; display: inline-grid; place-items: center; inline-size: 2.65rem; block-size: 2.65rem; padding: 0; text-decoration: none; transition: background .2s, transform .2s var(--ease); }
.icon-button:hover { background: #b88e4925; }
.lift { transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s; }
.lift:active { transform: scale(.99); }
@media (hover: hover) and (pointer: fine) {
  .lift:hover, .lift:focus-within { transform: translateY(-4px); box-shadow: 0 14px 30px #152b3f14; }
}

.header { position: sticky; top: 0; z-index: 8; color: var(--ivory); background: #091e38; border-bottom: 1px solid #efcf9c38; }
.header-inner { min-height: 4.32rem; display: flex; align-items: center; flex-wrap: wrap; gap: .12rem .75rem; padding-block: .65rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: inherit; line-height: 1; text-decoration: none; white-space: nowrap; }
.brand > span:not(.brand-mark) { font-family: var(--serif); font-size: clamp(1.16rem, 3.7vw, 1.4rem); letter-spacing: -.023em; }
.brand strong { font-weight: inherit; color: var(--gold-light); }
.brand-mark { inline-size: 2.68rem; block-size: 2.68rem; object-fit: contain; flex: 0 0 auto; }
.type-mark { display: inline-grid; place-items: center; font-family: var(--serif); font-size: 1.15rem; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); background: #082347; }
.menu-button { margin-inline-start: auto; border-color: #efcf9c67; color: #f8e4bd; }
.primary-nav { display: flex; flex-wrap: wrap; align-items: center; width: 100%; order: 4; gap: .15rem .85rem; }
.primary-nav a { padding-block: .5rem; font-size: .91rem; text-decoration: none; color: #e5e9ed; border-bottom: 1px solid transparent; }
.primary-nav a:hover, .primary-nav a[aria-current] { border-color: var(--gold); color: var(--gold-light); }
.header [data-header-cta] { min-height: 2.65rem; margin-inline-start: .3rem; font-size: .83rem; padding-inline: .72rem; }
@media (max-width: 29rem) {
  .header-inner { width: min(100% - 1.25rem, var(--max)); gap: .1rem .45rem; }
  .header .brand { gap: .35rem; }
  .header .brand-mark { inline-size: 2.2rem; block-size: 2.2rem; }
  .header [data-header-cta] { font-size: .77rem; padding-inline: .61rem; margin-inline-start: 0; }
  .menu-button { width: 2.4rem; height: 2.4rem; }
}
@media (max-width: 49.99rem) {
  .header.js-menu .primary-nav { display: none; }
  .header.js-menu .primary-nav.is-open { display: grid; grid-template-columns: 1fr 1fr; padding: .6rem .3rem .35rem; border-top: 1px solid #f4d5a835; margin-top: .55rem; }
}
@media (min-width: 50rem) {
  .header-inner { min-height: 5.2rem; gap: 1.6rem; }
  .primary-nav { width: auto; order: 0; margin-inline-start: auto; gap: clamp(.8rem, 2vw, 2.1rem); }
  .menu-button { display: none; }
  .header [data-header-cta] { padding-inline: 1rem; }
}

.hero { position: relative; isolation: isolate; color: #fff9ef; overflow: hidden; background: radial-gradient(ellipse at 84% 33%, #436383, #143750 39%, var(--navy) 80%); }
.hero-frames, .hero-frame, .hero::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-frames { z-index: -2; overflow: hidden; }
.hero-frame { object-fit: cover; object-position: center 61%; opacity: 0; transform: scale(1.045); transition: opacity .43s ease, transform 2.5s linear; }
.hero-frame.is-current { opacity: 1; transform: scale(1.005); }
.hero-frame:nth-child(2), .hero-frame:nth-child(5) { object-position: 50% 45%; }
.hero::before { z-index: -1; content: ''; background: linear-gradient(90deg, #051323ed 0%, #08182cda 36%, #09192f56 76%, #05152640), linear-gradient(0deg, #061726b9 2%, transparent 41%); }
.hero-inner { padding-block: clamp(3.6rem, 7vw, 6.5rem) 1.25rem; display: flex; flex-direction: column; align-items: start; gap: 2.35rem; min-height: min(44rem, calc(100svh - 4.3rem)); }
.hero-copy { max-width: 47rem; margin-block: auto; }
.hero-where { display: inline-flex; gap: .48rem; align-items: center; text-decoration: none; color: var(--gold-light); letter-spacing: .13em; }
.hero-where:hover { text-decoration: underline; }
.hero-where .icon { width: 1rem; height: 1rem; }
.hero h1 { max-width: 8.1ch; text-wrap: initial; }
.hero h1 em { color: var(--gold-light); font-weight: 400; }
.hero-copy > p { max-width: 39rem; margin-block-start: 1.35rem; color: #f2eee6; font-size: clamp(1rem, 2.05vw, 1.24rem); line-height: 1.57; }
.hero-reel { align-self: stretch; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #f6eadc5b; padding-top: .7rem; gap: .5rem; color: #f6efdf; }
.hero-reel a { font-size: .87rem; font-weight: 600; }
.reel-controls { display: flex; align-items: center; gap: .32rem; }
.reel-controls .icon-button { border-color: #f6eadc7a; width: 2.3rem; height: 2.3rem; background: #0515258c; }
.reel-controls .icon-button:hover { background: #0b244f; }
.play-glyph, [data-paused] .pause-glyph { display: none; }
[data-paused] .play-glyph { display: block; }
@media (max-width: 42rem) {
  .hero::before { background: linear-gradient(90deg, #08182dea 0%, #07192c91 66%, #06162874), linear-gradient(0deg, #061726dd 3%, transparent 80%); }
  .hero-inner { min-height: 37.25rem; padding-top: 3.6rem; }
  .hero h1 { max-width: 8.4ch; }
  .hero-copy .button { padding-inline: .85rem; }
}
.enrollment { background: #132b48; color: #faf1e2; border-top: 1px solid #e7bd7a62; }
.enrollment-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.25rem; padding-block: .64rem; }
.enrollment a { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-size: .88rem; padding-block: .32rem; }
.enrollment a:hover { color: var(--gold-light); text-decoration: underline; }
.enrollment .icon { color: var(--gold); width: 1.13rem; height: 1.13rem; }
@media (min-width: 44rem) {
  .enrollment-inner { padding-block: .85rem; justify-content: space-between; }
  .enrollment a { font-size: .95rem; }
}
.programmes-section { background: var(--ivory); }
.section-head { display: grid; gap: 1rem 3rem; margin-bottom: 1.75rem; align-items: end; }
.section-head > p { max-width: 35ch; color: var(--muted); }
.programme-grid { display: grid; gap: .8rem; margin-top: 1.6rem; }
.programme-card { position: relative; display: flex; flex-direction: column; min-height: 12rem; background: var(--paper); border: 1px solid var(--line); border-radius: .56rem; padding: 1.15rem 1.2rem; overflow-wrap: anywhere; }
.programme-card:hover { border-color: #c08a48; }
.programme-card .programme-icon { width: 2.13rem; height: 2.13rem; display: grid; place-items: center; color: var(--gold-ink); background: #f3e5cd; border-radius: .26rem; margin-bottom: .9rem; }
.programme-card .programme-board { color: var(--gold-ink); font-size: .77rem; font-weight: 710; letter-spacing: .06em; }
.programme-card h3 { font: 400 clamp(1.38rem, 3.4vw, 1.8rem)/1.14 var(--serif); margin: .18rem 0 .68rem; }
.programme-card h3 a { text-decoration: none; }
.programme-card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: .55rem; }
.programme-card h3 a:focus-visible::after { outline: 3px solid #a86e28; outline-offset: -4px; }
.programme-card p:not(.programme-board) { color: var(--muted); font-size: .94rem; line-height: 1.52; margin-bottom: .85rem; }
.programme-more { margin-top: auto; color: var(--gold-ink); font-size: .82rem; font-weight: 740; text-decoration: underline; text-underline-offset: .25em; }
@media (min-width: 33rem) { .programme-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 53rem) {
  .section-head { grid-template-columns: 1fr auto; }
  .programme-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 68rem) { .programme-grid { grid-template-columns: repeat(5, 1fr); } }
.approach, .admissions { background: #f1e8d7; }
.story-split { display: grid; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.story-image { height: clamp(18rem, 62vw, 28rem); overflow: hidden; border-radius: .6rem; position: relative; display: block; background: var(--navy); }
.story-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.story-image span { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.8rem 1.15rem 1rem; background: linear-gradient(transparent, #091a2af0); color: white; font-weight: 680; font-size: .92rem; }
.story-copy h2 { margin-bottom: .95rem; max-width: 18ch; }
.feature-row { display: grid; grid-template-columns: 2.05rem 1fr; gap: .72rem; padding: .95rem 0; border-bottom: 1px solid #d6c9b3; }
.feature-row:last-child { border-bottom: 0; padding-bottom: 0; }
.feature-row > span { color: var(--gold-ink); padding-top: .1rem; }
.feature-row p { color: var(--muted); margin-top: .3rem; }
.feature-row a { display: inline-block; margin-top: .34rem; color: #714711; font-weight: 680; font-size: .92rem; }
.guide-strip { background: #fffcf5; }
.band-inner { display: flex; flex-wrap: wrap; gap: 1.4rem 2.4rem; align-items: center; justify-content: space-between; }
.band-inner h2 + p { margin-top: .78rem; }
.end-band { color: #fffaee; background: radial-gradient(ellipse at 81% -10%, #2b5176, var(--navy) 65%); padding-block: clamp(2.7rem, 5vw, 4.5rem); }
.end-band .eyebrow { color: var(--gold-light); }
.answers { border-top: 1px solid var(--line); background: var(--ivory); }
.answers h2 { margin-bottom: 1.65rem; }
.faq-list { display: grid; gap: .56rem; }
.faq-list details { border: 1px solid var(--line); background: var(--paper); border-radius: .44rem; }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .9rem 1rem; font-weight: 690; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--gold-ink); font-size: 1.4rem; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { padding: 0 1rem 1rem; color: var(--muted); max-width: 67ch; }
.facts { border-top: 1px solid var(--line); background: #f5eee0; }
.facts-inner { display: grid; align-items: start; gap: 1.4rem 3rem; }
.facts dl { display: grid; gap: .65rem; margin: 0; }
.facts dl div { border-bottom: 1px solid #dbd0bc; padding-bottom: .55rem; }
.facts dt { color: var(--gold-ink); font-size: .88rem; font-weight: 710; }
.facts dd { margin: .15rem 0 0; }
@media (min-width: 50rem) {
  .story-split { grid-template-columns: .95fr 1fr; }
  .facts-inner { grid-template-columns: 1fr 1.25fr; }
  .facts dl { grid-template-columns: 1fr 1fr; gap: .7rem 1rem; }
}
.page-hero { color: var(--ivory); background: radial-gradient(ellipse at 83% 10%, #284d71, var(--navy) 65%); padding-block: 1.05rem clamp(3rem, 7vw, 6.7rem); }
.breadcrumbs { color: #e3e9ef; display: flex; flex-wrap: wrap; align-items: center; gap: .44rem .65rem; font-size: .87rem; }
.breadcrumbs [aria-hidden] { color: var(--gold); }
.page-hero-main { margin-top: clamp(2.6rem, 7vw, 5.8rem); max-width: 58rem; }
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero h1 { font-size: clamp(2.65rem, 6.5vw, 5.35rem); }
.page-lead { max-width: 45rem; margin-top: 1.1rem; color: #e8ecf0; font-size: clamp(1.01rem, 2vw, 1.18rem); }
.reading { max-width: 52rem; display: grid; gap: 2rem; }
.reading h2 { font-size: clamp(1.85rem, 3.4vw, 2.65rem); }
.reading h2 + p, .admissions h2 + p { margin-top: .75rem; color: var(--muted); }
.reading > .button { justify-self: start; }
.course-next { padding: 1.35rem; background: #f2e7d5; border-left: .2rem solid #b28043; }
.course-next .button { margin-top: 1rem; }
.gallery { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.gallery figure { border: 1px solid var(--line); background: var(--paper); border-radius: .52rem; overflow: hidden; }
.gallery figure a { display: block; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 5/4; object-fit: cover; object-position: center; }
.gallery figcaption { padding: .72rem .9rem; font-weight: 650; font-size: .92rem; }
.flyer { max-width: 24rem; border-radius: .65rem; box-shadow: 0 8px 25px #19283a29; overflow: hidden; }
.flyer img { width: 100%; }
@media (min-width: 31rem) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 55rem) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.directory-grid { display: grid; gap: 1rem; }
.directory-group { background: var(--paper); border: 1px solid var(--line); border-radius: .45rem; padding: 1.15rem; }
.directory-group h2 { font-size: 1.78rem; }
.directory-group li { margin-block: .35rem; }
@media (min-width: 45rem) { .directory-grid { grid-template-columns: repeat(2, 1fr); } }

.enquiry-grid { display: grid; gap: 1.65rem 3.2rem; align-items: start; }
.enquiry-aside > p:not(.eyebrow) { color: var(--muted); margin-block: .8rem 1.15rem; }
.contact-cards { display: grid; gap: .56rem; }
.contact-card { display: flex; align-items: center; gap: .8rem; min-height: 4.3rem; text-decoration: none; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: .42rem; background: var(--paper); }
.contact-card .icon { color: var(--gold-ink); }
.contact-card small { display: block; color: var(--muted); font-size: .87rem; }
.enquiry-form { background: var(--paper); border: 1px solid var(--line); border-radius: .65rem; padding: clamp(.95rem, 3.1vw, 1.7rem); }
.form-fields { margin: 0; padding: 0; min-width: 0; border: 0; }
.form-grid { display: grid; gap: .8rem 1rem; }
.form-grid label { display: grid; gap: .25rem; font-size: .93rem; font-weight: 690; }
.form-grid label small { font-size: .87em; font-weight: 420; color: var(--muted); }
input, select, textarea { width: 100%; border: 1px solid #a8aeb0; border-radius: .36rem; color: var(--ink); background: white; padding: .64rem .66rem; font-size: 1rem; min-height: 2.8rem; }
textarea { resize: vertical; }
.form-note, .form-status { color: var(--muted); font-size: .93rem; margin-block: .86rem; }
.form-status:empty { display: none; }
[data-turnstile]:not(:empty) { margin-bottom: .7rem; }
@media (min-width: 36rem) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-grid .wide { grid-column: span 2; } }
@media (min-width: 54rem) { .enquiry-grid { grid-template-columns: .8fr 1.2fr; } }

.footer { background: var(--night); color: #e3e9ee; padding: 2.4rem 0 3.5rem; }
.footer-inner { display: grid; align-items: center; gap: 1.25rem 1.75rem; }
.footer p { color: #c6d1dd; font-size: .9rem; margin-top: .55rem; }
.footer nav, .footer-social { display: flex; flex-wrap: wrap; gap: .45rem .9rem; }
.footer nav a { font-size: .87rem; }
.footer-social .icon-button { color: var(--gold-light); width: 2.3rem; height: 2.3rem; border-color: #e2b77573; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .65rem; color: #bfcad5; font-size: .8rem; border-top: 1px solid #dfb16f45; margin-top: 1.5rem; padding-top: .7rem; }
.footer-bottom small { font-size: inherit; }
@media (min-width: 52rem) { .footer-inner { grid-template-columns: 1fr auto auto; } }

dialog { color: var(--ink); background: var(--paper); border: 1px solid #ab8b5b; box-shadow: 0 20px 70px #060e2a56; }
dialog::backdrop { background: #030b1fb0; }
.dialog-close { position: absolute; top: .75rem; right: .75rem; border-color: #9a876b; }
.offer-dialog { width: min(calc(100% - 1.5rem), 29rem); padding: clamp(1.35rem, 5vw, 2.4rem); border-radius: .8rem; background: radial-gradient(ellipse at 85% 0, #ffefd2, var(--paper) 75%); }
.offer-dialog .eyebrow { padding-inline-end: 2.5rem; }
.offer-dialog h2 { max-width: 11ch; line-height: .99; }
.offer-dialog h2 + p { margin: 1rem 0 1.3rem; color: var(--muted); }
.plain-button { border: 0; background: none; text-decoration: underline; text-underline-offset: .22em; margin: .55rem .45rem; }
.chat-launch { position: fixed; z-index: 9; bottom: max(.75rem, env(safe-area-inset-bottom)); right: .75rem; min-height: 2.9rem; display: inline-flex; gap: .45rem; align-items: center; border: 1px solid #d8a963; background: var(--navy); color: #fff1d2; border-radius: 1.7rem; padding: .65rem .87rem; box-shadow: 0 4px 18px #07152f50; font-size: .88rem; font-weight: 700; transition: transform .2s var(--ease), background .2s; }
.chat-launch:hover { background: #255079; }
.chat-dialog { inset: auto max(.75rem, env(safe-area-inset-right)) max(.75rem, env(safe-area-inset-bottom)) auto; margin: 0; width: min(calc(100% - 1.5rem), 26rem); max-height: min(calc(100dvh - 1.5rem), 37rem); padding: 0; border-radius: .72rem; overflow: auto; }
.chat-dialog[open] { display: flex; flex-direction: column; }
.chat-dialog header { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .6rem .8rem; background: var(--navy); color: var(--ivory); }
.chat-dialog header div { display: flex; align-items: center; gap: .5rem; }
.chat-dialog header h2 { font-family: var(--sans); font-weight: 690; font-size: 1.12rem; letter-spacing: normal; }
.chat-dialog header .icon-button { inline-size: 2.4rem; block-size: 2.4rem; border-color: #f5d9a27d; }
.chat-note { padding: .5rem .85rem; font-size: .84rem; color: var(--muted); }
.chat-log { padding: .5rem .85rem; min-height: 4rem; height: 15rem; overflow: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: .55rem; }
.chat-bubble { align-self: flex-start; max-width: 94%; background: #f1e5d1; border-radius: .4rem .4rem .4rem .1rem; padding: .49rem .68rem; font-size: .92rem; white-space: pre-line; overflow-wrap: anywhere; }
.chat-bubble[data-speaker="user"] { align-self: flex-end; color: white; background: var(--blue); border-radius: .4rem .4rem .1rem .4rem; }
.chat-links, .chat-suggestions { display: flex; flex-wrap: wrap; gap: .32rem; }
.chat-suggestions { padding: .4rem .82rem; }
.chat-links a, .chat-suggestions button { background: #fdf7eb; color: var(--ink); border: 1px solid #b99a6e; border-radius: 1rem; padding: .33rem .61rem; font-size: .8rem; line-height: 1.32; }
.chat-suggestions button:hover, .chat-links a:hover { background: #f0dcb8; }
.chat-dialog form { display: flex; gap: .35rem; padding: .35rem .8rem; }
.chat-dialog form input { min-width: 0; }
.chat-dialog form .button { min-height: 2.75rem; padding: .46rem .78rem; }
.chat-human { padding: .4rem .85rem .65rem; font-size: .83rem; color: #6b461b; }
@media (max-height: 36rem) { .chat-log { height: 10.2rem; } }

.curtain { position: fixed; inset: 0; z-index: 50; display: none; grid-template-columns: 1fr 1fr; pointer-events: none; overflow: hidden; }
html[data-curtain] .curtain { display: grid; }
html[data-curtain="arrival"] body > :not(.curtain) { visibility: hidden; }
html[data-curtain="closing"] .curtain-panel { transform: translateY(-105%); }
.curtain-panel { height: 100%; background: repeating-linear-gradient(90deg, #ffffff04 0%, #00000018 7%, #ffffff07 14%, #00000013 22%), linear-gradient(115deg, #112e50, #071729 80%); border-bottom: .24rem solid var(--gold); }
.curtain-panel:first-child { border-right: 1px solid #d3ae684d; }
.curtain-logo { display: none; position: absolute; inset: 0; place-content: center; place-items: center; gap: .8rem; color: #fff0d2; text-align: center; transform: translateY(-115%); }
html[data-curtain="intro"] .curtain-logo { display: grid; }
.curtain[data-logo-onstage] .curtain-logo { transform: none; }
.curtain-logo .brand-mark { width: clamp(6rem, 23vw, 10rem); height: clamp(6rem, 23vw, 10rem); font-size: 3.2rem; }
.curtain-logo > span:not(.brand-mark) { font-family: var(--serif); font-size: clamp(1.45rem, 5vw, 2.25rem); letter-spacing: .07em; }
html[data-curtain="intro"], html[data-curtain="arrival"] { background: #091e38; }
html.motion-ready [data-reveal]:not([data-visible]):not(:focus-within):not(:target) { opacity: 0; translate: 0 13px; }
html.motion-ready [data-reveal] { transition: opacity .48s var(--ease), translate .48s var(--ease); }
html.motion-ready [data-reveal].lift { transition: opacity .48s var(--ease), translate .48s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease); }
#navigation-status[data-error] { clip-path: none; position: fixed; z-index: 10; bottom: 4.15rem; left: 1rem; right: 1rem; width: auto; height: auto; margin: 0 auto; padding: .6rem .8rem; max-width: 33rem; color: var(--ivory); background: var(--navy); border-radius: .4rem; white-space: normal; }
@media (prefers-reduced-motion: reduce) {
  html[data-curtain] .curtain { display: none; }
  html[data-curtain="arrival"] body > :not(.curtain) { visibility: visible; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html.motion-ready [data-reveal]:not([data-visible]) { opacity: 1; translate: none; }
  .hero-frame { transform: none; }
}
