:root {
  --ink: #14211c;
  --ink-soft: #4a5a53;
  --line: #e2e8e4;
  --paper: #ffffff;
  --paper-alt: #f4f7f5;
  --teal: #1f8a8a;
  --teal-dark: #176b6b;
  --forest: #17342b;
  --max: 1120px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; margin: 0 0 0.5em; line-height: 1.15; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section-alt { background: var(--paper-alt); }
.eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}

.btn {
  display: inline-block; background: var(--teal); color: #fff; font-weight: 600;
  padding: 12px 22px; border-radius: 6px; transition: background 0.2s;
}
.btn:hover { background: var(--teal-dark); }
.btn-light { background: #fff; color: var(--forest); }
.btn-light:hover { background: #e7f0ed; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.brand img { width: 190px; height: auto; }
.nav nav { display: flex; align-items: center; gap: 26px; font-weight: 500; }
.nav nav a:not(.btn):hover { color: var(--teal); }
.nav .btn { padding: 9px 18px; }

/* Hero */
.hero {
  min-height: 78vh; display: grid; place-items: center; text-align: center; color: #fff;
  background: linear-gradient(to bottom, rgba(10,20,16,0.55), rgba(10,20,16,0.65)), url("assets/hero.jpg") center / cover no-repeat;
  padding: 100px 20px;
}
.hero-inner { max-width: 820px; }
.hero .eyebrow { color: #cfe8e0; }
.hero h1 { margin-bottom: 30px; }

/* About */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.prose p:not(.eyebrow) { font-size: 1.08rem; color: var(--ink-soft); }
.photo { margin: 0; }
.photo img { border-radius: 14px; box-shadow: 0 20px 50px rgba(20,33,28,0.18); }
.photo figcaption { margin-top: 12px; font-size: 0.85rem; color: var(--ink-soft); }

/* Stats */
.stats { background: var(--forest); color: #fff; padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stats-grid strong { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 500; line-height: 1; margin-bottom: 8px; }
.stats-grid span { color: #b9d3ca; font-size: 0.95rem; }

/* Portfolio cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.card {
  display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px;
  padding: 28px; background: #fff; transition: transform 0.2s, box-shadow 0.2s;
}
a.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(20,33,28,0.1); }
.card-dark { background: var(--forest); color: #fff; border-color: var(--forest); }

.card-logo { height: 64px; display: flex; align-items: center; margin-bottom: 22px; }
.card-logo img { max-height: 64px; width: auto; }
.card-logo img[src$=".svg"] { height: 48px; }
.monogram {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--paper-alt); color: var(--forest); font-family: var(--serif); font-size: 1.25rem; font-weight: 600;
}
.card h3 { margin-bottom: 4px; }
.role { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.card p:not(.role) { color: var(--ink-soft); flex: 1; }
.card-dark p:not(.role) { color: #d6e4de; }
.card-dark .role { color: #9fd3cc; }
.link { font-weight: 600; font-size: 0.95rem; color: var(--teal); }
.card-dark .link { color: #9fd3cc; }

/* Timeline */
.timeline { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 20px; }
.timeline li {
  display: grid; grid-template-columns: 120px 200px 1fr; gap: 32px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px 32px;
}
.when { font-family: var(--serif); font-size: 1.2rem; color: var(--forest); }
.tile {
  height: 120px; display: grid; place-items: center; padding: 20px;
  background: var(--paper-alt); border-radius: 10px;
}
.tile img { max-height: 80px; max-width: 100%; width: auto; }
.what h3 { margin-bottom: 4px; }
.what p:not(.role) { color: var(--ink-soft); max-width: 640px; margin-bottom: 0; }

/* Contact */
.contact { text-align: center; }
.contact h2 { margin-bottom: 28px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: 0.9rem; color: var(--ink-soft); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner p { margin: 0; }

/* Phone */
@media (max-width: 820px) {
  .section { padding: 64px 0; }
  .nav nav { gap: 16px; font-size: 0.95rem; }
  .nav nav a:not(.btn) { display: none; }
  .brand img { width: 150px; }
  .hero { min-height: 68vh; padding: 80px 20px; }
  .two-col { grid-template-columns: 1fr; gap: 20px; }
  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .cards { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .tile { height: 110px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
