﻿/* ============================================
   HOME MARKET — Base / Reset / Typography
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: 'Onest', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  touch-action: pan-y;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* Section base */
.section { padding: var(--gap-2xl) 0; }
.section-sm { padding: var(--gap-xl) 0; }

/* Section header */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px;
}
.section-label::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 2px;
  background: var(--gold);
}
.section-title {
  font-family: 'Cormorant', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title span { color: var(--gold); }
.section-sub {
  font-size: 17px;
  color: var(--text2);
  max-width: 560px;
  line-height: 1.7;
}
.section-header {
  margin-bottom: var(--gap-lg);
}
.section-header.centered {
  text-align: center;
}
.section-header.centered .section-sub {
  margin: 0 auto;
}
.section-header.centered .section-label {
  padding-left: 0;
}
.section-header.centered .section-label::before { display: none; }

/* Gold divider */
.gold-line {
  width: 60px; height: 3px;
  background: var(--gold-gradient, linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark)));
  border-radius: 2px;
  margin-bottom: var(--gap-sm);
}
.centered .gold-line { margin: 0 auto var(--gap-sm); }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Typography helpers */
h1, h2, h3, h4 { font-family: 'Cormorant', serif; line-height: 1.2; }
.text-navy  { color: var(--navy); }
.text-gold  { color: var(--gold); }
.text-white { color: var(--white); }
.text-muted { color: var(--text3); }
.fw-700 { font-weight: 700; }

/* Scroll-lock */
body.locked { overflow: hidden; }
