@font-face {
  font-family: "The Seasons";
  src: url("assets/fonts/the-seasons-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

@font-face {
  font-family: "The Seasons";
  src: url("assets/fonts/the-seasons-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --linen: #f4ede8;
  --pistachio: #c5bc58;
  --olive: #645e08;
  --rust: #914520;
  --rose: #edb0b0;
  --aubergine: #3a2330;
  --bordeaux: #5a2430;
  --soil: #2e160b;
  --chalk: rgba(244, 237, 232, 0.92);
  --soft-line: rgba(244, 237, 232, 0.72);
  --shadow: rgba(18, 13, 8, 0.42);
  --line-dark: rgba(58, 35, 48, 0.18);
  --open-day-card-delay: 10.2s;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--linen);
  color: var(--soil);
  font-family: Arapey, Georgia, "Times New Roman", serif;
  text-rendering: optimizeLegibility;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: clip;
  isolation: isolate;
  background: var(--soil);
}

.hero__video,
.hero__fallback {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  object-fit: cover;
  transform: scale(1.035);
}

.hero__video {
  z-index: -4;
}

.hero__fallback {
  z-index: -5;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(46, 22, 11, 0.08), rgba(46, 22, 11, 0.16) 46%, rgba(46, 22, 11, 0.44)),
    linear-gradient(90deg, rgba(46, 22, 11, 0.24), rgba(46, 22, 11, 0.03) 42%, rgba(46, 22, 11, 0.2)),
    radial-gradient(circle at 78% 46%, rgba(197, 188, 88, 0.09), transparent 42%);
}

.site-header {
  position: fixed;
  top: clamp(24px, 4vw, 48px);
  left: clamp(22px, 4vw, 56px);
  right: clamp(22px, 4vw, 56px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: block;
  color: var(--chalk);
  font-family: "The Seasons", Georgia, serif;
  font-size: clamp(1.2rem, 1.7vw, 1.85rem);
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 3px 22px rgba(46, 22, 11, 0.42);
  white-space: nowrap;
}

.brand__mark {
  width: clamp(62px, 6.6vw, 92px);
  aspect-ratio: 1;
  flex: 0 0 auto;
  border-radius: 2px;
  filter: drop-shadow(0 12px 24px rgba(46, 22, 11, 0.28));
}

.brand__name {
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  font-family: "The Seasons", Georgia, serif;
  font-size: clamp(0.92rem, 1.05vw, 1.08rem);
}

.site-nav a {
  color: var(--chalk);
  text-decoration: none;
  text-shadow: 0 2px 16px rgba(46, 22, 11, 0.36);
}

:where(a, button):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

[data-section-label] {
  position: relative;
}

[data-section-label]::before {
  content: attr(data-section-label);
  position: absolute;
  top: clamp(18px, 2.2vw, 32px);
  left: clamp(22px, 4vw, 56px);
  z-index: 8;
  color: currentColor;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  opacity: 0.68;
  pointer-events: none;
}

.site-footer[data-section-label]::before {
  top: 12px;
}

.mark-stage {
  position: fixed;
  inset: 0 0 0 50%;
  z-index: 7;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  transition: none;
}

html.mark-between-sections .mark-stage {
  opacity: 0.25;
}

.map-closeup {
  overflow: hidden;
}

.identity-fragment {
  width: min(61.6vw, 686px);
  max-width: none;
  opacity: 1;
  transform: rotate(180deg);
  transform-origin: center;
}

.hero__copy {
  position: absolute;
  inset: auto auto clamp(70px, 10vh, 104px) clamp(22px, 4vw, 56px);
  z-index: 3;
  display: grid;
  justify-items: start;
  max-width: min(45vw, 590px);
  color: var(--chalk);
  text-align: left;
  animation: revealCopy 1600ms ease 900ms both;
}

.hero__lower-content {
  display: contents;
}

.hero-wordmark {
  display: grid;
  justify-items: start;
  margin: 0;
  color: rgba(244, 237, 232, 0.72);
  font-family: "The Seasons", Georgia, serif;
  font-weight: 400;
  text-shadow: 0 10px 34px rgba(46, 22, 11, 0.16);
}

.hero-wordmark span {
  display: block;
  font-weight: 300;
  margin-bottom: 0.16em;
  font-size: clamp(1.53rem, 1.71vw, 2.01rem);
  line-height: 1;
  letter-spacing: 0.08em;
  transform: translateY(-0.1em);
}

.hero-wordmark strong {
  display: block;
  font-weight: 400;
  font-size: clamp(6.93rem, 11.58vw, 12.87rem);
  line-height: 0.72;
  letter-spacing: -0.034em;
  opacity: 0.66;
}

.hero-wordmark__image {
  display: block;
  width: clamp(12.46rem, 17.65vw, 19.21rem);
  height: auto;
  opacity: 0.5;
}

.hero__mobile-mark {
  display: none;
}

.open-day-card {
  position: absolute;
  right: 48px;
  bottom: 56px;
  z-index: 20;
  width: min(280px, calc(100vw - 40px));
  padding: 24px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--aubergine);
  background: rgba(237, 176, 176, 0.5);
  border: 1px solid transparent;
  border-radius: 20px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-family: "The Seasons", Georgia, serif;
  text-decoration: none;
  opacity: 0;
  translate: 0 20px;
  transition:
    background 250ms ease,
    opacity 220ms ease,
    transform 250ms ease;
  animation: openDayCardIn 700ms cubic-bezier(0.22, 1, 0.36, 1) var(--open-day-card-delay) forwards;
}

.open-day-card__label {
  color: var(--aubergine);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.open-day-card__title {
  margin-bottom: 10px;
  color: var(--aubergine);
  font-size: clamp(42px, 4.8vw, 58px);
  line-height: 0.95;
}

.open-day-card__date,
.open-day-card__time {
  color: var(--aubergine);
  font-size: 15px;
  line-height: 1.35;
}

.open-day-card__link {
  margin-top: 14px;
  width: fit-content;
  padding: 12px 16px 11px;
  border: 0;
  border-radius: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--chalk);
  background: var(--soil);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.04rem, 1.18vw, 1.16rem);
  line-height: 1;
}

.open-day-card:hover,
.open-day-card:focus-visible {
  background: rgba(237, 176, 176, 0.5);
  transform: translateY(-2px);
}

.open-day-card.is-hidden {
  opacity: 0 !important;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(2px);
}

.open-day-section {
  position: relative;
  z-index: 21;
  margin-top: -18px;
  padding: 44px clamp(22px, 4vw, 56px) 48px;
  color: var(--aubergine);
  background: var(--pistachio);
}

.open-day-section__tab {
  position: absolute;
  top: 0;
  left: 75vw;
  width: min(460px, calc(50vw - 56px));
  height: 88px;
  min-height: 0;
  padding: 0;
  color: var(--aubergine);
  background: transparent;
  line-height: 1;
  transform: translate(-50%, 0);
  animation: openDayTabRise 720ms cubic-bezier(0.22, 1, 0.36, 1) 3s forwards;
}

.open-day-section__tab-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: var(--pistachio);
  pointer-events: none;
}

.open-day-section__tab-content {
  position: absolute;
  top: 70%;
  left: 50%;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: clamp(8px, 1vw, 14px);
  width: max-content;
  max-width: calc(100% - 72px);
  color: var(--aubergine);
  font-family: "Anton", Impact, sans-serif;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.open-day-section__tab-title,
.open-day-section__tab-date {
  margin: 0;
  font-family: inherit;
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
}

.open-day-section__inner {
  width: 100%;
  margin: 0;
}

.open-day-section h2 {
  margin: 0 0 clamp(58px, 7vw, 98px) auto;
  width: min(100%, 780px);
  color: var(--aubergine);
  font-size: clamp(4.4rem, 9vw, 9.5rem);
  line-height: 0.82;
  text-align: right;
}

.open-day-section__composition {
  display: grid;
  grid-template-columns: minmax(150px, 0.38fr) minmax(480px, 1.62fr);
  gap: clamp(12px, 1.5vw, 24px);
  align-items: center;
}

.open-day-section__display {
  padding-top: 0;
  color: var(--aubergine);
  font-family: "The Seasons", Georgia, serif;
  font-size: clamp(2.8rem, 4.8vw, 5.35rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.open-day-section__display span {
  display: block;
}

.open-day-section .open-day-section__program-button {
  margin-top: clamp(32px, 4vw, 52px);
}

.open-day-section__details {
  border-top: 1px solid rgba(58, 35, 48, 0.28);
}

.open-day-section__details details {
  border-bottom: 1px solid rgba(58, 35, 48, 0.28);
}

.open-day-section__details summary {
  position: relative;
  padding: 4px 56px 4px 0;
  list-style: none;
  color: var(--aubergine);
  font-family: "The Seasons", Georgia, serif;
  font-size: clamp(1.25rem, 1.45vw, 1.55rem);
  line-height: 1.14;
  cursor: pointer;
}

.open-day-section__details summary::-webkit-details-marker {
  display: none;
}

.open-day-section__details summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 300ms ease;
}

.open-day-section__details details[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.open-day-section__answer {
  width: min(100%, 920px);
  margin: 0;
  padding: 0 68px clamp(30px, 3vw, 42px) 0;
  color: rgba(58, 35, 48, 0.76);
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  line-height: 1.58;
}

.open-day-section__answer p {
  margin: 0;
}

.open-day-section__answer p + p {
  margin-top: 0.85rem;
}

.open-day-section__route-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  color: var(--aubergine);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.open-day-section__route-link span {
  transition: transform 220ms ease;
}

.open-day-section__route-link:hover span,
.open-day-section__route-link:focus-visible span {
  transform: translateX(4px);
}

.open-day-section__house-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.open-day-section__house-rules li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
}

.open-day-section__rule-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 2px solid var(--olive);
  border-radius: 50%;
  color: var(--olive);
  background: var(--linen);
}

.open-day-section__rule-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@supports (interpolate-size: allow-keywords) {
  .open-day-section__details {
    interpolate-size: allow-keywords;
  }

  .open-day-section__details details::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 360ms ease, content-visibility 360ms ease;
    transition-behavior: allow-discrete;
  }

  .open-day-section__details details[open]::details-content {
    block-size: auto;
  }
}

@keyframes openDayTabRise {
  to {
    transform: translate(-50%, -100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .open-day-section__tab {
    animation: none;
    transform: translate(-50%, -100%);
  }
}

@media (max-width: 820px) {
  .open-day-section__tab {
    left: 50vw;
    width: min(460px, calc(100vw - 48px));
  }
}

@media (max-width: 980px) {
  .open-day-section {
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .open-day-section__tab {
    height: 88px;
    min-height: 0;
    padding: 0;
  }

  .open-day-section__composition {
    grid-template-columns: minmax(140px, 0.35fr) minmax(390px, 1.65fr);
    gap: 12px;
  }

  .open-day-section__display {
    font-size: clamp(2.8rem, 5.2vw, 4.7rem);
  }

  .open-day-section__details summary {
    padding-right: 54px;
    font-size: clamp(1.2rem, 2.3vw, 1.48rem);
  }

  .open-day-section__answer {
    padding-right: 54px;
  }

  .open-day-section h2 {
    margin-bottom: clamp(48px, 7vw, 70px);
    font-size: clamp(4rem, 11vw, 7rem);
  }
}

@media (max-width: 520px) {
  .open-day-section__tab {
    width: calc(100vw - 28px);
    height: 100px;
  }

  .open-day-section__tab-content {
    top: 68%;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    max-width: calc(100% - 64px);
    white-space: normal;
    text-align: center;
  }

  .open-day-section__tab-title,
  .open-day-section__tab-date {
    font-size: 1.5rem;
  }
}

.popup-layer {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  justify-items: end;
  visibility: hidden;
  pointer-events: none;
}

.popup-layer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.popup-layer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(46, 22, 11, 0.42);
  opacity: 0;
  cursor: pointer;
  transition: opacity 240ms ease;
}

.popup-layer.is-open .popup-layer__backdrop {
  opacity: 1;
}

.open-day-popup {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  width: min(100%, 468px);
  min-height: 100svh;
  padding: clamp(25px, 4.2vw, 44px);
  color: var(--rose);
  background: rgba(90, 36, 48, 0.96);
  box-shadow: -28px 0 72px rgba(18, 13, 8, 0.24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateX(28px);
  opacity: 0;
  transition:
    opacity 240ms ease,
    transform 300ms cubic-bezier(.42, 0, .18, 1);
}

.popup-layer.is-open .open-day-popup {
  transform: translateX(0);
  opacity: 1;
}

.popup-close {
  position: absolute;
  top: clamp(18px, 3vw, 28px);
  right: clamp(18px, 3vw, 28px);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(237, 176, 176, 0.3);
  border-radius: 50%;
  color: var(--rose);
  background: rgba(90, 36, 48, 0.34);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.popup-kicker {
  margin: 0 0 clamp(1.2rem, 2.8vh, 1.8rem);
  color: var(--rose);
  font-family: "The Seasons", Georgia, serif;
  font-size: clamp(1.05rem, 1.45vw, 1.24rem);
  line-height: 1;
}

.open-day-popup h1 {
  max-width: 8ch;
  margin: 0;
  color: var(--rose);
  font-family: "The Seasons", Georgia, serif;
  font-size: clamp(4rem, 8.6vw, 6.7rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.82;
  text-transform: none;
}

.event-details {
  display: grid;
  gap: 0;
  margin: clamp(2.2rem, 5.4vh, 4.2rem) 0 0;
  border-top: 1px solid rgba(237, 176, 176, 0.24);
}

.event-details div {
  display: grid;
  grid-template-columns: 6.2rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.82rem 0;
  border-bottom: 1px solid rgba(237, 176, 176, 0.2);
}

.event-details dt,
.event-details dd {
  margin: 0;
  font-family: "The Seasons", Georgia, serif;
  line-height: 1.08;
}

.event-details dt {
  color: rgba(237, 176, 176, 0.68);
  font-size: 0.98rem;
}

.event-details dd {
  color: var(--rose);
  font-size: clamp(1.1rem, 2.8vw, 1.32rem);
}

.popup-menu {
  display: grid;
  gap: 0;
  margin-top: clamp(1.55rem, 3.6vh, 2.35rem);
  border-top: 1px solid rgba(237, 176, 176, 0.28);
}

.popup-menu a,
.popup-menu__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 64px;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(237, 176, 176, 0.2);
  color: var(--rose);
  font-family: "The Seasons", Georgia, serif;
  font-size: clamp(1.18rem, 2.6vw, 1.48rem);
  line-height: 1.05;
  text-decoration: none;
}

.popup-menu a strong,
.popup-menu__item strong {
  color: rgba(237, 176, 176, 0.68);
  font-size: clamp(0.92rem, 2vw, 1.04rem);
  font-weight: 400;
  line-height: 1;
  text-align: right;
}

.popup-menu__primary {
  color: var(--rose);
}

.popup-menu__primary strong {
  color: var(--rose);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  transition: transform 180ms ease;
}

.popup-menu__primary:hover strong,
.popup-menu__primary:focus-visible strong {
  transform: translateX(0.22rem);
}

.popup-note {
  max-width: 28rem;
  margin: clamp(1.45rem, 3.2vh, 2.1rem) 0 0;
  color: rgba(237, 176, 176, 0.78);
  font-size: clamp(1.02rem, 2.4vw, 1.15rem);
  line-height: 1.45;
}

.hero__invite {
  margin: clamp(0.8rem, 2.4vh, 1.35rem) 0 0;
  color: rgba(244, 237, 232, 0.9);
  font-family: "The Seasons", Georgia, serif;
  font-size: clamp(1.22rem, 1.8vw, 1.62rem);
  line-height: 1;
  text-shadow: 0 8px 26px rgba(46, 22, 11, 0.32);
}

h1,
h2,
.section-kicker {
  font-family: "The Seasons", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5.8vw, 6.4rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.open-day {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 0.42rem clamp(16px, 2.4vw, 28px);
  align-items: baseline;
  margin-top: clamp(0.72rem, 2vh, 1.2rem);
  padding: 0.92rem 1.08rem 0.98rem;
  border: 1px solid rgba(244, 237, 232, 0.72);
  color: var(--soil);
  background: rgba(244, 237, 232, 0.9);
  backdrop-filter: blur(10px);
}

.open-day span,
.open-day strong,
.open-day time,
.open-day em {
  font-family: "The Seasons", Georgia, serif;
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  font-weight: 400;
  line-height: 1;
  font-style: normal;
}

.open-day time,
.open-day em {
  color: rgba(46, 22, 11, 0.75);
  font-size: clamp(0.96rem, 1.18vw, 1.08rem);
}

.visit-link {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  margin-top: clamp(0.92rem, 2.4vh, 1.35rem);
  color: var(--chalk);
  font-family: "The Seasons", Georgia, serif;
  font-size: clamp(1.04rem, 1.36vw, 1.24rem);
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 6px 20px rgba(46, 22, 11, 0.4);
}

.visit-link span {
  font-family: Arial, Helvetica, sans-serif;
  translate: 0 0.02em;
  transition: translate 180ms ease;
}

.visit-link:hover span,
.visit-link:focus-visible span {
  translate: 0.22rem 0.02em;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(30px, 6vh, 58px);
  z-index: 4;
  width: 34px;
  height: 56px;
  translate: -50% 0;
  border: 1px solid rgba(244, 237, 232, 0.62);
  border-radius: 999px;
  opacity: 0.82;
  animation: revealCopy 1200ms ease 1200ms both;
}

.scroll-cue span {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--chalk);
  translate: -50% 0;
  animation: breatheDown 2200ms ease-in-out infinite;
}

.intro-section {
  position: relative;
  z-index: 5;
  min-height: 0;
  padding: clamp(42px, 4vw, 58px) clamp(24px, 6vw, 88px) clamp(42px, 4vw, 58px) clamp(22px, 4vw, 56px);
  overflow: hidden;
  background: linear-gradient(90deg, var(--rose) 0 50%, var(--olive) 50% 100%);
  color: var(--soil);
}

.section-pattern {
  position: absolute;
  inset: -12% auto auto -8%;
  width: min(54vw, 620px);
  aspect-ratio: 1;
  background: url("Beeldmerk Vector 2.svg") center / contain no-repeat;
  opacity: 0.055;
  filter: invert(1) sepia(0.16) saturate(0.5) brightness(1.16);
  transform: rotate(-8deg);
  pointer-events: none;
}

.intro-section__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(280px, 1fr);
  gap: clamp(44px, 8vw, 128px);
  align-items: center;
  max-width: 1180px;
  margin: 0;
}

.intro-section__text {
  max-width: 620px;
}

.section-kicker {
  margin: 0 0 1.35rem;
  color: var(--rust);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5.25rem);
  line-height: 0.98;
}

.intro-section h2 {
  font-size: clamp(2.15rem, 3.7vw, 4.15rem);
  line-height: 1.04;
}

.intro-section__text p:not(.section-kicker) {
  margin: 1.6rem 0 0;
  color: rgba(46, 22, 11, 0.72);
  font-size: clamp(1.18rem, 1.7vw, 1.55rem);
  line-height: 1.52;
}

.intro-identity {
  display: grid;
  grid-template-columns: clamp(112px, 12vw, 158px) minmax(0, 1fr);
  gap: clamp(18px, 2.8vw, 32px);
  align-items: center;
  width: min(100%, 460px);
  margin-top: clamp(2rem, 4vw, 3.25rem);
  padding-top: clamp(1.25rem, 2.4vw, 1.75rem);
  border-top: 1px solid rgba(46, 22, 11, 0.22);
}

.intro-identity--line {
  display: block;
  width: min(100%, 360px);
}

.intro-identity__mark {
  width: 100%;
  aspect-ratio: 1;
  opacity: 0.72;
  filter: invert(1) sepia(0.18) saturate(0.8) brightness(1.06);
}

.intro-identity--line .intro-identity__mark {
  max-width: 100%;
  opacity: 0.82;
  filter: none;
}

.intro-section__text .intro-identity p {
  margin: 0;
  max-width: 14rem;
  color: rgba(46, 22, 11, 0.76);
  font-family: "The Seasons", Georgia, serif;
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  line-height: 1.08;
}

.intro-section__text .intro-project-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 218px;
  margin-top: 2.15rem;
  padding: 14px 24px 13px;
  border: 1px solid rgba(244, 237, 232, 0.28);
  border-radius: 2px;
  color: var(--chalk);
  background: #2e160B;
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.04rem, 1.18vw, 1.16rem);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 250ms ease,
    transform 250ms ease;
}

.green-section .green-project-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 218px;
  margin-top: 2.15rem;
  padding: 14px 24px 13px;
  border: 1px solid rgba(244, 237, 232, 0.28);
  border-radius: 2px;
  color: var(--chalk);
  background: #2e160B;
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.04rem, 1.18vw, 1.16rem);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 250ms ease,
    transform 250ms ease;
}

.green-section .green-project-button:hover,
.green-section .green-project-button:focus-visible {
  background: rgba(46, 22, 11, 0.92);
  transform: translateY(-2px);
}

.intro-project-button span {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  transition: transform 250ms ease;
}

.intro-project-button:hover,
.intro-project-button:focus-visible {
  background: rgba(145, 69, 32, 0.94);
  transform: translateY(-2px);
}

.intro-project-button:hover span,
.intro-project-button:focus-visible span {
  transform: translateX(4px);
}

.green-section {
  position: relative;
  z-index: 5;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(300px, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(42px, 4vw, 58px) clamp(24px, 6vw, 88px) clamp(42px, 4vw, 58px) clamp(22px, 4vw, 56px);
  overflow: hidden;
  background: linear-gradient(90deg, var(--rust) 0 50%, var(--olive) 50% 100%);
  color: var(--soil);
}

.green-section__photo {
  justify-self: start;
  width: min(100%, 520px);
  aspect-ratio: 1.03;
  margin: 0;
  overflow: hidden;
  border-radius: 48px;
  box-shadow: 0 24px 62px rgba(18, 13, 8, 0.24);
}

.green-section__photo picture,
.faq-section__photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.green-section__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(-7%) scale(1.12);
}

.green-section__inner {
  width: min(100%, 620px);
  max-width: 620px;
  color: var(--chalk);
  opacity: 0;
  transform: translate3d(84px, 0, 0);
  transition:
    opacity 700ms ease,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.green-section.is-text-visible .green-section__inner {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .green-section__inner {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

@media (max-width: 700px) and (prefers-reduced-motion: no-preference) {
  .green-section__inner {
    transform: translate3d(42px, 0, 0);
    transition:
      opacity 1200ms ease,
      transform 1500ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .green-section.is-text-visible .green-section__inner {
    transform: translate3d(0, 0, 0);
  }
}

.green-section .section-kicker {
  color: var(--chalk);
}

.green-section h2 {
  font-size: clamp(2.15rem, 3.7vw, 4.15rem);
  line-height: 1.04;
}

.green-section p:not(.section-kicker) {
  margin: 1.6rem 0 0;
  color: var(--chalk);
  font-size: clamp(1.18rem, 1.7vw, 1.55rem);
  line-height: 1.52;
}

.intro-section__image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 30px 90px rgba(18, 9, 16, 0.32);
}

.intro-section__image > img:not(.photo-mark) {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
}

.photo-mark {
  position: absolute;
  right: clamp(16px, 2.3vw, 28px);
  bottom: clamp(16px, 2.3vw, 28px);
  width: clamp(72px, 9vw, 116px);
  aspect-ratio: 1;
  opacity: 0.68;
  filter: invert(1) sepia(0.2) saturate(0.8) brightness(1.16) drop-shadow(0 8px 18px rgba(46, 22, 11, 0.24));
  pointer-events: none;
}

@keyframes revealCopy {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes openDayCardIn {
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes breatheDown {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(18px);
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
  }

  .brand__name {
    display: grid;
  }

  .brand {
    font-size: clamp(1.22rem, 6vw, 1.85rem);
  }

  .site-nav {
    gap: 13px;
    font-size: 0.98rem;
  }

  .identity-fragment {
    width: min(78.4vw, 532px);
  }

  .mark-stage {
    inset: 46% 0 0;
  }

  .hero__copy {
    inset: auto 22px clamp(88px, 12vh, 116px);
    max-width: 330px;
  }

  .open-day-card {
    right: 20px;
    bottom: 28px;
    width: min(270px, calc(100vw - 40px));
    padding: 20px 22px;
  }

  .open-day-card__title {
    font-size: 36px;
  }

  .hero-wordmark strong {
    font-size: clamp(5.04rem, 22.2vw, 8.01rem);
  }

  .hero-wordmark__image {
    width: clamp(12.67rem, 62.3vw, 19.21rem);
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4.6rem);
  }

  .open-day {
    grid-template-columns: 1fr;
    gap: 0.42rem;
  }

  .open-day strong {
    font-size: clamp(1.1rem, 5.1vw, 1.38rem);
  }

  .intro-section__inner {
    grid-template-columns: 1fr;
  }

  .intro-section {
    background: linear-gradient(180deg, var(--rose) 0 54%, var(--olive) 54% 100%);
  }

  .green-section {
    grid-template-columns: 1fr;
    background: linear-gradient(180deg, var(--rust) 0 54%, var(--olive) 54% 100%);
  }

  .green-section__photo {
    width: min(100%, 420px);
  }

  .green-section__inner {
    max-width: 100%;
  }

  .intro-section__image {
    order: -1;
  }

  .intro-section__image > img:not(.photo-mark) {
    aspect-ratio: 1.08;
  }

  .intro-identity {
    grid-template-columns: 96px minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .popup-layer {
    align-items: end;
    justify-items: stretch;
  }

  .open-day-popup {
    width: 100%;
    min-height: auto;
    max-height: calc(100svh - 34px);
    overflow: auto;
    transform: translateY(28px);
    box-shadow: 0 -24px 62px rgba(18, 13, 8, 0.26);
  }

  .popup-layer.is-open .open-day-popup {
    transform: translateY(0);
  }

  .open-day-popup h1 {
    font-size: clamp(3.65rem, 17vw, 5.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .hero__video {
    display: none;
  }

  .hero__copy,
  .scroll-cue {
    opacity: 1;
  }

  .open-day-card {
    opacity: 1;
    translate: 0 0;
    animation-delay: 0ms !important;
  }
}

.residents-section {
  position: relative;
  z-index: 8;
  height: 100svh;
  min-height: 700px;
  padding: clamp(32px, 4vh, 48px) 0 clamp(20px, 2.5vh, 30px);
  overflow: hidden;
  background:
    linear-gradient(rgba(244, 237, 232, 0.78), rgba(244, 237, 232, 0.78)),
    url("assets/residents/achtergrond-gras.jpg?v=20260712-grass-faint") center 44% / auto 112% no-repeat;
  color: var(--soil);
}

.residents-section__intro,
.residents-carousel {
  position: relative;
  top: clamp(28px, 4vh, 42px);
  z-index: 1;
}

.residents-section__intro {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0 clamp(28px, 6vw, 96px);
  text-align: center;
}

.residents-section h2 {
  margin: 0;
  font-family: "The Seasons", Arapey, Georgia, serif;
  font-size: clamp(2.15rem, 3.7vw, 4.15rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: normal;
}

.residents-section__copy {
  width: min(100%, 940px);
  margin: clamp(24px, 3vw, 38px) auto 0;
}

.residents-section__copy p {
  margin: 0;
  font-size: clamp(1.25rem, 1.75vw, 1.65rem);
  line-height: 1.48;
}

.residents-section__copy p + p {
  margin-top: 0.8em;
}

.residents-carousel {
  position: relative;
  margin-top: clamp(42px, 5vh, 60px);
  user-select: none;
  touch-action: pan-y;
}

.residents-carousel__stage {
  position: relative;
  height: clamp(390px, calc(100svh - 330px), 620px);
  cursor: grab;
}

.residents-carousel__stage:active {
  cursor: grabbing;
}

.resident-photo {
  position: absolute;
  top: 41%;
  left: 50%;
  width: clamp(180px, 18vw, 300px);
  aspect-ratio: 2 / 3;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow: 0 22px 60px rgba(46, 22, 11, 0.16);
  cursor: pointer;
  transform-origin: center center;
  transition:
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 480ms ease,
    filter 480ms ease,
    box-shadow 480ms ease;
  will-change: transform, opacity;
}

.resident-photo > picture,
.resident-dialog__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.resident-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.resident-photo[data-resident-index="1"] img {
  transform: translateY(-4%) scale(1.08);
}

.resident-photo[data-resident-index="2"] img {
  object-position: 56% 50%;
  transform: scale(1.06);
}

.resident-photo[data-resident-index="3"] img {
  object-position: 58% 50%;
  transform: scale(1.16);
}

.resident-photo[data-resident-index="4"] img {
  object-position: 78% 50%;
  transform: translateY(-4%) scale(1.08);
}

.resident-photo[data-resident-index="6"] img {
  object-position: 78% 50%;
  transform: translateY(3%) scale(1.06);
}

.resident-photo__name {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  padding: 18px 18px 46px;
  display: grid;
  grid-template-columns: 2em max-content;
  align-items: end;
  justify-content: start;
  column-gap: 14px;
  color: rgba(255, 255, 255, 0.96);
  background: linear-gradient(180deg, rgba(46, 22, 11, 0.72) 0%, rgba(46, 22, 11, 0) 100%);
  font-family: "The Seasons", Arapey, Georgia, serif;
  font-size: clamp(1.52rem, 2.2vw, 2.15rem);
  font-weight: 400;
  line-height: 1.05;
  text-align: left;
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(18, 13, 8, 0.42);
  pointer-events: none;
}

.resident-photo__name-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  line-height: 0.92;
  align-self: end;
}

.resident-photo__name::before {
  content: "";
  width: 2em;
  height: 2em;
  flex: 0 0 auto;
  align-self: end;
  opacity: 1;
  background: url("assets/beeldmerk-png-2-witte-lijnen.png") center / contain no-repeat;
  filter:
    brightness(0)
    invert(1)
    contrast(300%)
    drop-shadow(0 0 0.6px #fff)
    drop-shadow(0 0 0.6px #fff);
}

.resident-photo[data-resident-index="0"] .resident-photo__name::before,
.resident-photo[data-resident-index="1"] .resident-photo__name::before,
.resident-photo[data-resident-index="2"] .resident-photo__name::before,
.resident-photo[data-resident-index="3"] .resident-photo__name::before,
.resident-photo[data-resident-index="4"] .resident-photo__name::before,
.resident-photo[data-resident-index="5"] .resident-photo__name::before,
.resident-photo[data-resident-index="6"] .resident-photo__name::before {
  display: none;
}

.resident-photo__name .resident-photo__custom-mark {
  width: 1.9em;
  height: 1.9em;
  align-self: end;
  object-fit: contain;
  filter: none;
}

.resident-photo__story {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 2;
  width: max-content;
  max-width: calc(100% - 28px);
  padding: 14px 22px 13px;
  border: 0;
  border-radius: 2px;
  color: var(--chalk);
  background: #2e160b;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.88rem, 1.05vw, 1.02rem);
  font-weight: 400;
  line-height: 1;
  text-align: center;
  transform: translateX(-50%);
  pointer-events: none;
}

.resident-photo--shared::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(46, 22, 11, 0.64) 0%,
    rgba(46, 22, 11, 0.08) 38%,
    rgba(46, 22, 11, 0.16) 52%,
    rgba(46, 22, 11, 0.68) 100%
  );
  pointer-events: none;
}

.resident-photo__shared-people {
  position: absolute;
  inset: 0 0 76px;
  z-index: 2;
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  color: var(--chalk);
  pointer-events: none;
}

.resident-photo__shared-person {
  min-height: 0;
  padding: 20px 18px;
  display: grid;
  grid-template-columns: auto auto;
  align-content: start;
  align-items: end;
  justify-content: start;
  gap: 12px;
  text-align: left;
}

.resident-photo__shared-person + .resident-photo__shared-person {
  align-content: start;
}

@media (min-width: 701px) {
  .resident-photo__shared-person + .resident-photo__shared-person {
    transform: translateY(-12px);
  }
}

.resident-photo .resident-photo__shared-person img {
  width: clamp(42px, 4vw, 58px);
  height: clamp(42px, 4vw, 58px);
  flex: 0 0 auto;
  object-fit: contain;
  transform: none;
  filter: drop-shadow(0 2px 8px rgba(18, 13, 8, 0.2));
}

.resident-photo--shared > picture img {
  transform: translate(-3%, 7%) scale(1.16);
}

.resident-photo__shared-name {
  display: flex;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.98);
  font-family: "The Seasons", Arapey, Georgia, serif;
  font-size: clamp(1.55rem, 2.1vw, 2.05rem);
  line-height: 0.94;
  text-shadow: 0 2px 12px rgba(18, 13, 8, 0.52);
}

.resident-photo__shared-person + .resident-photo__shared-person .resident-photo__shared-name {
  align-self: flex-end;
}

.resident-photo[aria-current="true"] {
  box-shadow: 0 30px 80px rgba(46, 22, 11, 0.26);
}

.resident-photo[aria-current="true"] img {
  transform: scale(1.025);
}

.resident-photo--shared[aria-current="true"] > picture img {
  transform: translate(-3%, 7%) scale(1.185);
}

.resident-photo[data-resident-index="1"][aria-current="true"] img {
  transform: translateY(-4%) scale(1.105);
}

.resident-photo[data-resident-index="2"][aria-current="true"] img {
  transform: scale(1.085);
}

.resident-photo[data-resident-index="3"][aria-current="true"] img {
  transform: scale(1.185);
}

.resident-photo[data-resident-index="4"][aria-current="true"] img {
  transform: translateY(-4%) scale(1.105);
}

.resident-photo[data-resident-index="6"][aria-current="true"] img {
  transform: translateY(3%) scale(1.085);
}

.resident-photo:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 6px;
}

html.resident-dialog-open {
  scroll-behavior: auto;
}

.resident-dialog[hidden] {
  display: none;
}

.resident-dialog {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 280ms ease, visibility 280ms ease;
}

.resident-dialog.is-open {
  opacity: 1;
  visibility: visible;
}

.resident-dialog__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(46, 22, 11, 0.7);
  cursor: default;
}

.resident-dialog__panel {
  position: relative;
  width: min(1180px, calc(100vw - 64px));
  height: min(760px, calc(100svh - 48px));
  max-height: calc(100svh - 48px);
  display: grid;
  grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
  overscroll-behavior: contain;
  background: var(--linen);
  color: var(--soil);
  box-shadow: 0 30px 90px rgba(18, 13, 8, 0.34);
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 280ms ease, transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.resident-dialog.is-open .resident-dialog__panel {
  opacity: 1;
  transform: scale(1);
}

.resident-dialog__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 237, 232, 0.7);
  border-radius: 50%;
  color: var(--linen);
  background: rgba(46, 22, 11, 0.68);
  font: 300 1.8rem/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 180ms ease, transform 180ms ease;
}

.resident-dialog__close:hover,
.resident-dialog__close:focus-visible {
  background: var(--aubergine);
  transform: rotate(4deg);
}

.resident-dialog__close:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

.resident-dialog__media {
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--olive);
}

.resident-dialog__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 43%;
}

.resident-dialog__editorial {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}

.resident-dialog__lead {
  min-width: 0;
  padding: clamp(38px, 5.5vh, 58px) clamp(44px, 4.5vw, 64px) clamp(24px, 3vh, 34px);
}

.resident-dialog__mark {
  flex: 0 0 auto;
  width: clamp(74px, 8.5vh, 92px);
  height: clamp(74px, 8.5vh, 92px);
  object-fit: contain;
}

.resident-dialog__subtitle {
  min-height: 1em;
  margin: 0 0 7px;
  transform: translateY(-8px);
  color: var(--olive);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.77rem;
  line-height: 1.2;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.resident-dialog__heading {
  display: flex;
  align-items: flex-end;
  gap: clamp(18px, 2vw, 30px);
}

.resident-dialog__editorial h2 {
  margin: 0;
  color: var(--aubergine);
  font-family: "The Seasons", Arapey, Georgia, serif;
  font-size: clamp(3.1rem, 5.8vh, 4.3rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.035em;
}

.resident-dialog__editorial h2 span {
  display: block;
  white-space: nowrap;
}

.resident-dialog__editorial blockquote {
  margin: clamp(12px, 1.6vh, 17px) 0 0;
  padding: 0 0 0 clamp(18px, 2vw, 27px);
  border-left: 2px solid var(--rose);
  color: var(--aubergine);
  font-family: "The Seasons", Arapey, Georgia, serif;
  font-size: clamp(1.2rem, 2.5vh, 1.55rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.18;
}

.resident-dialog__story {
  min-height: 0;
  padding: clamp(24px, 3vh, 32px) clamp(44px, 4.5vw, 64px) clamp(34px, 4.5vh, 48px);
  border-top: 1px solid rgba(46, 22, 11, 0.18);
  color: var(--soil);
  font-size: clamp(0.72rem, 1.45vh, 0.84rem);
  line-height: 1.42;
  column-count: 2;
  column-gap: clamp(24px, 4vw, 38px);
  column-rule: 1px solid rgba(46, 22, 11, 0.12);
  overflow: hidden;
}

.resident-dialog__story p {
  margin: 0;
}

.resident-dialog__story p + p {
  margin-top: 1em;
}

.resident-dialog__shared-stories[hidden] {
  display: none;
}

.resident-dialog--shared .resident-dialog__panel {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}

.resident-dialog--shared .resident-dialog__media {
  display: none;
}

.resident-dialog--shared .resident-dialog__editorial {
  grid-column: 1;
  grid-row: 1;
  display: block;
  overflow: hidden;
}

.resident-dialog__shared-stories {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  overscroll-behavior: contain;
  scrollbar-color: rgba(90, 36, 48, 0.5) transparent;
  scrollbar-width: thin;
}

.resident-dialog__shared-profile {
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding: clamp(36px, 4.5vh, 50px) clamp(42px, 4.2vw, 60px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(90, 36, 48, 0.5) transparent;
  scrollbar-width: thin;
}

.resident-dialog__shared-profile + .resident-dialog__shared-profile {
  border-left: 1px solid rgba(46, 22, 11, 0.24);
}

.resident-dialog__shared-header {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 26px);
}

.resident-dialog__shared-mark {
  width: clamp(68px, 7vh, 82px);
  height: clamp(68px, 7vh, 82px);
  flex: 0 0 auto;
  object-fit: contain;
}

.resident-dialog__shared-subtitle {
  margin: 0 0 4px;
  color: var(--olive);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.resident-dialog__editorial .resident-dialog__shared-header h2 {
  font-size: clamp(2.35rem, 4.5vh, 3.25rem);
  line-height: 0.94;
  white-space: normal;
}

.resident-dialog__shared-profile blockquote {
  margin: 18px 0 22px;
  font-size: clamp(1.08rem, 2vh, 1.35rem);
  line-height: 1.22;
}

.resident-dialog__shared-copy {
  color: var(--soil);
  font-size: clamp(0.78rem, 1.42vh, 0.9rem);
  line-height: 1.52;
}

.resident-dialog__shared-copy p {
  margin: 0;
}

.resident-dialog__shared-copy p + p {
  margin-top: 1em;
}

@media (max-width: 1024px) {
  .resident-dialog {
    padding: 28px;
  }

  .resident-dialog__panel {
    width: calc(100vw - 56px);
    height: calc(100svh - 56px);
    max-height: calc(100svh - 56px);
    grid-template-columns: minmax(0, 48%) minmax(0, 52%);
    grid-template-rows: minmax(0, 1fr);
  }

  .resident-dialog__media {
    min-height: 0;
  }

  .resident-dialog__lead {
    padding: 38px 40px 23px;
  }

  .resident-dialog__story {
    padding: 22px 40px 34px;
    font-size: 0.67rem;
    line-height: 1.36;
    column-gap: 24px;
  }
}

@media (max-width: 820px) {
  .resident-dialog {
    padding: 20px;
  }

  .resident-dialog__panel {
    width: calc(100vw - 40px);
    height: calc(100svh - 40px);
    max-height: calc(100svh - 40px);
    grid-template-columns: minmax(0, 44%) minmax(0, 56%);
    grid-template-rows: minmax(0, 1fr);
  }

  .resident-dialog__media {
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
    height: 100%;
  }

  .resident-dialog__lead {
    padding: 34px 30px 20px;
  }

  .resident-dialog__close {
    top: 14px;
    right: 14px;
  }

  .resident-dialog__editorial h2 {
    font-size: clamp(3rem, 5.5vh, 4rem);
  }

  .resident-dialog__mark {
    width: clamp(74px, 9vw, 92px);
    height: clamp(74px, 9vw, 92px);
  }

  .resident-dialog__story {
    padding: 20px 30px 28px;
    font-size: 0.62rem;
    line-height: 1.32;
    column-gap: 20px;
  }

  .resident-dialog__shared-profile {
    padding: 32px 30px;
  }

  .resident-dialog__shared-mark {
    width: 64px;
    height: 64px;
  }

  .resident-dialog__shared-copy {
    font-size: 0.78rem;
  }
}

@media (max-width: 700px) {
  .resident-dialog--shared .resident-dialog__panel {
    display: block;
    overflow-y: auto;
  }

  .resident-dialog--shared .resident-dialog__editorial,
  .resident-dialog__shared-stories {
    height: auto;
    overflow: visible;
  }

  .resident-dialog__shared-stories {
    display: block;
  }

  .resident-dialog__panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(180px, 32%) minmax(0, 1fr);
  }

  .resident-dialog__media {
    grid-column: 1;
    grid-row: 1;
  }

  .resident-dialog__editorial {
    grid-column: 1;
    grid-row: 2;
  }

  .resident-dialog__shared-profile {
    height: auto;
    padding: 54px 24px 32px;
    overflow: visible;
  }

  .resident-dialog__shared-profile + .resident-dialog__shared-profile {
    border-top: 1px solid rgba(46, 22, 11, 0.24);
    border-left: 0;
  }

  .resident-dialog__shared-header {
    gap: 8px;
  }

  .resident-dialog__shared-mark {
    width: 54px;
    height: 54px;
  }

  .resident-dialog__shared-subtitle {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .resident-dialog__editorial .resident-dialog__shared-header h2 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .resident-dialog__shared-profile blockquote {
    margin: 14px 0 18px;
    padding-left: 12px;
    font-size: 0.88rem;
  }

  .resident-dialog__shared-copy {
    font-size: 0.84rem;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .resident-dialog,
  .resident-dialog__panel,
  .resident-dialog__close {
    transition: none;
  }
}

.residents-carousel__controls {
  position: absolute;
  left: 50%;
  bottom: clamp(66px, 8vh, 82px);
  z-index: 30;
  width: max-content;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
}

.residents-carousel__arrow,
.residents-carousel__autoplay {
  width: 28px;
  height: 28px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--soil);
  font: inherit;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 180ms ease, transform 180ms ease;
}

.residents-carousel__arrow:hover,
.residents-carousel__arrow:focus-visible,
.residents-carousel__autoplay:hover,
.residents-carousel__autoplay:focus-visible {
  opacity: 1;
}

.residents-carousel__autoplay {
  border: 1px solid rgba(46, 22, 11, 0.52);
  border-radius: 50%;
}

.residents-carousel__arrow--previous:hover,
.residents-carousel__arrow--previous:focus-visible {
  transform: translateX(-2px);
}

.residents-carousel__arrow--next:hover,
.residents-carousel__arrow--next:focus-visible {
  transform: translateX(2px);
}

.residents-carousel__arrow:focus-visible,
.residents-carousel__autoplay:focus-visible {
  outline: 1px solid var(--rust);
  outline-offset: 2px;
}

.residents-carousel__arrow span {
  display: none;
}

.residents-carousel__arrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
}

.residents-carousel__arrow--previous::before {
  transform: rotate(135deg);
}

.residents-carousel__arrow--next::before {
  transform: rotate(-45deg);
}

.residents-carousel__autoplay-icon {
  width: 8px;
  height: 8px;
  background: currentColor;
}

.residents-carousel__autoplay.is-paused .residents-carousel__autoplay-icon {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
  background: transparent;
}

@media (max-width: 980px) {
  .residents-carousel__stage {
    height: clamp(390px, calc(100svh - 330px), 560px);
  }

  .resident-photo {
    width: clamp(170px, 26vw, 250px);
  }
}

html.document-dialog-open {
  scroll-behavior: auto;
}

.document-dialog[hidden] {
  display: none;
}

.document-dialog {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 280ms ease, visibility 280ms ease;
}

.document-dialog.is-open {
  opacity: 1;
  visibility: visible;
}

.document-dialog__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(46, 22, 11, 0.78);
  cursor: default;
}

.document-dialog__panel {
  position: relative;
  width: min(1180px, calc(100vw - 64px));
  height: min(820px, calc(100svh - 48px));
  max-height: calc(100svh - 48px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  background: var(--linen);
  color: var(--soil);
  box-shadow: 0 30px 90px rgba(18, 13, 8, 0.38);
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 280ms ease, transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.document-dialog.is-open .document-dialog__panel {
  opacity: 1;
  transform: scale(1);
}

.document-dialog__header {
  min-height: 70px;
  padding: 16px 82px 14px 24px;
  display: flex;
  align-items: center;
  background: var(--soil);
  color: var(--linen);
}

.document-dialog__header h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
  font-weight: 400;
  line-height: 1;
}

.document-dialog__close {
  position: absolute;
  top: 13px;
  right: 18px;
  z-index: 3;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 237, 232, 0.7);
  border-radius: 50%;
  color: var(--linen);
  background: rgba(244, 237, 232, 0.08);
  font: 300 1.8rem/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.document-dialog__close:hover,
.document-dialog__close:focus-visible {
  background: var(--aubergine);
  transform: rotate(4deg);
}

.document-dialog__close:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

.document-dialog__viewer {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scroll-snap-type: y proximity;
  background: #d8d3cc;
}

.document-dialog__page {
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  display: block;
  scroll-snap-align: start;
  background: #fff;
}

.document-dialog__page + .document-dialog__page {
  border-top: 3px solid #d8d3cc;
}

.document-dialog__fallback {
  margin: 0;
  padding: 10px 18px 12px;
  background: var(--linen);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: center;
}

.document-dialog__fallback a {
  color: inherit;
  font-weight: 700;
}

@media (max-width: 700px) {
  .document-dialog {
    padding: 12px;
  }

  .document-dialog__panel {
    width: calc(100vw - 24px);
    height: calc(100svh - 24px);
    max-height: calc(100svh - 24px);
  }

  .document-dialog__header {
    min-height: 62px;
    padding: 14px 70px 12px 18px;
  }

  .document-dialog__close {
    top: 9px;
    right: 12px;
  }

  .document-dialog__fallback {
    padding-inline: 12px;
    font-size: 0.76rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .document-dialog,
  .document-dialog__panel,
  .document-dialog__close {
    transition: none;
  }
}

.faq-section {
  position: relative;
  z-index: 8;
  height: auto;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: var(--rose);
  color: var(--soil);
}

.faq-section[data-section-label]::before {
  color: var(--aubergine);
  opacity: 0.86;
}

.faq-section__inner {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: clamp(320px, 29.5vw, 390px) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  height: auto;
}

.faq-section__content {
  min-height: 0;
  padding: clamp(36px, 5vh, 54px) clamp(40px, 5vw, 80px) 22px;
  overflow: visible;
}

.faq-section__photo {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
}

.faq-section__photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center bottom;
  border-radius: 0;
  transform: scale(1.3);
  transform-origin: center bottom;
}

.faq-section h2 {
  max-width: 580px;
  font-size: clamp(2.15rem, 3.7vw, 4.15rem);
  line-height: 1.04;
}

.faq-section__intro > p:last-child {
  max-width: none;
  margin: 1.6rem 0 0;
  color: rgba(46, 22, 11, 0.72);
  font-size: clamp(1.12rem, 1.45vw, 1.35rem);
  line-height: 1.48;
  white-space: nowrap;
}

.faq-list {
  border-top: 1px solid rgba(46, 22, 11, 0.28);
}

.faq-item {
  border-bottom: 1px solid rgba(46, 22, 11, 0.28);
}

.faq-item summary {
  position: relative;
  padding: 16px 58px 15px 0;
  list-style: none;
  color: var(--soil);
  font-family: "The Seasons", Arapey, Georgia, serif;
  font-size: clamp(1.25rem, 1.8vw, 1.62rem);
  line-height: 1.18;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 300ms ease;
}

.faq-item[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq-item__answer {
  padding: 0 58px 28px 0;
}

.faq-item__answer p {
  width: min(100%, 690px);
  margin: 0;
  color: rgba(46, 22, 11, 0.72);
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.58;
}

.faq-item__answer a,
.faq-document-button {
  display: inline-flex;
  margin-top: 1.4rem;
  padding: 14px 22px 13px;
  border: 0;
  border-radius: 2px;
  color: var(--chalk);
  background: var(--soil);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.faq-document-button:hover,
.faq-document-button:focus-visible {
  background: var(--aubergine);
}

.faq-document-button:focus-visible {
  outline: 2px solid var(--soil);
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .faq-section {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .faq-section__inner {
    grid-template-columns: 1fr;
    gap: 0;
    height: auto;
  }

  .faq-section__content {
    padding: 64px 28px 78px;
  }

  .faq-section__intro > p:last-child {
    white-space: nowrap;
  }

  .faq-section__photo {
    min-height: 70vh;
  }

  .faq-section__photo img {
    min-height: 70vh;
    transform: none;
  }
}

.contact-section {
  position: relative;
  z-index: 8;
  min-height: 100vh;
  padding: clamp(88px, 10vw, 156px) clamp(28px, 6vw, 96px);
  background: var(--pistachio);
  color: var(--soil);
}

.contact-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(46, 22, 11, 0.22);
  pointer-events: none;
}

.contact-section__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: start;
}

.contact-section__content {
  width: min(100%, 590px);
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.contact-section__content > .contact-section__subheading:first-child {
  margin-top: 0;
}

.contact-section__kicker {
  margin: 0 0 1.4rem;
  color: var(--rust);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
}

.contact-section h2 {
  font-size: clamp(2.15rem, 3.7vw, 4.15rem);
  line-height: 1.04;
}

.contact-section__lead {
  margin: 1.8rem 0 0;
  color: rgba(46, 22, 11, 0.72);
  font-size: clamp(1.14rem, 1.5vw, 1.4rem);
  line-height: 1.54;
}

.contact-section__instagram-link {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.32em;
  text-decoration: none;
}

.contact-section__instagram-link svg {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.contact-section__instagram-link .contact-section__instagram-dot {
  fill: currentColor;
  stroke: none;
}

.contact-section__subheading {
  margin: clamp(32px, 3.5vw, 48px) 0 0;
  font-family: "The Seasons", Arapey, Georgia, serif;
  font-size: clamp(2.15rem, 3.7vw, 4.15rem);
  font-weight: 400;
  line-height: 1.04;
}

.contact-section__subheading--follow {
  margin-top: clamp(84px, 9vw, 128px);
  font-size: clamp(1.98rem, 3.4vw, 3.82rem);
}

.contact-section__lead--contact {
  margin-top: 1.2rem;
}

.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: clamp(30px, 3.5vw, 48px);
}

.contact-form label {
  margin: 0 0 8px;
  color: rgba(46, 22, 11, 0.62);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin: 0 0 22px;
  padding: 11px 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(46, 22, 11, 0.28);
  border-radius: 0;
  outline: 0;
  color: var(--soil);
  background: transparent;
  font: inherit;
}

.contact-form textarea {
  min-height: 122px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--aubergine);
}

.contact-form .contact-section__button {
  width: fit-content;
  margin-top: auto;
  border: 0;
  cursor: pointer;
}

.contact-details {
  margin: clamp(34px, 4vw, 56px) 0 0;
  border-top: 1px solid rgba(46, 22, 11, 0.22);
}

.contact-details > div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 24px;
  padding: 17px 0 16px;
  border-bottom: 1px solid rgba(46, 22, 11, 0.22);
}

.contact-details dt {
  color: rgba(46, 22, 11, 0.58);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0;
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
}

.contact-details a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact-section__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2.15rem;
  padding: 14px 24px 13px;
  border-radius: 2px;
  color: var(--chalk);
  background: var(--soil);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.04rem, 1.18vw, 1.16rem);
  line-height: 1;
  text-decoration: none;
  transition: transform 250ms ease, background 250ms ease;
}

.contact-section__button:hover,
.contact-section__button:focus-visible {
  background: rgba(46, 22, 11, 0.92);
  transform: translateY(-2px);
}

.contact-map-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-map-column__intro {
  width: min(61.6vw, 686px);
  margin-bottom: clamp(28px, 3vw, 44px);
  transform: translateX(clamp(14px, 3vw, 48px));
}

.contact-map {
  position: relative;
  width: min(61.6vw, 686px);
  aspect-ratio: 1;
  min-height: 0;
  align-self: center;
  justify-self: center;
  overflow: hidden;
  background: var(--olive);
  box-shadow: 0 30px 90px rgba(46, 22, 11, 0.18);
  isolation: isolate;
  transform: translateX(clamp(14px, 3vw, 48px));
}

.contact-map iframe {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  border: 0;
  filter: grayscale(0.9) sepia(0.24) saturate(0.72) contrast(0.9);
}

.contact-map__tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(100, 94, 8, 0.17);
  mix-blend-mode: multiply;
}

.contact-map__marker {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 160px;
  height: 160px;
  padding: 20px;
  border-radius: 50%;
  background: rgba(46, 22, 11, 0.42);
  box-shadow: 0 14px 36px rgba(46, 22, 11, 0.14);
  transform: translate(-50%, -50%) scale(1.28);
  transform-origin: center;
  pointer-events: none;
}

.contact-map__marker img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(180deg);
}

.contact-map__label {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  min-width: 190px;
  padding: 17px 20px 16px;
  color: var(--aubergine);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.contact-map__label span,
.contact-map__label strong {
  display: block;
}

.contact-map__label span {
  margin-bottom: 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.contact-map__label strong {
  font-family: "The Seasons", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 400;
}

.contact-photo-section {
  position: relative;
  z-index: 8;
  width: 100%;
  height: 100svh;
  min-height: 700px;
  background-color: var(--soil);
  background-image: url("assets/section-images/contact-1280.jpg");
  background-image: image-set(
    url("assets/section-images/contact-1280.webp") type("image/webp"),
    url("assets/section-images/contact-1280.jpg") type("image/jpeg")
  );
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.site-footer {
  position: relative;
  z-index: 8;
  padding: 34px clamp(28px, 6vw, 96px) 34px clamp(22px, 4vw, 56px);
  color: var(--chalk);
  background: #2e160b;
}

.site-footer__inner {
  width: 100%;
  margin: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.site-footer__details {
  display: flex;
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
}

.site-footer address,
.site-footer p {
  margin: 0;
  font-style: normal;
  font-size: 0.94rem;
  line-height: 1.5;
  transform: translateX(clamp(-72px, -5vw, -48px));
}

.site-footer__socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
  margin-left: auto;
  text-align: right;
}

.site-footer__brand {
  margin-right: clamp(16px, 2vw, 30px);
  color: var(--chalk);
  font-family: "The Seasons", Georgia, serif;
  font-size: clamp(1.2rem, 1.7vw, 1.85rem);
  line-height: 1;
  white-space: nowrap;
}

.site-footer__socials a,
.site-footer__social-placeholder {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--chalk);
}

.site-footer__mark {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  color: var(--chalk);
}

.site-footer__socials a {
  transition: opacity 220ms ease, transform 220ms ease;
}

.site-footer__socials a:hover,
.site-footer__socials a:focus-visible {
  opacity: 0.72;
  transform: translateY(-2px);
}

.site-footer__socials svg {
  width: 31px;
  height: 31px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.site-footer__social-placeholder svg {
  fill: currentColor;
  stroke: none;
}

.site-footer__icon-dot {
  fill: currentColor;
  stroke: none;
}

.site-footer__mark img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  object-position: left center;
  filter: none;
}

@media (max-width: 700px) {
  .site-footer__inner,
  .site-footer__details {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__inner {
    gap: 30px;
  }

  .site-footer__details {
    gap: 18px;
  }

  .site-footer__socials {
    flex-wrap: wrap;
  }

  .site-footer__brand {
    flex-basis: 100%;
    margin: 0 0 8px;
  }
}

@media (max-width: 980px) {
  .contact-section::after {
    display: none;
  }

  .contact-section__inner {
    grid-template-columns: 1fr;
  }

  .contact-section__content {
    width: min(100%, 720px);
  }

  .contact-map {
    width: min(61.6vw, 686px);
    min-height: 0;
    transform: none;
  }

  .contact-map-column__intro {
    width: min(61.6vw, 686px);
    transform: none;
  }
}

@media (max-width: 820px) {
  .contact-map,
  .contact-map-column__intro {
    width: min(78.4vw, 532px);
  }
}

@media (min-width: 981px) and (max-width: 1366px) {
  .contact-form {
    flex: 0 0 auto;
  }

  .contact-section__subheading--follow {
    margin-top: auto;
  }

  .contact-map,
  .contact-map-column__intro {
    width: 82%;
  }
}

/* Mobile layout: intentionally isolated below the phone breakpoint so the
   approved desktop and iPad compositions keep their existing rules. */
.mobile-nav-toggle {
  display: none;
}

@media (max-width: 600px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .mark-stage {
    display: none;
  }

  html.mobile-nav-open {
    overflow: hidden;
  }

  [data-section-label]::before {
    top: 16px;
    left: 18px;
    font-size: 0.58rem;
  }

  .hero {
    height: calc(78px + 56.25vw + clamp(255px, 31svh, 275px));
    min-height: 0;
    background: var(--olive);
  }

  .hero__fallback {
    display: none;
  }

  .hero__video {
    position: fixed;
    inset: 78px 0 auto;
    width: 100vw;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center;
    transform: none;
    background: var(--soil);
    box-shadow: 0 18px 44px rgba(46, 22, 11, 0.28);
  }

  .hero__shade {
    position: fixed;
    inset: 78px 0 auto;
    height: 56.25vw;
    background: linear-gradient(180deg, rgba(46, 22, 11, 0.15), rgba(46, 22, 11, 0.04) 55%, rgba(46, 22, 11, 0.26));
  }

  .site-header {
    top: 0;
    left: 0;
    right: 0;
    min-height: 78px;
    padding: 20px 18px;
    align-items: center;
    gap: 14px;
    background: var(--olive);
  }

  .brand {
    position: absolute;
    top: 50%;
    left: 18px;
    z-index: 2;
    min-width: 0;
    font-size: clamp(1.16rem, 5.5vw, 1.42rem);
    text-align: left;
    white-space: normal;
    transform: translateY(-50%);
  }

  .brand__name {
    display: block;
    width: max-content;
    white-space: nowrap;
  }

  .mobile-nav-toggle {
    position: relative;
    z-index: 3;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 0;
    display: grid;
    place-items: center;
    color: var(--chalk);
    background: transparent;
    font-family: "The Seasons", Georgia, serif;
    font-size: 0.98rem;
    cursor: pointer;
  }

  .mobile-nav-toggle__icon {
    position: relative;
    width: 25px;
    height: 18px;
  }

  .mobile-nav-toggle__icon i {
    position: absolute;
    left: 0;
    width: 25px;
    height: 1px;
    background: currentColor;
    transition: transform 220ms ease, top 220ms ease, opacity 160ms ease;
  }

  .mobile-nav-toggle__icon i:first-child {
    top: 1px;
  }

  .mobile-nav-toggle__icon i:nth-child(2) {
    top: 8px;
  }

  .mobile-nav-toggle__icon i:last-child {
    top: 15px;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    min-width: 0;
    padding: 108px 24px 34px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    background: rgba(46, 22, 11, 0.97);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 220ms ease, transform 260ms ease, visibility 220ms ease;
  }

  .site-nav a {
    width: 100%;
    padding: 15px 0 14px;
    border-bottom: 1px solid rgba(244, 237, 232, 0.2);
    font-size: clamp(1.55rem, 7vw, 2rem);
    line-height: 1;
  }

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

  .site-header.is-nav-open .mobile-nav-toggle__icon i:first-child,
  .site-header.is-nav-open .mobile-nav-toggle__icon i:last-child {
    top: 8px;
  }

  .site-header.is-nav-open .mobile-nav-toggle__icon i:first-child {
    transform: rotate(45deg);
  }

  .site-header.is-nav-open .mobile-nav-toggle__icon i:last-child {
    transform: rotate(-45deg);
  }

  .site-header.is-nav-open .mobile-nav-toggle__icon i:nth-child(2) {
    opacity: 0;
  }

  .hero__lower-content {
    position: absolute;
    inset: calc(78px + 56.25vw) 0 0;
    z-index: 3;
    padding: clamp(28px, 4.5svh, 40px) 18px 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
  }

  .hero__copy {
    position: static;
    inset: auto;
    max-width: none;
    animation: revealCopy 1300ms ease 2400ms both;
  }

  .hero-wordmark__image {
    width: clamp(11rem, 54vw, 13.5rem);
  }

  .hero__mobile-mark {
    position: fixed;
    top: calc(78px + 56.25vw + clamp(28px, 4.5svh, 40px));
    right: 16px;
    z-index: 22;
    display: block;
    width: 112px;
    height: 112px;
    object-fit: contain;
    opacity: 0.58;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .hero__mobile-mark.is-past-open-day {
    visibility: hidden;
    opacity: 0;
  }

  .scroll-cue {
    position: absolute;
    top: clamp(28px, 4.5svh, 40px);
    left: auto;
    right: 56px;
    bottom: auto;
    flex: 0 0 auto;
    width: 30px;
    height: 50px;
    translate: 0 calc(clamp(10.45rem, 51.31vw, 12.83rem) - 50px);
    opacity: 0;
    animation: none;
  }

  .hero.is-video-ended .scroll-cue {
    animation: revealCopy 1000ms ease 250ms both;
  }

  .open-day-section {
    margin-top: 0;
    padding: 0 18px 52px;
    overflow: hidden;
  }

  .open-day-section__tab {
    position: relative;
    top: auto;
    left: auto;
    width: calc(100% + 36px);
    max-width: none;
    height: 76px;
    margin-left: -18px;
    background: var(--pistachio);
    border-bottom: 1px solid rgba(58, 35, 48, 0.24);
    opacity: 1;
    transform: none;
    animation: none;
  }

  .open-day-section__tab-shape {
    display: none;
  }

  .open-day-section__tab-content {
    position: static;
    width: 100%;
    height: 100%;
    max-width: none;
    padding: 0 18px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    text-align: left;
    white-space: nowrap;
    transform: none;
  }

  .open-day-section__tab-title,
  .open-day-section__tab-date {
    font-size: clamp(1.55rem, 7vw, 1.9rem);
  }

  .open-day-section[data-section-label]::before {
    top: 94px;
  }

  .open-day-section__composition {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    padding-top: 28px;
  }

  .open-day-section__display {
    padding-top: 0;
    font-size: clamp(3.25rem, 16vw, 4.35rem);
    line-height: 0.9;
  }

  .open-day-section__accordion-column,
  .open-day-section__details,
  .open-day-section__details details,
  .open-day-section__answer {
    width: 100%;
    min-width: 0;
  }

  .open-day-section__details summary {
    padding: 13px 38px 13px 0;
    font-size: 1.23rem;
    line-height: 1.18;
  }

  .open-day-section__details summary::after {
    right: 5px;
  }

  .open-day-section__answer {
    padding: 2px 0 26px;
    font-size: 1rem;
  }

  .open-day-section__house-rules {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
  }

  .open-day-section__house-rules li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }

  .open-day-section__rule-icon {
    width: 48px;
    height: 48px;
  }

  .open-day-section__rule-icon svg {
    width: 36px;
    height: 36px;
  }

  .open-day-section .open-day-section__program-button {
    width: 100%;
    min-width: 0;
    margin-top: 30px;
    padding-inline: 14px;
    font-size: 0.92rem;
    text-align: center;
  }

  .intro-section,
  .green-section {
    padding: 58px 18px 54px;
  }

  .intro-section {
    padding-top: 30px;
    background: var(--rose);
  }

  .intro-section__inner {
    min-width: 0;
    gap: 32px;
  }

  .section-kicker {
    margin-bottom: 1rem;
    font-size: 1rem;
  }

  .intro-section h2,
  .green-section h2 {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
    line-height: 0.98;
  }

  .intro-section__text p:not(.section-kicker),
  .green-section p:not(.section-kicker) {
    margin-top: 1.35rem;
    font-size: 1.12rem;
    line-height: 1.5;
  }

  .intro-section__text .intro-project-button,
  .green-section .green-project-button {
    min-width: 0;
    width: 100%;
    margin-top: 1.8rem;
  }

  .green-section {
    gap: 34px;
    background: var(--rust);
  }

  .green-section__photo {
    width: 100%;
    border-radius: 28px;
  }

  .green-section__inner {
    width: calc(100% + 36px);
    max-width: none;
    justify-self: stretch;
    margin: 0 -18px -54px;
    padding: 30px 18px 54px;
    background: var(--olive);
  }

  .residents-section {
    height: auto;
    min-height: 0;
    padding: 58px 0 10px;
    background-size: auto 100%;
  }

  .residents-section__intro,
  .residents-carousel {
    top: 0;
  }

  .residents-section__intro {
    padding: 0 22px;
  }

  .residents-section h2 {
    font-size: clamp(2.6rem, 12vw, 3.35rem);
  }

  .residents-section__copy {
    margin-top: 20px;
  }

  .residents-section__copy p {
    font-size: 1.12rem;
    line-height: 1.46;
  }

  .residents-carousel {
    width: 100%;
    margin-top: 10px;
    overflow: hidden;
  }

  .residents-carousel__stage {
    height: 380px;
  }

  .resident-photo {
    top: calc(38% + 25px);
    width: min(49vw, 196px);
    border-radius: 15px;
  }

  .resident-photo__name {
    grid-template-columns: 1.65em max-content;
    gap: 9px;
    padding: 14px 12px 38px;
    font-size: 1.35rem;
  }

  .resident-photo__name .resident-photo__custom-mark {
    width: 1.65em;
    height: 1.65em;
  }

  .resident-photo__story {
    bottom: 20px;
    padding: 12px 14px 11px;
    font-size: 0.76rem;
  }

  .resident-dialog {
    padding: 12px;
    place-items: center;
  }

  .resident-dialog__panel {
    width: calc(100vw - 24px);
    height: auto;
    max-height: calc(100svh - 24px);
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .resident-dialog__close {
    position: fixed;
    top: 22px;
    right: 22px;
  }

  .resident-dialog__media {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .resident-dialog__media img {
    object-position: 72% 40%;
  }

  .resident-dialog__editorial {
    display: block;
    overflow: visible;
  }

  .resident-dialog__lead {
    padding: 28px 22px 24px;
  }

  .resident-dialog__heading {
    gap: 14px;
  }

  .resident-dialog__mark {
    width: 64px;
    height: 64px;
  }

  .resident-dialog__editorial h2 {
    min-width: 0;
    font-size: clamp(2.35rem, 12vw, 3.15rem);
  }

  .resident-dialog__editorial h2 span {
    white-space: normal;
  }

  .resident-dialog__editorial blockquote {
    margin-top: 18px;
    font-size: 1.2rem;
    line-height: 1.25;
  }

  .resident-dialog__story {
    padding: 24px 22px 34px;
    column-count: 1;
    column-gap: 0;
    overflow: visible;
    font-size: 1rem;
    line-height: 1.52;
  }

  .faq-section__content {
    width: 100%;
    min-width: 0;
    padding: 42px 18px 62px;
  }

  .faq-section__inner,
  .faq-section__intro,
  .faq-list,
  .faq-item {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .faq-section__photo,
  .faq-section__photo img {
    height: 650px;
    min-height: 0;
  }

  .faq-section__photo {
    background: var(--rose);
  }

  .faq-section__photo img {
    object-fit: cover;
    object-position: center bottom;
    transform: scale(1.28);
    transform-origin: center bottom;
  }

  .faq-section h2 {
    max-width: 100%;
    font-size: clamp(2.45rem, 11.5vw, 2.85rem);
    line-height: 0.98;
    white-space: normal;
  }

  .faq-section__intro > p:last-child {
    margin-top: 1.25rem;
    font-size: 1.08rem;
    line-height: 1.4;
    white-space: normal;
  }

  .faq-list {
    margin-top: 30px;
  }

  .faq-item summary {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 15px 36px 14px 0;
    font-size: 1.3rem;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .faq-item summary::after {
    right: 4px;
  }

  .faq-item__answer {
    padding: 0 0 24px;
  }

  .faq-item__answer p {
    font-size: 1.04rem;
    line-height: 1.54;
  }

  .contact-section {
    min-height: 0;
    padding: 24px 18px 64px;
  }

  .contact-section__inner {
    gap: 32px;
  }

  .contact-section__content,
  .contact-map-column,
  .contact-map-column__intro,
  .contact-map {
    width: 100%;
    min-width: 0;
  }

  .contact-section__subheading,
  .contact-section h2 {
    font-size: clamp(2.55rem, 12vw, 3.35rem);
  }

  .contact-section__lead {
    margin-top: 1.25rem;
    font-size: 1.08rem;
  }

  .contact-form {
    margin-top: 30px;
  }

  .contact-form .contact-section__button {
    width: 100%;
    margin-top: 8px;
  }

  .contact-section__subheading--follow {
    margin-top: 36px;
  }

  .contact-map-column {
    align-items: stretch;
  }

  .contact-map-column__intro {
    margin-bottom: 28px;
  }

  .contact-map {
    aspect-ratio: 1;
  }

  .contact-map__marker {
    width: 116px;
    height: 116px;
    padding: 15px;
  }

  .contact-map__label {
    right: 12px;
    bottom: 12px;
    min-width: 0;
    max-width: calc(100% - 24px);
    padding: 12px;
  }

  .contact-map__label strong {
    font-size: 1.25rem;
  }

  .contact-photo-section {
    height: 68svh;
    min-height: 480px;
    background-size: auto 115%;
    background-position: 58% bottom;
  }

  .site-footer {
    padding: 28px 18px 36px;
  }

  .site-footer__inner {
    gap: 34px;
  }

  .site-footer__details {
    width: 100%;
    gap: 16px;
  }

  .site-footer__mark {
    transform: translateX(-8px);
  }

  .site-footer address,
  .site-footer p {
    transform: none;
  }

  .site-footer__socials {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    text-align: left;
  }

  .site-footer__brand {
    width: 100%;
    white-space: normal;
  }
}

/* Smartphone landscape: only functional corrections for limited height. */
@media (orientation: landscape) and (max-height: 500px) and (max-width: 950px) {
  .intro-section {
    background: var(--rose);
  }

  .resident-dialog {
    padding: 12px;
  }

  .resident-dialog__panel {
    width: calc(100vw - 24px);
    height: auto;
    max-height: calc(100svh - 24px);
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .resident-dialog__close {
    position: sticky;
    top: 6px;
    right: auto;
    margin-right: 6px;
    margin-bottom: -44px;
    margin-left: auto;
  }

  .resident-dialog__media {
    width: 100%;
    height: min(62svh, 240px);
    min-height: 180px;
  }

  .resident-dialog__editorial {
    display: block;
    overflow: visible;
  }

  .resident-dialog__lead {
    padding: 28px 28px 22px;
  }

  .resident-dialog__story {
    padding: 24px 28px 34px;
    column-count: 1;
    overflow: visible;
    font-size: 1rem;
    line-height: 1.5;
  }

  .faq-section__intro > p:last-child {
    white-space: normal;
  }

  .contact-photo-section {
    height: 100svh;
    min-height: 0;
  }

  .contact-map-column__intro {
    width: min(100%, 720px);
    align-self: flex-start;
    transform: none;
  }

  .site-footer__details {
    display: grid;
    grid-template-columns: max-content max-content;
    grid-template-areas:
      "mark ."
      "address legal";
    column-gap: 48px;
    row-gap: 10px;
    align-items: start;
  }

  .site-footer__mark {
    grid-area: mark;
    transform: translateX(-8px);
  }

  .site-footer address {
    grid-area: address;
  }

  .site-footer p {
    grid-area: legal;
  }

  .site-footer address,
  .site-footer p {
    transform: none;
  }

  .open-day-section__details summary,
  .faq-item summary {
    min-height: 44px;
  }
}

/* Wider intro copy on desktop; approved iPad and mobile layouts stay intact. */
@media (min-width: 1100px) {
  .intro-section__inner {
    width: min(620px, calc(50vw - 56px));
    max-width: none;
    display: block;
  }
}

/* Keep the opening residents sentence complete on iPad and desktop. */
@media (min-width: 701px) {
  .residents-section__intro {
    width: min(100%, 1280px);
    padding-inline: clamp(24px, 3vw, 48px);
  }

  .residents-section__copy {
    width: min(100%, 1180px);
  }

  .residents-section__copy p:first-child {
    white-space: nowrap;
  }
}

@media (max-width: 700px) {
  .resident-photo__shared-person + .resident-photo__shared-person {
    margin-top: -30px;
  }

  .residents-carousel__controls {
    bottom: clamp(20px, 3vh, 28px);
  }
}

/* Mobile layering: long contact content scrolls normally, then stays behind FAQ. */
.project-layer-slot,
.contact-layer-slot {
  display: contents;
}

@media (max-width: 700px) {
  .project-layer-slot,
  .contact-layer-slot {
    position: relative;
    display: block;
  }

  .green-section {
    z-index: 4;
    min-height: 100svh;
  }

  .green-section.is-mobile-layer-ready {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
  }

  .residents-section {
    position: relative;
    z-index: 8;
    box-shadow: 0 -18px 38px rgba(46, 22, 11, 0.13);
  }

  .contact-section.is-mobile-layer-ready {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 8;
    width: 100%;
  }

  .faq-section {
    position: relative;
    z-index: 9;
    box-shadow: 0 -18px 38px rgba(46, 22, 11, 0.13);
  }
}

/* Keep the complete contact panel visible before the FAQ slides over it. */
@media (min-width: 981px) {
  .contact-section {
    padding-block: clamp(42px, 5.5vh, 68px);
  }

  .contact-section__lead {
    margin-top: 1rem;
  }

  .contact-form {
    flex: 0 0 auto;
    margin-top: clamp(18px, 2.5vh, 28px);
  }

  .contact-form input,
  .contact-form textarea {
    margin-bottom: 12px;
    padding-block: 8px 9px;
  }

  .contact-form textarea {
    min-height: 76px;
  }

  .contact-form .contact-section__button {
    margin-top: 14px;
  }

  .contact-section__subheading--follow {
    margin-top: clamp(34px, 4.5vh, 52px);
  }

  .contact-map-column__intro {
    margin-bottom: clamp(18px, 2.5vh, 28px);
  }

  .contact-map {
    width: min(61.6vw, 686px, 56vh);
  }
}

@media (min-width: 701px) and (max-width: 820px) {
  .residents-section__copy p:first-child {
    font-size: 0.9rem;
  }
}

@media (orientation: portrait) and (max-width: 700px) {
  .site-footer__mark {
    transform: none;
  }
}

/* Layered section transitions on desktop. */
@media (min-width: 701px) {
  .green-section,
  .contact-section {
    position: sticky;
    top: 0;
    min-height: 100svh;
  }

  .green-section {
    z-index: 4;
  }

  .residents-section {
    position: relative;
    z-index: 8;
    box-shadow: 0 -24px 58px rgba(46, 22, 11, 0.14);
  }

  .contact-section {
    z-index: 8;
  }

  .faq-section {
    position: relative;
    z-index: 9;
    box-shadow: 0 -24px 58px rgba(46, 22, 11, 0.14);
  }
}
