/* 01 — LOCAL FONTS */
@font-face {
  font-family: Inter;
  src: url("assets/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("assets/InterVariable-Italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}
/* 02 — BRAND SETTINGS: start here for common design changes. */
:root {
  /* Font family and desktop/fluid type sizes. Mobile overrides are below. */
  --font-family: Inter, Arial, Helvetica, sans-serif;
  --hero-font-size: clamp(48px, 5.417vw, 112px);
  --heading-font-size: clamp(42px, 4vw, 96px);
  --body-font-size: clamp(16px, 1.25vw, 22px);

  /* Brand colours. */
  --blue: #3f75ba;
  --ice: #dceff4;
  --cream: #f6faf3;
  --mobile-gallery: #e1e9db;
  /* Replace these images when the final gradient artwork is ready. */
  --intro-background: url("assets/gradient-bg-1.jpg");
  --gallery-background: url("assets/gradient-bg-2.jpg");
  /* Shared left/right page spacing. */
  --gutter: clamp(24px, 4.167vw, 80px);
}
/* 03 — BASE STYLES, TYPOGRAPHY AND ACCESSIBILITY */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--blue);
  color: var(--cream);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
}
body.modal-open {
  overflow: hidden;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
h1,
h2,
p {
  margin: 0;
}
h1,
h2 {
  font-weight: 600;
  line-height: 1.02;
}
h2 {
  font-size: var(--heading-font-size);
}
em {
  font-weight: inherit;
}
p {
  font-size: var(--body-font-size);
  line-height: 1.35;
}
:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 5px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* 04 — INTRO | Stop-motion overlay settings live in intro-animation.js. */
.intro {
  position: relative;
  isolation: isolate;
  min-height: 650px;
  height: 100vh;
  height: 100svh;
  background: #009ed0;
  overflow: hidden;
}

/* 04A — CRUMPLE DESIGN CONTROLS
   Old HTML banner: old-banner.css. Timing: intro-animation.js.
   contain keeps the final ball visible on portrait screens. */
:root {
  --intro-blur: 12px;
  --intro-frame-fit: contain;
  --intro-frame-position: center;
  --intro-reveal-duration: 450ms;
}
html.intro-opening,
html.intro-playing {
  overflow: hidden;
}
html.intro-opening .intro-scene {
  visibility: hidden;
  pointer-events: none;
}
.intro-scene {
  position: absolute;
  inset: 0;
  background: #009ed0 var(--intro-background) center center/cover no-repeat;
  filter: none;
  transform: scale(1);
}
html.intro-playing .intro-scene {
  filter: blur(var(--intro-blur));
  transform: scale(1.035);
  pointer-events: none;
  user-select: none;
}
html.intro-revealing .intro-scene {
  transition:
    filter var(--intro-reveal-duration) ease,
    transform var(--intro-reveal-duration) ease;
}
.intro-crumple {
  position: absolute;
  inset: 0;
  z-index: 10;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
}
html.intro-playing .intro-crumple {
  visibility: visible;
}
.intro-crumple-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: var(--intro-frame-fit);
  object-position: var(--intro-frame-position);
  visibility: hidden;
  /* No crossfade: frames switch instantly for the stop-motion effect. */
}
html.intro-playing .intro-crumple-frame.is-current {
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  html.intro-revealing .intro-scene {
    transition: none;
  }
}

.site-header {
  position: absolute;
  inset: 36px var(--gutter) auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  z-index: 2;
}
.brand {
  display: block;
  width: 151px;
  flex-shrink: 0;
}
.brand img {
  width: 100%;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 103px;
  min-height: 28px;
  padding: 4px 20px;
  border: 1px solid var(--ice);
  border-radius: 30px;
  background: transparent;
  color: var(--ice);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.1;
  font-weight: bold;
}
.nav-pill-solid {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--blue);
}
.nav-pill:hover {
  background: var(--ice);
  color: var(--blue);
}
.nav-pill-md {
  padding: 13px 33px;
  font-size: 22px;
}
.intro-copy {
  position: absolute;
  top: 24.8%;
  left: var(--gutter);
  right: var(--gutter);
  z-index: 1;
}
h1 {
  font-size: var(--hero-font-size);
  line-height: 0.99;
}
.intro-copy p {
  font-size: clamp(20px, 2.067vw, 38px);
  margin: 26px 0 0 10px;
  line-height: 1.25;
}
.intro-cutout {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: none;
  height: auto;
  pointer-events: none;
}
/* 05 — TOWER */
.tower {
  padding: 104px var(--gutter) 106px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center;
  gap: 22px;
  max-width: 1920px;
  margin: auto;
}
.tower-copy {
  max-width: 570px;
  align-self: start;
  padding-top: 72px;
}
.tower-copy h2 {
  margin-bottom: 34px;
}
.tower-copy p + p {
  margin-top: 18px;
}
.tower-image {
  width: 100%;
  max-width: 692px;
  justify-self: start;
}
/* 06 — GALLERY + MAP | mobile intentionally follows the flat background in its PDF. */
.gallery-map {
  color: var(--blue);
  background: var(--cream) var(--gallery-background) center top/100% 100% no-repeat;
  padding: 180px 0 158px;
}
.gallery-heading {
  text-align: center;
  padding: 0 var(--gutter);
}
.gallery-heading h2 {
  max-width: 1100px;
  margin: 0 auto 22px;
}
.gallery-sub-heading {
    font-weight: bold;
    font-size: clamp(16px, 2.39vw, 22px);
    margin: 0 auto 22px;
  }
.features {
  max-width: 1060px;
  margin: 0 auto 60px;
  padding: 0;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.4fr;
  gap: 4px 65px;
  list-style: none;
  text-align: left;
}
.features li {
  position: relative;
  padding-left: 14px;
  font-size: clamp(16px, 1.39vw, 22px);
  line-height: 1.4;
}
.features li::before {
  content: "•";
  position: absolute;
  left: 0;
}
/* Put each pair of bullets in one desktop column; mobile resets the list. */
.features li:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}
.features li:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}
.features li:nth-child(3) {
  grid-column: 2;
  grid-row: 1;
}
.features li:nth-child(4) {
  grid-column: 2;
  grid-row: 2;
}
.features li:nth-child(5) {
  grid-column: 3;
  grid-row: 1;
}
.features li:nth-child(6) {
  grid-column: 3;
  grid-row: 2;
}
.gallery {
  position: relative;
}
.gallery-track {
  display: flex;
  gap: 30px;
  padding: 0 var(--gutter);
  margin: 0;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--gutter);
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar {
  display: none;
}
/* Three desktop images, with two 30px gaps. If changing the gap,
   update both .gallery-track gap and this width calculation together. */
.gallery-slide {
  flex: 0 0 calc((100% - 60px) / 3);
  min-width: 0;
  scroll-snap-align: start;
}
.gallery-photo {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}
.gallery-photo img {
  width: 100%;
  aspect-ratio: 421/263;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.gallery-photo:hover img {
  transform: scale(1.035);
}
.gallery-photo:focus-visible {
  outline-offset: -5px;
}
.gallery-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px var(--gutter) 0;
}
.gallery-controls button {
  border: 1px solid var(--blue);
  color: var(--blue);
  background: transparent;
  width: 40px;
  height: 36px;
  line-height: 1;
  font-size: 22px;
}
.gallery-controls button:hover {
  background: var(--blue);
  color: var(--cream);
}
.gallery-controls button:disabled {
  opacity: 0.3;
  cursor: default;
}
.location {
  padding: 0 var(--gutter);
  text-align: center;
}
.section-rule {
  width: 246px;
  max-width: 32%;
  height: 2px;
  background: var(--blue);
  border: 0;
  margin: 48px auto 102px;
}
.location h2 {
  margin-bottom: 38px;
}
.location p {
  max-width: 675px;
  margin: 0 auto 48px;
  font-size: clamp(16px, 1.39vw, 22px);
  line-height: 1.25;
}
.map-image {
  width: 100%;
  max-width: 1228px;
  margin: auto;
}
/* 07 — REGISTRATION | shared field styling also applies to a HubSpot legacy embed. */
.register {
  padding: 102px var(--gutter) 112px;
  min-height: 760px;
}
.register h2 {
  text-align: center;
  margin-bottom: 62px;
}
.highline-form {
  max-width: 1094px;
  margin: 0 auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 52px;
}
.field {
  display: block;
  min-width: 0;
}
.field input,
.field select {
  display: block;
  width: 100%;
  height: 64px;
  padding: 18px 22px;
  border: 1px solid transparent;
  border-radius: 0;
  background: #fff;
  color: #262626;
  appearance: none;
  -webkit-appearance: none;
  font-size: 16px;
  line-height: 1.25;
}
.field input::placeholder {
  color: #666;
  opacity: 1;
}
.field select {
  color: #666;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23666' d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
  background-position: right 18px center;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field input:focus,
.field select:focus {
  outline: 2px solid var(--ice);
  outline-offset: -4px;
}
.form-note {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 20px;
  text-align: left;
}
.submit-button {
  display: block;
  min-width: 252px;
  min-height: 72px;
  margin: 72px auto 0;
  background: #fff;
  border: 1px solid #fff;
  color: #222;
  letter-spacing: 0.15em;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 20px 38px;
}
.submit-button:hover {
  background: var(--ice);
}
.form-feedback {
  margin: 18px auto 0;
  max-width: 600px;
  text-align: center;
  font-size: 16px;
}
/* 08 — PHOTO AND FAQ POPUPS */
.modal[hidden] {
  display: none;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 29, 43, 0.88);
  padding: 60px 64px;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  right: 20px;
  top: 14px;
  width: 44px;
  height: 44px;
  color: white;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 32px;
  line-height: 1;
}
.lightbox-figure {
  margin: 0;
  max-width: 1400px;
  width: 100%;
  text-align: center;
}
.lightbox-figure img {
  max-width: 100%;
  width: auto;
  max-height: calc(100vh - 170px);
  max-height: calc(100svh - 170px);
  object-fit: contain;
  margin: auto;
}
.lightbox-figure figcaption {
  font-size: 14px;
  color: white;
  margin-top: 14px;
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 52px;
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 28px;
}
.lightbox-prev {
  left: 10px;
}
.lightbox-next {
  right: 10px;
}
.faq-panel {
  width: 100%;
  max-width: 650px;
  padding: 40px;
  background: var(--cream);
  color: var(--blue);
  max-height: 85vh;
  overflow: auto;
}
.faq-panel h2 {
  font-size: 36px;
  margin-bottom: 28px;
}
.faq-panel details {
  padding: 20px 0;
  border-top: 1px solid var(--blue);
}
.faq-panel summary {
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}
.faq-panel p {
  margin-top: 16px;
  font-size: 16px;
}
.faq-panel > a {
  display: inline-block;
  margin-top: 16px;
}
/* 09 — LARGE DESKTOP AND TABLET OVERRIDES */
@media (min-width: 1700px) {
  .gallery-map {
    padding-top: 180px;
  }
  .tower {
    gap: 70px;
  }
}
@media (min-width: 701px) and (max-width: 1050px) {
  .tower {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .tower-copy {
    padding-top: 20px;
  }
  .tower-copy h2 {
    font-size: clamp(36px, 4.7vw, 48px);
  }
  .features {
    gap: 4px 20px;
  }
  .gallery-map {
    padding-top: 100px;
  }
  .gallery-heading h2 {
    font-size: 55px;
  }
}
/* 10 — MOBILE: 700px and below. Change phone spacing/type here. */
@media (max-width: 700px) {
  :root {
    --gutter: 24px;
  }
  h2 {
    font-size: 36px;
    line-height: 0.99;
    letter-spacing: -0.02em;
  }
  p {
    font-size: 16px;
    line-height: 1.2;
  }
  .intro {
    height: 100vh;
    height: 100svh;
    min-height: 600px;
  }
  .site-header {
    inset: 24px 18px auto 26px;
    gap: 18px;
  }
  .brand {
    width: 130px;
  }
  .site-header nav {
    gap: 6px;
    margin-top: -10px;
  }
  .nav-pill {
    min-width: 64px;
    min-height: 60px;
    font-size: 12px;
    position: relative;
    border: 0;
    background: none;
  }
  .nav-pill-md {
    font-size: 18px;
    padding: 25px;
  }
  .nav-pill::before {
    content: "";
    position: absolute;
    inset: 14px 0;
    border: 1px solid var(--ice);
    border-radius: 24px;
    z-index: -1;
  }
  .nav-pill-solid::before {
    background: var(--cream);
    border-color: var(--cream);
  }
  .nav-pill:hover {
    background: none;
  }
  .intro-copy {
    top: 25%;
    left: 28px;
    right: 18px;
  }
  h1 {
    font-size: clamp(43px, 19.85vw, 135px);
    line-height: 0.98;    
  }
  .intro-copy p {
    font-size: 20px;
    margin: 18px 0 0 6px;
    white-space: normal;
  }
  .intro-cutout {
    width: 100%;
    height: auto;
  }
  .tower {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 48px;
    padding: 60px 24px 62px;
  }
  .tower-copy {
    padding: 0;
    max-width: none;
  }
  .tower-copy h2 {
    margin-bottom: 18px;
  }
  .tower-copy p + p {
    margin-top: 16px;
  }
  .tower-image {
    width: calc(100% + 14px);
    max-width: 520px;
    align-self: center;
    margin-left: -14px;
  }
  .gallery-map {
    background: var(--mobile-gallery);
    padding: 84px 0 126px;
  }
  .gallery-heading {
    text-align: left;
  }
  .gallery-heading h2 {
    max-width: 325px;
    margin: 0 0 22px;
    font-size: 36px;
    line-height: 0.98;
  }
  .gallery-heading h2 br {
    display: none;
  }
  .gallery-heading h2 em {
    font-style: normal;
  }
  .features {
    display: block;
    margin: 0 0 52px;
    padding-left: 6px;
  }
  .features li {
    font-size: 14px;
    line-height: 1.55;
  }
  .gallery-track {
    gap: 20px;
    padding-right: 24px;
  }
  .gallery-slide {
    flex-basis: 86%;
  }
  .gallery-photo img {
    aspect-ratio: 290/181;
  }
  .gallery-controls {
    padding-top: 14px;
  }
  .gallery-controls button {
    width: 36px;
    height: 32px;
  }
  .section-rule {
    width: 125px;
    max-width: none;
    margin: 10px 0 48px;
  }
  .location {
    text-align: left;
  }
  .location h2 {
    max-width: 280px;
    margin-bottom: 18px;
  }
  .location h2 em {
    font-style: normal;
  }
  .location p {
    margin: 0 0 34px;
    font-size: 14px;
    line-height: 1.2;
  }
  .map-image {
    max-width: none;
    width: calc(100% + 4px);
    margin-left: -2px;
  }
  .register {
    padding: 66px 32px 90px;
    min-height: 0;
  }
  .register h2 {
    font-size: 36px;
    line-height: 1.1;
    margin-bottom: 26px;
    white-space: normal;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .field input,
  .field select {
    height: 40px;
    padding: 10px 12px;
    font-size: 16px;
  }
  .field-phone {
    grid-row: 3;
  }
  .field-email {
    grid-row: 4;
  }
  .form-note {
    font-size: 12px;
    margin-top: 18px;
  }
  .submit-button {
    min-width: 160px;
    min-height: 48px;
    margin: 38px 0 0;
    padding: 12px 24px;
    font-size: 12px;
  }
  .form-feedback {
    text-align: left;
    font-size: 14px;
  }
  .modal {
    padding: 66px 44px;
  }
  .modal-close {
    right: 12px;
    top: 12px;
  }
  .lightbox-prev,
  .lightbox-next {
    width: 34px;
    height: 44px;
  }
  .lightbox-prev {
    left: 5px;
  }
  .lightbox-next {
    right: 5px;
  }
  .faq-panel {
    padding: 24px;
  }
  .faq-panel h2 {
    font-size: 28px;
  }
}
/* 11 — SMALL PHONES: 359px and below. */
@media (max-width: 359px) {
  .site-header {
    left: 20px;
    right: 12px;
    gap: 8px;
  }
  .brand {
    width: 110px;
  }
  .intro-copy {
    left: 24px;
  }
  h1 {
    font-size: 43px;
  }
  .intro-copy p {
    font-size: 17px;
  }
  .register {
    padding-left: 24px;
    padding-right: 24px;
  }
  .register h2 {
    font-size: 31px;
  }
}
/* 12 — RESPECT THE VISITOR'S REDUCED-MOTION SETTING */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .gallery-photo img {
    transition: none;
  }
}


/* 13 — FOOTER */
.site-footer {
  background: #000;
  color: #fff;
  padding: 96px var(--gutter) 64px;
}
.footer-inner {
  max-width: 1720px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}
.footer-col h3 {
  margin: 0 0 22px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}
.footer-col p {
  font-size: 14px;
  line-height: 1.45;
  color: #fff;
}
.footer-col a {
  text-decoration: none;
}
.footer-col a:hover,
.footer-col a:focus-visible {
  text-decoration: underline;
}
.footer-map {
  justify-self: end;
  width: 100%;
  max-width: 420px;
}
.footer-map img {
  width: 100%;
  height: auto;
}
.footer-disclaimer {
  margin-top: 76px;
  font-size: 10px;
  color: #fff;
}
@media (max-width: 700px) {
  .site-footer {
    padding: 56px var(--gutter) 44px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-map {
    justify-self: start;
    max-width: 300px;
  }
  .footer-disclaimer {
    margin-top: 44px;
    font-size: 12px;
  }
}
