:root {
  --sea: #0a3d4a;
  --sea-deep: #062830;
  --leaf: #3d6b45;
  --bamboo: #c4a35a;
  --sand: #f3ebe0;
  --foam: #faf7f2;
  --ink: #14241f;
  --muted: #5a6b64;
  --line: rgba(20, 36, 31, 0.12);
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: #d8eee4;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #d8eee4;
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
}

.site-atmosphere {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Background fits the full screen */
.site-atmosphere__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background:
    url("../images/bg/grove-bg.jpg?v=2") center center / cover no-repeat;
  filter: contrast(1.06) saturate(1.08);
}

.site-atmosphere__wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 35%, rgba(234, 246, 241, 0.18) 100%);
}

.site-atmosphere__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(36px);
  opacity: 0.25;
  animation: atmosphere-drift 16s ease-in-out infinite alternate;
}

.site-atmosphere__glow--a {
  width: min(70vw, 580px);
  height: min(70vw, 580px);
  left: -12%;
  top: 4%;
  background: radial-gradient(circle, rgba(127, 210, 180, 0.85), transparent 68%);
}

.site-atmosphere__glow--b {
  width: min(65vw, 520px);
  height: min(65vw, 520px);
  right: -10%;
  top: 20%;
  background: radial-gradient(circle, rgba(212, 176, 110, 0.7), transparent 68%);
  animation-delay: -5s;
  animation-duration: 20s;
}

.site-atmosphere__glow--c {
  width: min(75vw, 640px);
  height: min(48vw, 380px);
  left: 15%;
  bottom: -10%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.65), transparent 70%);
  animation-delay: -9s;
  animation-duration: 24s;
}

/* Soft morning sun rays */
.site-atmosphere__sunrays {
  position: absolute;
  left: 50%;
  top: -18%;
  width: min(140vw, 1600px);
  height: min(95vh, 920px);
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0.2;
  background:
    conic-gradient(
      from 200deg at 50% 0%,
      transparent 0deg,
      rgba(255, 236, 190, 0.0) 8deg,
      rgba(255, 228, 160, 0.22) 14deg,
      transparent 20deg,
      transparent 28deg,
      rgba(255, 240, 200, 0.18) 34deg,
      transparent 40deg,
      transparent 48deg,
      rgba(255, 220, 150, 0.2) 54deg,
      transparent 60deg,
      transparent 68deg,
      rgba(255, 236, 190, 0.16) 74deg,
      transparent 80deg,
      transparent 360deg
    );
  mask-image: linear-gradient(180deg, #000 0%, #000 35%, transparent 88%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 35%, transparent 88%);
  animation: sunrays-drift 14s ease-in-out infinite alternate;
  mix-blend-mode: soft-light;
}

.site-atmosphere__sunrays::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 180px;
  height: 180px;
  transform: translate(-50%, -30%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 236, 180, 0.75) 0%, rgba(255, 220, 140, 0.25) 40%, transparent 70%);
  filter: blur(8px);
  animation: sun-pulse 8s ease-in-out infinite alternate;
}

@keyframes sunrays-drift {
  from { transform: translateX(-52%) rotate(-2deg); opacity: 0.45; }
  to { transform: translateX(-48%) rotate(2.5deg); opacity: 0.65; }
}

@keyframes sun-pulse {
  from { opacity: 0.7; transform: translate(-50%, -30%) scale(0.92); }
  to { opacity: 1; transform: translate(-50%, -30%) scale(1.08); }
}

/* Realistic swaying coconut + bamboo — full grove, zoom-capped */
.real-grove {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.real-plant {
  position: absolute;
  bottom: 0;
  display: block;
  width: auto;
  height: min(92vh, 880px);
  max-width: min(28vw, 340px) !important;
  max-height: min(92vh, 880px);
  object-fit: contain;
  object-position: bottom center;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 14px 30px rgba(10, 61, 74, 0.18));
  user-select: none;
}

.real-coconut {
  height: min(90vh, 860px);
  animation: real-sway 6.5s ease-in-out infinite;
}

.real-coconut--left {
  left: -3%;
  height: min(92vh, 900px);
  max-width: min(26vw, 300px) !important;
  z-index: 1;
  animation-duration: 7.2s;
  animation-delay: -1.2s;
}

.real-coconut--mid-left {
  display: block;
  left: 12%;
  height: min(76vh, 720px);
  max-width: min(18vw, 220px) !important;
  opacity: 0.45;
  z-index: 0;
  animation-duration: 8.1s;
  animation-delay: -3.1s;
}

.real-coconut--mid {
  display: block;
  left: 40%;
  height: min(68vh, 640px);
  max-width: min(16vw, 200px) !important;
  opacity: 0.28;
  z-index: 0;
  transform: scaleX(-1);
  animation-name: real-sway-flip;
  animation-duration: 9s;
  animation-delay: -4.5s;
}

.real-coconut--mid-right {
  display: block;
  left: auto;
  right: 10%;
  height: min(78vh, 740px);
  max-width: min(18vw, 220px) !important;
  opacity: 0.42;
  z-index: 0;
  transform: scaleX(-1);
  animation-name: real-sway-flip;
  animation-duration: 7.6s;
  animation-delay: -2s;
}

.real-coconut--right {
  right: -3%;
  left: auto;
  height: min(94vh, 920px);
  max-width: min(26vw, 300px) !important;
  z-index: 1;
  transform: scaleX(-1);
  animation-name: real-sway-flip;
  animation-duration: 8s;
  animation-delay: -2.4s;
}

.real-bamboo {
  height: min(88vh, 840px);
  opacity: 0.96;
  animation: real-sway 5.2s ease-in-out infinite;
}

.real-bamboo--a {
  left: -1%;
  height: min(94vh, 900px);
  max-width: min(30vw, 360px) !important;
  z-index: 3;
  animation-duration: 5.8s;
}

.real-bamboo--b {
  display: block;
  left: 8%;
  height: min(80vh, 760px);
  max-width: min(20vw, 250px) !important;
  opacity: 0.7;
  z-index: 2;
  animation-duration: 6.2s;
  animation-delay: -0.8s;
}

.real-bamboo--c {
  display: block;
  left: 20%;
  height: min(72vh, 680px);
  max-width: min(16vw, 210px) !important;
  opacity: 0.4;
  z-index: 1;
  transform: scaleX(-1);
  animation-name: real-sway-flip;
  animation-duration: 5.5s;
  animation-delay: -1.5s;
}

.real-bamboo--mid {
  display: block;
  left: 34%;
  height: min(64vh, 600px);
  max-width: min(14vw, 180px) !important;
  opacity: 0.22;
  z-index: 0;
  animation-duration: 6.8s;
  animation-delay: -2.2s;
}

.real-bamboo--mid-b {
  display: block;
  left: 48%;
  height: min(62vh, 580px);
  max-width: min(14vw, 180px) !important;
  opacity: 0.2;
  z-index: 0;
  transform: scaleX(-1);
  animation-name: real-sway-flip;
  animation-duration: 7.1s;
  animation-delay: -3.4s;
}

.real-bamboo--d {
  display: block;
  left: auto;
  right: 20%;
  height: min(74vh, 700px);
  max-width: min(16vw, 210px) !important;
  opacity: 0.4;
  z-index: 1;
  animation-duration: 5.9s;
  animation-delay: -1.1s;
}

.real-bamboo--f {
  display: block;
  left: auto;
  right: 7%;
  height: min(82vh, 780px);
  max-width: min(20vw, 250px) !important;
  opacity: 0.7;
  z-index: 2;
  transform: scaleX(-1);
  animation-name: real-sway-flip;
  animation-duration: 6.4s;
  animation-delay: -2.6s;
}

.real-bamboo--e {
  right: -1%;
  left: auto;
  height: min(95vh, 920px);
  max-width: min(30vw, 360px) !important;
  z-index: 3;
  transform: scaleX(-1);
  animation-name: real-sway-flip;
  animation-duration: 6.8s;
  animation-delay: -1.9s;
}

@keyframes real-sway {
  0%, 100% { transform: rotate(-1.6deg); }
  50% { transform: rotate(2deg); }
}

@keyframes real-sway-flip {
  0%, 100% { transform: scaleX(-1) rotate(-1.6deg); }
  50% { transform: scaleX(-1) rotate(2deg); }
}

/* Leaf layer filled by leaves.js */
.leaf-layer {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.site-atmosphere__scene {
  position: absolute;
  left: 50%;
  top: 45%;
  width: max(1600px, 140vw);
  max-width: none !important;
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.24;
  animation: scene-float 18s ease-in-out infinite alternate;
}

.site-atmosphere__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(250, 247, 242, 0.2) 22%,
      rgba(250, 247, 242, 0.55) 40%,
      rgba(250, 247, 242, 0.62) 50%,
      rgba(250, 247, 242, 0.55) 60%,
      rgba(250, 247, 242, 0.2) 78%,
      transparent 100%
    );
}

/* Legacy plant cutouts unused — kept hidden for safety */
.real-grove,
.site-atmosphere__scene {
  display: none !important;
}

@keyframes atmosphere-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(22px, -18px) scale(1.06); }
}

@keyframes scene-float {
  from { transform: translate(-50%, -50%) translateY(0) scale(1); }
  to { transform: translate(-50%, -50%) translateY(-14px) scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
  .site-atmosphere__glow,
  .site-atmosphere__scene,
  .site-atmosphere__sunrays,
  .site-atmosphere__sunrays::before,
  .real-plant {
    animation: none;
  }
}

@media (max-width: 768px) {
  .site-atmosphere__photo {
    background-position: center center;
    background-size: cover;
  }

  .site-atmosphere__sunrays {
    opacity: 0.4;
    height: 70vh;
  }

  .site-atmosphere__veil {
    background:
      linear-gradient(
        90deg,
        transparent 0%,
        rgba(250, 247, 242, 0.4) 16%,
        rgba(250, 247, 242, 0.65) 50%,
        rgba(250, 247, 242, 0.4) 84%,
        transparent 100%
      );
  }
}

main,
.site-footer {
  position: relative;
  z-index: 2;
  isolation: isolate;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background:
    linear-gradient(135deg, rgba(14, 74, 66, 0.97) 0%, rgba(10, 61, 74, 0.96) 42%, rgba(42, 90, 58, 0.97) 100%);
  color: #f4fbf7;
  box-shadow:
    0 12px 30px rgba(6, 40, 48, 0.28),
    inset 0 -1px 0 rgba(210, 176, 122, 0.35);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 120px at 8% 0%, rgba(210, 176, 122, 0.28), transparent 70%),
    radial-gradient(420px 140px at 92% 100%, rgba(126, 200, 179, 0.22), transparent 72%);
  pointer-events: none;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    #8f6b2f 0%,
    var(--bamboo) 22%,
    #e8d5a8 50%,
    var(--bamboo) 78%,
    #8f6b2f 100%
  );
  pointer-events: none;
}

.header-top {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.14);
}

.header-top-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.4rem clamp(0.85rem, 3vw, 1.75rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.header-tagline {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 213, 168, 0.95);
}

.header-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.header-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.15s ease, background 0.15s ease;
}

.header-chip:hover {
  transform: translateY(-1px);
}

.header-chip--call {
  background: rgba(255, 255, 255, 0.12);
}

.header-chip--wa {
  background: #1fa855;
  border-color: transparent;
}

.header-chip--fb {
  background: #1877f2;
  border-color: transparent;
}

.header-chip--email {
  background: #c45c26;
  border-color: transparent;
}

.header-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0.65rem clamp(0.85rem, 3vw, 1.75rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  line-height: 1.15;
  min-width: 0;
  color: inherit;
}

.logo-mark {
  flex: 0 0 auto;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(145deg, #e8d5a8, var(--bamboo) 40%, #7ec8b3 100%);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.18),
    0 10px 22px rgba(0, 0, 0, 0.28);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #faf7f2;
  border: 2px solid rgba(255, 255, 255, 0.95);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
}

.logo-name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.logo-place {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(232, 245, 238, 0.88);
  white-space: normal;
  max-width: 34ch;
  line-height: 1.3;
}

.nav a {
  text-decoration: none;
  color: rgba(240, 248, 244, 0.88);
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(232, 213, 168, 0.35);
}

.nav-cta {
  padding: 0.55rem 1.15rem !important;
  border-radius: 999px !important;
  background: linear-gradient(145deg, #e8d5a8, var(--bamboo) 55%, #b8924a) !important;
  color: #1a1610 !important;
  border-color: transparent !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  font-weight: 700;
}

.nav-cta:hover {
  background: linear-gradient(145deg, #f0e2b8, #d2b07a) !important;
  color: #1a1610 !important;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  min-height: 0;
}

.hero-media {
  position: relative;
  width: 100%;
  background: transparent;
  overflow: hidden;
  line-height: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.hero-frame {
  position: relative;
  display: block;
  width: max-content;
  max-width: 100%;
  line-height: 0;
  border: 5px solid #fff;
  border-radius: 2px;
  box-shadow:
    0 0 0 3px var(--sea),
    0 0 0 4px rgba(20, 36, 31, 0.12),
    0 16px 40px rgba(10, 61, 74, 0.22);
}

.hero-photo {
  position: relative;
  z-index: 1;
  /* Intrinsic / actual image size; only shrink on small screens */
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: none;
  display: block;
  margin: 0;
  opacity: 0;
  filter: brightness(0.92) contrast(1.02) saturate(1.02);
  animation: hero-photo-in 1.6s ease forwards;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20, 16, 10, 0.08) 0%, transparent 35%, rgba(10, 8, 5, 0.22) 70%, rgba(8, 6, 4, 0.72) 100%);
}

.hero-media--fallback {
  min-height: min(70svh, 640px);
  background:
    linear-gradient(180deg, rgba(6, 40, 48, 0.2) 0%, rgba(6, 40, 48, 0.75) 100%),
    linear-gradient(135deg, #2a3528, #1a2e28 55%, #12201c);
}

.hero-media--fallback .hero-shade {
  opacity: 0.5;
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: min(640px, 100%);
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 3rem);
  padding-bottom: clamp(1.5rem, 5vw, 3.5rem);
  text-align: center;
  animation: rise 1s ease both 0.25s;
  pointer-events: none;
}

.hero-content .btn,
.hero-content a {
  pointer-events: auto;
}

.brand-logo {
  width: clamp(8.5rem, 22vw, 11.5rem);
  height: auto;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: transparent;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
  animation: logo-in 1.1s ease both 0.15s;
}

.hero-place {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 248, 235, 0.95);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.hero h1 {
  margin: 0 auto 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 12ch;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.lede {
  margin: 0 auto 1.45rem;
  max-width: 34ch;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(255, 252, 245, 0.95);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: #d2b07a;
  color: #1a1610;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.btn-primary:hover {
  background: #e0c08c;
}

.btn-ghost {
  border-color: rgba(255, 248, 238, 0.4);
  color: #fff8ee;
  background: rgba(20, 16, 10, 0.28);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(20, 16, 10, 0.45);
  border-color: rgba(255, 248, 238, 0.55);
}

.btn-facebook {
  background: #1877f2;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(24, 119, 242, 0.35);
}

.btn-facebook:hover {
  background: #0f65d8;
  color: #fff;
}

.btn-email {
  background: #c45c26;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(196, 92, 38, 0.35);
}

.btn-email:hover {
  background: #a84b1d;
  color: #fff;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem);
  position: relative;
  z-index: 2;
}

.section-head {
  max-width: 40rem;
  margin: 0 auto 2rem;
  text-align: center;
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  background: rgba(250, 247, 242, 0.86);
  box-shadow: 0 8px 28px rgba(10, 61, 74, 0.06);
}

.section-head h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-head p {
  margin: 0 auto;
  color: var(--muted);
}

.house-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  max-width: min(1100px, 100%);
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(0.25rem, 1vw, 0.5rem);
}

@media (max-width: 960px) {
  .house-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.house {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 1;
  transform: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 10px 28px rgba(10, 61, 74, 0.08);
  min-width: 0;
}

.house.is-visible {
  opacity: 1;
  transform: none;
}

.house:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(10, 61, 74, 0.1);
}

.house--family {
  border-color: rgba(196, 163, 90, 0.55);
  box-shadow: 0 0 0 1px rgba(196, 163, 90, 0.2);
}

.house-photo {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 4px solid #fff;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  aspect-ratio: 4 / 3;
  background: #1a2e28;
  cursor: zoom-in;
  overflow: hidden;
  color: inherit;
  font: inherit;
  text-align: left;
  box-sizing: border-box;
  box-shadow:
    0 0 0 2px var(--sea),
    0 6px 16px rgba(10, 61, 74, 0.14);
}

.house-photo:disabled,
.house-photo--empty {
  cursor: default;
  background:
    linear-gradient(145deg, #d7e4d8, #9bb7a8 40%, #5f8a7a);
}

.house-photo:focus {
  outline: none;
}

.house-photo:focus:not(:focus-visible) {
  outline: none;
}

.house-photo:focus-visible {
  outline: 3px solid #d2b07a;
  outline-offset: 3px;
}

.house-photo:active {
  filter: none;
  opacity: 1;
}

.house-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.house-photo--empty::after {
  content: none;
}

.house-photo--empty img {
  display: none;
}

.house-tag {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  padding: 0.3rem 0.55rem;
  background: rgba(6, 40, 48, 0.78);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.house-body {
  padding: 1rem 1.05rem 1.2rem;
  text-align: center;
}

.house-body h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.price {
  margin: 0 0 0.2rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--sea);
}

.price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

.meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.services {
  background: transparent;
}

.facility-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: auto auto;
  gap: 1rem 1.15rem;
  margin: 0 auto 2.25rem;
  max-width: 1100px;
}

.facility-feature {
  margin: 0;
  min-width: 0;
  text-align: center;
}

.facility-feature--wide .facility-photo img {
  aspect-ratio: 16 / 10;
}

.facility-photo {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  background: #1a2e28;
  cursor: zoom-in;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: var(--radius);
  box-sizing: border-box;
  box-shadow:
    0 0 0 2px var(--sea),
    0 6px 16px rgba(10, 61, 74, 0.14);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.facility-photo:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 2px var(--sea),
    0 14px 28px rgba(10, 61, 74, 0.18);
}

.facility-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.facility-photo:hover img {
  transform: scale(1.03);
}

.facility-feature figcaption {
  margin-top: 0.55rem;
  padding: 0.5rem 0.65rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--sea);
  letter-spacing: 0.01em;
  background: rgba(250, 247, 242, 0.92);
  border-radius: 6px;
}

@media (max-width: 700px) {
  .facility-grid {
    grid-template-columns: 1fr;
  }

  .facility-feature--wide .facility-photo img {
    aspect-ratio: 4 / 3;
  }
}

.btn-sm {
  margin-top: 0.75rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  background: var(--sea);
  color: #fff;
  border: 0;
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;
  display: inline-flex;
}

.btn-sm:hover {
  background: var(--sea-deep);
}

.house-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.72);
  overflow: auto;
}

.house-modal[hidden] {
  display: none;
}

.house-modal-panel {
  position: relative;
  width: min(920px, 100%);
  max-height: calc(100svh - 2rem);
  overflow: auto;
  background: var(--foam);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  animation: rise 0.3s ease;
}

.house-modal-close {
  position: sticky;
  top: 0.65rem;
  float: right;
  z-index: 3;
  margin: 0.65rem 0.65rem 0 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: rgba(6, 40, 48, 0.85);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.house-modal-main-photo {
  display: block;
  width: 100%;
  padding: 0;
  border: 4px solid #fff;
  background: #1a2e28;
  cursor: zoom-in;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  box-shadow:
    0 0 0 2px var(--sea),
    0 6px 16px rgba(10, 61, 74, 0.14);
}

.house-modal-main-photo img {
  width: 100%;
  max-height: 42vh;
  object-fit: cover;
  display: block;
}

.house-modal-info {
  padding: 1.25rem 1.35rem 1.75rem;
  clear: both;
  text-align: center;
}

.house-modal-info h2 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
}

.house-modal-sub {
  margin: 1.35rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.house-modal-hint {
  margin: 0.75rem 0 1.1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.house-modal-info .btn-primary {
  display: inline-flex;
}

.interior-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.interior-photo {
  border-radius: var(--radius);
  border: 4px solid #fff;
  box-shadow:
    0 0 0 2px var(--sea),
    0 6px 16px rgba(10, 61, 74, 0.14);
}

.service-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 0.85rem 1.5rem;
  max-width: 960px;
  text-align: center;
  justify-items: center;
}

.service-list li {
  position: relative;
  padding-left: 1.15rem;
  font-weight: 500;
  text-align: left;
  width: 100%;
  max-width: 16rem;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--leaf);
}

.tour-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}

.tour {
  padding: 1.5rem 1.35rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 3px solid var(--leaf);
  border-left: 0;
  text-align: center;
  box-shadow: 0 10px 28px rgba(10, 61, 74, 0.07);
}

.tour h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.tour p {
  margin: 0;
  color: var(--muted);
}

.location-panel {
  max-width: 36rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 0.85rem;
  padding: 1.35rem 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 10px 28px rgba(10, 61, 74, 0.07);
}

.location-address {
  margin: 0;
  flex: 1 1 100%;
  font-weight: 600;
  color: var(--sea);
  font-size: 1.05rem;
  text-align: center;
}

.location-panel .btn {
  min-height: 48px;
}

.book-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.book {
  padding-top: 2rem;
}

.book-panel {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem);
  background:
    linear-gradient(160deg, var(--sea) 0%, #134f4a 55%, #2a5a3a 100%);
  color: #fff;
  border-radius: 8px;
}

.book-logo {
  width: 7.5rem;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
  border-radius: 50%;
  background: transparent;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.3));
}

.book-ctas {
  justify-content: center;
}

.book-panel h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.book-panel p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.88);
}

.book-note {
  margin-top: 1rem !important;
  font-size: 0.82rem !important;
  opacity: 0.75;
}

.site-footer {
  padding: 2rem clamp(1rem, 4vw, 2.5rem) 2.5rem;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-logo {
  width: 5.5rem;
  height: auto;
  margin: 0 auto 0.75rem;
  display: block;
  border-radius: 50%;
  background: transparent;
}

.site-footer p {
  margin: 0.15rem 0;
}

.site-footer a {
  color: var(--sea);
  text-decoration: none;
  font-weight: 600;
}

@keyframes fade-in {
  to { opacity: 1; }
}

@keyframes hero-photo-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes logo-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.92);
  animation: fade-in 0.2s ease;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: min(1100px, 100%);
  max-height: calc(100svh - 2.5rem);
  text-align: center;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100svh - 5.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  opacity: 1;
  filter: none;
  background: transparent;
}

.lightbox-figure figcaption {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.music-dock {
  position: fixed;
  left: max(0.85rem, env(safe-area-inset-left));
  bottom: max(0.85rem, env(safe-area-inset-bottom));
  z-index: 50;
}

.music-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(20, 36, 31, 0.12);
  border-radius: 999px;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(8px);
  color: var(--sea);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(10, 61, 74, 0.12);
  -webkit-tap-highlight-color: transparent;
}

.music-toggle:hover {
  background: #fff;
}

.music-toggle.is-playing {
  background: var(--sea);
  color: #fff;
  border-color: transparent;
}

.music-icon {
  font-size: 1.05rem;
  line-height: 1;
}

@media (max-width: 768px) {
  :root {
    --header-h: 3.5rem;
  }

  .header-top-inner {
    padding: 0.4rem 0.75rem;
    justify-content: center;
  }

  .header-tagline {
    width: 100%;
    text-align: center;
  }

  .header-contacts {
    width: 100%;
    justify-content: center;
  }

  .header-inner {
    min-height: var(--header-h);
    padding: 0.55rem 0.75rem;
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
    gap: 0.65rem;
  }

  .logo-mark {
    width: 2.75rem;
    height: 2.75rem;
  }

  .logo-name {
    font-size: 1.02rem;
  }

  .logo-place {
    font-size: 0.68rem;
    max-width: 22ch;
  }

  .nav {
    gap: 0.25rem;
  }

  .nav a:not(.nav-cta) {
    display: none;
  }

  .nav-cta {
    padding: 0.55rem 0.95rem !important;
    font-size: 0.88rem;
    min-height: 44px;
  }

  .hero {
    min-height: 0;
  }

  .hero-photo {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: none;
  }

  .hero-content {
    width: 100%;
    padding: 1.1rem 1rem calc(1.25rem + env(safe-area-inset-bottom));
  }

  .brand-logo {
    width: min(7rem, 38vw);
    margin-bottom: 0.65rem;
  }

  .hero-place {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.55rem, 7vw, 2rem);
    margin-bottom: 0.55rem;
  }

  .lede {
    font-size: 0.95rem;
    max-width: none;
    margin-bottom: 1.1rem;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .btn {
    width: 100%;
    min-height: 48px;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
  }

  .section {
    padding: 2.5rem 1rem;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .section-head {
    margin-bottom: 1.25rem;
  }

  .section-head h2 {
    font-size: 1.55rem;
  }

  .house-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .house:hover {
    transform: none;
    box-shadow: none;
  }

  .house-body {
    padding: 0.95rem 1rem 1.1rem;
  }

  .btn-sm {
    width: 100%;
    min-height: 44px;
    margin-top: 0.85rem;
  }

  .facility-photo img {
    aspect-ratio: 4 / 3;
  }

  .service-list,
  .tour-row {
    grid-template-columns: 1fr;
  }

  .tour {
    padding: 1.15rem 1rem;
  }

  .book-panel {
    padding: 1.5rem 1.1rem;
    border-radius: 6px;
  }

  .book-logo {
    width: 5.5rem;
  }

  .book-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .book-panel .btn-ghost {
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
  }

  .house-modal {
    padding: 0;
    align-items: stretch;
  }

  .house-modal-panel {
    width: 100%;
    max-height: 100%;
    min-height: 100%;
    border-radius: 0;
  }

  .house-modal-close {
    position: fixed;
    top: max(0.65rem, env(safe-area-inset-top));
    right: max(0.65rem, env(safe-area-inset-right));
    float: none;
    margin: 0;
    width: 2.75rem;
    height: 2.75rem;
  }

  .house-modal-main-photo img {
    max-height: 36vh;
  }

  .house-modal-info {
    padding: 1rem 1rem calc(1.5rem + env(safe-area-inset-bottom));
  }

  .house-modal-info h2 {
    font-size: 1.4rem;
    padding-right: 3rem;
  }

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

  .house-modal-info .btn-primary {
    width: 100%;
    min-height: 48px;
  }

  .lightbox {
    padding: 0.75rem;
    padding-top: max(0.75rem, env(safe-area-inset-top));
  }

  .lightbox-figure {
    max-width: 100%;
    width: 100%;
  }

  .lightbox-figure img {
    max-width: 100%;
    max-height: calc(100svh - 6rem);
    max-height: calc(100dvh - 6rem);
  }

  .lightbox-figure figcaption {
    font-size: 0.88rem;
    padding: 0 0.35rem;
  }

  .lightbox-close {
    top: max(0.5rem, env(safe-area-inset-top));
    right: max(0.5rem, env(safe-area-inset-right));
    width: 2.75rem;
    height: 2.75rem;
  }

  .site-footer {
    padding: 1.5rem 1rem calc(1.5rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .brand-logo {
    width: 6.25rem;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  .lede {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo,
  .hero-content,
  .brand-logo {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}
