:root {
  --font-cormorant: "Cormorant Garamond", Georgia, serif;
  --font-jost: "Jost", "Helvetica Neue", Arial, sans-serif;
  --bg: #faf8f4;
  --dark: #2c1810;
  --green: #3d5a45;
  --stone: #c4a882;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-jost);
  font-weight: 300;
  color: var(--dark);
  background: var(--bg);
}

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

.container {
  width: min(100%, 1200px);
  margin: 0 auto;
}

.section-label {
  margin: 0;
  font-family: var(--font-jost);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 3px;
  color: #888888;
  text-transform: uppercase;
}

.section-label--stone {
  color: var(--stone);
}

/* Section 1 — Hero */
.hero {
  position: relative;
  height: auto;
  min-height: 0;
  overflow: hidden;
  background: var(--bg);
  padding-top: 74px;
}

.hero img {
  width: min(100%, 1200px);
  margin: 0 auto;
  height: auto;
  max-height: min(76vh, 900px);
  object-fit: contain;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 1200px);
  top: 74px;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
}

.hero__content {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 1200px);
  bottom: 0;
  padding: 60px;
  color: var(--white);
  z-index: 2;
}

.hero__meta {
  margin: 0;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 16px 0 0;
  font-family: var(--font-cormorant);
  font-weight: 300;
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1.1;
}

.hero__lead {
  margin: 20px 0 0;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.85;
}

.hero__badge {
  display: inline-block;
  margin: 24px 0 0;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 2px;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
}

.site-nav a,
.site-nav a:visited {
  color: #ffffff;
  text-decoration: none;
}

.site-nav__inner {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav__brand {
  font-family: var(--font-cormorant);
  font-size: 18px;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 1px;
}

.site-nav__links {
  display: flex;
  gap: 24px;
}

.site-nav__links a {
  color: var(--white);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Section 2 — Intro */
.intro {
  background: var(--white);
  padding: 100px 24px;
}

.intro__inner {
  max-width: 640px;
  text-align: center;
}

.intro__accent {
  width: 40px;
  height: 2px;
  margin: 0 auto 24px;
  background: var(--green);
}

.intro__text {
  margin: 0;
  font-family: var(--font-cormorant);
  font-style: italic;
  font-size: 22px;
  line-height: 1.7;
  color: var(--dark);
}

.intro__note {
  margin: 16px 0 0;
  font-size: 14px;
  letter-spacing: 3px;
  color: #888888;
}

/* Section 3 — Gallery */
.gallery {
  padding: 0 40px 80px;
}

.gallery__inner {
  max-width: 1200px;
}

.gallery .section-label {
  margin-bottom: 32px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 480px 340px 420px 368px;
  gap: 12px;
  align-items: stretch;
}

.gallery__item {
  margin: 0;
  overflow: hidden;
  position: relative;
  z-index: 0;
  background: #ffffff;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 600ms ease;
}

.gallery__item:hover img {
  transform: scale(1.03);
}

.gallery__item--a {
  grid-column: 1 / 3;
  grid-row: 1;
}

.gallery__item--b {
  grid-column: 3;
  grid-row: 1;
}

.gallery__item--c {
  grid-column: 1;
  grid-row: 2;
}

.gallery__item--d {
  grid-column: 2;
  grid-row: 2;
}

.gallery__item--d img {
  object-position: 28% center;
}

.gallery__item--e {
  grid-column: 3;
  grid-row: 2;
}

.gallery__item--m {
  grid-column: 3;
  grid-row: 3;
}

.gallery__item--f-shower {
  grid-column: 1 / 3;
  grid-row: 3;
  padding-left: clamp(14px, 3.2vw, 32px);
  box-sizing: border-box;
}

.gallery__item--f-shower img {
  object-fit: cover;
  object-position: 86% 44%;
}

.gallery__item--i {
  grid-column: 3;
  grid-row: 4;
}

.gallery__item--j {
  grid-column: 1;
  grid-row: 4;
}

.gallery__item--k {
  grid-column: 2;
  grid-row: 4;
}

/* Section 4 — The House */
.house {
  background: var(--white);
  padding: 80px 40px;
}

.house__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 40px;
  align-items: stretch;
}

.house__photo {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: #ffffff;
}

.house__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 44% 92%;
}

.house__text h2 {
  margin: 0;
  font-family: var(--font-cormorant);
  font-size: 36px;
  font-weight: 400;
  color: var(--dark);
}

.house__body {
  margin: 24px 0 0;
  font-size: 16px;
  line-height: 1.9;
  color: #444444;
}

.house__separator {
  height: 1px;
  background: #dddddd;
  margin: 28px 0;
}

.house__specs {
  margin: 0;
  font-family: var(--font-cormorant);
  font-style: italic;
  font-size: 18px;
  line-height: 2;
  color: var(--dark);
}

.house__detail {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #555555;
}

/* Section 5 — Urca */
.urca {
  background: var(--dark);
  padding: 80px 0;
}

.urca__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 55% 40%;
  gap: 60px;
  align-items: start;
}

.urca__text h2 {
  margin: 0;
  font-family: var(--font-cormorant);
  font-size: 40px;
  font-weight: 300;
  color: var(--white);
}

.urca__body {
  margin: 24px 0 0;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.75);
}

.urca__facts {
  margin-top: 36px;
}

.urca__facts p {
  margin: 0 0 20px;
  padding-left: 16px;
  border-left: 2px solid var(--stone);
  font-size: 14px;
  line-height: 1.7;
  color: var(--white);
}

.urca__photo {
  height: 420px;
  overflow: hidden;
}

.urca__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section 6 — Testimonial */
.testimonial {
  background: var(--white);
  padding: 100px 24px;
}

.testimonial__inner {
  max-width: 680px;
  text-align: center;
}

.testimonial__mark {
  display: block;
  margin-bottom: 24px;
  font-family: var(--font-cormorant);
  font-size: 120px;
  line-height: 0.5;
  color: var(--stone);
}

.testimonial__quote {
  margin: 0;
  font-family: var(--font-cormorant);
  font-style: italic;
  font-size: 22px;
  line-height: 1.8;
  color: var(--dark);
}

.testimonial__byline {
  margin: 28px 0 0;
  font-size: 13px;
  letter-spacing: 2px;
  color: #888888;
}

/* Section 7 — Rental */
.rental {
  background: var(--white);
  padding: 80px 40px;
}

.rental__inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.rental__body {
  margin: 16px 0 0;
  font-family: var(--font-jost);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.9;
  color: #444444;
}

.rental__note {
  margin: 12px 0 0;
  font-family: var(--font-jost);
  font-weight: 300;
  font-size: 13px;
  color: #aaaaaa;
}

.rental__enquiry-note {
  margin: 8px 0 0;
  font-family: var(--font-jost);
  font-weight: 300;
  font-size: 13px;
  color: #aaaaaa;
}

.rental__mail {
  display: block;
  margin-top: 16px;
  font-family: var(--font-cormorant);
  font-size: 28px;
  color: var(--dark);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 250ms ease;
}

.rental__mail:hover {
  color: var(--green);
}

/* Footer */
.site-footer {
  background: #1a1a1a;
  padding: 40px 24px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 13px;
  line-height: 2;
  color: #666666;
}

/* Responsive */
@media (max-width: 767px) {
  body {
    overflow-x: hidden;
  }

  .site-nav__inner {
    justify-content: center;
    padding: 18px 16px;
  }

  .site-nav__links {
    display: none;
  }

  .site-nav__brand {
    font-family: var(--font-cormorant);
    font-size: 18px;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
  }

  .hero {
    min-height: 70vh;
    background-image: url("IMAGES/dsf6066.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
  }

  .hero img {
    display: none;
  }

  .hero__overlay {
    top: 74px;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: none;
    background: linear-gradient(to bottom, transparent 30%, rgba(0, 0, 0, 0.65) 100%);
  }

  .hero__content {
    padding: 24px 24px 24px 24px;
    width: 100%;
    left: 0;
    transform: none;
  }

  .hero__meta {
    font-size: 11px;
    letter-spacing: 3px;
  }

  .hero h1 {
    margin-top: 12px;
    font-size: clamp(32px, 8vw, 52px);
  }

  .hero__lead {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.7;
  }

  .hero__badge {
    font-size: 10px;
    letter-spacing: 1.6px;
  }

  .intro {
    padding: 48px 20px;
  }

  .intro__text {
    text-align: left;
  }

  .gallery {
    padding: 48px 20px;
  }

  .gallery .section-label {
    margin-bottom: 16px;
  }

  .gallery__grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .gallery__item,
  .gallery__item--a,
  .gallery__item--b,
  .gallery__item--c,
  .gallery__item--d,
  .gallery__item--e,
  .gallery__item--m,
  .gallery__item--f-shower,
  .gallery__item--i,
  .gallery__item--j,
  .gallery__item--k {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    height: 260px;
    min-height: 260px;
    max-height: 260px;
    padding-left: 0;
  }

  .gallery__item img {
    width: 100%;
    height: 260px;
    max-height: 260px;
    object-fit: cover;
    object-position: center;
  }

  .gallery__item--d img {
    object-position: center;
  }

  .house {
    padding: 48px 20px;
  }

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

  .house__photo {
    height: 280px;
    min-height: 280px;
  }

  .urca {
    padding: 48px 20px;
  }

  .urca__inner {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    padding: 0;
    gap: 24px;
  }

  .urca__photo {
    order: -1;
    height: 280px;
  }

  .testimonial {
    padding: 60px 24px;
  }

  .testimonial__quote {
    font-size: 18px;
  }

  .rental {
    padding: 48px 20px;
  }

  .rental__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 32px;
  }

  .rental__mail {
    font-size: 22px;
  }

  .site-footer {
    padding: 48px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .gallery__item img,
  .rental__mail {
    transition: none;
  }
}
