:root {
  --blue: #2563eb;
  --red: #ef4444;
  --yellow: #facc15;
  --green: #22c55e;
  --dark: #111827;
  --light: #f4f7fb;
  --white: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --soft-blue: #eff6ff;
  --soft-red: #fef2f2;
  --soft-yellow: #fffbeb;
  --soft-green: #f0fdf4;
  --dark-muted: #9ca3af;
  --dark-border: rgba(255, 255, 255, 0.14);
  --shadow-sm: 0 12px 30px rgba(17, 24, 39, 0.08);
  --shadow-md: 0 22px 60px rgba(17, 24, 39, 0.13);
  --shadow-blue: 0 18px 42px rgba(37, 99, 235, 0.28);
  --radius: 8px;
  --container: 1200px;
  --header-height: 76px;
  --font-main: "Aptos", "Trebuchet MS", "Segoe UI", sans-serif;
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(37, 99, 235, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  animation: page-grid-drift 32s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 18%, rgba(37, 99, 235, 0.09), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(34, 197, 94, 0.055), transparent 28%),
    radial-gradient(circle at 70% 88%, rgba(250, 204, 21, 0.045), transparent 30%);
  opacity: 0.7;
  animation: page-light-shift 42s ease-in-out infinite alternate;
}

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

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

a:hover {
  color: var(--blue);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
dl,
dd {
  margin-top: 0;
}

p:last-child,
ul:last-child,
ol:last-child,
dl:last-child {
  margin-bottom: 0;
}

ul,
ol {
  padding-left: 1.25rem;
}

strong {
  color: var(--dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(229, 231, 235, 0.82);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
}

.site-nav {
  width: min(100% - 40px, var(--container));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--dark);
  font-weight: 900;
  letter-spacing: 0;
}

.site-logo__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  color: var(--white);
  font-size: 0.9rem;
  box-shadow: var(--shadow-blue);
}

.site-logo__text {
  font-size: 1rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle__line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: var(--dark);
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu__link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: #374151;
  font-size: 0.92rem;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-menu__link:hover,
.nav-menu__link.is-active {
  background: var(--soft-blue);
  color: var(--blue);
  transform: translateY(-1px);
}

.section {
  position: relative;
  padding: clamp(58px, 7vw, 96px) 0;
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.section__inner,
.site-footer__inner {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.section--light {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(244, 247, 251, 0.96)),
    var(--light);
}

.section--dark {
  overflow: hidden;
  background:
    linear-gradient(135deg, #111827 0%, #172033 44%, #0f172a 100%);
  color: var(--white);
}

.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  animation: dark-grid-drift 28s linear infinite;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.25));
}

.section--dark > .section__inner {
  position: relative;
  z-index: 1;
}

.section-header {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-header--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section--dark .eyebrow {
  color: var(--yellow);
}

.section-title {
  margin-bottom: 14px;
  color: var(--dark);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.section--dark .section-title,
.section--dark strong {
  color: var(--white);
}

.section-intro {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-header--center .section-intro {
  margin-right: auto;
  margin-left: auto;
}

.tools.section--light {
  padding: clamp(48px, 6vw, 76px) 0;
}

.roadmap.section--light,
.contact.section {
  padding: clamp(52px, 6.5vw, 84px) 0;
}

.tools .section-header,
.roadmap .section-header,
.contact .section-header {
  margin-bottom: 24px;
}

.section--dark .section-intro {
  color: #d1d5db;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.button--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.button--primary:hover {
  background: #1d4ed8;
  color: var(--white);
}

.button--secondary {
  border-color: rgba(37, 99, 235, 0.24);
  background: var(--white);
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.button--secondary:hover {
  border-color: var(--blue);
  background: var(--soft-blue);
  color: var(--blue);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.hero {
  min-height: calc(92svh - var(--header-height));
  padding: clamp(86px, 10vw, 132px) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(circle at 14% 20%, rgba(37, 99, 235, 0.46), transparent 34%),
    radial-gradient(circle at 92% 14%, rgba(34, 197, 94, 0.18), transparent 30%),
    radial-gradient(circle at 72% 78%, rgba(239, 68, 68, 0.14), transparent 28%),
    radial-gradient(circle at 34% 92%, rgba(250, 204, 21, 0.12), transparent 26%),
    linear-gradient(135deg, #111827 0%, #172033 44%, #0f172a 100%);
  background-size: 145% 145%, 130% 130%, 125% 125%, 125% 125%, 100% 100%;
  animation: hero-light-flow 20s ease-in-out infinite alternate;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--blue) 0 18%, var(--red) 31%, var(--yellow) 54%, var(--green) 78%, var(--blue) 100%);
  background-size: 180% 100%;
  animation: brand-current 14s ease-in-out infinite alternate;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(36px, 7vw, 82px);
}

.hero__inner::before,
.hero__inner::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(34px);
  opacity: 0.58;
  transform: translate3d(0, 0, 0);
}

.hero__inner::before {
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  top: -16%;
  right: 7%;
  background:
    radial-gradient(circle at 38% 36%, rgba(37, 99, 235, 0.68), transparent 48%),
    radial-gradient(circle at 64% 62%, rgba(34, 197, 94, 0.25), transparent 54%);
  animation: hero-glow-float 16s ease-in-out infinite alternate;
}

.hero__inner::after {
  width: min(34vw, 420px);
  height: min(34vw, 420px);
  bottom: -20%;
  left: 23%;
  background:
    radial-gradient(circle at 48% 44%, rgba(239, 68, 68, 0.2), transparent 46%),
    radial-gradient(circle at 58% 58%, rgba(250, 204, 21, 0.2), transparent 54%);
  animation: hero-accent-float 19s ease-in-out infinite alternate;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  animation: fade-up 760ms ease both;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(250, 204, 21, 0.32);
  border-radius: var(--radius);
  background: rgba(250, 204, 21, 0.09);
}

.hero__title {
  margin: 0 0 22px;
  color: var(--white);
  font-size: clamp(3rem, 6.2vw, 5.1rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
}

.hero__subtitle {
  max-width: 700px;
  margin-bottom: 16px;
  color: #e5e7eb;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  line-height: 1.55;
}

.hero__intro {
  max-width: 650px;
  margin-bottom: 24px;
  color: var(--dark-muted);
  font-size: 1.02rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 690px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.hero-proof__item {
  position: relative;
  min-height: 78px;
  padding: 14px 14px 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(14px);
}

.hero-proof__item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--blue);
}

.hero-proof__item:nth-child(2)::before {
  background: var(--green);
}

.hero-proof__item:nth-child(3)::before {
  background: linear-gradient(180deg, var(--yellow), var(--red));
}

.hero-proof__value,
.hero-proof__label {
  display: block;
}

.hero-proof__value {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.2;
}

.hero-proof__label {
  margin-top: 4px;
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__visual {
  position: relative;
  z-index: 1;
  animation: panel-in 820ms 160ms ease both;
}

.hero__visual::before,
.hero__visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  transform: rotate(-4deg);
}

.hero__visual::before {
  inset: -18px 18px 18px -18px;
  background: rgba(37, 99, 235, 0.12);
}

.hero__visual::after {
  inset: 24px -18px -18px 24px;
  background: rgba(34, 197, 94, 0.08);
  transform: rotate(4deg);
}

.hero-panel {
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06)),
    rgba(17, 24, 39, 0.72);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.hero-panel__label {
  margin: 0;
  padding: 18px 20px;
  border-bottom: 1px solid var(--dark-border);
  color: var(--white);
  font-weight: 900;
}

.hero-panel__list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 20px;
  list-style: none;
}

.hero-panel__item {
  position: relative;
  padding: 16px 16px 16px 44px;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.075);
  color: #e5e7eb;
  font-weight: 800;
}

.hero-panel__item::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 18px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
}

.hero-panel__item:nth-child(2)::before {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.18);
}

.hero-panel__item:nth-child(3)::before {
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.18);
}

.hero-panel__item:nth-child(4)::before {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.brand-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 8px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.brand-strip__segment--blue {
  background: var(--blue);
}

.brand-strip__segment--red {
  background: var(--red);
}

.brand-strip__segment--yellow {
  background: var(--yellow);
}

.brand-strip__segment--green {
  background: var(--green);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(28px, 5vw, 62px);
  align-items: start;
}

.about__content {
  max-width: 780px;
  color: #374151;
  font-size: 1.08rem;
}

.about__content p {
  margin-bottom: 18px;
}

.profile-card,
.focus-card,
.skill-group,
.project-card,
.credential-card,
.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.profile-card:hover,
.focus-card:hover,
.skill-group:hover,
.project-card:hover,
.credential-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: var(--shadow-md);
}

.profile-card {
  padding: 24px;
}

.profile-card__list {
  display: grid;
  gap: 16px;
}

.profile-card__item {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.profile-card__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.profile-card__label {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-card__value {
  margin-left: 0;
  color: var(--dark);
  font-weight: 900;
}

.profile-card__value a {
  color: var(--blue);
}

.focus-grid,
.skills-grid,
.credential-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

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

.focus-card {
  position: relative;
  min-height: 190px;
  padding: 24px;
  overflow: hidden;
}

.focus-card::before,
.skill-group::before,
.credential-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--blue);
}

.focus-card:nth-child(2)::before,
.skill-group:nth-child(2)::before,
.credential-card:nth-child(2)::before,
.contact-card:nth-child(2)::before {
  background: var(--red);
}

.focus-card:nth-child(3)::before,
.skill-group:nth-child(3)::before,
.credential-card:nth-child(3)::before,
.contact-card:nth-child(3)::before {
  background: var(--yellow);
}

.focus-card:nth-child(4)::before,
.skill-group:nth-child(4)::before,
.credential-card:nth-child(4)::before,
.contact-card:nth-child(4)::before {
  background: var(--green);
}

.focus-card__title,
.skill-group__title,
.project-card__title,
.credential-card__title {
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: 0;
}

.focus-card__title {
  margin-bottom: 12px;
  font-size: 1.14rem;
  font-weight: 900;
}

.focus-card__text {
  color: var(--muted);
}

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

.skill-group {
  position: relative;
  padding: 24px;
  overflow: hidden;
}

.skill-group:last-child {
  grid-column: 1 / -1;
}

.skill-group__title {
  margin-bottom: 18px;
  font-size: 1.2rem;
  font-weight: 900;
}

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

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: var(--radius);
  background: var(--soft-blue);
  color: #1e40af;
  font-size: 0.9rem;
  font-weight: 900;
}

.tag:nth-child(4n + 2) {
  border-color: rgba(239, 68, 68, 0.16);
  background: var(--soft-red);
  color: #b91c1c;
}

.tag:nth-child(4n + 3) {
  border-color: rgba(250, 204, 21, 0.28);
  background: var(--soft-yellow);
  color: #854d0e;
}

.tag:nth-child(4n + 4) {
  border-color: rgba(34, 197, 94, 0.18);
  background: var(--soft-green);
  color: #166534;
}

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

.tool-card {
  position: relative;
  min-height: 218px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.055), rgba(255, 255, 255, 0) 52%),
    var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--blue);
}

.tool-card:nth-child(2)::before {
  background: var(--red);
}

.tool-card:nth-child(3)::before {
  background: var(--yellow);
}

.tool-card:nth-child(4)::before {
  background: var(--green);
}

.tool-card:nth-child(5)::before {
  background: linear-gradient(90deg, var(--blue), var(--red));
}

.tool-card:nth-child(6)::before {
  background: linear-gradient(90deg, var(--yellow), var(--green));
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: var(--shadow-md);
}

.tool-card__category {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 18px;
  padding: 6px 10px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: var(--radius);
  background: var(--soft-blue);
  color: #1e40af;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.tool-card:nth-child(2) .tool-card__category {
  border-color: rgba(239, 68, 68, 0.16);
  background: var(--soft-red);
  color: #b91c1c;
}

.tool-card:nth-child(3) .tool-card__category {
  border-color: rgba(250, 204, 21, 0.28);
  background: var(--soft-yellow);
  color: #854d0e;
}

.tool-card:nth-child(4) .tool-card__category {
  border-color: rgba(34, 197, 94, 0.18);
  background: var(--soft-green);
  color: #166534;
}

.tool-card__title {
  margin-bottom: 10px;
  color: var(--dark);
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1.15;
}

.tool-card__text {
  color: var(--muted);
  line-height: 1.58;
}

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

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
}

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

.project-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--red), var(--blue));
}

.project-card:nth-child(3)::before {
  background: linear-gradient(90deg, var(--yellow), var(--green));
}

.project-card:nth-child(4)::before {
  background: linear-gradient(90deg, var(--blue), var(--red));
}

.project-card__header {
  margin-bottom: 16px;
}

.project-card__status,
.credential-card__status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: var(--radius);
  background: var(--soft-green);
  color: #166534;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card__title {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 900;
}

.project-card__description {
  color: #4b5563;
}

.project-card__features {
  margin: 12px 0 18px;
}

.project-card__subtitle {
  margin-bottom: 10px;
  color: var(--dark);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-list li::marker {
  color: var(--blue);
}

.project-card__stack {
  margin-top: auto;
  color: #4b5563;
  font-size: 0.95rem;
}

.project-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.workflow {
  padding-top: clamp(64px, 7vw, 94px);
  padding-bottom: clamp(64px, 7vw, 94px);
}

.workflow-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list::before,
.workflow-list::after {
  content: "";
  position: absolute;
  top: 34px;
  right: 6%;
  left: 6%;
  height: 2px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0), rgba(37, 99, 235, 0.72), rgba(34, 197, 94, 0.56), rgba(250, 204, 21, 0.48), rgba(239, 68, 68, 0));
  opacity: 0.72;
}

.workflow-list::after {
  top: calc(50% + 45px);
}

.workflow-step {
  position: relative;
  z-index: 1;
  min-height: 224px;
  padding: 22px;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.055)),
    rgba(17, 24, 39, 0.48);
  color: #e5e7eb;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
  transition: transform 190ms ease, background 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.workflow-step:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 204, 21, 0.38);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}

.workflow-step__marker {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.16);
}

.workflow-step:nth-child(2) .workflow-step__marker,
.workflow-step:nth-child(6) .workflow-step__marker {
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.15);
}

.workflow-step:nth-child(3) .workflow-step__marker,
.workflow-step:nth-child(7) .workflow-step__marker {
  background: var(--yellow);
  color: var(--dark);
  box-shadow: 0 0 0 6px rgba(250, 204, 21, 0.14);
}

.workflow-step:nth-child(4) .workflow-step__marker,
.workflow-step:nth-child(8) .workflow-step__marker {
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.14);
}

.workflow-step__title {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.2;
}

.workflow-step__text {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.58;
}

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

.credential-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 24px;
  overflow: hidden;
}

.credential-card__title {
  margin-bottom: 12px;
  font-size: 1.18rem;
  font-weight: 900;
}

.credential-card__provider,
.credential-card__type {
  margin-bottom: 8px;
  color: var(--muted);
}

.credential-card__provider {
  color: var(--dark);
  font-weight: 900;
}

.credential-card__link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 40px;
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
}

.credential-card__link:hover {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.credential-card--profile {
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.06), rgba(255, 255, 255, 0)),
    var(--white);
}

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

.roadmap-item {
  position: relative;
  min-height: 116px;
  padding: 20px 18px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--dark);
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.06);
}

.roadmap-item::before {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--blue);
}

.roadmap-item:nth-child(4n + 2)::before {
  background: var(--red);
}

.roadmap-item:nth-child(4n + 3)::before {
  background: var(--yellow);
}

.roadmap-item:nth-child(4n + 4)::before {
  background: var(--green);
}

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
}

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

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 132px;
  padding: 24px;
  overflow: hidden;
}

.contact-card__label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card__value {
  color: var(--dark);
  font-size: 1rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-card--linkedin {
  grid-column: 1 / -1;
  min-height: 260px;
  align-items: flex-start;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(255, 255, 255, 0) 46%),
    var(--white);
}

.linkedin-badge-wrap {
  width: 100%;
  max-width: 340px;
  margin-top: 18px;
}

.linkedin-badge-wrap .badge-base,
.linkedin-badge-wrap iframe {
  max-width: 100%;
}

.site-footer {
  padding: 32px 0;
  background: var(--dark);
  color: #d1d5db;
}

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

.site-footer__text {
  max-width: 760px;
  margin: 0;
}

.site-footer__top-link {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 900;
}

.site-footer__top-link:hover {
  border-color: rgba(250, 204, 21, 0.55);
  color: var(--yellow);
}

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

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

.reveal-delay-1 {
  transition-delay: 90ms;
}

.reveal-delay-2 {
  transition-delay: 180ms;
}

.reveal-delay-3 {
  transition-delay: 270ms;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes page-grid-drift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 52px 52px, 52px 52px;
  }
}

@keyframes page-light-shift {
  from {
    transform: translate3d(-1%, -1%, 0) scale(1);
  }

  to {
    transform: translate3d(1%, 1%, 0) scale(1.03);
  }
}

@keyframes dark-grid-drift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 56px 56px, 56px 56px;
  }
}

@keyframes hero-light-flow {
  from {
    background-position: 0% 0%, 100% 0%, 85% 100%, 0% 100%, 0 0;
  }

  to {
    background-position: 14% 8%, 84% 12%, 100% 82%, 18% 88%, 0 0;
  }
}

@keyframes brand-current {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

@keyframes hero-glow-float {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(22px, 18px, 0) scale(1.06);
  }
}

@keyframes hero-accent-float {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(-20px, -14px, 0) scale(1.04);
  }
}

@media (max-width: 1080px) {
  .hero__inner,
  .about__grid,
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    max-width: 640px;
  }

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

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

  .workflow-list::before,
  .workflow-list::after {
    display: none;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 12px 0;
  }

  .nav-menu {
    flex-basis: 100%;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .js-enabled .nav-toggle {
    display: inline-block;
  }

  .js-enabled .nav-menu {
    display: none;
    padding-top: 10px;
  }

  .js-enabled .site-nav.is-open .nav-menu {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero__title {
    max-width: 12ch;
  }

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

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

  .skill-group:last-child {
    grid-column: auto;
  }

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

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .section__inner,
  .site-footer__inner,
  .site-nav {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 60px 0;
  }

  .tools.section--light,
  .roadmap.section--light,
  .contact.section {
    padding: 48px 0;
  }

  .hero {
    padding-top: 64px;
  }

  .hero__title {
    max-width: none;
    font-size: clamp(2.45rem, 14vw, 3.7rem);
  }

  .hero__actions,
  .project-card__actions {
    flex-direction: column;
  }

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

  .button {
    width: 100%;
  }

  .focus-grid,
  .credential-grid,
  .tool-list,
  .workflow-list,
  .roadmap-list,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .focus-card,
  .project-card,
  .credential-card,
  .contact-card,
  .tool-card,
  .skill-group,
  .profile-card {
    padding: 20px;
  }

  .focus-card,
  .credential-card,
  .tool-card,
  .roadmap-item,
  .contact-card,
  .workflow-step {
    min-height: auto;
  }

  .hero-panel__item {
    padding-right: 12px;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .site-logo__text {
    max-width: 138px;
    white-space: normal;
    line-height: 1.1;
  }

  .nav-menu__link {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 0.86rem;
  }

  .hero__subtitle {
    font-size: 1.04rem;
  }

  .project-card__title {
    font-size: 1.24rem;
  }
}

@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;
  }

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

  body::before,
  body::after,
  .section--dark::before,
  .hero,
  .hero::after,
  .hero__inner::before,
  .hero__inner::after {
    animation: none !important;
    transform: none !important;
  }
}
