:root {
  --navy: #06101c;
  --navy-deep: #020812;
  --panel: #0b1726;
  --panel-2: #0e1d2e;
  --panel-3: #13243a;
  --white: #f8fafc;
  --text: #dce4ec;
  --muted: #8e9aaa;
  --line: rgba(151, 169, 191, 0.17);
  --line-bright: rgba(241, 185, 75, 0.35);
  --gold: #f1b94b;
  --gold-soft: #ffd984;
  --blue: #4b7bff;
  --blue-deep: #214fd2;
  --green: #a9e463;
  --radius-xl: 2rem;
  --radius-lg: 1.4rem;
  --radius-md: 1rem;
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.34);
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--gold) var(--navy-deep);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--navy-deep);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
  font: inherit;
}

::selection {
  background: var(--gold);
  color: var(--navy-deep);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.75rem 1rem;
  transform: translateY(-180%);
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 750;
  transition: transform 180ms ease;
}

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

.page-noise {
  position: fixed;
  z-index: 200;
  inset: 0;
  opacity: 0.025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, border-color 240ms ease, transform 300ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(3, 10, 20, 0.86);
  backdrop-filter: blur(20px);
}

.nav-shell,
.hero-shell,
.metrics-shell,
.section-shell {
  width: min(1380px, calc(100% - 5rem));
  margin: 0 auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  display: grid;
  width: 2.9rem;
  height: 2.9rem;
  place-items: center;
  border: 1px solid var(--line-bright);
  border-radius: 0.65rem 1.15rem 0.65rem 1.15rem;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 8px 25px rgba(241, 185, 75, 0.12);
  color: var(--navy-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.brand-copy strong {
  color: var(--white);
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.brand-copy small {
  color: var(--gold);
  font-size: 0.5rem;
  font-weight: 680;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: #bac4d0;
  font-size: 0.76rem;
  font-weight: 650;
}

.site-nav > a:not(.nav-cta) {
  position: relative;
  padding: 1.9rem 0;
  transition: color 180ms ease;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 1.25rem;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--gold);
  content: "";
  transition: transform 220ms ease;
}

.site-nav > a:not(.nav-cta):hover {
  color: var(--white);
}

.site-nav > a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.82rem 1.2rem;
  border: 1px solid var(--line-bright);
  border-radius: 0.75rem;
  color: var(--gold-soft);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: var(--gold);
  color: var(--navy-deep);
}

.menu-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid var(--line-bright);
  border-radius: 0.8rem;
  background: var(--panel);
}

.menu-toggle span {
  display: block;
  width: 1rem;
  height: 1px;
  margin: 0.32rem auto;
  background: var(--gold);
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 8rem 0 3.3rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 75% 28%, rgba(44, 83, 154, 0.16), transparent 31%),
    linear-gradient(135deg, var(--navy-deep), var(--navy) 58%, #071526);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.48;
  background-image:
    linear-gradient(rgba(117, 143, 176, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 143, 176, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black 10%, transparent 90%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}

.hero-glow-blue {
  top: 10%;
  right: -4%;
  width: 36rem;
  height: 36rem;
  opacity: 0.14;
  background: var(--blue);
}

.hero-glow-gold {
  bottom: 2%;
  left: -10%;
  width: 25rem;
  height: 25rem;
  opacity: 0.07;
  background: var(--gold);
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(31rem, 0.78fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.hero-copy {
  padding: 1.5rem 0 2.5rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
  color: var(--gold-soft);
  font-size: 0.62rem;
  font-weight: 790;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 2.6rem;
  height: 1px;
  background: var(--gold);
  box-shadow: 0 0 16px var(--gold);
}

.hero-kicker {
  margin: 0 0 0.2rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  font-weight: 560;
}

.hero-name {
  margin: 0;
  color: var(--white);
  font-size: clamp(4rem, 7.1vw, 7.4rem);
  font-weight: 650;
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.hero-role {
  display: flex;
  align-items: baseline;
  gap: 0.45em;
  margin-top: 1rem;
  color: var(--gold);
  font-size: clamp(1.32rem, 2.65vw, 2.65rem);
  font-weight: 610;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero-role > span:first-child {
  color: var(--white);
}

.word-window {
  display: inline-block;
  height: 1.08em;
  overflow: hidden;
  vertical-align: bottom;
}

.word-track {
  display: flex;
  flex-direction: column;
  height: 3.24em;
  transform: translateY(0);
  transition: transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.word-track > span {
  display: block;
  height: 1.08em;
  white-space: nowrap;
}

.hero-intro {
  max-width: 43rem;
  margin: 1.6rem 0 0;
  color: #aab5c2;
  font-size: clamp(0.95rem, 1.2vw, 1.12rem);
  line-height: 1.7;
}

.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 48rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.skill-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.62rem 0.82rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: rgba(10, 23, 38, 0.65);
  color: #c6d0db;
  font-size: 0.66rem;
  font-weight: 650;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.skill-chips li:hover {
  transform: translateY(-2px);
  border-color: var(--line-bright);
  background: var(--panel-2);
}

.skill-chips i {
  color: var(--gold);
  font-size: 0.8rem;
  font-style: normal;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  min-height: 3.4rem;
  padding: 0.25rem 0.35rem 0.25rem 1.2rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 760;
}

.button-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 14px 32px rgba(241, 185, 75, 0.14);
  color: var(--navy-deep);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(241, 185, 75, 0.22);
}

.button-arrow {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 0.58rem;
  background: rgba(5, 13, 23, 0.11);
  font-size: 0.95rem;
  transition: transform 220ms ease;
}

.button:hover .button-arrow {
  transform: rotate(-45deg);
}

.button-secondary {
  padding: 0.25rem 1.1rem;
  border: 1px solid var(--line-bright);
  color: var(--gold-soft);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  background: rgba(241, 185, 75, 0.08);
}

.hero-visual {
  position: relative;
  min-height: 39rem;
  perspective: 1000px;
}

.portrait-frame {
  position: absolute;
  top: 0;
  right: 0;
  width: 88%;
  height: 34rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9rem 1.5rem 1.5rem 1.5rem;
  background:
    radial-gradient(circle at 60% 38%, rgba(70, 115, 196, 0.2), transparent 28%),
    linear-gradient(145deg, #10233a, #07111e 72%);
  box-shadow: var(--shadow);
}

.portrait-frame::before {
  position: absolute;
  top: 8%;
  right: -16%;
  width: 25rem;
  height: 25rem;
  border: 1px solid rgba(241, 185, 75, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 3.5rem rgba(241, 185, 75, 0.025), 0 0 0 7rem rgba(241, 185, 75, 0.018);
  content: "";
}

.portrait-frame::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 48%;
  background: linear-gradient(to top, rgba(3, 9, 17, 0.96), transparent);
  content: "";
}

.portrait-monogram {
  position: absolute;
  top: 48%;
  left: 55%;
  transform: translate(-50%, -50%);
  color: rgba(241, 185, 75, 0.07);
  font-size: 15rem;
  font-weight: 900;
  letter-spacing: -0.16em;
  line-height: 0.8;
  text-shadow: 0 0 60px rgba(241, 185, 75, 0.1);
}

.orbit {
  position: absolute;
  top: 48%;
  left: 55%;
  border: 1px solid rgba(75, 123, 255, 0.22);
  border-radius: 50%;
  animation: orbit-spin 18s linear infinite;
}

.orbit::after {
  position: absolute;
  top: -0.28rem;
  left: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 18px var(--blue);
  content: "";
}

.orbit-one {
  width: 18rem;
  height: 18rem;
  margin: -9rem;
}

.orbit-two {
  width: 24rem;
  height: 24rem;
  margin: -12rem;
  border-color: rgba(241, 185, 75, 0.14);
  animation-direction: reverse;
  animation-duration: 26s;
}

.orbit-two::after {
  background: var(--gold);
  box-shadow: 0 0 18px var(--gold);
}

@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

.portrait-label {
  position: absolute;
  z-index: 2;
  right: 1.7rem;
  bottom: 1.5rem;
  text-align: right;
}

.portrait-label span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--gold);
  font-size: 0.52rem;
  font-weight: 850;
  letter-spacing: 0.22em;
}

.portrait-label strong {
  color: var(--white);
  font-size: 0.78rem;
  line-height: 1.5;
}

.hero-system {
  position: absolute;
  z-index: 4;
  right: -1.4rem;
  bottom: 0.9rem;
  width: min(28rem, 88%);
  padding: 1.25rem;
  border: 1px solid rgba(241, 185, 75, 0.2);
  border-radius: var(--radius-lg);
  background: rgba(7, 17, 30, 0.89);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
  will-change: transform;
}

.system-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.system-topline > div {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.micro-label {
  color: var(--gold);
  font-size: 0.54rem;
  font-weight: 820;
  letter-spacing: 0.16em;
}

.system-topline strong {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.58rem;
  border: 1px solid rgba(169, 228, 99, 0.18);
  border-radius: 99px;
  background: rgba(169, 228, 99, 0.08);
  color: var(--green);
  font-size: 0.58rem;
  font-weight: 750;
}

.live-pill i {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(169, 228, 99, 0.75);
}

.system-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 1.15rem;
}

.system-metrics > div {
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: rgba(14, 29, 46, 0.72);
}

.system-metrics small,
.system-metrics strong {
  display: block;
}

.system-metrics small {
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.52rem;
}

.system-metrics strong {
  color: var(--white);
  font-size: 0.76rem;
}

.module-flow {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  font-size: 0.54rem;
  font-weight: 720;
}

.module-flow span {
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: #c7d0da;
}

.module-flow i {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.system-chart {
  height: 5.7rem;
  margin-top: 0.35rem;
  overflow: hidden;
}

.system-chart svg {
  width: 100%;
  height: 100%;
}

.chart-line {
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  animation: draw-chart 1.8s 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.chart-area {
  opacity: 0;
  animation: chart-fade 1s 1.3s ease forwards;
}

@keyframes draw-chart {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes chart-fade {
  to {
    opacity: 1;
  }
}

.floating-card {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: rgba(10, 23, 38, 0.88);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  animation: float 5s ease-in-out infinite;
}

.floating-card small,
.floating-card strong {
  display: block;
}

.floating-card small {
  margin-bottom: 0.22rem;
  color: var(--gold);
  font-size: 0.46rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.floating-card strong {
  color: var(--white);
  font-size: 0.68rem;
}

.floating-card-ai {
  top: 2rem;
  left: 0;
}

.floating-card-location {
  bottom: 4rem;
  left: -1.3rem;
  animation-delay: -2s;
}

.floating-icon {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 0.55rem;
  background: var(--blue);
  color: var(--white);
}

.location-pulse {
  position: relative;
  width: 0.75rem;
  height: 0.75rem;
  margin: 0 0.6rem;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.location-pulse::after {
  position: absolute;
  inset: -0.4rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  content: "";
  animation: pulse 2s infinite;
}

@keyframes pulse {
  50%, 100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

@keyframes float {
  50% {
    transform: translateY(-9px) rotate(-1deg);
  }
}

.metrics-shell {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 1.1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(8, 20, 34, 0.82);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.metric-item {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 0.8rem;
  align-items: center;
  min-height: 6.5rem;
  padding: 1.15rem 1.4rem;
  border-right: 1px solid var(--line);
}

.metric-item:last-child {
  border-right: 0;
}

.metric-icon {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 1px solid var(--line-bright);
  border-radius: 0.7rem;
  color: var(--gold);
  font-size: 1.2rem;
}

.metric-item > strong {
  color: var(--white);
  font-size: 1.9rem;
  font-weight: 620;
  letter-spacing: -0.06em;
}

.metric-item p {
  margin: 0;
  color: #d7dfe8;
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.45;
}

.metric-item small {
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 500;
}

.work-section {
  padding: 7.5rem 0 6rem;
  background: var(--navy);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.12fr 0.68fr;
  gap: 5rem;
  align-items: end;
  margin-bottom: 3.3rem;
}

.section-index {
  display: block;
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 0.6rem;
  font-weight: 820;
  letter-spacing: 0.16em;
}

.section-heading h2,
.contact-panel h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.7rem, 4.8vw, 5.4rem);
  font-weight: 590;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.section-heading p {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.72;
}

.workbench {
  display: grid;
  grid-template-columns: minmax(20rem, 0.72fr) minmax(0, 1.28fr);
  gap: 1.3rem;
  align-items: start;
}

.services-panel,
.projects-panel {
  min-width: 0;
}

.panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  min-height: 4.6rem;
  margin-bottom: 1rem;
  padding: 0 0.2rem;
}

.panel-heading h3 {
  margin: 0.4rem 0 0;
  color: var(--white);
  font-size: clamp(1.6rem, 2.5vw, 2.5rem);
  font-weight: 580;
  letter-spacing: -0.05em;
}

.panel-count {
  color: rgba(241, 185, 75, 0.2);
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.panel-heading > a {
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--line-bright);
  color: var(--gold-soft);
  font-size: 0.65rem;
  font-weight: 700;
}

.service-list {
  display: grid;
  gap: 0.6rem;
}

.service-card {
  display: grid;
  grid-template-columns: 2.6rem 1fr auto;
  gap: 0.9rem;
  align-items: center;
  min-height: 6rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(14, 29, 46, 0.9), rgba(8, 20, 34, 0.88));
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.service-card:hover {
  transform: translateX(5px);
  border-color: var(--line-bright);
  background: linear-gradient(145deg, rgba(18, 38, 61, 0.98), rgba(9, 23, 39, 0.95));
}

.service-icon {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 1px solid rgba(241, 185, 75, 0.2);
  border-radius: 0.7rem;
  background: rgba(241, 185, 75, 0.05);
  color: var(--gold);
  font-size: 1.1rem;
}

.service-card h4 {
  margin: 0 0 0.25rem;
  color: var(--white);
  font-size: 0.83rem;
  font-weight: 690;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.5;
}

.service-card > i {
  color: #58718f;
  font-size: 0.95rem;
  font-style: normal;
  transition: color 180ms ease, transform 180ms ease;
}

.service-card:hover > i {
  transform: translate(2px, -2px);
  color: var(--gold);
}

.project-row {
  display: grid;
  grid-template-columns: minmax(12rem, 0.72fr) minmax(0, 1.28fr);
  gap: 1.3rem;
  min-height: 13rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(14, 29, 46, 0.9), rgba(8, 20, 34, 0.9));
  transition: border-color 220ms ease, transform 220ms ease;
}

.project-row + .project-row {
  margin-top: 0.75rem;
}

.project-row:hover {
  transform: translateY(-3px);
  border-color: var(--line-bright);
}

.project-preview {
  position: relative;
  min-height: 11.4rem;
  overflow: hidden;
  border: 1px solid rgba(151, 169, 191, 0.12);
  border-radius: 0.9rem;
  background: #07111e;
}

.erp-preview {
  display: flex;
  padding: 1rem 0 1rem 1rem;
  background: linear-gradient(145deg, #0c2c68, #214fd2 60%, #4778ff);
}

.preview-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 2.5rem;
  padding-top: 0.4rem;
  border-radius: 0.6rem 0 0 0.6rem;
  background: #07111e;
}

.preview-nav span {
  display: grid;
  width: 1.4rem;
  height: 1.4rem;
  place-items: center;
  border-radius: 0.35rem;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.42rem;
  font-weight: 900;
}

.preview-nav i {
  width: 0.75rem;
  height: 0.22rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
}

.preview-nav i:first-of-type {
  width: 1rem;
  background: var(--blue);
}

.preview-screen {
  flex: 1;
  padding: 0.8rem;
  border-radius: 0 0 0 0.75rem;
  background: #f3f6fb;
  box-shadow: -10px 16px 35px rgba(3, 10, 23, 0.24);
}

.preview-top {
  display: flex;
  justify-content: space-between;
}

.preview-top span {
  width: 45%;
  height: 0.42rem;
  border-radius: 99px;
  background: #d9dfeb;
}

.preview-top i {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #d9dfeb;
}

.preview-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin-top: 0.8rem;
}

.preview-cards span {
  height: 2.4rem;
  border: 1px solid #e3e7ef;
  border-radius: 0.4rem;
  background: var(--white);
}

.preview-data {
  display: flex;
  align-items: end;
  gap: 0.3rem;
  height: 5.2rem;
  margin-top: 0.4rem;
  padding: 0.7rem;
  border: 1px solid #e3e7ef;
  border-radius: 0.4rem;
  background: var(--white);
}

.preview-data i {
  flex: 1;
  height: 42%;
  border-radius: 0.12rem 0.12rem 0 0;
  background: #8aa7ff;
  transform-origin: bottom;
  animation: grow-bar 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.preview-data i:nth-child(2) { height: 65%; animation-delay: 80ms; }
.preview-data i:nth-child(3) { height: 48%; animation-delay: 140ms; }
.preview-data i:nth-child(4) { height: 82%; animation-delay: 200ms; }
.preview-data i:nth-child(5) { height: 69%; animation-delay: 260ms; }
.preview-data i:nth-child(6) { height: 94%; animation-delay: 320ms; }

@keyframes grow-bar {
  from { transform: scaleY(0); }
}

.vision-preview {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(75, 123, 255, 0.26), transparent 38%),
    linear-gradient(145deg, #101e31, #07111e);
}

.phone-shell {
  position: relative;
  width: 5.8rem;
  height: 10.4rem;
  overflow: hidden;
  border: 0.28rem solid #26394f;
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 55% 58%, #7f522a 0 11%, transparent 12%),
    radial-gradient(circle at 36% 55%, #b17a3e 0 12%, transparent 13%),
    radial-gradient(circle at 52% 55%, #4b803a 0 28%, #d0b879 29% 36%, #59442b 37% 40%, transparent 41%),
    #192434;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.36);
}

.phone-camera {
  position: absolute;
  z-index: 3;
  top: 0.3rem;
  left: 50%;
  width: 1.4rem;
  height: 0.25rem;
  transform: translateX(-50%);
  border-radius: 99px;
  background: #07111e;
}

.scan-frame {
  position: absolute;
  inset: 2rem 0.7rem 2.8rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 0.65rem;
}

.scan-frame i {
  position: absolute;
  top: 45%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: scan 2.4s ease-in-out infinite;
}

.scan-frame b {
  position: absolute;
  bottom: -1.55rem;
  left: 50%;
  width: max-content;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 0.42rem;
}

@keyframes scan {
  50% { transform: translateY(2.8rem); }
}

.nutrition-pill {
  position: absolute;
  right: -2.7rem;
  bottom: 1rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(241, 185, 75, 0.3);
  border-radius: 0.6rem;
  background: rgba(7, 17, 30, 0.92);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
}

.nutrition-pill small {
  font-size: 0.45rem;
}

.operations-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  background:
    linear-gradient(rgba(91, 119, 153, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 119, 153, 0.07) 1px, transparent 1px),
    #091523;
  background-size: 22px 22px;
}

.ops-bars {
  display: flex;
  align-items: end;
  gap: 0.35rem;
  width: 5rem;
  height: 6rem;
}

.ops-bars i {
  flex: 1;
  height: 42%;
  border-radius: 0.22rem 0.22rem 0 0;
  background: var(--blue);
}

.ops-bars i:nth-child(2) { height: 72%; background: #789aff; }
.ops-bars i:nth-child(3) { height: 56%; background: var(--gold); }
.ops-bars i:nth-child(4) { height: 92%; background: var(--gold-soft); }
.ops-bars i:nth-child(5) { height: 76%; }

.ops-ring {
  display: grid;
  width: 5.8rem;
  height: 5.8rem;
  place-items: center;
  border: 0.72rem solid rgba(75, 123, 255, 0.18);
  border-top-color: var(--gold);
  border-right-color: var(--blue);
  border-radius: 50%;
  transform: rotate(-20deg);
}

.ops-ring span {
  transform: rotate(20deg);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.project-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0.6rem 0.8rem 0.6rem 0;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.52rem;
  font-weight: 780;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.project-meta i {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(241, 185, 75, 0.8);
}

.project-copy h3 {
  margin: 0.5rem 0 0.55rem;
  color: var(--white);
  font-size: clamp(1.3rem, 2.2vw, 2.05rem);
  font-weight: 610;
  letter-spacing: -0.045em;
}

.project-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.58;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 0.36rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: rgba(19, 36, 58, 0.72);
  color: #b9c4cf;
  font-size: 0.48rem;
  font-weight: 650;
}

.project-link {
  display: inline-flex;
  gap: 0.5rem;
  margin-top: 0.9rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--line-bright);
  color: var(--gold-soft);
  font-size: 0.6rem;
  font-weight: 760;
}

.project-link span {
  transition: transform 180ms ease;
}

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

.stack-strip {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 1.3rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(8, 20, 34, 0.78);
}

.stack-heading strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--white);
  font-size: 0.8rem;
}

.stack-strip ul {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stack-strip li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.49rem;
  font-weight: 650;
  transition: color 180ms ease, transform 180ms ease;
}

.stack-strip li:hover {
  transform: translateY(-3px);
  color: var(--white);
}

.stack-strip li i {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: var(--panel-2);
  color: var(--gold);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 850;
}

.stack-strip li:nth-child(2n) i {
  color: #87a4ff;
}

.expertise-section {
  padding: 7.5rem 0 0;
  border-radius: 3rem 3rem 0 0;
  background:
    radial-gradient(circle at 80% 25%, rgba(75, 123, 255, 0.07), transparent 25%),
    var(--navy-deep);
}

.section-heading-light p {
  color: var(--muted);
}

.expertise-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(23rem, 0.65fr);
  gap: 3.5rem;
  align-items: start;
}

.expertise-item {
  border-top: 1px solid var(--line);
}

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

.expertise-item button {
  display: grid;
  grid-template-columns: 2.6rem 1fr 2rem;
  gap: 1rem;
  align-items: center;
  width: 100%;
  padding: 1.45rem 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.expertise-count {
  color: #546274;
  font-size: 0.6rem;
  font-weight: 800;
}

.expertise-name {
  color: var(--white);
  font-size: clamp(1.2rem, 2vw, 1.85rem);
  font-weight: 570;
  letter-spacing: -0.04em;
}

.expertise-toggle {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.expertise-toggle::before,
.expertise-toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.55rem;
  height: 1px;
  transform: translate(-50%, -50%);
  background: var(--white);
  content: "";
  transition: transform 180ms ease;
}

.expertise-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.expertise-item.is-open .expertise-toggle {
  border-color: var(--gold);
  background: var(--gold);
}

.expertise-item.is-open .expertise-toggle::before,
.expertise-item.is-open .expertise-toggle::after {
  background: var(--navy-deep);
}

.expertise-item.is-open .expertise-toggle::after {
  transform: translate(-50%, -50%) rotate(0);
}

.expertise-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.expertise-detail p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.expertise-item.is-open .expertise-detail {
  grid-template-rows: 1fr;
}

.expertise-item.is-open .expertise-detail p {
  padding: 0 3rem 1.6rem 3.6rem;
}

.architecture-card {
  position: sticky;
  top: 7rem;
  overflow: hidden;
  padding: 2.4rem;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 80% 15%, rgba(241, 185, 75, 0.12), transparent 28%),
    linear-gradient(145deg, #102542, #0a1930 68%, #07111e);
  box-shadow: var(--shadow);
}

.architecture-orbit {
  position: absolute;
  top: -4.5rem;
  right: -4rem;
  display: grid;
  width: 13rem;
  height: 13rem;
  place-items: center;
  border: 1px solid rgba(241, 185, 75, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 2.5rem rgba(241, 185, 75, 0.025), 0 0 0 5rem rgba(241, 185, 75, 0.018);
}

.architecture-orbit span {
  color: rgba(241, 185, 75, 0.18);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.1em;
}

.architecture-card > .micro-label,
.architecture-card > h3,
.architecture-card > p,
.architecture-flow {
  position: relative;
  z-index: 2;
}

.architecture-card h3 {
  margin: 1.3rem 0 0.8rem;
  color: var(--white);
  font-size: clamp(2rem, 3.2vw, 3.45rem);
  font-weight: 580;
  line-height: 1;
  letter-spacing: -0.06em;
}

.architecture-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.62;
}

.architecture-flow {
  margin-top: 2rem;
}

.architecture-flow > div {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.12rem 0.75rem;
  align-items: center;
}

.architecture-flow span {
  grid-row: 1 / span 2;
  color: var(--gold);
  font-size: 0.6rem;
  font-weight: 800;
}

.architecture-flow strong {
  color: var(--white);
  font-size: 0.85rem;
}

.architecture-flow small {
  color: var(--muted);
  font-size: 0.63rem;
}

.architecture-flow > i {
  display: block;
  width: 1px;
  height: 2rem;
  margin: 0.45rem 0 0.45rem 0.93rem;
  background: var(--line-bright);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.08fr 0.72fr auto;
  gap: 2.5rem;
  align-items: center;
  margin-top: 7.5rem;
  padding: 3.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(120deg, rgba(241, 185, 75, 0.05), transparent 35%),
    var(--panel);
}

.contact-panel h2 {
  font-size: clamp(2.5rem, 4vw, 4.5rem);
}

.contact-copy > p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.contact-details {
  display: grid;
  gap: 1rem;
}

.contact-details > a,
.contact-details > div {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-details > a > span,
.contact-details > div > span {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border: 1px solid var(--line-bright);
  border-radius: 0.65rem;
  color: var(--gold);
}

.contact-details small,
.contact-details strong {
  display: block;
}

.contact-details small {
  margin-bottom: 0.3rem;
  color: var(--gold);
  font-size: 0.47rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.contact-details strong {
  color: var(--white);
  font-size: 0.72rem;
}

.contact-orb {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 10.5rem;
  height: 10.5rem;
  padding: 1.4rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-soft), var(--gold));
  box-shadow: 0 18px 40px rgba(241, 185, 75, 0.16);
  color: var(--navy-deep);
  font-size: 0.72rem;
  font-weight: 800;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), background 180ms ease;
}

.contact-orb i {
  align-self: flex-end;
  font-size: 1.2rem;
  font-style: normal;
}

.contact-orb:hover {
  transform: rotate(-7deg) scale(1.05);
  background: var(--white);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 0;
  color: #6f7c8d;
  font-size: 0.6rem;
  letter-spacing: 0.05em;
}

.brand-footer .brand-mark {
  width: 2.5rem;
  height: 2.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.hero .reveal:nth-child(2) { transition-delay: 70ms; }
.hero .reveal:nth-child(3) { transition-delay: 120ms; }
.hero .reveal:nth-child(4) { transition-delay: 170ms; }
.hero .reveal:nth-child(5) { transition-delay: 220ms; }
.hero .reveal:nth-child(6) { transition-delay: 270ms; }

@media (max-width: 1180px) {
  .nav-shell,
  .hero-shell,
  .metrics-shell,
  .section-shell {
    width: min(100% - 3rem, 1040px);
  }

  .hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(27rem, 0.78fr);
    gap: 3rem;
  }

  .hero-name {
    font-size: clamp(4rem, 7.2vw, 6rem);
  }

  .hero-role {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .hero-visual {
    min-height: 36rem;
  }

  .portrait-frame {
    height: 31rem;
  }

  .metric-item {
    grid-template-columns: auto 1fr;
  }

  .metric-item p {
    grid-column: 1 / -1;
  }

  .workbench {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .project-row {
    grid-template-columns: 0.82fr 1.18fr;
  }

  .stack-strip {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    grid-template-columns: 1fr 0.8fr;
  }

  .contact-orb {
    grid-column: 1 / -1;
    width: 8.5rem;
    height: 8.5rem;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    z-index: 102;
    display: block;
  }

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

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

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.7rem;
    padding: 3rem;
    transform: translateY(-100%);
    background: rgba(3, 10, 20, 0.98);
    font-size: 1.75rem;
    opacity: 0;
    pointer-events: none;
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), opacity 250ms ease;
  }

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

  .site-nav > a:not(.nav-cta) {
    padding: 0;
  }

  .site-nav > a:not(.nav-cta)::after {
    bottom: -0.5rem;
  }

  .site-nav .nav-cta {
    margin-top: 0.6rem;
    font-size: 0.8rem;
  }

  .hero {
    min-height: auto;
    padding-top: 7rem;
  }

  .hero-shell,
  .section-heading,
  .expertise-layout {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    gap: 2rem;
  }

  .hero-copy {
    max-width: 46rem;
  }

  .hero-role {
    align-items: baseline;
    flex-direction: row;
  }

  .hero-visual {
    width: min(100%, 43rem);
    margin-left: auto;
  }

  .metrics-shell {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2rem;
  }

  .metric-item:nth-child(2) {
    border-right: 0;
  }

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

  .section-heading {
    gap: 1.3rem;
  }

  .workbench {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .expertise-layout {
    gap: 3rem;
  }

  .architecture-card {
    position: relative;
    top: 0;
  }

  .stack-strip ul {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 1.4rem;
  }
}

@media (max-width: 620px) {
  .nav-shell,
  .hero-shell,
  .metrics-shell,
  .section-shell {
    width: calc(100% - 2rem);
  }

  .nav-shell {
    height: 4.7rem;
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    padding-top: 6.3rem;
  }

  .hero-copy {
    padding-top: 0.5rem;
  }

  .eyebrow {
    margin-bottom: 1.4rem;
    font-size: 0.54rem;
    line-height: 1.45;
  }

  .hero-name {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .hero-role {
    align-items: flex-start;
    flex-direction: column;
    font-size: clamp(1.3rem, 7vw, 2rem);
  }

  .word-window {
    width: 100%;
  }

  .word-track > span {
    white-space: nowrap;
  }

  .skill-chips {
    gap: 0.45rem;
  }

  .skill-chips li {
    padding: 0.55rem 0.62rem;
    font-size: 0.57rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    justify-content: space-between;
    width: 100%;
  }

  .hero-visual {
    min-height: 31rem;
  }

  .portrait-frame {
    width: 100%;
    height: 27rem;
    border-radius: 6rem 1.2rem 1.2rem 1.2rem;
  }

  .portrait-monogram {
    font-size: 11rem;
  }

  .orbit-one {
    width: 14rem;
    height: 14rem;
    margin: -7rem;
  }

  .orbit-two {
    width: 19rem;
    height: 19rem;
    margin: -9.5rem;
  }

  .hero-system {
    right: -0.3rem;
    bottom: 0.2rem;
    width: 94%;
  }

  .floating-card-ai {
    top: 1rem;
    left: -0.2rem;
  }

  .floating-card-location {
    display: none;
  }

  .metrics-shell {
    grid-template-columns: 1fr;
  }

  .metric-item {
    grid-template-columns: 2.6rem 3.2rem 1fr;
    min-height: 5.2rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

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

  .metric-item p {
    grid-column: auto;
  }

  .work-section,
  .expertise-section {
    padding-top: 5.5rem;
  }

  .section-heading h2,
  .contact-panel h2 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

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

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

  .project-preview {
    min-height: 13rem;
  }

  .project-copy {
    padding: 0.5rem 0.35rem 0.8rem;
  }

  .stack-strip {
    padding: 1.2rem;
  }

  .stack-strip ul {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem 0.55rem;
  }

  .expertise-item button {
    grid-template-columns: 2rem 1fr 1.5rem;
  }

  .expertise-item.is-open .expertise-detail p {
    padding-left: 3rem;
  }

  .architecture-card {
    padding: 1.8rem;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 5.5rem;
    padding: 1.5rem;
  }

  .contact-orb {
    grid-column: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.2rem;
  }
}

@media (max-width: 390px) {
  .brand-copy strong {
    font-size: 0.8rem;
  }

  .hero-name {
    font-size: 3rem;
  }

  .hero-role {
    font-size: 1.25rem;
  }

  .word-track > span {
    font-size: 0.94em;
  }

  .skill-chips li {
    font-size: 0.53rem;
  }

  .system-metrics {
    grid-template-columns: 1fr;
  }

  .hero-system {
    bottom: -1.3rem;
  }

  .module-flow span {
    padding: 0.35rem 0.42rem;
  }

  .stack-strip ul {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Light hybrid direction: first design palette + final dense content */
:root {
  --paper: #f5f3ee;
  --paper-deep: #e9e6df;
  --ink: #121416;
  --ink-soft: #272b31;
  --light-muted: #666966;
  --light-line: rgba(18, 20, 22, 0.14);
  --cobalt: #2f5bff;
  --cobalt-deep: #173bc2;
  --acid: #c8ff57;
}

body {
  background: var(--paper);
  color: var(--ink);
}

.page-noise {
  opacity: 0.012;
}

.site-header.is-scrolled {
  border-color: var(--light-line);
  background: rgba(245, 243, 238, 0.9);
  box-shadow: 0 1px rgba(18, 20, 22, 0.04);
}

.brand-mark {
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: none;
  color: var(--paper);
}

.brand-copy strong {
  color: var(--ink);
}

.brand-copy small {
  color: var(--cobalt);
}

.site-nav {
  color: #555a60;
}

.site-nav > a:not(.nav-cta)::after {
  background: var(--cobalt);
}

.site-nav > a:not(.nav-cta):hover {
  color: var(--ink);
}

.nav-cta {
  border-color: var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
}

.nav-cta:hover {
  background: var(--cobalt);
  color: var(--white);
}

.menu-toggle {
  border-color: var(--ink);
  border-radius: 50%;
  background: var(--ink);
}

.menu-toggle span {
  background: var(--white);
}

.hero {
  min-height: 100svh;
  padding: 8.2rem 0 0;
  border-bottom: 0;
  background: var(--paper);
  color: var(--ink);
}

.hero-grid {
  opacity: 0.62;
  background-image:
    linear-gradient(rgba(18, 20, 22, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 20, 22, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-glow-blue {
  opacity: 0.13;
  background: var(--cobalt);
}

.hero-glow-gold {
  opacity: 0.08;
  background: var(--acid);
}

.hero-shell {
  min-height: calc(100svh - 16rem);
}

.eyebrow {
  color: var(--cobalt);
}

.eyebrow-line {
  background: var(--cobalt);
  box-shadow: 0 0 16px rgba(47, 91, 255, 0.35);
}

.hero-kicker {
  color: var(--light-muted);
}

.hero-name,
.hero-role > span:first-child {
  color: var(--ink);
}

.hero-role {
  color: var(--cobalt);
}

.hero-intro {
  color: var(--light-muted);
}

.skill-chips li {
  border-color: var(--light-line);
  background: rgba(255, 255, 255, 0.62);
  color: #454a50;
}

.skill-chips li:hover {
  border-color: rgba(47, 91, 255, 0.4);
  background: var(--white);
}

.skill-chips i {
  color: var(--cobalt);
}

.button-primary {
  background: var(--cobalt);
  box-shadow: 0 14px 32px rgba(47, 91, 255, 0.2);
  color: var(--white);
}

.button-primary:hover {
  box-shadow: 0 18px 42px rgba(47, 91, 255, 0.3);
}

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

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

.button-secondary:hover {
  border-color: var(--cobalt);
  background: rgba(47, 91, 255, 0.06);
  color: var(--cobalt);
}

.hero-visual {
  min-height: 35rem;
}

.system-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 35px 80px rgba(15, 18, 25, 0.13);
  backdrop-filter: blur(24px);
}

.system-card-main {
  position: absolute;
  top: 2rem;
  right: 0;
  width: min(100%, 32rem);
  padding: 1.7rem;
  transform: rotate(2deg);
  border-radius: 2rem;
  will-change: transform;
}

.system-topline strong {
  color: var(--ink);
  font-size: 1.1rem;
}

.hero .micro-label {
  color: #898b88;
}

.hero .live-pill {
  border: 0;
  background: rgba(200, 255, 87, 0.3);
  color: #3a510e;
}

.hero .live-pill i {
  background: #7da500;
  box-shadow: none;
}

.system-metric {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 3.1rem 0 1.1rem;
}

.system-metric > span {
  max-width: 5rem;
  color: var(--light-muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.system-metric strong {
  color: var(--cobalt);
  font-size: 4.1rem;
  font-weight: 580;
  letter-spacing: -0.08em;
  line-height: 0.86;
}

.system-metric small {
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero .module-flow {
  margin-top: 1.8rem;
  color: var(--ink);
}

.hero .module-flow span {
  border-color: var(--light-line);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
}

.hero .module-flow i {
  background: var(--light-line);
}

.hero .system-chart {
  height: 8rem;
  margin-top: 0.55rem;
}

.floating-card {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 50px rgba(20, 24, 35, 0.14);
}

.floating-card small {
  color: #898b88;
}

.floating-card strong {
  color: var(--ink);
}

.floating-card-ai {
  top: auto;
  bottom: 3.4rem;
  left: -1.5rem;
}

.floating-card-stack {
  top: 0;
  left: 0.25rem;
  animation-delay: -2.2s;
}

.floating-icon {
  background: var(--cobalt);
}

.stack-dot {
  width: 2rem;
  height: 2rem;
  border: 0.45rem solid var(--ink);
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.22rem var(--acid);
}

.metrics-shell {
  margin-top: 1.5rem;
  border-color: var(--light-line);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 50px rgba(20, 24, 35, 0.08);
}

.metric-item {
  border-color: var(--light-line);
}

.metric-icon {
  border-color: rgba(47, 91, 255, 0.25);
  color: var(--cobalt);
}

.metric-item > strong {
  color: var(--ink);
}

.metric-item p {
  color: #3f4449;
}

.metric-item small {
  color: var(--light-muted);
}

.signal-strip {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 2.3rem;
  overflow: hidden;
  border-top: 1px solid var(--light-line);
  border-bottom: 1px solid var(--light-line);
  background: rgba(245, 243, 238, 0.88);
}

.signal-track {
  display: flex;
  align-items: center;
  width: max-content;
  padding: 1.1rem 0;
  animation: signal-left 28s linear infinite;
}

.signal-track span {
  padding: 0 2rem;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-track i {
  color: var(--cobalt);
  font-style: normal;
}

@keyframes signal-left {
  to { transform: translateX(-50%); }
}

.profile-section {
  padding: 7.5rem 0;
  background: var(--paper);
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(22rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.profile-portrait {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 2.2rem;
  background: #e9e7e2;
  box-shadow: 0 34px 75px rgba(20, 24, 35, 0.14);
}

.profile-portrait::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.profile-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 22%;
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-portrait:hover img {
  transform: scale(1.025);
}

.profile-portrait figcaption {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
}

.profile-portrait figcaption span,
.profile-portrait figcaption strong {
  display: block;
}

.profile-portrait figcaption span {
  margin-bottom: 0.35rem;
  color: var(--cobalt);
  font-size: 0.5rem;
  font-weight: 820;
  letter-spacing: 0.16em;
}

.profile-portrait figcaption strong {
  color: var(--ink);
  font-size: 0.78rem;
}

.profile-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  font-weight: 580;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.profile-copy > p {
  max-width: 48rem;
  margin: 1.1rem 0 0;
  color: var(--light-muted);
  font-size: 0.92rem;
  line-height: 1.72;
}

.profile-copy .profile-lead {
  margin-top: 1.6rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
  font-weight: 560;
}

.profile-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-top: 1.8rem;
}

.profile-highlights article {
  min-height: 7.7rem;
  padding: 1rem;
  border: 1px solid var(--light-line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.68);
  transition: transform 180ms ease, border-color 180ms ease;
}

.profile-highlights article:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 91, 255, 0.35);
}

.profile-highlights strong,
.profile-highlights small {
  display: block;
}

.profile-highlights strong {
  color: var(--cobalt);
  font-size: 1.8rem;
  font-weight: 620;
  letter-spacing: -0.06em;
}

.profile-highlights small {
  margin-top: 0.65rem;
  color: var(--light-muted);
  font-size: 0.58rem;
  line-height: 1.45;
}

.profile-businesses {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.profile-businesses span {
  padding: 0.48rem 0.68rem;
  border: 1px solid var(--light-line);
  border-radius: 999px;
  color: #4d5156;
  font-size: 0.56rem;
  font-weight: 680;
}

.work-section {
  padding: 7.5rem 0 6rem;
  background: var(--paper-deep);
}

.work-section .section-heading h2,
.work-section .panel-heading h3,
.work-section .service-card h4,
.work-section .project-copy h3,
.work-section .stack-heading strong {
  color: var(--ink);
}

.work-section .section-heading p,
.work-section .service-card p,
.work-section .project-copy p {
  color: var(--light-muted);
}

.work-section .section-index,
.work-section .micro-label,
.work-section .project-meta {
  color: var(--cobalt);
}

.work-section .project-meta i {
  background: var(--cobalt);
  box-shadow: 0 0 10px rgba(47, 91, 255, 0.5);
}

.work-section .panel-count {
  color: rgba(47, 91, 255, 0.16);
}

.work-section .panel-heading > a,
.work-section .project-link {
  border-color: rgba(47, 91, 255, 0.35);
  color: var(--cobalt);
}

.service-card,
.project-row {
  border-color: var(--light-line);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 30px rgba(20, 24, 35, 0.035);
}

.service-card:hover,
.project-row:hover {
  border-color: rgba(47, 91, 255, 0.35);
  background: var(--white);
}

.service-icon {
  border-color: rgba(47, 91, 255, 0.2);
  background: rgba(47, 91, 255, 0.05);
  color: var(--cobalt);
}

.service-card > i {
  color: #87909a;
}

.service-card:hover > i {
  color: var(--cobalt);
}

.tag-list li {
  border-color: var(--light-line);
  background: rgba(245, 243, 238, 0.8);
  color: #555b61;
}

.stack-strip {
  display: block;
  margin-top: 1.3rem;
  padding: 1.45rem 0;
  overflow: hidden;
  border-color: var(--light-line);
  background: rgba(255, 255, 255, 0.76);
}

.stack-heading {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0 1.4rem 1.15rem;
}

.stack-heading strong {
  margin: 0;
  font-size: 1.05rem;
}

.stack-marquee {
  overflow: hidden;
  border-top: 1px solid var(--light-line);
  mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent);
}

.stack-strip .stack-track {
  display: flex;
  grid-template-columns: none;
  gap: 0;
  align-items: center;
  width: max-content;
  padding: 1.25rem 0 0;
  animation: stack-right 32s linear infinite;
}

.stack-strip .stack-track li {
  flex: 0 0 9.5rem;
  gap: 0.65rem;
  color: var(--light-muted);
  font-size: 0.7rem;
}

.stack-strip .stack-track li i {
  width: 3.5rem;
  height: 3.5rem;
  border-color: var(--light-line);
  border-radius: 0.9rem;
  background: var(--ink);
  color: var(--white);
  font-size: 0.78rem;
  box-shadow: 0 10px 22px rgba(20, 24, 35, 0.12);
}

.stack-strip .stack-track li:nth-child(2n) i {
  background: var(--cobalt);
  color: var(--white);
}

@keyframes stack-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.expertise-section {
  background:
    radial-gradient(circle at 80% 25%, rgba(47, 91, 255, 0.08), transparent 25%),
    var(--ink);
}

.expertise-section .section-index,
.expertise-section .micro-label {
  color: #81a0ff;
}

.expertise-section .architecture-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: var(--cobalt);
}

.expertise-section .architecture-orbit {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 2.5rem rgba(255, 255, 255, 0.035), 0 0 0 5rem rgba(255, 255, 255, 0.02);
}

.expertise-section .architecture-orbit span,
.expertise-section .architecture-flow span {
  color: var(--acid);
}

.expertise-section .expertise-item.is-open .expertise-toggle {
  border-color: var(--cobalt);
  background: var(--cobalt);
}

.contact-panel {
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: stretch;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background:
    linear-gradient(125deg, rgba(47, 91, 255, 0.09), transparent 40%),
    #181b1f;
}

.contact-intro {
  display: flex;
  flex-direction: column;
}

.contact-copy > p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-details {
  margin-top: 1.6rem;
}

.contact-details > a,
.contact-details > div {
  border-color: rgba(255, 255, 255, 0.12);
}

.contact-details > a > span,
.contact-details > div > span {
  border-color: rgba(75, 123, 255, 0.35);
  color: #81a0ff;
}

.contact-details small {
  color: #81a0ff;
}

.social-links {
  display: flex;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

.social-links a {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.7rem;
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 820;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  border-color: var(--cobalt);
  background: var(--cobalt);
}

.contact-form {
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.055);
}

.form-heading h3 {
  margin: 0.45rem 0 1.4rem;
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 580;
  letter-spacing: -0.05em;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.form-grid label {
  display: grid;
  gap: 0.45rem;
}

.form-grid label > span {
  color: #aab1ba;
  font-size: 0.6rem;
  font-weight: 680;
}

.form-wide {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.75rem;
  outline: 0;
  background: rgba(4, 9, 15, 0.42);
  color: var(--white);
  font: inherit;
  font-size: 0.7rem;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.form-grid input,
.form-grid select {
  height: 3rem;
  padding: 0 0.85rem;
}

.form-grid textarea {
  min-height: 7.6rem;
  padding: 0.85rem;
  resize: vertical;
  line-height: 1.55;
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
  color: #6f7781;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: #7191ff;
  background: rgba(4, 9, 15, 0.64);
  box-shadow: 0 0 0 3px rgba(47, 91, 255, 0.12);
}

.form-grid select option {
  background: #181b1f;
  color: var(--white);
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 3.35rem;
  margin-top: 1rem;
  padding: 0 1.1rem;
  border: 0;
  border-radius: 0.8rem;
  background: var(--cobalt);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 760;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.form-submit:hover {
  transform: translateY(-2px);
  background: #416cff;
}

.form-note {
  margin: 0.75rem 0 0;
  color: #777f89;
  font-size: 0.54rem;
  line-height: 1.5;
}

@media (max-width: 1050px) {
  .profile-highlights {
    grid-template-columns: 1fr 1fr;
  }

  .profile-highlights article {
    min-height: 6.7rem;
  }
}

@media (max-width: 900px) {
  .site-nav {
    background: rgba(245, 243, 238, 0.98);
    color: var(--ink);
  }

  .hero-shell {
    min-height: auto;
  }

  .hero-visual {
    width: min(100%, 42rem);
  }

  .signal-strip {
    margin-top: 2.6rem;
  }

  .profile-grid {
    grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
    gap: 2.4rem;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .social-links {
    margin-top: 1rem;
  }
}

@media (max-width: 720px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-portrait {
    width: min(100%, 29rem);
    margin: 0 auto;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-top: 6.5rem;
  }

  .hero-visual {
    min-height: 31rem;
  }

  .system-card-main {
    top: 1rem;
    width: 100%;
    transform: none;
  }

  .system-metric strong {
    font-size: 3.3rem;
  }

  .floating-card-stack {
    top: auto;
    right: 0;
    bottom: 0.4rem;
    left: auto;
  }

  .floating-card-ai {
    bottom: 4.8rem;
    left: -0.2rem;
  }

  .signal-track span {
    padding: 0 1.4rem;
  }

  .profile-section {
    padding: 5.5rem 0;
  }

  .profile-highlights {
    grid-template-columns: 1fr 1fr;
  }

  .profile-highlights article {
    min-height: 7.2rem;
  }

  .stack-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .stack-strip .stack-track li {
    flex-basis: 8.4rem;
  }

  .stack-strip .stack-track li i {
    width: 3.2rem;
    height: 3.2rem;
  }

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

  .form-wide {
    grid-column: auto;
  }
}

@media (max-width: 390px) {
  .profile-highlights {
    grid-template-columns: 1fr;
  }

  .profile-highlights article {
    min-height: auto;
  }
}

/* Final light, authentic-brand, viewport-responsive refinement */
section {
  scroll-margin-top: 5.2rem;
}

.profile-section,
.work-section,
.expertise-section {
  padding-top: clamp(4.5rem, 8vh, 7.5rem);
  padding-bottom: clamp(4.5rem, 8vh, 7.5rem);
}

.profile-portrait img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.profile-highlights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.profile-highlights article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 9rem;
  padding: 1.25rem;
  overflow: hidden;
  border-color: rgba(47, 91, 255, 0.16);
  background:
    radial-gradient(circle at 0 0, rgba(47, 91, 255, 0.12), transparent 45%),
    rgba(255, 255, 255, 0.88);
}

.profile-highlights article::after {
  align-self: stretch;
  width: 1px;
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  margin-right: -0.5rem;
  background: rgba(47, 91, 255, 0.14);
  content: "";
}

.profile-highlights article:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 91, 255, 0.4);
  box-shadow: 0 16px 34px rgba(47, 91, 255, 0.08);
}

.highlight-number {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  min-width: 4.2rem;
  color: var(--cobalt);
  font-size: clamp(2.6rem, 4vw, 4rem);
  font-weight: 650;
  line-height: 0.9;
  letter-spacing: -0.085em;
}

.profile-highlights article > div:last-child {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
}

.profile-highlights article > div:last-child strong,
.profile-highlights article > div:last-child small {
  display: block;
}

.profile-highlights article > div:last-child strong {
  color: var(--ink);
  font-size: clamp(0.82rem, 1.15vw, 1.05rem);
  font-weight: 720;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.profile-highlights article > div:last-child small {
  margin-top: 0.45rem;
  color: var(--light-muted);
  font-size: clamp(0.62rem, 0.8vw, 0.72rem);
  line-height: 1.5;
}

.stack-strip .stack-track li {
  flex-basis: 10.5rem;
  gap: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 700;
}

.stack-strip .stack-track li i,
.stack-strip .stack-track li:nth-child(2n) i {
  display: grid;
  width: 4.2rem;
  height: 4.2rem;
  place-items: center;
  border: 1px solid var(--light-line);
  border-radius: 1rem;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(20, 24, 35, 0.09);
}

.stack-strip .stack-track li i img {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
}

.expertise-section {
  padding-bottom: 0;
  border-radius: 3rem 3rem 0 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(47, 91, 255, 0.08), transparent 24%),
    var(--paper);
  color: var(--ink);
}

.expertise-section .section-heading h2,
.expertise-section .expertise-name,
.expertise-section .architecture-card h3,
.expertise-section .architecture-flow strong,
.expertise-section .contact-panel h2,
.expertise-section .contact-details strong,
.expertise-section .form-heading h3 {
  color: var(--ink);
}

.expertise-section .section-heading p,
.expertise-section .expertise-detail p,
.expertise-section .architecture-card > p,
.expertise-section .architecture-flow small,
.expertise-section .contact-copy > p {
  color: var(--light-muted);
}

.expertise-section .section-index,
.expertise-section .micro-label,
.expertise-section .expertise-count,
.expertise-section .architecture-flow span,
.expertise-section .contact-details small {
  color: var(--cobalt);
}

.expertise-item,
.expertise-item:last-child {
  border-color: var(--light-line);
}

.expertise-toggle {
  border-color: var(--light-line);
}

.expertise-toggle::before,
.expertise-toggle::after {
  background: var(--ink);
}

.expertise-section .expertise-item.is-open .expertise-toggle {
  border-color: var(--cobalt);
  background: var(--cobalt);
}

.expertise-section .expertise-item.is-open .expertise-toggle::before,
.expertise-section .expertise-item.is-open .expertise-toggle::after {
  background: var(--white);
}

.expertise-section .architecture-card {
  border-color: rgba(47, 91, 255, 0.18);
  background:
    radial-gradient(circle at 82% 14%, rgba(47, 91, 255, 0.13), transparent 32%),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 30px 65px rgba(20, 24, 35, 0.1);
}

.expertise-section .architecture-orbit {
  border-color: rgba(47, 91, 255, 0.14);
  box-shadow: 0 0 0 2.5rem rgba(47, 91, 255, 0.025), 0 0 0 5rem rgba(47, 91, 255, 0.018);
}

.expertise-section .architecture-orbit span {
  color: rgba(47, 91, 255, 0.18);
}

.expertise-section .architecture-flow > i {
  background: rgba(47, 91, 255, 0.22);
}

.contact-panel {
  border-color: var(--light-line);
  background:
    radial-gradient(circle at 0 100%, rgba(47, 91, 255, 0.08), transparent 32%),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 28px 65px rgba(20, 24, 35, 0.08);
}

.contact-details > a,
.contact-details > div {
  border-color: var(--light-line);
}

.contact-details > a > span,
.contact-details > div > span {
  border-color: rgba(47, 91, 255, 0.2);
  background: var(--white);
  color: var(--cobalt);
}

.contact-details > a > span img,
.contact-details > div > span img {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
}

.social-links a {
  border-color: var(--light-line);
  background: var(--white);
  color: var(--ink);
}

.social-links a:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 91, 255, 0.35);
  background: var(--white);
  box-shadow: 0 10px 22px rgba(20, 24, 35, 0.1);
}

.social-links a img {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
}

.contact-form {
  border-color: var(--light-line);
  background: #f7f8fb;
}

.form-grid label > span {
  color: #515860;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  border-color: var(--light-line);
  background: var(--white);
  color: var(--ink);
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
  color: #92989f;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--cobalt);
  background: var(--white);
}

.form-grid select option {
  background: var(--white);
  color: var(--ink);
}

.form-note {
  color: #747b83;
}

.site-footer {
  color: #6f747a;
}

.site-footer .brand-copy strong {
  color: var(--ink);
}

@media (max-width: 1100px) {
  .profile-highlights {
    grid-template-columns: 1fr;
  }

  .profile-highlights article {
    min-height: 7.5rem;
  }
}

@media (max-width: 900px) {
  .profile-section,
  .work-section,
  .expertise-section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .expertise-section {
    padding-bottom: 0;
  }
}

@media (max-width: 620px) {
  .profile-highlights {
    grid-template-columns: 1fr;
  }

  .profile-highlights article {
    grid-template-columns: 4.2rem 1fr;
    min-height: 7rem;
    padding: 1rem;
  }

  .highlight-number {
    min-width: 3.8rem;
    font-size: 2.85rem;
  }

  .profile-highlights article > div:last-child strong {
    font-size: 0.94rem;
  }

  .profile-highlights article > div:last-child small {
    font-size: 0.66rem;
  }

  .stack-strip .stack-track li {
    flex-basis: 8.5rem;
    font-size: 0.68rem;
  }

  .stack-strip .stack-track li i,
  .stack-strip .stack-track li:nth-child(2n) i {
    width: 3.65rem;
    height: 3.65rem;
  }

  .stack-strip .stack-track li i img {
    width: 2.35rem;
    height: 2.35rem;
  }

  .contact-panel {
    padding: 1.15rem;
  }
}

@media (max-height: 780px) and (min-width: 901px) {
  .hero {
    padding-top: 6.5rem;
  }

  .hero-shell {
    min-height: auto;
  }

  .profile-section,
  .work-section,
  .expertise-section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .expertise-section {
    padding-bottom: 0;
  }
}

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