:root {
  --bg: #f7f4ee;
  /* Page background band: a noticeably darker tone behind the content
     column, fading to white at the outer edges of the screen. */
  --bg-page: #e9e0cf;
  --bg-edge: #ffffff;
  --bg-alt: #efeae0;
  --ink: #1c1c1a;
  --muted: #6b6b65;
  --accent: #8a6a47;
  --line: #d8d3c8;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  /* The dark tone fills the central text column edge-to-edge; the side
     panels start from that same dark tone at the column boundary and
     fade to white at the outer edges of the screen. */
  background-color: var(--bg-page);
  background-image: linear-gradient(
    to right,
    var(--bg-edge) 0%,
    var(--bg-page) calc(50% - var(--max) / 2),
    var(--bg-page) calc(50% + var(--max) / 2),
    var(--bg-edge) 100%
  );
  background-attachment: fixed;
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2; }
h3 { font-size: 1.3rem; line-height: 1.3; }
h4 { font-size: 1rem; }

p { margin: 0 0 1em; }

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: color 0.2s ease;
}
a:hover { color: var(--accent); }

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

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
  background: transparent;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border: none;
}
.brand:hover { color: var(--ink); }
.brand img {
  height: 58px;
  width: auto;
  display: block;
}
.brand .tagline {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  line-height: 1.2;
  border-left: 1px solid var(--line);
  padding-left: 0.9rem;
}
@media (max-width: 520px) {
  .brand img { height: 46px; }
  .brand .tagline { display: none; }
}
.nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.nav a {
  border: none;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); }
.nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  padding: 6rem 0 5rem;
  border-bottom: 1px solid var(--line);
}
.hero .eyebrow {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero h1 { max-width: 18ch; margin-bottom: 1.5rem; }
.hero .lede {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.6;
}

/* ---------- Sections ---------- */
section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--line);
}
section:last-of-type { border-bottom: none; }

.eyebrow {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.2rem;
  display: block;
}

/* Two-column section */
.cols {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.cols .col-body p:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .cols { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ---------- Phase list ---------- */
.phases {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: phase;
}
.phases li {
  counter-increment: phase;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
}
.phases li::before {
  content: counter(phase, decimal-leading-zero);
  font-family: 'Fraunces', serif;
  color: var(--accent);
  font-size: 1rem;
}
.phases li:last-child { border-bottom: 1px solid var(--line); }
.phases li strong {
  font-weight: 500;
  display: block;
  margin-bottom: 0.15em;
}
.phases li span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Service tiles ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 2rem;
}
.tiles > div {
  background: var(--bg);
  padding: 1.6rem 1.8rem;
}
.tiles h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
}
.tiles p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}
@media (max-width: 820px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .tiles { grid-template-columns: 1fr; }
}

/* ---------- Pull / callout ---------- */
.callout {
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 2.2rem 2.4rem;
  margin: 2rem 0 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout .lede {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 1rem;
}

/* ---------- Bullet list ---------- */
.checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.checklist li {
  padding: 0.6rem 0 0.6rem 1.6rem;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 8px;
  height: 1px;
  background: var(--accent);
}

/* ---------- Team ---------- */
.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
@media (max-width: 760px) { .team { grid-template-columns: 1fr; gap: 3rem; } }

.member {
  padding-top: 2rem;
  border-top: 2px solid var(--ink);
}
.member h3 {
  font-size: 1.7rem;
  margin-bottom: 0.3rem;
}
.member .role {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 1.6rem;
}
.member p { color: var(--muted); }
.member p strong { color: var(--ink); font-weight: 500; }
.member .contact {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.member .contact a { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  padding: 3.5rem 0 2rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.site-footer .container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 760px) {
  .site-footer .container { grid-template-columns: 1fr; gap: 2rem; }
}
.site-footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.site-footer p { margin: 0 0 0.3em; }
.site-footer a {
  color: var(--muted);
  border: none;
  border-bottom: 1px solid transparent;
}
.site-footer a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.footer-mark {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  display: block;
}
.copyright {
  border-top: 1px solid var(--line);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}
