* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

:root {
  --ink: #10182a;
  --ink-soft: #526072;
  --paper: #f7fbff;
  --paper-warm: #f7f4ee;
  --mist: #edf5f7;
  --white: #ffffff;
  --line: rgba(25, 25, 25, .12);
  --line-strong: rgba(25, 25, 25, .22);
  --sage: #5d6f59;
  --deep: #191919;
  --pool: #2d8790;
  --terracotta: #9a743a;
  --gold: #9a743a;
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

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

p {
  color: var(--ink-soft);
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h1 {
  max-width: 1180px;
  font-size: 104px;
  line-height: .96;
}

h2 {
  max-width: 980px;
  font-size: 52px;
  line-height: 1;
}

h3 {
  font-size: 31px;
  line-height: 1.14;
}

:focus-visible {
  outline: 3px solid var(--pool);
  outline-offset: 4px;
}

#main:focus { outline: none; }

.skip-link {
  position: fixed;
  top: 14px;
  left: 5vw;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 94px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 0 3.125vw;
  border-bottom: 0;
  background: var(--paper);
  color: var(--ink);
  backdrop-filter: none;
}

.brand {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  position: relative;
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 10px;
  width: auto;
  height: auto;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease;
}

.brand::before {
  content: none;
}

.brand-mark {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  overflow: visible;
  color: currentColor;
  transition: transform .2s ease;
}

.brand-name {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: nowrap;
}

.brand:hover .brand-mark {
  transform: translateY(-1px);
}

.links {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.links a {
  color: var(--ink);
  text-decoration: none;
  opacity: 1;
  font-weight: inherit;
}

.links a:hover,
.links a.active {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.links a:not(.pill) {
  display: inline-flex;
}

.pill {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 34px;
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  text-decoration: none;
  opacity: 1 !important;
}

.pill:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink) !important;
}

.nav-menu {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  display: none;
  position: relative;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  list-style: none;
  min-height: 52px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.nav-toggle::before {
  content: "";
  width: 31px;
  height: 1px;
  background: currentColor;
  opacity: .9;
}

.nav-toggle::-webkit-details-marker { display: none; }

.nav-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 60;
  width: min(260px, calc(100vw - 44px));
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--paper);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
}

body:has(.nav-menu[open]) {
  overflow: hidden;
}

.nav-menu-panel a {
  display: block;
  padding: 13px 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  opacity: .76;
}

.nav-menu-panel a:hover,
.nav-menu-panel a.active { opacity: 1; color: #f1c99d; }

.nav-menu-panel .menu-booking {
  margin-top: 8px;
  border-top: 1px solid var(--line-strong);
  color: var(--ink);
  opacity: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
  transition: background .24s ease, border-color .24s ease, color .24s ease, transform .24s ease;
}

.button:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}

.eyebrow,
.smallcaps {
  color: var(--terracotta);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 790px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 70px;
  padding: 132px 3.125vw 72px;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
  background-color: #85847d;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.home-hero {
  --hero-sky: #a8dcf6;
  min-height: clamp(100svh, 126svh, 1520px);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  background: var(--hero-sky);
  color: var(--ink);
}

.home-first-view {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 70px minmax(0, 1fr) auto;
  overflow: hidden;
  background: #9fd6f7;
}

.home-first-view .home-nav {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: transparent;
  color: var(--ink);
  text-shadow: none;
  min-height: 70px;
}

.home-first-view .home-nav .links,
.home-first-view .home-nav .links a,
.home-first-view .home-nav .brand,
.home-first-view .home-nav .pill,
.home-first-view .home-nav .nav-toggle {
  color: var(--ink);
}

.home-first-view .home-nav .pill {
  border-color: transparent;
  padding-right: 0;
}

.home-first-view .home-nav .pill:hover {
  border-color: transparent;
  background: transparent;
  color: var(--gold) !important;
}

.home-first-view .home-nav .nav-menu-panel {
  text-shadow: none;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(247, 251, 255, .20) 0%,
      rgba(247, 251, 255, .10) 18%,
      rgba(247, 251, 255, .00) 44%,
      rgba(247, 251, 255, .06) 72%,
      rgba(247, 251, 255, .12) 100%
    );
}

.home-hero::after {
  content: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(100%, 1040px);
  min-width: 0;
  display: block;
  margin: 0 auto;
  padding: clamp(14px, 2vw, 40px) 24px 42px;
  text-align: center;
  text-shadow: none;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: #f1c99d;
  margin-bottom: 18px;
}

.hero .eyebrow,
.hero h1 {
  grid-column: 1 / -1;
}

.home-hero .hero-copy {
  display: block;
  max-width: 760px;
  margin: 24px auto 0;
  color: rgba(16, 24, 42, .76);
  font-size: 18px;
  line-height: 1.42;
}

.hero h1,
.page-hero h1 { color: var(--white); }

.home-hero h1 {
  max-width: 860px;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(46px, 6vw, 88px);
  line-height: .92;
  letter-spacing: 0;
  text-shadow: none;
}

.home-hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--hero-sky);
}

.home-hero-image::before {
  content: none;
}

.home-hero-image::after {
  content: none;
}

.home-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
}

.hero-copy,
.page-hero-content p:not(.eyebrow) {
  max-width: 710px;
  margin-top: 24px;
  color: #f7efe2;
  font-size: 21px;
  line-height: 1.52;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.home-hero .button {
  min-width: 200px;
  border-color: rgba(16, 24, 42, .92);
  background: rgba(16, 24, 42, .92);
}

.home-hero .button:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.booking-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  min-height: 92px;
  border-top: 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.booking-ribbon div {
  min-width: 0;
  padding: 22px 3.125vw;
  border-right: 1px solid var(--line);
}

.booking-ribbon div:last-child {
  border-right: 0;
}

.booking-ribbon span {
  display: block;
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.booking-ribbon strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.08;
}

.page-hero {
  min-height: 720px;
  display: flex;
  align-items: flex-end;
  padding: 126px 3.125vw 52px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-hero-content {
  width: 100%;
  max-width: 1200px;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: 0 6vw;
  align-items: end;
  padding-left: 0;
  border-left: 0;
}

.page-hero .eyebrow,
.page-hero h1 {
  grid-column: 1 / -1;
}

.page-hero h1 { font-size: 76px; }

.villa-hero {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, .66), rgba(0, 0, 0, .24)),
    url("assets/spiros/compress/nogal-32.jpg");
  background-position: center 54%;
}

.stay-hero {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, .66), rgba(0, 0, 0, .2)),
    url("assets/spiros/compress/nogal-12.jpg");
  background-position: center 52%;
}

.place-hero {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, .64), rgba(0, 0, 0, .18)),
    url("assets/spiros/compress/nogal-16-Edit.jpg");
  background-position: center 48%;
}

.section {
  padding: 112px 3.125vw;
  border-bottom: 0;
}

.route-item,
.split-media,
.bedroom-card,
.place-card,
.beach-card,
.beach-feature,
.photo-essay {
  overflow: hidden;
}

.route-item img,
.split-media img,
.bedroom-card img,
.place-card img,
.beach-card img,
.beach-feature img,
.photo-essay img,
.image-band img {
  transition: transform .55s ease, filter .55s ease;
}

.route-item:hover img,
.split-media:hover img,
.bedroom-card:hover img,
.place-card:hover img,
.beach-card:hover img,
.beach-feature:hover img,
.photo-essay img:hover,
.image-band:hover img {
  transform: scale(1.025);
  filter: saturate(1.04);
}

.editorial-title {
  text-transform: none;
  letter-spacing: 0;
}

.section-head {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 6vw;
  align-items: start;
}

.section-head + .route-grid,
.section-head + .slope-panel,
.section-head + .rhythm-stack,
.section-head + .photo-essay,
.section-head + .story-links,
.section-head + .location-panel,
.section-head + .distance-list,
.section-head + .notes-list,
.section-head + .bedroom-duo,
.section-head + .return-pair,
.section-head + .local-rhythm,
.section-head + .place-grid,
.section-head + .beach-feature {
  margin-top: 52px;
}

.slope-section {
  background: var(--paper);
  color: var(--ink);
}

.slope-section h2,
.slope-section strong {
  color: var(--ink);
}

.slope-section .smallcaps,
.slope-step span,
.slope-image figcaption {
  color: var(--terracotta);
}

.slope-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(360px, .76fr);
  gap: 5vw;
  align-items: end;
}

.slope-image {
  min-width: 0;
}

.slope-image img {
  height: 100%;
  min-height: 620px;
  border-radius: 0;
  object-fit: cover;
}

.slope-image figcaption {
  margin-top: 20px;
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.48;
}

.slope-steps {
  position: relative;
  align-self: center;
  border-top: 1px solid var(--line-strong);
}

.slope-step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(92px, .28fr) minmax(0, 1fr);
  gap: clamp(18px, 2.1vw, 32px);
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.slope-step span {
  align-self: start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.slope-step strong {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.14;
}

.slope-step p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.58;
}

.route-section {
  position: relative;
  background: var(--white);
  overflow: hidden;
}

.home-route-section {
  min-height: 220svh;
  overflow: clip;
}

.cards-head {
  grid-template-columns: minmax(260px, .65fr) minmax(0, 1fr);
  max-width: 1160px;
  margin-right: auto;
  margin-left: auto;
}

.cards-head h2 {
  max-width: 360px;
}

.cards-head p {
  max-width: 640px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.42;
}

.route-stage {
  position: static;
  height: auto;
  overflow: visible;
}

.home-route-section .route-stage {
  position: sticky;
  top: 94px;
  height: calc(100svh - 94px);
  overflow: hidden;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
  width: 100%;
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
  transform: translate3d(0, 0, 0);
}

.home-route-section .route-grid {
  grid-auto-flow: column;
  grid-auto-columns: clamp(420px, 64vw, 920px);
  grid-template-columns: none;
  width: max-content;
  max-width: none;
  will-change: transform;
}

.route-item {
  position: relative;
  min-width: 0;
  border-top: 0;
  padding-top: 0;
  overflow: visible;
}

.route-item-lower {
  margin-top: 0;
}

.route-item img {
  aspect-ratio: 16 / 11;
  border-radius: 0;
  object-fit: cover;
  transition: transform .85s ease, filter .85s ease;
}

.route-item:hover img {
  transform: scale(1.035);
  filter: saturate(1.04);
}

.route-item-lower img { aspect-ratio: 16 / 11; }

.route-item h3 {
  margin-top: 22px;
  font-size: 28px;
}

.route-item p {
  margin-top: 14px;
  max-width: 420px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.52;
}

.card-action {
  position: static;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 0;
  margin-top: 18px;
  margin-left: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: transform .25s ease, color .25s ease;
}

.card-action:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.spatial-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .88fr);
  gap: 7vw;
  align-items: center;
  background: var(--mist);
}

.terrace-feature {
  display: block;
  padding-top: 150px;
  padding-bottom: 140px;
  background: var(--white);
}

.terrace-feature-head {
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.terrace-feature-head h2 {
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(48px, 5.4vw, 76px);
  line-height: .92;
}

.terrace-feature-head p {
  max-width: 680px;
  margin: 26px auto 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.42;
}

.terrace-feature-grid {
  display: grid;
  grid-template-columns: minmax(320px, .72fr) minmax(0, 1fr);
  gap: 36px 44px;
  align-items: start;
  max-width: 1190px;
  margin: 122px auto 0;
}

.terrace-feature-copy {
  max-width: 540px;
  color: var(--ink-soft);
  font-size: 26px;
  line-height: 1.26;
}

.terrace-feature-large {
  grid-column: 2;
  grid-row: 1 / span 2;
  overflow: hidden;
}

.terrace-feature-large img {
  width: 100%;
  height: 100%;
  min-height: 680px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.terrace-feature-small-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-self: end;
  margin-top: 112px;
}

.terrace-feature-small-grid figure {
  min-width: 0;
  overflow: hidden;
}

.terrace-feature-small-grid img {
  aspect-ratio: 1 / 1.16;
  object-fit: cover;
}

.terrace-feature img {
  transition: transform .85s ease, filter .85s ease;
}

.terrace-feature figure:hover img {
  transform: scale(1.028);
  filter: saturate(1.04);
}

.split-media img {
  aspect-ratio: 16 / 11;
  border-radius: 0;
  object-fit: cover;
}

.portrait-media img {
  aspect-ratio: 3 / 4;
  max-height: 600px;
  object-position: center top;
}

.split-copy {
  max-width: 700px;
  min-width: 0;
}

.split-copy h2 {
  margin-top: 14px;
}

.split-copy p:not(.smallcaps) {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.68;
}

.estate-section {
  position: relative;
  padding: 0 0 150px;
  overflow: hidden;
  background: #0c1120;
}

.estate-image {
  min-height: 52svh;
  overflow: hidden;
}

.estate-image img {
  width: 100%;
  height: 52svh;
  min-height: 460px;
  object-fit: cover;
  object-position: center 58%;
  filter: saturate(1.08);
}

.estate-panel {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 10vw));
  margin: -220px auto 0;
  padding: 52px 48px 40px;
  background: var(--white);
  color: var(--ink);
}

.estate-panel h2 {
  max-width: 640px;
  font-size: clamp(38px, 4.2vw, 52px);
  line-height: .92;
}

.estate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 38px;
}

.estate-grid h3 {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.estate-grid ul {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.estate-grid li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.35;
}

.estate-grid li::before {
  content: "";
  position: absolute;
  top: .62em;
  left: 0;
  width: 13px;
  height: 1px;
  background: currentColor;
  opacity: .62;
}

.reserve-section {
  padding-bottom: 84px;
}

reserve-section {
  display: block;
}

.reserve-section .estate-panel {
  padding-bottom: 54px;
}

.reserve-section .smallcaps {
  color: var(--terracotta);
}

.reserve-copy {
  max-width: 580px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.52;
}

.reserve-button {
  width: fit-content;
  min-height: 62px;
  margin-top: 28px;
  padding: 0 38px;
  font-size: 13px;
}

.feature-section {
  position: relative;
  min-height: 136svh;
  overflow: clip;
  background: linear-gradient(180deg, var(--paper) 0%, var(--white) 100%);
}

.feature-sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 34px;
  padding: 76px 5vw 68px;
}

.feature-head {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(280px, .58fr);
  gap: 7vw;
  align-items: end;
}

.feature-head-copy {
  min-width: 0;
}

.feature-head .editorial-title {
  max-width: 720px;
}

.feature-intro {
  align-self: end;
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.58;
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
}

.feature-media {
  position: relative;
  min-width: 0;
  min-height: clamp(500px, 60svh, 720px);
  margin: 0;
  overflow: hidden;
  background: #d8e7ed;
}

.feature-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(247, 251, 255, .08) 0%,
      rgba(247, 251, 255, .00) 52%,
      rgba(247, 251, 255, .14) 100%
    );
}

.feature-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translate3d(18px, 0, 0) scale(1.012);
  transition: opacity .28s ease, transform .28s ease;
}

.feature-photo.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.feature-accordion {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-strong);
}

.feature-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 24px;
  width: 100%;
  padding: 24px 0 22px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
}

.feature-row span {
  padding-top: 6px;
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.feature-row strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.12;
}

.feature-row p {
  grid-column: 2;
  max-width: 420px;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.56;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height .28s ease, opacity .22s ease, transform .22s ease;
}

.feature-row.is-active {
  background: linear-gradient(90deg, rgba(168, 220, 246, .16), rgba(168, 220, 246, 0));
}

.feature-row.is-active p {
  max-height: 120px;
  opacity: 1;
  transform: translateY(0);
}

.feature-row:last-child {
  border-bottom: 0;
}

.feature-row:focus-visible {
  outline: 3px solid var(--pool);
  outline-offset: 4px;
}

.gallery-section {
  background: var(--paper-warm);
}

.photo-essay {
  display: grid;
  grid-template-columns: 1.3fr .78fr .78fr;
  grid-auto-rows: 236px;
  gap: 18px;
}

.photo-essay img {
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}

.photo-essay img:nth-child(4) {
  grid-column: span 2;
}

.photo-essay.gallery-essay {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 108px;
  gap: 18px;
}

.photo-essay.gallery-essay > img {
  width: 100%;
}

.photo-essay.gallery-essay .gallery-panorama {
  grid-column: 1 / 10;
  grid-row: span 2;
  min-height: 252px;
  aspect-ratio: 16 / 4.1;
  object-position: center 58%;
}

.photo-essay.gallery-essay .gallery-living {
  grid-column: 1 / 7;
  grid-row: span 5;
  min-height: 600px;
}

.photo-essay.gallery-essay .gallery-bedroom {
  grid-column: 7 / 10;
  grid-row: span 2;
  min-height: 240px;
}

.photo-essay.gallery-essay .gallery-kitchen {
  grid-column: 10 / -1;
  grid-row: span 2;
  min-height: 240px;
}

.photo-essay.gallery-essay .gallery-bathroom {
  grid-column: 7 / 10;
  grid-row: span 3;
  min-height: 360px;
  aspect-ratio: 3 / 4.35;
  object-position: center 44%;
}

.photo-essay.gallery-essay .gallery-extra {
  grid-column: 10 / -1;
  grid-row: span 3;
  min-height: 360px;
  object-position: center 54%;
}

.villa-essay {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 252px;
}

.villa-essay .photo-wide {
  grid-column: 1 / -1;
  aspect-ratio: auto;
}

.villa-essay img:nth-child(4) {
  grid-column: auto;
}

.practical-section {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1fr);
  gap: 7vw;
  background: var(--white);
}

.practical-intro {
  max-width: 520px;
  min-width: 0;
}

.practical-intro h2 {
  margin-top: 14px;
}

.practical-intro p:not(.smallcaps) {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.65;
}

.spec-list {
  border-top: 1px solid var(--line-strong);
}

.spec-list div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.spec-list dd {
  color: var(--ink-soft);
  font-size: 17px;
}

.story-path {
  background: var(--paper);
}

.story-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.story-link {
  display: grid;
  gap: 16px;
  text-decoration: none;
}

.story-link img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: opacity .22s ease;
}

.story-copy {
  display: grid;
  gap: 10px;
}

.story-link span {
  color: var(--terracotta);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.story-link strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.12;
}

.story-link p {
  max-width: 420px;
  font-size: 16px;
  line-height: 1.52;
}

.story-link:hover strong {
  color: var(--deep);
}

.page-intro {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(0, 1fr);
  gap: 7vw;
  background: var(--white);
}

.page-intro h2 {
  margin-top: 14px;
}

.intro-text {
  max-width: 850px;
  min-width: 0;
}

.intro-text p {
  font-size: 19px;
  line-height: 1.74;
}

.intro-text p + p {
  margin-top: 24px;
}

.rhythm-section {
  background: var(--paper-warm);
}

.rhythm-stack {
  border-top: 1px solid var(--line-strong);
}

.rhythm-row {
  display: grid;
  grid-template-columns: 150px minmax(180px, .38fr) minmax(0, 1fr);
  gap: 32px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.rhythm-row span {
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rhythm-row strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
}

.rhythm-row p {
  max-width: 780px;
  font-size: 17px;
}

.image-band {
  padding: 0 5vw 104px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.image-band img {
  aspect-ratio: 16 / 9;
  max-height: 720px;
  border-radius: 0;
  object-fit: cover;
}

.caption-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
  color: #657067;
  font-size: 13px;
}

.bedroom-section {
  background: var(--paper);
}

.compact-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--deep);
  color: var(--white);
}

.compact-facts div {
  min-width: 0;
  padding: 34px 5vw;
  border-right: 1px solid rgba(255, 253, 248, .16);
}

.compact-facts div:last-child {
  border-right: 0;
}

.compact-facts span {
  display: block;
  color: #f1c99d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.compact-facts strong {
  display: block;
  margin-top: 12px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 400;
  line-height: 1;
}

.compact-facts p {
  margin-top: 12px;
  color: #dce8dd;
  font-size: 15px;
}

.bedroom-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.bedroom-card img {
  aspect-ratio: 4 / 3;
  border-radius: 0;
  object-fit: cover;
}

.bedroom-card figcaption {
  margin-top: 12px;
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.notes-section,
.map-section,
.distance-section,
.return-section {
  background: var(--paper);
}

.local-rhythm-section {
  background: var(--white);
}

.explore-section {
  background: var(--paper-warm);
}

.beach-section {
  background: var(--white);
}

.return-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}

.return-pair article {
  min-height: 310px;
  padding: 34px 42px 34px 0;
  border-right: 1px solid var(--line);
}

.return-pair article + article {
  padding-right: 0;
  padding-left: 42px;
  border-right: 0;
}

.return-pair span {
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.return-pair h3 {
  max-width: 520px;
  margin-top: 22px;
  font-size: 44px;
}

.return-pair p {
  max-width: 560px;
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.65;
}

.local-rhythm {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}

.local-rhythm article {
  min-height: 310px;
  padding: 34px 34px 34px 0;
  border-right: 1px solid var(--line);
}

.local-rhythm article + article {
  padding-left: 34px;
}

.local-rhythm article:last-child {
  padding-right: 0;
  border-right: 0;
}

.local-rhythm span,
.place-card-copy span,
.beach-feature span,
.beach-card span {
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.local-rhythm h3 {
  margin-top: 20px;
  font-size: 38px;
}

.local-rhythm p {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.65;
}

.place-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 24px;
}

.place-card {
  min-width: 0;
}

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

.place-card img,
.beach-card img,
.beach-feature img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

.place-card-large img {
  aspect-ratio: 16 / 9;
}

.place-card img,
.beach-card img,
.beach-feature img {
  object-fit: cover;
}

.place-card-copy {
  margin-top: 18px;
}

.place-card h3,
.beach-card h3 {
  margin-top: 10px;
  font-size: 30px;
}

.place-card p,
.beach-card p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.58;
}

.beach-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
  gap: 6vw;
  align-items: end;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}

.beach-feature img {
  aspect-ratio: 16 / 10;
}

.beach-feature h3 {
  margin-top: 12px;
  font-size: 46px;
}

.beach-feature p {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.68;
}

.beach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 24px;
  margin-top: 52px;
}

.beach-card {
  min-width: 0;
}

.place-note {
  max-width: 840px;
  margin-top: 46px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.notes-list,
.distance-list {
  border-top: 1px solid var(--line-strong);
}

.note-row,
.distance-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 30px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.note-row strong,
.distance-item strong {
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.note-row p {
  max-width: 760px;
  font-size: 17px;
}

.distance-item h3 {
  font-size: 31px;
}

.distance-item p {
  max-width: 760px;
  margin-top: 10px;
  font-size: 16px;
}

.location-panel {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 36px;
  align-items: start;
}

.location-map {
  width: 100%;
  min-height: 380px;
  border: 0;
  border-radius: 0;
  background: #dfe8e5;
}

.location-copy p {
  font-size: 17px;
  line-height: 1.68;
}

.location-copy p + p { margin-top: 18px; }
.location-copy .button { margin-top: 26px; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 5vw;
  border-top: 1px solid var(--line);
  background: var(--white);
  color: #626d65;
  font-size: 14px;
}

.footer a {
  text-underline-offset: 4px;
}

.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .9s ease, transform 1s cubic-bezier(.2, .8, .2, 1);
}

.has-reveal .home-hero[data-reveal] {
  opacity: 1;
  transform: translateY(0);
}

.has-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

html:not(.has-reveal) [data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: none;
}

.home-hero .hero-content {
  animation: heroTextIn .9s ease both;
}

.home-hero-image img {
  animation: heroImageIn 1.2s .12s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes heroTextIn {
  from {
    opacity: .86;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImageIn {
  from {
    opacity: .9;
    transform: translateY(12px) scale(1.012);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1040px) {
  h1 { font-size: 60px; }
  h2 { font-size: 38px; }
  .page-hero h1 { font-size: 50px; }
  .section { padding: 80px 5vw; }
  .page-intro,
  .slope-panel,
  .spatial-split,
  .feature-layout,
  .practical-section,
  .location-panel,
  .beach-feature {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .route-grid {
    gap: 24px;
  }
  .booking-ribbon {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .route-item-lower {
    margin-top: 0;
  }
  .story-link {
    gap: 14px;
  }
  .estate-panel {
    width: min(900px, calc(100% - 10vw));
    padding: 58px 46px;
  }
  .estate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }
  .terrace-feature {
    padding-top: 112px;
    padding-bottom: 104px;
  }
  .terrace-feature-grid {
    grid-template-columns: 1fr;
    margin-top: 72px;
  }
  .terrace-feature-copy {
    max-width: 760px;
  }
  .terrace-feature-large {
    grid-column: auto;
    grid-row: auto;
  }
  .terrace-feature-large img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .terrace-feature-small-grid {
    margin-top: 0;
  }
  .feature-section {
    min-height: 0;
  }
  .feature-sticky {
    position: static;
    min-height: 0;
    gap: 28px;
    padding-bottom: 96px;
  }
  .feature-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .feature-media {
    min-height: 420px;
  }
  .feature-row {
    grid-template-columns: 96px minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 74px;
    padding: 0 24px;
  }
  .brand {
    grid-column: 1;
    justify-self: start;
    grid-template-columns: auto auto;
    align-items: center;
    justify-items: start;
    gap: 10px;
    font-size: 21px;
    width: auto;
    height: auto;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
  }
  .brand-name {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
  }
  .links,
  .nav > .pill { display: none; }
  .nav-menu {
    display: block;
    grid-column: 2;
    position: relative;
    justify-self: end;
  }
  .home-first-view .home-nav {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .home-first-view .home-nav .brand-name {
    display: block;
  }
  .home-first-view .home-nav > .pill {
    display: none;
  }
  .home-first-view .home-nav .nav-menu {
    grid-column: 2;
  }
  .nav-toggle {
    min-height: 44px;
    font-size: 17px;
  }
  .nav-menu[open] {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: block;
    width: 100vw;
    height: 100dvh;
    padding: 22px 24px 26px;
    background: var(--paper-warm);
  }
  .nav-menu[open] .nav-toggle {
    position: absolute;
    top: 18px;
    right: 24px;
    z-index: 2;
    margin: 0;
    min-height: 44px;
    padding-left: 0;
    font-size: 17px;
  }
  .nav-menu[open] .nav-toggle::before {
    width: 34px;
  }
  .nav-menu[open] .nav-menu-panel {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    min-height: 100%;
    padding: 98px 24px 30px;
    border: 0;
    background: transparent;
    box-shadow: none;
    display: grid;
    align-content: start;
    gap: 10px;
  }
  .nav-menu[open] .nav-menu-panel a {
    padding: 18px 0;
    font-size: 15px;
    letter-spacing: .02em;
    border-bottom: 1px solid rgba(25, 25, 25, .10);
  }
  .nav-menu[open] .nav-menu-panel .menu-booking {
    margin-top: 16px;
    padding-top: 20px;
  }
  .hero {
    min-height: 76svh;
    gap: 42px;
    padding: 76px 24px 28px;
  }
  .hero-content,
  .page-hero-content {
    display: block;
    max-width: 720px;
  }
  .home-hero {
    min-height: 112svh;
  }
  .home-hero .hero-content {
    padding: 26px 24px 38px;
  }
  .home-hero-image img {
    object-position: center 58%;
  }
  .home-hero .home-nav .nav-menu[open] .nav-menu-panel {
    padding-top: 102px;
  }
  h1 { font-size: 54px; }
  h2 { font-size: 34px; }
  h3 { font-size: 28px; }
  .hero-copy,
  .page-hero-content p:not(.eyebrow) {
    font-size: 18px;
  }
  .home-hero h1 {
    font-size: clamp(34px, 8vw, 46px);
    line-height: .96;
  }
  .home-hero .hero-copy {
    max-width: 520px;
    font-size: 15px;
    line-height: 1.42;
  }
  .page-hero {
    min-height: 520px;
    padding: 70px 24px;
  }
  .page-hero-content {
    padding-left: 0;
  }
  .page-hero h1 { font-size: 36px; }
  .section {
    padding: 68px 24px;
  }
  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .section-head + .route-grid,
  .section-head + .slope-panel,
  .section-head + .rhythm-stack,
  .section-head + .photo-essay,
  .section-head + .story-links,
  .section-head + .location-panel,
  .section-head + .distance-list,
  .section-head + .notes-list,
  .section-head + .bedroom-duo,
  .section-head + .return-pair,
  .section-head + .local-rhythm,
  .section-head + .place-grid,
  .section-head + .beach-feature {
    margin-top: 32px;
  }
  .slope-image img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .slope-step,
  .rhythm-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .slope-step {
    padding: 28px 0;
  }
  .intro-text p,
  .split-copy p:not(.smallcaps) {
    font-size: 17px;
  }
  .terrace-feature {
    padding-top: 86px;
    padding-bottom: 84px;
  }
  .terrace-feature-head h2 {
    font-size: 40px;
  }
  .terrace-feature-head p {
    font-size: 16px;
  }
  .terrace-feature-copy {
    font-size: 21px;
  }
  .terrace-feature-small-grid {
    grid-template-columns: 1fr;
  }
  .terrace-feature-small-grid img {
    aspect-ratio: 4 / 3;
  }
  .story-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .story-link {
    max-width: 680px;
  }
  .route-grid,
  .photo-essay,
  .compact-facts,
  .return-pair,
  .bedroom-duo,
  .local-rhythm,
  .place-grid,
  .beach-grid {
    grid-template-columns: 1fr;
  }
  .route-section {
    min-height: 0;
  }
  .route-stage {
    position: static;
    height: auto;
    overflow: visible;
  }
  .route-grid {
    grid-auto-flow: row;
    width: auto;
    transform: none !important;
  }
  .compact-facts div,
  .compact-facts div:last-child {
    padding: 28px 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 253, 248, .16);
  }
  .compact-facts div:last-child {
    border-bottom: 0;
  }
  .booking-ribbon div {
    padding: 26px 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 250, 243, .14);
  }
  .booking-ribbon {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .booking-ribbon div {
    border-right: 1px solid var(--line);
  }
  .booking-ribbon div:nth-of-type(3) {
    border-right: 0;
  }
  .booking-ribbon strong {
    font-size: 25px;
  }
  .reserve-section {
    padding-bottom: 96px;
  }
  .reserve-section .estate-panel {
    padding-bottom: 70px;
  }
  .return-pair article,
  .return-pair article + article {
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .return-pair article:last-child {
    border-bottom: 0;
  }
  .local-rhythm article,
  .local-rhythm article + article {
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .local-rhythm article:last-child {
    border-bottom: 0;
  }
  .return-pair h3 {
    font-size: 34px;
  }
  .local-rhythm h3 {
    font-size: 31px;
  }
  .place-card-large {
    grid-column: auto;
  }
  .place-card-large img,
  .beach-feature img {
    aspect-ratio: 4 / 3;
  }
  .beach-grid {
    margin-top: 38px;
  }
  .beach-feature h3 {
    font-size: 36px;
  }
  .route-item-lower {
    margin-top: 0;
  }
  .route-item-lower img,
  .route-item img {
    aspect-ratio: 4 / 4.2;
  }
  .card-action {
    position: static;
    margin-top: 16px;
    margin-left: 0;
    padding: 0;
    background: transparent;
    text-decoration: underline;
    text-underline-offset: 5px;
  }
  .estate-section {
    padding-bottom: 72px;
  }
  .estate-image {
    min-height: 420px;
  }
  .estate-image img {
    height: 460px;
  }
  .estate-panel {
    width: calc(100% - 48px);
    margin-top: -140px;
    padding: 36px 24px;
  }
  .estate-panel h2 { font-size: 34px; }
  .estate-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  .estate-grid ul {
    gap: 12px;
    margin-top: 14px;
  }
  .photo-essay {
    grid-auto-rows: auto;
  }
  .photo-essay img:nth-child(4) {
    grid-row: auto;
    grid-column: auto;
  }
  .photo-essay img {
    aspect-ratio: 4 / 3;
  }
  .gallery-essay .gallery-panorama,
  .gallery-essay .gallery-living,
  .gallery-essay .gallery-bedroom,
  .gallery-essay .gallery-kitchen,
  .gallery-essay .gallery-bathroom,
  .gallery-essay .gallery-extra {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }
  .gallery-essay .gallery-panorama {
    aspect-ratio: 4 / 3;
  }
  .gallery-essay .gallery-bathroom {
    aspect-ratio: 3 / 4.35;
  }
  .practical-section {
    gap: 34px;
  }
  .spec-list div,
  .note-row,
  .distance-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .image-band {
    padding: 0 24px 68px;
  }
  .image-band img {
    aspect-ratio: 4 / 3;
  }
  .caption-row {
    display: block;
  }
  .caption-row span {
    display: block;
    margin-top: 6px;
  }
  .story-link {
    gap: 12px;
  }
  .location-map {
    min-height: 320px;
  }
  .footer {
    display: block;
    padding: 26px 24px;
  }
  .footer span {
    display: block;
    margin: 8px 0;
  }
}

@media (max-width: 520px) {
  .brand { font-size: 18px; }
  .nav-toggle { min-height: 40px; }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  h1 { font-size: 44px; }
  h2 { font-size: 30px; }
  h3 { font-size: 25px; }
  .hero {
    min-height: 72svh;
  }
  .home-hero {
    padding: 0;
  }
  .home-hero h1 {
    font-size: clamp(32px, 9vw, 40px);
    line-height: .96;
  }
  .home-hero .hero-copy {
    max-width: 330px;
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.42;
  }
  .home-first-view .home-nav {
    gap: 24px;
  }
  .home-first-view .home-nav > .pill {
    display: none;
  }
  .home-first-view .home-nav .nav-toggle {
    font-size: 17px;
  }
  .home-first-view .home-nav .nav-toggle::before {
    width: 31px;
  }
  .page-hero h1 { font-size: 34px; }
  .page-hero {
    min-height: 470px;
  }
  .button {
    width: 100%;
  }
  .booking-ribbon {
    min-height: 76px;
  }
  .booking-ribbon div {
    padding: 18px 10px;
  }
  .booking-ribbon span {
    font-size: 9px;
    letter-spacing: .12em;
  }
  .booking-ribbon strong {
    margin-top: 9px;
    font-size: clamp(15px, 4.4vw, 18px);
    line-height: 1.06;
  }
  .spec-list dd,
  .note-row p,
  .distance-item p {
    font-size: 16px;
  }
  .estate-panel {
    width: calc(100% - 28px);
    padding: 30px 18px;
  }
  .estate-panel h2 {
    font-size: 32px;
  }
  .estate-grid h3,
  .estate-grid li {
    font-size: 15px;
  }
  .terrace-feature-head h2 { font-size: 32px; }
  .terrace-feature-grid {
    margin-top: 52px;
  }
  .terrace-feature-copy {
    font-size: 19px;
  }
  .feature-sticky {
    padding: 62px 24px 72px;
  }
  .feature-media {
    min-height: 360px;
  }
  .feature-row {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 16px;
    padding: 22px 0 20px;
  }
  .feature-row strong {
    font-size: 24px;
  }
}

@media (max-width: 390px) {
  .nav {
    padding-right: 18px;
    padding-left: 18px;
  }
  .hero {
    min-height: 70svh;
    padding: 70px 18px 24px;
  }
  .home-hero {
    min-height: 102svh;
  }
  .home-hero .hero-content {
    padding: 22px 18px 32px;
  }
  .home-hero h1 {
    font-size: clamp(31px, 8.4vw, 34px);
  }
  .home-hero .hero-copy {
    max-width: 310px;
    font-size: 13.5px;
  }
  .home-first-view .home-nav > .pill {
    padding: 0 12px;
  }
  .hero-copy,
  .page-hero-content p:not(.eyebrow) {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.46;
  }
  .hero-actions {
    margin-top: 26px;
  }
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  h3 { font-size: 23px; }
  .page-hero {
    min-height: 440px;
    padding: 64px 18px;
  }
  .page-hero h1 { font-size: 30px; }
  .section {
    padding: 58px 18px;
  }
  .slope-step strong,
  .rhythm-row strong {
    font-size: 27px;
  }
  .compact-facts div {
    padding-right: 18px;
    padding-left: 18px;
  }
  .compact-facts strong {
    font-size: 39px;
  }
  .return-pair h3 {
    font-size: 30px;
  }
  .image-band {
    padding: 0 18px 58px;
  }
  .story-link strong {
    font-size: 28px;
  }
  .feature-sticky {
    padding-right: 18px;
    padding-left: 18px;
  }
  .feature-media {
    min-height: 330px;
  }
  .feature-row {
    grid-template-columns: 76px minmax(0, 1fr);
  }
  .feature-row strong {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
