/* =========================================================
   RAFTER 60 RANCH AND HOME - PREMIUM RANCH LIFESTYLE BRAND
   Global Stylesheet
   ========================================================= */

/* -------- Reset & Base -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg-warm);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); font-weight: 400; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 400; }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
h4 { font-size: 1.15rem; font-weight: 600; }
p  { margin: 0 0 1.1em; color: var(--ink-soft); }
small { font-size: 0.85rem; }

/* -------- Tokens (mapped to Rafter 60 logo palette) -------- */
:root {
  /* Backgrounds */
  --bg-cream: #f4ecdc;     /* main cream from logo background */
  --bg-warm:  #faf3e2;     /* slightly warmer surface */
  --bg-paper: #ffffff;
  --bg-stone: #ece0c4;     /* deeper cream for cards */

  /* Ink */
  --ink: #1d2616;          /* very dark green-black */
  --ink-soft: #3d4a35;
  --ink-mute: #7a7565;

  /* Brand primaries */
  --green-deep: #2d3a22;   /* primary forest green from logo */
  --green-mid:  #3d5030;
  --green-soft: #6f7d5f;

  /* Accents */
  --gold:       #b88848;   /* tan/gold from "RANCH + HOME" */
  --gold-deep:  #9a6f37;
  --gold-light: #d4a85c;

  /* Earth */
  --barn:       #6b4527;   /* barn brown */
  --barn-deep:  #4a2f1a;
  --steel:      #8a8a8a;

  /* Rules */
  --rule: #d9cdb0;
  --rule-soft: #e8dec5;

  /* Legacy aliases (kept so existing class refs stay valid) */
  --copper: var(--gold);
  --copper-dark: var(--gold-deep);
  --brown-deep: var(--green-deep);
  --brown-mid: var(--barn);

  --shadow-sm: 0 1px 2px rgba(45,58,34,.06), 0 4px 14px rgba(45,58,34,.05);
  --shadow-md: 0 4px 12px rgba(45,58,34,.10), 0 16px 40px rgba(45,58,34,.12);
  --shadow-lg: 0 10px 30px rgba(45,58,34,.16), 0 30px 70px rgba(45,58,34,.20);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --maxw: 1240px;
}

/* -------- Layout helpers -------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 920px; margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(70px, 9vw, 130px) 0; }
.section-tight { padding: clamp(50px, 6vw, 80px) 0; }
.section-cream { background: var(--bg-cream); }
.section-stone { background: var(--bg-stone); }
.section-deep { background: var(--green-deep); color: #f4ecdc; }
.section-deep h1, .section-deep h2, .section-deep h3, .section-deep h4 { color: #f4ecdc; }
.section-deep p { color: rgba(244,236,220,0.82); }
.section-barn { background: var(--barn-deep); color: #f4ecdc; }
.section-barn h1, .section-barn h2, .section-barn h3, .section-barn h4 { color: #f4ecdc; }
.section-barn p { color: rgba(244,236,220,0.85); }
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  margin: 0 0 16px;
  display: inline-block;
}
.section-deep .eyebrow { color: var(--gold); }
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 62ch;
}
.section-deep .lead { color: rgba(247,238,223,0.88); }

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--copper);
  color: #fff;
  box-shadow: 0 8px 20px rgba(157,93,36,.28);
}
.btn-primary:hover { background: var(--copper-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(157,93,36,.36); }
.btn-secondary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 8px 20px rgba(29,38,22,.18);
}
.btn-secondary:hover {
  background: var(--copper);
  border-color: var(--copper);
  color: #fff;
}
.btn-light {
  background: rgba(255,255,255,0.96);
  color: var(--ink);
}
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.btn-ghost {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 8px 20px rgba(29,38,22,.18);
}
.btn-ghost:hover {
  background: var(--copper);
  border-color: var(--copper);
  color: #fff;
}
.btn-hero-filled {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 8px 20px rgba(29,38,22,.18);
}
.btn-hero-filled:hover {
  background: var(--copper);
  border-color: var(--copper);
  color: #fff;
}
.btn .arrow { transition: transform .3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* -------- Header / Nav -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,246,240,0.92);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.brand-mark {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-logo-full { display: flex; align-items: center; gap: 12px; }
.brand-logo-full .logo-mark {
  width: 132px;
  height: 62px;
  flex: 0 0 auto;
  object-fit: contain;
}
@media (max-width: 560px) {
  .brand-logo-full .logo-mark { width: 96px; height: 48px; }
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text small { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--copper); font-family: 'Inter', sans-serif; font-weight: 600; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  position: relative;
  display: inline-block;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: 6px;
  transition: color .2s ease, background .2s ease;
}
.nav-list a:hover { color: var(--copper-dark); }
.nav-list a.active { color: var(--copper-dark); }
.nav-list a.active::after {
  content: ""; position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--copper);
}
.has-sub { position: relative; }
.has-sub > a::after {
  content: "▾";
  margin-left: 6px;
  font-size: 0.6em;
  vertical-align: middle;
  color: var(--ink-mute);
}
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-paper);
  min-width: 240px;
  padding: 10px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  list-style: none;
  margin: 6px 0 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease;
  border: 1px solid var(--rule-soft);
}
.has-sub:hover .submenu,
.has-sub:focus-within .submenu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.submenu a { display: block; padding: 10px 12px; font-size: 0.9rem; }
.submenu a:hover { background: var(--bg-cream); color: var(--ink); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.call-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--copper);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 6px 14px rgba(157,93,36,.25);
  transition: background .2s ease, transform .2s ease;
}
.call-cta:hover { background: var(--copper-dark); transform: translateY(-1px); }
.call-cta .phone-icon { width: 16px; height: 16px; fill: currentColor; }

.menu-toggle {
  display: none;
  border: 1px solid var(--rule);
  background: transparent;
  border-radius: 8px;
  padding: 9px 12px;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}
.menu-toggle .bars { width: 18px; display: inline-flex; flex-direction: column; gap: 3px; }
.menu-toggle .bars span { display: block; height: 2px; background: var(--ink); }

@media (max-width: 1080px) {
  .nav-list { display: none; }
  .menu-toggle { display: inline-flex; }
  .call-cta span.cta-label { display: none; }
}
@media (max-width: 560px) {
  .brand-text small { display: none; }
  .brand { font-size: 1.05rem; }
}

/* mobile menu drawer */
.mobile-menu {
  display: none;
  background: var(--bg-paper);
  border-top: 1px solid var(--rule-soft);
  padding: 18px 24px 28px;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.mobile-menu > ul > li { border-bottom: 1px solid var(--rule-soft); }
.mobile-menu a { display: block; padding: 14px 4px; font-weight: 500; }
.mobile-menu .submenu-mobile { padding-left: 16px; }
.mobile-menu .submenu-mobile a { font-size: 0.92rem; padding: 10px 4px; color: var(--ink-soft); }

/* -------- Hero -------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.hero-slides {
  position: absolute; inset: 0; z-index: -2;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
  animation: kenburns 14s ease-out infinite alternate;
}
.hero-slide.active { opacity: 1; }
@keyframes kenburns {
  from { transform: scale(1) translate(0,0); }
  to   { transform: scale(1.1) translate(-1.5%, -1%); }
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: none;
  z-index: -1;
}
.hero.logo-hero,
.page-hero.logo-hero {
  min-height: min(78vw, 92vh);
  background-color: var(--bg-cream);
  background-image: url("../img/rafter-60-hero-image.svg") !important;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100vw auto;
  color: var(--ink);
}
.hero.logo-hero::after,
.page-hero.logo-hero::after {
  background: none;
}
.hero.logo-hero .hero-inner,
.page-hero.logo-hero .container {
  min-height: min(78vw, 92vh);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: min(58vw, 620px);
  padding-bottom: clamp(28px, 5vw, 70px);
}
.hero.logo-hero .hero-actions,
.page-hero.logo-hero .hero-actions {
  justify-content: center;
  margin-top: 0 !important;
}
.hero.logo-hero .btn-ghost,
.page-hero.logo-hero .btn-ghost {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 8px 20px rgba(29,38,22,.18);
}
.hero.logo-hero .btn-ghost:hover,
.page-hero.logo-hero .btn-ghost:hover {
  background: var(--copper);
  color: #fff;
  border-color: var(--copper);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(157,93,36,.36);
}
.hero-inner {
  padding: 120px 0 110px;
}
.hero h1 {
  color: #fff;
  font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  max-width: 18ch;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p.lead {
  color: rgba(255,255,255,0.92);
  max-width: 56ch;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  margin-top: 18px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(212,168,92,0.5);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero-bottom {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.55), rgba(0,0,0,0));
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.78);
}
.hero-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-bottom strong { color: #fff; font-weight: 600; }

/* -------- Page header (non-home) -------- */
.page-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  padding: clamp(110px, 14vw, 180px) 0 clamp(80px, 10vw, 130px);
  background-size: cover;
  background-position: center;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: none;
  z-index: -1;
}
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero p { color: rgba(255,255,255,0.88); max-width: 60ch; }
.carousel-hero {
  overflow: hidden;
  background-image: none !important;
}
.carousel-hero .hero-slides {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.page-hero.full-image-hero {
  min-height: clamp(360px, 56vw, 760px);
  display: flex;
  align-items: flex-end;
  padding: 0;
  background-color: #171717;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.page-hero.full-image-hero .hero-slide {
  background-color: #171717;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  animation: none;
  transform: none;
}
.page-hero.full-image-hero .container {
  padding-top: clamp(260px, 48vw, 650px);
  padding-bottom: clamp(22px, 4vw, 54px);
}
.page-hero.full-image-hero .hero-actions {
  justify-content: center;
}
.page-hero.portable-hero .container {
  padding-top: clamp(330px, 52vw, 720px);
  padding-bottom: 0;
}
.page-hero.portable-hero .hero-actions {
  margin-top: 0 !important;
  justify-content: center;
}
.page-hero.platinum-hero .container {
  padding-top: clamp(330px, 52vw, 720px);
  padding-bottom: 0;
}
.page-hero.platinum-hero .hero-actions {
  margin-top: 0 !important;
  justify-content: center;
}
.page-hero.steel-hero .container {
  width: 100%;
  max-width: none;
  min-height: clamp(360px, 56vw, 760px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding-top: clamp(92px, 10vw, 150px);
  padding-bottom: clamp(44px, 6vw, 88px);
}
.page-hero.steel-hero .hero-copy {
  width: 100%;
  max-width: none;
  text-align: center;
  padding: clamp(18px, 3vw, 34px) 20px;
  background: rgba(0,0,0,0.34);
  text-shadow: 0 2px 18px rgba(0,0,0,0.5);
}
.page-hero.steel-hero h1 {
  margin: 0;
  color: #fff;
  max-width: none;
  font-size: clamp(2.4rem, 6vw, 5rem);
}
.page-hero.steel-hero .hero-actions {
  margin-top: 0 !important;
  justify-content: center;
}
.page-hero.carports-hero {
  min-height: clamp(360px, 56vw, 760px);
  display: flex;
  align-items: stretch;
  padding: 0;
}
.page-hero.carports-hero .container {
  width: 100%;
  max-width: none;
  min-height: clamp(360px, 56vw, 760px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding-top: clamp(92px, 10vw, 150px);
  padding-bottom: clamp(44px, 6vw, 88px);
}
.page-hero.carports-hero .hero-copy {
  width: 100%;
  max-width: none;
  text-align: center;
  padding: clamp(18px, 3vw, 34px) 20px;
  background: rgba(0,0,0,0.34);
  text-shadow: 0 2px 18px rgba(0,0,0,0.5);
}
.page-hero.carports-hero h1 {
  margin: 0;
  color: #fff;
  max-width: none;
  font-size: clamp(2.4rem, 6vw, 5rem);
}
.page-hero.carports-hero .hero-actions {
  justify-content: center;
  margin-top: 0 !important;
}
.page-hero.surphace-hero {
  min-height: clamp(360px, 56vw, 760px);
  display: flex;
  align-items: flex-end;
  padding: 0;
}
.page-hero.surphace-hero .container {
  padding-top: clamp(300px, 50vw, 690px);
  padding-bottom: clamp(12px, 2vw, 24px);
}
.page-hero.surphace-hero .hero-actions {
  margin-top: 0 !important;
  justify-content: center;
}
.page-hero.red-iron-hero .container {
  width: 100%;
  max-width: none;
  min-height: clamp(360px, 56vw, 760px);
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(22px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.page-hero.full-image-hero.red-iron-hero {
  background-size: cover;
  background-position: center;
}
.page-hero.red-iron-hero .hero-copy {
  width: 100%;
  max-width: none;
  text-align: center;
  padding: clamp(18px, 3vw, 34px) 20px;
  background: rgba(0,0,0,0.34);
  text-shadow: 0 2px 18px rgba(0,0,0,0.5);
}
.page-hero.red-iron-hero h1 {
  max-width: none;
  font-size: clamp(2.4rem, 6vw, 5rem);
  margin: 0;
}
.page-hero.red-iron-hero p {
  max-width: none;
  margin: 10px 0 0;
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  color: rgba(255,255,255,0.94);
}
.page-hero.red-iron-hero .hero-actions {
  margin-top: 0 !important;
  justify-content: center;
}
.contact-title-hero {
  padding: clamp(110px, 14vw, 170px) 0 clamp(60px, 9vw, 110px);
  background: var(--bg-cream);
  border-bottom: 8px solid var(--green);
  text-align: center;
}
.contact-title-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.5rem, 10vw, 8rem);
  line-height: 0.95;
  font-weight: 800;
}
.contact-title-hero .hero-actions {
  justify-content: center;
  margin-top: clamp(24px, 4vw, 42px);
}

/* -------- Trust strip -------- */
.trust-strip {
  background: var(--bg-cream);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  padding: 36px 0;
}
.trust-strip-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
}
@media (min-width: 880px) {
  .trust-strip-inner { grid-template-columns: 1.2fr 2fr; gap: 40px; }
}
.trust-statement {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  color: var(--ink);
  line-height: 1.35;
  margin: 0;
}
.trust-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.65rem, 2.8vw, 2.6rem);
  font-weight: 700;
}
.trust-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 720px) {
  .trust-points { grid-template-columns: 1fr; }
}
.trust-points li {
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.trust-points li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--copper);
  margin-top: 9px;
  flex: 0 0 auto;
}

/* -------- Two-column blocks -------- */
.split {
  display: grid;
  gap: 50px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 1fr; gap: 70px; }
  .split.flip { grid-template-columns: 1fr 1.05fr; }
  .split.flip .split-image { order: 2; }
}
.split-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-cream);
  box-shadow: var(--shadow-md);
}
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.split-image.video-embed {
  background: #000;
}
.split-image.video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.split-image.tall { aspect-ratio: 4/5; }

/* -------- Category Tile Section -------- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
@media (min-width: 980px) {
  .tile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #2a1f15;
  display: flex;
  align-items: flex-end;
  min-height: 360px;
  transition: transform .35s ease, box-shadow .35s ease;
  box-shadow: var(--shadow-sm);
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tile-img {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transition: transform 1s ease;
}
.tile:hover .tile-img { transform: scale(1.06); }
.tile::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.65) 100%);
}
.tile.tile-label-only {
  align-items: flex-start;
}
.tile.tile-label-only::after {
  background: linear-gradient(135deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.22) 42%, rgba(0,0,0,0.08) 100%);
}
.tile-corner-label {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 24px;
  color: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.tile-body { padding: 28px; width: 100%; }
.tile-title {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  margin: 0 0 6px;
  font-weight: 500;
}
.tile-sub { font-size: 0.92rem; color: rgba(255,255,255,0.85); margin: 0 0 12px; }
.tile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  text-transform: uppercase;
}
.tile-link::after { content: "→"; transition: transform .25s ease; }
.tile:hover .tile-link::after { transform: translateX(4px); }

/* tile sizing */
.tile-lg,
.tile-md,
.tile-sq,
.tile-wide,
.tile-half {
  grid-column: auto;
  min-height: 360px;
}

@media (max-width: 980px) {
  .tile-lg, .tile-md, .tile-sq, .tile-wide, .tile-half { grid-column: auto; min-height: 300px; }
}
@media (max-width: 620px) {
  .tile-lg, .tile-md, .tile-sq, .tile-wide, .tile-half { grid-column: auto; }
}

/* -------- Differentiator -------- */
.diff-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 50px 0 0;
}
.diff-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,168,92,0.18);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: border-color .25s ease, transform .25s ease;
}
.diff-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.diff-card .num {
  font-family: 'Fraunces', serif;
  color: var(--gold);
  font-size: 1.6rem;
  font-style: italic;
}
.diff-card h4 { color: #fff; margin: 12px 0 8px; font-size: 1.1rem; }
.diff-card p { color: rgba(247,238,223,0.78); font-size: 0.94rem; margin: 0; }

/* -------- Steps -------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.step {
  background: var(--bg-paper);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  position: relative;
  transition: border-color .25s ease, transform .25s ease;
}
.step:hover { border-color: var(--copper); transform: translateY(-3px); }
.step .step-num {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-style: italic;
  color: var(--copper);
  margin: 0 0 8px;
}
.step h4 { font-size: 1.1rem; margin: 0 0 8px; }
.step p { font-size: 0.94rem; margin: 0; color: var(--ink-soft); }

/* -------- Survey -------- */
.survey-wrap {
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 56px);
  box-shadow: var(--shadow-sm);
  max-width: 880px;
  margin: 0 auto;
}
.progress-track {
  width: 100%;
  height: 4px;
  background: var(--rule-soft);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 28px;
}
.progress-bar {
  height: 100%;
  background: var(--copper);
  width: 20%;
  transition: width .35s ease;
}
.survey-step { display: none; }
.survey-step.active { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.survey-step h3 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  margin: 0 0 8px;
}
.survey-step .step-help { color: var(--ink-mute); font-size: 0.92rem; margin: 0 0 22px; }

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.option-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1.5px solid var(--rule);
  background: var(--bg-warm);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
  text-align: left;
}
.option-card:hover { border-color: var(--copper); background: #fff; }
.option-card.selected { border-color: var(--copper); background: #fff; box-shadow: 0 0 0 4px rgba(196,122,58,0.14); }
.option-card .dot {
  width: 16px; height: 16px;
  border: 2px solid var(--rule);
  border-radius: 50%;
  flex: 0 0 auto;
  transition: border-color .2s ease, background .2s ease;
}
.option-card.selected .dot { border-color: var(--copper); background: var(--copper); box-shadow: inset 0 0 0 3px #fff; }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--rule);
  background: #fff;
  color: var(--ink);
  width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 4px rgba(196,122,58,0.14);
}
.field textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.survey-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.btn-text {
  background: none;
  border: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 4px;
}
.btn-text:hover { color: var(--copper-dark); }
.btn-text:disabled { opacity: 0.4; cursor: not-allowed; }

.survey-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}
.survey-success.show { display: block; animation: fadeUp .4s ease; }
.success-mark {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--copper);
  color: #fff;
  display: grid; place-items: center;
  margin: 0 auto 18px;
  font-size: 1.6rem;
}

/* -------- Quote / Testimonial -------- */
.quote-block {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.quote-block blockquote {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 18px;
  font-style: italic;
}
.section-deep .quote-block blockquote { color: #f7eedf; }
.quote-block cite {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.section-deep .quote-block cite { color: rgba(247,238,223,0.7); }

/* -------- FAQ -------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 500;
  padding: 0;
}
.faq-q::after {
  content: "+";
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--copper);
  transition: transform .25s ease;
}
.faq-item.open .faq-q::after { content: "−"; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, margin-top .25s ease;
  color: var(--ink-soft);
}
.faq-item.open .faq-a { max-height: 600px; margin-top: 12px; }
.faq-a p { margin: 0 0 8px; }

/* -------- Footer -------- */
.site-footer {
  background: var(--brown-deep);
  color: rgba(247,238,223,0.78);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.4fr repeat(3, 1fr);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 0 0 8px; }
.footer-grid a { color: rgba(247,238,223,0.78); transition: color .2s ease; }
.footer-grid a:hover { color: var(--gold); }
.footer-hours {
  color: rgba(247,238,223,0.78);
  line-height: 1.55;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212,168,92,0.45);
  border-radius: 999px;
  color: var(--gold-light);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--brown-deep);
}
.footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.footer-brand p { color: rgba(247,238,223,0.7); font-size: 0.92rem; }
.footer-brand .brand { color: #f7eedf; margin-bottom: 16px; }
.footer-brand .brand-mark { color: var(--gold-light); }
.footer-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--copper);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  margin-top: 8px;
}
.footer-call:hover { background: var(--copper-dark); color: #fff; }
.footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(247,238,223,0.12);
  font-size: 0.82rem;
  color: rgba(247,238,223,0.58);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* -------- Misc -------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-head .lead { margin: 14px auto 0; }
.divider {
  width: 56px;
  height: 2px;
  background: var(--copper);
  margin: 0 0 24px;
  border: none;
}
.section-head .divider { margin: 0 auto 24px; }

/* -------- Lifestyle Cards (Ranch and Home tile sub) -------- */
.mini-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.mini-card {
  background: var(--bg-paper);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: border-color .25s ease, transform .25s ease;
}
.mini-card.card-link {
  display: block;
  color: inherit;
}
.mini-card:hover { border-color: var(--copper); transform: translateY(-3px); }
.mini-card h4 { font-size: 1.05rem; margin: 0 0 6px; }
.mini-card p  { font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 12px; }
.mini-card a,
.mini-card .card-cta  { font-size: 0.85rem; font-weight: 600; color: var(--copper-dark); text-transform: uppercase; letter-spacing: 0.06em; }
.mini-card a::after,
.mini-card .card-cta::after { content: " →"; transition: margin .2s ease; }
.mini-card a:hover::after,
.mini-card:hover .card-cta::after { margin-left: 4px; }
.mini-card .mini-card-btn {
  display: inline-flex;
  width: fit-content;
  margin-top: 6px;
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
}
.mini-card .mini-card-btn::after {
  content: none;
}
.feature-card-grid {
  align-items: stretch;
}
.feature-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.section-deep .feature-card h4 {
  color: var(--gold);
  font-weight: 800;
}
.feature-card .mini-card-btn {
  align-self: center;
  margin-top: auto;
}

/* -------- Spec lists -------- */
.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.spec-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.96rem;
  color: var(--ink-soft);
}
.spec-list .check {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--copper);
  color: #fff;
  display: grid; place-items: center;
  flex: 0 0 auto;
  font-size: 0.75rem;
  margin-top: 2px;
}

/* -------- CTA Banner -------- */
.cta-banner {
  background: linear-gradient(120deg, #2e1d10 0%, #4d3017 100%);
  color: #fff;
  padding: clamp(50px, 7vw, 90px) 0;
  text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(247,238,223,0.85); margin: 0 auto 24px; max-width: 56ch; }
.cta-banner .btn-primary { background: var(--gold); color: var(--brown-deep); }
.cta-banner .btn-primary:hover { background: #e7bb6e; }

/* -------- Page intro tagline -------- */
.tagline-stripe {
  background: var(--brown-deep);
  color: var(--gold);
  text-align: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  padding: 18px 24px;
  letter-spacing: 0.02em;
}

/* -------- Image card row -------- */
.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.product-card {
  background: var(--bg-paper);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card .img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-cream);
}
.product-card .body { padding: 22px; }
.product-card h4 { margin: 0 0 6px; }
.product-card p  { margin: 0 0 10px; font-size: 0.92rem; color: var(--ink-soft); }
.product-card a  { font-size: 0.85rem; font-weight: 600; color: var(--copper-dark); text-transform: uppercase; letter-spacing: 0.06em; }
.product-card.text-only .img {
  display: none;
}
.product-card.text-only {
  min-height: 100%;
}
.text-card-row .product-card .body {
  min-height: 230px;
}

.feature-builder {
  display: grid;
  justify-items: center;
  gap: 24px;
}
.feature-builder img {
  width: min(960px, 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.floorplan-link {
  display: block;
  transition: transform .25s ease, box-shadow .25s ease;
}
.floorplan-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.section-builder {
  background: var(--bg-stone);
}

/* -------- Note line for source attribution -------- */
.source-note {
  font-size: 0.78rem;
  color: var(--ink-mute);
  margin-top: 10px;
  font-style: italic;
}

/* =================================================
   MOBILE-FIRST OVERRIDES & ENHANCEMENTS
   ================================================= */

/* Stronger horizontal-scroll prevention */
html, body { overflow-x: hidden; max-width: 100%; }
img, svg, video { max-width: 100%; height: auto; }

/* Body type bumps up on small screens for legibility */
@media (max-width: 720px) {
  body { font-size: 17px; line-height: 1.6; }
  p { font-size: 17px; }
  .lead { font-size: 1.05rem; line-height: 1.55; }
  .container, .container-narrow { padding: 0 20px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  h1 { font-size: clamp(2.1rem, 8vw, 2.8rem); line-height: 1.12; }
  h2 { font-size: clamp(1.7rem, 6.5vw, 2.2rem); line-height: 1.15; }
  h3 { font-size: 1.3rem; }
}

/* Buttons - full width and tall on mobile */
@media (max-width: 720px) {
  .btn {
    width: 100%;
    min-height: 54px;
    padding: 16px 22px;
    font-size: 1rem;
    justify-content: center;
  }
  .hero-actions { flex-direction: column; gap: 12px; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .cta-banner div[style*="display:flex"] { flex-direction: column; gap: 12px; }
  .cta-banner .btn { width: 100%; }
}

/* Hero - better mobile crop and reduced height to let content breathe */
@media (max-width: 720px) {
  .hero { min-height: 78vh; }
  .hero-inner { padding: 86px 0 130px; }
  .hero h1 { max-width: 100%; }
  .hero-eyebrow { font-size: 0.7rem; padding: 7px 12px; }
  .hero-bottom { display: none; }   /* free up space; same info appears in trust strip + footer */
  .page-hero { padding: 90px 0 70px; }
  .hero-slide { background-position: center 40%; }
}

/* Trust strip - vertical stack with comfortable spacing */
@media (max-width: 720px) {
  .trust-strip { padding: 28px 0; }
  .trust-statement { font-size: 1.1rem; }
  .trust-points li { font-size: 1rem; }
}

/* Tile grid - single column on phones, full-bleed feel */
@media (max-width: 620px) {
  .tile-grid { gap: 14px; }
  .tile { min-height: 240px; border-radius: 14px; }
  .tile-body { padding: 22px; }
  .tile-title { font-size: 1.3rem; }
  .tile-sub { font-size: 0.95rem; }
}

/* Steps & diff cards stack with more air */
@media (max-width: 720px) {
  .steps, .diff-list, .mini-card-grid { gap: 14px; }
  .step, .diff-card, .mini-card { padding: 22px 20px; }
}

/* Footer - single column, calmer spacing on small screens */
@media (max-width: 720px) {
  .site-footer { padding: 50px 0 110px; } /* extra bottom padding for sticky bar */
  .footer-grid { gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* Sticky bottom CTA bar (mobile only) */
.mobile-cta-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--green-deep);
  border-top: 1px solid rgba(212,168,92,0.25);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: none;
  gap: 10px;
  z-index: 90;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.18);
}
.mobile-cta-bar a {
  flex: 1 1 0;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.mobile-cta-bar .cta-call {
  background: var(--gold);
  color: #1d2616;
}
.mobile-cta-bar .cta-call:hover { background: var(--gold-light); }
.mobile-cta-bar .cta-build {
  background: var(--ink);
  color: #fff;
  border: 1.5px solid var(--ink);
}
.mobile-cta-bar svg { width: 16px; height: 16px; fill: currentColor; }

@media (max-width: 720px) {
  .mobile-cta-bar {
    display: flex;
    right: 0;
    padding-right: 102px;
  }
  .mobile-cta-bar .cta-build {
    display: none;
  }
  body { padding-bottom: 78px; } /* reserve space for sticky bar */
}

/* Survey - one-question-per-screen on mobile + auto-scroll target padding */
@media (max-width: 720px) {
  .survey-wrap { padding: 22px 18px; border-radius: 14px; }
  .option-grid { grid-template-columns: 1fr; gap: 10px; }
  .option-card { padding: 16px 16px; min-height: 56px; font-size: 1rem; }
  .field input, .field select, .field textarea { font-size: 1rem; padding: 14px 14px; }
  .field-row { grid-template-columns: 1fr; gap: 10px; }
  .survey-step h3 { font-size: 1.35rem; }
  .survey-nav { flex-direction: column-reverse; gap: 10px; align-items: stretch; }
  .survey-nav .btn { width: 100%; }
  .survey-nav .btn-text { width: 100%; padding: 12px; }
  .progress-track { height: 6px; margin-bottom: 18px; }
}

/* Step counter (shown above step heading) */
.step-counter {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin: 0 0 10px;
  display: block;
}

/* Header tightening for mobile */
@media (max-width: 720px) {
  .nav { height: 64px; }
  .brand-logo-full svg.logo-mark { width: 38px; height: 38px; }
  .brand { font-size: 1rem; }
  .call-cta { padding: 10px 12px; }
  .call-cta .phone-icon { width: 18px; height: 18px; }
}

/* Page hero copy max-width on mobile */
@media (max-width: 720px) {
  .page-hero p { font-size: 1.05rem; }
  .page-hero .hero-eyebrow { margin-bottom: 16px; }
}

/* Forms: input zoom prevention on iOS (16px+ already set above) */

/* Submenu - disable hover-only on touch; mobile uses .submenu-mobile */
@media (hover: none) {
  .has-sub .submenu { display: none; }
}

/* Card row tighten */
@media (max-width: 720px) {
  .card-row { gap: 14px; }
  .product-card .body { padding: 18px; }
}

/* Tagline stripe size on mobile */
@media (max-width: 720px) {
  .tagline-stripe { font-size: 1rem; padding: 16px 20px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none !important; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Section padding override for very small screens */
@media (max-width: 600px) {
  .container, .container-narrow { padding: 0 18px; }
  .section { padding: 48px 0; }
}
