/* Next Phase Fit — rebuilt from the Wix site, November 2026.
   Fonts: Poppins (headings, as on the original) and Nunito Sans (a free
   stand-in for Wix's licensed Avenir LT Light). Both are SIL OFL, self-hosted. */

@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 300; font-style: normal; font-display: swap; src: url("/fonts/nunito-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/nunito-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/nunito-sans-latin-800-normal.woff2") format("woff2"); }

:root {
  --charcoal: #262626;
  --orange: #ff7300;
  --rust: #c15700;
  --peach: #edcdb3;
  --white: #ffffff;
  --header-h: 85px;
  --stripe-h: 6px;
  --font-body: "Nunito Sans", "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-head: "Poppins", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 5.5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.4;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
section[id] { scroll-margin-top: calc(var(--header-h) + var(--stripe-h)); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--white); color: var(--charcoal); padding: 10px 18px; border-radius: 24px;
  font-weight: 400; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 166px; min-height: 55px; padding: 0 28px;
  font-family: var(--font-body); font-weight: 800; font-size: 16px; letter-spacing: .01em;
  color: var(--white); text-decoration: none; cursor: pointer;
  border: 2px solid var(--white); background: var(--charcoal);
  transition: background-color .2s, color .2s, border-color .2s;
}
.button:hover { background: var(--white); color: var(--charcoal); }
.button--hero { min-width: 209px; }
.button--outline { background: transparent; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--charcoal);
  border-bottom: var(--stripe-h) solid var(--orange);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h); padding: 0 40px 0 24px;
}
.brand { display: flex; align-items: center; gap: 22px; text-decoration: none; flex-shrink: 1; min-width: 0; }
.brand__icon { height: 58px; width: auto; }
.brand__text { height: 33px; width: auto; }
.site-nav ul { display: flex; gap: 0; }
.site-nav a {
  display: block; padding: 0 15px; line-height: var(--header-h);
  color: var(--white); text-decoration: none; font-size: 16px; font-weight: 300;
  transition: color .2s;
}
.site-nav a:hover, .site-nav a.is-current { color: var(--orange); }
.nav-toggle { display: none; }

@media (max-width: 1100px) {
  .brand__text { height: 26px; }
  .site-nav a { padding: 0 10px; }
}
@media (max-width: 899px) {
  :root { --header-h: 72px; }
  .site-header__bar { padding: 0 8px 0 16px; }
  .brand { gap: 12px; }
  .brand__icon { height: 44px; }
  .brand__text { height: 22px; }
  .nav-toggle {
    display: grid; place-items: center; width: 48px; height: 48px; flex: none;
    background: none; border: 0; cursor: pointer; color: var(--white);
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 26px; height: 2px; background: currentColor; border-radius: 1px;
    transition: transform .25s, opacity .25s;
  }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -8px; }
  .nav-toggle__bars::after { top: 8px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-8px) rotate(-45deg); }
  .site-nav {
    position: absolute; left: 0; right: 0; top: calc(100% + var(--stripe-h));
    background: var(--charcoal); border-bottom: var(--stripe-h) solid var(--orange);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px 0 16px; }
  .site-nav a { line-height: 1; padding: 16px 24px; font-size: 20px; text-align: center; }
}
@media (max-width: 479px) {
  .brand__icon { height: 40px; }
  .brand__text { height: auto; width: min(235px, calc(100vw - 150px)); }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: min(795px, calc(100svh - var(--header-h) - var(--stripe-h) + 15px)); min-height: 520px; overflow: hidden; background: var(--charcoal); }
.hero__panels { display: grid; grid-template-columns: 473fr 483fr 483fr; height: 100%; }
.hero__panel { width: 100%; height: 100%; object-fit: cover; }
.hero__content {
  position: absolute; inset: auto 0 0 0; padding: 0 var(--gutter) 67px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero__title {
  font-family: var(--font-head); font-weight: 700; color: var(--white);
  font-size: clamp(34px, 5.2vw, 75px); line-height: 1.1; margin-bottom: 64px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .28);
}
/* Short screens, e.g. a phone turned sideways: three panels, fitted to the screen height. */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 1000px) {
  .hero { height: calc(100svh - var(--header-h) - var(--stripe-h)); min-height: 220px; }
  .hero__content { padding-bottom: 20px; }
  .hero__title { font-size: clamp(26px, 5vw, 44px); margin-bottom: 18px; }
  .button--hero { min-height: 44px; }
}
@media (max-width: 767px) and (orientation: portrait), (max-width: 767px) and (min-height: 501px) {
  .hero { height: auto; min-height: 0; aspect-ratio: 390 / 560; }
  .hero__panels { grid-template-columns: 1fr; }
  .hero__panel--side { display: none; }
  .hero__panel--main { object-position: 50% 0; }
  .hero__content { padding-bottom: 28px; }
  .hero__title { font-family: var(--font-head); font-weight: 600; font-size: clamp(22px, 6.6vw, 34px); margin-bottom: 16px; }
  .button--hero { background: var(--rust); border-color: var(--rust); min-height: 40px; min-width: 160px; font-weight: 400; font-size: 18px; letter-spacing: .08em; }
}

/* ---------- About ---------- */
.about { padding: 106px var(--gutter) 60px; }
.about__text { max-width: 980px; margin: 0 auto; }
.about__text p { font-size: 26px; line-height: 1.4; text-align: justify; hyphens: manual; }
.about__text p + p { margin-top: 36px; }
@media (max-width: 1023px) { .about__text p { font-size: 22px; } }
@media (max-width: 767px) {
  .about { padding: 64px 20px 40px; }
  .about__text p { font-size: 19px; text-align: left; }
  .about__text p + p { margin-top: 26px; }
}

/* ---------- Call to action ---------- */
.cta { padding: 0 var(--gutter) 68px; }
.cta__frame { position: relative; max-width: 980px; margin: 0 auto; aspect-ratio: 980 / 757; }
.cta__block { position: absolute; left: 0; top: 0; width: 59.39%; height: 78.07%; background: var(--orange); }
.cta__photo { position: absolute; left: 8.16%; top: 7.66%; width: 79.18%; height: 62.75%; object-fit: cover; }
.cta__box {
  position: absolute; left: 50%; top: 38.84%; width: 50%; height: 61.16%;
  background: var(--charcoal); color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px 40px; text-align: center;
}
.cta__title { font-family: var(--font-head); font-weight: 700; color: var(--orange); font-size: 29px; line-height: 1; margin-bottom: 30px; }
.cta__box p { font-size: 24px; line-height: 1.7; margin-bottom: 44px; }
@media (max-width: 1023px) {
  .cta__box p { font-size: 20px; margin-bottom: 30px; }
}
@media (max-width: 799px) {
  .cta { padding: 0 0 40px; }
  .cta__frame { aspect-ratio: auto; padding: 28px 16px 0 0; }
  .cta__block { width: 72%; height: 70%; }
  .cta__photo { position: relative; left: auto; top: auto; width: 100%; height: auto; aspect-ratio: 776 / 475; padding-left: 16px; }
  .cta__box { position: relative; left: auto; top: auto; width: auto; height: auto; margin: -40px 0 0 16px; padding: 48px 24px 52px; }
  .cta__box p { font-size: 19px; }
}

/* ---------- Facility ---------- */
.facility { position: relative; padding: 147px 0 62px; }
.section-title {
  position: relative; z-index: 1;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(32px, 3.5vw, 50px); line-height: 1.2;
  text-align: center; padding: 0 var(--gutter);
}
.facility__accent {
  position: absolute; right: 0; width: 49.5%; height: 300px;
  top: calc(147px + 74px); background: var(--orange);
}
.gallery { position: relative; z-index: 1; max-width: calc(1280px + 2 * var(--gutter)); margin: 144px auto 0; padding: 0 var(--gutter); display: grid; gap: 21px; }
.gallery__row { display: grid; gap: 21px; height: clamp(260px, 41.25vw, 594px); }
.gallery__row--narrow-wide { grid-template-columns: 420fr 839fr; }
.gallery__row--wide-narrow { grid-template-columns: 839fr 420fr; }
.gallery__item { padding: 0; border: 0; background: #ddd; cursor: zoom-in; overflow: hidden; display: block; height: 100%; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.03); }
.pos-pool { object-position: 75% 73%; }
.pos-entrance { object-position: 63% 51%; }
@media (max-width: 767px) {
  .facility { padding: 24px 0 48px; }
  .facility__accent { top: 112px; height: 24px; width: 100%; }
  .gallery {
    margin-top: 64px; padding: 0 16px; display: flex; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery__row { display: contents; }
  .gallery__item { flex: 0 0 86%; height: 300px; scroll-snap-align: center; }
}

/* ---------- Areas of focus ---------- */
.focus { display: grid; grid-template-columns: 480px 1fr; min-height: 1259px; }
.focus__media img { width: 100%; height: 100%; object-fit: cover; }
.focus__content { padding: 46px var(--gutter) 64px clamp(40px, 7.8vw, 113px); }
.focus__title { font-family: var(--font-head); font-weight: 700; font-size: 56px; line-height: 1.4; margin-bottom: 40px; }
.focus__columns { display: grid; grid-template-columns: repeat(2, minmax(0, 362px)); column-gap: 54px; }
.focus__stack { display: grid; gap: 24px; align-content: start; }
.focus__heading {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-weight: 400; font-size: 30px; line-height: 1.4; margin: 0 0 18px;
}
.focus__icon { flex: none; width: auto; height: 40px; }
.focus__icon[src$="goggles.svg"] { height: 19px; }
.focus__item p { font-size: 18px; line-height: 1.4; }
.focus__item p + p { margin-top: 25px; }
@media (max-width: 1199px) {
  .focus { grid-template-columns: 34% 1fr; }
  .focus__columns { grid-template-columns: 1fr; row-gap: 40px; }
  .focus__stack { gap: 40px; }
}
@media (max-width: 1023px) {
  .focus { grid-template-columns: 1fr; min-height: 0; }
  .focus__media { height: 460px; }
  .focus__media img { object-position: 50% 42%; }
  .focus__content { padding: 48px var(--gutter) 64px; }
  .focus__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
}
@media (max-width: 767px) {
  .focus__media { height: 360px; }
  .focus__columns { grid-template-columns: 1fr; }
  .focus__content { padding: 32px 24px 48px; }
  .focus__title { font-size: 34px; margin-bottom: 16px; }
  .focus__heading { flex-direction: column; gap: 6px; font-size: 26px; justify-content: center; margin: 0 0 18px; text-align: center; }
  .focus__item p { font-size: 17px; }
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--rust); color: var(--white); }
.slider { position: relative; max-width: 1440px; margin: 0 auto; padding: 24px 107px 48px; min-height: 647px; display: flex; flex-direction: column; }
.slider__quote { width: 40px; height: auto; margin: 10px auto 14px; }
.slider__track { display: grid; flex: 1; }
.slide {
  grid-area: 1 / 1; text-align: center;
  opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide p { font-size: 18px; line-height: 1.4; }
.slide p + p { margin-top: 25px; }
.slide figcaption { font-family: var(--font-head); font-weight: 700; font-size: 28px; margin-top: 36px; }
.slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 64px; padding: 12px; border: 0; background: none; cursor: pointer; color: var(--white);
}
.slider__arrow svg { width: 20px; height: 40px; }
.slider__arrow--prev { left: 38px; }
.slider__arrow--next { right: 38px; }
.slider__dots { display: flex; justify-content: center; gap: 0; margin-top: 40px; }
.slider__dots button {
  width: 18px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; position: relative;
}
.slider__dots button::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--white);
}
.slider__dots button[aria-current="true"]::before { width: 9px; height: 9px; background: transparent; border: 2px solid var(--white); }
@media (max-width: 767px) {
  .slider { padding: 28px 46px 36px; min-height: 0; }
  .slider__arrow { width: 44px; padding: 8px 12px; }
  .slider__arrow--prev { left: 0; }
  .slider__arrow--next { right: 0; }
  .slide:not(.is-active) { display: none; }
  .slide p { font-size: 16px; }
  .slide figcaption { font-size: 24px; }
}

/* ---------- Contact ---------- */
.contact { padding-top: 147px; }
.contact__frame { position: relative; min-height: 568px; }
.contact__photo { width: min(100%, max(66.8%, 900px)); height: 556px; object-fit: cover; object-position: 50% 20%; }
.contact__box {
  position: absolute; left: 0; bottom: 0; width: 484px; min-height: 463px;
  background: var(--charcoal); color: var(--white); padding: 64px 48px 48px 40px;
}
.contact__title { font-family: var(--font-head); font-weight: 700; color: var(--orange); font-size: 45px; line-height: 1.1; text-align: center; margin-bottom: 36px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 31px; row-gap: 26px; }
.field { display: flex; flex-direction: column; }
.field label { font-size: 16px; line-height: 1; margin-bottom: 6px; }
.field input, .field textarea {
  font: inherit; font-size: 16px; color: var(--white); background: transparent;
  border: 0; border-bottom: 1px solid var(--white); border-radius: 0; padding: 6px 0;
}
.field textarea { resize: vertical; min-height: 58px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--orange); box-shadow: 0 1px 0 var(--orange); }
.field input[aria-invalid="true"] { border-bottom-color: #ff9a9a; }
.field--submit { justify-content: flex-start; padding-top: 22px; }
.field--submit .button { min-width: 0; width: 100%; }
.form-status { grid-column: 1 / -1; font-size: 16px; min-height: 1.4em; }
.form-status.is-error { color: #ffb3b3; }
.form-status a { color: var(--orange); }
@media (max-width: 1023px) {
  .contact { padding-top: 48px; }
  .contact__frame { min-height: 0; }
  .contact__photo { width: 100%; height: auto; aspect-ratio: 3 / 2; object-position: 85% 20%; }
  .contact__box { position: relative; width: auto; min-height: 0; margin: -48px 16px 0; padding: 40px 24px 32px; }
}
@media (max-width: 479px) {
  .contact-form { grid-template-columns: 1fr; }
  .contact__title { font-size: 36px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--white); }
@media (max-width: 1023px) { .site-footer { margin-top: 0; } }
.site-footer__inner {
  display: grid; grid-template-columns: 498px 296px 375px 1fr; align-items: start;
  padding: 64px 0 64px; max-width: 1440px; margin: 0 auto; min-height: 339px;
}
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 26px; padding: 7px 100px 0 20px; }
.footer-brand img:first-child { width: 72px; }
.footer-brand img:last-child { width: 340px; max-width: 100%; }
.footer-col__title { font-family: var(--font-body); font-weight: 800; font-size: 17px; line-height: 1.2; margin-bottom: 14px; letter-spacing: .02em; }
.footer-col p, .footer-col li { font-size: 16px; line-height: 1.7; }
.footer-col li + li { margin-top: 5px; }
.footer-col ul a { text-decoration: none; }
.footer-col ul a:hover, .footer-col ul a.is-current { color: var(--orange); }
.footer-mail { text-decoration: underline; text-underline-offset: 2px; }
.site-footer__bar { height: 57px; background: var(--orange); }
@media (max-width: 1199px) {
  .site-footer__inner { grid-template-columns: 1.3fr 1fr 1.3fr 1fr; gap: 24px; padding: 56px 32px; }
  .footer-brand { padding: 0; }
}
@media (max-width: 767px) {
  .site-footer__inner { grid-template-columns: 1fr; text-align: center; gap: 36px; padding: 48px 24px; min-height: 0; }
  .footer-brand img:last-child { width: 260px; }
  .site-footer__bar { height: 32px; }
}

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 20, 20, .9); }
.lightbox img { max-width: 94vw; max-height: 88vh; width: auto; height: auto; object-fit: contain; }
.lightbox__close {
  position: absolute; top: -44px; right: 0; width: 40px; height: 40px;
  font-size: 34px; line-height: 1; color: var(--white); background: none; border: 0; cursor: pointer;
}

/* ---------- 404 ---------- */
.not-found { text-align: center; min-height: 50vh; }
.not-found .section-title { margin-bottom: 32px; }
.not-found p { text-align: center; }

/* ---------- Privacy links ---------- */
.form-note { grid-column: 1 / -1; font-size: 14px; color: #d9d9d9; margin-top: -8px; }
.form-note a { color: var(--white); white-space: nowrap; display: inline-block; padding: 6px 0; }
.site-footer__legal { max-width: 1440px; margin: 0 auto; padding: 0 24px 24px; text-align: right; font-size: 14px; }
.site-footer__legal a { color: #d9d9d9; }
.site-footer__legal a:hover { color: var(--orange); }
@media (max-width: 767px) { .site-footer__legal { text-align: center; } }

/* ---------- Privacy page ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.legal h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(32px, 5vw, 44px); line-height: 1.2; margin-bottom: 8px; }
.legal .legal__updated { color: #666; font-size: 16px; margin-bottom: 40px; }
.legal h2 { font-family: var(--font-head); font-weight: 600; font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { font-size: 18px; line-height: 1.55; }
.legal p + p { margin-top: 14px; }
.legal ul { list-style: disc; padding-left: 24px; margin: 10px 0; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--rust); }
