:root {
  --bg: #f6f2eb;
  --surface: #ffffff;
  --surface-2: #efe8dc;
  --text: #1f1d1a;
  --muted: #62594d;
  --line: rgba(31, 29, 26, 0.12);
  --accent: #a66d3b;
  --accent-dark: #88582b;
  --dark: #171512;
  --dark-2: #24201b;
  --radius: 22px;
  --shadow: 0 20px 60px rgba(23, 21, 18, 0.12);
  --container: min(1120px, calc(100% - 2rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container { width: var(--container); margin: 0 auto; }
.section { padding: 5.5rem 0; }
.section-dark { background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%); color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(246, 242, 235, 0.88);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--dark);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.brand strong { display: block; font-size: 0.98rem; }
.brand small { color: var(--muted); display: block; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.site-nav a { font-weight: 600; color: var(--muted); }
.site-nav a:hover,
.site-nav a:focus { color: var(--text); }
.nav-cta {
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  background: var(--dark);
  color: #fff !important;
}
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
}

.hero {
  padding: 6rem 0 4.5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow {
  margin: 0 0 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
}
.hero h1,
.section-heading h2,
.founder-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.08;
}
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.7rem); max-width: 13ch; }
.hero h1 span { color: var(--accent-dark); }
.hero-text {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 62ch;
  margin: 1.35rem 0 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1.4rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--line);
}
.btn-block { width: 100%; }
.hero-points {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.75rem;
}
.hero-points li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--muted);
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.hero-card {
  background: var(--surface);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.6);
}
.hero-visual {
  min-height: 430px;
  position: relative;
  background:
    linear-gradient(135deg, rgba(0,0,0,.4), rgba(0,0,0,.08)),
    radial-gradient(circle at top left, rgba(255,255,255,.22), transparent 40%),
    linear-gradient(145deg, #513b2b, #c3996a 60%, #efe0ca);
}
.visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23,21,18,0.65), transparent 45%);
}
.visual-text {
  position: absolute;
  left: 1.6rem;
  right: 1.6rem;
  bottom: 1.6rem;
  color: #fff;
}
.visual-text p,
.project-copy span { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.76rem; font-weight: 700; }
.visual-text h2 { margin: 0.4rem 0; font-size: 2rem; font-family: "Playfair Display", serif; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}
.hero-stats article {
  background: var(--surface);
  padding: 1.25rem;
}
.hero-stats strong {
  display: block;
  font-size: 1.4rem;
  color: var(--accent-dark);
  margin-bottom: 0.35rem;
}
.hero-stats span { color: var(--muted); font-size: 0.95rem; }

.trust-bar {
  padding-bottom: 2rem;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.trust-grid > div,
.card,
.team-card,
.testimonial,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.trust-grid > div { padding: 1.4rem; }
.trust-grid strong { display: block; margin-bottom: 0.35rem; }
.trust-grid span { color: var(--muted); }

.section-heading {
  max-width: 760px;
  margin-bottom: 2.2rem;
}
.section-heading h2,
.founder-copy h2,
.contact-copy h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
.section-heading p,
.founder-copy p,
.contact-copy p { color: var(--muted); font-size: 1.02rem; }
.section-heading.light p:not(.eyebrow) { color: rgba(255,255,255,0.8); }

.services-grid,
.team-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.card,
.team-card { padding: 1.6rem; }
.card h3,
.team-card h3,
.project-copy h3 { margin-top: 0; margin-bottom: 0.65rem; font-size: 1.2rem; }
.card p,
.team-card p,
.project-copy p,
.testimonial p { margin: 0; color: var(--muted); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.project-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
}
.project-image {
  min-height: 270px;
  background-size: cover;
  background-position: center;
}
.image-one {
  background-image: linear-gradient(135deg, rgba(0,0,0,.18), rgba(0,0,0,.18)), linear-gradient(145deg, #b18a64, #f0e3d6);
}
.image-two {
  background-image: linear-gradient(135deg, rgba(0,0,0,.18), rgba(0,0,0,.18)), linear-gradient(145deg, #7d8073, #dfe3dc);
}
.image-three {
  background-image: linear-gradient(135deg, rgba(0,0,0,.18), rgba(0,0,0,.18)), linear-gradient(145deg, #9e7c61, #ece0d3);
}
.project-copy { padding: 1.4rem; }
.project-copy p { color: rgba(255,255,255,0.74); }

.founder-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: center;
}
.portrait-frame {
  background: linear-gradient(145deg, #dcc7b1, #a77b52);
  border-radius: calc(var(--radius) + 10px);
  padding: 1rem;
  box-shadow: var(--shadow);
}
.portrait-fill {
  border-radius: calc(var(--radius) + 2px);
  min-height: 520px;
  display: grid;
  place-items: center;
  text-align: center;
  color: rgba(255,255,255,0.95);
  background:
    linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.6)),
    linear-gradient(145deg, #6a4a33, #c89e73 55%, #f2e2cf);
}
.portrait-fill p { margin: 0; font-size: 1.2rem; font-weight: 700; }
.portrait-fill span { display: block; margin-top: 0.35rem; }
.text-link {
  color: var(--accent-dark);
  font-weight: 700;
  display: inline-block;
  margin-top: 0.4rem;
}

.testimonial-grid { gap: 1rem; }
.testimonial { padding: 1.5rem; }
.testimonial footer { margin-top: 1rem; font-weight: 700; color: var(--text); }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.75rem;
}
.contact-form {
  padding: 1.5rem;
}
.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 1rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  background: #fff;
}
.contact-form textarea { resize: vertical; }
.form-message { margin: 1rem 0 0; font-weight: 600; color: var(--accent-dark); min-height: 1.4rem; }

.site-footer {
  padding: 1.4rem 0 2.2rem;
  border-top: 1px solid var(--line);
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-wrap p { margin: 0.35rem 0 0; color: var(--muted); }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }

@media (max-width: 980px) {
  .hero-grid,
  .founder-grid,
  .contact-grid,
  .services-grid,
  .team-grid,
  .testimonial-grid,
  .project-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero-card { order: -1; }
  .hero-stats { grid-template-columns: 1fr; }

  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 1rem;
    right: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.98);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }
  .site-nav.open { display: flex; }
  .nav-cta { width: 100%; text-align: center; }
}

@media (max-width: 640px) {
  .hero { padding-top: 4.8rem; }
  .section { padding: 4.4rem 0; }
  .hero h1 { max-width: unset; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
}
