@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Figtree-Regular-latin.woff2") format("woff2");
}

:root {
  --wine: #6b2733;
  --wine-dark: #441820;
  --wine-soft: #eadcdf;
  --forest: #173b32;
  --forest-soft: #dfe9e4;
  --cream: #f7f2e8;
  --paper: #fffdf8;
  --ink: #251e1b;
  --muted: #685e58;
  --gold: #c79954;
  --line: #d8cdc0;
  --shadow: 0 1.25rem 3rem rgba(49, 31, 24, 0.15);
  --content: 74rem;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

body.menu-is-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--forest);
  border-radius: 0.25rem;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, 0.97);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.25rem;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(19rem, 40vw);
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.desktop-nav a {
  position: relative;
  padding: 0.75rem 0.7rem;
  border-radius: 0.25rem;
  font-family: "Figtree", ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
}

.desktop-nav a:hover {
  color: var(--wine);
  background: var(--cream);
}

.desktop-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0.7rem;
  bottom: 0.25rem;
  left: 0.7rem;
  height: 0.16rem;
  background: var(--wine);
  border-radius: 10rem;
  content: "";
}

.desktop-nav__item {
  position: relative;
  display: flex;
  align-items: center;
}

.desktop-nav__item > a {
  padding-right: 1.65rem;
}

.desktop-nav__item > a::before {
  position: absolute;
  top: 50%;
  right: 0.7rem;
  width: 0.42rem;
  height: 0.42rem;
  border-right: 0.12rem solid currentColor;
  border-bottom: 0.12rem solid currentColor;
  content: "";
  transform: translateY(-65%) rotate(45deg);
}

.desktop-subnav {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  min-width: 14rem;
  padding: 0.45rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.3rem;
  box-shadow: var(--shadow);
}

.desktop-nav__item:hover .desktop-subnav,
.desktop-nav__item:focus-within .desktop-subnav {
  display: grid;
}

.desktop-subnav a {
  padding: 0.55rem 0.75rem;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.8rem;
  min-height: 3rem;
  padding: 0.55rem 0.5rem 0.55rem 0.85rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 0.25rem;
  cursor: pointer;
  font: inherit;
  font-family: "Figtree", ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
}

.menu-toggle:hover {
  background: var(--cream);
}

.menu-toggle__icon {
  position: relative;
  width: 1.65rem;
  height: 1.2rem;
}

.menu-toggle__icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 0.14rem;
  background: currentColor;
  border-radius: 1rem;
  transition: transform 180ms ease, top 180ms ease, opacity 140ms ease;
}

.menu-toggle__icon span:nth-child(1) { top: 0; }
.menu-toggle__icon span:nth-child(2) { top: 0.52rem; }
.menu-toggle__icon span:nth-child(3) { top: 1.04rem; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(1) { top: 0.52rem; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(3) { top: 0.52rem; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 5.25rem 0 0;
  overflow-y: auto;
  color: #fff;
  background: var(--wine-dark);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu__inner {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(2rem, 7vh, 4rem) 1.5rem max(2rem, env(safe-area-inset-bottom));
}

.mobile-menu__heading {
  margin: 0 0 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mobile-nav {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: center;
  min-height: 3.7rem;
  padding: 0.65rem 0;
  color: #fff;
  font-family: "Figtree", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  text-decoration: none;
}

.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 0.15rem;
  text-underline-offset: 0.35rem;
}

.mobile-nav__icon {
  width: 1.8rem;
  height: 1.8rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.mobile-subnav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1rem;
  margin: -0.25rem 0 0.55rem 2.6rem;
  padding: 0 0 0 1rem;
  border-left: 2px solid rgba(255, 255, 255, 0.28);
  list-style: none;
}

.mobile-subnav a {
  display: block;
  min-height: 0;
  padding: 0.35rem 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
}

.hero {
  position: relative;
  min-height: min(45rem, calc(100vh - 5.25rem));
  overflow: hidden;
  color: #fff;
  background: var(--forest);
}

.hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 35, 29, 0.9) 0%, rgba(16, 35, 29, 0.65) 45%, rgba(16, 35, 29, 0.08) 76%);
  content: "";
}

.hero__picture {
  display: contents;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: inherit;
  align-items: center;
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) 1.5rem;
}

.hero__content {
  max-width: 43rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.7rem);
  font-weight: 600;
}

.lede {
  max-width: 39rem;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.1rem, 2vw, 1.32rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 0.2rem;
  font-weight: 800;
  text-decoration: none;
}

.button--primary {
  color: var(--wine-dark);
  background: var(--gold);
}

.button--secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}

.button:hover {
  transform: translateY(-0.08rem);
}

.intro-strip {
  color: #fff;
  background: var(--wine);
}

.intro-strip__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
}

.intro-strip h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.intro-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.section {
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 1.5rem;
}

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

.section-heading h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.1rem);
}

.section-heading p {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  overflow: hidden;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  text-decoration: none;
}

.feature-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-card__body {
  padding: 1.35rem;
}

.feature-card h3 {
  margin: 0;
  color: var(--wine-dark);
  font-size: 1.55rem;
}

.feature-card p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-0.2rem);
}

.page-hero {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.72fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7rem) 1.5rem;
}

.page-hero__inner--text {
  grid-template-columns: minmax(0, 48rem);
}

.page-hero h1 {
  max-width: 15ch;
  color: var(--wine-dark);
  font-size: clamp(2.8rem, 7vw, 5.7rem);
}

.page-hero .lede {
  color: var(--muted);
}

.page-hero__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.35rem;
  box-shadow: var(--shadow);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.breadcrumbs a {
  text-underline-offset: 0.18em;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.36fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}

.prose {
  max-width: 48rem;
}

.prose h2 {
  margin: 3.2rem 0 1rem;
  color: var(--wine-dark);
  font-size: clamp(2rem, 4vw, 3rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 2rem 0 0.7rem;
  color: var(--forest);
  font-size: 1.45rem;
}

.prose p,
.prose li {
  max-width: 70ch;
}

.prose p {
  margin: 0 0 1.2rem;
}

.prose ul {
  padding-left: 1.3rem;
}

.notice {
  margin-bottom: 2rem;
  padding: 1rem 1.1rem;
  color: var(--wine-dark);
  background: var(--wine-soft);
  border-left: 0.28rem solid var(--wine);
}

.notice p {
  margin: 0;
}

.aside-card {
  position: sticky;
  top: 7rem;
  padding: 1.5rem;
  background: var(--forest);
  color: #fff;
  border-radius: 0.35rem;
}

.aside-card h2,
.aside-card h3 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.aside-card p {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.8);
}

.aside-card .aside-card__number {
  margin-top: 0.35rem;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
}

.aside-card a {
  text-underline-offset: 0.2em;
}

.youth-history-layout {
  grid-template-columns: minmax(0, 1.65fr) minmax(19rem, 0.8fr);
  gap: clamp(2.5rem, 6vw, 5rem);
}

.history-copy {
  max-width: none;
}

.history-copy p {
  margin-bottom: 1.7rem;
}

.history-copy h3 {
  margin-top: 2.8rem;
}

.history-copy h2 + h3 {
  margin-top: 1.5rem;
}

.board-card {
  align-self: start;
}

.board-card h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.board-card h3 {
  margin-top: 1.6rem;
  font-size: 1.2rem;
}

.board-card h2 + h3 {
  margin-top: 0;
}

.board-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.board-card li + li {
  margin-top: 0.3rem;
}

.info-grid,
.contact-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.info-card,
.contact-card,
.price-card {
  padding: 1.4rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
}

.info-card h2,
.info-card h3,
.contact-card h2,
.contact-card h3,
.price-card h2,
.price-card h3 {
  margin: 0;
  color: var(--wine-dark);
  font-size: 1.4rem;
}

.info-card p,
.contact-card p,
.price-card p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.contact-card a {
  color: var(--wine);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-card address {
  display: grid;
  gap: 0.15rem;
  margin-top: 0.75rem;
  color: var(--muted);
  font-style: normal;
}

.price-card strong {
  display: block;
  margin-top: 0.5rem;
  color: var(--forest);
  font-size: 1.35rem;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.room-card {
  display: grid;
  grid-template-columns: minmax(8rem, 0.75fr) 1fr;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  text-decoration: none;
}

.room-card img {
  width: 100%;
  height: 100%;
  min-height: 13rem;
  object-fit: cover;
}

.room-card__body {
  padding: 1.25rem;
}

.room-card h3 {
  margin: 0;
  color: var(--wine-dark);
  font-size: 1.45rem;
}

.room-card p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.section.house-sections {
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.house-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.85fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
  padding: clamp(3rem, 6vw, 5rem) max(1.5rem, calc((100% - var(--content)) / 2 + 1.5rem));
  border-top: 1px solid var(--line);
  scroll-margin-top: 5.5rem;
}

.house-section:nth-child(even) {
  background: var(--cream);
}

.house-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.house-section--text {
  grid-template-columns: minmax(0, 48rem);
}

.house-section__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.35rem;
  box-shadow: var(--shadow);
}

.house-section__picture {
  display: block;
  min-width: 0;
}

.house-section__picture .house-section__image {
  display: block;
}

.house-section__gallery {
  grid-column: 1 / -1;
}

.room-gallery {
  min-width: 0;
  margin-top: 2rem;
}

.room-gallery__header {
  margin-bottom: 1rem;
}

.room-gallery__header h3 {
  margin: 0;
  color: var(--wine-dark);
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.room-gallery__controls {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}

.room-gallery__controls[hidden] {
  display: none;
}

.room-gallery__viewport {
  position: relative;
  min-width: 0;
}

.room-gallery__control {
  position: absolute;
  top: 42%;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  transform: translateY(-50%);
  place-items: center;
  color: var(--wine-dark);
  background: transparent;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}

.room-gallery__control span {
  display: block;
  width: 1rem;
  height: 1rem;
  border: solid currentColor;
  border-width: 0 0.32rem 0.32rem 0;
  filter: drop-shadow(0 0 0.08rem #fff) drop-shadow(0 0 0.14rem #fff);
}

.room-gallery__control[data-gallery-prev] {
  left: 0.5rem;
}

.room-gallery__control[data-gallery-prev] span {
  transform: rotate(135deg);
}

.room-gallery__control[data-gallery-next] {
  right: 0.5rem;
}

.room-gallery__control[data-gallery-next] span {
  transform: rotate(-45deg);
}

.room-gallery__control:hover:not(:disabled) {
  color: var(--wine);
}

.room-gallery__control:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.room-gallery__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 4rem) / 5);
  gap: 1rem;
  overflow-x: auto;
  padding: 0.2rem 0 0.8rem;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--wine) var(--cream);
  scrollbar-width: thin;
}

.room-gallery__track figure {
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
}

.room-gallery__thumb {
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  cursor: zoom-in;
}

.room-gallery__picture {
  display: block;
}

.room-gallery__thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 180ms ease;
}

.room-gallery__thumb:hover img {
  transform: scale(1.035);
}

.room-gallery figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.image-lightbox {
  width: min(94vw, 100rem);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
}

.image-lightbox::backdrop {
  background: rgba(12, 22, 18, 0.88);
  backdrop-filter: blur(0.18rem);
}

.image-lightbox__inner {
  position: relative;
  display: grid;
  min-height: 12rem;
  place-items: center;
  gap: 0.75rem;
}

.image-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: #111;
  border-radius: 0.35rem;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.45);
}

.image-lightbox__close {
  position: absolute;
  z-index: 1;
  top: 0.75rem;
  right: 0.75rem;
  display: inline-grid;
  width: 3rem;
  height: 3rem;
  padding: 0;
  place-items: center;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font: inherit;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox__close span {
  position: relative;
  display: block;
  width: 1.85rem;
  height: 1.85rem;
  filter: drop-shadow(0 0 0.12rem rgba(0, 0, 0, 0.95));
}

.image-lightbox__close span::before,
.image-lightbox__close span::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 0.28rem;
  content: "";
  background: currentColor;
  border-radius: 0.14rem;
}

.image-lightbox__close span::before {
  transform: translateY(-50%) rotate(45deg);
}

.image-lightbox__close span::after {
  transform: translateY(-50%) rotate(-45deg);
}

.image-lightbox__close:hover {
  color: #f4d7dd;
}

.image-lightbox__caption {
  margin: 0;
  padding: 0.35rem 0.75rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 0.25rem;
  font-size: 0.95rem;
  text-align: center;
}

.lightbox-is-open {
  overflow: hidden;
}

.room-card:hover {
  box-shadow: var(--shadow);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.35rem;
}

.gallery figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.timeline {
  display: grid;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.timeline__item {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

.timeline__year {
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.timeline__item p {
  margin: 0;
}

.location-section {
  scroll-margin-top: 5.5rem;
  background: var(--forest-soft);
  border-top: 1px solid #bccfc5;
}

.map-frame {
  overflow: hidden;
  background: #d8e4de;
  border: 1px solid #afc5ba;
  border-radius: 0.35rem;
  box-shadow: var(--shadow);
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 32rem;
  border: 0;
}

.map-frame iframe[hidden],
.map-consent-placeholder[hidden] {
  display: none;
}

.map-consent-placeholder {
  display: grid;
  min-height: 32rem;
  place-content: center;
  justify-items: center;
  padding: 2rem;
  text-align: center;
  background: var(--forest-soft);
}

.map-consent-placeholder p {
  max-width: 34rem;
  margin: 0 0 1.25rem;
  color: var(--forest);
  font-weight: 750;
}

.map-consent-placeholder .button--secondary {
  color: var(--wine-dark);
  background: var(--paper);
  border-color: var(--wine);
}

.map-link {
  margin: 1rem 0 0;
  color: var(--forest);
  font-weight: 800;
}

.map-link a {
  text-underline-offset: 0.25em;
}

.empty-state {
  max-width: 46rem;
  padding: clamp(2rem, 6vw, 4rem);
  background: var(--forest-soft);
  border: 1px solid #bccfc5;
  border-radius: 0.35rem;
}

.empty-state h2 {
  margin: 0;
  color: var(--forest);
  font-size: clamp(2rem, 4vw, 3rem);
}

.empty-state p {
  margin: 1rem 0 0;
  color: #3d544d;
}

.site-footer {
  color: #fff;
  background: var(--forest);
  font-family: "Figtree", ui-sans-serif, system-ui, sans-serif;
}

.site-footer strong {
  font-weight: 600;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(8rem, 0.75fr) minmax(10rem, 0.9fr) minmax(7rem, 0.6fr) minmax(13rem, 1.2fr) minmax(12rem, 1fr);
  gap: clamp(1.5rem, 2.5vw, 3rem);
  align-items: start;
  max-width: 90rem;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) 1.5rem 2.5rem;
}

.footer-section {
  min-width: 0;
}

.footer-section h2 {
  margin: 0 0 0.9rem;
  color: #fff;
  font-family: inherit;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
}

.footer-logo-section .footer-logo {
  display: block;
  width: min(10.5rem, 48vw);
  height: auto;
  aspect-ratio: 1;
}

.site-footer .footer-details__line {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.footer-details__line strong,
.footer-details__line span {
  display: block;
  white-space: nowrap;
}

.footer-details__line strong {
  color: #fff;
}

.footer-nav ul {
  display: grid;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.footer-nav a:hover,
.footer-nav a:focus-visible {
  text-decoration: underline;
}

.footer-map-link {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.35rem;
  box-shadow: 0 0.8rem 1.8rem rgba(0, 0, 0, 0.16);
}

.footer-map-link img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  transition: transform 180ms ease;
}

.footer-map-link:hover img {
  transform: scale(1.025);
}

.footer-contact a {
  overflow-wrap: anywhere;
}

.site-footer p {
  margin: 0.3rem 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  text-underline-offset: 0.2em;
}

.footer-link-button {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  justify-content: center;
  max-width: var(--content);
  margin: 0 auto;
  padding: 1.25rem 1.5rem 1.6rem;
  color: rgba(255, 255, 255, 0.82);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.site-footer__legal a,
.site-footer__legal .footer-link-button {
  font-size: 0.875rem;
  text-decoration: none;
}

.facebook-link {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  color: #fff;
  font-weight: 400;
  text-decoration: none;
}

.facebook-link:hover,
.facebook-link:focus-visible {
  text-decoration: none;
}

.facebook-link__icon {
  display: block;
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.38rem;
}

.site-footer .footer-facebook {
  margin-top: 1.5rem;
}

.cookie-banner {
  position: fixed;
  z-index: 200;
  right: 0;
  bottom: 0;
  left: 0;
  max-height: 90vh;
  overflow-y: auto;
  color: var(--ink);
  background: #f1e5c8;
  border-top: 0.25rem solid var(--wine-dark);
  box-shadow: 0 -1rem 2.5rem rgba(37, 30, 27, 0.2);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  max-width: var(--content);
  margin: 0 auto;
  padding: 1.5rem;
}

.cookie-banner__copy p {
  max-width: 54rem;
  margin: 0;
}

.cookie-banner__copy p + p {
  margin-top: 0.55rem;
}

.cookie-banner__copy a {
  font-weight: 750;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-banner__button {
  min-height: 3.25rem;
  padding: 0.75rem 1.15rem;
  color: var(--wine-dark);
  background: var(--paper);
  border: 1px solid #dfd1b0;
  border-radius: 0.25rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cookie-banner__button:hover {
  background: #fff;
  border-color: var(--wine);
}

:focus-visible {
  outline: 0.2rem solid #e7b24a;
  outline-offset: 0.2rem;
}

@media (max-width: 68rem) {
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand { width: min(16rem, 55vw); }
  .hero::after { background: linear-gradient(90deg, rgba(16, 35, 29, 0.9), rgba(16, 35, 29, 0.42)); }
  .intro-strip__inner { grid-template-columns: 1fr; gap: 1rem; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 1rem; }
  .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero__image { max-width: 42rem; }
  .content-layout { grid-template-columns: 1fr; }
  .house-section { grid-template-columns: 1fr; }
  .house-section__image { max-width: 54rem; }
  .house-section__picture { max-width: 54rem; }
  .room-gallery__track { grid-auto-columns: calc((100% - 2rem) / 3); }
  .aside-card { position: static; }
  .room-grid { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cookie-banner__inner { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (max-width: 44rem) {
  .header-inner { min-height: 4.5rem; padding: 0 1rem; }
  .mobile-menu { inset: 4.5rem 0 0; }
  .mobile-menu__inner { padding: 1rem; }
  .hero { min-height: 39rem; }
  .hero__inner, .section, .intro-strip__inner { padding-right: 1rem; padding-left: 1rem; }
  .house-section { padding-right: 1rem; padding-left: 1rem; }
  .hero::after { background: linear-gradient(0deg, rgba(16, 35, 29, 0.94), rgba(16, 35, 29, 0.35)); }
  .hero__image { object-position: 30% center; }
  .hero__inner { align-items: end; padding-bottom: 4rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .info-grid, .contact-grid, .price-grid, .gallery { grid-template-columns: 1fr; }
  .room-gallery__track { grid-auto-columns: calc((100% - 1rem) / 2); }
  .room-card { grid-template-columns: 1fr; }
  .room-card img { min-height: auto; aspect-ratio: 16 / 10; }
  .timeline__item { grid-template-columns: 1fr; gap: 0.35rem; }
  .map-frame iframe, .map-consent-placeholder { min-height: 23rem; }
  .site-footer__inner { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 2rem 1.25rem; }
  .footer-logo-section .footer-logo { width: min(8rem, 100%); }
  .footer-nav-section, .footer-location { display: none; }
  .footer-contact { grid-column: 1 / -1; }
  .site-footer__legal { padding-right: 1rem; padding-left: 1rem; }
  .cookie-banner__inner { padding: 1rem; }
  .cookie-banner__actions { display: grid; grid-template-columns: 1fr; }
  .cookie-banner__button { width: 100%; }
}

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


.site-footer .footer-contact-action {
  margin: 0;
}

.site-footer .footer-contact-button {
  color: #fff;
  background: var(--wine);
}

.site-footer .footer-contact-button:hover,
.site-footer .footer-contact-button:focus-visible {
  color: #fff;
  background: var(--wine-dark);
}
