@font-face {
  font-family: "Cormorant Retreat";
  src: url("assets/fonts/cormorant-regular-1.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Retreat";
  src: url("assets/fonts/cormorant-bold-1.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Hero";
  src: url("assets/fonts/cormorant-bold-2.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Link";
  src: url("assets/fonts/cormorant-regular-2.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Feature";
  src: url("assets/fonts/cormorant-bold-3.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Explore";
  src: url("assets/fonts/cormorant-regular-3.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Label";
  src: url("assets/fonts/cormorant-bold-4.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Contact";
  src: url("assets/fonts/cormorant-bold-5.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Button";
  src: url("assets/fonts/cormorant-regular-5.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --site-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ink: #444e58;
  --accent: #205f87;
  --sky: #779fb9;
  --paper: #ffffff;
  --line: #d8e0e5;
  --page-width: min(100vw, 1366px);
  --panel-height: calc(var(--page-width) * .562225);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--site-font);
  font-size: 19px;
  line-height: 1.38;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

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

.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;
}

.site-header,
.section-frame,
.retreat-map {
  width: 100%;
  max-width: 1366px;
  margin: 0 auto;
}

.site-header {
  height: calc(var(--page-width) * .093704);
  display: flex;
  align-items: center;
  padding: 0 2.12%;
  background: #fff;
  position: relative;
  z-index: 20;
}

.brand {
  width: calc(var(--page-width) * .065398);
  height: calc(var(--page-width) * .050757);
  flex: 0 0 calc(var(--page-width) * .065398);
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.primary-nav {
  margin-left: 6.45%;
  margin-right: 4%;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  white-space: nowrap;
}

.primary-nav a {
  text-decoration: none;
  font-weight: 400;
  font-size: clamp(15px, 1.55vw, 21px);
  font-family: var(--site-font);
  transition: color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 10px;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  height: calc(var(--page-width) * .468521);
  max-width: 1366px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #2f4857;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
}

.hero-media video {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 41, 55, .08), rgba(24, 41, 55, .02) 54%, rgba(24, 41, 55, .1));
}

.hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-family: var(--site-font);
  font-size: clamp(58px, 8.6vw, 118px);
  line-height: .94;
  letter-spacing: -.025em;
  text-align: center;
  opacity: .72;
  text-shadow: 0 2px 18px rgba(14, 28, 38, .14);
  font-weight: 500;
}

.hero-scroll {
  position: absolute;
  right: 5.4%;
  bottom: 25px;
  z-index: 2;
  width: 39px;
  height: 27px;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 36px;
  line-height: 1;
  text-decoration: none;
}

.welcome {
  min-height: var(--panel-height);
  display: flex;
  justify-content: center;
  padding: calc(var(--page-width) * .078087) 13.1% calc(var(--page-width) * .058565);
}

.welcome-copy {
  max-width: 1010px;
}

.welcome h2 {
  margin: 0 0 27px;
  font-size: clamp(26px, 2.55vw, 35px);
  line-height: 1.1;
  font-weight: 500;
  color: var(--ink);
  font-family: var(--site-font);
  text-align: center;
  text-wrap: balance;
}

.welcome p {
  margin: 0 0 21px;
  font-size: clamp(17px, 1.86vw, 25px);
  line-height: 1.38;
}

.feature-pair {
  min-height: var(--panel-height);
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 3.3%;
  padding: calc(var(--page-width) * .056613) 5.65% calc(var(--page-width) * .046852);
}

.feature-image {
  display: block;
  width: 100%;
  height: calc(var(--page-width) * .390434);
  background-size: cover;
  background-position: center;
}

.feature-retreats .feature-image {
  background-image: url("assets/retreats.jpg");
}

.feature-welcome .feature-image {
  background-image: url("assets/welcome-us.jpg");
}

.feature-meta {
  padding-top: calc(var(--page-width) * .012689);
}

.feature-meta h2 {
  margin: 0;
  font-size: clamp(31px, 3.15vw, 43px);
  line-height: 1;
  font-weight: 500;
  font-family: var(--site-font);
}

.text-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--accent);
  font-size: clamp(20px, 2.2vw, 29px);
  line-height: 1.1;
  text-underline-offset: 5px;
  font-family: var(--site-font);
}

.feature-welcome .feature-meta {
  text-align: left;
}

.explore {
  min-height: var(--panel-height);
  position: relative;
  overflow: hidden;
  padding: calc(var(--page-width) * .087848) 0 calc(var(--page-width) * .056613);
}

.explore > h2 {
  margin: 0 0 calc(var(--page-width) * .04978);
  text-align: center;
  font-size: clamp(43px, 5.2vw, 71px);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  font-family: var(--site-font);
}

.explore-track {
  display: flex;
  gap: 1.9%;
  padding: 0 3.2%;
  width: max-content;
  min-width: 100%;
  transition: transform 360ms ease;
}

.explore-card {
  display: block;
  width: 21.35vw;
  max-width: 292px;
  min-width: 218px;
  text-decoration: none;
}

.explore-card img {
  width: 100%;
  height: calc(var(--page-width) * .273304);
  object-fit: cover;
}

.explore-card strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(22px, 2.15vw, 30px);
  line-height: 1;
  font-family: var(--site-font);
  font-weight: 500;
}

.track-next {
  position: absolute;
  right: 4.6%;
  top: calc(var(--page-width) * .247926);
  width: calc(var(--page-width) * .050757);
  height: calc(var(--page-width) * .083943);
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  color: var(--ink);
  font: 400 62px/1 var(--site-font);
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(30, 49, 64, .1);
}

.retreat-map {
  height: var(--panel-height);
  overflow: hidden;
}

.retreat-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact {
  min-height: var(--panel-height);
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: calc(var(--page-width) * .056613) 0;
}

.contact-copy {
  position: relative;
  min-height: calc(var(--page-width) * .449);
  padding: calc(var(--page-width) * .050757) 11.2% 0;
}

.enquire-button {
  display: block;
  width: calc(var(--page-width) * .218643);
  max-width: 299px;
  margin: 0 auto calc(var(--page-width) * .099561);
  padding: 13px 24px 12px;
  border-radius: 999px;
  background: var(--sky);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: clamp(24px, 2.7vw, 37px);
  line-height: 1;
  font-family: var(--site-font);
}

.contact-details h2 {
  margin: 0 0 17px;
  font-size: clamp(48px, 5vw, 68px);
  line-height: 1;
  font-weight: 500;
  font-family: var(--site-font);
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 26px;
  font-weight: 500;
  font-family: var(--site-font);
}

.details-grid p {
  margin: 0 0 20px;
  font-size: clamp(16px, 1.76vw, 24px);
  line-height: 1.4;
}

.details-grid a {
  text-decoration: none;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-links a {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
}

.contact-image {
  height: calc(var(--page-width) * .449);
  overflow: hidden;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 51%;
}

@media (max-width: 900px) {
  .site-header {
    height: 82px;
    padding: 0 22px;
  }

  .brand {
    width: 59px;
    height: 48px;
    flex-basis: 59px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 82px;
    display: none;
    margin: 0;
    padding: 22px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 14px 24px rgba(33, 57, 74, .12);
  }

  .primary-nav.open {
    display: grid;
    gap: 14px;
  }

  .primary-nav a {
    font-size: 19px;
  }

  .hero {
    height: 470px;
  }

  .welcome {
    min-height: auto;
    padding: 68px 8%;
  }

  .desktop-only {
    display: none;
  }

  .feature-pair {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 45px 6%;
  }

  .feature-image {
    height: 390px;
  }

  .explore-card {
    width: 235px;
  }

  .retreat-map {
    height: 430px;
  }

  .contact {
    grid-template-columns: 1fr;
    padding: 46px 0 0;
  }

  .contact-copy {
    padding: 20px 8% 60px;
  }

  .contact-image {
    height: min(700px, 110vw);
  }

}

@media (max-width: 560px) {
  body {
    font-size: 17px;
  }

  .hero {
    height: 420px;
  }

  .hero h1 {
    padding: 0 24px;
    font-size: 54px;
  }

  .welcome h2 {
    font-size: 29px;
  }

  .welcome p {
    font-size: 18px;
  }

  .feature-image {
    height: 75vw;
  }

  .explore {
    min-height: 520px;
    padding-top: 68px;
  }

  .explore > h2 {
    padding: 0 20px;
    margin-bottom: 38px;
    font-size: 43px;
  }

  .explore-card {
    min-width: 220px;
  }

  .explore-card img {
    height: 275px;
  }

  .track-next {
    top: 222px;
  }

  .retreat-map {
    height: 360px;
  }

  .retreat-map img {
    object-fit: cover;
  }

  .enquire-button {
    margin-bottom: 75px;
  }

  .details-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
