/* ============================================================
   Design tokens
   ============================================================ */
:root {
  --paper:    #FBFAF6;
  --ink:      #181818;
  --muted:    #6F6B63;
  --faint:    #908B81;
  --accent:   #1F4E79;
  --hairline: #E7E3DA;

  --font-display: 'Newsreader', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;

  --col:    660px;
  --gap:    clamp(2rem, 5vw, 3.5rem);
  --radius: 3px;
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* ============================================================
   Navbar
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  padding: 0 1.25rem;
}

.nav-inner {
  max-width: var(--col);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.25rem;
  gap: 1rem;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.nav-brand:hover { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a:focus-visible { color: var(--accent); }

/* ============================================================
   Layout wrapper
   ============================================================ */
.page {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ============================================================
   Fade-up animation (load only, no scroll triggers)
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Stagger helpers */
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }

/* ============================================================
   Eyebrow label (shared signature element)
   ============================================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

/* ============================================================
   Section
   ============================================================ */
.section {
  padding: var(--gap) 0;
  border-top: 1px solid var(--hairline);
}

.section:first-of-type { border-top: none; }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: clamp(3rem, 8vw, 5rem) 0 var(--gap);
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 400;
  font-style: italic;
  color: var(--muted);
  max-width: 520px;
}

/* ============================================================
   About
   ============================================================ */
.about-body p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 1rem;
}

.about-body p:last-child { margin-bottom: 0; }

/* ============================================================
   Experience
   ============================================================ */
.role-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.role {
  padding: 1.35rem 0;
  border-top: 1px solid var(--hairline);
}

.role:first-child { border-top: none; padding-top: 0; }

.role-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.6rem;
  margin-bottom: 0.6rem;
}

.role-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
}

.role-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--faint);
  letter-spacing: 0.04em;
}

.role-bullets {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.role-bullets li {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
}

.role-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--hairline);
}

/* ============================================================
   Education
   ============================================================ */
.edu-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.edu-item {
  padding: 1.25rem 0;
  border-top: 1px solid var(--hairline);
}

.edu-item:first-child { border-top: none; padding-top: 0; }

.edu-degree {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.edu-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--faint);
  letter-spacing: 0.04em;
  margin-bottom: 0.55rem;
}

.edu-body {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ============================================================
   Skills
   ============================================================ */
.skill-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.skill-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.75rem;
  padding: 1rem 0;
  border-top: 1px solid var(--hairline);
}

.skill-row:first-child { border-top: none; padding-top: 0; }

.skill-category {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  flex: 0 0 90px;
  padding-top: 0.1rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  flex: 1;
}

.skill-tag {
  font-size: 0.82rem;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  padding: 0.15rem 0.5rem;
  white-space: nowrap;
}

/* ============================================================
   Contact footer
   ============================================================ */
.contact-footer {
  padding: var(--gap) 0 clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid var(--hairline);
  text-align: center;
}

.contact-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--faint);
}

.contact-footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.contact-footer-links a:hover { color: var(--accent); }

.contact-sep { color: var(--hairline); }

/* ============================================================
   /vieu pitch page
   ============================================================ */
.pitch-header {
  padding: clamp(3rem, 8vw, 5rem) 0 var(--gap);
  border-bottom: 1px solid var(--hairline);
}

.pitch-headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 0.65rem;
  max-width: 560px;
}

.pitch-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
}

/* Video embed */
.video-wrap {
  margin: var(--gap) 0 0.6rem;
}

.video-aspect {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: var(--hairline);
  border-radius: 4px;
  overflow: hidden;
}

.video-aspect iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-caption {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--faint);
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
  text-align: center;
}

/* Pitch parts */
.pitch-parts {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pitch-part {
  padding: 1.5rem 0;
  border-top: 1px solid var(--hairline);
}

.pitch-part:first-child { border-top: none; }

.pitch-part-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.pitch-part-head {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.7rem;
}

.pitch-part-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}

/* Close block */
.pitch-close {
  padding: var(--gap) 0;
  border-top: 1px solid var(--hairline);
}

.pitch-close-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.pitch-sig {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--faint);
  letter-spacing: 0.04em;
}

.pitch-sig a {
  color: var(--faint);
  text-decoration: none;
}

.pitch-sig a:hover { color: var(--accent); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 540px) {
  .nav-links { gap: 1rem; }

  .skill-category {
    flex: 0 0 100%;
    margin-bottom: 0.25rem;
  }

  .role-header { flex-direction: column; gap: 0.15rem; }
}
