:root {
  color-scheme: light;
  --ink: #152238;
  --muted: #5b6677;
  --line: #d8ddd9;
  --paper: #f4f1ea;
  --surface: #fffdf8;
  --lime: #d4f66f;
  --violet: #5549e8;
  --violet-dark: #3c32bf;
  --aqua: #7be0d2;
  --shadow: 0 24px 70px rgba(21, 34, 56, 0.12);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(21, 34, 56, 0.14);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 13px;
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

nav a,
.site-footer a,
.text-link {
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

nav a {
  position: relative;
  color: var(--muted);
}

nav a:not(.nav-resume)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--violet);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

nav a:hover::after,
nav a:focus-visible::after,
nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-resume {
  padding: 9px 15px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  transition: background 180ms ease, color 180ms ease;
}

.nav-resume:hover,
.nav-resume:focus-visible {
  background: var(--ink);
  color: white;
}

.hero {
  display: grid;
  min-height: calc(100vh - 89px);
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.65fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
  padding: 90px 0 105px;
}

.eyebrow,
.section-kicker,
.card-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #36a566;
  box-shadow: 0 0 0 5px rgba(54, 165, 102, 0.14);
}

h1 {
  max-width: 850px;
  margin-bottom: 28px;
  font-size: clamp(3.35rem, 7.2vw, 6.8rem);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 0.98;
}

.highlight {
  position: relative;
  z-index: 0;
  display: inline-block;
}

.highlight::after {
  position: absolute;
  right: -0.03em;
  bottom: 0.03em;
  left: -0.03em;
  z-index: -1;
  height: 0.23em;
  border-radius: 999px;
  background: var(--lime);
  content: "";
  transform: rotate(-1deg);
}

.hero-intro {
  max-width: 730px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.55vw, 1.2rem);
  line-height: 1.7;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 780;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 12px 30px rgba(21, 34, 56, 0.18);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--surface);
}

.button-light {
  border-color: white;
  background: white;
  color: var(--ink);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.hero-panel {
  overflow: hidden;
  border: 1px solid rgba(21, 34, 56, 0.1);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-panel-top {
  position: relative;
  min-height: 260px;
  padding: 34px;
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.hero-panel-top::before,
.hero-panel-top::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.hero-panel-top::before {
  top: -75px;
  right: -55px;
  width: 210px;
  height: 210px;
  background: var(--lime);
}

.hero-panel-top::after {
  right: 54px;
  bottom: -80px;
  width: 150px;
  height: 150px;
  background: var(--violet);
  opacity: 0.9;
}

.hero-panel-top span,
.hero-panel-top strong,
.hero-panel-top p {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 250px;
}

.hero-panel-top span {
  margin-bottom: 70px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-panel-top strong {
  margin-bottom: 7px;
  font-size: 1.42rem;
  line-height: 1.15;
}

.hero-panel-top p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.signal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.signal-grid div {
  min-height: 136px;
  padding: 22px;
  border-top: 1px solid var(--line);
}

.signal-grid div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.signal-grid strong,
.signal-grid span {
  display: block;
}

.signal-grid strong {
  margin-bottom: 7px;
  font-size: 1.75rem;
  letter-spacing: -0.05em;
}

.signal-grid span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.proof-strip {
  padding: 23px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.proof-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.proof-list span {
  position: relative;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.proof-list span:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -27px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  content: "";
}

.section {
  padding: 112px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 54px;
}

.section-heading-row,
.split-heading {
  display: flex;
  max-width: none;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
}

.split-heading > div {
  max-width: 690px;
}

.split-heading > p {
  max-width: 390px;
  margin-bottom: 0;
  color: var(--muted);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.3rem, 4.7vw, 4.45rem);
  font-weight: 820;
  letter-spacing: -0.06em;
  line-height: 1.03;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle-grid article {
  min-height: 260px;
  padding: 28px 30px 30px 0;
}

.principle-grid article:not(:last-child) {
  margin-right: 30px;
  border-right: 1px solid var(--line);
}

.principle-grid span {
  display: block;
  margin-bottom: 68px;
  color: var(--violet);
  font-size: 11px;
  font-weight: 850;
}

.principle-grid h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.principle-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

.feature-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover,
.feature-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.feature-card-dark {
  position: relative;
  overflow: hidden;
  border-color: transparent;
  background: var(--ink);
  color: white;
}

.feature-card-dark::after {
  position: absolute;
  top: -90px;
  right: -55px;
  width: 250px;
  height: 250px;
  border: 55px solid var(--violet);
  border-radius: 50%;
  content: "";
  opacity: 0.85;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-card .card-label {
  align-self: stretch;
  margin-bottom: auto;
}

.feature-card-dark .card-label,
.feature-card-dark p {
  color: rgba(255, 255, 255, 0.64);
}

.feature-card h3 {
  max-width: 620px;
  margin-bottom: 15px;
  font-size: clamp(1.85rem, 3.2vw, 3.15rem);
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.feature-card p:not(.card-label) {
  max-width: 590px;
  margin-bottom: 32px;
  color: var(--muted);
}

.feature-card > span {
  font-size: 13px;
  font-weight: 800;
}

.experience-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: 90px;
}

.mini-timeline {
  border-top: 1px solid var(--line);
}

.mini-timeline article {
  display: grid;
  grid-template-columns: 110px 1fr;
  column-gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.mini-timeline time {
  grid-row: span 2;
  color: var(--violet);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-timeline h3,
.mini-timeline p {
  margin-bottom: 0;
}

.mini-timeline h3 {
  font-size: 1.1rem;
}

.mini-timeline p {
  color: var(--muted);
  font-size: 13px;
}

.mini-timeline .text-link {
  display: inline-block;
  margin-top: 28px;
}

.contact-band {
  background: var(--violet);
  color: white;
}

.contact-inner {
  display: flex;
  min-height: 330px;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding-block: 65px;
}

.contact-inner > div:first-child {
  max-width: 770px;
}

.contact-band .section-kicker {
  color: rgba(255, 255, 255, 0.62);
}

.contact-band h2 {
  font-size: clamp(2.35rem, 4.7vw, 4.5rem);
}

.site-footer {
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer div {
  display: flex;
  gap: 22px;
}

.page-hero {
  max-width: 1180px;
  padding-top: 115px;
  padding-bottom: 105px;
}

.page-hero h1 {
  max-width: 960px;
  margin-bottom: 28px;
}

.page-hero > p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.timeline {
  padding-top: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 60px;
  padding: 70px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: 0;
}

.timeline-meta time,
.timeline-meta span {
  display: block;
}

.timeline-meta time {
  margin-bottom: 6px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 850;
}

.timeline-meta span {
  color: var(--muted);
  font-size: 12px;
}

.timeline-content {
  max-width: 790px;
}

.timeline-content .card-label {
  margin-bottom: 8px;
}

.timeline-content h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}

.role-summary,
.case-lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.impact-list {
  padding: 0;
  margin: 30px 0;
  list-style: none;
}

.impact-list li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 25px;
}

.impact-list li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 9px;
  height: 2px;
  background: var(--violet);
  content: "";
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.case-list {
  padding-top: 0;
}

.case-study {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 40px;
  padding: 95px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 30px;
}

.case-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 850;
}

.case-main h2 {
  max-width: 900px;
  margin-bottom: 24px;
}

.case-main > .case-lead {
  max-width: 810px;
  margin-bottom: 48px;
}

.case-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.case-columns div {
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.case-columns h3 {
  margin-bottom: 9px;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.case-columns p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.case-study-personal {
  padding: 74px 40px;
  border: 0;
  border-radius: var(--radius);
  background: var(--lime);
}

.case-study-personal .case-number {
  background: var(--ink);
  color: white;
}

.case-study-personal .case-main > .case-lead {
  margin-bottom: 28px;
  color: #344054;
}

.about-hero {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 80px;
  align-items: end;
}

.about-hero h1 {
  margin-bottom: 0;
}

.about-hero > p:not(.eyebrow) {
  margin-bottom: 8px;
}

.story-grid,
.two-column-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 90px;
}

.prose {
  max-width: 680px;
}

.prose p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.85;
}

.section-copy {
  max-width: 450px;
  margin-top: 22px;
  color: var(--muted);
}

.link-list {
  border-top: 1px solid var(--line);
}

.link-list a,
.link-list > div {
  display: grid;
  grid-template-columns: 62px 1fr 20px;
  gap: 18px;
  align-items: center;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.link-list span {
  color: var(--violet);
  font-size: 11px;
  font-weight: 850;
}

.link-list strong {
  font-size: 14px;
}

.link-list b {
  font-weight: 500;
}

.credential-group {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.credential-group:last-child {
  border-bottom: 1px solid var(--line);
}

.credential-group h3 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.credential-group p {
  margin-bottom: 0;
  color: var(--muted);
}

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 4px;
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 620px;
  }

  .proof-list {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .proof-list span::after {
    display: none;
  }

  .split-heading,
  .section-heading-row,
  .contact-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-grid,
  .experience-preview,
  .about-hero,
  .story-grid,
  .two-column-section {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .feature-card {
    min-height: 380px;
  }

  .timeline-item {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 36px;
  }

  .case-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 740px) {
  .shell {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  nav {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  nav a {
    flex: 0 0 auto;
    font-size: 12px;
  }

  .nav-resume {
    padding: 6px 12px;
  }

  .hero {
    padding: 72px 0 82px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
    letter-spacing: -0.068em;
  }

  .highlight {
    display: inline;
  }

  .hero-panel-top {
    min-height: 230px;
  }

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

  .signal-grid div {
    min-height: auto;
  }

  .signal-grid div:nth-child(odd) {
    border-right: 0;
  }

  .section {
    padding: 80px 0;
  }

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

  .principle-grid article {
    min-height: auto;
    padding: 24px 0;
  }

  .principle-grid article:not(:last-child) {
    margin-right: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principle-grid span {
    margin-bottom: 36px;
  }

  .feature-card {
    min-height: 350px;
  }

  .mini-timeline article {
    grid-template-columns: 1fr;
  }

  .mini-timeline time {
    grid-row: auto;
    margin-bottom: 8px;
  }

  .contact-inner {
    min-height: 360px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .page-hero {
    padding-top: 78px;
    padding-bottom: 76px;
  }

  .timeline-item,
  .case-study {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .timeline-item {
    padding: 55px 0;
  }

  .case-study {
    padding: 70px 0;
  }

  .case-study-personal {
    padding: 38px 28px;
  }

  .link-list a,
  .link-list > div {
    grid-template-columns: 52px 1fr 16px;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
