@import url('./assets/fonts.css');

@font-face {
  font-family: 'Marck Script';
  src: url('./assets/marck-script-regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #171a16;
  --deep: #11140f;
  --surface: #20241c;
  --text: #f3f2e9;
  --muted: #bbbeae;
  --accent: #d8e79d;
  --line: #383e32;
  --gutter: clamp(1.15rem, 4vw, 4.5rem);
  --max: 88rem;
  --site-header-height: 5.3rem;
  --site-logo-overhang: 4.9rem;
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  background: var(--bg);
  color: var(--text);
  hyphens: none;
  scroll-padding-top: var(--site-header-height);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; width: 100%; height: auto; }
picture { display: contents; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, iframe:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
button { cursor: pointer; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.045em; line-height: 1.06; }
::selection { background: var(--accent); color: var(--deep); }
[hidden] { display: none !important; }

.wrap { width: min(100%, var(--max)); padding-inline: var(--gutter); margin-inline: auto; }
.section { padding-block: clamp(2.8rem, 5.5vw, 5.4rem); }
.section-heading { font-size: clamp(1.6rem, 3.1vw, 2.95rem); font-weight: 600; letter-spacing: -.042em; line-height: 1.1; text-wrap: balance; margin-bottom: clamp(.9rem, 2vw, 1.6rem); }
.prose { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.76; }
.prose, .location-intro { text-align: justify; text-justify: inter-word; word-spacing: normal; letter-spacing: normal; }
.prose p + p, .prose ul + p { margin-top: 1.15rem; }
.prose h2, .prose h3, .prose h4 { color: var(--text); line-height: 1.15; margin-block: 2.4rem 1rem; font-size: clamp(1.4rem, 2.7vw, 2.2rem); text-align: start; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: .25em; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 1rem 0; }
.prose li { padding-left: .35rem; margin-block: .75rem; }
.prose img { max-width: 100%; width: auto; margin-block: 1.35rem; }
.prose iframe { width: 100%; }

.site-header { border-bottom: 1px solid var(--line); background: var(--deep); position: sticky; top: 0; z-index: 2; }
.header-inner { min-height: var(--site-header-height); display: flex; align-items: center; justify-content: space-between; gap: clamp(1rem, 1.55vw, 1.5rem); }
.brand { display: inline-flex; align-items: center; width: fit-content; }
.brand-art { display: block; position: relative; width: 5.5rem; aspect-ratio: 1130 / 838; }
.brand-art img, .brand-structure { position: absolute; inset: 0; width: 100%; height: 100%; }
.brand-roof, .brand-name { filter: brightness(0) invert(1); }
/* The building, window and lettering occupy separate regions of the original PNG. */
.brand-roof { clip-path: polygon(0 0, 100% 0, 100% 43%, 66% 43%, 66% 20%, 51% 20%, 51% 43%, 1.5% 43%, 1.5% 96%, 0 96%); }
.brand-window { clip-path: inset(20% 34% 57% 51%); }
.brand-name { clip-path: inset(47% 0 25% 3%); }
.brand-subtitle { clip-path: inset(77% 0 0 3%); }
.site-header .brand-art { --logo-duration: 1.3s; --logo-easing: cubic-bezier(.25, .65, .4, 1); }
.js .site-header .brand-structure { clip-path: inset(0 100% 0 0); }
.js .site-header .brand-art :is(.brand-name, .brand-subtitle) { opacity: 0; }
.js .site-header .brand-art.is-ready .brand-structure { animation: build-logo var(--logo-duration) var(--logo-easing) both; }
.js .site-header .brand-art.is-ready :is(.brand-name, .brand-subtitle) { animation: reveal-logo-text var(--logo-duration) var(--logo-easing) both; }
.header-inner > .brand {
  --brand-width: 5.5rem;
  --badge-width: 11.4rem;
  --badge-height: 10.1rem;
  --badge-left: -.65rem;
  --badge-top: -.62rem;
  --logo-width: 9.24rem;
  --logo-left: .38rem;
  --logo-top: 1.05rem;
  --badge-scale: 1;
  --badge-opacity: 1;
  position: relative;
  z-index: 1;
  flex: none;
  width: var(--brand-width);
  /* Reserve the width of the hanging panel while the logo animates and retracts. */
  margin-inline-end: calc(var(--badge-width) + var(--badge-left) - var(--brand-width));
  aspect-ratio: 1130 / 838;
}
.header-inner > .brand::before {
  content: '';
  position: absolute;
  top: var(--badge-top);
  left: var(--badge-left);
  width: var(--badge-width);
  height: var(--badge-height);
  border: 1px solid #d8e79d35;
  border-top: 0;
  border-radius: 0 0 .9rem .9rem;
  background: linear-gradient(165deg, #1c2217df, #121810ad);
  backdrop-filter: blur(4px);
  box-shadow: 0 .6rem 1.7rem #0004;
  pointer-events: none;
  opacity: var(--badge-opacity);
  transform: scaleY(var(--badge-scale));
  transform-origin: top;
  transition: opacity .24s ease, transform .35s cubic-bezier(.22, .7, .3, 1);
}
.header-inner > .brand .brand-art {
  position: absolute;
  left: var(--logo-left);
  top: var(--logo-top);
  width: var(--logo-width);
  transition: width .35s ease, left .35s ease, top .35s ease;
}
.site-header.is-compact .header-inner > .brand {
  --logo-width: var(--brand-width);
  --logo-left: 0rem;
  --logo-top: 0rem;
  --badge-scale: .44;
  --badge-opacity: 0;
}
@keyframes build-logo {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0); }
}
@keyframes reveal-logo-text {
  from { opacity: 0; transform: translateY(.28rem); }
  to { opacity: 1; transform: translateY(0); }
}
.site-nav { --nav-gap: clamp(.75rem, 1.05vw, 1.2rem); display: flex; flex: none; gap: var(--nav-gap); align-items: center; }
.site-nav a { position: relative; font-size: clamp(.77rem, .95vw, .79rem); font-weight: 550; white-space: nowrap; color: var(--muted); transition: color .2s; }
.site-nav a + a::before { content: ''; position: absolute; top: 50%; left: calc(var(--nav-gap) / -2); width: 1px; height: .95rem; transform: translateY(-50%); background: #626b56; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--accent); }
.site-nav a[aria-current='page']:not(.nav-contact)::after { content: ''; position: absolute; height: 1px; background: var(--accent); bottom: -.5rem; left: 0; right: 0; }
.site-nav .nav-contact { border: 1px solid #646f51; padding: .7rem .92rem; border-radius: .2rem; color: var(--accent); }
.site-nav .nav-contact:hover, .site-nav .nav-contact[aria-current='page'] { background: var(--accent); color: var(--deep); }
.language-switch { display: flex; flex: none; align-items: center; gap: .15rem; padding: .18rem; border: 1px solid var(--line); border-radius: .4rem; }
.site-nav .language-switch a { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .5rem; border: 0; border-radius: .27rem; font-size: .71rem; line-height: 1; }
.site-nav .language-switch a[aria-current='page'] { background: var(--surface); color: var(--accent); }
.site-nav .language-switch a:is(:hover, :focus-visible) { background: var(--surface); }
.site-nav .language-switch a::before, .site-nav .language-switch a[aria-current='page']::after { display: none; }
.language-flag { width: 1.2rem; height: .75rem; flex: none; border-radius: .14rem; background-size: cover; box-shadow: 0 0 0 1px #ffffff24; }
.flag-bg { background-image: url('./assets/flag-bg.svg'); }
.flag-en { background-image: url('./assets/flag-en.svg'); }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: .2rem; background: none; width: 2.75rem; height: 2.75rem; place-items: center; }
.menu-toggle span { width: 1rem; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; height: .48rem; }

.hero { isolation: isolate; position: relative; min-height: min(46rem, max(34rem, 65svh)); display: flex; align-items: end; background: #303629; overflow: hidden; }
.hero-photo, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { object-fit: cover; object-position: 50% 49%; z-index: -2; }
.hero::after { content: ''; background: linear-gradient(0deg, #11170ee8 0%, #11170e35 46%, transparent 73%), linear-gradient(90deg, #10150e76, transparent 73%); z-index: -1; }
.hero-content { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding-block: 4rem clamp(2.7rem, 6.3vw, 6rem); }
.hero h1 { font-size: clamp(3.05rem, 6.65vw, 6.85rem); font-weight: 620; letter-spacing: -.058em; line-height: .96; text-wrap: balance; text-transform: uppercase; }
.hero-copy { min-width: 0; }
.hero-tagline { color: #e8edc9; width: fit-content; padding-right: .15em; margin-top: .55rem; font: 400 clamp(1.95rem, 4.35vw, 4.2rem) / 1.18 'Marck Script', cursive; text-shadow: 0 2px 12px #11140fa8; animation: write-tagline 1.6s cubic-bezier(.22,.61,.36,1) .25s both; }
@keyframes write-tagline {
  from { clip-path: inset(-12% 100% -18% -4%); opacity: .35; transform: translateY(.15em); }
  to { clip-path: inset(-12% -4% -18% -4%); opacity: 1; transform: translateY(0); }
}
.video-link { display: inline-flex; gap: .8rem; align-items: center; font-size: .88rem; font-weight: 600; white-space: nowrap; width: fit-content; }
.play { width: 3.25rem; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid #eef2dd9e; border-radius: 50%; color: var(--accent); background: #11170e44; transition: background .2s, color .2s; flex: none; }
.play::before { content: ''; width: 0; height: 0; border-top: .34rem solid transparent; border-bottom: .34rem solid transparent; border-left: .55rem solid currentColor; transform: translateX(.08rem); }
.video-link:hover .play { color: var(--deep); background: var(--accent); }

.benefits { border-bottom: 1px solid var(--line); background: var(--deep); }
.benefit-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line); }
.benefit-grid li { min-height: 9.5rem; display: flex; flex-direction: column; align-items: center; gap: .7rem; padding: 1.25rem .65rem; background: var(--deep); text-align: center; font-size: .82rem; font-weight: 600; line-height: 1.4; }
.benefit-grid li:first-child { padding-inline: .3rem; }
.benefit-grid li:first-child > span { white-space: nowrap; font-size: .78rem; }
.benefit-icon { width: 3.4rem; height: 3.4rem; flex: none; }
.benefit-grid strong { color: var(--accent); font-size: 1rem; }
.benefit-grid sup { font-size: .68em; line-height: 0; }
.icon-square { width: .7rem; height: .7rem; flex: none; border: 1px solid var(--accent); transform: rotate(45deg); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.8rem); }
.house-card { position: relative; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: .85rem; overflow: hidden; transition: border-color .2s ease; }
.house-card:is(:hover, :focus-within) { border-color: var(--accent); }
.card-photo { display: block; overflow: hidden; }
.card-photo img { aspect-ratio: 1.58; object-fit: cover; transition: transform .35s ease; }
.card-photo:is(:hover, :focus-visible) img { transform: scale(1.04); }
.card-body { padding: clamp(1rem, 2.2vw, 1.65rem); }
.card-body h3 { font-size: clamp(1.18rem, 1.75vw, 1.5rem); }
.card-body a:hover { color: var(--accent); }
.category { display: inline-block; margin-top: .55rem; font-size: .88rem; color: var(--muted); }
.house-specs { display: flex; flex-wrap: wrap; gap: .4rem .7rem; list-style: none; padding: 0; margin: 1.1rem 0 0; font-size: .76rem; color: var(--muted); }
.house-specs li + li { border-left: 1px solid #4e5646; padding-left: .65rem; }
.arrow-link::after { content: '↗'; font-size: 1.2rem; line-height: 1; }
.arrow-link { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.arrow-link::after { color: var(--accent); }
.split { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6.5rem); align-items: center; }
.split-photo { border-radius: .25rem; overflow: hidden; }
.split-photo img { aspect-ratio: 1.13; object-fit: cover; }
.split .section-heading { margin-bottom: 1.35rem; }
.tint { background: var(--deep); }
.contact-panel { border: 1px solid var(--line); background: var(--surface); padding: clamp(1.4rem, 3.3vw, 3rem); border-radius: 1rem; scroll-margin-top: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-grid .field-wide { grid-column: 1 / -1; }
.contact-form label { display: block; min-width: 0; }
.field-label { display: block; color: var(--text); font-size: .85rem; font-weight: 550; margin-bottom: .45rem; }
.required-mark { color: var(--accent); }
input, textarea { width: 100%; color: var(--text); border: 1px solid #4b5542; border-radius: .2rem; background: var(--deep); padding: .95rem 1rem; }
.contact-form :is(input, textarea) { border-radius: .5rem; }
textarea { min-height: 8rem; resize: vertical; display: block; }
input::placeholder, textarea::placeholder { color: #acb0a0; opacity: 1; }
.form-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: end; margin-top: 1.15rem; }
.form-check { width: min(100%, 7rem); }
.form-actions .button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; border-radius: 2rem; }
.contact-form-status:not(:empty) { margin-top: 1rem; color: var(--accent); }
.contact-form-status.is-error { color: #f3bdab; }
.form-privacy-note { margin-top: 1rem; color: var(--muted); font-size: .85rem; line-height: 1.6; }
.form-privacy-note a, .footer-legal a { text-decoration: underline; text-underline-offset: .2em; }
.footer-legal { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.privacy-copy { max-width: 76ch; margin-inline: auto; }
.privacy-copy > section + section { margin-top: 2.5rem; }
.privacy-copy .section-heading { margin-bottom: 1rem; }
.contact-form button:disabled { opacity: .65; cursor: wait; }
.button { border: 1px solid var(--accent); border-radius: .2rem; background: var(--accent); color: var(--deep); font-weight: 700; padding: .95rem 1.35rem; }
.button:hover { background: #eef5cc; }
.field-error { display: block; margin-top: .45rem; color: #ffd5be; font-size: .82rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.site-inner { --page-heading-space: clamp(1.5rem, 3vw, 2.5rem); }
.site-inner > main { padding-top: calc(var(--site-logo-overhang) - var(--page-heading-space) + .85rem); }
.page-heading { padding-block: var(--page-heading-space) clamp(1.25rem, 2.4vw, 2rem); }
.page-heading-inline { padding-block: 0; }
.page-title {
  display: flex;
  align-items: center;
  gap: clamp(.8rem, 2.25vw, 2rem);
  font-size: clamp(1.42rem, 2.78vw, 2.32rem);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.page-title-content { min-width: 0; text-transform: uppercase; }
.page-title::after {
  content: '';
  flex: 1 0 2rem;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--line) 85%);
  transform-origin: left;
}
.page-title-content:has(.house-selection:not([hidden])) { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1rem; }
.house-selection { display: inline-block; padding: .35em .65em; border: 1px solid #d8e79d56; border-radius: .4rem; color: var(--accent); background: #d8e79d10; font-size: .55em; letter-spacing: 0; text-transform: none; }
.house-selection[hidden] { display: none; }
.page-heading + .section { padding-top: 0; }
.site-inner .section-heading {
  padding-inline-start: .65rem;
  border-inline-start: 2px solid #d8e79d78;
  font-size: clamp(1.18rem, 1.9vw, 1.55rem);
  letter-spacing: -.025em;
  line-height: 1.2;
}
.feature-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); padding: 0; border: 1px solid var(--line); margin: 1.5rem 0 0; }
.feature-grid li { display: flex; gap: .8rem; align-items: center; padding: 1rem; background: var(--surface); font-size: .9rem; line-height: 1.38; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.7rem; }
.stats div { border-top: 1px solid var(--line); padding-top: 1rem; }
.stats dt { color: var(--muted); margin-top: .3rem; font-size: .85rem; }
.stats dd { color: var(--accent); font-size: 2.2rem; font-weight: 650; letter-spacing: -.07em; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.gallery-link { position: relative; display: block; overflow: hidden; border-radius: .22rem; background: var(--surface); }
.gallery-link img { object-fit: cover; aspect-ratio: 1.52; transition: opacity .2s; }
.gallery-link:hover img { opacity: .8; }
.gallery-link::after { content: '+'; display: grid; place-items: center; position: absolute; right: .65rem; bottom: .65rem; width: 1.9rem; height: 1.9rem; border: 1px solid #ebf1d88f; border-radius: 50%; color: var(--text); background: #11140f92; }
.gallery-link:hover::after { background: var(--accent); color: var(--deep); }
.gallery-caption { position: absolute; inset: auto 0 0; padding: .7rem 3rem .7rem .75rem; background: #11140fdc; font-size: .85rem; color: var(--text); opacity: 0; transition: opacity .2s; }
.gallery-link:hover .gallery-caption, .gallery-link:focus-visible .gallery-caption { opacity: 1; }
.gallery-wide { grid-column: 1 / -1; }
.gallery-wide img { aspect-ratio: 2.1; }
.newsletter { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 1.5rem; }
.newsletter .section-heading { margin: 0; }
.newsletter form { display: flex; align-items: stretch; gap: .55rem; }
.newsletter button::after { content: '↗'; }
.wide-video { position: relative; display: grid; place-items: center; min-height: 19rem; padding: 2rem; isolation: isolate; overflow: hidden; text-align: center; background: var(--surface); }
.wide-video img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; z-index: -2; }
.wide-video::after { content: ''; position: absolute; inset: 0; background: #11140fa3; z-index: -1; }
.wide-video h2 { font-size: clamp(1.25rem, 2.1vw, 1.65rem); max-width: 30ch; text-wrap: balance; margin-inline: auto; margin-bottom: 1.35rem; }

.detail-top { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); align-items: start; gap: clamp(1.2rem, 4vw, 4.2rem); }
.detail-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.detail-gallery .gallery-link:not(.gallery-wide) img { object-fit: cover; }
.detail-panel { padding: clamp(1.2rem, 3.3vw, 2.3rem); border: 1px solid var(--line); background: var(--surface); }
.house-viewing { display: inline-block; margin-top: 1.2rem; font-size: .9rem; }
.house-detail-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.3rem; }
.house-detail-actions .house-contact { background: transparent; color: var(--accent); }
.house-detail-actions .house-contact:hover { background: var(--accent); color: var(--deep); }
.detail-location { line-height: 1.5; color: var(--muted); font-size: .94rem; display: block; }
.facts { margin-top: 1.4rem; }
.facts div { display: flex; justify-content: space-between; gap: .5rem; padding-block: .65rem; border-top: 1px solid var(--line); font-size: .9rem; }
.facts dt { color: var(--muted); }
.facts dd { text-align: end; }
.house-info {
  display: grid;
  gap: clamp(.85rem, 2vw, 1.45rem);
  margin-top: clamp(2rem, 5vw, 4.2rem);
}
.house-info-nav { display: flex; flex-wrap: wrap; gap: .55rem; }
.house-info-nav a {
  padding: .75rem .9rem;
  border: 1px solid var(--line);
  border-radius: .4rem;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 600;
  transition: background-color .18s, color .18s, border-color .18s;
}
.house-info-nav a:is(:hover, :focus-visible),
.house-info:has(#description:target) a[href="#description"],
.house-info:has(#specifications:target) a[href="#specifications"],
.house-info:has(#finishes:target) a[href="#finishes"] {
  border-color: var(--accent);
  background: var(--surface);
  color: var(--accent);
}
.house-info-panels { display: grid; gap: clamp(.85rem, 2vw, 1.45rem); }
.house-info-panel {
  padding: clamp(1.15rem, 3vw, 2.6rem);
  scroll-margin-top: 1.25rem;
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: var(--surface);
  transition: border-color .2s;
}
.house-info-panel:target { border-color: var(--accent); }
.house-info-panel .section-heading { font-size: clamp(1.4rem, 2.25vw, 2.05rem); }
.house-info-panel .section-heading::after {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  margin-top: .65rem;
  background: var(--accent);
}
.house-info-panel .prose { max-width: 72ch; }
.house-info-panel .house-checklist { list-style: none; margin: 0; padding: 0; }
.house-checklist li { margin: 0; padding: .7rem 0; }
.house-checklist li + li { border-top: 1px solid var(--line); }
.house-checklist li:first-child { padding-top: 0; }
.house-checklist li:last-child { padding-bottom: 0; }
@media (max-width: 760px) {
  .house-info-nav a { padding: .55rem .65rem; }
}
@media (prefers-reduced-motion: no-preference) {
  html:has(.house-info-nav) { scroll-behavior: smooth; }
}
.location-layout, .contact-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: start; gap: clamp(1.75rem, 5.2vw, 5.2rem); }
.location-section { padding-top: var(--page-heading-space); }
.location-copy { display: flex; flex-direction: column; align-self: stretch; }
.location-intro { max-width: 40rem; margin-top: 1.2rem; font-size: clamp(1.05rem, 1.55vw, 1.35rem); line-height: 1.65; color: var(--muted); }
.location-intro strong { color: var(--accent); font-weight: 650; }
.pictogram { display: grid; place-items: center; width: 2.85rem; height: 2.85rem; flex: none; background: #d8e79d0e; border: 1px solid #d8e79d28; border-radius: .65rem; }
.pictogram img { width: 1.65rem; height: 1.65rem; }
.transport-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; gap: .65rem; margin: 1.45rem 0 0; padding: 0; }
.transport-links li { display: flex; align-items: center; gap: .65rem; padding: .55rem .7rem; border: 1px solid var(--line); background: var(--surface); border-radius: .75rem; font-size: .88rem; font-weight: 600; }
.location-copy .transport-links { margin-bottom: clamp(1rem, 2vw, 1.5rem); }
.location-directions {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: .85rem 1.1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.location-directions h2 { font-size: 1.12rem; line-height: 1.2; }
.location-directions p { margin-top: .35rem; color: var(--muted); font-size: .86rem; }
.location-directions .button { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; padding: .6rem .85rem; font-size: .83rem; }
.location-notes { display: grid; grid-template-columns: minmax(0, .52fr) minmax(0, 1.48fr); gap: clamp(1rem, 3.25vw, 3.25rem); margin-top: clamp(1.7rem, 4.6vw, 4.2rem); padding: clamp(1.2rem, 3vw, 2.6rem); border-radius: 1rem; border: 1px solid var(--line); background: var(--surface); }
.location-notes .section-heading { align-self: start; margin: 0; }
.map-card { display: flex; flex-direction: column; align-self: stretch; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); }
.map-card .map { border: 0; border-radius: 0; }
.map-card figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1.1rem; padding: .95rem 1.2rem; font-size: .88rem; }
.map-card figcaption > span { font-weight: 600; }
.map-card figcaption a { color: var(--accent); }
.map-card figcaption a:hover { text-decoration: underline; text-underline-offset: .22em; }
.location-layout .map { min-height: 21rem; aspect-ratio: auto; flex: 1; }
.contact-map-section { padding-top: 0; }
.contact-map-section .map { min-height: 19rem; aspect-ratio: 3.4; }

.sights-overview, .sights-topic { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; gap: clamp(1.4rem, 4.5vw, 4.5rem); }
.sights-overview > .prose > p:first-of-type { color: var(--text); font-size: clamp(1.06rem, 1.6vw, 1.28rem); }
.sights-crest { float: inline-start; width: clamp(4.1rem, 8vw, 7rem); margin: .2rem 1rem .55rem 0; }
.sights-crest .gallery-link { border-radius: .65rem; background: #faf9f5; }
.sights-crest img { width: 100%; margin: 0; padding: .55rem; aspect-ratio: .88; object-fit: contain; }
.sights-crest .gallery-link::after { right: .3rem; bottom: .3rem; width: 1.2rem; height: 1.2rem; font-size: .8rem; }
.sights-topic, .sights-directory { margin-top: clamp(2rem, 4.6vw, 4.1rem); padding-top: clamp(1.6rem, 3.5vw, 3rem); border-top: 1px solid var(--line); }
.sights-topic > .gallery-link { border-radius: .75rem; }
.sights-topic > .gallery-link img { aspect-ratio: 1.5; }
.sights-directory ul { columns: 2; column-gap: clamp(1.5rem, 4vw, 4rem); margin-bottom: 0; }
.sights-directory li { break-inside: avoid; margin: 0 0 .9rem; }
.sights-album { padding: clamp(.75rem, 1.55vw, 1.3rem); border: 1px solid var(--line); border-radius: .85rem; background: var(--surface); }
.sights-gallery { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: .55rem; }
.sights-gallery .gallery-link { grid-column: span 3; border-radius: .48rem; }
.sights-gallery .gallery-link:nth-child(-n+2) { grid-column: span 6; }
.sights-gallery .gallery-link img { aspect-ratio: 1.36; }
.sights-gallery .gallery-link::after { right: .35rem; bottom: .35rem; width: 1.35rem; height: 1.35rem; font-size: .85rem; transition: scale .18s ease, background-color .18s, color .18s; }
.sights-gallery .gallery-link:is(:hover, :focus-visible)::after { scale: 1.12; background: var(--accent); color: var(--deep); }
.sights-gallery .gallery-caption { font-size: .68rem; padding: .4rem 1.9rem .4rem .4rem; }
.plot-legend {
  position: absolute;
  inset: .85rem auto auto .85rem;
  z-index: 4;
  display: grid;
  gap: .12rem;
  margin: 0;
  padding: .3rem;
  border: 1px solid #e3e9de40;
  border-radius: .45rem;
  background: rgb(28 31 25 / 85%);
  list-style: none;
}
.plot-legend button {
  display: flex;
  align-items: center;
  gap: .55rem;
  width: 100%;
  min-height: 2rem;
  padding: .32rem .55rem;
  border: 1px solid transparent;
  border-radius: .3rem;
  background: transparent;
  color: var(--text);
  font-size: .72rem;
  font-weight: 650;
  transition: background-color .18s, border-color .18s;
}
.plot-legend button:enabled { cursor: pointer; }
.plot-legend button:enabled:is(:hover, :focus-visible, [aria-pressed='true']) { border-color: var(--plot-color); background: #eef2dd18; }
@media (pointer: coarse) { .plot-legend button { min-height: 2.75rem; } }
[data-status='sold'] { --plot-color: #e94648; }
[data-status='reserved'] { --plot-color: #efa149; }
[data-status='future'] { --plot-color: #63b66c; }
.plot-legend [data-status='future'] button { color: var(--plot-color); }
[data-status='available'] { --plot-color: var(--accent); }
.plot-legend span { flex-shrink: 0; width: .8rem; height: .8rem; border-radius: .18rem; background: var(--plot-color); }
.plot-scroll { overflow: auto; scrollbar-color: #626b56 var(--deep); }
.plot-type-filter { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.plot-type-filter select { padding: .4rem .65rem; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.plot-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.plot-section > .wrap { container-type: inline-size; }
.plot-plan { position: relative; min-width: 64rem; isolation: isolate; --plot-label-size: 3.75rem; }
.plot-plan picture img { border-radius: .35rem; }
.plot-plan::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 5;
  border: 1px solid #e6ebd58c;
  border-radius: .35rem;
  pointer-events: none;
}
.plot-hint { display: none; color: var(--muted); font-size: .82rem; margin-bottom: .75rem; }
.plot-rotate-hint { display: none; }
@container (width < 64rem) { .plot-hint { display: block; } }
.plot { position: absolute; z-index: 1; left: var(--x); top: var(--y); width: var(--w); height: var(--h); pointer-events: none; }
.plot-mark, .plot-outline { position: absolute; inset: 0; }
.plot-outline { clip-path: var(--shape); pointer-events: auto; transition: background .18s; }
.plot:is([data-status='sold'],[data-status='reserved'],[data-status='future']) .plot-outline { background: color-mix(in srgb, var(--plot-color) var(--plot-fill, 70%), transparent); }
.plot-label {
  position: absolute;
  z-index: 1;
  top: var(--label-y);
  left: var(--label-x);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .32rem;
  width: var(--plot-label-size);
  height: var(--plot-label-size);
  border: 1px solid var(--plot-emphasis, #e3e9debf);
  border-radius: .38rem;
  background: rgb(73 72 70 / 65%);
  color: #e3e9de;
  box-shadow: 0 0 0 1px #161a14a8, 0 0 .45rem var(--plot-emphasis, transparent);
  text-shadow: 0 0 3px #161a14, 0 1px 2px #161a14, 0 -1px 2px #161a14;
  font-size: .75rem;
  font-weight: 630;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
  pointer-events: auto;
  transition: border-color .18s, box-shadow .18s;
}
.plot-number {
  font-size: .78rem;
  font-weight: 780;
}
.plot-connector {
  position: absolute;
  left: var(--label-x);
  top: var(--anchor-y);
  bottom: calc(100% - var(--label-y) + var(--plot-label-size) / 2);
  width: 1px;
  transform: translateX(-50%);
  background: #f1f2e7;
  box-shadow: 0 0 2px #161a14, 0 0 .35rem var(--plot-emphasis, transparent);
  pointer-events: none;
  transition: background-color .18s, box-shadow .18s;
}
.plot[data-label-side='above'] .plot-connector {
  top: calc(var(--label-y) + var(--plot-label-size) / 2);
  bottom: calc(100% - var(--anchor-y));
}
.plot-tooltip {
  position: absolute;
  z-index: 2;
  top: var(--label-y);
  left: var(--label-x);
  transform: translate(var(--tooltip-shift, -50%), calc(-100% - (var(--plot-label-size) / 2 + .35rem)));
  visibility: hidden;
  opacity: 0;
  transition: opacity .18s ease, visibility .18s;
  white-space: nowrap;
  padding: .55rem .7rem;
  border: 1px solid var(--plot-color);
  border-radius: .45rem;
  background: var(--deep);
  color: var(--text);
  box-shadow: 0 4px 14px #090b08a8;
  font-size: .74rem;
  font-weight: 750;
  line-height: 1.15;
}
.plot[data-label-side='above'] .plot-tooltip { transform: translate(var(--tooltip-shift, -50%), calc(var(--plot-label-size) / 2 + .35rem)); }
.plot[data-house='18'] { --tooltip-shift: -32%; }
.plot[data-house='2'] { --tooltip-shift: -68%; }
.plot-tooltip span { display: block; }
.plot-tooltip span + span { margin-top: .35rem; }
.plot-status { color: var(--plot-color); font-size: .66rem; }
.plot[data-status='available'] .plot-status { display: none; }
.plot-price { font-size: .9rem; }
.plot-price small { color: var(--muted); font-size: .66rem; font-weight: 550; }
.plot-stage { color: var(--muted); font-size: .75rem; font-weight: 550; }
.plot-link-label { color: var(--accent); font-weight: 550; }
.plot-plan[data-highlight='sold'] .plot[data-status='sold'],
.plot-plan[data-highlight='reserved'] .plot[data-status='reserved'],
.plot-plan[data-highlight='future'] .plot[data-status='future'] {
  --plot-fill: 82%;
  --plot-emphasis: var(--plot-color);
}
.plot:has(.plot-mark:focus-visible) { z-index: 2; }
.plot-mark:focus-visible { outline: none; --plot-fill: 82%; --plot-emphasis: var(--plot-color); }
.plot-mark:focus-visible .plot-label { outline: 2px solid var(--plot-color); outline-offset: 2px; }
.plot-mark:focus-visible + .plot-tooltip { visibility: visible; opacity: 1; }
@media (hover: hover) {
  .plot:has(.plot-mark:hover) { z-index: 3; }
  .plot-mark:hover { --plot-fill: 82%; --plot-emphasis: var(--plot-color); }
  .plot-mark:hover + .plot-tooltip { visibility: visible; opacity: 1; }
}
.map { display: block; width: 100%; min-height: 25rem; aspect-ratio: 2.35; border: 1px solid var(--line); background: var(--surface); border-radius: .25rem; }
.news-story .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 1.8rem; }
.news-story .prose { max-width: 56rem; }
.contact-details { font-style: normal; }
.contact-method { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .8rem; padding-block: 1.05rem; }
.contact-method + .contact-method { border-top: 1px solid var(--line); }
.contact-method h2 { margin-bottom: .35rem; color: var(--muted); font-size: .8rem; font-weight: 550; letter-spacing: normal; }
.contact-method a { color: var(--text); font-size: clamp(.98rem, 1.6vw, 1.25rem); line-height: 1.45; overflow-wrap: anywhere; }
.contact-method a:hover { color: var(--accent); }
.contact-phones { display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; }
.contact-phones a { white-space: nowrap; }
.area-detail { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(1rem, 5vw, 4rem); align-items: start; }
.area-detail img { border-radius: .25rem; }
.area-meta h4 { margin-top: 1.1rem; font-size: 1.05rem; }
.area-meta p { margin-top: .35rem; color: var(--muted); }
.area-meta a { display: inline-block; color: var(--accent); margin-block: 1.1rem; }

.site-footer { border-top: 1px solid var(--line); background: var(--deep); padding-block: clamp(1.75rem, 3vw, 2.8rem); }
.footer-panel {
  display: grid;
  grid-template-columns: auto minmax(0, max-content) minmax(0, 1fr);
  align-items: center;
  gap: clamp(.9rem, 2vw, 1.65rem);
}
.footer-panel .brand-art { width: clamp(5.25rem, 8vw, 7.5rem); }
.footer-contacts { padding-inline-start: clamp(.9rem, 2vw, 1.65rem); border-inline-start: 1px solid var(--line); }
.footer-contacts h2 { margin-bottom: .65rem; font-size: 1.05rem; letter-spacing: -.015em; }
.footer-contact-list { display: grid; gap: .25rem; font-style: normal; }
.footer-contact-row { display: flex; align-items: center; gap: .65rem; min-height: 2.75rem; color: var(--text); font-size: .9rem; line-height: 1.4; overflow-wrap: anywhere; }
.footer-contact-row .pictogram { width: 2rem; height: 2rem; border-radius: .55rem; }
.footer-contact-row .pictogram img { width: 1.15rem; height: 1.15rem; }
.footer-contact-row .contact-phones { gap: 0 1rem; }
.footer-contact-row .contact-phones a { display: inline-flex; min-height: 2.75rem; align-items: center; }
.footer-contact-row small { display: block; margin-top: .15rem; color: var(--muted); font-size: .74rem; }
.footer-map-arrow { margin-inline-start: auto; color: var(--accent); }
.footer-contact-list a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.footer-viewing {
  justify-self: end;
  width: min(100%, 24rem);
  padding-inline-start: clamp(1rem, 3vw, 2.5rem);
  border-inline-start: 1px solid var(--line);
}
.footer-viewing h2 { font-size: clamp(1.12rem, 1.7vw, 1.48rem); line-height: 1.2; text-wrap: balance; }
.footer-viewing p { margin-block: .5rem 1rem; color: var(--muted); font-size: .88rem; }
.footer-viewing .button { display: inline-flex; align-items: center; gap: .7rem; padding: .65rem .9rem; font-size: .85rem; }
.footer-viewing .button span { transition: transform .18s ease; }
.footer-viewing .button:is(:hover, :focus-visible) span { transform: translate(2px, -2px); }

dialog { max-width: min(91vw, 77rem); max-height: 94svh; background: var(--deep); color: var(--text); border: 1px solid #626b56; border-radius: .25rem; padding: .6rem; overflow: visible; }
dialog::backdrop { background: #090b09e5; }
.plot-details {
  width: min(26rem, calc(100% - 1.5rem));
  margin: auto auto max(.75rem, env(safe-area-inset-bottom));
  padding: 0;
  border-radius: .85rem;
}
.plot-details-content { padding: 1.25rem; }
.plot-details h2 { padding-inline-end: 2.75rem; font-size: 1.3rem; line-height: 1.3; }
.plot-details-facts { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin-block: .9rem 1.2rem; }
.plot-details-facts .plot-stage { flex-basis: 100%; }
.plot-details .plot-status { border: 1px solid currentColor; border-radius: .25rem; padding: .28rem .45rem; font-weight: 700; }
.plot-details-link { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .55rem .85rem; font-size: .9rem; }
.media-close { position: absolute; z-index: 1; right: .9rem; top: .9rem; background: var(--deep); border: 1px solid #ebf1d88f; border-radius: 50%; width: 2.65rem; height: 2.65rem; font-size: 1.4rem; }
.media-close:hover { color: var(--accent); }
.media-dialog img { width: auto; max-width: min(88vw, 75rem); max-height: 80svh; object-fit: contain; }
.media-dialog iframe { display: block; border: 0; aspect-ratio: 16 / 9; width: min(86vw, 62rem); }
.media-dialog figcaption { padding: .65rem .25rem .15rem; }
.media-dialog:has(.media-navigation:not([hidden])) img { max-height: 72svh; touch-action: pan-y pinch-zoom; }
.media-navigation { display: flex; justify-content: center; padding: .35rem .25rem 0; }
.media-position { color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; }
.media-navigation button {
  position: absolute;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid #ebf1d88f;
  border-radius: 50%;
  background: var(--deep);
  color: var(--text);
  font-size: 1.65rem;
  line-height: 1;
}
.media-navigation button:is(:hover, :focus-visible) { color: var(--deep); background: var(--accent); }
.media-previous { left: .9rem; }
.media-next { right: .9rem; }

@media (1280px < width < 1400px) {
  :root { --site-logo-overhang: 4.1rem; }
  .header-inner { padding-inline: 2.4vw; }
  .header-inner > .brand {
    --badge-width: 10.25rem;
    --badge-height: 9.3rem;
    --logo-width: 8.2rem;
  }
}

@media (max-width: 1280px) {
  :root { --site-header-height: 4.5rem; --site-logo-overhang: 3.65rem; }
  .site-header .brand-art { width: 4.8rem; }
  .header-inner > .brand {
    --brand-width: 4.8rem;
    --badge-width: 9.25rem;
    --badge-height: 8.1rem;
    --badge-top: -.48rem;
    --logo-width: 7.3rem;
    --logo-left: .32rem;
    --logo-top: .72rem;
  }
  .site-header:has(.site-nav.is-open) .header-inner > .brand {
    --logo-width: var(--brand-width);
    --logo-left: 0rem;
    --logo-top: 0rem;
    --badge-scale: .44;
    --badge-opacity: 0;
  }
  .js .menu-toggle { display: grid; }
  .site-nav { flex: 0 1 auto; flex-wrap: wrap; }
  .site-nav a + a::before { display: none; }
  .js .site-nav { display: none; position: absolute; inset: 100% 0 auto; max-height: calc(100dvh - var(--site-header-height)); overflow: auto; padding: .7rem var(--gutter) 1.3rem; border-bottom: 1px solid var(--line); background: var(--deep); }
  .js .site-nav.is-open { z-index: 2; display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: .45rem; }
  .js .site-nav a { padding: .72rem .8rem; border: 1px solid var(--line); border-radius: .2rem; white-space: normal; }
  .js .site-nav a[aria-current='page']:not(.nav-contact) { border-color: #646f51; background: var(--surface); }
  .js .site-nav .nav-contact { border-color: #646f51; padding: .72rem .8rem; }
  .js .site-nav a[aria-current='page']::after { display: none; }
  .site-nav .language-switch { align-self: flex-start; margin-top: .25rem; }
  .site-nav .language-switch a { min-height: 2.75rem; padding-inline: .8rem; }
}

@media (max-width: 1280px) {
  .benefit-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .benefit-grid li { grid-column: span 3; min-height: 8.5rem; padding: 1.05rem .75rem; }
  .benefit-grid li:nth-child(n+5) { grid-column: span 4; }
  .benefit-grid li:first-child > span { font-size: .74rem; }
}

@media (max-width: 930px) {
  .house-specs li + li { border-left: 0; padding-left: 0; }
  .house-specs li:not(:last-child)::after { content: ' ·'; }
}

@media (max-width: 760px), (max-width: 1000px) and (pointer: coarse) {
  .prose, .location-intro { text-align-last: start; }
  .prose p, .location-intro { max-inline-size: 58ch; margin-inline: auto; }
  .header-inner { column-gap: clamp(.35rem, 1.7vw, .9rem); }
  .header-inner > .language-switch { margin-inline-start: auto; }
  .header-inner > .language-switch a {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    min-height: 2.3rem;
    padding-inline: clamp(.22rem, 1vw, .55rem);
    border-radius: .27rem;
    color: var(--muted);
    font-size: .71rem;
    font-weight: 600;
    line-height: 1;
  }
  .header-inner > .language-switch a:is([aria-current='page'], :hover, :focus-visible) {
    background: var(--surface);
    color: var(--accent);
  }
  .header-inner > .language-switch .language-flag { width: 1.05rem; height: .69rem; }
  .menu-toggle { flex: none; }
  .hero { display: block; min-height: 0; background: var(--deep); }
  .hero-photo {
    position: static;
    height: clamp(13.5rem, 70vw, 30rem);
    object-position: center;
    mask-image: linear-gradient(#000 62%, #000b 79%, transparent);
  }
  .hero::after { content: none; }
  .hero-content {
    position: relative;
    display: grid;
    justify-content: center;
    justify-items: center;
    text-align: center;
    gap: .9rem;
    margin-top: -3.5rem;
    padding-block: 0 1.65rem;
  }
  .hero h1 { font-size: clamp(1.75rem, 8.6vw, 4rem); }
  .hero-tagline { margin-inline: auto; font-size: clamp(1.55rem, 7.2vw, 2.45rem); }
  .play { width: 2.7rem; }
  @media (orientation: portrait) {
    .plot-rotate-hint {
      display: flex;
      align-items: center;
      gap: .65rem;
      padding: .7rem .8rem;
      margin-bottom: .75rem;
      border: 1px solid var(--line);
      border-radius: .4rem;
      background: var(--surface);
      color: var(--muted);
      font-size: .85rem;
      line-height: 1.45;
      text-wrap: pretty;
    }
    .plot-rotate-hint::before {
      content: '';
      flex: none;
      width: .75rem;
      height: 1.1rem;
      border: 1px solid var(--accent);
      border-bottom-width: 3px;
      border-radius: .17rem;
      transform: rotate(32deg);
    }
    .plot-rotate-hint + .plot-hint { display: none; }
  }
}

@media (max-width: 760px) {
  .section-heading { overflow-wrap: anywhere; }
  .card-grid, .split, .newsletter, .detail-top, .area-detail { grid-template-columns: 1fr; }
  .location-layout, .location-notes, .contact-layout, .sights-overview, .sights-topic { grid-template-columns: 1fr; }
  .sights-directory ul { columns: 1; }
  .gallery, .news-story .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sights-gallery .gallery-link { grid-column: span 4; }
  .detail-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .map { min-height: 18rem; }
  .location-layout .map, .contact-map-section .map { min-height: 17rem; }
  .contact-panel { padding: 1.2rem; }
  .form-grid { gap: .85rem; }
  .form-grid input, .form-grid textarea { padding-inline: .65rem; }
  .footer-panel { grid-template-columns: auto minmax(0, 1fr); }
  .footer-viewing {
    grid-column: 1 / -1;
    justify-self: start;
    width: 100%;
    padding: 1rem 0 0;
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 540px) {
  .footer-panel { grid-template-columns: minmax(0, 1fr); }
  .footer-panel .brand { justify-self: start; }
  .footer-contacts { padding: .8rem 0 0; border-inline-start: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 360px) {
  .header-inner > .brand { --badge-width: 8.4rem; --logo-width: 6.65rem; }
}

@media (max-width: 700px) {
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-icon { width: 3rem; height: 3rem; }
  .benefit-grid li, .benefit-grid li:nth-child(n+5) { grid-column: auto; }
  .benefit-grid li:first-child { grid-column: 1 / -1; }
  .benefit-grid li:first-child > span { font-size: .82rem; }
}

@media (max-width: 480px) {
  .form-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .page-title-content { animation: page-title-arrive .46s ease-out both; }
  .page-title::after { animation: page-title-line .55s .1s ease-out both; }
  @keyframes page-title-arrive {
    from { opacity: .15; transform: translateY(.25rem); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes page-title-line {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }
  #houses .house-card { animation: house-card-arrive .36s ease-out var(--house-card-delay, .1s) both; }
  #houses .house-card:nth-child(2) { --house-card-delay: .19s; }
  #houses .house-card:nth-child(3) { --house-card-delay: .28s; }
  @keyframes house-card-arrive {
    from { opacity: 0; transform: translateX(-.55rem); }
    to { opacity: 1; transform: translateX(0); }
  }
  .plot-masks-entering .plot:is([data-status='sold'], [data-status='reserved'], [data-status='future']) .plot-outline { opacity: 0; }
  .plot-masks-ready .plot:is([data-status='sold'], [data-status='reserved'], [data-status='future']) .plot-outline {
    animation: plot-mask-appear .528s ease-out calc(.14s + var(--plot-mask-order) * .18s) both;
  }
  @keyframes plot-mask-appear {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  .pictogram-enter { animation: pictogram-enter .25s ease-out var(--pictogram-delay, 0ms) both; }
  @keyframes pictogram-enter {
    from { opacity: .25; transform: translateY(.45rem); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .hero-tagline { animation: none; }
  .js .site-header .brand-art.is-ready .brand-structure { animation: none; clip-path: inset(0); }
  .js .site-header .brand-art.is-ready :is(.brand-name, .brand-subtitle) { animation: none; opacity: 1; }
}

@media (hover: none) {
  .gallery-caption { opacity: 1; }
  .sights-gallery .gallery-caption { display: none; }
}
