/* ==========================================================================
   Hapton School — Global Stylesheet
   Palette: deep navy + gold, light neutral surfaces
   ========================================================================== */

:root {
  --navy-900: #061735;
  --navy-800: #0a2350;
  --navy-700: #103064;
  --navy-600: #17407f;
  --gold: #f5a623;
  --gold-600: #dd8f0c;
  --gold-100: #fdf3e0;
  --ink: #14233c;
  --body: #5b6b82;
  --muted: #8593a8;
  --line: #e5eaf2;
  --surface: #f6f8fc;
  --white: #ffffff;
  --red: #e2452f;

  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(6, 23, 53, .06), 0 4px 14px rgba(6, 23, 53, .05);
  --shadow-md: 0 10px 34px rgba(6, 23, 53, .10);
  --container: 1180px;
  --header-h: 76px;

  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 .6em;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2.9vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold); color: var(--navy-900); padding: 12px 20px; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* -------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: .875rem;
  padding: 13px 24px; border-radius: 8px; border: 1.5px solid transparent;
  cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn svg { width: 15px; height: 15px; flex: none; }
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-600); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-600); }
.btn-outline { border-color: var(--line); color: var(--navy-800); background: #fff; }
.btn-outline:hover { border-color: var(--navy-800); }
.btn-sm { padding: 10px 18px; font-size: .8rem; }
.btn-block { width: 100%; justify-content: center; }

/* --------------------------------------------------------------- topbar -- */
.topbar {
  background: var(--navy-900); color: rgba(255,255,255,.82);
  font-size: .78rem; letter-spacing: .01em;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; }
.topbar-tagline { margin: 0; }
.topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-contact { display: flex; gap: 22px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--gold); }
.topbar svg { width: 13px; height: 13px; opacity: .75; }
.social-row { display: flex; gap: 7px; }
.social-row a {
  width: 26px; height: 26px; border-radius: 5px; display: grid; place-items: center;
  background: rgba(255,255,255,.12); transition: transform .18s ease, background .18s ease;
}
.social-row a:hover { background: var(--gold); color: var(--navy-900); transform: translateY(-2px); }
.social-row svg { width: 13px; height: 13px; opacity: 1; }

/* --------------------------------------------------------------- header -- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(6,23,53,.09); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 38px; height: 42px; flex: none; }
.brand-mark .lg-outer { stroke: var(--navy-800); }
.brand-mark .lg-inner { fill: var(--navy-800); }
.brand-mark .lg-bar { stroke: var(--gold); }
.site-footer .brand-mark .lg-outer { stroke: rgba(255,255,255,.9); }
.site-footer .brand-mark .lg-inner { fill: #ffffff; }
.site-footer .brand-mark .lg-bar { stroke: var(--navy-900); }
.brand-text { font-family: var(--font-display); line-height: 1; }
.brand-name { display: block; font-size: 1.32rem; font-weight: 700; color: var(--navy-800); letter-spacing: .06em; }
.brand-sub { display: block; font-size: .74rem; font-weight: 600; color: var(--navy-800); letter-spacing: .42em; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav > li > a {
  display: flex; align-items: center; gap: 5px; padding: 10px 13px;
  font-family: var(--font-display); font-size: .875rem; font-weight: 500; color: var(--ink);
  border-radius: 7px;
}
.nav > li > a:hover { color: var(--navy-600); }
.nav .caret { width: 10px; height: 10px; transition: transform .2s ease; }
.nav > li.current > a { color: var(--gold-600); font-weight: 600; }
.nav > li.current > a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px;
  height: 2px; background: var(--gold); border-radius: 2px;
}
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 224px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 7px; z-index: 20;
  opacity: 0; visibility: hidden; transform: translateY(7px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-drop:hover > .dropdown,
.has-drop:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-drop:hover > a .caret { transform: rotate(180deg); }
.dropdown a { display: block; padding: 9px 13px; font-size: .845rem; border-radius: 6px; color: var(--body); }
.dropdown a:hover { background: var(--surface); color: var(--navy-800); }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: #fff; border-radius: 8px; cursor: pointer; padding: 0;
  place-items: center; color: var(--navy-800);
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }

/* ----------------------------------------------------------------- hero -- */
.hero { position: relative; background: var(--navy-800); color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--navy-900) 4%, rgba(10,35,80,.93) 34%, rgba(10,35,80,.34) 68%, rgba(10,35,80,.12) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 92px 0 150px; }
.hero-copy { max-width: 560px; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 .line-2 { color: var(--gold); display: block; }
.hero p { color: rgba(255,255,255,.85); font-size: 1rem; max-width: 46ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* feature strip that overlaps the hero */
.feature-strip { position: relative; z-index: 3; margin-top: -78px; }
.feature-strip-inner {
  background: var(--navy-800); border-radius: var(--radius-lg); color: #fff;
  display: grid; grid-template-columns: repeat(4, 1fr);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.feature-item { display: flex; gap: 15px; padding: 26px 24px; }
.feature-item + .feature-item { border-left: 1px solid rgba(255,255,255,.13); }
.feature-item .ico { color: var(--gold); flex: none; }
.feature-item .ico svg { width: 32px; height: 32px; }
.feature-item h3 { color: #fff; font-size: .96rem; margin-bottom: 5px; }
.feature-item p { color: rgba(255,255,255,.72); font-size: .8rem; line-height: 1.55; margin: 0; }

/* -------------------------------------------------------------- section -- */
.section { padding: 78px 0; }
.section-tight { padding: 54px 0; }
.section-surface { background: var(--surface); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--body); }
.rule {
  width: 62px; height: 3px; background: var(--gold); border-radius: 3px;
  margin: 0 auto; border: 0;
}
.section-head .rule { margin-top: 4px; }
.eyebrow {
  font-family: var(--font-display); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; color: var(--gold-600); margin-bottom: 14px; display: block;
}

/* ---------------------------------------------------------- about intro -- */
.about-grid {
  display: grid; grid-template-columns: 1.02fr .86fr 1.12fr;
  gap: 42px; align-items: center;
}
.about-copy h2 { margin-bottom: 16px; }
.stat-stack { display: grid; gap: 16px; }
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 16px; text-align: center; box-shadow: var(--shadow-sm);
}
.stat-card .ico { color: var(--gold); display: grid; place-items: center; margin-bottom: 10px; }
.stat-card .ico svg { width: 30px; height: 30px; }
.stat-num {
  display: block;
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 700;
  color: var(--navy-800); line-height: 1.1;
}
.stat-label { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.about-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.1; }

/* ------------------------------------------------------------- notices --- */
.notice-bar {
  display: flex; align-items: stretch; background: #fffaf0;
  border: 1px solid #f6e5c2; border-radius: var(--radius); overflow: hidden;
}
.notice-label {
  background: var(--gold); color: var(--navy-900); font-family: var(--font-display);
  font-weight: 600; font-size: .84rem; padding: 15px 22px; display: grid; place-items: center; flex: none;
}
.notice-viewport { flex: 1; overflow: hidden; display: flex; align-items: center; }
.notice-track {
  display: flex; gap: 42px; white-space: nowrap; padding-left: 24px;
  animation: ticker 34s linear infinite;
}
.notice-viewport:hover .notice-track { animation-play-state: paused; }
.notice-track a { font-size: .87rem; color: var(--ink); }
.notice-track a:hover { color: var(--gold-600); }
.tag-new {
  background: var(--red); color: #fff; font-size: .62rem; font-weight: 700;
  padding: 2px 7px; border-radius: 20px; margin-left: 8px; vertical-align: 2px;
  font-family: var(--font-display);
}
.notice-all {
  flex: none; padding: 15px 22px; font-size: .84rem; font-weight: 600; white-space: nowrap;
  font-family: var(--font-display); color: var(--navy-800);
  border-left: 1px solid #f6e5c2; display: grid; place-items: center;
}
.notice-all:hover { color: var(--gold-600); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* -------------------------------------------------------- explore cards -- */
.explore-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.explore-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 18px; text-align: center; display: flex; flex-direction: column;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.explore-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); }
.explore-card .ico { color: var(--gold); display: grid; place-items: center; margin-bottom: 14px; }
.explore-card .ico svg { width: 30px; height: 30px; }
.explore-card h3 { font-size: .98rem; margin-bottom: 8px; }
.explore-card p { font-size: .82rem; line-height: 1.6; margin-bottom: 16px; }
.explore-link {
  margin-top: auto; font-family: var(--font-display); font-weight: 600; font-size: .82rem;
  color: var(--navy-800); display: inline-flex; align-items: center; gap: 7px; justify-content: center;
}
.explore-link svg { width: 14px; height: 14px; color: var(--gold-600); }
.explore-card:hover .explore-link { color: var(--gold-600); }

/* ------------------------------------------------------- highlights row -- */
.highlight-row { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 22px; align-items: start; }
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.panel-title { display: flex; align-items: center; gap: 9px; font-size: 1.05rem; margin-bottom: 18px; }
.panel-title svg { width: 19px; height: 19px; color: var(--gold); flex: none; }

.ach-list li { display: flex; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.ach-list li:first-child { padding-top: 0; }
.ach-list li:last-child { border-bottom: 0; }
.ach-list .ico { color: var(--navy-700); flex: none; }
.ach-list .ico svg { width: 24px; height: 24px; }
.ach-list h4 { font-family: var(--font-display); font-size: .9rem; color: var(--navy-800); margin: 0 0 3px; }
.ach-list p { font-size: .8rem; line-height: 1.55; margin: 0; }

.video-card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 100%;
  display: grid; place-items: center; text-align: center; color: #fff; padding: 46px 26px;
}
.video-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-card::after { content: ""; position: absolute; inset: 0; background: rgba(6,23,53,.62); }
.video-card-inner { position: relative; z-index: 2; }
.video-card h2 { color: #fff; font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 22px; }
.play-btn {
  width: 58px; height: 58px; border-radius: 50%; background: #fff; color: var(--navy-800);
  display: grid; place-items: center; margin: 0 auto 22px; border: 0; cursor: pointer;
  transition: transform .18s ease;
}
.play-btn svg { width: 20px; height: 20px; margin-left: 3px; }
.play-btn:hover { transform: scale(1.08); }

.event-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; }
.event-list li:first-child { padding-top: 0; }
.event-list li:last-child { border-bottom: 0; }
.event-list .ico { color: var(--navy-700); flex: none; }
.event-list .ico svg { width: 22px; height: 22px; }
.event-list h4 { font-family: var(--font-display); font-size: .9rem; color: var(--navy-800); margin: 0 0 2px; }
.event-list time { font-size: .78rem; color: var(--muted); }

/* --------------------------------------------------------- page banner --- */
.page-banner { background: var(--navy-800); color: #fff; padding: 62px 0; position: relative; overflow: hidden; }
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 320px at 88% 12%, rgba(245,166,35,.20), transparent 62%);
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; margin-bottom: 10px; font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 9px; font-size: .84rem; color: rgba(255,255,255,.72); }
.crumbs a:hover { color: var(--gold); }
.crumbs span[aria-current] { color: var(--gold); }

/* ---------------------------------------------------------- generic bits -- */
/* grid items must be allowed to shrink below their content width */
.split > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .form-grid > *,
.about-grid > *, .highlight-row > *, .explore-grid > *, .footer-grid > *,
.feature-strip-inner > *, .gallery-grid > * { min-width: 0; }
.field input, .field select, .field textarea { min-width: 0; max-width: 100%; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }

.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm); height: 100%;
}
.info-card .ico { color: var(--gold); margin-bottom: 13px; }
.info-card .ico svg { width: 28px; height: 28px; }
.info-card h3 { font-size: 1rem; }
.info-card p:last-child { margin-bottom: 0; }
.info-card p { font-size: .87rem; }

.tick-list li {
  position: relative; padding-left: 27px; margin-bottom: 11px; font-size: .9rem;
}
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 15px; height: 15px;
  border-radius: 50%; background: var(--gold-100);
  box-shadow: inset 0 0 0 1.5px var(--gold);
}
.tick-list li::after {
  content: ""; position: absolute; left: 4.6px; top: .72em; width: 5px; height: 2.5px;
  border-left: 2px solid var(--gold-600); border-bottom: 2px solid var(--gold-600);
  transform: rotate(-45deg);
}

.data-table { width: 100%; border-collapse: collapse; font-size: .88rem; background: #fff; }
.data-table th, .data-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.data-table thead th {
  background: var(--navy-800); color: #fff; font-family: var(--font-display);
  font-weight: 600; font-size: .82rem;
}
.data-table tbody tr:nth-child(even) { background: var(--surface); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

/* accordion */
.acc-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 12px; }
.acc-btn {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 17px 20px; font-family: var(--font-display); font-weight: 600; font-size: .93rem;
  color: var(--navy-800); display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.acc-btn svg { width: 16px; height: 16px; flex: none; transition: transform .2s ease; color: var(--gold-600); }
.acc-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.acc-panel { padding: 0 20px 18px; font-size: .88rem; }
.acc-panel[hidden] { display: none; }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gal-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; display: grid; place-items: end start; padding: 18px;
  color: #fff; border: 0; cursor: pointer; text-align: left; font-family: var(--font-display);
}
.gal-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,23,53,.72), transparent 58%); }
.gal-item span { position: relative; z-index: 2; font-weight: 600; font-size: .9rem; }
.gal-item .gal-count { display: block; font-weight: 400; font-size: .76rem; opacity: .8; }
.gal-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gal-item:hover img { transform: scale(1.05); }

.filter-row { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-bottom: 32px; }
.filter-btn {
  border: 1px solid var(--line); background: #fff; border-radius: 30px; padding: 8px 18px;
  font-family: var(--font-display); font-size: .82rem; font-weight: 500; color: var(--body); cursor: pointer;
}
.filter-btn[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

/* news */
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.news-thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.news-meta { font-size: .76rem; color: var(--muted); margin-bottom: 8px; }
.news-body h3 { font-size: 1rem; margin-bottom: 8px; }
.news-body p { font-size: .85rem; }
.news-body .explore-link { justify-content: flex-start; }

.event-row {
  display: grid; grid-template-columns: 78px 1fr auto; gap: 20px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; margin-bottom: 14px;
}
.date-chip {
  background: var(--navy-800); color: #fff; border-radius: 8px; text-align: center;
  padding: 10px 6px; font-family: var(--font-display); line-height: 1.1;
}
.date-chip .d { display: block; font-size: 1.4rem; font-weight: 700; }
.date-chip .m { display: block; font-size: .7rem; letter-spacing: .08em; color: var(--gold); margin-top: 3px; }
.event-row h3 { font-size: 1rem; margin-bottom: 4px; }
.event-row p { font-size: .84rem; margin: 0; }

/* forms */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-size: .82rem; font-weight: 600; color: var(--navy-800); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: .9rem; color: var(--ink);
  padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; width: 100%;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,166,35,.18);
}
.field .hint { font-size: .76rem; color: var(--muted); }
.form-note { font-size: .8rem; color: var(--muted); }
.form-status {
  margin-top: 14px; padding: 12px 16px; border-radius: 8px; font-size: .87rem;
  background: var(--gold-100); border: 1px solid #f2ddb4; color: var(--ink);
}
.form-status[hidden] { display: none; }

/* map */
.map-embed {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  min-height: 340px; background: var(--surface); display: grid; place-items: center; text-align: center; padding: 24px;
}

/* CTA band */
.cta-band { background: var(--navy-800); color: #fff; padding: 54px 0; }
.cta-band-inner { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,.78); margin: 0; }

/* --------------------------------------------------------------- footer -- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding: 62px 0 0; font-size: .87rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.35fr 1.25fr; gap: 34px; }
.site-footer h4 {
  font-family: var(--font-display); color: #fff; font-size: .98rem; margin: 0 0 18px;
}
.site-footer .brand-name, .site-footer .brand-sub { color: #fff; }
.footer-about p { margin: 18px 0; line-height: 1.7; }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: var(--gold); padding-left: 3px; transition: padding .15s ease; }
.contact-list li { display: flex; gap: 11px; margin-bottom: 13px; line-height: 1.6; }
.contact-list svg { width: 15px; height: 15px; color: var(--gold); flex: none; margin-top: 4px; }
.newsletter-form { display: grid; gap: 10px; margin-top: 4px; }
.newsletter-form input {
  padding: 11px 14px; border-radius: 7px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07); color: #fff; font-family: var(--font-body); font-size: .87rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.45); }
.newsletter-form input:focus { outline: none; border-color: var(--gold); }
.footer-bottom {
  margin-top: 48px; border-top: 1px solid rgba(255,255,255,.11); padding: 18px 0;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: .81rem;
}
.footer-bottom a:hover { color: var(--gold); }
.legal-links { display: flex; gap: 20px; }

.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold); color: var(--navy-900); border: 0; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow-md); z-index: 90;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 17px; height: 17px; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(6,23,53,.9);
  display: grid; place-items: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(900px, 92vw); max-height: 84vh; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: 20px; right: 22px; width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: #fff; color: var(--navy-900); cursor: pointer; display: grid; place-items: center;
}
.lightbox-close svg { width: 18px; height: 18px; }
.lightbox-cap { color: #fff; margin-top: 14px; text-align: center; font-size: .88rem; }

/* ------------------------------------------------------------ responsive -- */
@media (max-width: 1080px) {
  .explore-grid { grid-template-columns: repeat(3, 1fr); }
  .highlight-row { grid-template-columns: 1fr 1fr; }
  .video-card { grid-column: 1 / -1; order: -1; min-height: 300px; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-photo { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .topbar-tagline { display: none; }
  .nav {
    position: absolute; top: 100%; right: 0; width: min(320px, 86vw);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: #fff; border-left: 1px solid var(--line);
    border-bottom: 1px solid var(--line); flex-direction: column;
    align-items: stretch; gap: 0; padding: 14px;
    z-index: 99; box-shadow: -14px 10px 40px rgba(6,23,53,.16);
    visibility: hidden; opacity: 0; pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav.open { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav > li > a { padding: 13px 12px; justify-content: space-between; font-size: .95rem; }
  .nav > li.current > a::after { display: none; }
  .nav > li + li { border-top: 1px solid var(--line); }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 4px 0 8px 12px;
    display: none;
  }
  .dropdown.open { display: block; }
  .has-drop:hover > .dropdown { opacity: 1; }
  .nav-cta { margin-top: 12px; }
  .feature-strip-inner { grid-template-columns: 1fr 1fr; }
  .feature-item:nth-child(odd) { border-left: 0; }
  .feature-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.13); }
  .split, .grid-2 { grid-template-columns: 1fr; gap: 30px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .notice-all { display: none; }
}

@media (max-width: 680px) {
  .hero-inner { padding: 62px 0 120px; }
  .section { padding: 56px 0; }
  .explore-grid, .grid-3, .grid-4, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .highlight-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .notice-bar { flex-direction: column; }
  .notice-label { padding: 10px 18px; }
  .event-row { grid-template-columns: 62px 1fr; }
  .event-row .btn { grid-column: 2; justify-self: start; }
  .topbar-contact { flex-direction: column; gap: 2px; align-items: flex-start; }
  .topbar-inner { padding: 8px 0; }
}

@media (max-width: 460px) {
  .explore-grid, .grid-3, .grid-4, .gallery-grid, .footer-grid,
  .feature-strip-inner { grid-template-columns: 1fr; }
  .feature-item { border-left: 0 !important; }
  .feature-item + .feature-item { border-top: 1px solid rgba(255,255,255,.13); }
  .brand-sub { letter-spacing: .3em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .notice-track { animation: none; }
}
