:root {
  --bg: #0a0a0a;
  --bg-soft: #121212;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f5f1e8;
  --muted: rgba(245, 241, 232, 0.78);
  --accent: #d2b074;
  --accent-strong: #f2d09d;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1280px, calc(100vw - 64px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(210, 176, 116, 0.16), transparent 32%),
    linear-gradient(180deg, #080808 0%, #0e0e0e 45%, #090909 100%);
}

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

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

.page-shell {
  position: relative;
  overflow: clip;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.18;
  z-index: 0;
}

.page-shell::before {
  top: -6rem;
  right: -8rem;
  background: #9c6f38;
}

.page-shell::after {
  left: -10rem;
  bottom: 10rem;
  background: #584123;
}

.hero,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.hero {
  width: var(--container);
  margin: 0 auto;
  padding: 28px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 32px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  min-width: 42px;
  height: 34px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.lang-btn.active {
  background: rgba(242, 208, 157, 0.16);
  color: var(--accent-strong);
}

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

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 108px;
  height: auto;
  object-fit: contain;
}

.ghost-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 150px);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}

.hero-copy h1,
.section-heading h2,
.cta-box h2,
.house-content h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.hero-copy h1 {
  max-width: 10.6ch;
  font-size: clamp(3rem, 4.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.nowrap {
  white-space: nowrap;
}

.lead,
.intro-band p,
.house-content p,
.cta-box p,
.site-footer p {
  color: var(--muted);
  line-height: 1.72;
}

.lead {
  max-width: 58ch;
  margin: 34px 0 0;
  font-size: 1.16rem;
}

.hero-actions,
.cta-actions,
.house-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease,
    border-color 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #111;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 14px 35px rgba(210, 176, 116, 0.22);
}

.button-secondary {
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.hero-visual {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 20px;
  align-items: end;
}

.hero-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-card img,
.house-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-large {
  aspect-ratio: 0.86;
}

.card-small {
  aspect-ratio: 0.68;
  margin-bottom: 52px;
}

.intro-band,
.houses-section,
.cta-section,
.site-footer {
  width: var(--container);
  margin: 0 auto;
}

.intro-band {
  margin-top: 10px;
  padding: 28px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), transparent);
}

.intro-band p {
  margin: 0;
  max-width: 72ch;
  font-size: 1.08rem;
}

.houses-section {
  padding: 110px 0 80px;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 40px;
}

.section-heading h2,
.cta-box h2 {
  font-size: clamp(3rem, 5vw, 4.4rem);
  line-height: 0.96;
}

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

.house-card {
  display: grid;
  grid-template-rows: 360px auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.house-card-wide {
  grid-column: span 2;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: none;
}

.house-media {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 320ms ease, transform 460ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 320ms ease;
  transform-origin: center center;
}

.carousel-image.active {
  opacity: 1;
}

.house-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 42%);
  opacity: 0;
  transition: opacity 280ms ease;
  z-index: 1;
  pointer-events: none;
}

.house-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.48);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  backdrop-filter: blur(6px);
}

.carousel-nav.prev { left: 14px; }
.carousel-nav.next { right: 14px; }

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 7px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.42);
  border: 0;
  padding: 0;
}

.carousel-dot.active {
  background: var(--accent-strong);
}

.house-content {
  display: grid;
  gap: 18px;
  padding: 30px;
}

.house-content h3 {
  font-size: clamp(2.1rem, 2.8vw, 2.85rem);
  line-height: 0.98;
}

.house-content p {
  font-size: 1.02rem;
}

.house-links {
  align-items: center;
  gap: 16px 20px;
}

.house-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-strong);
  text-decoration: none;
  font-size: 0.98rem;
  border-bottom: 1px solid rgba(242, 208, 157, 0.35);
  padding-bottom: 4px;
}

.icon-instagram {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.icon-instagram svg {
  width: 100%;
  height: 100%;
}

@media (hover: hover) and (pointer: fine) {
  .house-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 46px 96px rgba(0, 0, 0, 0.56);
    border-color: rgba(242, 208, 157, 0.28);
  }

  .house-card:hover .carousel-image.active {
    transform: scale(1.06);
    filter: saturate(1.05) brightness(1.03);
  }

  .house-card:hover .house-media::before {
    opacity: 1;
  }
}

.cta-section {
  padding: 0 0 110px;
}

.cta-box {
  padding: 46px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(210, 176, 116, 0.24);
  background:
    linear-gradient(135deg, rgba(210, 176, 116, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.cta-box p {
  max-width: 48ch;
  margin: 18px 0 28px;
  font-size: 1.04rem;
}

.site-footer {
  padding: 0 0 34px;
}

.site-footer p {
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  text-align: center;
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 120ms;
}

@media (max-width: 1080px) {
  .hero-grid,
  .houses-grid,
  .house-card-wide {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 28px 0 16px;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .house-card,
  .house-card-wide {
    grid-template-rows: 320px auto;
  }

  .house-card-wide {
    grid-column: span 1;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100vw - 24px, 100%);
    --radius-xl: 24px;
  }

  .hero {
    padding-top: 18px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 14px;
  }

  .topbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .language-switcher {
    overflow-x: auto;
  }

  .ghost-link {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .lead,
  .intro-band p,
  .house-content p,
  .cta-box p {
    font-size: 0.98rem;
  }

  .hero-visual {
    grid-template-columns: 1fr;
  }

  .card-small {
    display: none;
  }

  .carousel-nav {
    width: 34px;
    height: 34px;
  }

  .intro-band,
  .cta-box,
  .house-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .houses-section {
    padding-top: 72px;
  }

  .house-card,
  .house-card-wide {
    grid-template-rows: 260px auto;
  }

  .button {
    width: 100%;
  }
}
