:root {
  color-scheme: light;
  --bg: #f6f8f4;
  --surface: #ffffff;
  --surface-muted: #e9efea;
  --ink: #102b35;
  --ink-soft: #51636a;
  --line: rgba(16, 43, 53, 0.14);
  --brand: #0e7482;
  --brand-strong: #095b68;
  --accent: #d6a737;
  --accent-soft: #f3e7c1;
  --navy: #0a2736;
  --navy-soft: #123b4c;
  --shadow: 0 24px 80px rgba(8, 34, 44, 0.12);
  --shadow-small: 0 12px 36px rgba(8, 34, 44, 0.09);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --container: min(1180px, calc(100% - 40px));
  --header-height: 76px;
  --font-sans: Inter, Aptos, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #081d26;
  --surface: #0e2a35;
  --surface-muted: #123540;
  --ink: #f1f7f4;
  --ink-soft: #b6c8c9;
  --line: rgba(231, 243, 239, 0.14);
  --brand: #51bdc4;
  --brand-strong: #75d3d4;
  --accent: #e2b64d;
  --accent-soft: #3b3627;
  --navy: #06171e;
  --navy-soft: #0e303e;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --shadow-small: 0 12px 36px rgba(0, 0, 0, 0.2);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  box-shadow: 0 8px 32px rgba(9, 39, 49, 0.06);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 0.83rem;
  letter-spacing: 0.08em;
  box-shadow: inset 0 -3px 0 var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  margin-left: auto;
}

.site-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 650;
  transition: color 180ms ease;
}

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

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  display: flex;
  gap: 8px;
}

.icon-button {
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  color: var(--ink);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.icon-button:hover {
  border-color: var(--brand);
  background: var(--surface);
  transform: translateY(-2px);
}

.theme-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.menu-toggle {
  display: none;
  align-content: center;
  gap: 4px;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 4px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: min(920px, 100svh);
  padding: calc(var(--header-height) + 92px) 0 80px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  opacity: 0.28;
  mask-image: linear-gradient(to bottom, #000, transparent 74%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.16;
  pointer-events: none;
}

.hero-orb-one {
  top: 14%;
  right: -120px;
  width: 420px;
  height: 420px;
  background: var(--brand);
}

.hero-orb-two {
  bottom: 18%;
  left: -90px;
  width: 240px;
  height: 240px;
  background: var(--accent);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(56px, 8vw, 112px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
}

h1 {
  max-width: 820px;
  margin-bottom: 28px;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  letter-spacing: -0.065em;
}

h1 span {
  color: var(--brand);
}

h2 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 4.2vw, 4.5rem);
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.hero-intro {
  max-width: 720px;
  margin: 0 0 34px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
}

.hero-intro strong {
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 720;
}

.hero-proof span {
  color: var(--brand);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-proof + .impact-strip {
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button span,
.text-link span {
  transition: transform 180ms ease;
}

.button:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.button:hover span,
.text-link:hover span {
  transform: translate(2px, -1px);
}

.button-primary {
  background: var(--brand-strong);
  color: #fff;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--brand) 28%, transparent);
}

.button-primary:hover {
  background: var(--brand);
  box-shadow: 0 16px 36px color-mix(in srgb, var(--brand) 35%, transparent);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--brand);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 4px;
  color: var(--ink);
  font-weight: 750;
  transition: transform 180ms ease, color 180ms ease;
}

.impact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 56px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
  box-shadow: var(--shadow-small);
}

.impact-strip div {
  padding: 20px 16px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
}

.impact-strip dt {
  color: var(--brand);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 850;
  letter-spacing: -0.04em;
}

.impact-strip dd {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  max-width: 410px;
  justify-self: end;
}

.portrait-frame {
  position: relative;
  padding: 26px;
}

.portrait-frame::before,
.portrait-frame::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
}

.portrait-frame::before {
  inset: 0;
  border: 1px solid color-mix(in srgb, var(--brand) 38%, transparent);
}

.portrait-frame::after {
  inset: 15%;
  border: 1px dashed color-mix(in srgb, var(--accent) 64%, transparent);
  transform: scale(1.35);
}

.portrait-backdrop {
  position: absolute;
  z-index: -1;
  inset: 10px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-soft), var(--surface-muted));
  box-shadow: var(--shadow);
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 1;
  border: 8px solid var(--surface);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.availability-badge {
  position: absolute;
  right: -20px;
  bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-small);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 750;
}

.availability-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #27a868;
  box-shadow: 0 0 0 5px rgba(39, 168, 104, 0.14);
}

.hero-note {
  max-width: 360px;
  margin: 26px auto 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  text-align: center;
}

.hero-note span {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section {
  padding: 120px 0;
}

.section-tinted {
  background: var(--surface-muted);
}

.section-heading {
  margin-bottom: 56px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, 0.65fr);
  align-items: end;
  gap: 48px;
}

.section-heading-row > p {
  margin: 0 0 10px;
  color: var(--ink-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(340px, 1.15fr);
  column-gap: clamp(48px, 8vw, 120px);
}

.about-copy {
  font-size: 1.04rem;
}

.about-copy p {
  margin-top: 0;
  color: var(--ink-soft);
}

.about-copy .lead-copy {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 580;
  line-height: 1.48;
}

.operating-model {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 44px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.operating-model article {
  min-height: 205px;
  padding: 28px;
  border-right: 1px solid var(--line);
  transition: background 180ms ease, transform 180ms ease;
}

.operating-model article:last-child {
  border-right: 0;
}

.operating-model article:hover {
  background: var(--surface-muted);
}

.operating-model article > span,
.skill-index {
  display: block;
  margin-bottom: 42px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.operating-model p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.focus-section {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.focus-section::before {
  position: absolute;
  top: -190px;
  left: 50%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 9%, transparent);
  content: "";
  filter: blur(4px);
  pointer-events: none;
}

.focus-section .container {
  position: relative;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.focus-card {
  display: flex;
  min-height: 780px;
  flex-direction: column;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow-small);
}

.focus-card-content {
  border-top: 4px solid var(--brand);
}

.focus-card-automation {
  border-top: 4px solid var(--accent);
}

.focus-card-heading {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.focus-number {
  margin: 0 0 52px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.focus-card h3 {
  max-width: 520px;
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  letter-spacing: -0.045em;
}

.focus-card-heading > p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.focus-path {
  display: grid;
  gap: 0;
  margin: 30px 0;
  padding: 0;
  list-style: none;
  counter-reset: focus-step;
}

.focus-path li {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.focus-path li:first-child {
  padding-top: 0;
}

.focus-path li:last-child {
  border-bottom: 0;
}

.focus-path span {
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.focus-card-automation .focus-path span {
  color: color-mix(in srgb, var(--accent) 88%, var(--ink));
}

.focus-path p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}

.focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.focus-tags li {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 720;
}

.timeline {
  position: relative;
}

.timeline::before {
  position: absolute;
  top: 10px;
  bottom: 12px;
  left: 19.8%;
  width: 1px;
  background: var(--line);
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(170px, 0.7fr) minmax(0, 2.7fr);
  gap: clamp(44px, 7vw, 96px);
  padding: 0 0 78px;
}

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

.timeline-marker {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: calc(19.8% - 6px);
  width: 13px;
  aspect-ratio: 1;
  border: 3px solid var(--surface-muted);
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}

.timeline-meta p {
  margin: 0 0 6px;
  color: var(--ink);
  font-weight: 780;
}

.timeline-meta span {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

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

.company,
.card-kicker,
.project-label {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline-content h3 {
  margin-bottom: 22px;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
}

.timeline-content ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.timeline-content li::marker {
  color: var(--brand);
}

.timeline-item-compact .timeline-content > p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.career-footprint {
  margin-top: 96px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
}

.career-footprint-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 34px;
}

.career-footprint-heading h3 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  letter-spacing: -0.05em;
}

.career-footprint-heading > p {
  margin: 0 0 8px;
  color: var(--ink-soft);
}

.company-domain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.company-domain-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.company-domain-card-primary {
  border-top: 4px solid var(--brand);
}

.company-domain-card h4 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.25;
}

.company-domain-card > p:not(.company-period),
.company-domain-card-intro > p:not(.company-period) {
  margin: 0 0 18px;
  color: var(--brand);
  font-weight: 760;
}

.company-domain-card > span {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.company-period {
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-domain-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(230px, 0.65fr) minmax(0, 1.35fr);
  gap: 46px;
}

.company-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.company-list li {
  display: grid;
  gap: 3px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.company-list strong {
  color: var(--ink);
  font-size: 0.85rem;
}

.company-list span {
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.domain-band {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  padding: 22px 26px;
  border-radius: var(--radius-md);
  background: var(--navy);
  color: #f5faf8;
}

.domain-band > p {
  margin: 0;
  color: #70c9ce;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.domain-band ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.domain-band li {
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #dce9e7;
  font-size: 0.76rem;
  font-weight: 700;
}

.dotnet-spotlight {
  margin-bottom: 18px;
  padding: clamp(30px, 5vw, 54px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: #f5faf8;
  box-shadow: var(--shadow);
}

.dotnet-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: 52px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.dotnet-mark {
  margin: 0 0 38px;
  color: #70c9ce;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}

.dotnet-intro .project-label {
  color: #70c9ce;
}

.dotnet-intro h3 {
  max-width: 690px;
  margin-bottom: 0;
  font-size: clamp(2rem, 3.6vw, 3.65rem);
  letter-spacing: -0.05em;
}

.dotnet-intro > p {
  margin: 0 0 6px;
  color: #b7c9ce;
}

.dotnet-capabilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 38px 0 30px;
  background: rgba(255, 255, 255, 0.14);
}

.dotnet-capabilities article {
  min-height: 210px;
  padding: 24px;
  background: var(--navy);
}

.dotnet-capabilities span {
  display: block;
  margin-bottom: 42px;
  color: #70c9ce;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dotnet-capabilities h4 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.dotnet-capabilities p {
  margin: 0;
  color: #a9bec4;
  font-size: 0.8rem;
  line-height: 1.55;
}

.dotnet-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dotnet-tags li {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #dce9e7;
  font-size: 0.72rem;
  font-weight: 700;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.skill-card {
  min-height: 310px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.skill-card:hover {
  border-color: color-mix(in srgb, var(--brand) 48%, var(--line));
  box-shadow: var(--shadow-small);
  transform: translateY(-5px);
}

.skill-card h3 {
  font-size: 1.65rem;
}

.skill-card p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.skill-card-wide {
  grid-column: 1 / -1;
  min-height: auto;
}

.skill-card-wide .skill-index {
  margin-bottom: 24px;
}

.section-dark {
  background: var(--navy);
  color: #f5faf8;
}

.section-dark .eyebrow,
.section-dark .project-label {
  color: #70c9ce;
}

.section-dark .section-heading-row > p {
  color: #b7c9ce;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.project-card {
  min-height: 350px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
}

.project-card:hover {
  border-color: rgba(112, 201, 206, 0.5);
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-5px);
}

.project-card-featured {
  grid-column: 1 / -1;
  min-height: 300px;
  background: linear-gradient(135deg, rgba(112, 201, 206, 0.12), rgba(255, 255, 255, 0.045));
}

.project-card h3 {
  max-width: 700px;
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
}

.project-card > p:not(.project-label) {
  max-width: 850px;
  color: #b7c9ce;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #dce9e7;
  font-size: 0.74rem;
  font-weight: 700;
}

.credentials-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.credentials-grid .section-heading {
  position: sticky;
  top: calc(var(--header-height) + 32px);
  margin: 0 40px 0 0;
}

.credentials-grid .section-heading h2 {
  font-size: clamp(2.5rem, 3.45vw, 3.65rem);
}

.credential-column {
  display: grid;
  gap: 18px;
}

.credential-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.credential-card-accent {
  background: var(--accent-soft);
}

.credential-card h3 {
  font-size: 1.35rem;
}

.credential-card > p:last-child,
.credential-card > p:not(.card-kicker) {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.credential-card .certification-lead {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.credential-card hr {
  margin: 26px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.credential-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.credential-list li {
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--surface-muted);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 720;
}

.recognition-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.recognition-card li::marker {
  color: var(--accent);
}

.recognition-showcase {
  grid-column: 1 / -1;
  margin-top: 44px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
}

.recognition-showcase-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 34px;
}

.recognition-showcase-heading h3 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  letter-spacing: -0.05em;
}

.recognition-showcase-heading > p {
  margin: 0 0 8px;
  color: var(--ink-soft);
}

.recognition-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.recognition-feature {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.recognition-media {
  display: grid;
  min-height: 430px;
  padding: 20px;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.recognition-media-award {
  background: #061a12;
}

.recognition-media-certificate {
  background: #f7f5f2;
}

.recognition-media img {
  width: 100%;
  height: 390px;
  object-fit: contain;
  transition: transform 240ms ease;
}

.recognition-media:hover img {
  transform: scale(1.018);
}

.recognition-feature-body {
  padding: clamp(28px, 4vw, 40px);
}

.recognition-feature-body h4 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.recognition-feature-body > p:not(.card-kicker) {
  margin: 0;
  color: var(--ink-soft);
}

.milestone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.milestone-tags li {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 720;
}

.contact-section {
  border-top: 1px solid var(--line);
  background: var(--surface-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(380px, 1.15fr);
  gap: clamp(56px, 9vw, 130px);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 570px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 42px;
}

.contact-links a {
  display: block;
  width: fit-content;
  color: var(--ink);
  font-weight: 720;
  overflow-wrap: anywhere;
}

.contact-links a span {
  display: block;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form {
  padding: clamp(28px, 5vw, 50px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field-group {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}

.field-group label {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 750;
}

.field-group input,
.field-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field-group input {
  height: 50px;
  padding: 0 14px;
}

.field-group textarea {
  min-height: 155px;
  padding: 12px 14px;
  resize: vertical;
}

.field-group input:focus,
.field-group textarea:focus {
  border-color: var(--brand);
  outline: 0;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent);
}

.contact-form .button {
  border: 0;
}

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

.form-status {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.form-status.is-error {
  color: #a33939;
}

:root[data-theme="dark"] .form-status.is-error {
  color: #ff9d9d;
}

.site-footer {
  padding: 56px 0 30px;
  background: var(--navy);
  color: #f5faf8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 38px;
}

.footer-brand .brand-mark {
  background: #f5faf8;
  color: var(--navy);
}

.footer-grid > div:first-child > p {
  margin: 14px 0 0;
  color: #a9bec4;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.9rem;
  font-weight: 720;
}

.footer-links a:hover {
  color: #70c9ce;
}

.copyright {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #839da5;
  font-size: 0.78rem;
}

.js .reveal {
  opacity: 1;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 0.82rem;
  }

  .brand-name {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.65fr);
    gap: 52px;
  }

  .credentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .credentials-grid .section-heading {
    position: static;
    grid-column: 1 / -1;
    margin: 0 0 36px;
  }

  .recognition-showcase-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
    --container: min(100% - 32px, 720px);
  }

  .brand-name {
    display: block;
  }

  .menu-toggle {
    display: grid;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 0;
    padding: 14px 16px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    box-shadow: var(--shadow-small);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 0;
    padding-top: calc(var(--header-height) + 72px);
  }

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

  .hero-visual {
    width: min(390px, 88%);
    justify-self: center;
  }

  .impact-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .section-heading-row,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .operating-model {
    grid-template-columns: repeat(2, 1fr);
  }

  .operating-model article:nth-child(2) {
    border-right: 0;
  }

  .operating-model article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section-heading-row {
    gap: 10px;
  }

  .timeline::before {
    left: 7px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-left: 40px;
  }

  .timeline-marker {
    left: 1px;
  }

  .timeline-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .skills-grid,
  .projects-grid,
  .focus-grid {
    grid-template-columns: 1fr;
  }

  .focus-card {
    min-height: auto;
  }

  .career-footprint-heading,
  .dotnet-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .company-domain-card-wide {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .dotnet-capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skill-card-wide,
  .project-card-featured {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  :root {
    --container: calc(100% - 24px);
  }

  body {
    font-size: 15px;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .brand-mark,
  .icon-button {
    width: 39px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 54px);
    padding-bottom: 64px;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .text-link {
    justify-content: center;
  }

  .impact-strip {
    margin-top: 42px;
  }

  .impact-strip div {
    padding: 16px 12px;
  }

  .portrait-frame {
    padding: 18px;
  }

  .availability-badge {
    right: 0;
    bottom: 10px;
  }

  .section {
    padding: 84px 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .operating-model {
    grid-template-columns: 1fr;
  }

  .operating-model article,
  .operating-model article:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .operating-model article:last-child {
    border-bottom: 0;
  }

  .operating-model article > span {
    margin-bottom: 28px;
  }

  .timeline-meta {
    display: block;
  }

  .timeline-content h3 {
    font-size: 1.55rem;
  }

  .skill-card,
  .project-card,
  .focus-card {
    min-height: 0;
  }

  .focus-path li {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .company-domain-grid,
  .company-list,
  .dotnet-capabilities {
    grid-template-columns: 1fr;
  }

  .company-domain-card-wide {
    grid-column: auto;
  }

  .domain-band {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .recognition-feature-grid {
    grid-template-columns: 1fr;
  }

  .recognition-media {
    min-height: 0;
  }

  .recognition-media img {
    height: auto;
    max-height: 540px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

  .footer-links {
    flex-wrap: wrap;
  }

  .copyright {
    grid-column: auto;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
