/* ============================================================
   Homes 4 Rent Greenville SC — "Southern Porch Editorial"
   Fraunces (display) + Hanken Grotesk (body)
   ============================================================ */

:root {
  --cream: #faf7f0;
  --cream-deep: #f3eee2;
  --paper: #ffffff;
  --spruce: #1c3a2e;
  --spruce-deep: #14291f;
  --spruce-soft: #2c5243;
  --clay: #c2562b;
  --clay-deep: #a8441d;
  --butter: #e9b44c;
  --ink: #22251f;
  --ink-soft: #6b6e63;
  --line: #e5ddcc;
  --radius-arch: 999px 999px 20px 20px;
  --shadow-card: 0 1px 2px rgba(28, 42, 32, 0.04), 0 8px 24px -12px rgba(28, 42, 32, 0.12);
  --shadow-lift: 0 2px 4px rgba(28, 42, 32, 0.05), 0 18px 40px -16px rgba(28, 42, 32, 0.18);
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Hanken Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grain overlay for warmth */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

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

a { color: inherit; }

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- type helpers ---------- */

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--clay);
  border-radius: 2px;
}

.display {
  font-family: var(--font-display);
  font-weight: 540;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--spruce);
}

.display em {
  font-style: italic;
  font-weight: 420;
  color: var(--clay);
}

.lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 28px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.2s, color 0.2s;
}

.btn svg { transition: transform 0.25s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

.btn-clay {
  background: var(--clay);
  color: #fff;
  box-shadow: 0 6px 16px -8px rgba(194, 86, 43, 0.45);
}
.btn-clay:hover { background: var(--clay-deep); transform: translateY(-2px); }

.btn-spruce {
  background: var(--spruce);
  color: var(--cream);
}
.btn-spruce:hover { background: var(--spruce-deep); transform: translateY(-2px); }

.btn-ghost {
  border-color: var(--spruce);
  color: var(--spruce);
  background: transparent;
}
.btn-ghost:hover { background: var(--spruce); color: var(--cream); transform: translateY(-2px); }

.btn-ghost-light {
  border-color: rgba(248, 242, 231, 0.5);
  color: var(--cream);
  background: transparent;
}
.btn-ghost-light:hover { background: var(--cream); color: var(--spruce); }

/* ---------- announcement bar ---------- */

.announce {
  background: var(--spruce-deep);
  color: var(--cream);
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 9px 16px;
}

.announce strong { color: var(--butter); font-weight: 700; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -16px rgba(28, 42, 32, 0.25);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 999px 999px 6px 6px;
  background: var(--spruce);
  color: var(--butter);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  font-style: italic;
  padding-top: 2px;
}

.brand-text { line-height: 1.15; }

.brand-text b {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--spruce);
  display: block;
  letter-spacing: -0.01em;
}

.brand-text span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay-deep);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a:not(.btn) {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--clay);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-out);
}

.nav-links a:not(.btn):hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links .btn { padding: 11px 22px; font-size: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--spruce);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 64px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-copy > * { opacity: 0; transform: translateY(24px); animation: rise 0.9s var(--ease-out) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.15s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.28s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.4s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.52s; }

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

.hero h1 {
  font-size: clamp(42px, 5.6vw, 72px);
  margin: 18px 0 22px;
}

.hero .lede { margin-bottom: 34px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.proof-item b {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 580;
  color: var(--spruce);
  display: block;
  line-height: 1.1;
}

.proof-item span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.proof-item .stars { color: var(--butter); letter-spacing: 2px; font-size: 15px; }

/* hero arch composition */

.hero-art {
  position: relative;
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  animation: rise-art 1.1s var(--ease-out) 0.3s forwards;
}

@keyframes rise-art {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.arch-main {
  position: relative;
  border-radius: var(--radius-arch);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lift);
  border: 6px solid var(--paper);
}

.arch-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s var(--ease-out);
}

.hero-art:hover .arch-main img { transform: scale(1.06); }

.arch-tag {
  position: absolute;
  left: -26px;
  bottom: 64px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.arch-tag .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 4px rgba(194, 86, 43, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(194, 86, 43, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(194, 86, 43, 0.05); }
}

.arch-tag b { font-size: 14px; color: var(--spruce); display: block; line-height: 1.3; }
.arch-tag span { font-size: 12px; color: var(--ink-soft); }

.arch-badge {
  position: absolute;
  top: 26px;
  right: -20px;
  width: 108px;
  height: 108px;
  z-index: 2;
}

.arch-badge svg { width: 100%; height: 100%; }

/* ---------- marquee ---------- */

.marquee {
  background: var(--spruce);
  color: var(--cream);
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid var(--spruce-deep);
  border-bottom: 1px solid var(--spruce-deep);
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.marquee-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 44px;
  opacity: 0.92;
}

.marquee-track span::after {
  content: "✦";
  font-style: normal;
  color: var(--butter);
  font-size: 12px;
}

/* ---------- sections ---------- */

.section { padding: 96px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 52px;
}

.section-head h2 {
  font-size: clamp(32px, 4vw, 50px);
  margin-top: 16px;
}

.section-head .lede { margin-top: 14px; }

/* ---------- property cards ---------- */

.homes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.home-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

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

.home-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.home-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.home-card:hover .home-card-media img { transform: scale(1.07); }

.home-card-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 250, 241, 0.94);
  color: var(--spruce);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
}

.home-card-chip.is-new { background: var(--clay); color: var(--paper); }

.home-card-body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }

.home-card h3 {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 560;
  color: var(--spruce);
  margin-bottom: 6px;
}

.home-card .meta {
  font-size: 14px;
  font-weight: 600;
  color: var(--clay-deep);
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.home-card p { font-size: 15px; color: var(--ink-soft); margin-bottom: 18px; flex: 1; }

.home-card .card-link {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--spruce);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.home-card:hover .card-link { color: var(--clay); }
.home-card .card-link svg { transition: transform 0.3s var(--ease-out); }
.home-card:hover .card-link svg { transform: translateX(4px); }

/* ---------- included band ---------- */

.included {
  background: var(--spruce);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.included::before {
  content: "GVL";
  position: absolute;
  right: -3%;
  bottom: -22%;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(180px, 28vw, 380px);
  line-height: 1;
  color: rgba(248, 242, 231, 0.03);
  pointer-events: none;
}

.included .eyebrow { color: var(--butter); }
.included .eyebrow::before { background: var(--butter); }
.included h2 { color: var(--cream); }
.included h2 em { color: var(--butter); }
.included .lede { color: rgba(248, 242, 231, 0.72); }

.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(248, 242, 231, 0.14);
  border: 1px solid rgba(248, 242, 231, 0.14);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}

.included-cell {
  background: var(--spruce);
  padding: 34px 30px;
  transition: background 0.3s;
}

.included-cell:hover { background: var(--spruce-soft); }

.included-cell .icon {
  width: 46px;
  height: 46px;
  border-radius: 999px 999px 8px 8px;
  background: rgba(233, 180, 76, 0.14);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--butter);
}

.included-cell h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 560;
  margin-bottom: 8px;
}

.included-cell p { font-size: 15px; color: rgba(248, 242, 231, 0.68); }

/* ---------- book direct split ---------- */

.direct-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.direct-art { position: relative; }

.direct-art .arch-main { aspect-ratio: 3.4 / 4; }

.direct-art .frame-back {
  position: absolute;
  inset: 28px -28px -28px 28px;
  border: 2px solid var(--clay);
  border-radius: var(--radius-arch);
  opacity: 0.4;
  z-index: -1;
}

.direct-list { list-style: none; margin-top: 36px; display: grid; gap: 0; }

.direct-list li {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.direct-list li:last-child { border-bottom: 1px solid var(--line); }

.direct-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--clay);
  flex: none;
  width: 40px;
}

.direct-list b { display: block; font-size: 17px; color: var(--spruce); margin-bottom: 4px; }
.direct-list p { font-size: 15px; color: var(--ink-soft); }

/* ---------- reviews ---------- */

.reviews { background: var(--cream-deep); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s var(--ease-out);
}

.review-card:hover { transform: translateY(-4px); }

.review-card::before {
  content: "“";
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 0.6;
  color: var(--clay);
  opacity: 0.3;
  display: block;
  margin-bottom: 12px;
}

.review-card .stars { color: var(--butter); font-size: 15px; letter-spacing: 3px; margin-bottom: 14px; }

.review-card blockquote {
  font-size: 15.5px;
  color: var(--ink);
  flex: 1;
  margin-bottom: 20px;
}

.review-card cite {
  font-style: normal;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--spruce);
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}

.review-card cite span { font-weight: 500; color: var(--ink-soft); }

/* ---------- distance strip ---------- */

.distance-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.distance-pill {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--spruce);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.distance-pill b { color: var(--clay); font-weight: 700; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--clay);
  color: var(--paper);
  border-radius: 28px;
  padding: clamp(48px, 6vw, 84px);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 999px 999px 0 0;
  background: rgba(255, 250, 241, 0.08);
  pointer-events: none;
}

.cta-band::before { width: 280px; height: 380px; left: -80px; bottom: -120px; transform: rotate(14deg); }
.cta-band::after { width: 220px; height: 320px; right: -60px; top: -100px; transform: rotate(-160deg); }

.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 540;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.05;
  margin-bottom: 18px;
}

.cta-band h2 em { font-style: italic; color: var(--butter); }

.cta-band p { font-size: 18px; opacity: 0.88; max-width: 52ch; margin: 0 auto 34px; }

.cta-band .btn-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; position: relative; z-index: 1; }

.cta-band .btn-light { background: var(--paper); color: var(--clay-deep); }
.cta-band .btn-light:hover { background: var(--cream); transform: translateY(-2px); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--spruce-deep);
  color: rgba(248, 242, 231, 0.75);
  padding: 72px 0 36px;
  margin-top: 96px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(248, 242, 231, 0.12);
}

.footer-brand p { font-size: 14.5px; margin-top: 16px; max-width: 36ch; }

.site-footer .brand-text span { color: var(--butter); }

.site-footer h4,
.site-footer .footer-head {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--butter);
  margin-bottom: 18px;
}

.site-footer ul { list-style: none; display: grid; gap: 10px; }

.site-footer ul a {
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

.site-footer ul a:hover { color: var(--cream); }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(248, 242, 231, 0.5);
}

/* ---------- homes page ---------- */

.page-hero { padding: 72px 0 24px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 64px); margin: 16px 0 18px; }

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 28px 0 8px;
}

.filter-pill {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--spruce);
  background: transparent;
  color: var(--spruce);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s var(--ease-out);
}

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

.filter-pill.is-active { background: var(--spruce); color: var(--cream); }

.listing {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.listing:first-of-type { border-top: none; }

.listing.is-flipped .listing-gallery { order: 2; }

.listing-gallery { position: sticky; top: 110px; }

.gallery-main {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-card);
  border: 5px solid var(--paper);
  position: relative;
}

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

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.gallery-thumbs button {
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: none;
  aspect-ratio: 4 / 3;
  opacity: 0.75;
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s var(--ease-out);
}

.gallery-thumbs button:hover { opacity: 1; transform: translateY(-2px); }
.gallery-thumbs button.is-active { border-color: var(--clay); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.listing-body .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 18px;
}

.meta-chip {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--spruce);
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
}

.meta-chip.is-clay { background: var(--clay); border-color: var(--clay); color: var(--paper); }

.listing-body h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 550;
  color: var(--spruce);
  line-height: 1.08;
}

.listing-body > p { color: var(--ink-soft); margin: 18px 0 26px; font-size: 16.5px; }

.feature-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin-bottom: 28px;
}

.feature-cols span {
  font-size: 14.5px;
  color: var(--ink);
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.feature-cols span::before {
  content: "✦";
  color: var(--clay);
  font-size: 11px;
  flex: none;
}

.listing-distances {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 28px;
}

.listing-distances h4,
.listing-distances h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay-deep);
  margin-bottom: 12px;
}

.listing-distances table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.listing-distances td { padding: 7px 0; border-top: 1px dashed var(--line); }
.listing-distances tr:first-child td { border-top: none; }
.listing-distances td:last-child { text-align: right; font-weight: 700; color: var(--spruce); white-space: nowrap; }

.listing-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 64px;
  align-items: start;
  padding-bottom: 32px;
}

.contact-card {
  background: var(--spruce);
  color: var(--cream);
  border-radius: 24px;
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
}

.contact-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 340px;
  right: -70px;
  bottom: -140px;
  border-radius: 999px 999px 0 0;
  background: rgba(233, 180, 76, 0.1);
  transform: rotate(-18deg);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 550;
  margin-bottom: 10px;
}

.contact-card p { color: rgba(248, 242, 231, 0.75); font-size: 15.5px; margin-bottom: 28px; }

.contact-rows { display: grid; gap: 14px; position: relative; z-index: 1; }

.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(248, 242, 231, 0.07);
  border: 1px solid rgba(248, 242, 231, 0.14);
  border-radius: 16px;
  padding: 16px 20px;
  text-decoration: none;
  transition: background 0.2s, transform 0.25s var(--ease-out);
}

.contact-row:hover { background: rgba(248, 242, 231, 0.13); transform: translateX(5px); }

.contact-row .icon {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 999px 999px 8px 8px;
  background: rgba(233, 180, 76, 0.16);
  color: var(--butter);
  display: grid;
  place-items: center;
}

.contact-row b { display: block; font-size: 15px; color: var(--cream); }
.contact-row span { font-size: 13px; color: rgba(248, 242, 231, 0.6); }

.steps { counter-reset: step; display: grid; gap: 0; margin-top: 8px; }

.step {
  counter-increment: step;
  display: flex;
  gap: 22px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.step::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  color: var(--clay);
  flex: none;
  line-height: 1.1;
}

.step b { display: block; font-size: 17px; color: var(--spruce); margin-bottom: 5px; }
.step p { font-size: 15px; color: var(--ink-soft); }

/* ---------- FAQ accordion ---------- */

.faq-list {
  max-width: 820px;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease-out);
}

.faq-item[open] { box-shadow: var(--shadow-card); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 560;
  color: var(--spruce);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  color: var(--clay);
  transition: transform 0.3s var(--ease-out), background 0.2s;
}

.faq-item[open] summary::after {
  content: "–";
  background: var(--cream-deep);
}

.faq-item summary:hover::after { background: var(--cream-deep); }

.faq-body {
  padding: 0 24px 22px;
  font-size: 15.5px;
  color: var(--ink-soft);
  max-width: 64ch;
}

.faq-body a { color: var(--clay-deep); font-weight: 600; }

/* ---------- booking page ---------- */

.book-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
  padding-bottom: 48px;
}

.book-aside { position: sticky; top: 110px; }

.book-points { list-style: none; display: grid; gap: 14px; margin-top: 28px; }

.book-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--ink);
}

.book-points li::before {
  content: "✓";
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--cream-deep);
  color: var(--spruce);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 1px;
}

.form-shell {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.form-shell-head {
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.form-shell-head b {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 560;
  color: var(--spruce);
}

.form-shell-head span { font-size: 13px; color: var(--ink-soft); }

.form-shell iframe {
  display: block;
  width: 100%;
  height: 1100px;
  border: 0;
  background: var(--paper);
}

.book-fallback {
  padding: 16px 28px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}

.book-fallback a { color: var(--clay-deep); font-weight: 600; }

@media (max-width: 1020px) {
  .book-grid { grid-template-columns: 1fr; }
  .book-aside { position: static; }
}

/* ---------- custom booking form ---------- */

.bform { padding: 28px; display: grid; gap: 22px; }

.bform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.bfield { display: grid; gap: 7px; }

.bfield label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--spruce);
}

.bfield label .opt { color: var(--ink-soft); font-weight: 500; text-transform: none; letter-spacing: 0; }

.bfield input,
.bfield select,
.bfield textarea {
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.bfield select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%231c3a2e' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.bfield input:focus,
.bfield select:focus,
.bfield textarea:focus {
  border-color: var(--spruce);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(28, 58, 46, 0.1);
}

.bfield textarea { resize: vertical; min-height: 88px; }

.bfield.has-error input,
.bfield.has-error select { border-color: #b3261e; }

.bfield .err { font-size: 12.5px; color: #b3261e; display: none; }
.bfield.has-error .err { display: block; }

/* source pills */
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }

/* Hidden radios/checkboxes behind styled labels. position:relative above makes
   the group their containing block; the 1px box stops the input's width:100%
   (inherited from .bfield input) from resolving to viewport width and breaking
   out of body's overflow-x:hidden - the cause of horizontal scroll on mobile. */
.pill-group input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.pill-group label {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--spruce);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.pill-group input:checked + label { background: var(--spruce); border-color: var(--spruce); color: var(--cream); }
.pill-group input:focus-visible + label { box-shadow: 0 0 0 3px rgba(28, 58, 46, 0.18); }

/* ---------- date-range calendar ---------- */

.cal-wrap {
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.cal-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}

.cal-summary .dates { font-size: 15px; font-weight: 700; color: var(--spruce); }
.cal-summary .dates span { color: var(--ink-soft); font-weight: 500; }
.cal-summary .nights {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--clay-deep);
  background: rgba(194, 86, 43, 0.1);
  border-radius: 999px;
  padding: 5px 12px;
}

.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.cal-month { user-select: none; }

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cal-head b {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 580;
  color: var(--spruce);
}

.cal-nav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--spruce);
  font-size: 15px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, border-color 0.2s;
}

.cal-nav:hover:not(:disabled) { background: var(--spruce); color: var(--cream); border-color: var(--spruce); }
.cal-nav:disabled { opacity: 0.3; cursor: default; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }

.cal-grid .dow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
  padding: 6px 0;
}

.cal-day {
  aspect-ratio: 1;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.cal-day:hover:not(:disabled):not(.is-start):not(.is-end) { background: var(--cream-deep); }
.cal-day:disabled { color: #c8c3b5; cursor: default; text-decoration: line-through; text-decoration-color: rgba(0,0,0,0.15); }
.cal-day.is-pad { visibility: hidden; }
.cal-day.in-range { background: rgba(194, 86, 43, 0.12); border-radius: 0; }
.cal-day.is-start, .cal-day.is-end { background: var(--clay); color: #fff; }
.cal-day.is-start { border-radius: 10px 0 0 10px; }
.cal-day.is-end { border-radius: 0 10px 10px 0; }
.cal-day.is-start.is-end { border-radius: 10px; }
.cal-day.is-today:not(.is-start):not(.is-end) { box-shadow: inset 0 0 0 1.5px var(--line); }

.cal-hint { font-size: 12.5px; color: var(--ink-soft); margin-top: 10px; }

/* submit + success */
.bform-submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.bform-submit .btn { border: none; }
.bform-submit .btn:disabled { opacity: 0.55; cursor: default; transform: none; }

.bform-note { font-size: 13px; color: var(--ink-soft); }

.bform-success {
  display: none;
  padding: 56px 36px;
  text-align: center;
}

.bform-success.is-shown { display: block; }

.bform-success .tick {
  width: 64px;
  height: 64px;
  border-radius: 999px 999px 12px 12px;
  background: var(--spruce);
  color: var(--butter);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}

.bform-success h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 560;
  color: var(--spruce);
  margin-bottom: 10px;
}

.bform-success p { color: var(--ink-soft); max-width: 46ch; margin: 0 auto 8px; }

@media (max-width: 860px) {
  .bform-row { grid-template-columns: 1fr; }
  .cal-months { grid-template-columns: 1fr; }
  .cal-month + .cal-month { display: none; }
}

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-copy > *, .hero-art { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .hero-grid, .direct-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { max-width: 460px; }
  .homes-grid { grid-template-columns: 1fr 1fr; }
  .included-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .listing { grid-template-columns: 1fr; gap: 36px; }
  .listing-gallery { position: static; }
  .listing.is-flipped .listing-gallery { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  /* decorative frame: drop the -28px right/bottom bleed on mobile so it can't
     push past the viewport and cause a sliver of horizontal scroll */
  .direct-art .frame-back { inset: 16px 6px -16px 6px; }
  /* solid header on mobile: backdrop-filter would trap the fixed menu in the header's containing block */
  .site-header {
    background: var(--cream);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    font-size: 20px;
    transform: translateY(-100%);
    transition: transform 0.45s var(--ease-out);
    z-index: 90;
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-links a:not(.btn) { font-size: 22px; font-family: var(--font-display); font-weight: 550; }
  .nav-toggle { display: flex; position: relative; z-index: 95; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .homes-grid, .included-grid, .reviews-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .feature-cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .arch-tag { left: 8px; }
  .arch-badge { right: 4px; width: 90px; height: 90px; }
  .hero { padding: 40px 0 64px; }
}
