/* ---------- Design tokens ---------- */
:root {
  --ink: #111111;
  --ink-soft: #55606b;
  --teal: #0f8fa6;
  --teal-dark: #0b6f82;
  --white: #ffffff;
  --paper: #ffffff;
  --grey: #f5f6f7;
  --border: #e4e6e8;
  --radius: 10px;
  --shadow: 0 20px 40px -22px rgba(0, 0, 0, 0.25);
  --display: 'Archivo Black', 'Inter', sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--ink); margin: 0 0 16px; letter-spacing: -0.01em; }

h1 { font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1.02; text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.2; text-transform: uppercase; }
h3 { font-family: var(--sans); font-weight: 800; font-size: 1.2rem; text-transform: none; }

p { margin: 0 0 16px; color: var(--ink-soft); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 12px;
}

.center { text-align: center; }
.section-lede.center { max-width: 620px; margin: 0 auto 48px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-outline {
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}
.brand-main {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--ink);
  text-transform: uppercase;
}
.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-top: 2px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--teal); }
.nav-cta {
  background: var(--ink);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--teal) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--white);
  color: var(--ink);
  padding: 72px 0 88px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-title { margin-bottom: 24px; }
.hero-title .line { display: block; }
.hero-title .highlight {
  background: var(--teal);
  color: var(--white);
  display: inline-block;
  padding: 4px 14px;
  margin-top: 8px;
}
.hero-tagline {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  color: var(--teal);
  margin: 0 0 20px;
}
.hero-lede { color: var(--ink-soft); font-size: 1.05rem; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.hero-media { justify-self: center; }
.hero-media img {
  width: 340px;
  height: 340px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--grey);
  box-shadow: var(--shadow);
}

/* ---------- Story ---------- */
.story { padding: 88px 0; background: var(--grey); }
.story-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.story-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.story-text p { font-size: 1.02rem; }

/* ---------- Services ---------- */
.services { padding: 88px 0; background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  border-top: 3px solid var(--teal);
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { margin-bottom: 0; }

/* ---------- Homes gallery ---------- */
.homes { padding: 88px 0; background: var(--grey); }
.homes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.home-photo {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
}
.home-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.home-photo:hover img { transform: scale(1.06); }

/* ---------- Reviews ---------- */
.reviews { padding: 88px 0; background: var(--white); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--grey);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.review-quote {
  font-size: 0.96rem;
  color: var(--ink);
  flex-grow: 1;
}
.review-name {
  margin: 0;
  font-weight: 800;
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Service area ---------- */
.area { padding: 88px 0; background: var(--ink); color: var(--white); }
.area-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.area h2 { color: var(--white); }
.area p { color: rgba(255,255,255,0.75); }
.area-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 10px; }
.area-list li {
  font-weight: 700;
  padding-left: 28px;
  position: relative;
}
.area-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--teal);
}
.area-highlight {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}
.area-highlight h3 { color: var(--white); margin-bottom: 8px; }
.area-highlight p { color: rgba(255,255,255,0.75); margin: 0; }

/* ---------- CTA / Contact ---------- */
.cta { padding: 88px 0; background: var(--white); }
.cta-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.cta-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.cta-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px 28px;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.cta-row:last-child { border-bottom: none; }
.cta-row:hover { background: var(--grey); }
.cta-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.cta-value {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 48px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.site-footer .brand-main { color: var(--white); }
.site-footer .brand-sub { color: rgba(255,255,255,0.6); }
.footer-logo { width: 140px; opacity: 0.9; margin-top: 8px; }
.footer-disclosure { max-width: 560px; font-size: 0.88rem; margin: 0; }
.footer-copyright { font-size: 0.8rem; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner, .story-grid, .area-inner, .cta-inner { grid-template-columns: 1fr; }
  .story-media { order: -1; }
  .services-grid { grid-template-columns: 1fr; }
  .homes-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-media { margin-top: 24px; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    display: none;
    gap: 16px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { align-self: flex-start; }
  .homes-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-media { display: flex; flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .homes-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .hero-media img { width: 260px; height: 260px; }
}
