/*
 * site.css — Maychruk Real Estate · Warm Hometown Aesthetic
 * Design framework: taste-skill (github.com/Leonxlnx/taste-skill)
 * Dials: DESIGN_VARIANCE 6 / MOTION_INTENSITY 4 / VISUAL_DENSITY 3
 *
 * Brand: teal #13A48E + brown #7B432B on warm whites
 * Feel: Community, trust, warmth, local expertise
 *
 * taste-skill rules honored:
 *   - NO Inter font
 *   - NO purple/violet accent
 *   - NO gradient text on headlines
 *   - NO pure black #000 (use warm off-black)
 *   - NO centered hero H1 (asymmetric)
 *   - NO neon/outer glows
 *   - NO 3-column equal card rows
 *   - NO h-screen (use min-h-[100dvh])
 *   - NO custom cursors
 *   - NO emojis
 *   - ALL numbers in monospace
 *   - Spring-physics-feel easing
 */

/* ═══════════════════════════════════════════════════════════
   CUSTOM PROPERTIES
   ═══════════════════════════════════════════════════════════ */
:root {
  --bg:       #FEFCFA;
  --surface:  #FFFFFF;
  --surface2: #F5F1EC;
  --line:     #E8E0D6;
  --line2:    #D4C9BB;

  --ink:      #2C1810;
  --ink2:     #5C4A3C;
  --ink3:     #8A7A6C;
  --ink4:     #A89888;

  --teal:     #13A48E;
  --teal-dark:#0E8573;
  --teal-soft:#E8F6F3;
  --brown:    #7B432B;
  --brown-soft:#FBF0EA;

  --shadow-card: 0 1px 3px rgba(44,24,16,0.04), 0 4px 12px rgba(44,24,16,0.03);
  --shadow-lift: 0 20px 40px -15px rgba(44,24,16,0.08);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══════════════════════════════════════════════════════════
   BASE
   ═══════════════════════════════════════════════════════════ */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Satoshi', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--teal); color: #fff; }

.num { font-family: 'JetBrains Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; }

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY — Cabinet Grotesk display + Satoshi body
   ═══════════════════════════════════════════════════════════ */
.h-display {
  font-family: 'Cabinet Grotesk', 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.h-section {
  font-family: 'Cabinet Grotesk', 'Satoshi', sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.h-sub {
  font-family: 'Cabinet Grotesk', 'Satoshi', sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink3);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--teal);
  border-radius: 1px;
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink2);
  max-width: 60ch;
}

.prose {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink2);
  max-width: 60ch;
}

/* ═══════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}

.section {
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

/* ═══════════════════════════════════════════════════════════
   NAV — teal bar, white text, her logo
   ═══════════════════════════════════════════════════════════ */
.nav-bar {
  background: var(--teal);
  position: sticky;
  top: 0;
  z-index: 40;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  height: 72px;
}

.nav-logo { height: 40px; width: auto; display: block; }

.nav-links {
  display: none;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: 'Satoshi', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-links a {
  color: rgba(255,255,255,0.85);
  transition: color 0.3s var(--ease);
}
.nav-links a:hover { color: #fff; }

.nav-cta {
  display: none;
  padding: 0.6rem 1.25rem;
  background: #fff;
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s var(--ease);
}
@media (min-width: 768px) { .nav-cta { display: inline-flex; } }
.nav-cta:hover { background: var(--brown-soft); transform: translateY(-1px); }

/* Menu button */
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: #fff;
}
@media (min-width: 768px) { .menu-btn { display: none; } }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--teal-dark);
  padding: 2rem 1.5rem;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu ul { list-style: none; padding: 0; margin: 3rem 0 0 0; display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-menu a {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   HERO — asymmetric, warm, with headshot
   ═══════════════════════════════════════════════════════════ */
.hero-section {
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; }
}

.hero-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}

.hero-h1 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 1.25rem 0;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 50ch;
  margin: 0 0 2rem 0;
}

.hero-photo {
  width: 100%;
  max-width: 400px;
  border-radius: 2rem;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.3);
  border: 4px solid rgba(255,255,255,0.2);
}
@media (max-width: 899px) {
  .hero-photo { max-width: 280px; margin: 0 auto; }
}

/* ═══════════════════════════════════════════════════════════
   CARDS — Bento 2.0 with warm shadows
   ═══════════════════════════════════════════════════════════ */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: var(--teal);
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: 'Satoshi', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.985); }

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 2px 8px rgba(19,164,142,0.2);
}
.btn-primary:hover {
  background: var(--teal-dark);
  box-shadow: 0 6px 20px rgba(19,164,142,0.25);
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  color: var(--teal);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.btn-white:hover {
  background: var(--teal-soft);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line2);
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: var(--shadow-card);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ═══════════════════════════════════════════════════════════
   ZIG-ZAG — 2-column alternating
   ═══════════════════════════════════════════════════════════ */
.zig {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .zig { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .zig-reverse .zig-content { order: 2; }
  .zig-reverse .zig-visual { order: 1; }
}

.zig-visual {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 2rem;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

/* ═══════════════════════════════════════════════════════════
   STAT TILES
   ═══════════════════════════════════════════════════════════ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.stat-tile {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-value {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  font-size: 42px;
  color: var(--teal);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--ink3);
  margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════════════ */
.field-group { display: grid; gap: 0.4rem; }

.field-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink3);
}

.field {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-family: 'Satoshi', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field::placeholder { color: var(--ink4); }
.field:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(19,164,142,0.1);
}

.field-select {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-family: 'Satoshi', sans-serif;
  font-size: 14px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238A7A6C' stroke-width='2.2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}
.field-select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(19,164,142,0.1); }

/* ═══════════════════════════════════════════════════════════
   RANGE SLIDERS
   ═══════════════════════════════════════════════════════════ */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--teal);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* ═══════════════════════════════════════════════════════════
   FADE-UP ANIMATION
   ═══════════════════════════════════════════════════════════ */
.fade-up {
  opacity: 1;
  transform: none;
}
.js-ready .fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js-ready .fade-up.in {
  opacity: 1;
  transform: translateY(0);
}
.d-1 { transition-delay: 0.05s; }
.d-2 { transition-delay: 0.15s; }
.d-3 { transition-delay: 0.25s; }
.d-4 { transition-delay: 0.35s; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 2rem;
}
.footer a { color: rgba(255,255,255,0.7); transition: color 0.3s var(--ease); }
.footer a:hover { color: var(--teal); }

/* ═══════════════════════════════════════════════════════════
   PILL / TAG
   ═══════════════════════════════════════════════════════════ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  background: var(--teal-soft);
  color: var(--teal);
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════════════════════
   ACCESSIBILITY + MOTION
   ═══════════════════════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up { opacity: 1; transform: none; }
}
