/* ==========================================================================
   Coral Gables Branch Library — coralgablesbranch.com
   Design language: Mediterranean Revival ("The City Beautiful") meets the
   Miami-Dade Public Library System brand blues.
   ========================================================================== */

:root {
  /* Brand */
  --navy-900: #0c2238;
  --navy-800: #11304d;
  --navy-700: #145a92;
  --blue-600: #0084cb;
  --sky-500: #00aeef;
  --coral-600: #c4553a;
  --coral-500: #d9694a;
  --coral-100: #fbe6de;
  --gold-500: #c49a4a;
  --garden-600: #3f6f4e;
  --garden-100: #e3efe5;

  /* Neutrals */
  --sand-50: #fdfaf5;
  --sand-100: #f7f0e5;
  --sand-200: #efe4d3;
  --stone-300: #dccfbb;
  --ink-900: #1a2431;
  --ink-700: #3a4757;
  --ink-500: #657284;
  --white: #ffffff;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(12, 34, 56, .06), 0 2px 8px rgba(12, 34, 56, .05);
  --shadow: 0 10px 30px -12px rgba(12, 34, 56, .22);
  --shadow-lg: 0 30px 60px -20px rgba(12, 34, 56, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;

  --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23c49a4a' stroke-opacity='.22' stroke-width='1.2'%3E%3Cpath d='M28 4c6 8 6 16 0 24-6-8-6-16 0-24zM28 52c-6-8-6-16 0-24 6 8 6 16 0 24zM4 28c8-6 16-6 24 0-8 6-16 6-24 0zM52 28c-8 6-16 6-24 0 8-6 16-6 24 0z'/%3E%3Ccircle cx='28' cy='28' r='3'/%3E%3Ccircle cx='0' cy='0' r='6'/%3E%3Ccircle cx='56' cy='0' r='6'/%3E%3Ccircle cx='0' cy='56' r='6'/%3E%3Ccircle cx='56' cy='56' r='6'/%3E%3C/g%3E%3C/svg%3E");
  --tile-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.2'%3E%3Cpath d='M28 4c6 8 6 16 0 24-6-8-6-16 0-24zM28 52c-6-8-6-16 0-24 6 8 6 16 0 24zM4 28c8-6 16-6 24 0-8 6-16 6-24 0zM52 28c-8 6-16 6-24 0 8-6 16-6 24 0z'/%3E%3Ccircle cx='28' cy='28' r='3'/%3E%3Ccircle cx='0' cy='0' r='6'/%3E%3Ccircle cx='56' cy='0' r='6'/%3E%3Ccircle cx='0' cy='56' r='6'/%3E%3Ccircle cx='56' cy='56' r='6'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
[hidden] { display: none !important; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--coral-600); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.15;
  font-weight: 560;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  font-variation-settings: "opsz" 96;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-variation-settings: "opsz" 36; }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 650; letter-spacing: 0; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
::selection { background: var(--coral-500); color: #fff; }
:focus-visible { outline: 3px solid var(--sky-500); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--navy-900); color: #fff; padding: 10px 18px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 40px, 860px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--sand { background: var(--sand-100); }
.section--tile { background-color: var(--sand-100); background-image: var(--tile); }
.section--navy { background: var(--navy-900) var(--tile-light); color: #c9d6e3; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy a:not(.btn) { color: #9fdcff; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--split > div { max-width: 680px; }
.lead { font-size: clamp(1.1rem, 1.4vw, 1.25rem); color: var(--ink-500); line-height: 1.65; }
.section--navy .lead { color: #b6c6d6; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 650; letter-spacing: .18em; text-transform: uppercase;
  color: var(--coral-600); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section--navy .eyebrow { color: #f3a48c; }

.grid { display: grid; gap: clamp(20px, 2.5vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.stack > * + * { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--coral-500); --btn-fg: #fff; --btn-bd: var(--coral-500);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: .98rem; line-height: 1; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(196, 85, 58, .6); background: var(--coral-600); border-color: var(--coral-600); }
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--navy { --btn-bg: var(--navy-800); --btn-bd: var(--navy-800); }
.btn--navy:hover { background: var(--navy-700); border-color: var(--navy-700); box-shadow: 0 12px 24px -10px rgba(20, 90, 146, .6); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy-800); --btn-bd: rgba(17, 48, 77, .25); }
.btn--ghost:hover { --btn-fg: var(--navy-900); background: #fff; border-color: var(--navy-800); box-shadow: var(--shadow); }
.btn--light { --btn-bg: rgba(255,255,255,.1); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn--light:hover { --btn-fg: var(--navy-900); background: #fff; border-color: #fff; box-shadow: 0 12px 24px -10px rgba(0,0,0,.4); }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--navy-700);
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #b9c8d8; font-size: .84rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar a { color: #dbe7f2; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
a.topbar__item { white-space: nowrap; }
.topbar__item .icon { width: 15px; height: 15px; opacity: .8; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa7b4; box-shadow: 0 0 0 3px rgba(154,167,180,.2); }
.status-dot.is-open { background: #46d18a; box-shadow: 0 0 0 3px rgba(70,209,138,.22); animation: pulse 2.4s infinite; }
.status-dot.is-closed { background: #ff8a70; box-shadow: 0 0 0 3px rgba(255,138,112,.2); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(70,209,138,.22); } 50% { box-shadow: 0 0 0 6px rgba(70,209,138,.08); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 250, 245, .88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(17, 48, 77, .08);
  transition: box-shadow .3s, background .3s;
  overflow-x: clip;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(12, 34, 56, .45); background: rgba(253, 250, 245, .96); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; flex: none; }
.brand__logo { height: 56px; width: auto; }
.brand__divider { width: 1px; height: 42px; background: var(--stone-300); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--ink-900); letter-spacing: -.015em; }
.brand__sub { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--coral-600); font-weight: 650; margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: block; padding: 10px 12px; border-radius: 10px; white-space: nowrap;
  font-size: .94rem; font-weight: 550; color: var(--ink-700); text-decoration: none;
}
.nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--coral-500); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--ink-900); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink-900); }
.nav__cta { margin-left: 10px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(17,48,77,.15);
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink-900); border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(88vh, 820px); display: flex; align-items: center;
  color: #fff; padding: 80px 0 120px;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(8, 24, 41, .92) 0%, rgba(8, 24, 41, .72) 38%, rgba(8, 24, 41, .25) 70%, rgba(8, 24, 41, .15) 100%),
    linear-gradient(0deg, rgba(8, 24, 41, .55) 0%, transparent 35%);
}
.hero .container { display: grid; grid-template-columns: 1.35fr .85fr; gap: 48px; align-items: end; }
.hero h1 { color: #fff; margin-bottom: 22px; font-weight: 500; }
.hero h1 em { font-style: italic; color: #ffb79f; font-weight: 400; }
.hero__lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: #d5e0ea; max-width: 600px; margin-bottom: 34px; }
.hero .eyebrow { color: #ffb79f; }
.hero__card {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-lg); padding: 28px 28px 24px; color: #e6eef5;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.hero__card h2 { color: #fff; font-size: 1.35rem; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.hero__status { font-size: .95rem; color: #cfe0ee; margin-bottom: 18px; }
.hero__card .hours-list li { border-color: rgba(255,255,255,.14); color: #dbe6f0; }
.hero__card .hours-list li.is-today { color: #fff; }
.hero__card .hours-list li.is-today span:first-child::after { background: rgba(255,183,159,.2); color: #ffcbb9; }
.hero__card-foot { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .9rem; }
.hero__card-foot a { color: #fff; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll::after { content: ""; width: 1px; height: 34px; background: linear-gradient(rgba(255,255,255,.8), transparent); animation: scrollCue 2s infinite; }
@keyframes scrollCue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--stone-300); font-size: .97rem; }
.hours-list li:last-child { border-bottom: 0; }
.hours-list li.is-today { font-weight: 650; color: var(--ink-900); }
.hours-list li.is-today span:first-child::after {
  content: "Today"; margin-left: 10px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  background: var(--coral-100); color: var(--coral-600); padding: 3px 8px; border-radius: 999px; vertical-align: 2px;
}

/* ---------- Quick links ---------- */
.quicklinks { position: relative; z-index: 3; margin-top: -64px; }
.quicklinks__grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden; border: 1px solid rgba(17,48,77,.06);
}
.quicklink {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 26px 22px;
  text-decoration: none; color: var(--ink-900); border-right: 1px solid var(--sand-200);
  transition: background .25s, color .25s;
}
.quicklink:last-child { border-right: 0; }
.quicklink__icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sand-100); color: var(--coral-600); transition: transform .3s var(--ease), background .25s, color .25s;
}
.quicklink__icon .icon { width: 22px; height: 22px; }
.quicklink strong { font-size: .98rem; font-weight: 650; line-height: 1.25; }
.quicklink small { display: block; color: var(--ink-500); font-size: .82rem; line-height: 1.4; margin-top: -8px; }
.quicklink:hover { background: var(--navy-900); color: #fff; }
.quicklink:hover small { color: #a9bccf; }
.quicklink:hover .quicklink__icon { background: var(--coral-500); color: #fff; transform: rotate(-6deg) scale(1.05); }

/* ---------- Arch image frames ---------- */
.arch {
  position: relative; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); background: var(--sand-200);
}
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.arch:hover img { transform: scale(1.04); }
.arch-stack { position: relative; padding: 0 0 60px 0; }
.arch-stack .arch--small {
  position: absolute; right: -10px; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: var(--radius);
  border: 8px solid var(--sand-50);
}
.arch-stack::before {
  content: ""; position: absolute; left: -26px; top: 40px; width: 70%; height: 80%;
  border: 1.5px solid var(--gold-500); border-radius: 999px 999px var(--radius) var(--radius); opacity: .5; z-index: -1;
}
.photo-badge {
  position: absolute; left: -18px; bottom: 90px; background: #fff; border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; font-size: .88rem; line-height: 1.3;
}
.photo-badge strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--coral-600); line-height: 1; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid var(--stone-300); }
.stat { padding: 22px 16px 0 0; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 500; color: var(--navy-800); line-height: 1; margin-bottom: 8px; }
.stat span { font-size: .88rem; color: var(--ink-500); line-height: 1.4; display: block; }
.stats--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Cards ---------- */
.card {
  position: relative; background: #fff; border-radius: var(--radius); padding: 30px;
  border: 1px solid rgba(17,48,77,.07); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(217,105,74,.25); }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px 16px 16px 4px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--coral-100), #fff3ec); color: var(--coral-600);
}
.card__icon .icon { width: 26px; height: 26px; }
.card__icon--blue { background: linear-gradient(135deg, #dff1fb, #f0f9ff); color: var(--navy-700); }
.card__icon--green { background: linear-gradient(135deg, var(--garden-100), #f3f9f4); color: var(--garden-600); }
.card__icon--gold { background: linear-gradient(135deg, #f6ead2, #fcf6ea); color: #9a7330; }
.card .link-arrow { margin-top: 14px; }
.card--flat { box-shadow: none; background: var(--sand-50); }
.card--flat:hover { transform: none; box-shadow: none; }
.card--link { text-decoration: none; color: inherit; display: block; }
.card--link:hover { color: inherit; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--coral-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4553a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list--2 { grid-template-columns: 1fr 1fr; column-gap: 28px; }
.section--navy .check-list li::before { background-color: rgba(255,255,255,.1); }

/* ---------- Feature banner (garden etc.) ---------- */
.feature {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; background: var(--garden-600); color: #e6f1e8;
}
.feature__media { position: relative; }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__body { padding: clamp(36px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; background: var(--garden-600) var(--tile-light); }
.feature__body h2 { color: #fff; }
.feature__body .eyebrow { color: #f6d39a; }
.feature__body p { color: #d8e9dc; }
.feature--navy, .feature--navy .feature__body { background-color: var(--navy-800); }
.feature--navy .feature__body .eyebrow { color: #ffb79f; }
.feature--navy .feature__body p { color: #c5d4e2; }

/* ---------- Events ---------- */
.event-list { display: grid; gap: 18px; }
.event-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.event {
  display: grid; grid-template-columns: 92px 1fr; gap: 22px; align-items: start;
  background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid rgba(17,48,77,.07);
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.event:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(217,105,74,.3); }
.event__date {
  text-align: center; border-radius: 16px; overflow: hidden; background: var(--sand-100); border: 1px solid var(--sand-200);
}
.event__date .m { display: block; background: var(--coral-500); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 6px 0; }
.event__date .d { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; padding: 10px 0 2px; color: var(--ink-900); font-weight: 500; }
.event__date .w { display: block; font-size: .74rem; color: var(--ink-500); padding-bottom: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.event__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: var(--sand-100); color: var(--ink-700);
}
.tag--kids { background: #fff1d6; color: #8a5a00; }
.tag--teens { background: #e8e4ff; color: #4b3aa8; }
.tag--adults { background: #dff1fb; color: var(--navy-700); }
.tag--learning { background: var(--garden-100); color: var(--garden-600); }
.tag--film { background: #fde4ec; color: #a12a55; }
.tag--games { background: #e6f6f4; color: #116b61; }
.tag--community { background: var(--coral-100); color: var(--coral-600); }
.tag--reg { background: var(--navy-800); color: #fff; }
.tag--weekly { background: #eef7fc; color: var(--navy-700); border: 1px dashed rgba(20,90,146,.35); }
.event h3 { font-size: 1.22rem; margin-bottom: 6px; }
.event__sub { font-family: var(--font-display); font-style: italic; color: var(--ink-500); font-weight: 400; }
.event__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--ink-500); margin-bottom: 10px; }
.event__meta span { display: inline-flex; align-items: center; gap: 6px; }
.event__meta .icon { width: 16px; height: 16px; color: var(--coral-500); }
.event__desc { font-size: .95rem; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.event.is-expanded .event__desc { -webkit-line-clamp: unset; display: block; }
.event__actions { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: .9rem; }
.event__actions a, .event__actions button {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--navy-700);
  background: none; border: 0; padding: 0; cursor: pointer; font-size: .9rem;
}
.event__actions a:hover, .event__actions button:hover { color: var(--coral-600); }
.event__actions .icon { width: 16px; height: 16px; }
.event__tip { display: flex; gap: 8px; align-items: flex-start; margin: -4px 0 14px; padding: 10px 14px; border-radius: 12px; background: #eef7fc; color: var(--ink-700); font-size: .88rem; line-height: 1.5; }
.event__tip .icon { width: 16px; height: 16px; color: var(--blue-600); margin-top: 2px; flex: none; }
.event__note { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--ink-500); }

.month-heading {
  display: flex; align-items: center; gap: 18px; margin: 46px 0 20px; font-family: var(--font-display); font-size: 1.6rem; color: var(--ink-900);
}
.month-heading:first-child { margin-top: 0; }
.month-heading::after { content: ""; flex: 1; height: 1px; background: var(--stone-300); }
.month-heading small { font-family: var(--font-body); font-size: .85rem; color: var(--ink-500); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.filter-btn {
  padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--stone-300); background: #fff; cursor: pointer;
  font-size: .9rem; font-weight: 600; color: var(--ink-700); transition: all .2s;
}
.filter-btn:hover { border-color: var(--navy-800); color: var(--ink-900); }
.filter-btn[aria-pressed="true"] { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.filter-btn .count { opacity: .6; font-weight: 500; margin-left: 4px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--stone-300); }
.search-input {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--stone-300); border-radius: 999px; padding: 0 18px; min-width: 280px;
}
.search-input input { border: 0; outline: 0; padding: 11px 0; background: transparent; width: 100%; }
.search-input:focus-within { border-color: var(--navy-700); }
.search-input .icon { color: var(--ink-500); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-500); background: #fff; border-radius: var(--radius); border: 1px dashed var(--stone-300); }

/* Weekly schedule */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.week__day { background: #fff; border-radius: var(--radius); padding: 18px 14px; border: 1px solid rgba(17,48,77,.07); min-height: 220px; }
.week__day h4 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--coral-600); margin-bottom: 14px; }
.week__day.is-closed { background: transparent; border-style: dashed; color: var(--ink-500); display: flex; flex-direction: column; }
.week__item { padding: 10px 12px; border-radius: 12px; background: var(--sand-100); margin-bottom: 10px; font-size: .86rem; line-height: 1.35; }
.week__item strong { display: block; color: var(--ink-900); font-weight: 650; margin-bottom: 3px; }
.week__item span { color: var(--ink-500); font-size: .8rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding: clamp(90px, 12vw, 150px) 0 clamp(70px, 9vw, 110px);
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgba(8,24,41,.93) 0%, rgba(8,24,41,.75) 45%, rgba(8,24,41,.35) 100%); }
.page-hero h1 { color: #fff; font-weight: 500; max-width: 820px; margin-bottom: 18px; }
.page-hero h1 em { font-style: italic; color: #ffb79f; font-weight: 400; }
.page-hero p { color: #d2dee9; max-width: 640px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); margin: 0; }
.page-hero .eyebrow { color: #ffb79f; }
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 28px;
  background: var(--sand-50); clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
}
.page-hero--sand::after { background: var(--sand-100); }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: .85rem; margin-bottom: 26px; color: #a9bccf; }
.breadcrumb a { color: #dbe7f2; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* Sub-navigation (on-page) */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(253,250,245,.94); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(17,48,77,.08); }
.subnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: 8px 16px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--ink-700); text-decoration: none; }
.subnav a:hover { background: var(--sand-100); color: var(--ink-900); }
.subnav a.is-active { background: var(--navy-800); color: #fff; }

/* ---------- Info blocks ---------- */
.info-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow); border: 1px solid rgba(17,48,77,.06); }
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--sand-200); }
.info-row:last-child { border-bottom: 0; padding-bottom: 0; }
.info-row:first-child { padding-top: 0; }
.info-row__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--sand-100); color: var(--coral-600); display: grid; place-items: center; flex: none; }
.info-row__icon .icon { width: 20px; height: 20px; }
.info-row h4 { margin: 0 0 2px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); font-weight: 650; }
.info-row p { margin: 0; color: var(--ink-900); font-weight: 500; }
.info-row a { text-decoration: none; }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; background: var(--sand-200); min-height: 380px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(.85) contrast(1.02); }

.callout {
  display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius);
  background: #eef7fc; border-left: 4px solid var(--blue-600); color: var(--ink-700); font-size: .97rem;
}
.callout .icon { color: var(--blue-600); width: 24px; height: 24px; margin-top: 2px; }
.callout p:last-child { margin: 0; }
.callout--coral { background: var(--coral-100); border-color: var(--coral-500); }
.callout--coral .icon { color: var(--coral-600); }

/* Table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid rgba(17,48,77,.08); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th, td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--sand-200); vertical-align: top; }
th { background: var(--navy-900); color: #fff; font-weight: 600; font-size: .85rem; letter-spacing: .04em; }
tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: var(--sand-50); }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding: 30px 24px 26px; background: #fff; border-radius: var(--radius); border: 1px solid rgba(17,48,77,.07); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--coral-500); display: block; margin-bottom: 16px; font-weight: 400;
}
.step h3 { font-size: 1.15rem; }
.step p { font-size: .95rem; margin: 0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 1040px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--gold-500), var(--coral-500)); transform: translateX(-50%); opacity: .5; }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-bottom: 64px; align-items: center; }
.tl-item:last-child { margin-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sand-50); border: 4px solid var(--coral-500); transform: translate(-50%, -50%); z-index: 1;
  box-shadow: 0 0 0 6px rgba(217,105,74,.15);
}
.tl-item__year { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4rem); color: var(--coral-500); line-height: 1; margin-bottom: 10px; font-weight: 400; font-style: italic; }
.tl-item__body h3 { margin-bottom: 10px; }
.tl-item__body p { font-size: 1rem; }
.tl-item__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sand-200); }
.tl-item__media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; filter: sepia(.15); }
.tl-item__media figcaption, figure figcaption { font-size: .78rem; color: var(--ink-500); padding: 10px 14px; background: #fff; line-height: 1.45; }
.tl-item:nth-child(even) .tl-item__body { order: 2; }
.tl-item:nth-child(even) .tl-item__media { order: 1; }
.tl-item:nth-child(odd) .tl-item__body { text-align: right; }
.tl-quote { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); font-family: var(--font-display); font-size: 1.25rem; font-style: italic; color: var(--ink-900); line-height: 1.5; border-top: 4px solid var(--gold-500); }
figure { margin: 0; }

/* Quote */
.pull-quote { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.35; color: var(--ink-900); font-weight: 400; font-style: italic; position: relative; padding-left: 40px; margin: 0; }
.pull-quote::before { content: "\201C"; position: absolute; left: -6px; top: -24px; font-size: 5rem; color: var(--coral-500); line-height: 1; font-style: normal; }
.pull-quote cite { display: block; margin-top: 18px; font-family: var(--font-body); font-style: normal; font-size: .9rem; color: var(--ink-500); letter-spacing: .04em; }
.section--navy .pull-quote { color: #fff; }

/* ---------- Gallery ---------- */
.gallery { columns: 3 320px; column-gap: 20px; }
.gallery__item {
  break-inside: avoid; margin: 0 0 20px; position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  background: var(--sand-200); box-shadow: var(--shadow-sm); display: block; width: 100%; padding: 0; border: 0; text-align: left;
}
.gallery__item img { width: 100%; transition: transform .9s var(--ease); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,24,41,.78) 0%, transparent 55%); opacity: 0; transition: opacity .4s; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; }
.gallery__cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; font-size: .92rem; line-height: 1.4; transform: translateY(10px); opacity: 0; transition: all .4s var(--ease); }
.gallery__cap strong { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; }
.gallery__item:hover .gallery__cap, .gallery__item:focus-visible .gallery__cap { transform: none; opacity: 1; }
.gallery__item.is-hidden { display: none; }

.strip { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 16px; }
.strip a { border-radius: var(--radius); overflow: hidden; position: relative; display: block; }
.strip a:first-child { grid-row: span 2; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.strip a:hover img { transform: scale(1.06); }

.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(6, 16, 28, .94); display: none; align-items: center; justify-content: center; padding: 60px 80px; }
.lightbox.is-open { display: flex; animation: fadeIn .3s; }
.lightbox figure { max-width: 1200px; width: 100%; text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox figcaption { color: #cfdbe6; background: none; font-size: .95rem; padding-top: 18px; }
.lightbox figcaption strong { color: #fff; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; display: block; }
.lightbox figcaption small { display: block; color: #8aa0b6; font-size: .78rem; margin-top: 6px; }
.lightbox__btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s;
}
.lightbox__btn:hover { background: rgba(255,255,255,.2); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Event detail dialog ---------- */
.event-modal {
  position: fixed; inset: 0; z-index: 600; display: none; align-items: center; justify-content: center;
  padding: 40px 20px; background: rgba(6, 16, 28, .72); backdrop-filter: blur(3px);
}
.event-modal.is-open { display: flex; animation: fadeIn .25s; }
.event-modal__panel {
  position: relative; background: var(--sand-50); border-radius: var(--radius-lg);
  width: min(100%, 720px); max-height: min(86vh, 860px); overflow-y: auto;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); padding: clamp(26px, 4vw, 44px);
}
.event-modal__close {
  position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(17, 48, 77, .15); background: #fff; color: var(--ink-700);
  display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s;
}
.event-modal__close:hover { background: var(--navy-800); color: #fff; }
.event-modal__close .icon { width: 18px; height: 18px; }
.event-modal__top { display: flex; gap: 20px; align-items: flex-start; padding-right: 46px; }
.event-modal__date {
  flex: none; width: 84px; text-align: center; border-radius: 14px; overflow: hidden;
  background: #fff; border: 1px solid var(--sand-200);
}
.event-modal__date .m { display: block; background: var(--coral-500); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 6px 0; }
.event-modal__date .d { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; padding: 10px 0 2px; color: var(--ink-900); }
.event-modal__date .w { display: block; font-size: .72rem; color: var(--ink-500); padding-bottom: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.event-modal__top h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 6px 0 4px; }
.event-modal__sub { font-family: var(--font-display); font-style: italic; color: var(--ink-500); margin: 0; }
.event-modal__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin: 26px 0; padding: 22px 0; border-top: 1px solid var(--sand-200); border-bottom: 1px solid var(--sand-200); }
.event-modal__facts dt { display: flex; align-items: center; gap: 8px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); font-weight: 650; margin-bottom: 4px; }
.event-modal__facts dt .icon { width: 15px; height: 15px; color: var(--coral-500); }
.event-modal__facts dd { margin: 0; color: var(--ink-900); font-weight: 500; line-height: 1.5; }
.event-modal__body p { color: var(--ink-700); line-height: 1.75; margin: 0 0 18px; }
.event-modal__body p:last-child { margin-bottom: 0; }
.event-modal .callout { margin: 8px 0 22px; }
.event-modal .callout .icon { width: 20px; height: 20px; }
.event-modal__foot { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) {
  .event-modal { padding: 16px; }
  .event-modal__panel { max-height: 92vh; }
  .event-modal__facts { grid-template-columns: 1fr; }
  .event-modal__top { flex-direction: column; gap: 14px; }
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-size: .88rem; font-weight: 650; color: var(--ink-900); }
.field label .req { color: var(--coral-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--stone-300); background: var(--sand-50);
  transition: border-color .2s, box-shadow .2s, background .2s; font-size: .98rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--navy-700); background: #fff; box-shadow: 0 0 0 4px rgba(20,90,146,.12); }
.field .hint { font-size: .82rem; color: var(--ink-500); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d4380d; background: #fff6f3; }
.field .error { display: none; font-size: .82rem; color: #c0300a; font-weight: 600; }
.field.has-error .error { display: block; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; }
.checkbox input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--coral-500); flex: none; }
fieldset { border: 0; margin: 0; padding: 0; }
.radio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card label {
  display: block; padding: 16px; border-radius: 14px; border: 1.5px solid var(--stone-300); background: var(--sand-50);
  cursor: pointer; font-weight: 600; font-size: .92rem; line-height: 1.35; transition: all .2s; height: 100%;
}
.radio-card label small { display: block; font-weight: 400; color: var(--ink-500); margin-top: 4px; font-size: .8rem; }
.radio-card input:checked + label { border-color: var(--coral-500); background: #fff; box-shadow: 0 0 0 4px rgba(217,105,74,.14); }
.radio-card input:focus-visible + label { outline: 3px solid var(--sky-500); outline-offset: 2px; }
.form-success {
  display: none; padding: 26px; border-radius: var(--radius); background: var(--garden-100); color: var(--garden-600);
  border: 1px solid rgba(63,111,78,.25);
}
.form-success.is-visible { display: block; animation: fadeIn .4s; }
.form-success h3 { color: var(--garden-600); margin-bottom: 6px; }

/* ---------- Accordion ---------- */
.accordion { display: grid; gap: 12px; }
.accordion details { background: #fff; border-radius: var(--radius); border: 1px solid rgba(17,48,77,.08); transition: box-shadow .3s, border-color .3s; }
.accordion details[open] { box-shadow: var(--shadow); border-color: rgba(217,105,74,.3); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; position: relative;
  font-weight: 650; color: var(--ink-900); font-size: 1.04rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--sand-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4553a' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s var(--ease);
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 26px 24px; color: var(--ink-700); }
.accordion .acc-body p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  padding: clamp(40px, 6vw, 72px); color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center;
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 100%);
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--tile-light); z-index: -1; }
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,105,74,.55), transparent 70%); z-index: -1;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #c8d7e5; margin: 0; }
.cta-band .btn-row { justify-content: flex-end; }

/* ---------- Partners / badges ---------- */
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.badges img { height: 72px; width: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900) var(--tile-light); color: #a9bccf; padding: 90px 0 0; font-size: .95rem; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--sky-500), var(--navy-700) 40%, var(--coral-500) 75%, var(--gold-500)); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 60px; }
.site-footer h4 { color: #fff; font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #cddae6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 22px; }
.footer-brand .footer-crest { height: 62px; width: auto; margin-bottom: 24px; }
.footer-brand p { color: #a9bccf; max-width: 360px; }
.footer-contact { display: grid; gap: 12px; margin-top: 20px; }
.footer-contact div { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--coral-500); margin-top: 4px; }
.footer-hours li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed rgba(255,255,255,.12); padding-bottom: 8px; }
.footer-hours li.is-today { color: #fff; font-weight: 600; }
.footer-hours li.is-today span:first-child::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--coral-500); margin-right: 8px; vertical-align: 2px; }
.nav__mobile-cta { display: none; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); transition: all .25s; }
.social a:hover { background: var(--coral-500); border-color: var(--coral-500); transform: translateY(-2px); }
.social .icon { width: 18px; height: 18px; }
.footer-apps { display: flex; gap: 10px; margin-top: 18px; }
.footer-apps img { height: 38px; width: auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 26px 0 34px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: .84rem; color: #8399ae; }
.footer-bottom__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-credit { display: block; margin-top: 8px; font-size: .76rem; line-height: 1.5; color: #6f8398; max-width: 640px; }
.footer-badges { display: flex; gap: 14px; align-items: center; margin-top: 22px; }
.footer-badges img { height: 62px; width: auto; background: #fff; border-radius: 50%; padding: 3px; }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 50px; height: 50px; border-radius: 50%;
  border: 0; background: var(--coral-500); color: #fff; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 12px 24px -10px rgba(196,85,58,.7); opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .35s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--coral-600); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Misc ---------- */
.divider-ornament { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--gold-500); margin: 0 auto 26px; }
.divider-ornament::before, .divider-ornament::after { content: ""; width: 60px; height: 1px; background: currentColor; opacity: .6; }
.divider-ornament .icon { width: 22px; height: 22px; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--ink-500); }
.small { font-size: .88rem; }
.credit { font-size: .78rem; color: var(--ink-500); }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pill-list li { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--stone-300); font-size: .9rem; font-weight: 550; }
.anchor-section { scroll-margin-top: calc(var(--header-h) + 70px); }
.service-block { display: grid; grid-template-columns: 340px 1fr; gap: clamp(30px, 5vw, 72px); padding: clamp(56px, 7vw, 90px) 0; border-bottom: 1px solid var(--stone-300); }
.service-block:last-child { border-bottom: 0; }
.service-block__head { position: sticky; top: calc(var(--header-h) + 90px); align-self: start; }
.service-block__head .card__icon { width: 64px; height: 64px; }
.mini-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mini-card { background: #fff; border-radius: var(--radius); padding: 22px 22px 20px; border: 1px solid rgba(17,48,77,.07); transition: border-color .25s, transform .3s var(--ease); }
.mini-card:hover { border-color: rgba(217,105,74,.35); transform: translateY(-2px); }
.mini-card h4 { margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.mini-card h4 .icon { color: var(--coral-500); width: 20px; height: 20px; }
.mini-card p { font-size: .94rem; margin-bottom: 10px; }
.mini-card p:last-child { margin-bottom: 0; }
.mini-card a { font-size: .9rem; font-weight: 600; text-decoration: none; }
.person { display: flex; gap: 18px; align-items: center; }
.person__avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--coral-500), var(--gold-500)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.4rem; flex: none; }
.notice-bar { background: var(--coral-100); color: var(--coral-600); font-size: .9rem; text-align: center; padding: 10px 20px; font-weight: 550; }
.notice-bar a { color: var(--coral-600); font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__list { position: absolute; top: 100%; right: 0; width: min(380px, 100%); height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 0; background: var(--sand-50); padding: 18px 24px 40px;
    box-shadow: -20px 30px 60px -20px rgba(12,34,56,.35); transform: translateX(105%); visibility: hidden;
    transition: transform .4s var(--ease), visibility .4s; overflow-y: auto; }
  .nav-open .nav__list { transform: none; visibility: visible; }
  .nav__mobile-cta { display: block !important; padding-top: 22px; }
  .nav__mobile-cta .btn { width: 100%; }
  .nav__link { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--sand-200); border-radius: 0; }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--coral-600); }
  .nav-toggle { display: inline-flex; }
  .quicklinks__grid { grid-template-columns: repeat(3, 1fr); }
  .quicklink:nth-child(3) { border-right: 0; }
  .quicklink:nth-child(-n+3) { border-bottom: 1px solid var(--sand-200); }
  .week { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .hero .container, .split, .feature, .cta-band, .event-grid { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature__media { min-height: 320px; }
  .cta-band .btn-row { justify-content: flex-start; }
  .service-block { grid-template-columns: 1fr; }
  .service-block__head { position: static; }
  .timeline::before { left: 18px; }
  .tl-item { grid-template-columns: 1fr; gap: 22px; padding-left: 56px; }
  .tl-item::before { left: 18px; top: 18px; }
  .tl-item:nth-child(odd) .tl-item__body { text-align: left; }
  .tl-item:nth-child(even) .tl-item__body, .tl-item:nth-child(even) .tl-item__media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 180px 180px; }
  .strip a:first-child { grid-column: span 2; grid-row: auto; }
  .arch-stack { max-width: 520px; margin-inline: auto; }
}
@media (max-width: 720px) {
  :root { --header-h: 72px; }
  body { font-size: 1rem; }
  .topbar__right { display: none; }
  .topbar .container { justify-content: center; }
  .brand { gap: 10px; }
  .brand__logo { height: 38px; }
  .brand__divider { height: 30px; }
  .brand__name { font-size: 1.12rem; }
  .brand__sub { font-size: .62rem; letter-spacing: .16em; }
  .nav__cta { display: none; }
  .grid-2, .grid-3, .grid-4, .form-row, .mini-cards, .check-list--2, .radio-cards { grid-template-columns: 1fr; }
  .quicklinks__grid { grid-template-columns: 1fr 1fr; }
  .quicklink { border-right: 1px solid var(--sand-200) !important; border-bottom: 1px solid var(--sand-200); padding: 20px 16px; }
  .quicklink:nth-child(2n) { border-right: 0 !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .event { grid-template-columns: 70px 1fr; gap: 16px; padding: 18px; }
  .event__date .d { font-size: 1.7rem; }
  .week { grid-template-columns: 1fr 1fr; }
  .week__day { min-height: 0; }
  .steps { grid-template-columns: 1fr; }
  .lightbox { padding: 70px 12px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
  .lightbox__prev { left: calc(50% - 64px); } .lightbox__next { right: calc(50% - 64px); }
  .photo-badge { left: 8px; }
  .search-input { min-width: 0; width: 100%; }
  .hero { padding-bottom: 110px; }
  .arch-stack::before { left: -8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .topbar, .site-header, .site-footer, .to-top, .subnav, .filters, .hero__scroll { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { background: #fff; }
}
