/* ==========================================================================
   St. Xavier International School — design system
   Palette derived from the school shield (navy ring lettering).
   ========================================================================== */

:root {
  /* Navy sampled from the school shield's ring lettering (#284070 family).
     The logo's cyan ESTD banner is not used for UI: at ~1.7:1 on white it
     cannot legibly carry text or buttons. */
  --accent: #28457f;
  --accent-soft: #6f9adb;
  --accent-deep: #16294f;
  --accent-darkest: #0d1c3a;

  --ink: #101a2e;
  --ink-soft: #3f4c66;
  --muted: #6a7590;

  --surface: #ffffff;
  --canvas: #f6f8fc;
  --tint: #eff4fb;
  --line: rgba(40, 69, 127, 0.16);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 8px rgba(13, 28, 58, 0.07);
  --shadow: 0 14px 34px rgba(13, 28, 58, 0.10);
  --shadow-lg: 0 28px 64px rgba(13, 28, 58, 0.18);

  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;

  --step: clamp(3.5rem, 7vw, 6rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .6rem;
  color: var(--ink);
}

h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }

p { margin: 0 0 1rem; color: var(--ink-soft); }

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.muted { color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .7rem;
}

/* Visually hidden but still available to assistive tech. !important because
   component rules such as `.contact-form input { width:100% }` are more
   specific and would otherwise give the hidden honeypot field a real width,
   pushing the page sideways on narrow screens. */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0 !important;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: .75rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 2px;
  border-radius: 6px;
}

/* --------------------------------------------------------------- header  */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, .95);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: inherit;
}

.brand-text { display: grid; line-height: 1.25; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.22rem;
  letter-spacing: -0.01em;
}
.brand-text span {
  font-size: .76rem;
  color: var(--muted);
  letter-spacing: .02em;
}

/* The shield is a detailed mark (ring lettering plus the ESTD banner), so it
   needs more room than a simple crest to stay readable. */
.logo-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.logo-dot {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: .2rem;
}

.primary-nav a {
  position: relative;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  padding: .5rem .82rem;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}

.primary-nav a:hover { color: var(--accent-deep); background: var(--tint); }
.primary-nav a.is-current { color: var(--accent-deep); font-weight: 600; }

.primary-nav a.is-current::after {
  content: "";
  position: absolute;
  left: 50%; bottom: .18rem;
  transform: translateX(-50%);
  width: 16px; height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

/* --------------------------------------------------------- nav dropdown */

.nav-item { position: relative; }

.nav-item > a { display: inline-flex; align-items: center; gap: .28rem; }

.nav-caret { transition: transform .2s ease; opacity: .6; }
.nav-item:hover .nav-caret,
.nav-item:focus-within .nav-caret { transform: rotate(180deg); }

.nav-drop {
  position: absolute;
  top: calc(100% + .3rem);
  left: 0;
  z-index: 30;
  min-width: 216px;
  margin: 0;
  padding: .4rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}

.nav-item:hover > .nav-drop,
.nav-item:focus-within > .nav-drop {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .2s ease, transform .2s ease, visibility 0s;
}

.nav-drop a {
  display: block;
  padding: .55rem .7rem;
  border-radius: 8px;
  font-size: .92rem;
  white-space: nowrap;
}

.nav-cta {
  margin-left: .5rem;
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: .6rem 1.1rem !important;
  box-shadow: 0 8px 20px rgba(40, 69, 127, .26);
}
.nav-cta:hover { background: var(--accent-deep) !important; }
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  place-items: center;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute; left: 0;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------------- ticker */

.ticker {
  background: var(--accent-deep);
  color: #fff;
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.ticker-label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: .6rem 1.1rem .6rem 0;
  margin-right: 1.2rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-soft);
  position: relative;
  white-space: nowrap;
}

.ticker-label::after {
  content: "";
  position: absolute;
  right: 0; top: 25%; bottom: 25%;
  width: 1px;
  background: rgba(255, 255, 255, .25);
}

.ticker-viewport { flex: 1 1 auto; overflow: hidden; }

.ticker-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  animation: ticker-scroll 42s linear infinite;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .62rem 0;
  font-size: .86rem;
  white-space: nowrap;
  color: rgba(232, 239, 250, .92);
}

.ticker-item b {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #0d1c3a;
  background: var(--accent-soft);
  padding: .15rem .5rem;
  border-radius: 4px;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ticker-viewport { overflow-x: auto; }
}

/* ---------------------------------------------------------- hero banner */

.banner { position: relative; background: var(--accent-darkest); }

.banner-stage {
  position: relative;
  aspect-ratio: 16 / 6.4;
  min-height: 340px;
  max-height: 620px;
  overflow: hidden;
}

/* Every slide stays in the layout so the cross-fade works; only the active one
   is visible, and the rest are removed from the accessibility tree. */
.banner-slide {
  position: absolute;
  inset: 0;
  /* The drift animation scales the photo past its box; clip it here as well
     as on the stage so the slide never reports a wider geometry. */
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility 0s linear .8s;
}

.banner-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity .8s ease, visibility 0s;
}

.banner-slide > img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.9);
}

/* Slow drift keeps a still photograph from feeling static. */
.banner-slide.is-active > img { animation: banner-drift 12s ease-out forwards; }

@keyframes banner-drift {
  from { transform: scale(1.07); }
  to   { transform: scale(1); }
}

/* The source photographs carry their own banner text, so the scrim is kept
   heavy on the reading side to stop it competing with the headline. */
.banner-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(
    95deg,
    rgba(8, 18, 38, .94) 0%,
    rgba(13, 28, 58, .87) 34%,
    rgba(19, 38, 74, .60) 62%,
    rgba(6, 72, 40, .26) 100%
  );
}

.banner-eyebrow {
  display: inline-block;
  margin: 0 0 .7rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #0d1c3a;
  background: var(--accent-soft);
  padding: .32rem .8rem;
  border-radius: 4px;
}

.banner-caption h1 {
  color: #fff;
  max-width: 17ch;
  margin-bottom: .8rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

.banner-caption h1 em { font-style: italic; color: var(--accent-soft); }

.banner-text {
  color: rgba(238, 250, 242, .9);
  max-width: 48ch;
  font-size: clamp(.98rem, 1.2vw, 1.08rem);
  margin-bottom: 1.5rem;
}

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .34);
  background: rgba(0, 0, 0, .28);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.banner-arrow:hover { background: var(--accent); border-color: var(--accent); }
.banner-arrow--prev { left: clamp(.6rem, 2vw, 1.4rem); }
.banner-arrow--next { right: clamp(.6rem, 2vw, 1.4rem); }

.banner-dots {
  position: absolute;
  left: 0; right: 0;
  bottom: 1.1rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .45rem;
}

/* The button is a slim bar, but its touch area is padded out below (::after).
   Note it must NOT use `overflow: hidden` — that would clip the pseudo-element
   back to the 4px bar. The progress fill is clipped by its own radius instead. */
.banner-dot {
  position: relative;
  width: 30px; height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .38);
  cursor: pointer;
  transition: width .3s ease, background .3s ease;
}

.banner-dot:hover { background: rgba(255, 255, 255, .6); }
.banner-dot.is-active { width: 58px; background: rgba(255, 255, 255, .32); }

/* Enlarge the hit area without changing the bar's visual size. */
/* The visible bar stays slim; the hit area is padded out to a comfortable
   touch size (>=44px tall) without changing the design. z-index keeps it above
   the progress fill so the fill cannot swallow the tap. */
.banner-dot::after {
  content: "";
  position: absolute;
  inset: -22px -5px;
  z-index: 2;
}

.banner-dot-fill {
  position: absolute;
  inset: 0;
  width: 0;
  border-radius: 999px;
  background: var(--accent-soft);
  pointer-events: none;
}

/* The active dot doubles as the autoplay progress bar. */
.banner-dot.is-active .banner-dot-fill {
  animation: banner-progress var(--hero-delay, 6000ms) linear forwards;
}
.banner-dot.is-active.is-paused .banner-dot-fill { animation-play-state: paused; }

@keyframes banner-progress {
  from { width: 0; }
  to   { width: 100%; }
}

.banner-playpause {
  position: relative;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  margin-left: .5rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .34);
  background: rgba(0, 0, 0, .3);
  color: #fff;
  cursor: pointer;
}
/* Same trick as the dots: keep the 26px button, widen the touch area. */
.banner-playpause::after {
  content: "";
  position: absolute;
  inset: -11px;
  z-index: 2;
}

.banner-playpause:hover { background: var(--accent); border-color: var(--accent); }
.banner-playpause .ico-play { display: none; }
.banner-playpause[aria-pressed="true"] .ico-pause { display: none; }
.banner-playpause[aria-pressed="true"] .ico-play { display: block; }

@media (prefers-reduced-motion: reduce) {
  .banner-slide { transition: none; }
  .banner-slide.is-active > img { animation: none; }
  .banner-dot.is-active .banner-dot-fill { animation: none; width: 100%; }
}

/* -------------------------------------------------------------- counters */

.counters {
  background: var(--accent);
  color: #fff;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.counter {
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .18);
}
.counter:last-child { border-right: 0; }

.counter strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
  color: #fff;
}
.counter strong span { color: #c5d8f5; }

.counter > span {
  display: block;
  margin-top: .3rem;
  font-size: .84rem;
  color: rgba(232, 239, 250, .85);
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .96rem;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .85rem 1.5rem;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent-soft);
  color: #0d1c3a;
  box-shadow: 0 12px 28px rgba(111, 154, 219, .38);
}
.btn-primary:hover { background: #57d68e; }

.btn-ghost {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .32);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--accent-deep);
}
.btn-outline:hover { background: var(--tint); border-color: var(--accent-soft); }

.btn-light {
  background: #fff;
  color: var(--accent-deep);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.text-link--light { color: var(--accent-soft); }

/* -------------------------------------------------------------- marquee  */

.marquee {
  background: var(--accent-deep);
  color: rgba(232, 239, 250, .9);
  padding: .9rem 0;
  overflow: hidden;
}

.marquee-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .6rem 2rem;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.marquee-inner span { display: inline-flex; align-items: center; gap: 2rem; }
.marquee-inner span::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-soft);
}
.marquee-inner span:last-child::after { display: none; }

/* ------------------------------------------------------------- sections  */

.section { padding: var(--step) 0; }
.section--tint { background: var(--tint); }

.section-head { max-width: 62ch; margin-bottom: 2.6rem; }

.section-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.section-head--row h2 { margin-bottom: 0; }

.section-sub { font-size: 1.05rem; color: var(--muted); margin: 0; }

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Centred section heading with the underline rule used across the site. */
.block-head {
  max-width: 60ch;
  margin: 0 auto 2.8rem;
  text-align: center;
}

.block-head h2 { margin-bottom: .7rem; }
.block-head p { color: var(--muted); margin: 0; }

.rule {
  display: block;
  width: 74px;
  height: 3px;
  margin: 0 auto 1rem;
  border-radius: 3px;
  background: var(--accent-soft);
  position: relative;
}

.rule::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--canvas);
}

.block-head--left { text-align: left; margin: 0 0 1.4rem; max-width: none; }
.block-head--left .rule { margin-inline: 0; }

.block-head--light h2 { color: #fff; }
.block-head--light p { color: rgba(232, 239, 250, .8); }
.block-head--light .rule::after { border-color: var(--accent-darkest); }

.block-title {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  margin: 0;
  padding: .85rem 1.2rem;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.block-more { margin: 2rem 0 0; text-align: center; }

/* ------------------------------------------- quick links + notice board */

.notice-layout {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 2fr);
  gap: 1.5rem;
  align-items: start;
}

.quicklinks,
.notices {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.quicklinks ul {
  list-style: none;
  margin: 0;
  padding: .6rem;
  display: grid;
  gap: .3rem;
}

.quicklinks a {
  display: block;
  padding: .68rem .85rem;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  background: var(--tint);
  border-left: 3px solid transparent;
  transition: all .2s ease;
}

.quicklinks a:hover {
  color: var(--accent-deep);
  border-left-color: var(--accent);
  transform: translateX(3px);
}

.notice-list {
  list-style: none;
  margin: 0;
  padding: .35rem 1.2rem 1.2rem;
  display: grid;
}

/* Fixed first column so the date/grade badges share one edge and the titles
   beside them line up down the list. */
.notice-list li {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px dashed var(--line);
}
.notice-list li:last-child { border-bottom: 0; }

.notice-list time {
  align-self: start;
  justify-self: start;
  text-align: center;
  white-space: nowrap;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--tint);
  padding: .3rem .6rem;
  border-radius: 5px;
}

.notice-list strong {
  display: block;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: .2rem;
}

.notice-list p { margin: 0; font-size: .92rem; }

.notice-empty { padding: 2rem 1.2rem 1.6rem; }
.notice-empty p { max-width: 52ch; }

/* -------------------------------------------------------- stage cards  */

.stage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.15rem;
}

.stage-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}

.stage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.stage-icon {
  display: inline-grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: var(--tint);
  color: var(--accent);
}

.stage-card h3 { margin-bottom: .15rem; }

.stage-meta {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
}

.stage-card p:last-child { margin: 0; font-size: .94rem; }

/* --------------------------------------------------------- why-us band */

.highlight-band {
  background:
    radial-gradient(800px 400px at 88% 8%, rgba(111, 154, 219, .18), transparent 68%),
    linear-gradient(140deg, var(--accent-darkest), var(--accent-deep));
}

/* ----------------------------------------------------------------- about */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about-copy p { font-size: 1.02rem; }
.about-copy .text-link { margin-top: .5rem; }

.about-media {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem;
  aspect-ratio: 1 / 1;
}

.about-shot {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--tint);
}

.about-shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.about-shot:hover img { transform: scale(1.05); }

/* First image spans the full left column for an editorial rhythm. */
.about-shot--0 { grid-row: span 2; border-radius: var(--radius-lg); }
.about-shot--2 { border-bottom-right-radius: var(--radius-lg); }

/* --------------------------------------------------------------- pillars */

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

/* Pillars sit on the dark "why us" band, so they are glass rather than white. */
.pillar {
  position: relative;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.75rem;
  backdrop-filter: blur(6px);
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}

.pillar:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .11);
  border-color: rgba(255, 255, 255, .28);
}

.pillar h3 { color: #fff; }

.pillar-index {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: rgba(111, 154, 219, .22);
  color: var(--accent-soft);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
}

.pillar p {
  font-size: .96rem;
  margin-bottom: .8rem;
  color: rgba(232, 239, 250, .82);
}
.pillar p:last-of-type { margin-bottom: 0; }

.pillar--accent {
  background: linear-gradient(150deg, var(--accent-deep), var(--accent));
  border-color: transparent;
  color: #fff;
}
.pillar--accent h3 { color: #fff; }
.pillar--accent p { color: rgba(232, 239, 250, .84); }
.pillar--accent .pillar-index {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

/* ---------------------------------------------------------------- albums */

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.15rem;
}

.album-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}

.album-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.album-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--tint);
}

.album-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.album-card:hover .album-media img { transform: scale(1.06); }

.album-body {
  display: grid;
  gap: .15rem;
  padding: .95rem 1.1rem 1.15rem;
}
.album-body strong { font-family: var(--font-display); font-size: 1.06rem; }
.album-body span { font-size: .85rem; color: var(--muted); }

/* ------------------------------------------------------------------ news */

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.15rem;
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.news-card time {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .55rem;
}

.news-card h3 { font-size: 1.2rem; }
.news-card p { font-size: .94rem; margin: 0; }

/* -------------------------------------------------------------- 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);
  background:
    radial-gradient(700px 320px at 85% 15%, rgba(111, 154, 219, .34), transparent 70%),
    linear-gradient(130deg, var(--accent-deep), var(--accent));
  box-shadow: var(--shadow-lg);
}

.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { color: rgba(232, 239, 250, .86); max-width: 52ch; margin: 0; }

/* ---------------------------------------------------------- page banner  */

.page-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.6rem, 6vw, 4.6rem) 0 clamp(2rem, 4vw, 3.2rem);
  background: linear-gradient(180deg, var(--tint), var(--canvas));
  border-bottom: 1px solid var(--line);
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

/* Photographic banners carry their own signage, so the scrim stays heavy. */
.page-banner.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    95deg,
    rgba(8, 18, 38, .95) 0%,
    rgba(13, 28, 58, .88) 42%,
    rgba(22, 41, 79, .70) 100%
  );
}

.page-banner h1 { max-width: 20ch; margin-bottom: .6rem; }
.page-banner-text { font-size: 1.05rem; color: var(--muted); max-width: 62ch; margin: 0; }

.page-banner.has-image h1 { color: #fff; }
.page-banner.has-image .page-banner-text { color: rgba(238, 250, 242, .88); }

/* ------------------------------------------------------------ crumbs  */

.crumbs { margin-top: 1.1rem; }

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .86rem;
}

.crumbs li { display: flex; align-items: center; gap: .5rem; }

.crumbs li + li::before {
  content: "";
  width: 5px; height: 5px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: .5;
}

.crumbs a { color: var(--accent-deep); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { color: var(--muted); }

.page-banner.has-image .crumbs { color: rgba(238, 250, 242, .8); }
.page-banner.has-image .crumbs a { color: var(--accent-soft); }
.page-banner.has-image .crumbs span { color: rgba(238, 250, 242, .72); }

/* --------------------------------------------------------- page blocks  */

.narrow-block { max-width: 74ch; margin-inline: auto; }
.narrow-block p { font-size: 1.02rem; }

.lead { font-size: 1.1rem; color: var(--ink); }

.notice-foot { margin: 0; padding: 0 1.2rem 1.4rem; }

.fact-list {
  list-style: none;
  margin: 0;
  padding: .8rem 1.2rem 1.2rem;
  display: grid;
  gap: .55rem;
}

.fact-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .93rem;
  color: var(--ink);
  padding-bottom: .55rem;
  border-bottom: 1px dashed var(--line);
}
.fact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.fact-list span { color: var(--muted); font-weight: 500; }

/* ----------------------------------------------------------- steps grid */

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.15rem;
}

.step-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}

.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.step-num {
  position: absolute;
  top: 1.1rem; right: 1.3rem;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--tint);
}

.step-card h3 { margin-bottom: .35rem; }
.step-card p { margin: 0; font-size: .94rem; }

/* --------------------------------------------------------------- gallery */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 2.2rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .55rem 1.05rem;
  font-size: .9rem;
  font-weight: 500;
  transition: all .2s ease;
}

.chip:hover { border-color: var(--accent-soft); color: var(--accent-deep); }

.chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(40, 69, 127, .24);
}

.chip-count {
  font-size: .76rem;
  padding: .05rem .45rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--accent-deep);
}
.chip.is-active .chip-count { background: rgba(255, 255, 255, .22); color: #fff; }

.masonry {
  columns: 3 280px;
  column-gap: 1.1rem;
}

.shot {
  margin: 0 0 1.1rem;
  break-inside: avoid;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}

.shot:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.shot img { width: 100%; height: auto; }

.shot figcaption {
  padding: .7rem .95rem .85rem;
  font-size: .86rem;
  color: var(--muted);
}

/* --------------------------------------------------------------- contact */

.contact-layout {
  display: grid;
  grid-template-columns: 1.55fr .95fr;
  gap: 1.6rem;
  align-items: start;
}

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.5rem);
  box-shadow: var(--shadow);
}

.contact-form { display: grid; gap: 1.15rem; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.contact-form label { display: grid; gap: .4rem; }

.contact-form span {
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
}
.contact-form span b { color: var(--accent); font-weight: 700; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: .96rem;
  color: var(--ink);
  padding: .8rem .95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--canvas);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 4px rgba(111, 154, 219, .22);
}

.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form button { justify-self: start; }

.form-status {
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  margin: 0 0 1.2rem;
  font-size: .94rem;
  font-weight: 500;
}

.form-status--success {
  background: #e7f4ec;
  border: 1px solid #a6ddba;
  color: #0d1c3a;
}

.form-status--error {
  background: #fdecec;
  border: 1px solid #f3b6b6;
  color: #a52020;
}

.contact-side { display: grid; gap: 1rem; }

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.info-card h3 { font-size: 1.1rem; }
.info-card p { margin: 0; font-size: .95rem; }

.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .92rem;
  color: var(--ink);
  padding-bottom: .6rem;
  border-bottom: 1px dashed var(--line);
}
.info-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.info-list span { color: var(--muted); font-weight: 500; }

.info-card--accent {
  background: linear-gradient(150deg, var(--accent-deep), var(--accent));
  border-color: transparent;
}
.info-card--accent h3 { color: #fff; }
.info-card--accent p { color: rgba(232, 239, 250, .86); }

/* ---------------------------------------------------------------- footer */

.site-footer {
  margin-top: auto;
  background: var(--accent-darkest);
  color: rgba(223, 232, 247, .76);
  padding: clamp(2.8rem, 5vw, 4rem) 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

/* The shield is silver/navy on a transparent background, so it reads directly
   on the dark footer — no light chip needed. Sized up because the ring
   lettering is fine detail. */
.footer-logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-brand h2 { color: #fff; font-size: 1.35rem; margin-bottom: .5rem; }
.footer-brand p { font-size: .92rem; color: rgba(223, 232, 247, .70); max-width: 42ch; margin: 0; }

.footer-col { display: grid; gap: .55rem; align-content: start; }

.footer-col h3 {
  color: #fff;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .35rem;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .5rem;
}

.footer-list li { display: block; }

.footer-list a,
.footer-list--plain li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  color: rgba(223, 232, 247, .76);
  text-decoration: none;
  font-size: .93rem;
  line-height: 1.5;
  transition: color .2s ease;
}

.footer-list a:hover { color: #fff; }

.ico {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: .18rem;
  color: var(--accent-soft);
  transition: color .2s ease, transform .2s ease;
}

.footer-list a:hover .ico {
  color: #fff;
  transform: translateX(2px);
}

.footer-list--plain .ico { color: var(--accent-soft); }

.footer-list--plain a {
  display: inline;
  padding: 0;
  color: var(--accent-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-list--plain a:hover { color: #fff; }

.footer-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .6rem;
  padding-top: 1.4rem;
}
.footer-base p { margin: 0; font-size: .86rem; color: rgba(223, 232, 247, .58); }

/* ----------------------------------------------------------- responsive  */

@media (max-width: 1040px) {
  .notice-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    padding: .8rem 1.25rem 1.2rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }

  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: .75rem .5rem; }
  .primary-nav a.is-current::after { display: none; }
  .nav-cta { margin: .4rem 0 0; text-align: center; }

  /* In the stacked mobile menu the dropdown becomes a plain indented list. */
  .nav-item { width: 100%; }
  .nav-caret { display: none; }

  .nav-drop {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    min-width: 0;
    margin: 0 0 .2rem .6rem;
    padding: 0;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav-drop a { padding: .55rem .8rem; font-size: .9rem; color: var(--muted); }

  .about-grid { grid-template-columns: 1fr; }
  .about-media { aspect-ratio: 3 / 2; }
  .contact-layout { grid-template-columns: 1fr; }

  .banner-stage { aspect-ratio: 16 / 9; }
  .counter-grid { grid-template-columns: repeat(2, 1fr); }
  .counter:nth-child(2) { border-right: 0; }
  .counter:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .18); }
}

@media (max-width: 640px) {
  .container { width: min(1180px, calc(100% - 1.6rem)); }

  .section-head { margin-bottom: 1.9rem; }
  .section-head--row { align-items: flex-start; }

  /* Portrait phones: give the caption room rather than a letterbox strip. */
  .banner-stage { aspect-ratio: auto; height: 78vh; min-height: 430px; }
  .banner-caption { align-items: flex-end; padding-bottom: 3.2rem; }
  .banner-caption h1 { max-width: none; }
  .banner-text { max-width: none; }
  .banner-arrow { display: none; }
  .banner-dots { bottom: .8rem; }

  .notice-list li { grid-template-columns: 1fr; gap: .45rem; }
  .notice-list time { justify-self: start; }

  .about-media {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    aspect-ratio: auto;
  }
  .about-shot { aspect-ratio: 1 / 1; }
  .about-shot--0 { grid-row: auto; grid-column: span 2; aspect-ratio: 16 / 10; }

  .masonry { columns: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-band .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-base { justify-content: flex-start; }

  /* Small uppercase labels sit near 11.5px at desktop sizes; lift them to
     12px+ on phones, where they are hardest to read. */
  .ticker-label,
  .ticker-item b,
  .banner-eyebrow,
  .notice-list time,
  .stage-meta,
  .eyebrow { font-size: .78rem; }

  /* Comfortable touch spacing for stacked link lists. */
  .footer-list a,
  .footer-list--plain li,
  .quicklinks a { padding-block: .68rem; }

  .chip { padding: .55rem 1rem; }

  /* Full-width primary actions read better than centred pills on a phone. */
  .banner-caption .btn,
  .contact-form button { width: 100%; }
}
