:root {
  color-scheme: light;
  --ink: #121418;
  --muted: #66717d;
  --line: #d7e3e0;
  --paper: #eef5f2;
  --panel: #ffffff;
  --teal: #0a8f8a;
  --green: #26a269;
  --blue: #2f5f8f;
  --red: #a84f49;
  --gold: #b9832f;
  --violet: #596173;
  --shadow: 0 30px 80px rgba(22, 27, 34, 0.14);
  --soft-shadow: 0 14px 34px rgba(22, 27, 34, 0.075);
  --content: 1180px;
  --emph: #121418;
  --on-emph: #ffffff;
  --surf: 255, 255, 255;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(18, 20, 24, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 20, 24, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 34px 34px;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 12px;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  background: var(--emph);
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

main {
  overflow: hidden;
}

.page-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 60;
  height: 3px;
  background: rgba(18, 20, 24, 0.08);
}

.page-progress i {
  display: block;
  width: var(--scroll-progress, 0%);
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--blue));
  box-shadow: 0 0 18px rgba(10, 143, 138, 0.42);
  transition: width 80ms linear;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  background: rgba(238, 244, 241, 0.92);
  border-bottom: 1px solid rgba(21, 23, 26, 0.08);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 26px rgba(22, 27, 34, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--emph), #26333a);
  border-radius: 6px;
  transition: transform 220ms ease;
}

.brand:hover .brand-mark {
  transform: rotate(-4deg) scale(1.04);
}

.brand-text,
.nav-links a,
.eyebrow,
.timeline time,
.tag,
.credential-list span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-text {
  color: var(--muted);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(var(--surf), 0.64);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.menu-toggle span {
  display: block;
  width: 14px;
  height: 2px;
  background: var(--emph);
  border-radius: 999px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

.nav-links a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
}

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

.nav-links a:hover {
  color: var(--ink);
}

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

.nav-links a.is-active {
  color: var(--ink);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 81px);
  padding: clamp(40px, 7vw, 86px) clamp(18px, 5vw, 64px) clamp(30px, 5vw, 62px);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(112deg, rgba(10, 143, 138, 0.22), transparent 34%),
    linear-gradient(290deg, rgba(189, 123, 23, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(var(--surf), 0.56), rgba(var(--surf), 0));
}

.hero-copy {
  animation: fadeLift 700ms ease both;
}

.hero .dashboard-visual {
  animation: panelDrift 780ms 120ms ease both, panelFloat 7s 1000ms ease-in-out infinite;
}

.section-grid,
.section-heading,
.method-shell,
.value-shell,
.project-grid,
.game-shell,
.timeline,
.education-shell,
.credential-list,
.contact-section {
  width: min(100%, var(--content));
  margin-inline: auto;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 860px;
  font-size: clamp(3rem, 7.4vw, 7.1rem);
  text-wrap: balance;
}

.hero-role {
  margin: 18px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 700;
}

.hero-summary,
.section-grid p,
.contact-section p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.hero-summary {
  max-width: 760px;
  margin: 22px 0 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  padding: 9px 12px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(var(--surf), 0.58);
  border: 1px solid rgba(10, 143, 138, 0.18);
  border-radius: 999px;
  box-shadow: var(--soft-shadow);
}

.availability-pill span {
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(38, 162, 105, 0.5);
  animation: availabilityPulse 1800ms ease-out infinite;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.profile-snapshot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 820px;
  margin-top: 18px;
}

.profile-snapshot article {
  padding: 14px;
  background: rgba(var(--surf), 0.54);
  border: 1px solid rgba(18, 20, 24, 0.1);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.profile-snapshot span {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-snapshot strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.35;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--soft-shadow);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--emph), #26333a);
}

.button.secondary {
  background: rgba(var(--surf), 0.45);
}

.button.ghost {
  color: var(--muted);
  background: rgba(var(--surf), 0.28);
  border-color: rgba(18, 20, 24, 0.16);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 780px;
  margin-top: 32px;
}

.hero-proof article {
  position: relative;
  min-height: 118px;
  padding: 16px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(var(--surf), 0.84), rgba(var(--surf), 0.64)),
    var(--panel);
  border: 1px solid rgba(18, 20, 24, 0.1);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-proof article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.hero-proof article::after,
.project-card::after,
.credential-card::after,
.timeline article::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(var(--surf), 0.55), transparent 28%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.hero-proof article.is-tilting::after,
.project-card.is-tilting::after,
.credential-card.is-tilting::after,
.timeline article.is-tilting::after {
  opacity: 0.55;
}

.hero-proof strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1;
}

.hero-proof span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.dashboard-visual {
  width: 100%;
  max-width: 560px;
  justify-self: end;
  position: relative;
  padding: 20px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(var(--surf), 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(var(--surf), 0.06) 1px, transparent 1px),
    linear-gradient(135deg, rgba(10, 143, 138, 0.28), transparent 40%),
    linear-gradient(160deg, #111417 0%, #202b30 62%, #2d3330 100%);
  background-size: 26px 26px, 26px 26px, auto, auto;
  border: 1px solid rgba(var(--surf), 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.dashboard-visual::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 82px;
  height: 82px;
  content: "";
  border-right: 2px solid rgba(var(--surf), 0.26);
  border-bottom: 2px solid rgba(var(--surf), 0.26);
}

.visual-topline,
.flow-map,
.signal-panel div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.visual-topline {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.visual-topline strong {
  color: #fff;
}

.ops-score {
  display: grid;
  grid-template-columns: minmax(145px, 0.58fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 22px;
}

.score-ring {
  position: relative;
  display: grid;
  min-height: 154px;
  place-items: center;
  background: rgba(var(--surf), 0.08);
  border: 1px solid rgba(var(--surf), 0.12);
  border-radius: 8px;
}

.score-ring svg {
  width: 122px;
  height: 122px;
  transform: rotate(-90deg);
}

.score-ring circle {
  fill: none;
  stroke-width: 10;
}

.ring-bg {
  stroke: rgba(var(--surf), 0.14);
}

.ring-fg {
  stroke: var(--teal);
  stroke-dasharray: 301.59;
  stroke-dashoffset: 42.22;
  stroke-linecap: round;
  animation: ringDraw 1200ms ease both;
}

.score-ring::after {
  position: absolute;
  inset: 26px;
  content: "";
  border: 1px dashed rgba(var(--surf), 0.16);
  border-radius: 50%;
  animation: slowSpin 18s linear infinite;
}

.score-ring div {
  position: absolute;
  display: grid;
  place-items: center;
  text-align: center;
}

.score-ring strong {
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
}

.score-ring strong::after {
  content: "%";
  font-size: 1rem;
}

.score-ring span,
.score-copy span,
.impact-grid span,
.impact-grid small,
.pipeline-step p {
  color: rgba(255, 255, 255, 0.68);
}

.score-ring span,
.score-copy span,
.impact-grid span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.score-copy {
  min-height: 154px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(var(--surf), 0.12), rgba(var(--surf), 0.05));
  border: 1px solid rgba(var(--surf), 0.12);
  border-radius: 8px;
}

.score-copy strong {
  display: block;
  margin-top: 14px;
  color: #fff;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.12;
}

.pipeline-map {
  display: grid;
  grid-template-columns: 1fr 20px 1fr 20px 1fr 20px 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 18px;
}

.pipeline-step {
  position: relative;
  min-height: 128px;
  padding: 14px;
  overflow: hidden;
  background: rgba(var(--surf), 0.08);
  border: 1px solid rgba(var(--surf), 0.12);
  border-radius: 8px;
}

.pipeline-step::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  animation: stepLoad 900ms ease both;
}

.pipeline-step:nth-of-type(2)::before {
  animation-delay: 140ms;
}

.pipeline-step:nth-of-type(3)::before {
  animation-delay: 280ms;
}

.pipeline-step:nth-of-type(4)::before {
  animation-delay: 420ms;
}

.pipeline-step span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
}

.pipeline-step strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  line-height: 1.2;
}

.pipeline-step p {
  margin: 8px 0 0;
  font-size: 0.76rem;
  line-height: 1.45;
}

.pipeline-map > i {
  position: relative;
  align-self: center;
  height: 2px;
  overflow: hidden;
  background: rgba(var(--surf), 0.14);
}

.pipeline-map > i::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  animation: dataPulse 1600ms ease-in-out infinite;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.impact-grid article {
  min-height: 132px;
  padding: 14px;
  background: rgba(var(--surf), 0.08);
  border: 1px solid rgba(var(--surf), 0.12);
  border-radius: 8px;
  transition: transform 180ms ease, background 180ms ease;
}

.pipeline-step,
.score-copy,
.score-ring {
  transition: transform 180ms ease, background 180ms ease;
}

.impact-grid article:hover,
.pipeline-step:hover,
.score-copy:hover,
.score-ring:hover {
  transform: translateY(-2px);
  background: rgba(var(--surf), 0.13);
}

.impact-grid strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}

.impact-grid article:not(:last-child) strong::after {
  content: "%";
  font-size: 0.95rem;
}

.impact-grid small {
  display: block;
  margin-top: 6px;
  font-size: 0.76rem;
}

.impact-bar {
  height: 7px;
  margin-top: 16px;
  overflow: hidden;
  background: rgba(var(--surf), 0.16);
  border-radius: 999px;
}

.impact-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: inherit;
  transform-origin: left;
  animation: growBar 1050ms ease both;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.metric-grid article,
.signal-panel {
  background: rgba(var(--surf), 0.09);
  border: 1px solid rgba(var(--surf), 0.12);
  border-radius: 8px;
}

.metric-grid article {
  min-height: 132px;
  padding: 14px;
}

.metric-grid span,
.signal-panel,
.flow-map {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
}

.metric-grid strong {
  display: block;
  min-height: 42px;
  margin-top: 10px;
  line-height: 1.35;
}

.bar {
  height: 7px;
  margin-top: 24px;
  overflow: hidden;
  background: rgba(var(--surf), 0.16);
  border-radius: 999px;
}

.bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), #f1b84b);
  border-radius: inherit;
  transform-origin: left;
  animation: growBar 950ms ease both;
}

.flow-map {
  flex-wrap: wrap;
  margin: 18px 0;
  padding: 16px;
  background: rgba(0, 0, 0, 0.24);
  border-radius: 8px;
}

.flow-map span {
  padding: 8px 10px;
  color: #fff;
  background: rgba(var(--surf), 0.1);
  border-radius: 6px;
}

.signal-panel {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.metric-grid article,
.flow-map span,
.signal-panel div {
  transition: transform 180ms ease, background 180ms ease;
}

.metric-grid article:hover,
.flow-map span:hover,
.signal-panel div:hover {
  transform: translateY(-2px);
  background: rgba(var(--surf), 0.14);
}

.signal {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-right: auto;
  border-radius: 50%;
}

.signal.ok {
  background: var(--green);
}

.signal.live {
  background: var(--blue);
}

.signal.review {
  background: var(--gold);
}

.section {
  padding: clamp(72px, 9vw, 124px) clamp(18px, 5vw, 64px);
}

.compact-section {
  padding-block: clamp(50px, 6vw, 78px);
}

.band {
  background:
    linear-gradient(180deg, rgba(var(--surf), 0.94), rgba(var(--surf), 0.9)),
    var(--panel);
  border-block: 1px solid var(--line);
}

.intro-band {
  padding-block: clamp(52px, 6vw, 78px);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
}

.profile-copy {
  display: grid;
  gap: 22px;
}

.profile-copy p {
  margin: 0;
}

.profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-stats span {
  padding: 10px 12px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(10, 143, 138, 0.1);
  border: 1px solid rgba(10, 143, 138, 0.16);
  border-radius: 999px;
}

.stack-section {
  padding: 18px 0;
  overflow: hidden;
  background: var(--emph);
  border-block: 1px solid rgba(var(--surf), 0.08);
}

.stack-track {
  display: flex;
  width: max-content;
  gap: 10px;
  padding-left: max(18px, calc((100vw - var(--content)) / 2));
  animation: stackGlide 42s linear infinite;
}

.stack-track:hover {
  animation-play-state: paused;
}

.stack-track span {
  flex: 0 0 auto;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(var(--surf), 0.08);
  border: 1px solid rgba(var(--surf), 0.12);
  border-radius: 999px;
}

.method-section {
  background:
    linear-gradient(180deg, rgba(var(--surf), 0.72), rgba(var(--surf), 0.44)),
    var(--paper);
}

.method-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.unified-method {
  align-items: center;
}

.method-intro {
  max-width: 540px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.method-results {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.method-steps article {
  position: relative;
  min-height: 210px;
  padding: clamp(18px, 2.4vw, 24px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(10, 143, 138, 0.08), transparent 44%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.method-steps article::after {
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 86px;
  height: 86px;
  content: "";
  border: 1px solid rgba(10, 143, 138, 0.18);
  border-radius: 50%;
}

.method-steps article:hover {
  transform: translateY(-5px);
  border-color: rgba(10, 143, 138, 0.32);
  box-shadow: var(--shadow);
}

.method-steps span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  background: var(--emph);
  border-radius: 8px;
}

.method-steps h3 {
  margin: 34px 0 0;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.22;
}

.method-steps p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.value-section {
  background:
    linear-gradient(180deg, rgba(238, 244, 241, 0), rgba(var(--surf), 0.86)),
    var(--paper);
}

.value-shell {
  padding: clamp(22px, 4vw, 38px);
  background:
    linear-gradient(135deg, rgba(18, 20, 24, 0.96), rgba(35, 48, 53, 0.94)),
    var(--ink);
  border: 1px solid rgba(var(--surf), 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section-heading.compact {
  width: 100%;
  margin-bottom: 26px;
}

.value-shell .eyebrow,
.value-shell h2 {
  color: #fff;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.value-grid article {
  min-height: 210px;
  padding: 20px;
  background: rgba(var(--surf), 0.08);
  border: 1px solid rgba(var(--surf), 0.12);
  border-radius: 8px;
  transition: transform 180ms ease, background 180ms ease;
}

.value-grid article:hover {
  transform: translateY(-4px);
  background: rgba(var(--surf), 0.12);
}

.value-grid span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.value-grid h3 {
  margin: 42px 0 0;
  color: #fff;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.2;
}

.value-grid p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.section h2 {
  max-width: 850px;
  font-size: clamp(2rem, 4vw, 4rem);
  text-wrap: balance;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(26px, 4vw, 46px);
}

.timeline,
.credential-list {
  display: grid;
  gap: 18px;
}

.diagnostic-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
  background:
    linear-gradient(135deg, rgba(10, 143, 138, 0.12), rgba(var(--surf), 0.72) 42%),
    var(--panel);
  border-block: 1px solid var(--line);
}

.diagnostic-copy {
  position: sticky;
  top: 96px;
}

.diagnostic-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
}

.diagnostic-copy p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

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

.experience-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, var(--content));
  margin: clamp(20px, 4vw, 36px) auto 18px;
}

.experience-summary article,
.details-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.experience-summary article {
  min-height: 190px;
  padding: clamp(18px, 2.4vw, 24px);
}

.experience-summary span {
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.experience-summary strong {
  display: block;
  margin-top: 18px;
  font-size: 1.15rem;
  line-height: 1.25;
}

.experience-summary p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.details-panel {
  width: min(100%, var(--content));
  margin: 18px auto 0;
  overflow: hidden;
}

.details-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 0 20px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.details-panel summary::-webkit-details-marker {
  display: none;
}

.details-panel summary::after {
  content: "+";
  color: var(--teal);
  font-size: 1.35rem;
  line-height: 1;
}

.details-panel[open] summary::after {
  content: "-";
}

.details-panel .timeline,
.details-panel .credential-list {
  width: auto;
  margin: 0;
  padding: 0 18px 18px;
}

.client-value-section {
  background:
    linear-gradient(135deg, rgba(10, 143, 138, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(var(--surf), 0.92), rgba(var(--surf), 0.82)),
    var(--paper);
  color: var(--ink);
  border-block: 1px solid var(--line);
}

.client-value-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: start;
  width: min(100%, var(--content));
  margin-inline: auto;
}

.client-value-copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

.client-value-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 2.75rem);
  line-height: 1.08;
}

.client-value-copy p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.client-value-copy .button {
  justify-self: start;
}

.client-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.client-benefits article {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 112px;
  padding: 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(10, 143, 138, 0.08), transparent 48%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.client-benefits article::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  height: auto;
  content: "";
  background: linear-gradient(180deg, var(--teal), var(--gold));
}

.client-benefits span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  background: rgba(185, 131, 47, 0.1);
  border: 1px solid rgba(185, 131, 47, 0.18);
  border-radius: 50%;
}

.client-benefits h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.22;
}

.client-benefits p {
  grid-column: 2;
  margin: -6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.capability-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(100%, var(--content));
  margin: clamp(20px, 4vw, 34px) auto 0;
}

.capability-strip span {
  padding: 10px 12px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(10, 143, 138, 0.1);
  border: 1px solid rgba(10, 143, 138, 0.16);
  border-radius: 999px;
}

.career-arc {
  display: grid;
  grid-template-columns: max-content 1fr max-content 1fr max-content 1fr max-content;
  gap: 12px;
  align-items: center;
  width: min(100%, var(--content));
  margin: 0 auto clamp(24px, 4vw, 42px);
}

.career-arc span {
  padding: 10px 12px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(var(--surf), 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--soft-shadow);
}

.career-arc i {
  height: 2px;
  overflow: hidden;
  background: rgba(18, 20, 24, 0.12);
}

.career-arc i::after {
  display: block;
  width: 80px;
  height: 100%;
  content: "";
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  animation: dataPulse 1600ms ease-in-out infinite;
}

.experience-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: stretch;
  width: min(100%, var(--content));
  margin: 0 auto clamp(28px, 5vw, 58px);
}

.experience-gallery,
.experience-copy {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.experience-gallery {
  display: grid;
  gap: 12px;
  padding: 12px;
}

.gallery-frame {
  position: relative;
  min-height: clamp(320px, 42vw, 520px);
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(10, 143, 138, 0.18), transparent 42%),
    linear-gradient(160deg, #14181d, #26333a);
  border-radius: 8px;
}

.gallery-frame::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.58));
}

.gallery-frame::before {
  position: absolute;
  inset: 18px;
  z-index: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  content: "Delitruck gallery";
  border: 1px dashed rgba(var(--surf), 0.18);
  border-radius: 8px;
}

.gallery-frame img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transform: scale(1.01);
  transition: opacity 280ms ease, transform 560ms ease;
}

.gallery-frame img.is-switching {
  opacity: 0;
  transform: scale(1.045);
}

.gallery-frame img.is-missing {
  display: none;
}

.gallery-frame figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 3;
  padding: 12px 14px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
  background: rgba(18, 20, 24, 0.7);
  border: 1px solid rgba(var(--surf), 0.16);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.gallery-controls {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.gallery-controls button {
  min-width: 62px;
  min-height: 36px;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(18, 20, 24, 0.58);
  border: 1px solid rgba(var(--surf), 0.18);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  transition: transform 160ms ease, background 160ms ease;
}

.gallery-controls button:hover {
  transform: translateY(-2px);
  background: rgba(18, 20, 24, 0.78);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gallery-thumbs button {
  position: relative;
  min-height: 92px;
  padding: 0;
  overflow: hidden;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-weight: 900;
  background: var(--emph);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.gallery-thumbs button img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 160ms ease, transform 280ms ease;
}

.gallery-thumbs button span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  z-index: 1;
  padding: 7px 8px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(18, 20, 24, 0.62);
  border: 1px solid rgba(var(--surf), 0.14);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.gallery-thumbs button::after {
  position: absolute;
  right: 10px;
  bottom: 8px;
  left: 10px;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.gallery-thumbs button:hover,
.gallery-thumbs button.is-active {
  transform: translateY(-2px);
  border-color: rgba(10, 143, 138, 0.42);
  background: var(--emph);
}

.gallery-thumbs button:hover img,
.gallery-thumbs button.is-active img {
  opacity: 1;
  transform: scale(1.04);
}

.gallery-thumbs button.is-active::after {
  transform: scaleX(1);
}

.experience-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 42px);
}

.experience-copy h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  line-height: 1.04;
  text-wrap: balance;
}

.experience-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.experience-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.experience-points span {
  padding: 9px 11px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(10, 143, 138, 0.1);
  border: 1px solid rgba(10, 143, 138, 0.18);
  border-radius: 999px;
}

.experience-metrics {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.experience-metrics article {
  padding: 14px;
  background: rgba(18, 20, 24, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.experience-metrics strong {
  display: block;
  color: var(--ink);
  line-height: 1.2;
}

.experience-metrics span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.education-section {
  position: relative;
  background:
    linear-gradient(135deg, rgba(10, 143, 138, 0.08), transparent 38%),
    linear-gradient(290deg, rgba(47, 95, 143, 0.08), transparent 32%);
}

.education-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

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

.education-grid article {
  position: relative;
  min-height: 230px;
  padding: clamp(20px, 3vw, 28px);
  overflow: hidden;
  background: rgba(var(--surf), 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.education-grid article::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.education-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 143, 138, 0.34);
  box-shadow: var(--shadow);
}

.education-grid span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.education-grid h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.22;
}

.education-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.education-note {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(10, 143, 138, 0.15), rgba(47, 95, 143, 0.1)),
    rgba(var(--surf), 0.9) !important;
}

.education-note span {
  color: var(--blue);
}

.education-note h3 {
  color: var(--ink);
}

.education-note p {
  color: var(--muted);
}

.timeline article,
.credential-list article,
.project-card,
.contact-card,
.game-shell,
.game-stage {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.timeline article {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
  gap: 20px;
  padding: clamp(20px, 3vw, 30px);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.timeline article::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  content: "";
  background: linear-gradient(180deg, var(--teal), var(--blue));
}

.timeline article:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.timeline-feature {
  background:
    linear-gradient(135deg, rgba(10, 143, 138, 0.12), rgba(189, 123, 23, 0.08)),
    var(--panel) !important;
  border-color: rgba(10, 143, 138, 0.24) !important;
}

.timeline-feature::before {
  background: linear-gradient(180deg, var(--gold), var(--teal)) !important;
}

.timeline-compact {
  min-height: auto;
  opacity: 0.86;
}

.timeline-compact h3 {
  font-size: 0.98rem;
}

.timeline time {
  color: var(--teal);
}

.timeline h3,
.project-card h3,
.credential-list h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.timeline p,
.project-card p,
.credential-list p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.project-focus {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  width: min(100%, var(--content));
  margin: 0 auto 18px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(10, 143, 138, 0.1), rgba(47, 95, 143, 0.08)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.project-focus span {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-focus strong {
  line-height: 1.45;
}

.project-card {
  position: relative;
  min-height: 260px;
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(10, 143, 138, 0.055), transparent 42%),
    var(--panel);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--blue));
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(10, 143, 138, 0.34);
  box-shadow: var(--shadow);
}

.project-card h3 {
  max-width: 420px;
  font-size: clamp(1.1rem, 2vw, 1.38rem);
}

.project-card p {
  max-width: 520px;
}

.project-card small {
  display: block;
  margin-top: 22px;
  padding-top: 16px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.45;
  border-top: 1px solid var(--line);
}

.game-section {
  background:
    linear-gradient(135deg, rgba(10, 143, 138, 0.08), transparent 40%),
    var(--paper);
  color: var(--ink);
  border-block: 1px solid var(--line);
}

.game-disclosure {
  width: min(100%, var(--content));
  margin-inline: auto;
}

.game-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 118px;
  padding: clamp(18px, 3vw, 28px);
  cursor: pointer;
  list-style: none;
  background:
    linear-gradient(135deg, rgba(10, 143, 138, 0.1), rgba(47, 95, 143, 0.06)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.game-disclosure summary::-webkit-details-marker {
  display: none;
}

.game-disclosure summary span {
  display: grid;
  gap: 8px;
}

.game-disclosure summary small {
  color: var(--gold);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-disclosure summary strong {
  color: var(--ink);
  font-size: clamp(1.6rem, 4vw, 3.3rem);
  line-height: 1;
}

.game-disclosure summary em {
  display: inline-grid;
  min-width: 92px;
  min-height: 44px;
  place-items: center;
  color: var(--ink);
  font-style: normal;
  font-weight: 900;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border-radius: 6px;
}

.game-disclosure[open] summary {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.game-disclosure[open] summary em {
  background: linear-gradient(135deg, var(--emph), #26333a);
}

.game-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(340px, 1.24fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: stretch;
  padding: clamp(18px, 3vw, 28px);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(10, 143, 138, 0.08), rgba(47, 95, 143, 0.04)),
    var(--panel);
  border-color: var(--line);
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.game-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
}

.game-copy h2 {
  color: var(--ink);
}

.game-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.game-stage {
  position: relative;
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 420px;
  padding: 20px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(10, 143, 138, 0.12), rgba(47, 95, 143, 0.06)),
    var(--panel);
  border-color: var(--line);
}

.game-stage::before {
  position: absolute;
  inset: 50px 22px auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(10, 143, 138, 0.22), transparent);
}

.game-meter {
  position: relative;
  z-index: 1;
  height: 8px;
  overflow: hidden;
  background: rgba(18, 20, 24, 0.1);
  border-radius: 999px;
}

.game-meter i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: inherit;
  transition: width 260ms ease;
}

.game-hud,
.game-scoreboard article span,
.game-footer,
.decision-grid button,
.signal-card span {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-hud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.game-hud strong {
  color: var(--ink);
}

.game-scoreboard {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.game-scoreboard article,
.signal-card,
.decision-grid button,
.game-start {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(var(--surf), 0.78);
}

.game-scoreboard article {
  min-height: 88px;
  padding: 14px;
  transition: transform 160ms ease, background 160ms ease;
}

.game-scoreboard article:hover {
  transform: translateY(-2px);
  background: var(--panel);
}

.game-scoreboard article strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
}

.game-scoreboard article.is-bumping strong {
  animation: scoreBump 260ms ease both;
}

.signal-card {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: 170px;
  padding: 18px;
  overflow: hidden;
}

.signal-card.is-entering {
  animation: signalIn 320ms ease both;
}

.signal-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--blue));
}

.signal-card h3 {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.08;
}

.signal-card p {
  max-width: 650px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.signal-card.is-correct {
  box-shadow: 0 0 0 1px rgba(38, 162, 105, 0.35), 0 0 32px rgba(38, 162, 105, 0.22);
  animation: correctPulse 360ms ease both;
}

.signal-card.is-wrong {
  box-shadow: 0 0 0 1px rgba(201, 75, 66, 0.45), 0 0 32px rgba(201, 75, 66, 0.2);
  animation: wrongShake 260ms ease both;
}

.decision-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.decision-grid button,
.game-start {
  min-height: 48px;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.decision-grid button:hover,
.game-start:hover {
  transform: translateY(-2px);
  border-color: rgba(10, 143, 138, 0.34);
  background: var(--panel);
}

.decision-grid button:active,
.game-start:active {
  transform: translateY(0) scale(0.98);
}

.decision-grid button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.game-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.game-start {
  min-width: 130px;
  padding: 0 16px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--teal), var(--blue));
}

.game-footer span {
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 42px;
}

.tag,
.credential-list span {
  display: inline-block;
  color: var(--teal);
}

.status {
  flex: 0 0 auto;
  padding: 7px 9px;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(10, 143, 138, 0.1);
  border: 1px solid rgba(10, 143, 138, 0.18);
  border-radius: 999px;
}

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

.credential-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, var(--content));
  margin: 0 auto clamp(22px, 4vw, 42px);
}

.credential-map article {
  min-height: 150px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(18, 20, 24, 0.94), rgba(35, 48, 53, 0.94)),
    var(--ink);
  border: 1px solid rgba(var(--surf), 0.12);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.credential-map article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.credential-map span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.credential-map strong {
  display: block;
  margin-top: 34px;
  color: #fff;
  line-height: 1.35;
}

.credential-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  min-height: 180px;
  padding: clamp(18px, 2.4vw, 24px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(36, 87, 214, 0.045), transparent 40%),
    var(--panel);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.credential-card:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 143, 138, 0.38);
  box-shadow: var(--shadow);
}

.credential-logo {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  border-radius: 8px;
}

.credential-card.ef .credential-logo {
  background: linear-gradient(135deg, #20c9ba, #36d97c);
}

.credential-card.safe .credential-logo {
  background: linear-gradient(135deg, #33a9c8, #1f6e91);
}

.credential-card.coursera .credential-logo {
  background: linear-gradient(135deg, #1155cc, #0a46a8);
}

.credential-card.featured {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(36, 87, 214, 0.1), transparent 44%),
    var(--panel);
}

.credential-body span {
  margin-bottom: 18px;
  color: var(--blue);
}

.credential-body .skills {
  color: var(--ink);
  font-weight: 700;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 420px);
  gap: clamp(24px, 6vw, 70px);
  align-items: center;
}

.contact-section h2 {
  max-width: 760px;
}

.contact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.contact-tags span {
  padding: 10px 12px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  background: rgba(10, 143, 138, 0.1);
  border: 1px solid rgba(10, 143, 138, 0.16);
  border-radius: 999px;
}

.contact-stack {
  display: grid;
  gap: 14px;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(10, 143, 138, 0.08), transparent 42%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.diagnostic-section .contact-form {
  padding: clamp(18px, 3vw, 26px);
}

.contact-form p {
  margin: 0;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.45;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: var(--ink);
  font: inherit;
  letter-spacing: 0;
  background: rgba(var(--surf), 0.82);
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form input,
.contact-form select {
  min-height: 44px;
  padding: 0 12px;
}

.contact-form textarea {
  min-height: 106px;
  padding: 12px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(10, 143, 138, 0.55);
  box-shadow: 0 0 0 3px rgba(10, 143, 138, 0.12);
}

.checkbox-field {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  color: var(--ink) !important;
  font-size: 0.86rem !important;
  letter-spacing: 0 !important;
  line-height: 1.45;
  text-transform: none !important;
}

.checkbox-field input {
  width: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  accent-color: var(--teal);
}

.honeypot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form button {
  min-height: 46px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  background: linear-gradient(135deg, var(--teal), #26333a);
  border: 0;
  border-radius: 6px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: var(--soft-shadow);
}

.contact-form button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
  transform: none;
}

.form-status {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
}

.form-status.is-ok {
  color: var(--green);
}

.form-status.is-error {
  color: var(--red);
}

.form-note {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.5;
}

.contact-card {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.closing-contact {
  align-items: stretch;
}

.contact-actions-card {
  align-content: center;
  background:
    linear-gradient(135deg, rgba(10, 143, 138, 0.09), transparent 46%),
    var(--panel);
}

.contact-card p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.6;
}

.contact-card a {
  display: block;
  overflow-wrap: anywhere;
  padding: 14px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, var(--emph), #26333a);
  border-radius: 6px;
  transition: transform 160ms ease, background 160ms ease;
}

.contact-actions-card a:first-child {
  background: linear-gradient(135deg, var(--teal), var(--blue));
}

.contact-actions-card a:not(:first-child) {
  color: var(--ink);
  background: rgba(10, 143, 138, 0.08);
  border: 1px solid rgba(10, 143, 138, 0.16);
}

.contact-card a:hover {
  transform: translateX(4px);
  background: linear-gradient(135deg, var(--teal), #26333a);
}

.contact-actions-card a:not(:first-child):hover {
  color: #fff;
  background: linear-gradient(135deg, var(--emph), #26333a);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(18px, 5vw, 64px);
  color: var(--muted);
  background: var(--panel);
  border-top: 1px solid var(--line);
}

.site-footer div {
  display: grid;
  gap: 6px;
}

.site-footer strong,
.site-footer a {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.site-footer a:hover {
  transform: translateY(-2px);
  border-color: rgba(10, 143, 138, 0.34);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes fadeLift {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panelDrift {
  from {
    opacity: 0;
    transform: translateY(22px) rotate(1deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@keyframes panelFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

@keyframes growBar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes ringDraw {
  from {
    stroke-dashoffset: 301.59;
  }
  to {
    stroke-dashoffset: 42.22;
  }
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes stepLoad {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes dataPulse {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

@keyframes signalIn {
  from {
    opacity: 0.5;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes scoreBump {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  45% {
    transform: translateY(-2px) scale(1.12);
  }
}

@keyframes correctPulse {
  0%,
  100% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.012);
  }
}

@keyframes wrongShake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  65% {
    transform: translateX(4px);
  }
}

@keyframes stackGlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-34%);
  }
}

@keyframes availabilityPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(38, 162, 105, 0.5);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(38, 162, 105, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(38, 162, 105, 0);
  }
}

@media (max-width: 980px) {
  .hero,
  .section-grid,
  .diagnostic-section,
  .client-value-shell,
  .method-shell,
  .value-grid,
  .education-shell,
  .contact-section,
  .game-shell,
  .experience-feature {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .dashboard-visual {
    justify-self: stretch;
    max-width: none;
  }

  .ops-score,
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .pipeline-map {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pipeline-map > i {
    width: 2px;
    height: 24px;
    justify-self: center;
  }

  .pipeline-map > i::after {
    background: linear-gradient(180deg, transparent, var(--teal), transparent);
    animation-name: dataPulseVertical;
  }

  .game-copy {
    min-height: auto;
  }

  .diagnostic-copy {
    position: static;
  }

  .gallery-frame {
    min-height: 360px;
  }

  .project-grid,
.credential-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.credential-details {
  margin-top: clamp(18px, 4vw, 34px);
}

  .credential-card.featured {
    grid-column: span 1;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: center;
    flex-direction: row;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    padding: 10px;
    background: rgba(var(--surf), 0.94);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
    backdrop-filter: blur(18px);
  }

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

  .nav-links a {
    padding: 13px 10px;
    border-radius: 6px;
  }

  .nav-links a:hover,
  .nav-links a.is-active {
    background: rgba(10, 143, 138, 0.08);
  }

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

  .metric-grid,
  .hero-proof,
  .profile-snapshot,
  .form-grid,
  .experience-summary,
  .client-benefits,
  .ops-score,
  .impact-grid,
  .method-steps,
  .value-grid,
  .career-arc,
  .education-grid,
  .credential-map,
  .project-grid,
  .credential-list,
  .timeline article,
  .gallery-thumbs,
  .game-scoreboard,
  .decision-grid {
    grid-template-columns: 1fr;
  }

  .career-arc i {
    width: 2px;
    height: 22px;
    justify-self: center;
  }

  .education-note {
    grid-column: span 1;
  }

  .card-topline {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 24px;
  }
}

@keyframes dataPulseVertical {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(100%);
  }
}

@media (max-width: 480px) {
  .brand-text {
    display: none;
  }

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

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