:root {
  --bg: #faf8f5;
  --bg-card: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --ink-mute: #8a8a8a;
  --accent: #c2410c;
  --accent-soft: #fed7aa;
  --line: #e8e3dc;
  --shadow: 0 1px 3px rgba(0,0,0,0.04), 0 10px 40px rgba(0,0,0,0.06);
  --max: 1100px;
  --radius: 4px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }

p { color: var(--ink-soft); margin-bottom: 1rem; }

a { color: var(--accent); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: 0.75; }

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

/* NAV */
.nav {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background-color: rgba(250, 248, 245, 0.85);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  font-family: "Georgia", serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
}
.brand span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a.active { color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

/* HERO */
.hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--line);
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}
.hero p.lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 680px;
  margin-bottom: 32px;
}
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all .2s;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink);
  color: white;
}
.btn-primary:hover { background: var(--accent); opacity: 1; }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: white; opacity: 1; }

/* SECTIONS */
section {
  padding: 70px 0;
  border-bottom: 1px solid var(--line);
}
section:last-of-type { border-bottom: none; }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}

/* GRID */
.grid {
  display: grid;
  gap: 28px;
  margin-top: 36px;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 12px; }
.card .tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.card .meta {
  font-size: 0.85rem;
  color: var(--ink-mute);
  margin-top: 14px;
}

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  margin: 48px 0 0;
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stat .num {
  font-family: "Georgia", serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat .label {
  font-size: 0.9rem;
  color: var(--ink-mute);
}

/* LIST */
ul.clean {
  list-style: none;
  padding: 0;
}
ul.clean li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  position: relative;
  padding-left: 24px;
}
ul.clean li:before {
  content: "→";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: 600;
}
ul.clean li:last-child { border-bottom: none; }

/* TIMELINE / EXPERIENCE */
.timeline {
  margin-top: 36px;
}
.timeline-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
}
.timeline-item:last-child { border-bottom: none; }
.timeline-date {
  font-size: 0.85rem;
  color: var(--ink-mute);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.timeline-content h4 {
  font-family: -apple-system, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.timeline-content .company {
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

@media (max-width: 600px) {
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .nav-links { gap: 16px; }
}

/* FOOTER */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
  text-align: center;
  color: var(--ink-mute);
  font-size: 0.9rem;
}
footer a { color: var(--ink-soft); margin: 0 12px; }

/* HIGHLIGHT BOX */
.highlight {
  background: var(--bg-card);
  border-left: 4px solid var(--accent);
  padding: 28px 32px;
  margin: 32px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.highlight p { margin-bottom: 0; }

/* MISC */
.muted { color: var(--ink-mute); font-size: 0.9rem; }
.big-quote {
  font-family: "Georgia", serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--ink);
  padding: 24px 0;
  max-width: 760px;
}
.big-quote:before { content: "« "; color: var(--accent); }
.big-quote:after { content: " »"; color: var(--accent); }
