/* MuMaGi Architectural Consultants — commercial site
   Static, hand-editable CSS. No build step. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink:      #1c1a17;
  --paper:    #faf7f2;
  --paper2:   #f1ece3;
  --line:     #ddd5c7;
  --accent:   #8a5a34;
  --accent2:  #5c4530;
  --muted:    #6f675c;
  --max:      1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 400; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1.1em; }
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 46em;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.75rem; }

/* header / nav */
header.site {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
  background: rgba(250,247,242,0.92);
  backdrop-filter: saturate(140%) blur(6px);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.1rem; padding-bottom: 1.1rem;
  flex-wrap: wrap; gap: 0.75rem 1.5rem;
}
.brand {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.brand strong { font-weight: 600; }
nav.primary { display: flex; gap: 1.5rem; flex-wrap: wrap; }
nav.primary a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
nav.primary a:hover { border-bottom-color: var(--accent); }

/* hero */
section.hero {
  padding: 5.5rem 0 4rem;
  border-bottom: 1px solid var(--line);
}
section.hero .tag {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

/* generic section rhythm */
section.block { padding: 4rem 0; border-bottom: 1px solid var(--line); }
section.block:last-of-type { border-bottom: none; }
section.block.alt { background: var(--paper2); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  margin-top: 2rem;
}
@media (max-width: 760px) { .grid-3 { grid-template-columns: 1fr; } }

.pillar .num {
  font-family: 'Fraunces', serif;
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 0.6rem;
}
.pillar h3 { margin-bottom: 0.4rem; }
.pillar p { color: var(--muted); font-size: 0.97rem; margin-bottom: 0; }

.teaser-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 1.5rem; flex-wrap: wrap;
}
.teaser-row .more {
  white-space: nowrap;
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

.card-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}
@media (max-width: 760px) { .card-row { grid-template-columns: 1fr; } }
.card {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 1.75rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card .meta {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.card p { color: var(--muted); font-size: 0.95rem; }
.card a.readmore {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.approach-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.approach-cta a.btn {
  display: inline-block;
  border: 1px solid var(--ink);
  padding: 0.7rem 1.4rem;
  text-decoration: none;
  font-size: 0.92rem;
  white-space: nowrap;
}
.approach-cta a.btn:hover { background: var(--ink); color: var(--paper); }

footer.site {
  padding: 3rem 0 2.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}
footer.site .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 760px) { footer.site .cols { grid-template-columns: 1fr; } }
footer.site h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 0.8rem;
}
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: 0.45rem; }
footer.site a { text-decoration: none; color: var(--muted); }
footer.site a:hover { color: var(--ink); }
footer.site .legal {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}

/* simple interior page shell (stub pages etc.) */
main.page { padding: 3.5rem 0 5rem; }
main.page .tag {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.stub-note {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 40em;
}
