:root {
  --paper: #f7f5ef;
  --paper-deep: #eeece4;
  --ink: #1f241e;
  --muted: #667064;
  --forest: #293722;
  --forest-soft: #3f5035;
  --lime: #d9dc58;
  --line: rgba(31, 36, 30, 0.16);
  --white-line: rgba(255, 255, 255, 0.2);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --container: 1180px;
  --shadow: 0 18px 45px rgba(30, 35, 28, 0.1);
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-180%);
}

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

.container {
  width: min(var(--container), calc(100% - 3rem));
  margin-inline: auto;
}

.section {
  padding: clamp(4.75rem, 9vw, 8.5rem) 0;
}

.section--compact {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

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

.section--dark {
  background: var(--forest);
  color: var(--paper);
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--forest-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section--dark .eyebrow,
.hero .eyebrow,
.cta-band .eyebrow {
  color: var(--lime);
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
}

h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(3.2rem, 7vw, 6.7rem);
  line-height: 0.93;
}

h2 {
  margin-bottom: 1.3rem;
  font-size: clamp(2.55rem, 5vw, 4.7rem);
  line-height: 0.98;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  line-height: 1.05;
}

p {
  margin-bottom: 1.2rem;
}

.lede {
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.section--dark .lede,
.cta-band .lede {
  color: rgba(247, 245, 239, 0.78);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.text-link::after {
  content: "→";
  font-size: 1.1rem;
  font-weight: 400;
  transition: transform 180ms ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(0.25rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  min-height: 3.25rem;
  padding: 0.95rem 1.4rem;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.1;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button::after {
  content: "→";
  font-size: 1.15rem;
  font-weight: 400;
}

.button:hover,
.button:focus-visible {
  background: #edf08d;
  transform: translateY(-2px);
}

.button--dark {
  background: var(--forest);
  color: var(--paper);
}

.button--dark:hover,
.button--dark:focus-visible {
  background: var(--forest-soft);
}

.button--outline {
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}

.button--outline:hover,
.button--outline:focus-visible {
  background: var(--lime);
  color: var(--ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 245, 239, 0.95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.scroll-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: var(--scroll-progress, 0%);
  height: 3px;
  background: var(--lime);
  pointer-events: none;
  transform-origin: left center;
}

.whatsapp-float {
  position: fixed;
  z-index: 80;
  right: clamp(1rem, 2vw, 1.8rem);
  bottom: clamp(1rem, 2vw, 1.6rem);
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 4.3rem;
  padding: 0.56rem 1.2rem 0.56rem 0.62rem;
  border: 1px solid rgba(217, 220, 88, 0.72);
  border-radius: 19px 31px 15px 25px / 27px 14px 29px 17px;
  background: var(--forest);
  color: var(--paper);
  box-shadow: 5px 6px 0 rgba(16, 25, 15, 0.3), 0 0.9rem 2rem rgba(16, 25, 15, 0.18);
  transform: rotate(-1.4deg);
  transition: transform 350ms var(--motion-ease), background-color 350ms ease, box-shadow 350ms ease;
}

body[data-motion="full"].motion-ready .whatsapp-float {
  animation: whatsapp-fidget 5s ease-in-out infinite;
  transform-origin: 88% 92%;
}

body[data-motion="full"].motion-ready .whatsapp-float:hover,
body[data-motion="full"].motion-ready .whatsapp-float:focus-visible {
  animation-play-state: paused;
}

.whatsapp-float::before {
  position: absolute;
  z-index: -1;
  inset: -3px 4px 2px -3px;
  border: 1px solid rgba(217, 220, 88, 0.46);
  border-radius: 27px 14px 31px 17px / 16px 29px 18px 26px;
  content: "";
  pointer-events: none;
  transform: rotate(-1.8deg);
  clip-path: polygon(1% 18%, 7% 7%, 23% 3%, 39% 6%, 55% 2%, 72% 6%, 88% 4%, 98% 15%, 96% 31%, 100% 47%, 96% 64%, 99% 80%, 88% 97%, 72% 93%, 55% 99%, 38% 95%, 22% 98%, 8% 91%, 4% 76%, 0% 59%, 4% 40%);
}

.whatsapp-float::after {
  position: absolute;
  z-index: 0;
  inset: 4px 6px 3px 5px;
  border: 1px dashed rgba(217, 220, 88, 0.78);
  border-radius: 17px 27px 13px 23px / 24px 12px 26px 15px;
  box-shadow: inset 0 0 0 0.5px rgba(217, 220, 88, 0.18);
  content: "";
  pointer-events: none;
  transform: rotate(1.4deg) translate(1px, -1px);
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: var(--forest-soft);
  box-shadow: 6px 7px 0 rgba(16, 25, 15, 0.34), 0 1.1rem 2.2rem rgba(16, 25, 15, 0.24);
  transform: translateY(-3px) rotate(0.8deg);
}

.whatsapp-float-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  flex: 0 0 auto;
  border: 1px solid rgba(31, 36, 30, 0.2);
  border-radius: 38% 62% 47% 53% / 61% 39% 57% 43%;
  background: var(--lime);
  color: var(--forest);
  box-shadow: 3px 3px 0 rgba(16, 25, 15, 0.26);
  transform: rotate(2.5deg);
  clip-path: polygon(8% 18%, 19% 7%, 37% 5%, 54% 9%, 73% 4%, 91% 14%, 95% 31%, 91% 49%, 97% 66%, 88% 84%, 77% 95%, 58% 90%, 40% 97%, 21% 90%, 7% 78%, 10% 59%, 4% 39%);
}

.whatsapp-float-icon svg {
  width: 1.38rem;
  height: 1.38rem;
  fill: currentColor;
}

.whatsapp-float-label {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: 0.94rem;
  font-style: italic;
  letter-spacing: 0.03em;
  transform: translateY(-1px) rotate(-1deg);
}

body.menu-open .whatsapp-float {
  opacity: 0;
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 84px;
  gap: 2rem;
}

.brand {
  display: block;
  flex: 0 0 auto;
  width: 154px;
  height: 62px;
  overflow: hidden;
}

.brand img {
  width: 154px;
  height: 62px;
  object-fit: cover;
  object-position: center;
}

.primary-nav {
  margin-left: auto;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.4vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  position: relative;
  display: inline-block;
  padding: 0.4rem 0;
  color: #3f453e;
  font-family: var(--serif);
  font-size: 0.9rem;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--lime);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta {
  flex: 0 0 auto;
  min-height: 2.8rem;
  padding: 0.75rem 1.15rem;
  background: var(--forest);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 0.94rem;
  transition: background 180ms ease, transform 180ms ease;
}

.header-cta::after {
  content: "→";
  margin-left: 0.8rem;
  color: var(--lime);
  font-family: var(--sans);
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--forest-soft);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  margin-left: auto;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 1.45rem;
  height: 1px;
  margin: 0.35rem auto;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span {
  opacity: 0;
}

.menu-toggle.is-open::before {
  transform: translateY(0.35rem) rotate(45deg);
}

.menu-toggle.is-open::after {
  transform: translateY(-0.35rem) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100vh - 84px));
  overflow: hidden;
  align-items: end;
  color: var(--paper);
  isolation: isolate;
}

.hero--short {
  min-height: clamp(430px, 58vh, 600px);
}

.hero-media,
.hero::before,
.hero::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  --image-zoom: 1;
  transform: translate3d(0, var(--hero-parallax-y, 0px), 0) scale(calc(1.04 * var(--image-zoom, 1)));
}

body[data-motion="full"].motion-ready .hero-media {
  animation-name: hero-media-reveal, image-breathe;
  animation-duration: 1800ms, 24s;
  animation-timing-function: var(--motion-ease), ease-in-out;
  animation-delay: 0ms, 1800ms;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: both, none;
  will-change: transform;
}

body[data-motion="full"].motion-ready .hero-content>* {
  opacity: 0;
  animation: hero-content-reveal 1000ms var(--motion-ease) both;
}

body[data-motion="full"].motion-ready .hero-content>h1 {
  opacity: 1;
  animation: none;
}

body[data-motion="full"].motion-ready .hero-content> :nth-child(1) {
  animation-delay: 120ms;
}

body[data-motion="full"].motion-ready .hero-content> :nth-child(2) {
  animation-delay: 220ms;
}

body[data-motion="full"].motion-ready .hero-content> :nth-child(3) {
  animation-delay: 320ms;
}

body[data-motion="full"].motion-ready .hero-content> :nth-child(4) {
  animation-delay: 430ms;
}

body[data-motion="full"].motion-ready .hero-content> :nth-child(5) {
  animation-delay: 540ms;
}

.hero::before {
  z-index: -1;
  background: linear-gradient(90deg, rgba(16, 25, 15, 0.8) 0%, rgba(16, 25, 15, 0.42) 48%, rgba(16, 25, 15, 0.14) 100%);
  content: "";
}

.hero::after {
  z-index: -1;
  background: linear-gradient(0deg, rgba(16, 25, 15, 0.65) 0%, transparent 45%);
  content: "";
}

.hero-content {
  width: min(var(--container), calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(6rem, 15vh, 10rem) 0 4.8rem;
}

.hero h1 {
  max-width: 720px;
}

.hero-copy {
  max-width: 35rem;
  color: rgba(247, 245, 239, 0.88);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
  margin: 2.5rem 0 0;
  color: rgba(247, 245, 239, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-tags span+span::before {
  margin-right: 1.2rem;
  color: var(--lime);
  content: "•";
}

.page-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: clamp(2rem, 8vw, 8rem);
}

.page-intro h1 {
  margin-bottom: 0;
}

.page-intro-copy {
  padding-bottom: 0.4rem;
}

/* Content patterns */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 8rem);
}

.split--reverse {
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
}

.split--reverse .split-copy {
  order: 2;
}

.split--reverse .split-visual {
  order: 1;
}

.split-copy {
  max-width: 34rem;
}

.split-copy .text-link {
  margin-top: 1rem;
}

.image-frame {
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
  isolation: isolate;
}

.image-frame::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.16) 50%, transparent 80%);
  content: "";
  pointer-events: none;
  opacity: 0;
  transition: opacity 700ms ease;
}

.image-frame:hover::after {
  opacity: 1;
}

.image-frame img {
  width: 100%;
  height: 100%;
  --image-zoom: 1;
  object-fit: cover;
  transform: scale(var(--image-zoom, 1));
  transition: transform 1000ms var(--motion-ease), filter 700ms ease;
}

.image-frame > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--paper-deep);
}

.image-frame:hover img {
  filter: saturate(1.05) contrast(1.02);
  transform: scale(calc(var(--image-zoom, 1) * 1.035));
}

.image-frame--tall {
  aspect-ratio: 4 / 5;
}

.image-frame--wide {
  aspect-ratio: 16 / 10;
}

.image-frame--square {
  aspect-ratio: 1;
}

.image-frame--offset {
  margin-right: clamp(0rem, 5vw, 4rem);
}

.image-note {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1rem;
  max-width: 13rem;
  padding: 1.1rem;
  background: var(--forest);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.15;
}

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

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading .text-link {
  flex: 0 0 auto;
  margin-bottom: 0.4rem;
}

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

.space-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(31, 36, 30, 0.12);
  --lift: 0px;
  transition: box-shadow 500ms var(--motion-ease), transform 500ms var(--motion-ease);
  transform: translateY(var(--lift));
}

.section--tint .space-card {
  background: var(--paper);
}

.space-card:hover {
  box-shadow: var(--shadow);
  --lift: -4px;
}

.space-card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.space-card-image img {
  width: 100%;
  height: 100%;
  --image-zoom: 1;
  object-fit: cover;
  transform: scale(var(--image-zoom, 1));
  transition: transform 500ms ease;
}

.space-card:hover .space-card-image img {
  transform: scale(calc(var(--image-zoom, 1) * 1.04));
}

.space-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.45rem 1.45rem 1.6rem;
}

.space-card-body p {
  max-width: 25rem;
  margin-bottom: 1.3rem;
  color: var(--muted);
}

.space-card-body .text-link {
  margin-top: auto;
  align-self: flex-start;
  border-bottom: 0;
  padding-bottom: 0;
}

.space-card-body .text-link::after {
  font-size: 1.25rem;
}

.numbered-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.numbered-item {
  min-height: 15rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background: var(--paper);
}

.numbered-item strong {
  display: block;
  margin-bottom: 3rem;
  color: var(--forest-soft);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
}

.numbered-item h3 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
}

.numbered-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  min-height: 460px;
  background: var(--forest);
  color: var(--paper);
}

.feature-panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.feature-panel-copy h2 {
  max-width: 22rem;
}

.feature-panel-copy p {
  max-width: 24rem;
  color: rgba(247, 245, 239, 0.76);
}

.feature-panel-copy .button {
  align-self: flex-start;
  margin-top: 1rem;
}

.feature-panel-media {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 360px;
  overflow: hidden;
}

.feature-panel-media img {
  width: 90%;
  height: 90%;
  margin-left: auto;
  --image-zoom: 1;
  object-fit: cover;
  transform: scale(var(--image-zoom, 1));
}

.detail-list {
  display: grid;
  gap: 0;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

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

.detail-list strong {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-list span {
  color: var(--muted);
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-template-rows: repeat(2, minmax(230px, 1fr));
  gap: 0.6rem;
}

.gallery-mosaic figure {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
}

.gallery-mosaic figure:first-child {
  grid-row: span 2;
}

.gallery-mosaic img {
  width: 100%;
  height: 100%;
  --image-zoom: 1;
  object-fit: cover;
  transform: scale(var(--image-zoom, 1));
  transition: transform 500ms ease;
}

.gallery-mosaic figure:hover img {
  transform: scale(calc(var(--image-zoom, 1) * 1.04));
}

.gallery-mosaic figcaption {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  padding: 0.45rem 0.65rem;
  background: rgba(31, 36, 30, 0.78);
  color: var(--paper);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.space-gallery-section {
  overflow: hidden;
}

.space-gallery-section .section-heading {
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.space-gallery-intro {
  max-width: 25rem;
  margin: 0;
  color: rgba(247, 245, 239, 0.72);
}

.space-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.5vw, 1.2rem);
}

.space-gallery-item {
  position: relative;
  grid-column: span 3;
  min-width: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(247, 245, 239, 0.25);
  border-radius: 19px 11px 17px 14px / 13px 18px 12px 20px;
  background: var(--forest-soft);
  color: var(--paper);
  cursor: zoom-in;
  transform: rotate(-0.65deg);
  transition: border-color 500ms ease, box-shadow 600ms var(--motion-ease), transform 600ms var(--motion-ease);
}

.space-gallery-item:nth-child(4n + 2) {
  border-radius: 12px 18px 14px 21px / 20px 13px 18px 11px;
  transform: rotate(0.7deg) translateY(0.25rem);
}

.space-gallery-item:nth-child(4n + 3) {
  border-radius: 16px 13px 21px 10px / 12px 21px 14px 18px;
  transform: rotate(-0.35deg) translateY(-0.15rem);
}

.space-gallery-item:nth-child(4n + 4) {
  border-radius: 11px 21px 13px 18px / 18px 12px 22px 14px;
  transform: rotate(0.45deg) translateY(0.35rem);
}

.space-gallery-item img {
  width: 100%;
  height: 100%;
  --image-zoom: 1;
  object-fit: cover;
  transform: scale(var(--image-zoom, 1));
  transition: filter 700ms ease, transform 1200ms var(--motion-ease);
}

.space-gallery-item::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 25, 15, 0.02) 48%, rgba(16, 25, 15, 0.72));
  content: "";
  pointer-events: none;
  transition: opacity 500ms ease;
}

.space-gallery-item:hover,
.space-gallery-item:focus-visible {
  z-index: 2;
  border-color: var(--lime);
  box-shadow: 0 1.2rem 2.5rem rgba(10, 16, 9, 0.24);
  outline: 0;
  transform: translateY(-0.45rem) rotate(0deg) scale(1.012);
}

.space-gallery-item:hover img,
.space-gallery-item:focus-visible img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(calc(var(--image-zoom, 1) * 1.045));
}

.space-gallery-item:hover::after,
.space-gallery-item:focus-visible::after {
  opacity: 0.86;
}

.space-gallery-number {
  position: absolute;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.space-gallery-number {
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.42rem 0.48rem;
  background: rgba(16, 25, 15, 0.72);
  color: var(--lime);
}

.space-gallery {
  display: block;
  height: clamp(22rem, 68vh, 39rem);
  overflow: hidden;
}

.space-gallery-item,
.space-gallery-item:nth-child(n) {
  display: none;
  width: 100%;
  height: 100%;
  grid-column: auto;
  aspect-ratio: auto;
  border-radius: 23px 13px 20px 15px / 16px 22px 14px 19px;
  transform: none;
}

.space-gallery-item:first-child,
.space-gallery[data-carousel-ready] .space-gallery-item.is-active {
  display: block;
}

.space-gallery[data-carousel-ready] .space-gallery-item:not(.is-active) {
  display: none;
}

.space-gallery-item img {
  object-fit: contain;
  background: var(--forest-soft);
}

.space-gallery-open {
  display: none;
}

.space-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 52rem);
  margin: 1rem auto 1.4rem;
  gap: 1rem;
}

.space-carousel-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(247, 245, 239, 0.3);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: border-color 300ms ease, background-color 300ms ease, color 300ms ease;
}

.space-carousel-arrow:hover,
.space-carousel-arrow:focus-visible {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
  outline: 0;
}

.space-carousel-count {
  color: var(--lime);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
}

.space-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: clamp(0.4rem, 1vw, 0.7rem);
  width: min(100%, 52rem);
  margin-inline: auto;
}

.space-gallery-thumb {
  position: relative;
  min-width: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(247, 245, 239, 0.28);
  border-radius: 13px 9px 12px 8px / 9px 13px 8px 12px;
  background: var(--forest-soft);
  cursor: pointer;
  opacity: 0.58;
  transform: rotate(-0.55deg);
  transition: border-color 300ms ease, box-shadow 350ms var(--motion-ease), opacity 300ms ease, transform 350ms var(--motion-ease);
}

.space-gallery-thumb:nth-child(even) {
  transform: rotate(0.65deg) translateY(0.18rem);
}

.space-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 350ms ease, transform 800ms var(--motion-ease);
}

.space-gallery-thumb span {
  position: absolute;
  right: 0.35rem;
  bottom: 0.35rem;
  padding: 0.24rem 0.3rem;
  background: rgba(16, 25, 15, 0.76);
  color: var(--lime);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.space-gallery-thumb[aria-selected="true"],
.space-gallery-thumb:hover,
.space-gallery-thumb:focus-visible {
  border-color: var(--lime);
  box-shadow: 0 0.7rem 1.4rem rgba(10, 16, 9, 0.22);
  opacity: 1;
  outline: 0;
  transform: translateY(-0.22rem) rotate(0deg);
}

.space-gallery-thumb:hover img,
.space-gallery-thumb:focus-visible img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.06);
}

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

.video-card {
  min-width: 0;
  transition: transform 700ms var(--motion-ease);
}

.video-player,
.video-card>video {
  position: relative;
  width: 100%;
  max-width: 22rem;
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  background: #1b2119;
}

.video-player {
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(247, 245, 239, 0.22);
  box-shadow: 0 1.2rem 2.5rem rgba(10, 16, 9, 0.18);
}

.video-player video,
.video-card>video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #1b2119;
}

.video-controls {
  position: absolute;
  z-index: 2;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  display: grid;
  grid-template-columns: auto minmax(3rem, 1fr) auto auto auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(247, 245, 239, 0.28);
  background: rgba(16, 25, 15, 0.9);
}

.video-player:not(.is-enhanced) .video-controls {
  display: none;
}

.video-control,
.video-play-trigger {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid transparent;
  color: var(--paper);
  background: transparent;
  cursor: pointer;
}

.video-control {
  width: 1.7rem;
  height: 1.7rem;
  padding: 0;
}

.video-control:hover,
.video-control:focus-visible {
  border-color: var(--lime);
  color: var(--lime);
}

.video-play-trigger {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 4.2rem;
  height: 4.2rem;
  padding: 0;
  border-color: rgba(245, 239, 78, 0.7);
  border-radius: 50%;
  background: rgba(16, 25, 15, 0.78);
  color: var(--lime);
  transform: translate(-50%, -50%);
  transition: opacity 350ms ease, transform 350ms var(--motion-ease), background-color 350ms ease;
}

.video-play-trigger:hover,
.video-play-trigger:focus-visible {
  background: var(--forest-soft);
  transform: translate(-50%, -50%) scale(1.06);
}

.video-player.is-playing .video-play-trigger {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.9);
}

.video-player.is-playing:hover .video-play-trigger,
.video-player.is-playing:focus-within .video-play-trigger {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.video-icon {
  display: block;
}

.video-icon--play {
  width: 0;
  height: 0;
  margin-left: 0.25rem;
  border-top: 0.58rem solid transparent;
  border-bottom: 0.58rem solid transparent;
  border-left: 0.82rem solid currentColor;
}

.video-icon--pause {
  width: 0.78rem;
  height: 1.05rem;
  border-right: 0.22rem solid currentColor;
  border-left: 0.22rem solid currentColor;
}

.video-control--mute::before {
  content: "◒";
  font-size: 1rem;
  line-height: 1;
}

.video-player.is-muted .video-control--mute::before {
  content: "×";
  font-size: 1.1rem;
}

.video-control--fullscreen::before {
  content: "⛶";
  font-size: 1.05rem;
  line-height: 1;
}

.video-progress {
  min-width: 0;
}

.video-progress input {
  display: block;
  width: 100%;
  height: 1rem;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.video-progress input::-webkit-slider-runnable-track {
  height: 0.22rem;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--lime) var(--video-progress, 0%), rgba(247, 245, 239, 0.35) var(--video-progress, 0%));
}

.video-progress input::-moz-range-track {
  height: 0.22rem;
  border-radius: 99px;
  background: rgba(247, 245, 239, 0.35);
}

.video-progress input::-moz-range-progress {
  height: 0.22rem;
  border-radius: 99px;
  background: var(--lime);
}

.video-progress input::-webkit-slider-thumb {
  width: 0.72rem;
  height: 0.72rem;
  margin-top: -0.25rem;
  appearance: none;
  border: 2px solid var(--forest);
  border-radius: 50%;
  background: var(--lime);
}

.video-progress input::-moz-range-thumb {
  width: 0.65rem;
  height: 0.65rem;
  border: 2px solid var(--forest);
  border-radius: 50%;
  background: var(--lime);
}

.video-time {
  color: rgba(247, 245, 239, 0.82);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.video-player:fullscreen,
.video-player:-webkit-full-screen {
  width: min(90vw, 50.625vh);
  max-width: none;
  height: 90vh;
  margin: auto;
}

.video-card h3 {
  margin-top: 1.1rem;
  font-size: 1.65rem;
}

.video-card p {
  color: rgba(247, 245, 239, 0.72);
}

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

.value-item {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.value-item span {
  display: block;
  margin-bottom: 1rem;
  color: var(--forest-soft);
  font-family: var(--serif);
  font-size: 1.4rem;
}

.value-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  color: var(--paper);
  isolation: isolate;
}

.cta-band::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 32, 20, 0.95), rgba(24, 32, 20, 0.64)), url("header.png") center / cover;
  content: "";
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 3rem;
  padding: clamp(3.75rem, 7vw, 6.5rem) 0;
}

.cta-inner h2 {
  max-width: 28rem;
  margin-bottom: 0;
}

.cta-copy {
  max-width: 32rem;
}

.cta-copy .button {
  margin-top: 0.7rem;
}

/* Contact and booking */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: start;
}

.contact-list {
  margin: 2.3rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.contact-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-list small {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-list a {
  font-family: var(--serif);
  font-size: 1.35rem;
}

.contact-list a:hover {
  color: var(--forest-soft);
}

.map-section {
  padding-top: clamp(2rem, 5vw, 4.5rem);
  background: var(--forest);
  color: var(--paper);
}

.map-card {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 7vw, 7rem);
}

.map-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-copy h2 {
  max-width: 27rem;
  font-size: clamp(2.2rem, 4vw, 4rem);
  text-wrap: balance;
}

.map-copy .eyebrow {
  color: var(--lime);
}

.map-copy p:not(.eyebrow) {
  max-width: 24rem;
  color: rgba(247, 245, 239, 0.78);
}

.map-copy .text-link {
  align-self: flex-start;
  margin-top: 1rem;
  color: var(--paper);
}

.map-frame {
  position: relative;
  align-self: start;
  height: 360px;
  padding-left: clamp(0rem, 2vw, 1.5rem);
  border-left: 1px solid rgba(217, 220, 88, 0.45);
  isolation: isolate;
}

.map-frame::before {
  display: none;
}

.map-frame iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  filter: saturate(0.78) contrast(0.96) sepia(0.08);
}

.form-card {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--paper-deep);
}

.form-card h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(31, 36, 30, 0.25);
  border-radius: 0;
  padding: 0.85rem 0.9rem;
  background: var(--paper);
  color: var(--ink);
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--forest);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(217, 220, 88, 0.5);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.form-status {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  background: rgba(217, 220, 88, 0.28);
  color: var(--ink);
  font-size: 0.9rem;
}

.form-status[hidden] {
  display: none;
}

.message-preview {
  width: 100%;
  min-height: 10rem;
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 1rem;
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
}

.message-preview[hidden] {
  display: none;
}

/* Footer */
.site-footer {
  background: #171c17;
  color: var(--paper);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 3rem;
  padding: 3.5rem 0;
}

.footer-brand {
  width: 150px;
  height: 62px;
  overflow: hidden;
}

.footer-brand img {
  width: 150px;
  height: 62px;
  object-fit: cover;
  object-position: center;
  filter: brightness(0) invert(1);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-nav a,
.footer-social a {
  color: rgba(247, 245, 239, 0.76);
  font-size: 0.8rem;
}

.footer-nav a:hover,
.footer-social a:hover {
  color: var(--lime);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0 1.35rem;
  border-top: 1px solid var(--white-line);
  color: rgba(247, 245, 239, 0.52);
  font-size: 0.72rem;
}

.footer-bottom p {
  margin: 0;
}

/* Motion */
@property --image-zoom {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.99);
  transition: opacity 950ms var(--motion-ease), transform 950ms var(--motion-ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

body[data-motion="full"] .letter-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

body[data-motion="full"] .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(115%) rotate(3deg);
}

body[data-motion="full"].motion-ready .reveal.is-visible .letter,
body[data-motion="full"].motion-ready .hero-content .letter {
  animation: letter-reveal 900ms var(--motion-ease) both;
  animation-delay: var(--letter-delay, 120ms);
}

body[data-motion="full"].motion-ready .reveal.is-visible .letter {
  animation-delay: calc(var(--letter-delay, 120ms) + 220ms);
}

body[data-motion="full"].motion-ready .hero-content h1 .letter {
  animation-delay: calc(var(--letter-delay, 120ms) + 180ms);
}

body[data-motion="full"].motion-ready .reveal:not(.is-visible) .image-frame img,
body[data-motion="full"].motion-ready .reveal:not(.is-visible) .image-frame > video,
body[data-motion="full"].motion-ready .reveal:not(.is-visible) .space-card-image img,
body[data-motion="full"].motion-ready .reveal:not(.is-visible) .feature-panel-media img,
body[data-motion="full"].motion-ready .reveal:not(.is-visible) .gallery-mosaic img,
body[data-motion="full"].motion-ready .reveal:not(.is-visible) .space-gallery-item.is-active img,
body[data-motion="full"].motion-ready .reveal:not(.is-visible) video {
  opacity: 0;
  transform: translateY(20px) scale(calc(1.045 * var(--image-zoom, 1)));
}

body[data-motion="full"].motion-ready .reveal.is-visible .image-frame img,
body[data-motion="full"].motion-ready .reveal.is-visible .image-frame > video,
body[data-motion="full"].motion-ready .reveal.is-visible .space-card-image img,
body[data-motion="full"].motion-ready .reveal.is-visible .feature-panel-media img,
body[data-motion="full"].motion-ready .reveal.is-visible .gallery-mosaic img,
body[data-motion="full"].motion-ready .reveal.is-visible .space-gallery-item.is-active img,
body[data-motion="full"].motion-ready .reveal.is-visible video {
  animation-name: media-reveal, image-breathe;
  animation-duration: 1200ms, 24s;
  animation-timing-function: var(--motion-ease), ease-in-out;
  animation-delay: calc(var(--reveal-delay, 0ms) + 300ms), calc(var(--reveal-delay, 0ms) + 1500ms);
  animation-iteration-count: 1, infinite;
  animation-fill-mode: both, none;
}

body[data-motion="full"].motion-ready .space-gallery.reveal.is-visible .space-gallery-item.is-active img {
  animation-duration: 420ms, 24s;
  animation-delay: 0ms, 600ms;
}

body[data-motion="full"].motion-ready .reveal.is-visible .image-note {
  animation: note-reveal 850ms var(--motion-ease) 420ms both;
}

@keyframes hero-media-reveal {
  from {
    opacity: 0;
    transform: translate3d(0, var(--hero-parallax-y, 0px), 0) scale(calc(1.12 * var(--image-zoom, 1)));
  }

  to {
    opacity: 1;
    transform: translate3d(0, var(--hero-parallax-y, 0px), 0) scale(calc(1.04 * var(--image-zoom, 1)));
  }
}

@keyframes whatsapp-fidget {
  0%,
  76%,
  100% {
    transform: rotate(-1.4deg) translate3d(0, 0, 0);
  }

  78% {
    transform: rotate(-1.9deg) translate3d(-1px, 0, 0);
  }

  80% {
    transform: rotate(-0.8deg) translate3d(1px, -0.5px, 0);
  }

  82% {
    transform: rotate(-1.75deg) translate3d(-0.6px, 0.4px, 0);
  }

  84% {
    transform: rotate(-1deg) translate3d(0.5px, 0, 0);
  }

  86% {
    transform: rotate(-1.5deg) translate3d(0, 0, 0);
  }
}

@keyframes image-breathe {

  0%,
  100% {
    --image-zoom: 1;
  }

  50% {
    --image-zoom: 1.045;
  }
}

@keyframes letter-reveal {
  from {
    opacity: 0;
    transform: translateY(115%) rotate(3deg);
  }

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

@keyframes media-reveal {
  from {
    opacity: 0;
    transform: translateY(20px) scale(calc(1.045 * var(--image-zoom, 1)));
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(var(--image-zoom, 1));
  }
}

@keyframes note-reveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

@keyframes hero-content-reveal {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

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

/* Compact desktop: keeps the hierarchy comfortable on common notebook viewports. */
@media (min-width: 761px) and (max-width: 1440px) {
  :root {
    --container: 1080px;
  }

  .section {
    padding: clamp(3.75rem, 7vw, 6.5rem) 0;
  }

  .section--compact {
    padding: clamp(2.75rem, 5vw, 4.5rem) 0;
  }

  h1 {
    font-size: clamp(3rem, 6vw, 5.7rem);
  }

  h2 {
    font-size: clamp(2.4rem, 4.5vw, 4.1rem);
  }

  h3 {
    font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  }

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

  .hero {
    min-height: min(680px, calc(100vh - 76px));
  }

  .hero--short {
    min-height: clamp(390px, 54vh, 540px);
  }

  .hero-content {
    width: min(var(--container), calc(100% - 3rem));
    padding: clamp(4.5rem, 10vh, 7rem) 0 3.8rem;
  }

  .feature-panel {
    min-height: 410px;
  }

  .feature-panel-copy {
    padding: clamp(1.75rem, 4vw, 4.2rem);
  }
}

@media (min-width: 761px) and (max-width: 1440px) and (max-height: 820px) {
  .section {
    padding: clamp(3.25rem, 6vw, 5.5rem) 0;
  }

  .section--compact {
    padding: clamp(2.5rem, 5vw, 4.25rem) 0;
  }

  .hero {
    min-height: min(620px, calc(100vh - 76px));
  }

  .hero--short {
    min-height: clamp(360px, 52vh, 500px);
  }

  .hero-content {
    padding: clamp(3.5rem, 8vh, 5.5rem) 0 3rem;
  }
}

@media (max-width: 980px) {
  .header-inner {
    gap: 1rem;
  }

  .primary-nav ul {
    gap: 1.15rem;
  }

  .primary-nav a {
    font-size: 0.82rem;
  }

  .header-cta {
    padding-inline: 0.85rem;
  }

  .space-grid,
  .video-grid,
  .values-grid {
    gap: 0.85rem;
  }

  .feature-panel {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}

@media (max-width: 760px) {

  .container,
  .hero-content {
    width: min(var(--container), calc(100% - 2rem));
  }

  .header-inner {
    min-height: 72px;
  }

  .brand,
  .brand img {
    width: 138px;
    height: 56px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    z-index: 40;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    height: calc(100dvh - 72px);
    padding: 2rem 1rem;
    background: var(--paper);
    overflow-y: auto;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    display: grid;
    gap: 0;
    width: min(var(--container), 100%);
    margin: 0 auto;
  }

  .primary-nav li {
    border-bottom: 1px solid var(--line);
  }

  .primary-nav a {
    display: block;
    padding: 1rem 0;
    font-size: 1.35rem;
  }

  .header-cta {
    display: none;
  }

  .page-intro,
  .split,
  .split--reverse,
  .contact-grid,
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .page-intro-copy {
    padding-bottom: 0;
  }

  .split--reverse .split-copy,
  .split--reverse .split-visual {
    order: initial;
  }

  .image-frame--offset {
    margin-right: 0;
  }

  .space-grid,
  .values-grid,
  .numbered-grid {
    grid-template-columns: 1fr;
  }

  .video-grid {
    display: flex;
    grid-template-columns: none;
    align-items: flex-start;
    gap: 1rem;
    margin-inline: -0.5rem;
    padding: 0 0.5rem 0.75rem;
    overflow-x: auto;
    scroll-padding-inline: 0.5rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .video-grid::-webkit-scrollbar {
    display: none;
  }

  .video-grid .video-card {
    flex: 0 0 min(82vw, 19rem);
    scroll-snap-align: start;
  }

  .video-grid .video-player,
  .video-grid .video-card>video {
    max-width: none;
  }

  .numbered-item {
    min-height: auto;
  }

  .numbered-item strong {
    margin-bottom: 1.8rem;
  }

  .feature-panel {
    grid-template-columns: 1fr;
  }

  .feature-panel-media {
    width: 100%;
    height: auto;
    min-height: 300px;
    grid-row: 1;
  }

  .feature-panel-media img {
    width: 100%;
    height: 100%;
    margin-left: 0;
  }

  .feature-panel-copy {
    padding: 2.4rem 1.5rem 3rem;
  }

  .map-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .map-frame {
    height: 290px;
    padding-top: 1.5rem;
    padding-left: 0;
    border-top: 1px solid rgba(217, 220, 88, 0.45);
    border-left: 0;
  }

  .map-frame iframe {
    min-height: 0;
  }

  .gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, minmax(170px, 1fr));
  }

  .gallery-mosaic figure:first-child {
    grid-row: span 2;
  }

  .space-gallery {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .space-gallery-item {
    grid-column: span 2;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .footer-nav {
    gap: 0.8rem 1.2rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 650px;
  }

  .hero--short {
    min-height: 450px;
  }

  .hero-content {
    padding-bottom: 3.2rem;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .button {
    justify-content: space-between;
  }

  .section-heading {
    display: block;
  }

  .section-heading .text-link {
    margin-top: 1.2rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field--full {
    grid-column: auto;
  }

  .detail-list li {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .gallery-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, minmax(180px, auto));
  }

  .gallery-mosaic figure:first-child {
    grid-row: auto;
  }

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

  .space-gallery-item,
  .space-gallery-item:nth-child(4n + 2),
  .space-gallery-item:nth-child(4n + 3),
  .space-gallery-item:nth-child(4n + 4) {
    grid-column: span 1;
    transform: none;
  }

  .whatsapp-float {
    right: 0.85rem;
    bottom: 0.85rem;
    width: 3.7rem;
    min-height: 3.7rem;
    height: 3.7rem;
    justify-content: center;
    padding: 0.45rem;
  }

  .whatsapp-float-icon {
    width: 2.65rem;
    height: 2.65rem;
  }

  .whatsapp-float-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    border: 0;
    clip: rect(0 0 0 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body:not([data-motion="full"])) {
    scroll-behavior: auto;
  }

  body:not([data-motion="full"]) *,
  body:not([data-motion="full"]) *::before,
  body:not([data-motion="full"]) *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  body:not([data-motion="full"]) .reveal {
    opacity: 1;
    transform: none;
  }

  body:not([data-motion="full"]).motion-ready .hero-media,
  body:not([data-motion="full"]).motion-ready .hero-content>*,
  body:not([data-motion="full"]).motion-ready .hero-content>h1,
  body:not([data-motion="full"]).motion-ready .reveal .letter,
  body:not([data-motion="full"]).motion-ready .reveal .image-frame img,
  body:not([data-motion="full"]).motion-ready .reveal .image-frame > video,
  body:not([data-motion="full"]).motion-ready .reveal .space-card-image img,
  body:not([data-motion="full"]).motion-ready .reveal .feature-panel-media img,
  body:not([data-motion="full"]).motion-ready .reveal .gallery-mosaic img,
  body:not([data-motion="full"]).motion-ready .reveal video {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }
}
