@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
  --ink: #1a1a18;
  --ink-mid: #4a4a46;
  --ink-light: #888884;
  --paper: #f8f7f3;
  --paper-warm: #f2f0ea;
  --accent: #c8873a;
  --accent-dark: #a06828;
  --accent-light: #f0e8d8;
  --line: #e2dfd6;
  --white: #ffffff;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --max: 1140px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(248,247,243,0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
  display: flex;
  align-items: center;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-mid);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-cta {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: var(--white) !important;
  background: var(--accent);
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 2rem;
  z-index: 99;
  flex-direction: column;
  gap: 1.25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  color: var(--ink-mid);
  text-decoration: none;
  font-weight: 400;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: none; color: var(--accent); font-weight: 500; }

/* ── PAGE WRAPPER ── */
main { padding-top: var(--nav-h); }

/* ── CONTAINERS ── */
.container { max-width: var(--max); margin: 0 auto; }
section { padding: 6rem 2rem; }

/* ── TYPOGRAPHY ── */
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
}
.section-h2 {
  font-family: var(--serif);
  font-size: clamp(1.875rem, 3vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--ink-mid);
  font-weight: 300;
  line-height: 1.8;
  max-width: 540px;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--ink);
  color: var(--white);
  padding: 0.875rem 2rem;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}
.btn-primary:hover { background: var(--accent); color: var(--white); }
.btn-secondary {
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 400;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}
.btn-secondary::after { content: '→'; }
.btn-secondary:hover { gap: 0.75rem; color: var(--ink); }
.btn-white {
  background: var(--white);
  color: var(--accent-dark);
  padding: 0.875rem 2.25rem;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}
.btn-white:hover { background: var(--accent-light); }

/* ── HERO ── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  align-items: center;
  gap: 4rem;
}
.hero-text { padding: 5rem 0; }
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.hero-h1 em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: 1.0625rem;
  color: var(--ink-mid);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blueprint-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  width: 100%;
  max-width: 440px;
  padding: 2rem;
  box-shadow: 0 2px 40px rgba(0,0,0,0.06);
}
.bp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.bp-title { font-family: var(--serif); font-size: 1rem; color: var(--ink); }
.bp-badge {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-light);
  background: var(--accent-light);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}
.bp-drawing {
  background: #f4f2ec;
  border: 1px solid var(--line);
  height: 220px;
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.bp-drawing svg { width: 100%; height: 100%; }
.bp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.bp-stat { text-align: center; }
.bp-stat-n { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
.bp-stat-l { font-size: 0.6875rem; color: var(--ink-light); letter-spacing: 0.05em; text-transform: uppercase; }
.hero-float-1 {
  position: absolute;
  top: 3rem; left: -1.5rem;
  background: var(--accent);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(200,135,58,0.3);
  animation: float1 4s ease-in-out infinite;
}
.hero-float-2 {
  position: absolute;
  bottom: 3rem; right: -1rem;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.8125rem;
  color: var(--ink-mid);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  animation: float2 4s ease-in-out infinite 2s;
}
@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }

.hero-stats-row {
  border-top: 1px solid var(--line);
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1rem;
}
.hstat { padding: 1.5rem 0; border-left: 2px solid var(--line); padding-left: 1.5rem; }
.hstat-n { font-family: var(--serif); font-size: 2rem; color: var(--ink); }
.hstat-l { font-size: 0.8125rem; color: var(--ink-light); }

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 4rem;
}
.srv-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  transition: background 0.2s;
  text-decoration: none;
  display: block;
  color: inherit;
}
.srv-card:hover { background: var(--accent-light); }
.srv-num { font-family: var(--serif); font-size: 0.875rem; color: var(--accent); margin-bottom: 1.25rem; opacity: 0.7; }
.srv-icon { width: 40px; height: 40px; margin-bottom: 1.25rem; color: var(--accent); }
.srv-title { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); margin-bottom: 0.75rem; line-height: 1.25; }
.srv-desc { font-size: 0.9rem; color: var(--ink-mid); line-height: 1.7; font-weight: 300; }

/* ── WHY US ── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.why-list { margin-top: 2.5rem; }
.why-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.why-item:first-child { border-top: 1px solid var(--line); }
.why-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; flex-shrink: 0; margin-top: 0.5rem; }
.why-item-title { font-weight: 500; font-size: 0.9375rem; color: var(--ink); margin-bottom: 0.25rem; }
.why-item-desc { font-size: 0.875rem; color: var(--ink-mid); font-weight: 300; }
.why-visual {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.wv-box { background: var(--white); border: 1px solid var(--line); padding: 1.5rem; text-align: center; }
.wv-box-n { font-family: var(--serif); font-size: 1.75rem; color: var(--accent); }
.wv-box-l { font-size: 0.75rem; color: var(--ink-light); text-transform: uppercase; letter-spacing: 0.08em; }
.wv-box.wide { grid-column: 1/-1; }

/* ── PROCESS ── */
.process-bg { background: var(--ink); }
.process-bg .section-h2 { color: var(--white); }
.process-bg .section-sub { color: rgba(255,255,255,0.55); }
.process-bg .section-label { color: var(--accent); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 4rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 24px; left: 10%; right: 10%;
  height: 1px;
  background: rgba(255,255,255,0.12);
}
.pstep { padding: 0 1rem; text-align: center; position: relative; }
.pstep-num {
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--serif);
  font-size: 1.125rem;
  color: var(--accent);
  background: var(--ink);
  position: relative;
  z-index: 1;
}
.pstep-title { font-weight: 500; font-size: 0.875rem; color: var(--white); margin-bottom: 0.5rem; }
.pstep-desc { font-size: 0.8125rem; color: rgba(255,255,255,0.45); font-weight: 300; line-height: 1.6; }

/* ── TESTIMONIALS ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 4rem; }
.tcard { background: var(--white); border: 1px solid var(--line); padding: 2rem; border-radius: 2px; }
.tcard-quote { font-family: var(--serif); font-style: italic; font-size: 1.0625rem; color: var(--ink); line-height: 1.65; margin-bottom: 1.5rem; }
.tcard-author { display: flex; align-items: center; gap: 0.875rem; }
.tcard-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-light); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 0.875rem; color: var(--accent-dark); flex-shrink: 0; }
.tcard-name { font-weight: 500; font-size: 0.875rem; color: var(--ink); }
.tcard-role { font-size: 0.8125rem; color: var(--ink-light); }

/* ── CTA STRIP ── */
.cta-strip { background: var(--accent); padding: 5rem 2rem; text-align: center; }
.cta-strip .section-h2 { color: var(--white); max-width: 600px; margin: 0 auto 1rem; }
.cta-strip p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-weight: 300; }

/* ── SERVICES PAGE ── */
.srv-page-hero { padding: 5rem 0 3rem; border-bottom: 1px solid var(--line); }
.srv-detail-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.srv-detail-left { position: sticky; top: calc(var(--nav-h) + 2rem); }
.srv-detail-n { font-family: var(--serif); font-size: 4rem; color: var(--line); line-height: 1; margin-bottom: 1rem; }
.srv-detail-title { font-family: var(--serif); font-size: 1.625rem; color: var(--ink); margin-bottom: 0.75rem; }
.srv-detail-tag { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent-light); background: var(--accent-light); padding: 0.25rem 0.75rem; border-radius: 2px; display: inline-block; }
.srv-detail-desc { font-size: 1rem; color: var(--ink-mid); font-weight: 300; line-height: 1.8; margin-bottom: 1.5rem; }
.srv-features { list-style: none; }
.srv-features li { font-size: 0.9rem; color: var(--ink-mid); padding: 0.5rem 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 0.75rem; }
.srv-features li::before { content: ''; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.srv-features li:last-child { border-bottom: none; }

/* ── ABOUT ── */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; padding: 5rem 0; }
.about-body-text { font-size: 1.0625rem; color: var(--ink-mid); font-weight: 300; line-height: 1.85; margin-bottom: 1.5rem; }
.about-img-block { background: var(--paper-warm); border: 1px solid var(--line); height: 420px; display: flex; align-items: center; justify-content: center; }
.about-img-inner { width: 85%; height: 75%; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; }
.about-initials { font-family: var(--serif); font-size: 3.5rem; color: var(--accent); line-height: 1; }
.about-img-label { font-size: 0.8125rem; color: var(--ink-light); letter-spacing: 0.08em; text-transform: uppercase; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 4rem; }
.val-card { padding: 2rem; border-top: 2px solid var(--accent); }
.val-title { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); margin-bottom: 0.75rem; }
.val-desc { font-size: 0.9rem; color: var(--ink-mid); font-weight: 300; line-height: 1.7; }
.tools-strip { background: var(--paper-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 3rem 2rem; }
.tools-label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-light); margin-bottom: 2rem; text-align: center; }
.tools-list { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.tool-item { font-size: 0.875rem; color: var(--ink-mid); font-weight: 500; padding: 0.5rem 1.25rem; border: 1px solid var(--line); background: var(--white); border-radius: 2px; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; padding: 5rem 0; }
.contact-info-title { font-family: var(--serif); font-size: 2rem; margin-bottom: 1rem; color: var(--ink); }
.contact-info-sub { font-size: 0.9375rem; color: var(--ink-mid); font-weight: 300; line-height: 1.8; margin-bottom: 3rem; }
.contact-items { display: flex; flex-direction: column; gap: 2rem; }
.ci-item { display: flex; gap: 1rem; align-items: flex-start; }
.ci-icon { width: 40px; height: 40px; background: var(--accent-light); border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ci-icon svg { width: 18px; height: 18px; color: var(--accent); stroke: var(--accent); }
.ci-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-light); margin-bottom: 0.25rem; }
.ci-val { font-size: 0.9375rem; color: var(--ink); }
.contact-form-wrap { background: var(--white); border: 1px solid var(--line); padding: 2.5rem; }
.form-title { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); margin-bottom: 0.5rem; }
.form-sub { font-size: 0.875rem; color: var(--ink-light); margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--ink); margin-bottom: 0.4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.9rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  background: var(--ink);
  color: var(--white);
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}
.form-submit:hover { background: var(--accent); }
.form-submit:disabled { background: var(--ink-light); cursor: not-allowed; }
.alert {
  padding: 1rem 1.25rem;
  border-radius: 4px;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  display: none;
}
.alert.success { background: #eaf7ee; border: 1px solid #a3d9b1; color: #2d6a3f; display: block; }
.alert.error { background: #fdecea; border: 1px solid #f5a8a1; color: #a0281f; display: block; }

/* ── FOOTER ── */
footer { background: var(--ink); color: var(--white); padding: 4rem 2rem 2rem; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { font-family: var(--serif); font-size: 1.25rem; color: var(--white); margin-bottom: 1rem; display: block; text-decoration: none; }
.footer-logo span { color: var(--accent); }
.footer-tagline { font-size: 0.875rem; color: rgba(255,255,255,0.4); font-weight: 300; line-height: 1.7; max-width: 260px; }
.footer-col-title { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 1.25rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { max-width: var(--max); margin: 0 auto; padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 0.8125rem; color: rgba(255,255,255,0.3); }

/* ── FADE IN ── */
.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp 0.7s ease forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.2s; }
.d3 { animation-delay: 0.3s; }
.d4 { animation-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-stats-row { grid-template-columns: repeat(2,1fr); }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .about-img-block { height: 240px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .srv-detail-item { grid-template-columns: 1fr; }
  .srv-detail-left { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .hero-stats-row { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .contact-form-wrap { padding: 1.5rem; }
  section { padding: 4rem 1.25rem; }
}
