@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/fraunces-roman.woff2") format("woff2");
}

:root {
  --bg: #faf5ee;
  --bg-soft: #f2e9dc;
  --ink: #2b2621;
  --ink-soft: #6b6055;
  --clay: #c1633c;
  --sage: #7c8a6a;
  --gold: #c9a24b;
  --line: #e4d8c6;

  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --max: 720px;
  --pad: clamp(1.5rem, 5vw, 3.5rem);
}

* { box-sizing: border-box; }

html {
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 560;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0; }

a { color: inherit; }

section {
  position: relative;
  padding: var(--pad);
}

/* ---------- Hero ---------- */

.hero {
  min-height: min(92vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--clay);
  pointer-events: none;
}

.flight-arc {
  color: var(--ink-soft);
  opacity: 0.28;
}

.spiral-ghost {
  color: var(--sage);
  opacity: 0.16;
  transform: translate(26px, -18px) scale(1.08);
}

.spiral-main {
  opacity: 0.9;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.4s cubic-bezier(.4,0,.2,1) 0.15s forwards;
}

.seed {
  color: var(--clay);
  opacity: 0;
  animation: fade-in 0.6s ease 2.2s forwards;
}

.seed-ring {
  color: var(--clay);
  opacity: 0;
  animation: fade-in-faint 0.6s ease 2.35s forwards;
}

@keyframes fade-in-faint {
  to { opacity: 0.45; }
}

.fib-dots circle {
  fill: var(--gold);
  opacity: 0;
  animation: fade-in 0.5s ease forwards;
}
.fib-dots circle:nth-child(1) { animation-delay: 0.5s; }
.fib-dots circle:nth-child(2) { animation-delay: 0.75s; }
.fib-dots circle:nth-child(3) { animation-delay: 1.0s; }
.fib-dots circle:nth-child(4) { animation-delay: 1.3s; }
.fib-dots circle:nth-child(5) { animation-delay: 1.7s; }

@keyframes draw {
  to { stroke-dashoffset: 0; }
}
@keyframes fade-in {
  to { opacity: 0.85; }
}

.hero-content {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  animation: rise 0.7s cubic-bezier(.2,.6,.2,1) both;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 480;
  color: var(--clay);
  font-size: 0.92rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.2rem);
  line-height: 1.04;
}

.hero .lede {
  margin-top: 1.4rem;
  max-width: 30rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

/* ---------- About ---------- */

.about {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 8vw, 5rem);
}

.portrait {
  margin: 0;
  width: clamp(120px, 22vw, 168px);
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 63% 37% 54% 46% / 41% 44% 56% 59%;
  filter: saturate(1.05) sepia(0.06) contrast(1.02);
  box-shadow: 0 1px 0 var(--line);
}

.about-text h2 {
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}

.about-text p {
  color: var(--ink-soft);
  max-width: 40rem;
}

.about-text p + p {
  margin-top: 1rem;
}

/* ---------- Now ---------- */

.now {
  max-width: var(--max);
  margin: 0 auto;
}

.now h2 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.role-card {
  background: var(--bg-soft);
  border-radius: 18px;
  padding: clamp(1.25rem, 4vw, 2rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.role-card + .role-card {
  margin-top: 1rem;
}

.track-record {
  background: transparent;
  border: 1px solid var(--line);
}


.big-num {
  font-size: 1.9rem;
  color: var(--clay);
  font-weight: 560;
  margin-right: 0.15rem;
}

.role-card::before {
  content: "";
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}

.track-record::before {
  background: var(--gold);
}

.role-title {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 1.2rem;
}

.role-org {
  color: var(--ink-soft);
  margin-top: 0.2rem;
}

.role-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.role-meta span {
  font-size: 0.82rem;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  background: var(--bg);
}

/* ---------- Contact ---------- */

.contact {
  max-width: var(--max);
  margin: 0 auto;
}

.contact h2 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.link-pill svg {
  width: 17px;
  height: 17px;
}

.link-pill:hover {
  border-color: var(--clay);
  background: var(--bg-soft);
  transform: translateY(-1px);
}

/* ---------- Footer ---------- */

footer {
  padding: var(--pad);
  max-width: var(--max);
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.signature {
  display: block;
  width: 150px;
  height: auto;
  margin-bottom: 0.4rem;
  /* tint the grey ink toward the site's clay accent */
  filter: sepia(0.85) saturate(2.2) hue-rotate(-18deg) brightness(0.72) opacity(0.85);
}

/* ---------- Responsive ---------- */

@media (max-width: 620px) {
  .about {
    grid-template-columns: 1fr;
  }
  .portrait {
    width: 140px;
  }
}

/* keep the spiral from crossing the lede text on narrow screens */
@media (max-width: 900px) {
  .hero-art {
    opacity: 0.55;
    transform: translateY(14%);
  }
}

/* ---------- Motion & print ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .spiral-main { animation: none; stroke-dashoffset: 0; }
  .seed, .fib-dots circle { animation: none; opacity: 0.85; }
  .hero-content { animation: none; }
}
