/* ============================================================
   Geneva Homesite, 6.3 Acres, Geneva, Florida
   Ritz-Carlton-inspired editorial luxury real estate build.
   ============================================================ */

:root {
  --ivory: #f7f5f0;
  --ink: #1c1c1a;
  --teal-deep: #2e5257;
  --teal: #33565a;
  --teal-dark: #1c3a3e;
  --powder: #b3c6c9;
  --wash: #eae6dd;
  --serif: 'Sorts Mill Goudy', serif;
  --sans: 'Mulish', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--ink); }

::selection { background: var(--teal); color: var(--ivory); }

input, textarea, select { font-family: var(--sans); }
input::placeholder, textarea::placeholder { color: rgba(28, 28, 26, .35); }

.container {
  max-width: 1320px;
  margin: 0 auto;
}

/* Faint film-grain, warms the flat ivory/teal fields without adding weight */
.grain {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}

.rule {
  width: 52px;
  height: 1px;
  background: var(--teal);
}

/* ---------- Reveal-on-scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 24px 48px;
  mix-blend-mode: difference;
}
.nav__links {
  display: flex;
  gap: 36px;
  align-items: center;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 600;
}
.nav__links a { color: #fff; }
.nav__cta {
  border: 1px solid rgba(255, 255, 255, .6);
  padding: 13px 22px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: #101211;
}
.hero__media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 177.78vh);
  height: max(100vh, 56.25vw);
  transform: translate(-50%, -50%);
  border: 0;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(16, 18, 17, .5) 0%,
    rgba(16, 18, 17, .18) 38%,
    rgba(16, 18, 17, .3) 62%,
    rgba(16, 18, 17, .78) 100%);
}
.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 48px 96px;
}
.hero__text {
  max-width: 620px;
  text-align: left;
}
.hero__text .rule { margin: 0 0 28px; background: rgba(255, 255, 255, .7); }
.hero__eyebrow {
  margin: 0 0 20px;
  font-size: 12px;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  font-weight: 600;
}
.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(42px, 6vw, 92px);
  line-height: 1.04;
  letter-spacing: .01em;
  color: #fff;
}
.hero__price {
  margin: 24px 0 0;
  font-family: var(--serif);
  font-size: clamp(21px, 2.2vw, 32px);
  font-style: italic;
  color: var(--powder);
}
.hero__text .rule--bottom { margin: 30px 0 0; }
.hero__anim {
  animation: heroRise 1.2s var(--ease) both;
}
.hero__anim:nth-child(1) { animation-delay: .2s; }
.hero__anim:nth-child(2) { animation-delay: .32s; }
.hero__anim:nth-child(3) { animation-delay: .46s; }
.hero__anim:nth-child(4) { animation-delay: .6s; }
.hero__anim:nth-child(5) { animation-delay: .74s; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  animation: scrollPulse 2.4s ease-in-out infinite;
  color: rgba(255, 255, 255, .8);
  font-size: 16px;
  z-index: 3;
}

.hero__sound {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 4;
  width: 46px;
  height: 46px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(16, 18, 17, .35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(2px);
  transition: background .25s, border-color .25s;
}
.hero__sound:hover { background: rgba(16, 18, 17, .6); border-color: #fff; }
.hero__sound:disabled { opacity: .45; cursor: default; }
.hero__sound svg { width: 18px; height: 18px; }
.hero__sound .icon-muted { display: block; }
.hero__sound .icon-on { display: none; }
.hero__sound[data-muted="false"] .icon-muted { display: none; }
.hero__sound[data-muted="false"] .icon-on { display: block; }

@keyframes heroRise {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: .9; }
  50% { transform: translateX(-50%) translateY(8px); opacity: .4; }
}

/* ---------- Stats strip ---------- */
.stats {
  background: var(--teal-deep);
  color: var(--ivory);
  padding: 36px 48px;
}
.stats__grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stats__item { border-right: 1px solid rgba(179, 198, 201, .25); }
.stats__item:last-child { border-right: 0; }
.stats__value {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
}
.stats__label {
  margin: 6px 0 0;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--powder);
}

/* ---------- The Land ---------- */
.land {
  padding: 128px 48px 48px;
  max-width: 1320px;
  margin: 0 auto;
}
.land__intro {
  text-align: center;
  margin-bottom: 88px;
}
.land__intro .rule { margin: 28px auto 0; }
.land__intro h2 {
  margin: 0 auto;
  max-width: 20ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.2vw, 62px);
  line-height: 1.1;
}
.land__lede {
  margin: 28px auto 0;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(28, 28, 26, .7);
}

.land__row {
  display: grid;
  gap: 28px;
}
.land__row--a { grid-template-columns: 1.35fr 1fr; }
.land__row--b { grid-template-columns: 1fr 1.35fr; margin-top: 28px; }

.land__figure {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.land__photo {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--wash);
}
.land__photo--wide { aspect-ratio: 16 / 10; }
.land__photo--tall { aspect-ratio: 4 / 5; }
.land__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 1.4s var(--ease);
}
.land__figure:hover .land__photo img {
  transform: scale(1.06);
}
@media (hover: none) {
  .land__figure:hover .land__photo img { transform: scale(1.001); }
}
.land__caption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: baseline;
}
.land__caption p {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
  color: var(--teal);
}
.land__num {
  margin: 0;
  font-size: 12px;
  color: rgba(28, 28, 26, .45);
  letter-spacing: .2em;
}

/* ---------- Editorial line ---------- */
.editorial {
  padding: 150px 48px;
  text-align: center;
  background: var(--ivory);
}
.editorial .rule { margin: 0 auto 32px; }
.editorial .rule--bottom { margin: 32px auto 0; }
.editorial p {
  margin: 0 auto;
  max-width: 26ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.25;
}
.editorial em { color: var(--teal); font-style: italic; }

/* ---------- Location ---------- */
.location {
  background: var(--wash);
  padding: 120px 48px;
}
.location__grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: stretch;
}
.location__info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 44px;
}
.location__info h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: 1.12;
}
.location__list { display: flex; flex-direction: column; }
.location__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  border-top: 1px solid rgba(28, 28, 26, .15);
  font-size: 14px;
}
.location__list .location__row:last-child { border-bottom: 1px solid rgba(28, 28, 26, .15); }
.location__row span:first-child { color: rgba(28, 28, 26, .6); }
.location__row span:last-child { font-weight: 600; }
.location__map {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  box-shadow: inset 0 0 0 1px rgba(28, 28, 26, .18);
}
.location__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) sepia(.08) saturate(2) hue-rotate(140deg) brightness(.98) contrast(.94);
}
/* Surveyor's plat-mark corners, a small nod to the acreage theme */
.plat-mark {
  position: absolute;
  width: 22px;
  height: 22px;
  pointer-events: none;
  z-index: 2;
}
.plat-mark::before, .plat-mark::after {
  content: "";
  position: absolute;
  background: var(--teal-deep);
}
.plat-mark::before { width: 100%; height: 1px; }
.plat-mark::after { width: 1px; height: 100%; }
.plat-mark--tl { top: 14px; left: 14px; }
.plat-mark--tl::before, .plat-mark--tl::after { top: 0; left: 0; }
.plat-mark--tr { top: 14px; right: 14px; }
.plat-mark--tr::before { top: 0; right: 0; }
.plat-mark--tr::after { top: 0; right: 0; }
.plat-mark--bl { bottom: 14px; left: 14px; }
.plat-mark--bl::before { bottom: 0; left: 0; }
.plat-mark--bl::after { bottom: 0; left: 0; }
.plat-mark--br { bottom: 14px; right: 14px; }
.plat-mark--br::before { bottom: 0; right: 0; }
.plat-mark--br::after { bottom: 0; right: 0; }

/* ---------- Contact ---------- */
.contact {
  background: var(--ivory);
  padding: 128px 48px;
}
.contact__grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}
.contact__info h2 {
  margin: 0 0 26px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: 1.12;
}
.contact__info p.contact__lede {
  margin: 0 0 44px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(28, 28, 26, .7);
  max-width: 46ch;
}
.contact__reach {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact__phone {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 36px);
  color: var(--ink);
}
.contact__phone:hover { color: var(--teal); }
.contact__email {
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 26px);
  font-style: italic;
  color: var(--teal);
}
.contact__person {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 48px;
}
.contact__avatar {
  width: 68px;
  height: 68px;
  min-width: 68px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
}
.contact__person-name { margin: 0; font-size: 15px; font-weight: 600; }
.contact__person-role { margin: 3px 0 0; font-size: 13px; color: rgba(28, 28, 26, .55); }

.contact__form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: #fff;
  border: 1px solid rgba(28, 28, 26, .08);
  padding: 48px;
  box-shadow: 0 32px 64px -32px rgba(28, 28, 26, .18);
}
.contact__form::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 64px;
  height: 3px;
  background: var(--teal-deep);
}
.contact__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(28, 28, 26, .55);
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(28, 28, 26, .25);
  color: var(--ink);
  font-size: 15px;
  padding: 12px 0;
  outline: none;
  min-height: 44px;
  transition: border-color .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-bottom-color: var(--teal); }

.contact__submit {
  margin-top: 14px;
  align-self: flex-start;
  background: var(--teal-deep);
  color: var(--ivory);
  border: 0;
  padding: 17px 44px;
  min-height: 48px;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: background .25s, opacity .25s;
}
.contact__submit:hover { background: var(--teal-dark); }
.contact__submit:disabled { cursor: default; opacity: .75; }

.contact__note {
  margin: 0;
  font-size: 12px;
  color: rgba(28, 28, 26, .4);
}
.contact__status {
  margin: -6px 0 0;
  font-size: 13px;
  min-height: 1em;
}
.contact__status[data-state="error"] { color: #9a3b2e; }
.contact__status[data-state="success"] { color: var(--teal); }

/* ---------- Footer ---------- */
.footer {
  background: var(--teal-deep);
  color: var(--ivory);
  padding: 110px 48px 36px;
}
.footer__inner { max-width: 1320px; margin: 0 auto; }
.footer__brand { text-align: center; }
.footer__brand .rule { margin: 0 auto 28px; background: var(--powder); }
.footer__brand .eyebrow { color: var(--powder); }
.footer__brand h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 10vw, 160px);
  line-height: 1;
  letter-spacing: .02em;
}
.footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 88px;
  padding-top: 26px;
  border-top: 1px solid rgba(179, 198, 201, .35);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, .5);
}
.footer__meta-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__meta-links a { color: var(--powder); }
.footer__credits {
  margin: 22px 0 0;
  font-size: 10px;
  letter-spacing: .02em;
  text-transform: none;
  color: rgba(247, 245, 240, .38);
  line-height: 1.7;
}
.footer__credits a { color: rgba(179, 198, 201, .75); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { padding: 20px 24px; }
  .nav__links { gap: 18px; }
  .nav__links a:not(.nav__cta) { display: none; }

  .hero__content { padding: 0 24px 72px; }
  .hero__text { max-width: 100%; text-align: left; }
  .hero__scroll { display: none; }

  .land { padding: 88px 24px 24px; }
  .land__intro { margin-bottom: 56px; }
  .land__row--a, .land__row--b {
    grid-template-columns: 1fr;
    margin-top: 0;
  }
  .land__row + .land__row { margin-top: 28px; }
  .land__photo--tall { aspect-ratio: 4 / 5; }

  .editorial { padding: 96px 24px; }

  .location { padding: 72px 24px; }
  .location__grid { grid-template-columns: 1fr; gap: 40px; }
  .location__map { min-height: 320px; }

  .contact { padding: 80px 24px; }
  .contact__grid { grid-template-columns: 1fr; gap: 56px; }
  .contact__form { padding: 32px 24px; }
  .contact__form-row { grid-template-columns: 1fr; gap: 22px; }

  .stats { padding: 28px 24px; }
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
  }
  .stats__item:nth-child(2) { border-right: 0; }
  .stats__item:nth-child(1),
  .stats__item:nth-child(3) { border-right: 1px solid rgba(179, 198, 201, .25); }

  .footer { padding: 80px 24px 28px; }
  .footer__meta { flex-direction: column; align-items: flex-start; margin-top: 64px; }
}

@media (max-width: 540px) {
  .hero__title { font-size: clamp(38px, 11vw, 56px); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}
