:root {
  --ink: #1c2430;
  --ink-soft: #3c4656;
  --muted: #6b7484;
  --paper: #faf8f3;
  --paper-alt: #f1ece1;
  --card: #ffffff;
  --accent: #b0722a;
  --accent-deep: #8a5a1e;
  --line: #e5ddcc;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 2rem;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700; font-size: 1.15rem;
  color: var(--ink); text-decoration: none;
}
.nav nav { display: flex; gap: 1.4rem; align-items: center; }
.nav nav a {
  color: var(--ink-soft); text-decoration: none;
  font-size: 0.92rem; font-weight: 500;
}
.nav nav a:hover { color: var(--accent-deep); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent); color: #fff;
  padding: 0.8rem 1.6rem; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn.ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn-small {
  border: 1.5px solid var(--ink); border-radius: 999px;
  padding: 0.4rem 1rem !important; color: var(--ink) !important;
}
.btn-small:hover { background: var(--ink); color: #fff !important; }

/* ---------- layout ---------- */
.section { padding: 5.5rem 2rem; }
.section.alt { background: var(--paper-alt); }
.container { max-width: 1080px; margin: 0 auto; }
.container.narrow { max-width: 720px; }
.container.center { text-align: center; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.78rem; font-weight: 600; color: var(--accent-deep);
  margin-bottom: 0.9rem;
}
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 1.4rem; }
.section p + p { margin-top: 1rem; }
.subhead { font-size: 1.4rem; margin: 3rem 0 1.2rem; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem; align-items: center;
  max-width: 1080px; margin: 0 auto;
  padding: 4.5rem 2rem 5.5rem;
}
.hero h1 { font-size: clamp(3rem, 7vw, 5rem); margin: 0.4rem 0 1.2rem; }
.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 34rem; }
.hero-meta { margin: 1.2rem 0 1.8rem; color: var(--muted); font-size: 0.95rem; }
.hero-cta { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero-photo img {
  width: 100%; max-width: 380px; aspect-ratio: 1;
  object-fit: cover; border-radius: 28px;
  border: 6px solid #fff;
  box-shadow: 0 24px 60px rgba(28, 36, 48, 0.16);
  display: block; margin-left: auto;
}

/* ---------- stats ---------- */
.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin-top: 2.4rem;
}
.stat {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.2rem 1rem; text-align: center;
}
.stat strong { display: block; font-family: 'Fraunces', serif; font-size: 1.7rem; color: var(--accent-deep); }
.stat span { font-size: 0.82rem; color: var(--muted); }

/* ---------- timeline ---------- */
.timeline { position: relative; margin-top: 2.5rem; padding-left: 1.6rem; }
.timeline::before {
  content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px;
  width: 2px; background: var(--line);
}
.t-item { position: relative; padding-bottom: 1.8rem; }
.t-item::before {
  content: ''; position: absolute; left: -1.6rem; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--accent);
  transform: translateX(0.5px);
}
.t-date {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent-deep); margin-bottom: 0.4rem;
}
.t-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.6rem;
}
.t-card h3 { font-size: 1.25rem; margin-bottom: 0.2rem; }
.t-org { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.6rem; }
.t-card p:last-child { margin-bottom: 0; }

/* ---------- cards ---------- */
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.2rem; margin-top: 1.8rem;
}
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(28,36,48,.09); }
.card-date { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-deep); margin-bottom: 0.5rem; }
.card h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.card-org { color: var(--muted); font-size: 0.92rem; }
.card-detail { font-size: 0.92rem; color: var(--ink-soft); margin-top: 0.5rem; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.chips span {
  background: var(--paper-alt); border: 1px solid var(--line);
  padding: 0.3rem 0.8rem; border-radius: 999px;
  font-size: 0.82rem; font-weight: 500; color: var(--ink-soft);
}
.chips.large span { font-size: 0.95rem; padding: 0.5rem 1.1rem; }
.chips.large { margin-top: 1.8rem; }

/* ---------- contact / footer ---------- */
#contact .btn { margin-top: 1.6rem; }
footer { border-top: 1px solid var(--line); padding: 1.6rem 2rem; }
.foot {
  display: flex; justify-content: space-between;
  font-size: 0.85rem; color: var(--muted);
}

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 3rem; }
  .hero-photo img { margin: 0 auto; max-width: 300px; }
  .nav nav a:not(.btn-small) { display: none; }
  .stat-row { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 1.4rem; }
}
