/* ===== Design tokens ===== */
:root {
  --paper:#faf6f0;
  --band:#f4ebdd;
  --tag-bg:#f1e7d6;
  --ink:#2c2520;
  --body:#4a423b;
  --muted:#857a6f;
  --muted2:#9a8e81;
  --footer-handle:#a89c8e;
  --accent:#d2693f;
  --accent-hover:#bb5630;
  --accent-dark:#a8512e;
  --accent-tint:#e0b89c;
  --border-light:#e7dccb;
  --border-2:#e6ddcf;
  --track-start:#dbcdb8;
  --backdrop:#e9e3d9;

  --serif:'Newsreader',serif;
  --sans:'Hanken Grotesk',sans-serif;
  --script:'Caveat',cursive;
}

* { box-sizing:border-box; }

html { scroll-behavior:smooth; }

body {
  margin:0;
  background:var(--backdrop);
  color:var(--ink);
  font-family:var(--sans);
  -webkit-font-smoothing:antialiased;
}

.sr-only {
  position:absolute;
  width:1px;height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  clip-path:inset(50%);
  white-space:nowrap;
}

.site {
  max-width:880px;
  margin:40px auto;
  background:var(--paper);
  border-radius:14px;
  box-shadow:0 1px 3px rgba(0,0,0,.08), 0 18px 50px rgba(120,90,60,.10);
  overflow:hidden;
}

a { color:inherit; }

/* shared inner wrappers */
.wrap { margin:0 auto; }
.wrap-now { max-width:660px; }
.wrap-path { max-width:740px; }
.wrap-work { max-width:740px; }
.wrap-hi { max-width:560px; }

.band { background:var(--band); }

.section-title {
  font:500 30px var(--serif);
  letter-spacing:-.01em;
  margin:0;
}
.section-sub {
  font:400 16px/1.5 var(--sans);
  color:var(--muted);
  margin:8px 0 0;
}

.mantra {
  font-family:var(--script);
  font-weight:700;
  font-size:29px;
  line-height:1;
  color:var(--accent);
}

/* ===== Header ===== */
.header {
  max-width:760px;
  margin:0 auto;
  padding:26px 56px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand {
  font:500 19px var(--serif);
  text-decoration:none;
}
.nav {
  display:flex;
  gap:24px;
  font:500 14px var(--sans);
}
.nav a {
  color:var(--muted);
  text-decoration:none;
  transition:color .2s ease;
}
.nav a:hover { color:var(--accent); }

/* ===== Hero ===== */
.hero {
  max-width:760px;
  margin:0 auto;
  padding:46px 56px 56px;
  display:flex;
  gap:44px;
  align-items:center;
  flex-wrap:wrap;
}
.hero-text { flex:1; min-width:300px; }
.hero-name {
  font:500 clamp(30px,3.4vw,43px) var(--serif);
  line-height:1.05;
  letter-spacing:-.02em;
  margin:0 0 20px;
  white-space:nowrap;
}
.hero-progression {
  font:400 19px/1.6 var(--sans);
  color:var(--body);
  margin:0;
  max-width:440px;
}
.hero-progression strong { color:var(--ink); font-weight:600; }
.role-final {
  font-family:var(--serif);
  font-style:italic;
  font-weight:500;
  color:var(--accent);
}
.hero-passion {
  font:400 18px/1.85 var(--sans);
  color:var(--body);
  margin:16px 0 0;
  max-width:440px;
}
.hero-avatar { flex:none; display:flex; align-items:center; justify-content:center; }
.avatar {
  width:160px;
  height:160px;
  border-radius:50%;
  object-fit:cover;
  box-shadow:0 10px 26px rgba(140,90,50,.2);
  display:block;
}

/* ===== Now ===== */
.now { padding:46px 56px; }
.eyebrow-row { display:flex; align-items:center; gap:10px; }
.eyebrow {
  font:600 12px var(--sans);
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--accent-dark);
}
.pulse-dot { position:relative; width:9px; height:9px; }
.pulse-ring, .pulse-core {
  position:absolute; inset:0;
  border-radius:50%;
  background:var(--accent);
}
.pulse-ring { animation:nfPulse 2.4s ease-in-out infinite; }
@keyframes nfPulse {
  0%,100% { transform:scale(1); opacity:1; }
  50% { transform:scale(1.55); opacity:.35; }
}
@media (prefers-reduced-motion:reduce) {
  .pulse-ring { animation:none; }
}
.now-blurb {
  font:400 21px/1.55 var(--serif);
  font-style:italic;
  color:var(--body);
  margin:16px 0 0;
}
.ilink {
  color:var(--accent);
  text-decoration:underline;
  text-underline-offset:3px;
  text-decoration-color:var(--accent-tint);
  transition:color .2s ease;
}
.ilink:hover { color:var(--accent-hover); }

/* ===== Path / timeline ===== */
.path { padding:62px 56px 64px; }
.timeline {
  list-style:none;
  margin:40px 0 0;
  padding:0;
  position:relative;
  display:flex;
}
.timeline::before {
  content:"";
  position:absolute;
  top:8px;
  left:10%;
  right:10%;
  height:2px;
  background:linear-gradient(90deg,var(--track-start),var(--accent));
}
.tl-step {
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:11px;
  position:relative;
  z-index:1;
}
.tl-node {
  width:16px;
  height:16px;
  border-radius:50%;
  background:var(--paper);
  border:2px solid #cbb9a3;
  box-shadow:0 0 0 6px var(--paper);
}
.tl-step--last .tl-node {
  background:var(--accent);
  border-color:var(--accent);
  box-shadow:0 0 0 6px var(--paper), 0 0 0 8px #f0d8c6;
}
.tl-num { display:none; }
.tl-title {
  font:600 14.5px var(--sans);
  color:var(--ink);
}
.tl-note {
  font:400 12px/1.4 var(--sans);
  color:var(--muted2);
  max-width:120px;
}

/* ===== Work ===== */
.work { padding:62px 56px; }
.work-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  margin-top:30px;
}
.card {
  display:flex;
  flex-direction:column;
  background:var(--paper);
  border:1px solid var(--border-light);
  border-radius:16px;
  padding:26px;
  text-decoration:none;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform:translateY(-4px);
  box-shadow:0 14px 30px rgba(140,90,50,.15);
  border-color:var(--accent-tint);
}
.card-name {
  font:500 23px var(--serif);
  color:var(--ink);
}
.card-desc {
  font:400 14.5px/1.55 var(--sans);
  color:#6b6258;
  margin:10px 0 18px;
  flex:1;
}
.tags { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px; }
.tag {
  font:600 11.5px var(--sans);
  color:#8a7e70;
  background:var(--tag-bg);
  border:1px solid var(--border-light);
  border-radius:999px;
  padding:5px 11px;
}
.card-link {
  font:600 14px var(--sans);
  color:var(--accent);
  display:inline-flex;
  align-items:center;
  gap:7px;
}
.arrow { font-size:16px; }

/* ===== Contact ===== */
.hi { padding:72px 56px 60px; text-align:center; }
.hi-title {
  font:500 clamp(24px,3.2vw,31px) var(--serif);
  line-height:1.15;
  margin:14px 0 0;
  letter-spacing:-.01em;
  text-wrap:balance;
}
.cta {
  display:inline-flex;
  align-items:center;
  gap:9px;
  margin-top:28px;
  background:var(--accent);
  color:#fff;
  font:600 16px var(--sans);
  padding:15px 28px;
  border-radius:999px;
  text-decoration:none;
  transition:background .2s ease, transform .2s ease;
}
.cta:hover {
  background:var(--accent-hover);
  transform:translateY(-2px);
}

/* ===== Footer ===== */
.footer {
  border-top:1px solid var(--border-2);
  padding:32px 56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}
.socials { display:flex; gap:24px; flex-wrap:wrap; }
.social {
  text-decoration:none;
  display:flex;
  flex-direction:column;
  line-height:1.25;
  transition:color .2s ease;
}
.social:hover { color:var(--accent); }
.social-label { font:600 14px var(--sans); color:#3a332d; }
.social:hover .social-label { color:var(--accent); }
.social-handle { font:400 12px var(--sans); color:var(--footer-handle); }
.footer-mantra { font:700 22px var(--script); color:var(--accent); }

/* ===== Responsive ===== */
@media (max-width:640px) {
  body { background:var(--paper); }
  .site {
    max-width:100%;
    margin:0;
    border-radius:0;
    box-shadow:none;
  }
  .header { padding:22px 24px 0; }
  .hero {
    padding:32px 24px 44px;
    flex-direction:column-reverse;
    align-items:flex-start;
    gap:28px;
  }
  .hero-name { white-space:normal; }
  .now { padding:40px 24px; }
  .path { padding:48px 24px 52px; }
  .work { padding:48px 24px; }
  .hi { padding:56px 24px 48px; }
  .footer { padding:28px 24px; }

  /* horizontal -> vertical timeline (Take B pattern) */
  .timeline {
    flex-direction:column;
    margin-top:34px;
  }
  .timeline::before {
    top:12px;
    bottom:34px;
    left:19px;
    right:auto;
    width:2px;
    height:auto;
    background:linear-gradient(180deg,var(--track-start),var(--accent));
  }
  .tl-step {
    flex:none;
    flex-direction:row;
    align-items:flex-start;
    text-align:left;
    gap:20px;
    display:grid;
    grid-template-columns:40px 1fr;
    grid-template-areas:
      "node title"
      "node note";
    column-gap:20px;
    row-gap:3px;
    padding-bottom:26px;
  }
  .tl-node { display:none; }
  .tl-num {
    grid-area:node;
    display:flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    border-radius:50%;
    background:var(--paper);
    border:2px solid var(--accent-tint);
    color:var(--accent-dark);
    font:600 13px var(--sans);
    box-shadow:0 0 0 4px var(--paper);
  }
  .tl-step--last .tl-num {
    background:var(--accent);
    border-color:var(--accent);
    color:#fff;
    box-shadow:0 0 0 4px var(--paper), 0 4px 12px rgba(210,105,63,.4);
  }
  .tl-title { grid-area:title; font-size:17px; }
  .tl-note { grid-area:note; max-width:none; font-size:14px; }

  .work-grid { grid-template-columns:1fr; }
}
