/* =====================================================================
   ROADMAP — Product Manager Portfolio Template
   Plain HTML5 + CSS3. No frameworks. No build step.
   ---------------------------------------------------------------------
   Clean, credible, LIGHT theme: white / soft-grey surfaces, a single
   confident blue accent (#2563eb), slate ink. Outcome-driven layout for
   a product manager — case studies, roadmap timeline, resume / CV.

   Case-study covers use picsum.photos; people use i.pravatar.cc.

   REBRAND TIP: edit the CSS variables in :root below. Swap --accent for
   your primary color and update --font-head / --font-body plus the
   Google Fonts <link> in each HTML file. Everything else cascades.
   ===================================================================== */

:root {
  /* --- Palette (edit these to rebrand) --- */
  --bg:      #f6f8fb;   /* page background (soft grey)  */
  --ink:     #0f172a;   /* slate near-black text / heads */
  --ink-soft:#334155;   /* body slate                    */
  --accent:  #2563eb;   /* blue accent (one bold color)  */
  --accent-dark: #1d4ed8;/* darker accent for hovers      */
  --accent-soft: #eff4ff;/* tinted accent background      */
  --muted:   #64748b;   /* secondary text                */
  --surface: #ffffff;   /* cards / panels                */
  --line:    #e2e8f0;   /* borders / dividers            */

  /* --- Fonts --- */
  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* --- Shape & motion --- */
  --radius:    18px;
  --radius-sm: 11px;
  --shadow:    0 1px 2px rgba(15,23,42,.04), 0 10px 30px rgba(15,23,42,.07);
  --shadow-lg: 0 28px 64px rgba(15,23,42,.14);
  --ease:      .4s cubic-bezier(.16,.84,.44,1);

  /* --- Layout --- */
  --maxw: 1200px;
  --gutter: 28px;
}

/* ---------------------------------------------------------------------
   RESET / BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.08;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }

p { margin: 0 0 1rem; }

a { color: var(--accent); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--accent-dark); }

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

ul { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }

::selection { background: var(--accent); color: #fff; }

/* ---------------------------------------------------------------------
   LAYOUT HELPERS
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 104px 0; }
.section--soft { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tight { padding: 70px 0; }

.section-head {
  max-width: 720px;
  margin: 0 0 60px;
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  display: inline-block;
}

.lead { font-size: 1.16rem; color: var(--muted); max-width: 620px; }
.muted { color: var(--muted); }

/* ---------------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .96rem;
  padding: 14px 28px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), background var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease);
  white-space: nowrap;
  letter-spacing: -.01em;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(37,99,235,.24); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 12px 26px rgba(37,99,235,.3); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn-light { background: #fff; color: var(--ink); border-color: transparent; }
.btn-light:hover { background: var(--accent-soft); color: var(--accent-dark); }

.btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-line:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------------------------------------------------------------------
   HEADER / NAV  (shared, identical IDs on every page)
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 248, 251, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--ink);
  letter-spacing: -.03em;
}
.brand:hover { color: var(--ink); }
.brand .logo-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent);
  display: grid; place-items: center;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .95rem;
  color: var(--ink-soft);
  padding: 8px 15px;
  border-radius: 10px;
  transition: background var(--ease), color var(--ease);
}
.nav-links a:hover { background: rgba(37,99,235,.07); color: var(--accent); }
.nav-links a.active { color: var(--accent); font-weight: 600; }
.nav-cta { margin-left: 10px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------
   HERO (home)
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(37,99,235,.10), transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.hero-name {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border: 1px solid rgba(37,99,235,.18);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero-name .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(37,99,235,.18); }
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-meta { display: flex; gap: 44px; flex-wrap: wrap; }
.hero-meta div strong {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--ink);
  display: block;
  line-height: 1;
  letter-spacing: -.03em;
}
.hero-meta div span { font-size: .88rem; color: var(--muted); }

/* Hero image */
.hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}
.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.hero-visual .hv-tag {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  font-family: var(--font-head);
  font-size: .82rem;
  color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.hero-visual .hv-tag b { font-weight: 700; }
.hero-visual .hv-tag .pulse { width: 9px; height: 9px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22,163,74,.18); flex: 0 0 auto; }

/* ---------------------------------------------------------------------
   OUTCOME STATS BAR (home, light)
   --------------------------------------------------------------------- */
.outcomes { padding: 64px 0; border-bottom: 1px solid var(--line); background: var(--surface); }
.outcomes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.outcome { text-align: left; padding: 4px 0; }
.outcome strong {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  display: block; line-height: 1; letter-spacing: -.04em; color: var(--ink);
}
.outcome strong .accent { color: var(--accent); }
.outcome span { font-size: .92rem; color: var(--muted); display: block; margin-top: 8px; }

/* ---------------------------------------------------------------------
   CLIENT LOGO STRIP (text)
   --------------------------------------------------------------------- */
.clients { padding: 46px 0; border-bottom: 1px solid var(--line); }
.clients p {
  text-align: center; font-size: .74rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 26px;
}
.logo-strip {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 16px 52px;
}
.logo-strip span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.22rem;
  color: var(--ink);
  opacity: .4;
  letter-spacing: -.02em;
  transition: opacity var(--ease);
}
.logo-strip span:hover { opacity: 1; }

/* ---------------------------------------------------------------------
   SECTION HEADER ROW (title + link)
   --------------------------------------------------------------------- */
.head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 46px; flex-wrap: wrap;
}
.head-row .lead { margin: 0; }
.text-link {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: var(--ink); display: inline-flex; align-items: center; gap: 8px;
}
.text-link span { transition: transform var(--ease); }
.text-link:hover { color: var(--accent); }
.text-link:hover span { transform: translateX(5px); }

/* ---------------------------------------------------------------------
   FEATURED CASE STUDY (home)
   --------------------------------------------------------------------- */
.featured {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.featured-media { position: relative; height: 100%; min-height: 360px; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-media .tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255,255,255,.94); color: var(--accent-dark);
  font-family: var(--font-head); font-weight: 600; font-size: .76rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.featured-body { padding: 48px 48px 48px 8px; }
.featured-body .eyebrow { margin-bottom: 14px; }
.featured-body h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.featured-body p { color: var(--muted); }
.featured-metrics { display: flex; gap: 32px; flex-wrap: wrap; margin: 24px 0 28px; }
.featured-metrics div strong {
  font-family: var(--font-head); font-size: 1.8rem; color: var(--accent);
  display: block; line-height: 1; letter-spacing: -.03em;
}
.featured-metrics div span { font-size: .85rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   WORK GRID + CASE-STUDY CARDS (image covers)
   --------------------------------------------------------------------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}
.work-card {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.work-card:hover { color: var(--ink); transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(37,99,235,.4); }
.work-thumb {
  position: relative;
  overflow: hidden;
}
.work-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform var(--ease);
}
.work-card:hover .work-thumb img { transform: scale(1.05); }
.work-tag {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  background: rgba(255,255,255,.94);
  font-family: var(--font-head); font-weight: 600; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark);
  padding: 5px 12px; border-radius: 999px;
}
.work-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.work-body h3 { font-size: 1.35rem; margin-bottom: 8px; }
.work-problem { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.work-shipped { font-size: .94rem; color: var(--ink-soft); margin-bottom: 18px; }
.work-shipped b { font-family: var(--font-head); color: var(--ink); font-weight: 600; }
.work-result {
  margin-top: auto;
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid var(--line); padding-top: 18px;
}
.work-result .metric {
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem;
  color: var(--accent); letter-spacing: -.03em; line-height: 1;
}
.work-result .metric-label { font-size: .84rem; color: var(--muted); }

/* Work filters (work.html) */
.work-filters {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 46px;
}
.filter-chip {
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  padding: 10px 20px; border-radius: 999px;
  background: var(--surface); color: var(--ink);
  border: 1.5px solid var(--line); cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.filter-chip:hover { border-color: var(--accent); color: var(--accent); }
.filter-chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.work-card.is-hidden { display: none; }

/* ---------------------------------------------------------------------
   ROADMAP / TIMELINE VISUAL (home) — pure CSS
   --------------------------------------------------------------------- */
.roadmap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 16px;
}
.roadmap::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 23px; height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(37,99,235,.25));
  border-radius: 3px;
}
.rm-stage { position: relative; padding: 0 18px 0 0; }
.rm-stage .rm-dot {
  position: relative; z-index: 1;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; color: var(--accent);
  margin-bottom: 22px;
  box-shadow: 0 6px 16px rgba(37,99,235,.18);
}
.rm-stage .rm-phase {
  font-family: var(--font-head); font-weight: 700; font-size: .74rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px;
}
.rm-stage h3 { font-size: 1.1rem; margin-bottom: 6px; }
.rm-stage p { font-size: .92rem; color: var(--muted); margin: 0; padding-right: 12px; }

/* ---------------------------------------------------------------------
   ABOUT TEASER / SPLIT
   --------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.about-list { margin-top: 26px; display: grid; gap: 14px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.about-list li .tick {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-size: .8rem; font-weight: 700; margin-top: 2px;
}

/* ---------------------------------------------------------------------
   SKILLS / STRENGTHS GRID
   --------------------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.skill-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.skill-card:hover { transform: translateY(-5px); border-color: rgba(37,99,235,.4); box-shadow: var(--shadow); }
.skill-card .skill-icon {
  font-size: 1.4rem; width: 50px; height: 50px; border-radius: 13px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 18px;
}
.skill-card h3 { margin-bottom: 8px; }
.skill-card p { color: var(--muted); margin-bottom: 0; font-size: .96rem; }

/* Tool tags */
.tool-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-tags li {
  font-family: var(--font-head); font-weight: 500; font-size: .9rem;
  color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px;
}

/* ---------------------------------------------------------------------
   STATS BAND (dark accent for contrast)
   --------------------------------------------------------------------- */
.stats-band { background: var(--ink); color: #fff; }
.stats-band .eyebrow { color: #fff; }
.stats-band .eyebrow::before { background: var(--accent); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat strong {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5vw, 4rem);
  display: block; line-height: 1; letter-spacing: -.04em;
  color: #fff;
}
.stat span { color: rgba(255,255,255,.62); font-size: .92rem; }
.stat .accent { color: #93b4ff; }

/* ---------------------------------------------------------------------
   TESTIMONIALS
   --------------------------------------------------------------------- */
.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
  transition: transform var(--ease), box-shadow var(--ease);
}
.quote-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.quote-card .mark { font-family: var(--font-head); font-size: 3rem; line-height: .6; color: var(--accent); display: block; margin-bottom: 14px; }
.quote-card blockquote {
  margin: 0 0 24px;
  font-size: 1.08rem; color: var(--ink);
  font-weight: 500; line-height: 1.55;
}
.quote-author { display: flex; align-items: center; gap: 14px; }
.quote-author img {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; flex: 0 0 auto;
}
.quote-author b { display: block; font-family: var(--font-head); color: var(--ink); }
.quote-author span { font-size: .86rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   CTA BAND
   --------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: 72px 56px;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute; top: -40%; right: -10%;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.6), transparent 68%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.74); max-width: 560px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   PAGE BANNER (inner pages)
   --------------------------------------------------------------------- */
.page-banner {
  padding: 76px 0 64px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 300px at 90% -20%, rgba(37,99,235,.08), transparent 60%),
    var(--bg);
}
.breadcrumb {
  font-family: var(--font-head);
  font-size: .85rem; font-weight: 500;
  color: var(--muted); margin-bottom: 22px;
}
.breadcrumb a { color: var(--ink); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 8px; color: var(--line); }
.page-banner h1 { margin-bottom: 18px; }
.page-banner .lead { margin-bottom: 0; }

/* ---------------------------------------------------------------------
   ABOUT PAGE — timeline + values
   --------------------------------------------------------------------- */
.timeline { position: relative; margin-top: 10px; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px;
  width: 2px; background: var(--line);
}
.timeline-item {
  position: relative; padding-left: 44px; padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: 2px; top: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--accent);
}
.timeline-period {
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px;
}
.timeline-item h3 { font-size: 1.25rem; margin-bottom: 2px; }
.timeline-org { font-family: var(--font-head); font-weight: 500; color: var(--muted); font-size: .92rem; margin-bottom: 8px; }
.timeline-item p { color: var(--muted); margin-bottom: 0; }

.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform var(--ease), border-color var(--ease);
}
.value-card:hover { transform: translateY(-5px); border-color: rgba(37,99,235,.4); }
.value-card .v-num {
  font-family: var(--font-head); font-weight: 700; font-size: .9rem;
  color: var(--accent); letter-spacing: .12em; display: block; margin-bottom: 14px;
}
.value-card h3 { margin-bottom: 8px; }
.value-card p { color: var(--muted); margin-bottom: 0; font-size: .96rem; }

/* About headshot intro */
.about-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.about-intro .split-media img { aspect-ratio: 4 / 5; }

/* ---------------------------------------------------------------------
   SERVICES / RESUME PAGE
   --------------------------------------------------------------------- */
.resume-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 48px;
}
.experience-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.experience-item:last-child { border-bottom: 1px solid var(--line); }
.experience-when {
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  color: var(--accent);
}
.experience-when span { display: block; color: var(--muted); font-weight: 500; font-size: .85rem; margin-top: 4px; }
.experience-item h3 { font-size: 1.4rem; margin-bottom: 4px; }
.experience-role { font-family: var(--font-head); font-weight: 500; color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.experience-item ul { display: grid; gap: 9px; }
.experience-item ul li { display: flex; gap: 11px; color: var(--ink-soft); font-size: .96rem; }
.experience-item ul li::before { content: "▸"; color: var(--accent); flex: 0 0 auto; font-weight: 700; }

/* Skill bars */
.skillbars { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 44px; }
.skillbar h4 { font-size: .98rem; margin-bottom: 8px; display: flex; justify-content: space-between; }
.skillbar h4 span { color: var(--accent); font-weight: 600; }
.skillbar .track { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.skillbar .fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), #5d8bff); }

/* FAQ */
.faq { max-width: 800px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--ink);
  padding: 26px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.faq-q .ic { flex: 0 0 auto; font-size: 1.4rem; color: var(--accent); transition: transform var(--ease); line-height: 1; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--ease); }
.faq-a p { color: var(--muted); padding: 0 0 26px; margin: 0; max-width: 680px; }
.faq-item.open .faq-a { max-height: 280px; }

/* ---------------------------------------------------------------------
   CONTACT
   --------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-details { display: grid; gap: 18px; margin-top: 28px; }
.contact-details li { display: flex; gap: 14px; align-items: flex-start; }
.contact-details .ic {
  width: 44px; height: 44px; flex: 0 0 auto; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-size: 1.1rem;
}
.contact-details b { font-family: var(--font-head); color: var(--ink); display: block; font-size: .92rem; }
.contact-details span { font-size: .96rem; color: var(--muted); }
.contact-socials { display: flex; gap: 12px; margin-top: 30px; }
.contact-socials a {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--line); display: grid; place-items: center;
  color: var(--ink); font-size: 1rem; background: var(--surface);
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.contact-socials a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field label {
  display: block; font-family: var(--font-head); font-weight: 500;
  font-size: .9rem; color: var(--ink); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); transition: border-color var(--ease), box-shadow var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .error-msg { color: #d11a2a; font-size: .82rem; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d11a2a; }
.field.invalid .error-msg { display: block; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.form-status {
  display: none; margin-top: 18px; padding: 15px 18px; border-radius: var(--radius-sm);
  background: var(--accent-soft); border: 1px solid rgba(37,99,235,.3);
  color: var(--accent-dark); font-weight: 500;
}
.form-status.show { display: block; }

/* ---------------------------------------------------------------------
   FOOTER (shared)
   --------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.62); padding: 76px 0 28px; }
.footer-cta { text-align: center; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 44px; }
.footer-cta h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 22px; }
.footer-cta .btn { font-size: 1rem; padding: 16px 34px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px;
}
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand:hover { color: #fff; }
.site-footer .brand .logo-mark { background: var(--accent); }
.footer-about p { font-size: .95rem; color: rgba(255,255,255,.6); max-width: 300px; }
.footer-col h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,.62); padding: 5px 0; font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: 1rem; color: #fff;
  transition: background var(--ease);
}
.social a:hover { background: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .86rem; color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.7); }

/* ---------------------------------------------------------------------
   SCROLL-REVEAL
   --------------------------------------------------------------------- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.no-io .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 440px; }
  .featured { grid-template-columns: 1fr; }
  .featured-media { min-height: 280px; }
  .featured-body { padding: 36px; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .about-intro .split-media { max-width: 360px; }
  .roadmap { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .roadmap::before { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 74px 0; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 16px var(--gutter) 24px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity var(--ease), transform var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; gap: 30px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split-media { order: 0; }
  .skillbars { grid-template-columns: 1fr; }
  .experience-item { grid-template-columns: 1fr; gap: 12px; }
  .cta-band { padding: 52px 30px; }
  .form-card { padding: 30px 24px; }
}

@media (max-width: 480px) {
  :root { --gutter: 20px; }
  .stats-grid, .outcomes-grid { grid-template-columns: 1fr 1fr; }
  .roadmap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 28px; }
  .head-row, .resume-head { align-items: flex-start; }
}
