:root {
  color-scheme: light;
  --paper: #f6f3ed;
  --paper-dark: #ede8de;
  --ink: #282722;
  --muted: #716e65;
  --olive: #69705b;
  --line: #ded9cf;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.page-width {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: white;
  color: var(--ink);
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  width: min(1360px, calc(100% - 96px));
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.wordmark__name {
  font-family: var(--serif);
  font-size: 23px;
  letter-spacing: 0.14em;
}

.wordmark__caption {
  margin-top: 7px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.2vw, 48px);
  color: #56544d;
  font-size: 12px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
}

.language-switch__button {
  min-width: 34px;
  min-height: 28px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background-color 180ms ease, color 180ms ease;
}

.language-switch__button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.site-nav a,
.site-footer a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--olive);
}

.site-nav .nav-contact {
  color: var(--ink);
  font-weight: 600;
}

.nav-contact span {
  margin-left: 5px;
  color: var(--olive);
}

.menu-toggle {
  display: none;
}

.hero {
  display: grid;
  min-height: 570px;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  padding-block: 50px 66px;
}

.hero__copy {
  position: relative;
  z-index: 1;
  padding: 34px 30px 34px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: var(--olive);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1.5;
}

.eyebrow__line {
  width: 27px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
}

.hero h1 {
  margin: 28px 0 20px;
  font-size: clamp(54px, 6.8vw, 88px);
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.hero h1 em {
  color: var(--olive);
  font-weight: 400;
}

.hero__description {
  max-width: 350px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.hero__actions,
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 17px;
  padding: 0 21px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button--dark {
  background: var(--ink);
  color: #fff;
}

.button--dark:hover {
  background: var(--olive);
}

.button--light {
  border-color: var(--line);
  background: transparent;
}

.button--light:hover {
  border-color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #5d5a51;
  font-size: 11px;
  font-weight: 600;
}

.text-link--underlined {
  padding-bottom: 5px;
  border-bottom: 1px solid #b6b1a6;
}

.text-link:hover {
  color: var(--olive);
}

.hero__note {
  margin: 19px 0 0;
  color: #88847b;
  font-size: 10px;
  letter-spacing: 0.025em;
}

.hero__contact {
  margin-top: 21px;
}

.hero__contact-label {
  margin: 0 0 5px;
  color: var(--olive);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hero__contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 17px;
  color: #56544d;
  font-size: 11px;
  font-weight: 600;
}

.hero__contact-links a {
  text-underline-offset: 3px;
}

.hero__contact-links a:hover {
  color: var(--olive);
  text-decoration: underline;
}

.hero__image-wrap {
  position: relative;
  height: 478px;
  margin: 0;
  overflow: hidden;
  background: var(--paper-dark);
}

.hero__image {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.image-note {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 15px 19px;
  background: var(--paper);
  color: #555249;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.image-note__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--olive);
}

.essentials {
  display: flex;
  min-height: 108px;
  align-items: center;
  justify-content: space-between;
  padding-inline: 5.2%;
  border-block: 1px solid var(--line);
}

.essential {
  display: flex;
  align-items: center;
  gap: 13px;
}

.essential__number {
  color: var(--olive);
  font-family: var(--serif);
  font-size: 25px;
}

.essential__label {
  color: #625f57;
  font-size: 10px;
}

.essentials__divider {
  width: 1px;
  height: 30px;
  background: var(--line);
}

.section {
  padding-block: 112px;
}

.story {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(60px, 10vw, 140px);
}

.story__image {
  position: relative;
  height: 460px;
  background: var(--paper-dark);
}

.story__image img {
  height: 100%;
  object-fit: cover;
}

.photo-index {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 12px 16px;
  background: var(--paper);
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.story__copy h2,
.details h2,
.location h2,
.contact h2 {
  margin: 21px 0 20px;
  font-size: clamp(38px, 4vw, 53px);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.story__copy > p:not(.eyebrow),
.details__intro > p:not(.eyebrow),
.location__copy > p:not(.eyebrow) {
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.story__copy .text-link {
  margin-top: 13px;
}

.spaces {
  background: #eeebe3;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 37px;
}

.section-heading h2 {
  margin: 17px 0 0;
  font-size: clamp(42px, 4.7vw, 61px);
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.section-heading__aside {
  max-width: 275px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, 220px);
  gap: 13px;
}

.gallery-card {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #d7d1c5;
  cursor: pointer;
  text-align: left;
}

.gallery-card--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.gallery-card:hover img {
  transform: scale(1.035);
}

.gallery-card::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgb(20 20 17 / 55%));
  content: "";
}

.gallery-card__label {
  position: absolute;
  z-index: 1;
  right: 17px;
  bottom: 15px;
  left: 17px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}

.details {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(55px, 10vw, 140px);
}

.details h2 {
  font-size: clamp(37px, 4vw, 49px);
}

.details__intro > p:not(.eyebrow) {
  max-width: 330px;
}

.details__list {
  border-top: 1px solid var(--line);
}

.detail {
  display: grid;
  grid-template-columns: 43px 1fr;
  gap: 16px;
  padding: 24px 0 22px;
  border-bottom: 1px solid var(--line);
}

.detail__number {
  padding-top: 4px;
  color: var(--olive);
  font-family: var(--serif);
  font-size: 17px;
}

.detail h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}

.detail p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.location {
  background: #e9e6dd;
}

.location__content {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(55px, 10vw, 140px);
}

.location h2 {
  font-size: clamp(40px, 4.4vw, 57px);
}

.location__copy > p:not(.eyebrow) {
  max-width: 390px;
}

.location__copy .text-link {
  margin-top: 9px;
}

.location__image {
  position: relative;
  height: 410px;
  background: #d4d0c4;
}

.location__image img {
  height: 100%;
  object-fit: cover;
}

.location__image-label {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  background: var(--paper);
  color: #555249;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.contact {
  padding-block: 98px 104px;
  text-align: center;
}

.contact .eyebrow {
  justify-content: center;
}

.contact h2 {
  margin: 17px 0 12px;
  font-size: clamp(40px, 5vw, 61px);
}

.contact > p:not(.eyebrow) {
  margin-bottom: 27px;
  color: var(--muted);
  font-size: 13px;
}

.contact__actions {
  justify-content: center;
  gap: 12px;
}

.site-footer {
  padding-top: 31px;
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.wordmark--footer .wordmark__name {
  font-size: 19px;
}

.site-footer__place,
.site-footer__contact,
.back-to-top {
  color: var(--muted);
  font-size: 10px;
}

.site-footer__place {
  margin: 0;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.copyright {
  margin: 0;
  padding: 15px 20px;
  border-top: 1px solid var(--line);
  color: #88847b;
  font-size: 9px;
  text-align: center;
}

.lightbox {
  width: min(1000px, calc(100% - 32px));
  max-width: none;
  max-height: 90vh;
  padding: 20px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
}

.lightbox::backdrop {
  background: rgb(25 24 21 / 82%);
}

.lightbox__image {
  max-height: calc(90vh - 90px);
  object-fit: contain;
}

.lightbox__caption {
  margin: 12px 40px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 17px;
}

.lightbox__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 38px;
  height: 38px;
  border: 0;
  background: var(--paper);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 4px;
}

@media (min-width: 1400px) {
  .hero {
    min-height: 630px;
  }

  .hero__image-wrap {
    height: 520px;
  }
}

@media (max-width: 900px) {
  .page-width,
  .site-header {
    width: calc(100% - 56px);
  }

  .site-header {
    min-height: 82px;
  }

  .site-nav {
    gap: 18px;
    font-size: 11px;
  }

  .header-tools {
    gap: 13px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 0.9fr 1.1fr;
    padding-block: 46px 55px;
  }

  .hero__image-wrap {
    height: 410px;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .hero__note {
    max-width: 270px;
  }

  .section {
    padding-block: 85px;
  }

  .story,
  .location__content {
    gap: 55px;
  }

  .story__image {
    height: 390px;
  }

  .gallery {
    grid-template-rows: repeat(2, 180px);
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 5rem;
  }

  .page-width,
  .site-header {
    width: calc(100% - 40px);
  }

  .site-header {
    min-height: 76px;
  }

  .wordmark__name {
    font-size: 21px;
  }

  .header-tools {
    gap: 10px;
  }

  .menu-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    width: 16px;
    height: 1px;
    background: var(--ink);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: -20px;
    left: -20px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 17px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    font-size: 13px;
  }

  .language-switch {
    align-self: flex-start;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 11px 0;
  }

  .site-nav .nav-contact {
    border-top: 1px solid var(--line);
    margin-top: 4px;
    padding-top: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-block: 28px 42px;
  }

  .hero__copy {
    padding: 27px 0 31px;
  }

  .hero h1 {
    margin: 22px 0 16px;
    font-size: clamp(58px, 14vw, 78px);
  }

  .hero__description {
    max-width: 330px;
    margin-bottom: 23px;
    font-size: 14px;
  }

  .hero__actions {
    align-items: center;
    flex-direction: row;
    gap: 17px;
  }

  .hero__contact {
    margin-top: 20px;
  }

  .hero__contact-links {
    gap: 4px 14px;
    font-size: 10px;
  }

  .hero__note {
    margin-top: 23px;
  }

  .hero__image-wrap {
    height: min(67vw, 360px);
    min-height: 245px;
  }

  .essentials {
    display: grid;
    min-height: auto;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 8px 0;
  }

  .essential {
    min-height: 68px;
    gap: 11px;
    padding: 8px 7px;
  }

  .essential__number {
    font-size: 23px;
  }

  .essential__label {
    font-size: 9px;
  }

  .essentials__divider {
    display: none;
  }

  .essential:nth-of-type(even) {
    border-left: 1px solid var(--line);
    padding-left: 17px;
  }

  .section {
    padding-block: 70px;
  }

  .story,
  .details,
  .location__content {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .story__image {
    height: min(76vw, 370px);
    min-height: 255px;
  }

  .story__copy h2,
  .details h2,
  .location h2 {
    margin: 18px 0 16px;
    font-size: 42px;
  }

  .story__copy > p:not(.eyebrow),
  .details__intro > p:not(.eyebrow),
  .location__copy > p:not(.eyebrow) {
    font-size: 12px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
  }

  .section-heading h2 {
    margin-top: 13px;
    font-size: 45px;
  }

  .section-heading__aside {
    max-width: 320px;
    font-size: 11px;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 250px 155px 155px;
    gap: 9px;
  }

  .gallery-card--large {
    grid-column: span 2;
    grid-row: auto;
  }

  .gallery-card__label {
    right: 10px;
    bottom: 10px;
    left: 10px;
    font-size: 9px;
  }

  .details {
    gap: 25px;
  }

  .details__intro > p:not(.eyebrow) {
    margin-bottom: 4px;
  }

  .detail {
    grid-template-columns: 31px 1fr;
    gap: 9px;
    padding-block: 19px;
  }

  .location__content {
    gap: 27px;
  }

  .location__image {
    height: min(75vw, 340px);
    min-height: 245px;
  }

  .contact {
    padding-block: 76px 79px;
  }

  .contact h2 {
    font-size: 42px;
    line-height: 1.12;
  }

  .contact > p:not(.eyebrow) {
    max-width: 340px;
    margin-inline: auto;
    font-size: 12px;
  }

  .site-footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 12px;
    padding-block: 22px;
  }

  .site-footer__place,
  .back-to-top {
    justify-self: end;
  }

  .site-footer__contact {
    justify-self: start;
    font-size: 9px;
  }

  .back-to-top {
    align-self: end;
  }
}

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