/* === BASE + RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* === TYPOGRAPHY SCALE === */
h1, h2, h3, h4 {
  font-family: var(--font);
  line-height: 1.15;
  text-wrap: balance;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--navy);
}

h1 { font-size: clamp(40px, 5vw, 76px); font-weight: 300; }
h2 { font-size: clamp(28px, 3.2vw, 48px); font-weight: 300; }
h3 { font-size: clamp(20px, 2vw, 28px); font-weight: 400; }
h4 { font-size: 18px; font-weight: 700; }

p { max-width: 65ch; }

/* === LAYOUT HELPERS === */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-v);
}
.section--warm { background: var(--bg-warm); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 32px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--navy);
  color: #fff;
}
.btn--primary:hover {
  background: #0f1a35;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(24,39,77,.28);
}

.btn--lime {
  background: var(--lime);
  color: var(--navy);
}
.btn--lime:hover {
  background: #9dc428;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(172,213,46,.35);
}

.btn--ghost {
  border: 2px solid var(--navy);
  color: var(--navy);
}
.btn--ghost:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

.btn--white {
  background: #fff;
  color: var(--navy);
}
.btn--white:hover {
  background: var(--bg-warm);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

/* === LABEL / TAG === */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  background: var(--lime-20);
  color: var(--navy);
}
.tag--sold {
  background: rgba(172,213,46,.15);
  color: #5a7a00;
}

/* === LIME ACCENT LINE === */
.accent-line {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--lime);
  margin-block: 16px;
}

/* === SECTION LABEL === */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.section--navy .section-label { color: rgba(255,255,255,.60); }

/* === SCROLL REVEAL === */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .55s ease, transform .55s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 767px) {
  .section { padding-block: var(--section-v-m); }
}
