:root {
  --paper: #f2f4f1;
  --paper-deep: #e6ece7;
  --ink: #17232a;
  --muted: #526068;
  --blue: #071be5;
  --green: #0b7f4d;
  --red: #df332f;
  --violet: #4d2c63;
  --line: rgba(23, 35, 42, 0.2);
  --shadow: 0 1rem 3rem rgba(23, 35, 42, 0.08);
  --display: "DM Serif Display", Georgia, serif;
  --sans: "IBM Plex Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
}

p {
  font-family: "Handlee", cursive;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 0.85rem;
  background: var(--ink);
  color: white;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(100% - 3rem, 1440px);
  min-height: 5rem;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.05rem;
  text-decoration: none;
}

.brand__name {
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--blue);
}

.brand__context {
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.brand__context strong {
  color: var(--ink);
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.88rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:not(.site-nav__contact):hover {
  color: var(--blue);
}

.site-nav__contact {
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background-color 160ms ease, color 160ms ease;
}

.site-nav__contact:hover {
  background: var(--ink);
  color: var(--paper);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  min-width: 6.4rem;
  padding: 0.55rem 0.7rem 0.55rem 0.95rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
  background: var(--ink);
  color: var(--paper);
}

.nav-toggle__label {
  font-size: 0.8rem;
  font-weight: 600;
}

.nav-toggle__icon {
  display: grid;
  gap: 0.28rem;
  width: 1.15rem;
}

.nav-toggle__icon i {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 160ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon i:first-child {
  transform: translateY(0.18rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon i:last-child {
  transform: translateY(-0.18rem) rotate(-45deg);
}

.hero {
  width: min(100% - 3rem, 1600px);
  margin: 0 auto;
}

.hero__artwork {
  overflow: hidden;
  background: var(--paper-deep);
  box-shadow: var(--shadow);
}

.hero__artwork img {
  display: block;
  width: 100%;
  height: auto;
}

.hero__introduction {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 8vw, 9rem);
  padding: clamp(3.5rem, 8vw, 8rem) 0 clamp(5rem, 10vw, 10rem);
}

.location,
.section-kicker {
  margin: 0 0 1.15rem;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2 {
  max-width: 24ch;
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-wrap: balance;
}

h1 {
  color: var(--blue);
  font-size: clamp(2.2rem, 3.8vw, 4rem);
}

.hero__copy {
  align-self: end;
  justify-self: end;
  width: min(100%, 60rem);
  max-width: 60rem;
  padding-bottom: 0.5rem;
}

.hero__copy p {
  max-width: 60rem;
  margin: 0;
  color: var(--muted);
  font-family: "Handlee", cursive;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.45;
}

.hero__copy p + p {
  margin-top: 1rem;
}

.hero__copy .text-link {
  margin-top: 1.75rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 0.25rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.text-link:hover {
  background: var(--ink);
  color: var(--paper);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 8vw, 9rem);
  width: 100%;
  margin: 0;
  padding: clamp(5rem, 10vw, 9rem) max(1.5rem, calc((100% - 1600px) / 2));
  background: var(--paper-deep);
}

.about-section h2 {
  max-width: 24ch;
  color: var(--ink);
  font-size: clamp(2rem, 3.2vw, 3.4rem);
}

.about-section__copy {
  grid-column: 2;
  align-self: start;
  width: 100%;
  max-width: 60rem;
}

.about-section__copy p {
  margin: 0;
  color: var(--muted);
  font-family: "Handlee", cursive;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}

.about-section__copy > .text-link {
  margin-top: 1.75rem;
}

.about-accent {
  font-weight: 400;
}

.about-accent--blue {
  color: var(--blue);
}

.about-accent--green {
  color: var(--green);
}

.about-accent--violet {
  color: var(--violet);
  font-weight: 700;
}

.background-audio {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.audio-control {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 30;
  min-width: 8.75rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--ink);
  border-radius: 0.25rem;
  background: var(--paper);
  color: var(--ink);
  font: 600 0.78rem / 1.2 var(--sans);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.audio-control:hover,
.audio-control[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.properties-section {
  width: min(100% - 3rem, 1600px);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 10rem) 0;
}

.properties-section__intro {
  max-width: 72rem;
}

.properties-section__intro h2 {
  max-width: 36ch;
  color: var(--blue);
  font-size: clamp(2rem, 3.2vw, 3.4rem);
}

.properties-section__intro > div > p {
  max-width: 58rem;
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.properties-section__intro > div > .properties-section__note {
  max-width: 42rem;
  margin-top: 1.25rem;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.45;
}

.properties-section__note strong {
  color: var(--red);
  font-weight: 700;
}

.property-list {
  margin-top: clamp(4rem, 8vw, 7rem);
}

.property {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: clamp(2rem, 7vw, 7rem);
  padding: clamp(3rem, 7vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.property--reverse {
  grid-template-columns: minmax(18rem, 0.85fr) minmax(0, 1.15fr);
}

.property--reverse .property__visual {
  order: 2;
}

.property--reverse .property__body {
  order: 1;
}

.property__slide {
  display: none;
  margin: 0;
}

.property__slide.is-active {
  display: block;
}

.property__slide img,
.property__slide video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.property__slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.slider-button {
  border: 0;
  padding: 0.35rem 0;
  background: transparent;
  color: var(--ink);
  font: 600 0.78rem / 1.2 var(--sans);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
  cursor: pointer;
}

.slider-button:hover {
  color: var(--blue);
}

.slider-status {
  color: var(--muted);
  font-size: 0.75rem;
}

.property__credit {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.7rem;
}

.property__credit a {
  text-underline-offset: 0.2rem;
}

.property__body {
  align-self: center;
  max-width: 34rem;
}

.property--reverse .property__body {
  justify-self: end;
}

.property__location {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.property h3 {
  max-width: 16ch;
  margin: 0;
  color: var(--blue);
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-wrap: balance;
}

.property__location {
  margin-top: 1rem;
}

.property__description {
  max-width: 29rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
}

.property__description + .property__description {
  margin-top: 0.9rem;
}

.property__facts {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: space-between;
  gap: 0 1rem;
  max-width: 29rem;
  margin: 2rem 0 0;
  padding: 0.35rem 0;
  border-top: 1px solid var(--line);
}

.property__fact {
  display: grid;
  gap: 0.3rem;
  align-content: start;
  padding: 0.7rem 0;
}

.property__fact dt {
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

.property__fact dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
}

.property__facts + .property__contact {
  margin-top: 1.75rem;
}

.property__contact {
  display: inline-flex;
  padding: 0.7rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 0.25rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.property__contact:hover {
  background: var(--ink);
  color: var(--paper);
}

.site-footer {
  margin-top: 0;
  padding: clamp(4rem, 8vw, 7rem) 0 1.5rem;
  background: var(--ink);
  color: var(--paper);
}

.site-footer__shell {
  width: min(100% - 3rem, 1600px);
  margin: 0 auto;
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: clamp(3rem, 10vw, 10rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.site-footer__brand {
  max-width: 46rem;
}

.site-footer__context,
.site-footer__label {
  margin: 0 0 1.25rem;
  color: #9eb0b4;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-footer__intro {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  color: #bdc9c9;
  font-family: "Caveat", "Handlee", cursive;
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  line-height: 1.25;
}

.site-footer__intro strong {
  color: var(--paper);
  font-weight: 700;
}

.site-footer__contact {
  justify-self: end;
  width: min(100%, 24rem);
  padding-top: 0.25rem;
}

.site-footer__label {
  margin-bottom: 1.5rem;
}

.site-footer .footer-link {
  text-underline-offset: 0.25rem;
}

.footer-link--primary {
  display: inline-flex;
  padding: 0.7rem 1rem;
  border: 1px solid var(--paper);
  border-radius: 0.25rem;
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.footer-link--primary:hover {
  background: var(--paper);
  color: var(--ink);
}

.footer-link--secondary {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--paper);
  font-size: 0.9rem;
}

.site-footer__address {
  margin: 1.5rem 0 0;
  color: #9eb0b4;
  font-size: 0.85rem;
  line-height: 1.7;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(242, 244, 241, 0.25);
  color: #9eb0b4;
  font-size: 0.8rem;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.site-footer__nav a {
  color: var(--paper);
  text-decoration: none;
}

.site-footer__nav a:hover {
  color: #9eb0b4;
}

@media (max-width: 760px) {
  .header-shell,
  .hero,
  .properties-section,
  .site-footer__shell {
    width: min(100% - 2rem, 40rem);
  }

  .header-shell {
    min-height: 4.5rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 4.5rem 0 auto;
    display: grid;
    gap: 0.35rem;
    padding: 1.25rem 1rem 1.5rem;
    background: var(--paper);
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0 1.25rem 2.5rem rgba(23, 35, 42, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.7rem 0.8rem;
    border-radius: 0.35rem;
    transition: background-color 160ms ease, color 160ms ease;
  }

  .site-nav a:hover {
    background: var(--paper-deep);
    color: var(--blue);
  }

  .site-nav__contact {
    margin-top: 0;
    border: 0;
    border-radius: 0.35rem;
    padding: 0.7rem 0.8rem;
  }

  .site-nav__contact:hover {
    background: var(--paper-deep);
    color: var(--blue);
  }

  .hero__artwork {
    box-shadow: none;
  }

  .hero__introduction,
  .about-section,
  .properties-section__intro {
    grid-template-columns: 1fr;
  }

  .hero__introduction {
    gap: 2.25rem;
    padding-top: 3.5rem;
    padding-bottom: 5rem;
  }

  .hero__copy {
    justify-self: stretch;
    max-width: 60rem;
  }

  .about-section {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .about-section__copy {
    grid-column: 1;
  }

  h1 {
    max-width: 24ch;
    font-size: clamp(2.2rem, 9.5vw, 3.1rem);
  }

  .properties-section__intro {
    gap: 2rem;
  }

  .property {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .property--reverse {
    grid-template-columns: 1fr;
  }

  .property--reverse .property__visual,
  .property--reverse .property__body {
    order: initial;
  }

  .property--reverse .property__body {
    justify-self: stretch;
  }

  .property__body {
    max-width: 34rem;
  }

  .property__facts {
    grid-template-columns: 1fr;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .site-footer__contact {
    justify-self: start;
  }

  .site-footer__bottom {
    align-items: flex-start;
    display: grid;
    gap: 1rem;
  }

  .site-footer__nav {
    justify-content: flex-start;
    gap: 0.75rem 1.25rem;
  }

  .property h3 {
    max-width: 24ch;
    font-size: clamp(2rem, 8vw, 3.1rem);
  }

  .site-footer {
    display: grid;
    gap: 0.4rem;
  }

  .audio-control {
    bottom: 0.75rem;
    left: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
