:root {
  --ognisal-ink: #002B5C;
  --ognisal-blue: #003A70;
  --ognisal-navy: #0A4A8A;
  --ognisal-steel: #1B6AA8;
  --ognisal-sky: #009FE3;
  --ognisal-sky-hover: #007AB8;
  --ognisal-lead: #FFD6A5;
  --ognisal-cyan: #A8C4DE;
  --ognisal-mist: #D8E6F4;
  --ognisal-surface: #EAF1F8;
  --ognisal-panel: #003A70;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--ognisal-surface);
}

:focus-visible {
  outline: 2px solid #009FE3;
  outline-offset: 2px;
}

.site-header-bar {
  background: #232323;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.site-header-bar__inner {
  min-height: 7rem;
}

.site-header-bar .site-logo--white {
  display: block;
  max-height: 5.5rem;
  min-height: 4.5rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.site-header-cta {
  background: #003A70;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem 1.1rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.55rem 1rem;
}

.site-header-cta__inner p {
  flex: 1 1 16rem;
  margin-right: auto;
}

.site-header-cta__brand {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.site-header-cta__logo {
  display: block;
  height: 2.5rem;
  width: auto;
}

@media (min-width: 640px) {
  .site-header-cta__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.site-header-cta p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.site-header-cta a {
  color: #FFD6A5;
  font-weight: 600;
}

.site-header-cta a:hover {
  color: #fff;
}

.site-header-cta__btn {
  display: inline-block;
  flex-shrink: 0;
  background: #009FE3;
  color: #fff !important;
  padding: 0.45rem 0.95rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-header-cta__btn:hover {
  background: #007AB8;
  color: #fff !important;
}

.site-logo-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo-lockup__mark {
  font-family: Raleway, Open Sans, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFD6A5;
  line-height: 1.2;
}

.site-logo--dark {
  max-height: 3rem;
}

.hero-photo {
  position: relative;
  isolation: isolate;
  background-color: #002B5C;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: calc(88vh - 4rem);
}

.hero-photo__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.52));
  pointer-events: none;
}

.home-copy--hero-deck {
  font-size: 1.2rem;
  line-height: 1.55;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.01em;
}

.home-copy--hero-aside {
  font-size: 0.975rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
  border-left: 3px solid #1B6AA8;
  padding-left: 1rem;
}

.mega-menu-trigger:hover .mega-menu-panel,
.mega-menu-trigger:focus-within .mega-menu-panel {
  visibility: visible;
  opacity: 1;
}

.site-nav-link,
.site-nav-phone {
  transition: color 0.15s ease;
}

.site-nav-link:hover,
.site-nav-phone:hover,
.mega-menu-link:hover {
  text-shadow: 0.025em 0 0 currentColor, -0.025em 0 0 currentColor;
}

.mega-menu-panel {
  overflow: visible;
  border-radius: 0;
}

.mega-menu-link {
  border-radius: 0;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.mega-menu-split {
  position: relative;
  display: flex;
  align-items: stretch;
}

.mega-menu-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  width: 22rem;
  flex-shrink: 0;
}

.mega-menu-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(15rem, 18rem));
}

.mega-menu-col {
  padding: 1.25rem 1.4rem 1.4rem;
  border-left: 1px solid #e5e7eb;
}

.mega-menu-col:first-child {
  border-left: none;
}

.mega-menu-col__title {
  display: block;
  font-family: Raleway, Open Sans, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #003A70;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.mega-menu-col__title:hover {
  color: #009FE3;
}

.mega-menu-col__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.offer-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border-top: 6px solid #002B5C;
  box-shadow: 0 8px 28px rgba(0, 58, 112, 0.08);
}

.offer-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1.75rem 1.5rem 1.6rem;
}

.offer-card .foto-slot,
.offer-card .home-service-card__img {
  display: block;
  width: 100%;
  height: 12rem;
  min-height: 12rem;
  border: 0;
}

@media (min-width: 640px) {
  .offer-card .foto-slot,
  .offer-card .home-service-card__img {
    height: 13rem;
    min-height: 13rem;
  }
}

.offer-card--special {
  border-top-color: #009FE3;
}

.offer-card--open {
  border-top-color: #1B6AA8;
}

.offer-card h3 {
  font-family: Raleway, Open Sans, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #003A70;
  line-height: 1.3;
}

.offer-card__body > p {
  margin: 0.85rem 0 1.1rem;
  color: #4b5563;
  line-height: 1.65;
}

.offer-card ul {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}

.offer-card li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #374151;
}

.offer-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #009FE3;
}

.instructor-role {
  background: #fff;
  border: 1px solid rgba(102, 170, 221, 0.35);
  padding: 1.4rem 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 58, 112, 0.06);
}

.instructor-role__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: #009FE3;
  color: #fff;
}

.instructor-role__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.instructor-role p {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.5;
  color: #374151;
}

.story-quote {
  margin: 1.75rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 214, 165, 0.4);
  font-family: Raleway, Open Sans, sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.35;
  color: #FFD6A5;
}

.equip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.equip-list span {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.875rem;
  color: #fff;
}

.page-band--muted .equip-list span,
.page-band--white .equip-list span,
.content-panel .equip-list span {
  background: #EAF1F8;
  border-color: rgba(0, 58, 112, 0.15);
  color: #003A70;
}

.stat-tile {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(10, 74, 138, 0.35);
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.stat-tile strong {
  display: block;
  font-family: Raleway, Open Sans, sans-serif;
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1;
  color: #FFD6A5;
}

.stat-tile span {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.content-panel--dark .dot-list li,
.page-band--dark .dot-list li {
  color: #fff;
}

.content-panel--dark .dot-list li::before,
.page-band--dark .dot-list li::before {
  background: #FFD6A5;
}

.mobile-menu-panel {
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-panel.is-closed {
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
}

.hamburger-line {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.menu-open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-pill-btn {
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hero-pill-btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.home-overlap-section {
  overflow: visible;
}

.home-image-overlap {
  position: relative;
  overflow: visible;
}

.home-image-overlap__photo {
  width: 100%;
  overflow: visible;
  background: #D8E6F4;
}

.home-image-overlap__photo img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.home-image-overlap__panel {
  background: #003A70;
  color: #fff;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 16px 40px rgba(0, 43, 92, 0.35);
}

.home-image-overlap__panel h2 {
  color: #fff;
  line-height: 1.25;
}

.home-image-overlap__panel p {
  color: rgba(255, 255, 255, 0.92);
}

.home-copy--panel-deck {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
}

.home-copy--panel-deck strong,
.home-image-overlap__lead {
  color: #FFD6A5;
  font-weight: 600;
}

.home-copy--panel-body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.home-copy--panel-pull {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 214, 165, 0.35);
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 600;
  color: #FFD6A5;
}

.home-copy--deck {
  font-size: 1.125rem;
  line-height: 1.55;
  font-weight: 500;
  color: #002B5C;
}

.home-copy--body {
  font-size: 1rem;
  line-height: 1.7;
  color: #4b5563;
}

.home-copy--body strong {
  color: #0A4A8A;
  font-weight: 600;
}

.home-copy--aside {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #64748b;
  border-left: 3px solid #1B6AA8;
  padding-left: 0.9rem;
}

.home-copy--section-deck {
  font-size: 1.125rem;
  line-height: 1.55;
  font-weight: 500;
  color: #334155;
}

.home-copy--cta-lead {
  font-size: 1.2rem;
  line-height: 1.5;
  font-weight: 500;
  color: #ffffff;
}

.home-copy--cta-aside {
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: #FFD6A5;
  font-weight: 600;
}

.page-cta .page-section-label {
  color: #FFD6A5;
}

.home-service-card {
  border-top-width: 6px;
}

.home-service-card__img,
.home-service-card .foto-slot {
  display: block;
  width: 100%;
  height: 12rem;
  min-height: 12rem;
  border: 0;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 640px) {
  .home-service-card__img,
  .home-service-card .foto-slot {
    height: 13rem;
    min-height: 13rem;
  }

  .home-image-overlap__panel {
    padding: 2rem 2.25rem;
  }
}

@media (min-width: 1024px) {
  .home-overlap-section__inner {
    padding-right: 3.5rem;
  }

  .home-image-overlap--wide .home-image-overlap__photo {
    width: 85%;
    max-width: 60rem;
  }

  .home-image-overlap--wide .home-image-overlap__panel {
    position: absolute;
    top: 65%;
    right: -2.75rem;
    transform: translateY(-50%);
    width: min(40%, 29rem);
    z-index: 2;
  }
}

@media (max-width: 1023px) {
  .home-image-overlap__panel {
    margin: -1.5rem 1rem 0;
    position: relative;
    z-index: 2;
  }
}

.reveal {
  opacity: 0;
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-up {
  transform: translate3d(0, 36px, 0);
}

.reveal-down {
  transform: translate3d(0, -28px, 0);
}

.reveal-left {
  transform: translate3d(-40px, 0, 0);
}

.reveal-right {
  transform: translate3d(40px, 0, 0);
}

.reveal-scale {
  transform: translate3d(0, 24px, 0) scale(0.96);
}

.reveal-fade {
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (scripting: none) {
  .hero-photo .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
