:root {
  --navy: #031631;
  --navy-2: #092748;
  --ice: #72b7f5;
  --ice-light: #eaf6ff;
  --white: #ffffff;
  --ink: #162235;
  --muted: #5c6b7d;
  --line: #d9e5ef;
  --shadow: 0 20px 55px rgba(3, 22, 49, 0.16);
  --radius: 22px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 9999;
  padding: 10px 14px;
  background: #fff;
  color: var(--navy);
  border-radius: 8px;
}
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 22, 49, 0.96);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}
.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .01em;
}
.brand img { width: 54px; height: 54px; }
.main-nav { display: flex; align-items: center; gap: 20px; font-size: .95rem; font-weight: 700; }
.main-nav a { text-decoration: none; opacity: .92; }
.main-nav a:hover { opacity: 1; color: var(--ice); }
.main-nav .nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--ice);
  opacity: 1;
}
.main-nav .nav-cta:hover { color: var(--navy); transform: translateY(-1px); }

.hero {
  min-height: 710px;
  position: relative;
  display: grid;
  align-items: center;
  color: white;
  background-image: url("assets/hero.webp");
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3,22,49,.96) 0%, rgba(3,22,49,.80) 45%, rgba(3,22,49,.26) 78%, rgba(3,22,49,.15) 100%),
    linear-gradient(0deg, rgba(3,22,49,.6), transparent 45%);
}
.hero-content { padding-block: 96px; }
.hero-copy { width: min(720px, 100%); }
.eyebrow {
  margin: 0 0 12px;
  color: var(--ice);
  font-size: .82rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .14em;
}
.eyebrow.dark { color: #3378b5; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; color: inherit; }
h1 { margin-bottom: 22px; font-size: clamp(2.9rem, 6.5vw, 5.8rem); letter-spacing: -.055em; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.035em; }
h3 { margin-bottom: 10px; font-size: 1.24rem; }
.hero-lede { margin: 0; font-size: clamp(1.08rem, 2.2vw, 1.35rem); color: rgba(255,255,255,.9); max-width: 660px; }
.hero-actions, .section-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.center.section-actions { justify-content: center; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 850;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy); background: var(--ice); box-shadow: 0 10px 30px rgba(114,183,245,.22); }
.button-secondary { color: white; border: 1px solid rgba(255,255,255,.42); background: rgba(255,255,255,.08); }
.button-dark { color: white; background: var(--navy); white-space: nowrap; }
.button-secondary-dark { color: var(--navy); border: 1px solid #b7cce0; background: white; }
.button.full { width: 100%; }
.quick-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.quick-facts span { padding: 8px 13px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: rgba(3,22,49,.42); }
.quick-facts strong { color: var(--ice); }

.section { padding: 92px 0; }
.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: 62px; align-items: center; }
.lead { font-size: 1.2rem; color: #34465c; }
.feature-photo { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; }
.section-heading { max-width: 760px; margin-bottom: 36px; }
.section-heading.center { margin-inline: auto; }
.section-heading p:last-child { margin-bottom: 0; }

.section-dark { color: white; background: var(--navy); }
.section-dark .section-heading p:not(.eyebrow) { color: #cfdeec; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit-card {
  padding: 26px;
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.1);
}
.benefit-card p { margin: 0; color: #cbd9e6; }
.benefit-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--navy);
  background: var(--ice);
  font-weight: 950;
  font-size: .95rem;
}
.featured-benefit { background: linear-gradient(145deg, rgba(114,183,245,.2), rgba(255,255,255,.055)); border-color: rgba(114,183,245,.34); }

.gallery-grid { display: grid; gap: 18px; }
.gallery-showcase { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #e9eef4;
  box-shadow: 0 12px 28px rgba(3,22,49,.10);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-featured {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 7;
  min-height: 390px;
}
.gallery-card { aspect-ratio: 4 / 3; min-height: 0; }
.gallery-card.portrait-focus img { object-position: center 34%; }

.local-section { padding-top: 10px; }
.local-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding: 42px;
  border-radius: var(--radius);
  background: var(--ice-light);
  border: 1px solid #cde6fa;
}
.local-callout h2 { font-size: clamp(1.9rem, 3.7vw, 3rem); }
.local-callout p:last-child { margin-bottom: 0; max-width: 760px; }

.section-ice { background: #f4f9fd; }
.visit-grid { display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: center; }
.contact-list { margin-top: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.contact-list p { margin: 0; }
.contact-list a { color: #1d69a8; }
.join-card {
  padding: 34px;
  text-align: center;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.join-card img { width: 150px; height: 150px; margin: 0 auto 16px; }
.join-card h3 { font-size: 1.6rem; }
.join-card .button + .button { margin-top: 10px; }
.text-link { display: inline-block; margin-top: 18px; color: #286da8; font-weight: 800; text-decoration: none; }

.faq-section details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq-section details:last-child { border-bottom: 1px solid var(--line); }
.faq-section summary { cursor: pointer; font-weight: 850; font-size: 1.05rem; }
.faq-section details p { margin-bottom: 0; color: var(--muted); }

.site-footer { padding: 44px 0 22px; color: white; background: var(--navy); }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 72px; height: 72px; }
.footer-brand p { margin: 3px 0 0; color: #b8cad9; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: #d9e7f2; text-decoration: none; font-weight: 750; }
.footer-links a:hover { color: var(--ice); }
.copyright { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #9eb2c4; font-size: .9rem; }
.copyright p { margin: 0; }

@media (max-width: 920px) {
  .brand span { display: none; }
  .main-nav { gap: 13px; font-size: .9rem; }
  .main-nav a:not(.nav-cta) { display: none; }
  .hero { min-height: 650px; background-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(3,22,49,.95), rgba(3,22,49,.72) 75%, rgba(3,22,49,.45)); }
  .split, .visit-grid { grid-template-columns: 1fr; gap: 38px; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-featured { grid-column: 1 / -1; aspect-ratio: 16 / 8; min-height: 0; }
  .visit-grid { max-width: 760px; }
  .join-card { max-width: 520px; }
  .local-callout { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--max)); }
  .nav-wrap { min-height: 68px; }
  .brand img { width: 48px; height: 48px; }
  .hero { min-height: 620px; background-position: 62% center; }
  .hero-content { padding-block: 72px; }
  h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .section { padding: 70px 0; }
  .benefit-grid { grid-template-columns: 1fr; }
  .gallery-showcase { grid-template-columns: 1fr; }
  .gallery-featured, .gallery-card { grid-column: auto; aspect-ratio: 4 / 3; min-height: 0; }
  .gallery-card.portrait-focus { aspect-ratio: 4 / 5; }
  .local-callout { padding: 28px; }
  .contact-list { grid-template-columns: 1fr; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}

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

/* Photo gallery lightbox */
.gallery-item[data-lightbox] {
  position: relative;
  cursor: zoom-in;
  outline: none;
}
.gallery-item[data-lightbox]::after {
  content: "Enlarge";
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: white;
  background: rgba(3,22,49,.78);
  font-size: .78rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.gallery-item[data-lightbox]:hover::after,
.gallery-item[data-lightbox]:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}
.gallery-item[data-lightbox]:focus-visible {
  box-shadow: 0 0 0 4px rgba(114,183,245,.55);
}
body.lightbox-open { overflow: hidden; }
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1,10,24,.92);
  backdrop-filter: blur(5px);
}
.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(94vw, 1450px);
  height: min(90vh, 980px);
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
}
.lightbox-content {
  margin: 0;
  min-width: 0;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.lightbox-content img {
  display: block;
  max-width: 100%;
  max-height: calc(90vh - 64px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 22px 70px rgba(0,0,0,.5);
}
.lightbox-content figcaption {
  color: #dbe8f5;
  text-align: center;
  font-size: .92rem;
}
.lightbox-close,
.lightbox-nav {
  border: 0;
  color: white;
  background: rgba(255,255,255,.12);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  background: rgba(114,183,245,.45);
  outline: 2px solid var(--ice);
  outline-offset: 2px;
}
.lightbox-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  z-index: 2;
}
.lightbox-nav {
  width: 52px;
  height: 70px;
  border-radius: 12px;
  font-size: 2rem;
  justify-self: center;
}
.lightbox-nav:active { transform: scale(.96); }

@media (max-width: 700px) {
  .lightbox { padding: 12px; }
  .lightbox-dialog {
    width: 100%;
    height: 92vh;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
  }
  .lightbox-nav {
    width: 42px;
    height: 58px;
    font-size: 1.5rem;
  }
  .lightbox-close {
    top: 8px;
    right: 8px;
  }
  .lightbox-content img { max-height: calc(92vh - 74px); }
  .gallery-item[data-lightbox]::after { opacity: 1; transform: none; }
}

/* Seven-photo gallery layout */
@media (min-width: 641px) {
  .gallery-item:nth-child(1) { grid-column: span 5; }
  .gallery-item:nth-child(2) { grid-column: span 7; }
  .gallery-item:nth-child(3) { grid-column: span 5; }
  .gallery-item:nth-child(4) { grid-column: span 7; }
  .gallery-item:nth-child(5) { grid-column: span 6; }
  .gallery-item:nth-child(6) { grid-column: span 6; }
  .gallery-item:nth-child(7) { grid-column: span 12; aspect-ratio: 16 / 8; }
}

/* Rotating photo carousel */
.photo-carousel {
  width: min(100%, 1050px);
  margin-inline: auto;
}
.carousel-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 24px;
  background: #06172b;
  box-shadow: 0 22px 55px rgba(3,22,49,.18);
}
.carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .65s ease, visibility .65s ease;
  cursor: zoom-in;
  overflow: hidden;
}
.carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
/* The carousel uses a uniform 4:3 window so every photo scales the same way.
   The full, uncropped source still opens in the lightbox. */
.carousel-blur {
  display: none;
}
.carousel-main {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center center;
}
/* Fine-tune portrait photos so the important people/table stay in frame. */
.carousel-slide:nth-child(1) .carousel-main { object-position: center 45%; }
.carousel-slide:nth-child(2) .carousel-main { object-position: center 43%; }
.carousel-slide:nth-child(3) .carousel-main { object-position: center 44%; }
.carousel-slide:nth-child(7) .carousel-main { object-position: center 42%; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 52px;
  height: 70px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  color: white;
  background: rgba(3,22,49,.70);
  backdrop-filter: blur(8px);
  font-size: 1.9rem;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  background: rgba(27,108,174,.92);
  outline: 2px solid var(--ice);
  outline-offset: 2px;
}
.carousel-prev { left: 18px; }
.carousel-next { right: 18px; }
.carousel-arrow:active { transform: translateY(-50%) scale(.96); }
.carousel-controls {
  min-height: 50px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 9px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #aebdca;
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.carousel-dot.is-active {
  width: 30px;
  background: #286da8;
}
.carousel-dot:focus-visible,
.carousel-pause:focus-visible {
  outline: 3px solid rgba(40,109,168,.35);
  outline-offset: 3px;
}
.carousel-pause {
  min-width: 68px;
  padding: 7px 11px;
  border: 1px solid #c7d5e0;
  border-radius: 999px;
  color: #34465c;
  background: white;
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
}
.carousel-pause:hover { background: #f1f6fa; }

@media (max-width: 700px) {
  .photo-carousel { width: 100%; }
  .carousel-viewport {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }
  .carousel-arrow {
    width: 42px;
    height: 56px;
    font-size: 1.45rem;
  }
  .carousel-prev { left: 10px; }
  .carousel-next { right: 10px; }
  .carousel-controls { gap: 12px; }
  .carousel-dots { gap: 7px; }
}
