@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-normal-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-normal-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-italic-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #fcfaf6;
  --card: #ffffff;
  --wash: #f5f0e6;
  --ink: #221a14;
  --ink-soft: #4a3f33;
  --muted: #877a68;
  --terra: #c4502a;
  --terra-deep: #9e3d1e;
  --amber: #d9a441;
  --line: #e7e0d2;
  --line-strong: #d6ccb8;
  --radius: 0.4rem;
  --shadow-card: 0 1px 2px rgba(34, 26, 20, 0.05), 0 4px 16px rgba(34, 26, 20, 0.05);
  --shadow-lift: 0 2px 4px rgba(34, 26, 20, 0.07), 0 12px 32px rgba(34, 26, 20, 0.09);
  --display: "Fraunces", Georgia, serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --measure: 68rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--terra); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terra-deep); }

:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: var(--ink);
  color: var(--card);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  z-index: 100;
}
.skip-link:focus { left: 0.5rem; }

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

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 250, 246, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4.25rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.brand-name small {
  display: block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.56rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--terra);
}
.site-nav .btn { border-bottom: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.45rem 0.6rem;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 0.75rem 1.4rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}
.btn-primary { background: var(--terra); color: #fff; }
.btn-primary:hover { background: var(--terra-deep); color: #fff; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: 5.5rem 0 4.5rem; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
}
.hero h1 {
  font-family: var(--display);
  font-weight: 580;
  font-size: clamp(2.3rem, 4.8vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 1rem 0 1.3rem;
}
.hero .lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--line);
}
.hero-photo img { width: 100%; height: 100%; min-height: 22rem; object-fit: cover; }

/* ---------- stat band ---------- */
.stat-band {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.4rem 0;
}
.stat-band .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 2.3rem;
  line-height: 1.1;
  color: var(--ink);
}
.stat span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- split section (text + photo) ---------- */
.split .wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.split-photo img { width: 100%; height: 100%; min-height: 20rem; object-fit: cover; }

/* division panel — one connected 2x2 grid */
.division-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.division-cell {
  padding: 1.5rem 1.4rem 1.3rem;
  text-decoration: none;
  color: var(--ink);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 140ms ease;
}
.division-cell:nth-child(2n) { border-right: 0; }
.division-cell:nth-child(n + 3) { border-bottom: 0; }
.division-cell:hover { background: #fdf6ea; color: var(--ink); }
.division-cell .tab {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terra);
}
.division-cell h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.18rem;
  margin: 0.35rem 0 0.3rem;
}
.division-cell p { font-size: 0.88rem; color: var(--muted); line-height: 1.45; }

/* ---------- sections ---------- */
.section { padding: 4.5rem 0; }
.section--alt { background: var(--wash); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: 2.6rem; }
.section-head h2 {
  font-family: var(--display);
  font-weight: 580;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-top: 0.7rem;
}
.section-head p { margin-top: 0.8rem; color: var(--ink-soft); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-card);
}
.section--alt .card { box-shadow: none; }
.card h3 { font-family: var(--display); font-weight: 600; font-size: 1.22rem; margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }
.card .step {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

/* chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  border: 1px solid var(--line-strong);
  background: var(--card);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ---------- service detail (services page) ---------- */
.service-block { padding: 3.8rem 0; border-top: 1px solid var(--line); }
.service-block:first-of-type { border-top: 0; }
.service-block .wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; }
.service-block .tab {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terra);
}
.service-block h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.15;
  margin: 0.4rem 0 0.9rem;
}
.service-block .intro { color: var(--ink-soft); }
.service-block .typical {
  margin-top: 1.4rem;
  font-size: 0.92rem;
  color: var(--muted);
  font-style: italic;
}
.service-list {
  list-style: none;
  columns: 2;
  column-gap: 2rem;
}
.service-list li {
  break-inside: avoid;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
  color: var(--ink-soft);
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #f4ecdf; padding: 4.2rem 0; }
.cta-band h2 {
  font-family: var(--display);
  font-weight: 580;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  line-height: 1.15;
  max-width: 32rem;
}
.cta-band p { color: #cbbfa9; margin: 1rem 0 1.8rem; max-width: 34rem; }

/* ---------- values / about ---------- */
.value-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.value-list .chip { background: var(--paper); }

.prose { max-width: 44rem; }
.prose p + p { margin-top: 1rem; }
.prose h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.6rem;
  margin: 2.4rem 0 0.8rem;
}

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: 4.2rem 0 3.2rem; }
.page-hero h1 {
  font-family: var(--display);
  font-weight: 580;
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin-top: 0.9rem;
  max-width: 36rem;
}
.page-hero .lede { margin-top: 1rem; color: var(--ink-soft); max-width: 38rem; font-size: 1.1rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2.5rem; align-items: start; }
.contact-card dt {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1.3rem;
}
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin-top: 0.25rem; color: var(--ink-soft); }

form .field { margin-bottom: 1.15rem; }
form label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}
form input, form select, form textarea {
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
}
form input:focus, form select:focus, form textarea:focus {
  outline: 2px solid var(--terra);
  outline-offset: 0;
  border-color: var(--terra);
}
form textarea { min-height: 8.5rem; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.8rem; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: #cbbfa9;
  padding: 3.5rem 0 2.2rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.site-footer .brand { color: #f4ecdf; margin-bottom: 0.9rem; }
.site-footer .brand-name small { color: #9a8c72; }
.site-footer h4 {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9a8c72;
  margin-bottom: 0.9rem;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: #e8ddc9; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-bottom {
  border-top: 1px solid rgba(228, 217, 198, 0.16);
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: #9a8c72;
}

/* ---------- reveal motion ---------- */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 500ms ease, transform 500ms ease; }
html.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-photo img { min-height: 14rem; }
  .stat-band .wrap { grid-template-columns: repeat(2, 1fr); }
  .split .wrap { grid-template-columns: 1fr; gap: 1.8rem; }
  .split-photo img { min-height: 14rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .service-block .wrap { grid-template-columns: 1fr; gap: 1.6rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }

  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 4.25rem;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line-strong);
    padding: 0.6rem 1.5rem 1.2rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.7rem 0; width: 100%; border-bottom: 0; }
  .site-nav a[aria-current="page"] { color: var(--terra); }
  .site-nav .btn { margin-top: 0.6rem; text-align: center; }
}
@media (max-width: 480px) {
  .service-list { columns: 1; }
  .hero { padding-top: 3.5rem; }
  .division-panel { grid-template-columns: 1fr; }
  .division-panel .division-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .division-panel .division-cell:last-child { border-bottom: 0; }
}
