@font-face {
  font-family: "Athelas";
  src: url("../fonts/Athelas_Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AthelasItalic";
  src: url("../fonts/Athelas_Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --sails: #fefbf7;
  --sea: #4f302e;
  --metal-dark: #584942;
  --deck: #d2c5a3;
  --metal: #d7d3c9;
  --metal-light: #ffffff;
  --metal-mid: #77736d;
  --dark-sea: #454442;
  --archive-charcoal: #454442;
  --archive-taupe: #584942;
  --type-display: clamp(2rem, 3vw, 3rem);
  --type-heading: clamp(1.1rem, 1.5vw, 1.35rem);
  --type-body: 1rem;
  color-scheme: light;
}

html,
body {
  background-color: #ffffff;
  color: var(--archive-charcoal);
  font-family: "Athelas", Georgia, serif !important;
  font-size: var(--type-body);
  font-style: normal;
  font-weight: 400;
  letter-spacing: normal;
}

html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

html body * {
  font-family: "Athelas", Georgia, serif !important;
  letter-spacing: normal !important;
}

html body h1,
html body h2,
html body .jumbo {
  font-size: var(--type-display) !important;
  font-style: normal;
  font-weight: 400;
  line-height: 1.08;
}

html body h3,
html body h4,
html body .h3,
html body .vertical-text,
html body .form-header h2,
html body .form-thank-you h2 {
  font-size: var(--type-heading) !important;
  font-style: normal;
  font-weight: 400;
  line-height: 1.18;
}

html body p,
html body a,
html body button,
html body label,
html body input,
html body textarea,
html body select,
html body .all-caps,
html body .paragraph-s,
html body .paragraph-no-scale {
  font-size: var(--type-body) !important;
  line-height: 1.4;
}

html body em,
html body i {
  font-family: "AthelasItalic", Georgia, serif !important;
  font-style: italic;
  font-weight: 400;
}

html body .athelas-italic {
  font-family: "AthelasItalic", Georgia, serif !important;
  font-style: italic !important;
  font-weight: 400;
}

/* Content uses sentence case; navigation and actionable controls remain uppercase. */
html body h1,
html body h2,
html body h3,
html body h4,
html body .jumbo,
html body .all-caps,
html body .vertical-text {
  text-transform: none !important;
}

html body .nav-link,
html body .button,
html body button,
html body .error-btn {
  text-transform: uppercase !important;
}

.section.hero .bg-image img {
  object-position: center bottom !important;
}

.section.hero .bg-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 991px) {
  .section.hero .bg-image img {
    object-position: 60% bottom !important;
  }
}

html body .error-code {
  font-family: "Times New Roman", Times, serif !important;
  font-size: var(--type-display) !important;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1, "onum" 0;
  font-weight: 400;
  line-height: 1;
}

html body .error-title {
  font-size: var(--type-heading) !important;
  font-weight: 400;
  line-height: 1.18;
}

html body .error-text,
html body .error-btn {
  font-size: var(--type-body) !important;
  line-height: 1.4;
}

html body .location-stats-block h4 {
  font-size: var(--type-body) !important;
  line-height: 1.4;
}

html body .unit-type-value {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1, "onum" 0;
}

html body .unit-type-value .unit-number {
  display: inline-block;
  font-family: "Times New Roman", Times, serif !important;
  font-size: 0.96em;
  font-weight: 400;
  line-height: inherit;
  transform: none;
}

html body .site-number,
html body .payment-number,
html body .payment-schedule-item::before {
  font-family: "Times New Roman", Times, serif !important;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1, "onum" 0;
  font-style: normal;
  font-weight: 400;
}

html body .payment-number {
  display: inline !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

html body .site-number {
  display: inline !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

html body #mobile,
html body .iti__tel-input {
  font-family: "Times New Roman", Times, serif !important;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1, "onum" 0;
}

#location .location-stats-block img {
  object-fit: contain;
  margin-bottom: 0.5rem;
}

#location .location-stats-block:nth-child(1) img {
  width: 54px !important;
  height: 54px !important;
}

#location .location-stats-block:nth-child(2) img {
  width: 58px !important;
  height: 54px !important;
}

#location .location-stats-block:nth-child(3) img {
  width: 81px !important;
  height: 54px !important;
}

#location .location-stats-block:nth-child(4) img {
  width: 40px !important;
  height: 54px !important;
}

#location .location-stats-block:nth-child(5) img {
  width: 61px !important;
  height: 54px !important;
}

#location .location-stats-block:nth-child(6) img {
  width: 59px !important;
  height: 54px !important;
}

#location .location-stats-block:nth-child(7) img {
  width: 27px !important;
  height: 54px !important;
}

#location .location-stats-block:nth-child(8) img {
  width: 58px !important;
  height: 54px !important;
}

/* Keep every icon in an equal-height area so all time headings share one baseline. */
#location .location-stats-list .location-stats-block img {
  height: 54px !important;
  object-position: center bottom;
}

h1,
h2,
h3,
h4,
.h3,
.hero-bottom-text .jumbo {
  font-family: "Athelas", Georgia, serif;
  letter-spacing: normal;
}

h1,
h2,
h3,
h4,
.h3 {
  color: var(--sea);
}

.absolute-nav .archive-brand,
.fixed-nav .archive-brand,
.footer .archive-brand {
  width: 140px;
}

.absolute-nav .archive-brand {
  width: 180px;
}

.fixed-nav .archive-brand {
  width: 180px;
}

.payment-options-summary {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.payment-options-summary span {
  display: block;
}

.form-column .success-message-content {
  width: 100%;
  min-height: 14rem;
  padding: 2rem 1rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

html body .success-message-content .popup-success-title {
  max-width: 24rem;
  margin: 0 auto;
  color: var(--sea);
  font-size: 1.2rem !important;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
}

.archive-brand img {
  display: block;
  width: 100% !important;
  height: auto;
}

.archive-brand--light img {
  filter: invert(1);
}

.fixed-nav .fixed-nav-brand img {
  width: 140px !important;
}

.fixed-nav {
  background: #ffffff !important;
  background-image: none !important;
}

.fixed-nav .button {
  background-color: var(--sea) !important;
  color: #ffffff !important;
  border: 1px solid var(--sea);
}

.fixed-nav .button:hover {
  background-color: #3d2422 !important;
  color: #ffffff !important;
  border-color: #3d2422;
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(32, 24, 22, 0.26), rgba(32, 24, 22, 0.08) 42%, rgba(32, 24, 22, 0.38));
}

.hero-bottom-text .jumbo {
  max-width: 78rem;
  margin-inline: auto;
  color: #fff;
  font-size: clamp(2.2rem, 4.6vw, 4.75rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: normal;
}

.hero-bottom-text .text-gradient {
  padding: 5rem 1rem 2.5rem;
}

.section.info,
.nav-menu,
.section.intro {
  background-color: #ffffff;
  background-image: none;
}

.page-wrapper > .section:not(.hero) {
  background: #ffffff !important;
  background-image: none !important;
}

.info-block,
.location-stats-block,
.payment-info-block {
  border-color: rgba(79, 48, 46, 0.3);
}

.info-block .h3 {
  color: var(--sea);
  font-size: clamp(1.15rem, 1.6vw, 1.65rem);
  letter-spacing: normal;
}

.nav-link::before {
  background-color: var(--sea);
}

.intro-block {
  max-width: 66rem;
}

.intro-block h1,
#archive-story h2,
#amenities h2 {
  text-wrap: balance;
}

.intro-block p,
.archive-section-copy {
  color: var(--archive-charcoal);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.45;
}

#amenities > .container .archive-section-copy {
  max-width: 56rem;
  margin-top: 1.25rem;
}

.archive-section-copy {
  width: min(100%, 54rem);
  margin-top: 1.25rem;
}

#archive-story {
  background-color: #ffffff;
  padding-top: 5rem !important;
}

.usp-block-content {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.38) 0%,
    rgba(0, 0, 0, 0.16) 52%,
    rgba(0, 0, 0, 0) 100%
  );
}

.usp-block-content h2,
.usp-block-content h3,
.usp-block-content p {
  color: #fff;
}

.usp-feature-content {
  align-items: center;
  text-align: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.usp-feature-content p {
  max-width: 42rem;
}

.section.amenities {
  background-color: #ffffff;
  background-image: none;
}

.amenities-content h4 {
  color: var(--sea);
}

html body .vertical-text {
  color: var(--archive-taupe);
  font-size: 2rem !important;
  line-height: 1;
  white-space: nowrap;
}

.section.payment {
  background-color: #ffffff;
}

.archive-payment-layout {
  align-items: stretch;
  max-width: none;
}

.archive-payment-details {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
}

.archive-payment-details .payment-plan-tabs,
.archive-payment-details .payment-plan-panel,
.archive-payment-details .payment-plan-download {
  width: 100%;
}

.payment-plan-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--sea);
  border-radius: 0.5rem;
  overflow: hidden;
}

html body .payment-plan-tab {
  appearance: none;
  min-height: 3.5rem;
  padding: 0.75rem 1rem;
  border: 0;
  background: #ffffff;
  color: var(--sea);
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.payment-plan-tab + .payment-plan-tab {
  border-left: 1px solid var(--sea);
}

html body .payment-plan-tab.is-active,
html body .payment-plan-tab:hover {
  background: var(--sea);
  color: #ffffff;
}

.payment-plan-tab:focus-visible {
  outline: 2px solid var(--sea);
  outline-offset: 3px;
}

.payment-plan-panel[hidden] {
  display: none;
}

.payment-plan-intro {
  margin-bottom: 1rem;
  text-align: center;
}

.payment-plan-intro h3,
.payment-plan-intro p {
  margin-bottom: 0.35rem;
}

.payment-schedule {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1rem, 3vw, 2rem);
  counter-reset: payment-steps;
}

.payment-schedule-item {
  position: relative;
  display: flex;
  min-height: 10rem;
  padding: 2.5rem 0.75rem 1.5rem;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-top: 1px solid rgba(79, 48, 46, 0.28);
  text-align: center;
  counter-increment: payment-steps;
}

.payment-schedule-item::before {
  content: counter(payment-steps);
  position: absolute;
  top: 1rem;
  left: 0.75rem;
  color: rgba(79, 48, 46, 0.22);
  font-size: 0.9rem;
  line-height: 1;
}

html body .payment-schedule-item > span,
html body .payment-schedule-item small {
  font-size: 0.78rem !important;
  line-height: 1.25;
}

html body .payment-schedule-item > span {
  display: none;
}

html body .payment-schedule-item h4 {
  margin: 0;
  color: var(--sea);
  font-size: clamp(2rem, 3vw, 2.75rem) !important;
  line-height: 1;
  flex: 0 0 auto;
}

html body .payment-schedule-item small {
  display: block;
  margin-top: 0.2rem;
  color: var(--archive-charcoal);
}

html body .payment-schedule-item p {
  margin: 0.35rem 0 0;
  flex: 0 0 auto;
}

.payment-schedule-item--completion {
  background: transparent;
}

.payment-plan-download {
  display: flex;
  justify-content: center;
}

.payment-plan-download .button {
  width: auto;
  max-width: 100%;
  white-space: nowrap;
}

@media screen and (min-width: 992px) {
  .archive-payment-layout > .payment-block:last-child {
    align-self: stretch;
  }

  .archive-payment-layout > .payment-block:last-child .payment-image {
    height: 100%;
    flex: 1 1 auto;
  }

  .archive-payment-layout > .payment-block:last-child .payment-image img {
    height: 100%;
  }
}

.section.footer {
  background-color: var(--sea);
  color: var(--sails);
}

.footer h2 {
  color: var(--sails);
}

.button {
  border-radius: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.625rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem !important;
  line-height: 1 !important;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

.btn-submit {
  border-radius: 0.25rem;
  min-height: 2.625rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem !important;
  line-height: 1 !important;
}

.button > div:not(.icon-m),
.button > div:not(.icon-m) > div {
  position: static !important;
  inset: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1 !important;
  transform: none !important;
}

.button .icon-m {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
}

.button[btn-color="sails"] {
  color: var(--sea);
}

.section.intro .button[btn-color="sails"],
.section.payment .button[btn-color="sails"] {
  background-color: #ffffff !important;
}

.section.intro .button[btn-color="sails"]:hover,
.section.payment .button[btn-color="sails"]:hover {
  background-color: var(--sea) !important;
  color: #ffffff !important;
}

.footer .archive-brand {
  width: 180px;
}

.button:hover,
.button[btn-color="sea"]:hover {
  background-color: var(--sea);
}

@media screen and (max-width: 991px) {
  .archive-payment-layout {
    gap: 2rem;
  }

  .payment-image img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .fixed-nav .fixed-nav-brand img {
    width: 120px !important;
  }

  .absolute-nav .archive-brand,
  .fixed-nav .archive-brand,
  .footer .archive-brand {
    width: 120px;
  }

  .absolute-nav .archive-brand {
    width: 156px;
  }

  .fixed-nav .archive-brand {
    width: 156px;
  }

  .footer .archive-brand {
    width: 160px;
  }

  .hero-bottom-text .text-gradient {
    padding: 4rem 1rem 1.5rem;
  }

  .vertical-text {
    font-size: 2rem;
  }
}

@media screen and (max-width: 767px) {
  .swiper-slide.gallery-slide {
    aspect-ratio: 16 / 9 !important;
  }

  .swiper-slide.gallery-slide img {
    width: 100%;
    height: 100% !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover;
  }

  .form-popup {
    justify-content: flex-start;
    padding: max(1rem, env(safe-area-inset-top, 0px)) 1rem max(1rem, env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .form-popup > .thank-you {
    z-index: 2;
    width: min(100%, 30rem);
    max-height: calc(100dvh - 2rem);
    position: relative;
  }

  .form-popup .form-block {
    width: 100%;
    max-height: calc(100dvh - 2rem);
    overflow-x: hidden;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .form-popup .form-block-column.form-column {
    gap: 1rem;
    max-height: none;
    padding: 1.25rem;
    overflow: visible;
  }

  html body .form-popup .form-header h2 {
    font-size: 1.25rem !important;
    line-height: 1.2;
  }

  .form-popup .enquiry-form {
    width: 100%;
  }

  .form-popup .enquiry-form .form-grid {
    gap: 0.65rem;
  }

  html body .form-popup .form-field label {
    margin-bottom: 0.2rem;
    font-size: 0.85rem !important;
    line-height: 1.2;
  }

  html body .form-popup .form-field input,
  html body .form-popup .form-field textarea {
    min-height: 2.75rem;
    padding: 0.6rem 0.75rem;
    font-size: 16px !important;
    line-height: 1.25;
  }

  html body .form-popup .form-field textarea {
    min-height: 5rem;
  }

  .form-popup .iti {
    width: 100%;
  }

  html body .iti--fullscreen-popup .iti__dropdown-content {
    width: 100%;
    height: min(32rem, calc(100dvh - 4rem));
    max-height: calc(100dvh - 4rem);
    min-height: 0;
    overflow: hidden;
  }

  html body .iti__country-list {
    flex: 1 1 auto;
    min-height: 0;
    max-height: min(24rem, calc(100dvh - 9rem)) !important;
    overflow-x: hidden;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  html body .iti__search-input {
    flex: 0 0 auto;
    font-size: 16px !important;
  }

  html body .form-popup .btn-submit {
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.7rem 1rem;
    font-size: 0.9rem !important;
  }

  .absolute-nav,
  .fixed-nav {
    padding-top: calc(1.5rem + env(safe-area-inset-top, 0px));
  }

  .fixed-nav {
    min-height: calc(4.25rem + env(safe-area-inset-top, 0px));
    padding-bottom: 1rem;
  }

  .nav-menu {
    top: calc(4.2rem + env(safe-area-inset-top, 0px));
    padding-top: 0.5rem;
  }

  #archive-story {
    padding-top: 2.5rem !important;
  }

  .usp-feature-content {
    padding: 1.5rem;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-bottom-text .jumbo {
    font-size: clamp(1.9rem, 9vw, 3rem);
    line-height: 1.02;
  }

  .archive-section-copy {
    padding-inline: 0.5rem;
  }

  html body .vertical-text {
    font-size: 1.5rem !important;
    line-height: 1;
    white-space: nowrap;
  }

  .absolute-nav .nav-cta-block {
    width: max-content;
    padding: 0;
    border: 0;
    background: transparent;
    align-items: center;
    left: 50%;
    right: auto;
    bottom: 1rem;
    transform: translateX(-50%);
  }

  .absolute-nav .nav-cta-block .button {
    min-height: 2.625rem;
    padding: 0.45rem 1.25rem;
    background-color: var(--sea) !important;
    color: #ffffff !important;
    border-color: var(--sea) !important;
    white-space: nowrap;
  }

  .absolute-nav .nav-cta-block .button:hover,
  .absolute-nav .nav-cta-block .button:focus-visible,
  .absolute-nav .nav-cta-block .button:active {
    background-color: #3d2422 !important;
    border-color: #3d2422 !important;
    color: #ffffff !important;
  }

}

@media screen and (max-width: 479px) {
  html body .payment-plan-tab {
    min-height: 3.25rem;
    padding-inline: 0.55rem;
    font-size: 0.9rem !important;
  }

  .payment-schedule-item {
    min-height: 8.5rem;
    padding: 2.25rem 0.35rem 1.25rem;
  }

  .payment-schedule-item::before {
    top: 0.85rem;
    left: 0.35rem;
  }

  html body .payment-schedule-item h4 {
    font-size: 2rem !important;
  }

  html body .payment-schedule-item p {
    font-size: 0.9rem !important;
  }

  .fixed-nav .fixed-nav-brand img {
    width: 108px !important;
  }

  .absolute-nav .archive-brand,
  .fixed-nav .archive-brand,
  .footer .archive-brand {
    width: 108px;
  }

  .absolute-nav .archive-brand {
    width: 142px;
  }

  .fixed-nav .archive-brand {
    width: 142px;
  }

  .footer .archive-brand {
    width: 140px;
  }

  .info-block .h3 {
    font-size: 1.15rem;
  }
}
