:root {
  --paper: #f4f1ea;
  --paper-warm: #ebe6db;
  --ink: #1a1a17;
  --ink-soft: #4a4842;
  --ink-faint: #8a877d;
  --accent: #b5451f;
  --accent-deep: #93361a;
  --line: #d8d2c4;
  --dark: #17150f;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --maxw: 1140px;
  --pad: clamp(1.5rem, 5vw, 5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background-color: var(--paper);
  /* faint paper grain so the surface isn't a flat digital fill */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2rem var(--pad);
}

.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark span {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--ink);
}

.nav-cta {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  color: var(--ink) !important;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--paper) !important;
}

/* ---------- Hero ---------- */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) var(--pad) clamp(4rem, 10vw, 7rem);
}

.hero-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--accent);
}

.status {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3f9142;
  box-shadow: 0 0 0 3px rgba(63, 145, 66, 0.18);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.3rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.hero-foot {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2rem, 8vw, 6rem);
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-meta dt {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  margin-bottom: 0.25rem;
}

.hero-meta dd {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
}

.hero-pitch {
  max-width: 34rem;
}

.lede {
  color: var(--ink-soft);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 500;
  padding: 0.85rem 1.8rem;
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--accent);
}

.btn-invert {
  background: var(--paper);
  color: var(--dark);
  font-family: var(--mono);
  font-size: 1.05rem;
}

.btn-invert:hover {
  background: var(--accent);
  color: var(--paper);
}

.btn-text {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--ink-faint);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.btn-text:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Section heads ---------- */
.section-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  margin-bottom: 3rem;
}

.section-index {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: -0.01em;
}

/* ---------- Why ---------- */
.why {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3rem var(--pad);
}

.why-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.why-tagline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.why-tagline em {
  font-style: italic;
  color: var(--accent);
}

.why-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: var(--ink-soft);
  max-width: 34rem;
}

.why-text em {
  font-style: normal;
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Services ---------- */
.services {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3rem var(--pad);
}

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

.service-tag {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.9rem;
}

.service h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

.service p {
  color: var(--ink-soft);
}

/* ---------- About ---------- */
.about {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3rem var(--pad) 5rem;
}

.about-body {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-large {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.65rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.about-body > p:last-child {
  color: var(--ink-soft);
  padding-top: 0.5rem;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--dark);
  color: var(--paper);
}

.contact-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) var(--pad);
  text-align: center;
}

.eyebrow-light {
  color: #d98e6a;
}

.contact h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.contact-lede {
  max-width: 34rem;
  margin: 0 auto 2.5rem;
  color: #c9c4b8;
  font-size: 1.1rem;
}

/* ---------- Footer ---------- */
.site-footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3.5rem var(--pad);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.footer-mark span {
  color: var(--accent);
}

.footer-tag {
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 20rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--ink);
  border-color: var(--ink-faint);
}

.footer-legal {
  font-size: 0.82rem;
  color: var(--ink-faint);
  text-align: right;
  line-height: 1.7;
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .nav a:not(.nav-cta) {
    display: none;
  }
  .hero h1 br {
    display: none;
  }
  .hero-top {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero-foot {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-meta {
    flex-direction: row;
    gap: 3rem;
  }
  .why-body,
  .service-list,
  .about-body {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .site-footer {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-legal {
    text-align: left;
  }
}
