/* =====================================================================
   CTRMS – site stylesheet
   ===================================================================== */

:root {
  --navy-900: #071a33;
  --navy-800: #0b2545;
  --navy-700: #13355f;
  --navy-600: #1d4b80;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-50:  #ecfdf9;
  --gold-500: #e3a72f;
  --gold-400: #f2c14e;
  --gold-50:  #fdf6e3;
  --ink:      #0f172a;
  --body:     #334155;
  --muted:    #64748b;
  --line:     #e2e8f0;
  --bg:       #ffffff;
  --bg-tint:  #f6f8fb;
  --danger:   #dc2626;
  --success:  #15803d;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow:    0 10px 30px -12px rgba(11, 37, 69, .25);
  --shadow-lg: 0 30px 60px -20px rgba(11, 37, 69, .35);
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; }
h1, h2 { font-family: var(--font-serif); font-weight: 600; letter-spacing: -.01em; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
address { font-style: normal; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 2px; border-radius: 4px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.narrow { max-width: 820px; }
.container.narrow { width: min(100% - 2.5rem, 820px); }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; letter-spacing: .02em; }
.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold-400); color: var(--ink); padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy-800); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.3rem; border-radius: 999px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); color: var(--btn-fg); }
.btn .icon { width: 1.05em; height: 1.05em; }
.btn--primary { --btn-bg: var(--navy-800); }
.btn--primary:hover { --btn-bg: var(--navy-700); }
.btn--accent { --btn-bg: var(--gold-400); --btn-fg: var(--navy-900); }
.btn--accent:hover { --btn-bg: var(--gold-500); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy-800); --btn-bd: #cbd5e1; }
.btn--outline:hover { --btn-bd: var(--navy-800); --btn-bg: #fff; }
.btn--ghost-light { --btn-bg: rgba(255,255,255,.08); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.45); backdrop-filter: blur(4px); }
.btn--ghost-light:hover { --btn-bg: rgba(255,255,255,.18); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.35); }
.btn--sm { padding: .5rem .95rem; font-size: .875rem; }
.btn--lg { padding: .95rem 1.7rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

.link-btn { display: inline-flex; align-items: center; gap: .35rem; background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn--danger { color: var(--danger); font-size: .875rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; text-decoration: none; margin-top: .5rem; }

.pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(242,193,78,.6); } 50% { box-shadow: 0 0 0 10px rgba(242,193,78,0); } }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy-900); color: #cbd5e1; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; flex-wrap: wrap; }
.topbar a, .topbar .link-btn { color: #e2e8f0; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover, .topbar .link-btn:hover { color: var(--gold-400); }
.topbar__contact, .topbar__meta { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.topbar .sep { width: 1px; height: 14px; background: rgba(255,255,255,.2); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(11,37,69,.35); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand__text strong { font-family: var(--font-serif); font-size: 1.45rem; color: var(--navy-800); letter-spacing: .04em; }
.brand__text small { font-size: .74rem; color: var(--muted); max-width: 250px; }
.brand--light, .brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text small { color: #94a3b8; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.site-nav a {
  display: block; padding: .55rem .8rem; border-radius: 999px; text-decoration: none;
  color: var(--body); font-weight: 600; font-size: .9rem; white-space: nowrap; transition: background .2s, color .2s;
}
.site-nav a:hover { background: var(--bg-tint); color: var(--navy-800); }
.site-nav a.is-active { background: var(--navy-800); color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--navy-800); cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }

/* ---------- Announcement ---------- */
.announce { background: linear-gradient(90deg, var(--gold-50), #fff 70%); border-bottom: 1px solid #f3e3b5; font-size: .92rem; }
.announce__inner { display: flex; align-items: center; gap: .9rem; padding-block: .6rem; }
.announce p { margin: 0; color: var(--ink); }
.announce a { font-weight: 600; white-space: nowrap; }
.announce__badge { display: inline-flex; align-items: center; gap: .35rem; background: var(--gold-400); color: var(--navy-900); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; padding: .25rem .6rem; border-radius: 999px; flex-shrink: 0; }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: clamp(520px, 78vh, 720px); color: #fff; overflow: hidden; background: var(--navy-900); }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide {
  display: flex; align-items: center;
  background-color: var(--navy-900); background-size: cover; background-position: center;
  opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s;
}
.hero__slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7,26,51,.92) 0%, rgba(7,26,51,.7) 45%, rgba(7,26,51,.25) 100%); }
.hero__content { position: relative; z-index: 1; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide.is-active .hero__content > * { animation: rise .9s var(--ease) both; }
.hero__slide.is-active .hero__content > *:nth-child(2) { animation-delay: .1s; }
.hero__slide.is-active .hero__content > *:nth-child(3) { animation-delay: .2s; }
.hero__slide.is-active .hero__content > *:nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__content { padding-block: 5rem 7rem; max-width: var(--container); }
.hero__title { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.8rem); max-width: 17ch; margin-bottom: .4em; }
.hero__text { font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 56ch; color: #dbe4f0; }
.hero__actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero__dots { position: absolute; left: 50%; bottom: 6.5rem; transform: translateX(-50%); display: flex; gap: .5rem; z-index: 3; }
.hero__dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; transition: width .3s, background .3s; }
.hero__dots button.is-active { width: 30px; background: var(--gold-400); }

.eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); margin-bottom: .9rem; }
.eyebrow--light { color: var(--gold-400); }

/* ---------- Next programme card ---------- */
.next-programme { position: relative; z-index: 5; margin-top: -4.5rem; }
.next-card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem 2rem;
  background: #fff; border-radius: var(--radius-lg); padding: 1.6rem 2rem; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.next-card__label { display: inline-flex; align-items: center; gap: .5rem; background: var(--teal-50); color: var(--teal-700); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; padding: .55rem .9rem; border-radius: 999px; white-space: nowrap; }
.next-card h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: .25rem; }
.next-card .meta { margin: 0; }
.next-card__actions { display: flex; gap: .6rem; flex-wrap: wrap; }

.meta { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; color: var(--muted); font-size: .9rem; }
.meta span, .meta a { display: inline-flex; align-items: center; gap: .35rem; }
.meta .icon { color: var(--teal-600); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--tint { background: var(--bg-tint); }
.section-title { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.section-head .section-title { margin-bottom: 0; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.lead { font-size: 1.15rem; color: var(--ink); line-height: 1.65; }

.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--top { align-items: start; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.stat { background: var(--bg-tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.2rem; }
.stat strong { display: block; font-family: var(--font-serif); font-size: 2.4rem; color: var(--navy-800); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .9rem; }
.vision-card { background: var(--navy-800); color: #dbe4f0; border-radius: var(--radius); padding: 1.6rem; position: relative; overflow: hidden; }
.vision-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(242,193,78,.35), transparent 70%); }
.vision-card h3 { color: #fff; display: flex; align-items: center; gap: .5rem; }
.vision-card h3 .icon { color: var(--gold-400); }
.vision-card p { margin: 0; font-size: .95rem; }
.link-arrow--light { color: var(--gold-400); }
.link-arrow--light:hover { color: #fff; }

/* ---------- Subject cards ---------- */
.subject-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; margin-top: 2rem; }
.section-head + .subject-grid { margin-top: 0; }
.subject-card {
  position: relative; display: flex; flex-direction: column; gap: .8rem; min-height: 140px;
  padding: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; overflow: hidden;
}
.subject-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(var(--teal-600), var(--gold-400)); transform: scaleY(0); transform-origin: top; transition: transform .3s var(--ease); }
.subject-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.subject-card:hover::before { transform: scaleY(1); }
.subject-card__num { font-family: var(--font-serif); font-size: 1.1rem; color: var(--teal-700); font-weight: 600; }
.subject-card__title { font-weight: 600; font-size: 1.02rem; line-height: 1.4; }
.subject-grid--compact .subject-card { min-height: 0; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.feature { text-align: center; padding: 1.8rem 1.2rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.feature__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--gold-50); color: var(--gold-500); margin-bottom: 1rem; }
.feature__icon .icon { width: 26px; height: 26px; }
.feature p { margin: 0; font-weight: 600; color: var(--ink); }
.destinations { margin-top: 2.5rem; display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.destinations__label { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--navy-800); }
.destinations ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; }
.destinations li { padding: .4rem .9rem; border-radius: 999px; background: var(--teal-50); color: var(--teal-700); font-weight: 600; font-size: .9rem; }

/* ---------- Photos ---------- */
.photo-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.photo { position: relative; display: block; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 4 / 3; background: var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(7,26,51,.55)); opacity: 0; transition: opacity .3s; }
.photo:hover img { transform: scale(1.06); }
.photo:hover::after { opacity: 1; }

.album { margin-bottom: 3.5rem; }
.album[hidden] { display: none; }
.album__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: .8rem; margin-bottom: 1.2rem; }
.album__head h2 { font-size: 1.6rem; margin: 0; }
.album-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--body); padding: .45rem 1rem; border-radius: 999px; font-size: .88rem; font-weight: 600; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--navy-800); color: var(--navy-800); }
.chip.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

/* ---------- CTA band ---------- */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: clamp(2rem, 4vw, 3.2rem); border-radius: var(--radius-lg); color: #dbe4f0;
  background: radial-gradient(circle at 90% 10%, rgba(242,193,78,.25), transparent 40%), linear-gradient(120deg, var(--navy-800), var(--teal-700));
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .4rem; }
.cta-band p { margin: 0; max-width: 60ch; }
.cta-band__actions { display: flex; gap: .7rem; flex-wrap: wrap; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; color: #fff; padding-block: clamp(3.5rem, 8vw, 6rem);
  background-color: var(--navy-800); background-size: cover; background-position: center;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7,26,51,.94), rgba(7,26,51,.65)); }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.5vw, 3.3rem); margin-bottom: .3em; }
.page-hero p { color: #cbd5e1; font-size: 1.1rem; max-width: 60ch; margin: 0; }
.breadcrumb { display: flex; gap: .5rem; font-size: .85rem; color: #94a3b8; margin-bottom: 1rem; }
.breadcrumb a { color: var(--gold-400); text-decoration: none; }

/* ---------- Mission ---------- */
.mission-quote { margin: 0; text-align: center; }
.mission-quote .icon { width: 44px; height: 44px; color: var(--gold-500); margin: 0 auto 1rem; }
.mission-quote p { font-family: var(--font-serif); font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.4; color: var(--navy-800); margin: 0; }

.check-list { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .65rem; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; }
.check-list .icon { color: #fff; background: var(--teal-600); border-radius: 50%; padding: 3px; width: 20px; height: 20px; margin-top: .2rem; }
.check-list--2col { grid-template-columns: 1fr 1fr; gap: .7rem 1.5rem; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.panel + .panel { margin-top: 1rem; }
.panel h3 { display: flex; align-items: center; gap: .5rem; }
.panel--accent { background: var(--navy-800); color: #dbe4f0; border-color: var(--navy-800); }
.panel--accent h3 { color: #fff; }
.panel--accent .icon { color: var(--gold-400); }
.panel--accent .check-list .icon { background: var(--gold-400); color: var(--navy-900); }
.panel p:last-child { margin-bottom: 0; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: 1rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 36px 1fr; column-gap: .8rem; }
.steps li::before { content: counter(step); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); font-weight: 700; }
.steps strong { color: var(--ink); }
.steps span { color: var(--muted); font-size: .92rem; }

/* ---------- Schedules ---------- */
.programme-list { display: grid; gap: 1rem; }
.programme { display: grid; grid-template-columns: 96px 1fr auto; gap: 1.5rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.programme__date { text-align: center; border-radius: 12px; background: var(--navy-800); color: #fff; padding: .8rem .4rem; }
.programme__day { display: block; font-family: var(--font-serif); font-size: 2rem; line-height: 1; }
.programme__month { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-400); }
.programme h3 { font-size: 1.2rem; margin: .4rem 0; }
.programme__body p { margin: .5rem 0 0; font-size: .95rem; }
.programme__actions { display: flex; flex-direction: column; gap: .5rem; }
.tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.tag { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 999px; background: var(--navy-800); color: #fff; }
.tag--soft { background: var(--bg-tint); color: var(--navy-700); }
.tag--live { background: #dcfce7; color: var(--success); }

.empty-state { text-align: center; padding: 3rem 1.5rem; background: #fff; border: 1.5px dashed #cbd5e1; border-radius: var(--radius); }
.empty-state > .icon { width: 44px; height: 44px; color: var(--teal-600); margin: 0 auto 1rem; }
.empty-state p { max-width: 56ch; margin: 0 auto 1.4rem; font-size: 1.05rem; }

.timeline { display: grid; gap: .5rem; }
.timeline__year { display: grid; grid-template-columns: 110px 1fr; gap: 1.5rem; }
.timeline__year h3 { font-family: var(--font-serif); font-size: 1.8rem; color: var(--navy-800); position: sticky; top: 100px; align-self: start; margin: 0; padding-top: .9rem; }
.timeline__year ul { list-style: none; margin: 0; padding: 0 0 0 1.5rem; border-left: 2px solid var(--line); }
.timeline__year li { position: relative; padding: .9rem 0 .9rem; border-bottom: 1px dashed var(--line); }
.timeline__year li:last-child { border-bottom: 0; }
.timeline__year li::before { content: ""; position: absolute; left: calc(-1.5rem - 7px); top: 1.35rem; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--teal-600); }
.timeline__title { font-weight: 600; color: var(--ink); }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; align-items: start; }
.form-layout--contact { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
.form-aside { position: sticky; top: 100px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.form fieldset { border: 0; padding: 0; margin: 0 0 2rem; min-width: 0; }
.form legend { display: flex; align-items: center; gap: .6rem; font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); margin-bottom: 1rem; padding: 0; }
.step-no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--teal-50); color: var(--teal-700); font-family: var(--font-sans); font-size: .9rem; font-weight: 700; }
.grid { display: grid; gap: 1rem 1.2rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.req { color: var(--danger); }
.hint { color: var(--muted); font-size: .82rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="password"], input[type="number"], input[type="url"], select, textarea {
  width: 100%; padding: .7rem .85rem; font: inherit; font-size: .95rem; color: var(--ink);
  background: #fff; border: 1.5px solid #cbd5e1; border-radius: 10px; transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 44px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 4px rgba(13,148,136,.15); }
.is-invalid { border-color: var(--danger) !important; box-shadow: 0 0 0 4px rgba(220,38,38,.1) !important; }
.checkbox { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.2rem; font-size: .92rem; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin-top: .25rem; accent-color: var(--teal-700); flex-shrink: 0; }
.checkbox.is-invalid { color: var(--danger); box-shadow: none !important; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.participant { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; margin-bottom: 1rem; background: var(--bg-tint); }
.participant__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; color: var(--navy-800); }

.form-actions { display: flex; justify-content: flex-end; }
.form-status:empty { display: none; }
.form-status { margin-bottom: 1rem; }
.alert { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 1.2rem; font-size: .95rem; }
.alert .icon { margin-top: .2rem; }
.alert ul { margin: .4rem 0 0; padding-left: 1.1rem; }
.alert--success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #14532d; }
.alert--error { background: #fef2f2; border: 1px solid #fecaca; color: #7f1d1d; }
.alert--info { background: var(--teal-50); border: 1px solid #99f6e4; color: #134e4a; }

.kv { display: grid; grid-template-columns: max-content 1fr; gap: .55rem 1.2rem; margin: 0; }
.kv dt { color: var(--muted); font-size: .88rem; }
.kv dd { margin: 0; font-weight: 600; color: var(--ink); }
.panel--accent .kv dt { color: #94a3b8; }
.panel--accent .kv dd { color: #fff; }
.kv--compact { margin-bottom: 1rem; font-size: .92rem; }
[data-copy] { cursor: copy; border-bottom: 1px dashed currentColor; }
[data-copy].is-copied::after { content: " ✓ copied"; color: var(--success); font-family: var(--font-sans); font-size: .8rem; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .2rem; box-shadow: var(--shadow-sm); }
.contact-card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-800); color: var(--gold-400); margin-bottom: .8rem; }
.contact-card__icon .icon { width: 22px; height: 22px; }
.contact-card h3 { margin-bottom: .3rem; }
.contact-card > a { text-decoration: none; font-weight: 500; }
.contact-card address { color: var(--body); font-size: .95rem; }
.map-wrap { position: sticky; top: 100px; }
.map-tabs { display: flex; gap: .5rem; margin-bottom: .8rem; flex-wrap: wrap; }
.map { width: 100%; height: 480px; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--line); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #94a3b8; font-size: .92rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1fr; gap: 2.5rem; padding-block: 4rem 3rem; }
.site-footer h3 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); }
.footer-about p { margin: 1rem 0 .5rem; }
.footer-meta { font-size: .82rem; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-contact li { display: flex; align-items: center; gap: .55rem; }
.footer-contact .icon { color: var(--gold-400); }
.footer-contact + .btn { margin-top: 1.2rem; }
.footer-office { margin-bottom: 1rem; }
.footer-office strong { color: #e2e8f0; display: block; margin-bottom: .2rem; }
.social { display: flex; gap: .5rem; margin-top: 1rem; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); }
.social a:hover { background: var(--gold-400); color: var(--navy-900); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
.footer-bottom__inner { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.2rem; flex-wrap: wrap; }

/* ---------- Dialog & lightbox ---------- */
.dialog { border: 0; border-radius: var(--radius-lg); padding: 1.8rem; width: min(92vw, 480px); box-shadow: var(--shadow-lg); color: var(--body); }
.dialog::backdrop { background: rgba(7,26,51,.6); backdrop-filter: blur(3px); }
.dialog[open] { animation: rise .35s var(--ease); }
.dialog__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.dialog__head h2 { font-size: 1.35rem; margin: 0; display: flex; align-items: center; gap: .5rem; }
.dialog__head h2 .icon { color: var(--teal-600); }
.dialog__close { background: var(--bg-tint); border: 0; border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.dialog__note { font-size: .8rem; color: var(--muted); margin: 1.2rem 0 0; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4,14,28,.94); display: flex; align-items: center; justify-content: center; padding: 3rem 4.5rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 8rem); object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox figcaption { color: #cbd5e1; margin-top: .8rem; font-size: .9rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lightbox button .icon { width: 24px; height: 24px; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .site-nav a { padding: .5rem .6rem; font-size: .86rem; }
  .brand__text small { display: none; }
}
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); max-height: calc(100vh - 80px); overflow: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s var(--ease);
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; padding: 1rem 1.25rem 1.5rem; gap: .2rem; }
  .site-nav a { padding: .8rem 1rem; border-radius: 10px; font-size: 1rem; }
  .brand__text small { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-layout, .form-layout--contact { grid-template-columns: 1fr; }
  .form-aside, .map-wrap { position: static; }
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .next-card { grid-template-columns: 1fr; padding: 1.4rem; }
  .next-card__label { justify-self: start; }
  .programme { grid-template-columns: 72px 1fr; }
  .programme__actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar__meta { display: none; }
  .check-list--2col { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .site-header__inner { min-height: 68px; }
  .brand img { width: 44px; height: 44px; }
  .brand__text small { display: none; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .timeline__year { grid-template-columns: 1fr; gap: .2rem; }
  .timeline__year h3 { position: static; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .announce__inner { align-items: flex-start; }
  .hero__actions .btn { width: 100%; }
  .lightbox { padding: 3.5rem .5rem; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; transform: none; }
  .map { height: 340px; }
  .form-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .topbar, .site-header, .announce, .site-footer, .hero__dots, .form-actions { display: none !important; }
}
