/* =============================================================
   CSS CUSTOM PROPERTIES — DESIGN TOKENS
   Source: Kincoppal-Rose Bay / Vivid Landing Page v2
   ============================================================= */
:root {
  /* --- Colors --- */
  --color-navy:             #003261;
  --color-dark-navy:        #041633;
  --color-heart-red:        #ff3621;
  --color-sand-stone:       #f7efde;
  --color-white:            #ffffff;
  --color-bay-blue:         #00bfd9;
  --color-charcoal:         #2d2d2d;
  --color-sandstone-tint:   #f7f4ed;
  --color-sandstone-shade:  #e6dbc3;
  --color-white-70:         rgba(255, 255, 255, 0.7);
  --color-overlay:          rgba(40, 49, 77, 0.5);
  --color-divider-light:    rgba(255, 255, 255, 0.2);

  /* --- Typography ---
     NOTE: Arpona and Averta are commercial fonts (TypeTogether / Averta foundry).
     Add @font-face declarations pointing to your licensed font files.
     Georgia and Inter are used as fallbacks below. */
  --font-primary: 'Arpona', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-alt:     'Averta', 'Inter', system-ui, sans-serif;

  /* --- Font sizes (rem = px ÷ 16) --- */
  --font-size-xs:   0.8125rem;  /* 13px */
  --font-size-sm:   0.875rem;   /* 14px */
  --font-size-body: 0.9375rem;  /* 15px */
  --font-size-base: 1rem;       /* 16px */
  --font-size-md:   1.25rem;    /* 20px */
  --font-size-xl:   2rem;       /* 32px */
  --font-size-2xl:  2.5rem;     /* 40px */
  --font-size-3xl:  3rem;       /* 48px */

  /* --- Spacing (8px base system) --- */
  --space-1:  0.3125rem;  /* 5px  */
  --space-2:  0.625rem;   /* 10px */
  --space-3:  0.9375rem;  /* 15px */
  --space-4:  1.25rem;    /* 20px */
  --space-5:  1.5625rem;  /* 25px */
  --space-6:  2rem;       /* 32px */
  --space-7:  2.5rem;     /* 40px */
  --space-8:  3.75rem;    /* 60px */
  --space-9:  5.625rem;   /* 90px */
  --space-10: 6.25rem;    /* 100px */
  --space-11: 8rem;       /* 128px */

  /* --- Border radius --- */
  --radius-xs:  0.3125rem;  /* 5px */
  --radius-sm:  0.625rem;   /* 10px */
  --radius-btn: 0.2597rem;  /* 4.154px */

  /* --- Transitions --- */
  --transition-base: 0.2s ease;
}

/* =============================================================
   BASE RESET & GLOBAL
   ============================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  color: var(--color-charcoal);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

/* =============================================================
   BUTTONS
   ============================================================= */
.btn-solid,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-btn);
  border: 0.065rem solid transparent;
  font-family: var(--font-primary);
  font-size: 0.9086rem;       /* 14.538px */
  font-weight: 600;
  letter-spacing: 0.0909rem;  /* 1.4538px */
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
  transition: opacity var(--transition-base);
}

.btn-solid:hover,
.btn-outline:hover {
  opacity: 0.85;
  text-decoration: none;
}

.btn-solid--sandstone {
  background-color: var(--color-sand-stone);
  border-color: var(--color-sand-stone);
  color: var(--color-navy);
}

.btn-solid--red {
  background-color: var(--color-heart-red);
  border-color: var(--color-heart-red);
  color: var(--color-white);
  height: 3.8125rem; /* 61px */
}

.btn-solid--bay-blue {
  background-color: var(--color-bay-blue);
  border-color: var(--color-bay-blue);
  color: var(--color-white);
}

.btn-outline--white {
  background-color: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}

/* =============================================================
   HERO (PRIMARY) — Section 1
   ============================================================= */
.hero-primary {
  position: relative;
  min-height: 59.375rem; /* 950px */
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Shared hero background container */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg__img--overlay {
  mix-blend-mode: screen;
  opacity: 0.55;
}

/* Red accent bars — left-top / right-bottom pattern */
.hero-bar {
  position: absolute;
  height: 0.625rem; /* 10px */
  width: 50%;
  background-color: var(--color-heart-red);
  z-index: 3;
}

.hero-bar--top-left {
  top: 0;
  left: 0;
}

.hero-bar--bottom-right {
  bottom: 0;
  right: 0;
}

/* Logo — top left */
.hero-logo {
  position: absolute;
  top: 4.5625rem;   /* 73px */
  left: 4.8125rem;  /* 77px */
  display: flex;
  align-items: center;
  gap: 1.2944rem;   /* 20.712px */
  z-index: 2;
}

.hero-logo__crest {
  width: 3.1958rem;  /* 51.133px */
  height: auto;
}

.hero-logo__initials {
  width: 8.0097rem; /* 128.155px */
  height: auto;
}

/* Hero text content — left column */
.hero-content {
  position: absolute;
  top: 15.1875rem;  /* 243px */
  left: 4.9375rem;  /* 79px */
  width: min(45.0625rem, calc(100% - var(--space-9))); /* 721px max */
  display: flex;
  flex-direction: column;
  gap: 2.3125rem;   /* 37px */
  z-index: 2;
}

.hero-content__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.hero-content__heading {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: var(--font-size-3xl);
  line-height: 1.2;
  color: var(--color-sand-stone);
  letter-spacing: -0.09rem;
}

.hero-content__sub {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  color: var(--color-white);
  font-family: var(--font-body);
}

.hero-content__sub-headline {
  font-size: var(--font-size-xl);
  font-weight: 400;
  letter-spacing: -0.06rem;
  line-height: 1;
}

.hero-content__sub-body {
  font-size: var(--font-size-base);
  line-height: 1.4;
  letter-spacing: -0.03rem;
  max-width: 27.125rem; /* 434px */
}

.hero-content__dates {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--font-size-sm);
  letter-spacing: 0.0875rem; /* 1.4px */
  text-transform: uppercase;
  color: var(--color-white);
}

.hero-content__buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* =============================================================
   INTRO BLOCK — Section 2 (A Bespoke Harbour Installation)
   ============================================================= */
.intro-block {
  display: flex;
  flex-direction: column;
}

.intro-block__image {
  position: relative;
  overflow: hidden;
  min-height: 20rem;
  flex: 1;
}

.intro-block__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-block__content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-9);
  flex: 1;
}

.intro-block__content--sandstone {
  background-color: var(--color-sandstone-tint);
}

.intro-block__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  max-width: 29.5625rem; /* 473px */
  width: 100%;
}

.intro-block__heading {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: var(--font-size-3xl);
  line-height: 1.1;
  color: var(--color-navy);
  letter-spacing: -0.09rem;
}

/* Feature list — divider-separated items */
.feature-list {
  display: flex;
  flex-direction: column;
}

.feature-list__item {
  padding: var(--space-4) 0;
  font-family: var(--font-body);
  font-size: var(--font-size-md);
  font-weight: 400;
  color: var(--color-navy);
  letter-spacing: -0.0375rem;
  border-top: 0.0625rem solid var(--color-sandstone-shade);
  line-height: 1;
}

.feature-list__item:last-child {
  border-bottom: 0.0625rem solid var(--color-sandstone-shade);
}

/* =============================================================
   BANNER — Section 3
   ============================================================= */
.banner {
  background-color: var(--color-navy);
  padding: var(--space-11) 0;
}

.banner__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
  padding: 0 var(--space-4);
}

.banner__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.banner__headline {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: var(--font-size-xl);
  color: var(--color-white);
  letter-spacing: -0.06rem;
  line-height: 1;
}

.banner__sub {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: 400;
  color: var(--color-white-70);
  letter-spacing: -0.03rem;
  line-height: 1.4;
}

.banner__divider {
  width: 12.5rem;  /* 200px */
  height: 0.0625rem;
  background-color: var(--color-white-70);
}

/* =============================================================
   LOCATIONS BLOCK — Section 4 (Where to Experience the Light)
   ============================================================= */
.locations-block {
  display: flex;
  flex-direction: column;
}

.locations-block__image {
  position: relative;
  overflow: hidden;
  min-height: 25rem;
  flex: 0 0 60%;
}

.locations-block__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.locations-block__content {
  flex: 0 0 40%;
  background-color: var(--color-dark-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-9);
}

.locations-block__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  width: 100%;
}

.locations-block__heading {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: var(--font-size-2xl);
  line-height: 1.1;
  color: var(--color-white);
  letter-spacing: -0.075rem;
}

/* Location list */
.location-list {
  display: flex;
  flex-direction: column;
}

.location-list__item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-2) 0;
  font-family: var(--font-body);
  font-size: var(--font-size-md);
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: -0.0375rem;
  line-height: 1;
  border-top: 0.0625rem solid var(--color-divider-light);
}

.location-list__item:last-child {
  border-bottom: 0.0625rem solid var(--color-divider-light);
}

.location-list__icon {
  color: var(--color-bay-blue);
  font-size: 1.5rem;   /* 24px */
  width: 1.875rem;     /* 30px */
  text-align: center;
  flex-shrink: 0;
}

.locations-block__cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.locations-block__note {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: -0.03rem;
  line-height: 1.4;
}

/* =============================================================
   EDITORIAL — Section 5 (Why This Moment Matters)
   ============================================================= */
.editorial {
  background-color: var(--color-white);
  padding: var(--space-10) var(--space-1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-7);
}

.editorial__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  max-width: 38.625rem; /* 618px */
  width: 100%;
}

.editorial__heading {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: var(--font-size-3xl);
  color: var(--color-navy);
  text-align: center;
  letter-spacing: -0.09rem;
  line-height: 1;
}

.editorial__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-charcoal);
  letter-spacing: -0.03rem;
}

/* Pull quote */
.pullquote {
  max-width: 53rem; /* 848px */
  width: 100%;
  padding-top: var(--space-7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2906rem;
  margin: 0;
  border: none;
}

.pullquote__text {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: var(--font-size-xl);
  color: var(--color-navy);
  text-align: center;
  letter-spacing: -0.06rem;
  line-height: 1.2;
}

.pullquote__footer {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.pullquote__rule {
  display: block;
  width: 12.1875rem; /* 195px */
  height: 0.0625rem;
  background-color: var(--color-sandstone-shade);
}

.pullquote__crest {
  width: 1.875rem;
  height: auto;
}

/* =============================================================
   REGISTER BLOCK — Section 6 (Open Day)
   ============================================================= */
.register-block {
  position: relative;
  min-height: 62.5625rem; /* 1001px */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-10) var(--space-4);
}

/* Blurred background image */
.register-block__bg {
  position: absolute;
  inset: -5.5rem;
  pointer-events: none;
}

.register-block__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(1.25rem); /* 20px */
}

.register-card {
  position: relative;
  z-index: 2;
  background-color: var(--color-white);
  border-radius: var(--radius-sm);
  padding: var(--space-10);
  max-width: 56.875rem; /* 910px */
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
}

/* Card header */
.register-card__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.register-card__heading {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: var(--font-size-3xl);
  color: var(--color-navy);
  text-align: center;
  letter-spacing: -0.09rem;
  line-height: 1;
}

.register-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.register-meta__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: 500;
  color: var(--color-navy);
  line-height: 1.4;
}

.register-meta__icon {
  font-size: 1.5rem;   /* 24px */
  width: 1.875rem;     /* 30px */
  text-align: center;
  flex-shrink: 0;
  color: var(--color-navy);
}

.register-card__description {
  font-family: var(--font-alt);
  font-size: var(--font-size-body);
  color: var(--color-navy);
  line-height: 1.4;
}

/* Stepper */
.stepper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  overflow: hidden;
}

.stepper__step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.stepper__check {
  color: var(--color-heart-red);
  font-size: 1.5rem;
  width: 1.875rem;
  text-align: center;
  flex-shrink: 0;
}

.stepper__dot {
  display: block;
  width: 1.25rem;   /* 20px */
  height: 1.25rem;
  border-radius: 50%;
  border: 0.125rem solid rgba(0, 50, 97, 0.4);
  flex-shrink: 0;
}

.stepper__number {
  font-family: var(--font-body);
  font-size: 2.1875rem; /* 35px */
  line-height: 1.1;
  color: var(--color-navy);
  letter-spacing: -0.04375rem;
  flex-shrink: 0;
}

.stepper__number--inactive {
  opacity: 0.4;
}

.stepper__label {
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-navy);
  line-height: 1.4;
  white-space: nowrap;
}

.stepper__label--inactive {
  opacity: 0.4;
}

.stepper__label-main {
  font-size: var(--font-size-body);
}

.stepper__label-sub {
  font-size: var(--font-size-xs);
}

.stepper__connector {
  flex: 1 0 0;
  height: 0.1875rem; /* 3px */
  background-color: var(--color-navy);
  opacity: 0.12;
  border-radius: 2.5rem;
  min-width: 0.0625rem;
}

.stepper__connector--active {
  background-color: var(--color-heart-red);
  opacity: 1;
}

/* Registration form */
.register-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
}

.register-form__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.register-form__label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--font-size-xs);
  color: var(--color-navy);
  letter-spacing: 0.040625rem; /* 0.65px */
  text-transform: uppercase;
  line-height: 1.15;
}

.register-form__input {
  background-color: var(--color-sandstone-tint);
  border: none;
  border-radius: var(--radius-xs);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  color: var(--color-charcoal);
  line-height: 1.15;
  width: 100%;
  outline: none;
  transition: box-shadow var(--transition-base);
}

.register-form__input:focus {
  box-shadow: 0 0 0 0.125rem var(--color-bay-blue);
}

.register-form__input::placeholder {
  color: rgba(45, 45, 45, 0.45);
}

/* =============================================================
   FAQ BLOCK — Section 7
   ============================================================= */
.faq-block {
  background-color: var(--color-white);
  padding: var(--space-10) var(--space-1);
  display: flex;
  justify-content: center;
}

.faq-block__inner {
  max-width: 38.625rem; /* 618px */
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
}

.faq-block__heading {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: var(--font-size-3xl);
  color: var(--color-navy);
  text-align: center;
  letter-spacing: -0.09rem;
  line-height: 1;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  display: flex;
  flex-direction: column;
}

.faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: 400;
  color: var(--color-navy);
  letter-spacing: -0.03rem;
  line-height: 1;
  width: 100%;
}

.faq-item__icon {
  color: var(--color-bay-blue);
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.28s ease;
}

/* Icon rotates when trigger carries .is-open (added by jQuery) */
.faq-item__trigger.is-open .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__body {
  /* display:none set by jQuery on load; slideDown/slideUp handle visibility */
  padding-bottom: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  color: var(--color-charcoal);
  line-height: 1.4;
}

.faq-item__divider {
  height: 0.0625rem;
  background-color: var(--color-sandstone-shade);
}

/* =============================================================
   FOOTER HERO — Section 8
   ============================================================= */
.footer-hero {
  position: relative;
  min-height: 50.625rem; /* 810px */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-hero__overlay {
  position: absolute;
  inset: 0;
  background-color: var(--color-overlay);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.footer-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.3125rem;
  max-width: 45.0625rem;
  width: 100%;
  text-align: center;
  padding: var(--space-10) var(--space-4);
}

.footer-hero__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--font-size-xl);
  font-weight: 400;
  letter-spacing: -0.06rem;
  line-height: 1;
}

.footer-hero__sub {
  font-size: var(--font-size-base);
  letter-spacing: -0.03rem;
  line-height: 1.4;
  max-width: 27.125rem;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2906rem;
}

.footer-logo__crest {
  width: 4.9842rem; /* 79.747px */
  height: auto;
}

.footer-logo__wordmark {
  width: 18.75rem; /* 300px */
  height: auto;
}

/* =============================================================
   RESPONSIVE — Tablet (lg breakpoint 992px)
   ============================================================= */
@media (min-width: 992px) {
  .intro-block {
    flex-direction: row;
    min-height: 41.25rem; /* 660px */
  }

  .intro-block__image,
  .intro-block__content {
    flex: 0 0 50%;
  }

  .locations-block {
    flex-direction: row;
    min-height: 45.4375rem; /* 727px */
  }
}

/* =============================================================
   RESPONSIVE — Mobile overrides (below lg)
   ============================================================= */
@media (max-width: 991.98px) {
  /* Hero */
  .hero-primary {
    min-height: 37.5rem;
    padding-bottom: var(--space-10);
  }

  .hero-logo {
    position: static;
    padding: var(--space-9) var(--space-4) 0;
  }

  .hero-content {
    position: static;
    width: 100%;
    padding: var(--space-7) var(--space-4);
  }

  .hero-content__heading {
    font-size: var(--font-size-xl);
  }

  .hero-content__sub-headline {
    font-size: var(--font-size-md);
  }

  /* Intro blocks */
  .intro-block__content,
  .locations-block__content {
    padding: var(--space-7) var(--space-4);
  }

  .intro-block__heading,
  .locations-block__heading {
    font-size: var(--font-size-xl);
  }

  /* Banner */
  .banner {
    padding: var(--space-7) var(--space-4);
  }

  .banner__headline {
    font-size: var(--font-size-md);
  }

  /* Editorial */
  .editorial {
    padding: var(--space-7) var(--space-4);
  }

  .editorial__heading,
  .faq-block__heading,
  .register-card__heading {
    font-size: var(--font-size-xl);
  }

  /* Register */
  .register-block {
    padding: var(--space-7) var(--space-4);
    min-height: auto;
  }

  .register-card {
    padding: var(--space-7) var(--space-4);
  }

  .stepper {
    flex-wrap: wrap;
    gap: var(--space-4);
  }

  .stepper__connector {
    display: none;
  }

  /* FAQ */
  .faq-block {
    padding: var(--space-7) var(--space-4);
  }

  /* Footer hero */
  .footer-hero {
    min-height: auto;
  }

  .footer-hero__text {
    font-size: var(--font-size-md);
  }
}

/* =============================================================
   RESPONSIVE — Mobile (below sm 576px)
   ============================================================= */
@media (max-width: 575.98px) {
  .hero-content__heading {
    font-size: 1.75rem;
  }

  .hero-content__buttons {
    flex-direction: column;
  }

  .btn-solid,
  .btn-outline {
    width: 100%;
  }

  .register-card__meta {
    flex-direction: column;
    gap: var(--space-2);
  }

  .pullquote__text {
    font-size: var(--font-size-md);
  }

  .pullquote__rule {
    width: 5rem;
  }

  .register-card__heading {
    font-size: var(--font-size-xl);
  }
}
