:root {
  --bg: #EDEAE5;      /* light gray -- page background */
  --bar: #FEF9C7;     /* light lemon -- header bar background */
  --mint: #9FEDD7;    /* mint -- primary accent (buttons, hover, borders, bands) */
  --gold: #FCE181;    /* deeper lemon -- secondary accent (soft fills) */
  --ink: #026670;     /* dark cyan -- all text */
  --muted: #4f8a90;   /* softened cyan -- secondary/muted text, same family as ink */
  --rule: #ddd7cc;    /* subtle warm-gray border, derived from the background */
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  color: var(--ink);
  line-height: 1.2;
}

a { color: var(--ink); }
a:hover { background: var(--mint); border-radius: 3px; }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--bg);
  padding: 0.5rem 1rem;
  z-index: 10;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.wrap-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.construction-banner {
  background: var(--mint);
  color: var(--ink);
  text-align: center;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

.site-header {
  background: var(--bar);
  color: var(--ink);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  max-width: 760px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark { flex-shrink: 0; width: 200px; height: auto; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.3rem 0.5rem;
  margin: -0.3rem -0.5rem;
  border-radius: 4px;
}

.site-nav a:hover {
  background: var(--mint);
}

.page-body {
  padding: 3rem 1.5rem 4rem;
}

.page-body h1 { font-size: 2rem; margin-bottom: 1rem; }
.page-body ul { padding-left: 1.25rem; }
.page-body li { margin-bottom: 0.5rem; }

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2.5rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.stat { display: flex; flex-direction: column; }
.stat-num { font-family: "Fraunces", Georgia, serif; font-size: 1.6rem; color: var(--ink); }
.stat-label { font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }

.route-map { display: block; width: 100%; max-width: 520px; height: auto; margin: 2rem auto 0; }

.portrait {
  display: block;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1.75rem;
}

.site-footer {
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
  padding: 1.5rem 0;
}

/* ── Section sizing ──
   Each <section> is full-width by default (padding: vertical rhythm only);
   the wrap/wrap-wide div INSIDE each section's markdown body supplies the
   horizontal constraint -- narrow (.wrap) for prose, wide (.wrap-wide) for
   grid/multi-column layouts, or none at all for full-bleed bands like the
   philosophy strip. */
.section { padding: 3rem 0; }

/* ── Hero ── */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-block;
  border-bottom: 2px solid var(--mint);
  padding-bottom: 0.2rem;
}
.hero-statement {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
  color: var(--ink);
  border-left: 3px solid var(--mint);
  padding-left: 1rem;
  margin: 1.5rem 0 0;
}
.hero-visual img { width: 100%; max-width: 420px; display: block; margin: 0 auto; }

/* ── Philosophy strip ── */
.section-philosophy {
  background: var(--mint);
  color: var(--ink);
}
.philosophy-quote {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.3rem;
  font-style: italic;
}
.philosophy-quote footer {
  margin-top: 1rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--muted);
}

/* ── About placeholders ── */
.portrait-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  font-size: 0.85rem;
}
.expertise-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.expertise-chips span {
  background: var(--bar);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.85rem;
  color: var(--ink);
}

/* ── Services grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.service-card {
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1.5rem;
  font-family: "Fraunces", Georgia, serif;
  color: var(--ink);
}

/* ── Coming soon (Experience, Portfolio) ── */
.coming-soon {
  border: 1px dashed var(--rule);
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-style: italic;
}

/* ── Contact form ── */
.contact-form { display: flex; flex-direction: column; gap: 1rem; max-width: 480px; margin-top: 1.5rem; }
.contact-form label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.9rem; }
.contact-form input,
.contact-form textarea {
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  font: inherit;
}
.contact-form button {
  align-self: flex-start;
  background: var(--mint);
  color: var(--ink);
  border: none;
  border-radius: 4px;
  padding: 0.6rem 1.5rem;
  font: inherit;
  cursor: pointer;
}
.contact-form button:hover { background: var(--gold); }
.form-note { font-size: 0.8rem; color: var(--muted); font-style: italic; }

@media (max-width: 700px) {
  .hero-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
  .brand-mark { width: 150px; }
  /* Nav wraps to two lines at this width, making the sticky header taller
     than the desktop scroll-padding-top accounts for. */
  html { scroll-padding-top: 190px; }
}
