@import url("https://use.typekit.net/cmf1gel.css");

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  font-size: 62.5%;
  min-height: 100vh;
  line-height: 1.5;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

body {
  font-family: "franklin-gothic-urw", sans-serif;
  font-size: var(--fs);
  background-color: hsl(var(--light-yellow));
}

body.active {
  position: fixed;
  overflow: hidden;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

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

p,
label,
h1,
h2,
h3,
h4,
h5,
h6,
figure {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

a,
a:hover {
  text-decoration: none;
}

a,
span {
  display: inline-block;
}

button {
  padding: 0;
  border: 0;
  margin: 0;
  background: none;
}

:root {
  --font-family: "franklin-gothic-urw", sans-serif;
  --fs: 1.8rem;
  --fs-md: 1.6rem;
  --h1: 8rem;
  --h5: 2.8rem;
  --xxl: 10rem;
  --xl: 8rem;
  --lg: 6rem;
  --md: 4rem;
  --sm: 3rem;
  --xs: 2rem;
  --gutter: 5rem;

  --primary-h: 140;
  --primary-s: 13%;
  --primary-l: 45%;
  --primary: var(--primary-h), var(--primary-s), var(--primary-l);

  --secondary-h: 113;
  --secondary-s: 13%;
  --secondary-l: 76%;
  --secondary: var(--secondary-h), var(--secondary-s), var(--secondary-l);

  --tertiary-h: 217;
  --tertiary-s: 31%;
  --tertiary-l: 58%;
  --tertiary: var(--tertiary-h), var(--tertiary-s), var(--tertiary-l);

  --light-yellow-h: 39;
  --light-yellow-s: 100%;
  --light-yellow-l: 97%;
  --light-yellow: var(--light-yellow-h), var(--light-yellow-s), var(--light-yellow-l);

  --dark-grey-h: 60;
  --dark-grey-s: 4%;
  --dark-grey-l: 11%;
  --dark-grey: var(--dark-grey-h), var(--dark-grey-s), var(--dark-grey-l);
}

@media (width < 1600px) {
  :root {
    --fs: 1.6rem;
    --h1: 7rem;
    --h5: 2.4rem;
  }
}

@media (width < 1400px) {
  :root {
    --h1: 6rem;
    --h5: 2.2rem;
  }
}

@media (width < 1200px) {
  :root {
    --h1: 6rem;
    --h5: 2rem;
  }
}

@media (width < 992px) {
  :root {
    --h1: 5rem;
    --h5: 1.8rem;
    --xxl: 9rem;
    --xl: 8rem;
    --lg: 5rem;
    --md: 3.5rem;
    --sm: 2.5rem;
    --gutter: 3rem;
  }
}

@media (width < 768px) {
  :root {
    --h1: 4.5rem;
    --xxl: 8rem;
    --xl: 7rem;
    --lg: 4.5rem;
  }
}

@media (width < 576px) {
  :root {
    --xxl: 7rem;
    --xl: 6rem;
    --lg: 4rem;
  }
}

@media (width < 481px) {
  :root {
    --gutter: 1.5rem;
  }
}

h1 {
  font-size: var(--h1);
  line-height: 1.4;
}

h5 {
  font-size: var(--h5);
  line-height: 1.4;
}

p {
  line-height: 1.4;
}

.eyebrow {
  font-size: var(--fs);
  letter-spacing: 0.18rem;
}

.container {
  width: 100%;
  max-width: 100%;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.grid {
  display: grid;
  gap: var(--gutter);
}

.grid.two-column {
  grid-template-columns: repeat(2, 1fr);
}

.align-items-end {
  align-items: flex-end;
}

@media (width < 992px) {
  .grid.two-column {
    grid-template-columns: 1fr;
  }

  .grid {
    gap: calc(var(--gutter) * 2);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: 3.6rem;
  white-space: nowrap;
  padding: 0.5rem 2rem;
  text-align: center;
  font-size: 1.8rem;
  border-width: 0.1rem;
  border-style: dashed;
  border-radius: 3rem;
  transition: 150ms;
}

.btn.btn-dark-grey {
  border-color: hsl(var(--dark-grey));
  color: hsl(var(--dark-grey));
}

.btn.btn-dark-grey:hover {
  border-style: solid;
  background-color: hsl(var(--dark-grey));
  color: white;
}

.btn.btn-white {
  border-color: white;
  color: white;
}

.btn.btn-white:hover {
  border-style: solid;
  background-color: white;
  color: hsl(var(--dark-grey));
}

.nav-icon {
  display: none;
  align-items: center;
  width: 22px;
  height: 13px;
  position: relative;
  cursor: pointer;
  z-index: 9999;
}

.nav-icon::before,
.nav-icon::after {
  transition: all 0.1s linear;
}

.nav-icon::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0.1rem;
  background-color: white;
  content: "";
}

.nav-icon::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.1rem;
  background-color: white;
  content: "";
}

.nav-icon span {
  display: block;
  height: 0.1rem;
  background-color: white;
  transition: all 0.1s linear;
  flex-grow: 1;
}

body.active .nav-icon {
  width: 24px;
  height: 24px;
}

body.active .nav-icon span {
  opacity: 0;
  visibility: hidden;
  background-color: white;
}

body.active .nav-icon::before {
  transform: translateY(-50%) rotate(45deg);
  transform-origin: center center;
  top: 50%;
  background-color: white;
}

body.active .nav-icon::after {
  width: 100%;
  transform: translateY(50%) rotate(-45deg);
  transform-origin: center center;
  bottom: 50%;
  background-color: white;
}

@media (width < 768px) {
  .nav-icon {
    display: flex;
  }
}

header {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  padding: 1.5rem var(--gutter);
  z-index: 99;
}

header .container {
  position: relative;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .logo-wrap {
  display: flex;
}

header .logo {
  width: 18rem;
}

header .logo img {
  max-width: 100%;
  filter: brightness(0) invert(1);
}

header nav {
  flex: 1 0 0%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--md);
}

header nav a {
  color: white;
}

@media (width > 991px) {
  .header .logo {
    position: absolute;
    left: 0;
    top: 0;
  }

  .header .logo,
  header .logo img {
    transform-origin: top left;
  }
}

@media (width < 992px) {
  .header .logo-wrap {
    width: 35%;
  }
}

@media (width < 768px) {
  header nav {
    background-color: hsl(var(--dark-grey));
    overflow: hidden;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 5% 0;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100svh;
    z-index: 99;
    padding: 0 var(--gutter);
  }

  header nav a {
    display: block;
    font-size: 3rem;
    line-height: 1;
    opacity: 0;
    transform: translateY(100%);
    transition-property: transform, opacity;
    transition-duration: 0s, 0.35s;
    transition-delay: 700ms, 0s;
  }

  body.active header nav a {
    opacity: 1;
    transform: translateY(0);
    transition: all 700ms cubic-bezier(0.25, 1.05, 0.5, 1);
    transition-delay: calc(0.7s);
  }

  header .logo {
    position: relative;
    z-index: 999;
    width: 17rem;
  }

  header nav {
    opacity: 0 !important;
    visibility: hidden;
    transform: translateY(-100%);
    transition: transform 1s cubic-bezier(0.25, 1.05, 0.5, 1);
  }

  body.active header nav {
    opacity: 1 !important;
    visibility: visible;
    transform: translateY(0%);
  }

  body.close header nav {
    opacity: 1 !important;
    visibility: visible;
    transform: translateY(-100%);
  }
}

.hero-section {
  height: 100svh;
  overflow: hidden;
  position: relative;
}

.hero-section img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.scrollToBottom-link {
  font-size: var(--fs);
  color: white;
  position: absolute;
  right: var(--gutter);
  bottom: var(--gutter);
  display: flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
  line-height: 1;
  padding: 0.5rem 0;
  border-bottom: 0.2rem dotted white;
}

@keyframes jumpInfinite {
  0% {
    transform: translateY(-5px);
  }
  50% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-5px);
  }
}

.down-arrow {
  animation: jumpInfinite 1.5s infinite;
}

.section {
  padding: var(--xxl) 0;
}

article > :not(:last-child) {
  margin-bottom: 3rem;
}

article p {
  font-size: var(--h5);
}

.intro-section {
  background-color: hsl(var(--light-yellow));
}

.intro-section article {
  max-width: 80%;
}

.intro-section article .btn {
  margin-top: var(--xxl);
}

.intro-section figure {
  aspect-ratio: 1.38 / 1;
  overflow: hidden;
}

.intro-section figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (width < 1500px) {
  .intro-section article {
    max-width: 100%;
  }

  .intro-section article .btn {
    margin-top: 0;
  }
}

@media (width > 991px) {
  .intro-section figure {
    order: 2;
  }
}

.room-section {
  background-color: hsl(var(--primary));
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gutter);
}

.rooms-images {
  padding: var(--xxl) 0;
}

.rooms-images > :not(:last-child) {
  padding-bottom: 1rem;
}

.rooms-image-block > :not(:last-child) {
  margin-bottom: 1rem;
}

.rooms-content-block {
  padding: var(--lg) 0;
  min-height: 100svh;
  max-width: 65rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--xs);
}

.rooms-content-block div > :not(:last-child) {
  margin-bottom: var(--sm);
}

.rooms-content-block p:first-child {
  color: white;
  text-transform: uppercase;
  font-size: var(--fs);
}

.rooms-content-block h5 {
  color: white;
}

.rooms-active-copy {
  max-width: 58rem;
  min-height: 16rem;
  opacity: 1;
  transform: translateY(0);
}

@media (width > 991px) {
  .rooms-active-copy {
    height: 24rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
}

.rooms-active-copy-label {
  color: white;
  text-transform: uppercase;
  font-size: var(--fs);
  margin-bottom: 1.2rem;
  opacity: 0.8;
}

.rooms-static-intro {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--fs-md);
  line-height: 1.55;
  max-width: 52rem;
  padding-top: 2rem;
  border-top: 0.1rem solid rgba(255, 255, 255, 0.22);
}

.rooms-content-block ul li {
  border-top: 0.1rem solid white;
  border-bottom: 0.1rem solid white;
  opacity: 40%;
}

.rooms-content-block ul li:not(:first-child) {
  margin-top: -0.1rem;
}

.rooms-content-block ul li span {
  transition: 500ms;
}

.rooms-content-block ul li.active {
  opacity: 1;
}

.rooms-content-block ul li.active a span {
  transform: translateX(var(--sm));
}

.rooms-content-block ul li a {
  text-transform: uppercase;
  font-size: var(--fs);
  color: white;
  display: flex;
  align-items: center;
  min-height: 6rem;
}

.rooms-image-block figure {
  overflow: hidden;
}

.rooms-image-block img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.inline-article {
  display: none;
}

@media (width < 991px) {
  .rooms-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .rooms-content-block {
    max-width: 100%;
    min-height: auto;
    padding: var(--gutter) 0;
  }

  .rooms-content-block div {
    width: 100%;
  }

  .rooms-content-block ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    gap: 1rem 1.5rem;
    width: 100%;
    overflow: auto;
  }

  .rooms-content-block ul li {
    border: none;
    opacity: 40%;
  }

  .rooms-content-block ul li a {
    min-height: auto;
    padding: 1rem 0;
    white-space: nowrap;
  }

  .rooms-content-block p,
  .rooms-content-block h5,
  .rooms-content-block .btn {
    display: none;
  }

  .rooms-active-copy {
    display: none;
  }

  .rooms-static-intro {
    display: none;
  }

  .rooms-images {
    padding-top: 0;
  }

  .rooms-content-block ul li.active a span {
    transform: none;
  }

  .rooms-content-block.active {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6457377629) 0%, rgba(0, 0, 0, 0) 100%);
  }

  .inline-article {
    display: block;
    color: white;
    padding-bottom: 1rem;
  }
}

@media (width < 576px) {
  .rooms-content-block ul li a {
    font-size: 1.4rem;
    padding: 0.8rem 0;
  }

  .rooms-content-block {
    padding: 2rem 0;
  }
}

@media (width < 481px) {
  .rooms-content-block ul {
    gap: 1rem;
  }

  .rooms-content-block ul li a {
    font-size: 1.2rem;
    padding: 0.4rem 0;
  }
}

.apartment-section {
  background-color: #7a6656;
}

.apartment-section article > :not(:last-child) {
  margin-bottom: var(--lg);
}

.apartment-section article p,
.apartment-section article h5 {
  color: white;
}

.apartment-section article h5 {
  max-width: 120rem;
}

.apartment-section article p {
  font-size: var(--fs);
  text-transform: uppercase;
}

.apartment-content:not(:last-child) {
  margin-bottom: var(--lg);
}

.apartment-section figure {
  aspect-ratio: 2.4 / 1;
  overflow: hidden;
}

.apartment-section figure img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

@media (width < 1200px) {
  .apartment-section article > :not(:last-child) {
    margin-bottom: var(--xs);
  }
}

.single-article-section {
  display: flex;
  align-items: center;
  min-height: 35rem;
  position: relative;
  z-index: 1;
}

.single-article-section article {
  text-align: center;
  max-width: 120rem;
  margin-inline: auto;
}

.image-zoom-section {
  background-color: hsl(var(--light-yellow));
  position: relative;
}

.image-zoom-section figure {
  width: 100%;
  height: 100svh;
  overflow: hidden;
}

.image-zoom-section figure img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transform-origin: center center;
}

.image-zoom-section .zoom-copy {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9;
  text-align: center;
}

.image-zoom-section .zoom-copy p {
  color: white;
  font-size: var(--fs);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.image-zoom-section .btn.btn-dark-grey {
  background-color: hsl(var(--dark-grey));
  color: white;
}

footer {
  min-height: 75svh;
  padding: var(--lg) 0;
  background-color: hsl(var(--dark-grey));
  display: flex;
  align-items: flex-end;
}

footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--xs);
}

footer .footer-logo img {
  width: clamp(24rem, 46rem, 28vw);
  filter: brightness(0) invert(1);
}

footer .container ul li {
  display: flex;
}

footer .container ul li:not(:last-child) {
  margin-bottom: 2rem;
}

footer .container ul li a,
footer .container ul li span {
  line-height: 1;
  font-size: var(--fs);
  color: white;
  transition: 300ms;
  white-space: nowrap;
}

footer .container ul li a:hover {
  color: hsl(var(--secondary));
}

@media (width < 768px) {
  footer {
    min-height: auto;
  }

  footer .container {
    display: block;
  }

  footer .container > :not(:last-child) {
    margin-bottom: var(--md);
  }

  footer .container ul li:not(:last-child) {
    margin-bottom: 1rem;
  }

  .image-zoom-section figure {
    height: 50svh;
  }
}

main {
  background-color: hsl(var(--light-yellow));
}

.image {
  visibility: hidden;
}

.reveal-up {
  opacity: 0;
}
