:root {
  --ink: #101216;
  --muted: #5f6875;
  --paper: #f7f5ef;
  --panel: #ffffff;
  --line: #ddd8ce;
  --cyan: #13a8b8;
  --amber: #d89132;
  --green: #6c8b52;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.38;
}
a { color: inherit; }

.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16,18,22,.95), rgba(16,18,22,.72) 48%, rgba(16,18,22,.46)),
    url("hero-marketing-ai.webp") center / cover no-repeat;
  transform: scale(1.02);
}
.topbar,
.hero-content,
.section,
.cta {
  position: relative;
  z-index: 1;
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}
.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
}
.brand {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.46);
  border-radius: 50%;
  color: #fff;
  font-size: .86rem;
  font-weight: 900;
  text-decoration: none;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255,255,255,.78);
  font-size: .84rem;
}
.nav-links a { text-decoration: none; }

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 610px) minmax(300px, 400px);
  justify-content: space-between;
  align-items: center;
  gap: 42px;
  padding: 12px 0 20px;
}
.hero-copy { align-self: center; }
.eyebrow {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-content h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(1.85rem, 3.45vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: 0;
}
.lead {
  max-width: 610px;
  margin: 13px 0 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(.96rem, 1.35vw, 1.08rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 14px;
  font: inherit;
  font-size: .9rem;
  font-weight: 820;
  text-decoration: none;
  white-space: nowrap;
}
.button-primary,
.hero-actions .button-primary,
.cta .button-primary {
  background: #fff;
  color: var(--ink);
}
.button-secondary {
  background: rgba(255,255,255,.94);
  border-color: var(--line);
  color: var(--ink);
}
.button-quiet {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.36);
  color: #fff;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 0;
}
.hero-meta div {
  padding: 9px 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(16,18,22,.34);
}
.hero-meta dt {
  color: var(--amber);
  font-size: .64rem;
  font-weight: 850;
  text-transform: uppercase;
}
.hero-meta dd {
  margin: 2px 0 0;
  color: rgba(255,255,255,.86);
  font-size: .78rem;
}
.profile-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-width: 0;
}
.profile-visual img {
  display: block;
  width: min(100%, 370px);
  max-height: 500px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 24px 30px rgba(0,0,0,.38));
}

.section { padding: 20px 0; }
.section.dense { padding-top: 18px; }
.section + .section { border-top: 1px solid var(--line); }
.intro {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.intro > p,
.cta p,
.skills-text {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}
.section-heading h2,
.cta h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 2.35rem);
  line-height: 1.08;
}
.pillars,
.process,
.education-grid {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.pillars { grid-template-columns: repeat(5, minmax(145px, 1fr)); }
.process { grid-template-columns: repeat(5, minmax(125px, 1fr)); counter-reset: step; }
.education-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pillars article,
.timeline article,
.education-grid article,
.two-columns article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
}
.pillars span { color: var(--amber); font-weight: 900; }
h3 { margin: 6px 0 5px; line-height: 1.2; }
.pillars p,
.timeline p,
.education-grid p,
.two-columns p {
  margin: 0;
  color: var(--muted);
}
.process div {
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f0ece1);
  font-weight: 820;
}
.process div::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 7px;
  color: var(--green);
  font-size: .72rem;
  font-weight: 900;
}
.split {
  display: grid;
  grid-template-columns: minmax(220px, .42fr) minmax(0, 1fr);
  gap: 22px;
}
.experience {
  display: grid;
  gap: 12px;
}
.experience .section-heading h2 {
  max-width: none;
}
.timeline { display: grid; gap: 8px; }
time {
  display: block;
  color: var(--cyan);
  font-size: .76rem;
  font-weight: 850;
  text-transform: uppercase;
}
.skills-text {
  max-width: 1040px;
  margin-top: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.compact { padding-bottom: 28px; }
.two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
  padding: 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
}
.cta .eyebrow { color: var(--amber); }
.cta p {
  max-width: 680px;
  margin-top: 10px;
  color: rgba(255,255,255,.72);
}
.cta-actions { display: flex; flex-direction: column; gap: 7px; }

@media (max-width: 920px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    gap: 22px;
  }
  .profile-visual img {
    width: min(100%, 280px);
    max-height: 380px;
  }
  .pillars,
  .process,
  .education-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .topbar { grid-template-columns: auto 1fr; }
  .topbar .button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .intro,
  .split,
  .two-columns,
  .cta,
  .hero-content,
  .hero-meta,
  .pillars,
  .process,
  .education-grid {
    grid-template-columns: 1fr;
  }
  .topbar,
  .hero-content,
  .section,
  .cta {
    width: min(100% - 28px, 1140px);
  }
  .nav-links { display: none; }
  .hero-content { padding: 20px 0 26px; }
  .profile-visual { order: -1; }
  .profile-visual img {
    width: min(78vw, 235px);
    max-height: 265px;
  }
  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .button {
    white-space: normal;
    text-align: center;
  }
  .section { padding: 18px 0; }
  .cta {
    margin-bottom: 16px;
    padding: 18px;
  }
}
