/* Shared layout. The look (colours, fonts, shapes) comes from theme-*.css via the variables below.
   No web fonts, no frameworks. Light + dark built in. */
:root {
  --bg: #fbfaf7; --surface: #ffffff; --surface-2: #f3f0f8; --ink: #1d1828; --muted: #625b70; --line: #e5e0ec;
  --brand: #3d2470; --brand-2: #5a3a96; --brand-ink: #ffffff;
  --accent: #f5c518; --accent-2: #ffd84d; --accent-ink: #2a1850;
  --heading: #2c1a55; --link: #5a3a96;
  --header-bg: rgba(255,255,255,.86); --header-ink: #1d1828; --header-line: rgba(0,0,0,.06);
  --footer-bg: #1c1430; --footer-ink: #d9d2e8;
  --band-bg: #3d2470; --band-ink: #ffffff;
  --radius: 18px; --radius-sm: 10px; --btn-radius: 999px;
  --shadow: 0 1px 2px rgba(30,20,60,.05), 0 10px 30px rgba(30,20,60,.08);
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: var(--font-body);
  --head-weight: 750; --head-spacing: -0.02em; --head-transform: none;
  --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --is-dark: 1; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--font-body); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-spacing);
  text-transform: var(--head-transform); color: var(--heading); line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.small { font-size: .9rem; } .muted { color: var(--muted); } .center { text-align: center; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 1rem; top: 1rem; z-index: 999; background: var(--surface); padding: .5rem 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .4em; white-space: nowrap; padding: .85em 1.4em; border-radius: var(--btn-radius); font-weight: 650;
  text-decoration: none; line-height: 1.1; border: 2px solid transparent; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-2); color: var(--accent-ink); }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn-sm { padding: .55em 1em; font-size: .92rem; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.4rem 0 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--header-bg); color: var(--header-ink);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--header-line); }
.header-in { display: flex; align-items: center; gap: 1.2rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; min-width: 0; }
.brand img { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.brand strong { display: block; white-space: nowrap; font-family: var(--font-head); font-size: 1.02rem; line-height: 1.15; letter-spacing: -.01em; }
.brand small { display: block; font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .1rem; }
.nav a { display: block; padding: .5rem .55rem; border-radius: 10px; color: inherit; text-decoration: none; font-weight: 550; font-size: .97rem; white-space: nowrap; }
.nav a:hover { background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--brand-2); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.header-tools { display: flex; align-items: center; gap: .5rem; }
.theme-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: inherit; font-size: 1.05rem; cursor: pointer; }
.theme-btn:hover { border-color: var(--accent); }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-button { display: none; width: 42px; height: 40px; border-radius: 10px; border: 1px solid var(--line); cursor: pointer; align-items: center; justify-content: center; }
.nav-button span, .nav-button span::before, .nav-button span::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: ""; }
.nav-button span::before { position: absolute; top: -6px; } .nav-button span::after { position: absolute; top: 6px; }
a.ext-link::after { content: " ↗"; font-size: .8em; opacity: .65; }
.btn.ext-link::after { opacity: .8; }
.offline-note { font-size: .85em; color: var(--muted); }

@media (max-width: 1180px) {
  .header-in { flex-wrap: wrap; }
  .nav { order: 5; width: 100%; display: none; margin: 0 0 .8rem; }
  .nav-toggle:checked ~ .nav { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { padding: .75rem .4rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .header-tools { margin-left: auto; }
  .nav-button { display: inline-flex; }
}
@media (max-width: 520px) {
  .brand-text small { display: none; }
  .brand strong { font-size: .92rem; white-space: normal; }
  .header-tools .booking { padding: .5em .8em; font-size: .85rem; }
  .header-in { gap: .6rem; }
}

/* Home hero */
.hero { position: relative; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--brand-2); margin-bottom: .9rem; }
.kicker a { color: inherit; }
.hero-text { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 38ch; color: var(--muted); }
/* split: text left, photo right */
.hero-split .hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; padding-top: 4rem; padding-bottom: 4rem; position: relative; }
.hero-split .hero-media { position: absolute; right: max(20px, calc((100vw - var(--wrap)) / 2 + 20px)); top: 3rem; bottom: 3rem;
  width: min(46vw, 540px); border-radius: calc(var(--radius) * 1.6); overflow: hidden; box-shadow: var(--shadow); }
/* full: photo behind, text on top */
.hero-full { min-height: min(86vh, 720px); display: grid; align-items: end; color: #fff; }
.hero-full .hero-media { position: absolute; inset: 0; }
.hero-full::after { content: ""; position: absolute; inset: 0; background: var(--hero-overlay, linear-gradient(180deg, rgba(10,6,25,.1) 20%, rgba(10,6,25,.82))); }
.hero-full .hero-in { position: relative; z-index: 2; padding-top: 6rem; padding-bottom: 4rem; }
.hero-full h1, .hero-full .hero-text { color: #fff; }
.hero-full .hero-text { color: rgba(255,255,255,.88); }
.hero-full .kicker { color: var(--accent); }
/* editorial: big type first, wide photo under it */
.hero-editorial .hero-in { padding-top: 4.5rem; padding-bottom: 2.5rem; }
.hero-editorial .hero-copy { max-width: 880px; }
.hero-editorial .hero-media { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.hero-editorial .hero-media img { aspect-ratio: 21 / 9; border-radius: var(--radius); }
.hero-editorial { display: flex; flex-direction: column-reverse; padding-bottom: 1rem; }
@media (max-width: 860px) {
  .hero-split .hero-in { grid-template-columns: 1fr; padding-top: 2rem; padding-bottom: 2rem; }
  .hero-split .hero-media { position: relative; inset: auto; width: auto; margin: 0 20px; height: 280px; right: auto; top: auto; bottom: auto; }
  .hero-split { display: flex; flex-direction: column-reverse; padding-top: 1rem; }
  .hero-full { min-height: 78vh; }
  .hero-editorial .hero-media img { aspect-ratio: 4 / 3; }
}

/* Facts band */
.facts-band { background: var(--band-bg); color: var(--band-ink); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-top: 1.8rem; padding-bottom: 1.8rem; }
.fact strong { display: block; font-family: var(--font-head); font-size: clamp(1.5rem, 3.4vw, 2.3rem); font-weight: var(--head-weight); line-height: 1.1; color: var(--accent); letter-spacing: -0.02em; }
.fact span { font-size: .92rem; opacity: .85; }
.small-band .facts { padding-top: 1.3rem; padding-bottom: 1.3rem; }
@media (max-width: 700px) { .facts { grid-template-columns: repeat(2, 1fr); row-gap: 1.3rem; } }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--surface-2); }
.section-title { margin-bottom: 1.4rem; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.section-head a { font-weight: 600; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card-link { display: flex; flex-direction: column; padding: 1.6rem; text-decoration: none; color: inherit; transition: transform .2s ease, border-color .2s ease; }
.card-link:hover { transform: translateY(-3px); border-color: var(--accent); }
.card-link h3 { margin-top: .6rem; font-size: 1.45rem; }
.card-link p { color: var(--muted); flex: 1; }
.card-price { color: var(--muted); font-size: .92rem; }
.card-price strong { font-family: var(--font-head); font-size: 1.7rem; color: var(--brand-2); letter-spacing: -0.02em; }
.more { font-weight: 650; color: var(--link); }
@media (max-width: 860px) { .cards3 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.split-img img { border-radius: var(--radius); box-shadow: var(--shadow); max-height: 520px; width: 100%; object-fit: cover; }
.split-img { margin: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 1.5rem; } .split-img img { max-height: 380px; } }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.news-card { text-decoration: none; color: inherit; overflow: hidden; display: flex; flex-direction: column; }
.news-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.news-body { padding: 1.2rem 1.3rem 1.4rem; }
.news-body time, .kicker time { font-size: .85rem; color: var(--muted); }
.news-body h3 { margin: .3rem 0 .4rem; }
.news-body p { color: var(--muted); margin: 0; }
.news-hero { margin: 0 0 2rem; } .news-hero img { border-radius: var(--radius); width: 100%; }

/* Photos */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.photo { display: block; border-radius: var(--radius-sm); overflow: hidden; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.photo:hover img { transform: scale(1.04); }
.photo-grid .photo:first-child { grid-column: span 2; grid-row: span 2; }
.photo-grid .photo:first-child img { height: 100%; }
@media (max-width: 700px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(8,5,18,.92); }
.lightbox img { max-width: 94vw; max-height: 88vh; margin: 6vh auto 0; border-radius: 8px; object-fit: contain; }
.lightbox button { position: fixed; background: rgba(255,255,255,.14); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 1.8rem; cursor: pointer; line-height: 1; }
.lb-close { top: 14px; right: 14px; } .lb-prev { left: 14px; top: 50%; } .lb-next { right: 14px; top: 50%; }

/* Call to action band */
.cta-band { background: var(--band-bg); color: var(--band-ink); }
.cta-band h2 { color: inherit; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-in .actions { margin: 0; }

/* Inner pages */
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.page-body { padding-top: 2rem; padding-bottom: 4rem; }
.page-body.has-aside { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 3rem; align-items: start; }
.page-aside { position: sticky; top: 90px; } .page-aside figure { margin: 0; } .page-aside img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 900px) { .page-body.has-aside { grid-template-columns: 1fr; } .page-aside { position: static; order: -1; } .page-aside img { max-height: 320px; width: 100%; object-fit: cover; } }
.page-main { max-width: 820px; }
.prose a { overflow-wrap: anywhere; }
.prose ul { padding-left: 1.2rem; } .prose li { margin: .3rem 0; }
.prose h3 { margin-top: 1.6rem; }

.accordion { margin-top: 1.5rem; display: grid; gap: .7rem; }
.accordion details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.accordion summary { cursor: pointer; list-style: none; padding: 1.05rem 1.2rem; font-weight: 650; font-size: 1.08rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--brand-2); transition: transform .2s ease; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details > .prose { padding: 0 1.2rem 1.1rem; }

.timetable { display: grid; gap: .5rem; margin: 1.5rem 0 1rem; }
.tt-row { display: grid; grid-template-columns: 180px 1fr; gap: 1rem; padding: .85rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.tt-row strong { color: var(--heading); }
@media (max-width: 560px) { .tt-row { grid-template-columns: 1fr; gap: .1rem; } }
.timeline { list-style: none; padding: 0; margin: 1rem 0; border-left: 3px solid var(--accent); }
.timeline li { padding: 0 0 1.3rem 1.4rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: .45rem; width: 15px; height: 15px; border-radius: 50%; background: var(--brand-2); border: 3px solid var(--bg); }
.timeline strong { font-family: var(--font-head); font-size: 1.4rem; color: var(--heading); }

.fee-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin: 1.2rem 0 2rem; }
.fee-card { padding: 1.4rem; }
.fee-card h3 { font-size: 1.05rem; min-height: 2.6em; }
.fee-total { font-family: var(--font-head); font-size: 2.4rem; font-weight: var(--head-weight); color: var(--brand-2); letter-spacing: -0.03em; margin: .2rem 0 .8rem; }
.fee-total span { font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.fee-card dl { margin: 0; border-top: 1px solid var(--line); padding-top: .6rem; }
.fee-card dl div { display: flex; justify-content: space-between; font-size: .92rem; padding: .18rem 0; }
.fee-card dt { color: var(--muted); } .fee-card dd { margin: 0; }

.officers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .8rem; margin: 1rem 0; }
.officers .card { padding: 1rem 1.2rem; box-shadow: none; }
.officers dt { font-size: .85rem; color: var(--muted); } .officers dd { margin: 0; font-weight: 650; font-size: 1.1rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2rem; margin-top: 2.5rem; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.address { white-space: pre-line; }
.map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Footer */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding: 3.5rem 0 1.5rem; }
.footer-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: .8rem; }
.site-footer p { margin: 0 0 .4rem; }
.site-footer a { color: #fff; text-decoration: none; } .site-footer a:hover { text-decoration: underline; }
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; margin-bottom: .7rem; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .85rem; opacity: .7; }
@media (max-width: 860px) { .footer-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-in { grid-template-columns: 1fr; } }
.notice { text-align: center; padding: 5rem 20px; }
.hero-full .kicker { text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.hero-full h1, .hero-full .hero-text { text-shadow: 0 2px 18px rgba(0,0,0,.35); }
@media (min-width: 1181px) {
  .header-in { gap: 1.6rem; }
  .brand { flex: none; }
  .nav a { padding: .5rem .42rem; font-size: .94rem; }
}
/* Phones: one compact header row */
@media (max-width: 520px) {
  .header-in { flex-wrap: wrap; min-height: 60px; gap: .45rem; }
  .brand { gap: .45rem; flex: 1 1 0; min-width: 0; }
  .brand img { width: 36px; height: 36px; }
  .brand strong { font-size: .84rem; line-height: 1.12; max-width: 118px; }
  .header-tools { gap: .35rem; flex: none; }
  .theme-btn { width: 34px; height: 34px; font-size: .95rem; }
  .header-tools .booking { padding: .5em .7em; font-size: .8rem; }
  .nav-button { width: 38px; height: 36px; }
}
.lbl-short { display: none; }
@media (max-width: 520px) {
  .lbl-long { display: none; } .lbl-short { display: inline; }
  .brand strong { max-width: 150px; }
  .header-tools .booking { letter-spacing: .02em; }
}
.hero-full .hero-in, .hero-editorial .hero-in { width: 100%; } /* full width, so the text starts at the left edge */
