:root {
  --bg: #FAFAF8;
  --ink: #1C1917;
  --muted: #78716C;
  --accent: #C2410C;
  --accent-warm: #EA580C;
  --border: #E7E5E4;
  --card: #FFFFFF;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ─────────────────────────────────── */
.site-header {
  padding: 28px 48px;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.wordmark {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.5px;
}
.nav-tagline {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ── HERO ───────────────────────────────────── */
.hero {
  padding: 100px 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-inner { max-width: 780px; }
.hero-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 500;
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 40px 0 0;
}
.stat:first-child { padding-left: 0; }
.stat-number {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin-right: 40px;
}

/* ── PHILOSOPHY ──────────────────────────────── */
.philosophy {
  background: var(--ink);
  padding: 96px 48px;
}
.philosophy-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.philosophy-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #A8A29E;
  margin-bottom: 20px;
  font-weight: 500;
}
.philosophy-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  color: #FAFAF8;
  max-width: 720px;
  margin-bottom: 64px;
  letter-spacing: -1px;
}
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.philosophy-item {
  background: #292524;
  padding: 40px 36px;
}
.philosophy-icon {
  font-size: 24px;
  color: var(--accent-warm);
  margin-bottom: 20px;
}
.philosophy-item h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  color: #FAFAF8;
  margin-bottom: 12px;
}
.philosophy-item p {
  font-size: 15px;
  color: #A8A29E;
  line-height: 1.65;
}

/* ── NICHES ──────────────────────────────────── */
.niches {
  padding: 96px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.niches-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 20px;
  font-weight: 500;
}
.niches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}
.niche-card {
  background: var(--card);
  padding: 36px 28px;
}
.niche-tag {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.niche-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── TESTIMONIALS ────────────────────────────── */
.testimonials {
  background: #F5F0EB;
  padding: 96px 48px;
}
.testimonials-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.testimonials-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 20px;
  font-weight: 500;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.testimonial {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 36px 32px;
}
.testimonial p {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial cite {
  font-size: 13px;
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

/* ── CLOSING ────────────────────────────────── */
.closing {
  padding: 112px 48px;
  border-top: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
}
.closing-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--ink);
  max-width: 680px;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.closing-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ── FOOTER ─────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.footer-brand .wordmark {
  display: block;
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--muted);
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--ink); }
.footer-sep {
  color: var(--border);
  font-size: 14px;
}

/* ── PORTFOLIO ──────────────────────────────── */
.pf-hero {
  padding: 96px 48px 80px;
  border-bottom: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
}
.pf-hero-inner { max-width: 820px; }
.pf-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 20px;
  font-weight: 500;
}
.pf-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: 28px;
}
.pf-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.pf-tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-tag {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 12px;
  border-radius: 2px;
}

.case-studies {
  padding: 96px 48px;
  background: var(--bg);
}
.case-studies-inner { max-width: 1200px; margin: 0 auto; }
.cs-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 48px;
  font-weight: 500;
}
.cs-card {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 52px 48px;
  margin-bottom: 2px;
}
.cs-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.cs-vertical {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 500;
}
.cs-type {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.cs-type::before { content: '·'; margin-right: 20px; }
.cs-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 28px;
  max-width: 720px;
}
.cs-body p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: 28px;
}
.cs-results {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}
.cs-results li {
  font-size: 15px;
  color: var(--ink);
  padding-left: 20px;
  position: relative;
}
.cs-results li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}
.cs-outcome {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.cs-outcome-num {
  font-family: 'Fraunces', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -2px;
}
.cs-outcome-label {
  font-size: 14px;
  color: var(--muted);
}

.services-section {
  padding: 96px 48px;
  background: var(--ink);
}
.services-inner { max-width: 1200px; margin: 0 auto; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.svc-card {
  background: #292524;
  padding: 44px 40px;
}
.svc-icon {
  font-size: 22px;
  color: var(--accent-warm);
  margin-bottom: 20px;
}
.svc-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  color: #FAFAF8;
  margin-bottom: 14px;
}
.svc-card p {
  font-size: 15px;
  color: #A8A29E;
  line-height: 1.65;
}

.pf-testimonials {
  padding: 96px 48px;
  background: #F5F0EB;
}
.pf-testimonials-inner { max-width: 1200px; margin: 0 auto; }
.pf-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.pf-testi {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 36px 32px;
}
.pf-testi p {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.pf-testi cite {
  font-size: 13px;
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 900px) {
  .philosophy-grid { grid-template-columns: 1fr; }
  .niches-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .stat-divider { display: none; }
  .stat { padding: 0; }
}

@media (max-width: 600px) {
  .site-header, .hero, .philosophy, .niches, .testimonials, .closing, .site-footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .niches-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 20px; align-items: flex-start; }
}