/* === FOUNDHOME THEME === */
:root {
  --bg: #FAF7F2;
  --fg: #1a1410;
  --accent: #C8603A;
  --accent-light: #E8876A;
  --accent-dim: #F0D4C8;
  --surface: #FFFFFF;
  --muted: #8A7E74;
  --border: #E8E0D5;
  --card-shadow: rgba(200, 96, 58, 0.12);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* === NAVIGATION === */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* === HERO === */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 70vh;
}
.hero-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.08;
  color: var(--fg);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-lede {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}
.hero-underline {
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 1.5rem;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 2px 12px rgba(200, 96, 58, 0.3);
  width: fit-content;
}

.hero-cta:hover {
  background: #b85530;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200, 96, 58, 0.35);
}

/* Home card stack */
.hero-visual {
  position: relative;
  height: 480px;
}
.home-card-stack {
  position: relative;
  width: 100%;
  height: 100%;
}
.home-card {
  position: absolute;
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px var(--card-shadow), 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
  width: 85%;
}
.home-card:hover { transform: translateY(-4px) !important; }
.card-1 { top: 0; left: 0; z-index: 3; transform: rotate(-2deg); }
.card-2 { top: 60px; left: 30px; z-index: 2; transform: rotate(1deg); }
.card-3 { top: 120px; left: 10px; z-index: 1; transform: rotate(-0.5deg); }

.card-img-placeholder {
  height: 160px;
  width: 100%;
}
.card-img-1 {
  background: linear-gradient(135deg, #C8603A 0%, #E8876A 50%, #F0D4C8 100%);
  position: relative;
  overflow: hidden;
}
.card-img-1::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 10 L50 30 L30 50 L10 30 Z' fill='rgba(255,255,255,0.08)'/%3E%3C/svg%3E");
}
.card-img-2 {
  background: linear-gradient(135deg, #5B8A72 0%, #7DB89A 50%, #C4E0CF 100%);
  position: relative;
  overflow: hidden;
}
.card-img-2::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(255,255,255,0.12) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='8' fill='rgba(255,255,255,0.07)'/%3E%3C/svg%3E");
}
.card-img-3 {
  background: linear-gradient(135deg, #6B7BA8 0%, #8FA0C8 50%, #C0CEE4 100%);
  position: relative;
  overflow: hidden;
}
.card-img-3::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, transparent 20%, rgba(255,255,255,0.1) 50%, transparent 80%),
    url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='10' y='10' width='30' height='30' rx='4' fill='rgba(255,255,255,0.06)'/%3E%3C/svg%3E");
}
.card-body { padding: 1rem 1.2rem 1.2rem; }
.card-price {
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--fg);
  margin-bottom: 0.25rem;
}
.card-address {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.card-specs {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
}
.card-badge {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  background: var(--accent-dim);
  color: var(--accent);
}

/* === SECTION SHARED === */
.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

/* === DIFFERENT === */
.different {
  background: var(--surface);
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.different .section-heading { max-width: 500px; }
.diff-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 4rem;
  align-items: start;
}
.diff-col-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1rem;
}
.diff-list li {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}
.diff-list-remove li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 10px;
  height: 1px;
  background: var(--muted);
}
.diff-list-add li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

/* === PROCESS === */
.process {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
}
.step-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.35;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.step-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}
.step-connector {
  width: 60px;
  height: 1px;
  background: var(--border);
  margin-top: 2rem;
  flex-shrink: 0;
}

/* === PRINCIPLES === */
.principles {
  background: var(--fg);
  color: var(--bg);
  padding: 4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.principle-block {
  text-align: center;
  padding: 0 3rem;
}
.principle-stat {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.04em;
}
.principle-label {
  font-size: 0.8rem;
  color: rgba(250, 247, 242, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  max-width: 140px;
  line-height: 1.4;
}
.principle-divider {
  width: 1px;
  height: 80px;
  background: rgba(250,247,242,0.12);
}

/* === CLOSING === */
.closing {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem 5rem;
  text-align: center;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.closing-body {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* === FOOTER === */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--fg);
  margin-bottom: 0.4rem;
}
.footer-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.footer-copy {
  font-size: 0.7rem;
  color: var(--border);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem 2rem;
    min-height: auto;
  }
  .hero-visual { height: 300px; margin-top: 1rem; }
  .card-1 { left: 0; }
  .card-2 { left: 20px; }
  .card-3 { left: 5px; }
  .diff-grid { grid-template-columns: 1fr; gap: 2rem; }
  .steps { flex-direction: column; gap: 1.5rem; }
  .step-connector { display: none; }
  .principles { flex-direction: column; gap: 1.5rem; }
  .principle-divider { width: 60px; height: 1px; }
  .closing { padding: 4rem 1.5rem 3rem; }
}
@media (max-width: 480px) {
  .hero { padding: 2rem 1rem 1.5rem; }
  .hero-headline { font-size: 2rem; }
  .section-heading { font-size: 1.6rem; }
  .principle-stat { font-size: 3rem; }
}
