:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-soft: #0b1828;
  --panel: rgba(15, 31, 52, 0.78);
  --panel-strong: rgba(21, 39, 64, 0.96);
  --text: #eef5ff;
  --muted: #9fb0c7;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #5eead4;
  --accent-2: #60a5fa;
  --accent-3: #c084fc;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
  --radius: 24px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.2), transparent 34rem),
    radial-gradient(circle at 80% 10%, rgba(94, 234, 212, 0.18), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link,
.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:focus {
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: .75rem 1rem;
  clip: auto;
  border-radius: 999px;
  background: var(--accent);
  color: #04111d;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 50%;
  display: flex;
  width: min(calc(100% - 32px), var(--max));
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transform: translateX(-50%);
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.72);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}

.site-header.is-scrolled {
  border-color: rgba(94, 234, 212, 0.22);
  background: rgba(7, 17, 31, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-weight: 800;
  letter-spacing: .01em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06111f;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.site-nav a {
  border-radius: 999px;
  padding: .62rem .88rem;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
  transition: color .2s ease, background .2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 96px 0;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  align-content: center;
  padding-top: 132px;
}

.hero-bg {
  position: absolute;
  inset: 0 50% auto auto;
  width: 58vw;
  height: 58vw;
  min-width: 360px;
  min-height: 360px;
  transform: translate(24%, -16%);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(94, 234, 212, 0.18), rgba(96, 165, 250, 0.08)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 44px);
  filter: blur(.2px);
  opacity: .8;
  pointer-events: none;
  animation: ambient-drift 14s ease-in-out infinite alternate;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  align-items: center;
  gap: 4rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 1rem;
  font-size: clamp(3.4rem, 8vw, 7.8rem);
  line-height: .9;
  letter-spacing: -.04em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -.03em;
}

h3 {
  margin-bottom: .7rem;
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero-role {
  max-width: 820px;
  color: #dbeafe;
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  font-weight: 700;
}

.hero-text,
.section-heading p,
.section-body p,
.glass-card p,
.contact-card p,
.site-footer {
  color: var(--muted);
}

.hero-text {
  max-width: 720px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .85rem 1.2rem;
  cursor: pointer;
  font-weight: 800;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06111f;
}

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.hero-panel {
  position: relative;
  justify-self: end;
  width: min(100%, 340px);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  animation: panel-float 8s ease-in-out infinite;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.hero-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 234, 212, 0.35);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
  border-radius: 24px;
  filter: saturate(1.04) contrast(1.02);
}

.availability-card,
.orbit-card {
  position: absolute;
  border: 1px solid var(--line);
  background: rgba(7, 17, 31, 0.78);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
}

.availability-card {
  right: -20px;
  bottom: 46px;
  display: flex;
  max-width: 235px;
  align-items: center;
  gap: .65rem;
  border-radius: 18px;
  padding: .85rem;
  color: #dbeafe;
  font-size: .9rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 8px rgba(34, 197, 94, .14);
}

.orbit-card {
  border-radius: 999px;
  padding: .55rem .78rem;
  color: #dbeafe;
  font-size: .82rem;
  font-weight: 800;
  animation: orbit-pulse 4.8s ease-in-out infinite;
}

.orbit-card.top {
  top: 44px;
  left: -22px;
}

.orbit-card.right {
  top: 38%;
  right: -28px;
}

.orbit-card.bottom {
  bottom: -16px;
  left: 24%;
}

.hero-stats,
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.hero-stats div {
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.05);
  transition: background .25s ease, transform .25s ease;
}

.hero-stats div:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.hero-stats strong {
  display: block;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
}

.hero-stats span {
  color: var(--muted);
  font-size: .86rem;
}

.content-grid,
.contact-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.section-body,
.contact-card,
.glass-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.section-body,
.contact-card {
  padding: clamp(1.3rem, 3vw, 2rem);
}

.profile-list {
  display: grid;
  grid-template-columns: minmax(90px, .32fr) 1fr;
  gap: .8rem 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.profile-list span {
  color: var(--muted);
}

.profile-list a,
.profile-list strong {
  color: var(--text);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.stack-groups {
  display: grid;
  gap: 1.2rem;
}

.stack-groups > div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  background: var(--panel);
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}

.stack-groups > div:hover {
  transform: translateY(-3px);
  border-color: rgba(94, 234, 212, 0.28);
  background: var(--panel-strong);
}

.stack-groups h3 {
  margin-bottom: 1rem;
}

.skill-cloud span {
  border: 1px solid rgba(94, 234, 212, 0.22);
  border-radius: 999px;
  padding: .8rem 1rem;
  background: rgba(94, 234, 212, 0.08);
  color: #dffdfa;
  font-weight: 800;
}

.skill-cloud.secondary span {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.cert-grid,
.case-study-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.glass-card {
  padding: 1.35rem;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(94, 234, 212, 0.35);
  background: var(--panel-strong);
}

.card-number,
.tag {
  display: inline-flex;
  margin-bottom: 1.4rem;
  border-radius: 999px;
  padding: .3rem .55rem;
  background: rgba(96, 165, 250, 0.14);
  color: #bfdbfe;
  font-size: .78rem;
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  margin-top: .8rem;
  color: var(--accent);
  font-weight: 900;
}

.case-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 165, 250, 0.35);
  background: var(--panel-strong);
}

.case-card p {
  margin-bottom: .8rem;
  color: var(--muted);
}

.case-card p:last-child {
  margin-bottom: 0;
}

.case-card strong {
  color: #dbeafe;
}

.timeline-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1rem;
}

.timeline-column {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 1.6rem);
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: border-color .25s ease, background .25s ease;
}

.timeline-column:hover {
  border-color: rgba(94, 234, 212, 0.24);
  background: var(--panel-strong);
}

.timeline-column h3 {
  margin-bottom: 1.35rem;
  color: var(--text);
  font-size: 1.35rem;
}

.timeline-item {
  position: relative;
  padding: 0 0 1.25rem 1.35rem;
  border-left: 1px solid rgba(94, 234, 212, 0.28);
  transition: transform .22s ease;
}

.timeline-item:hover {
  transform: translateX(4px);
}

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

.timeline-item::before {
  content: "";
  position: absolute;
  top: .24rem;
  left: -6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(94, 234, 212, 0.12);
}

.timeline-date {
  display: inline-flex;
  margin-bottom: .45rem;
  border-radius: 999px;
  padding: .24rem .5rem;
  background: rgba(96, 165, 250, 0.12);
  color: #bfdbfe;
  font-size: .76rem;
  font-weight: 900;
}

.timeline-item h4 {
  margin: 0 0 .45rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.25;
}

.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .94rem;
}

.contact-links {
  display: grid;
  gap: .65rem;
  margin: 1.35rem 0;
}

.contact-links a,
.contact-links span {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: .85rem 1rem;
  background: rgba(255, 255, 255, 0.04);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1.1rem 0 1.5rem;
}

.social-links a {
  border: 1px solid rgba(94, 234, 212, 0.24);
  border-radius: 999px;
  padding: .58rem .8rem;
  background: rgba(94, 234, 212, 0.08);
  color: #dffdfa;
  font-size: .86rem;
  font-weight: 800;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(94, 234, 212, 0.42);
  background: rgba(94, 234, 212, 0.14);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.4rem;
}

.contact-note {
  margin: 1rem 0 0;
  font-size: .92rem;
}

.contact-form {
  display: grid;
  gap: .9rem;
  margin-top: 1.5rem;
}

.contact-form label {
  display: grid;
  gap: .4rem;
  color: var(--muted);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: .9rem 1rem;
  background: rgba(2, 6, 23, 0.36);
  color: var(--text);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.12);
}

.site-footer {
  display: flex;
  width: min(calc(100% - 32px), var(--max));
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--accent);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.policy-page {
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.16), transparent 34rem),
    var(--bg);
}

.policy-header {
  position: sticky;
  top: 16px;
  left: auto;
  right: auto;
  transform: none;
  margin: 16px auto 0;
}

.policy-nav {
  display: flex;
}

.policy-main {
  padding-top: 92px;
}

.policy-hero {
  padding-bottom: 40px;
}

.policy-hero h1 {
  max-width: 980px;
  font-size: clamp(2.5rem, 6vw, 5.8rem);
}

.policy-updated {
  color: var(--accent);
  font-weight: 800;
}

.policy-content {
  display: grid;
  gap: 1rem;
  padding-top: 20px;
}

.policy-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.policy-card h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.policy-card p {
  color: var(--muted);
}

.policy-card p:last-child {
  margin-bottom: 0;
}

.policy-contact {
  margin-top: 1rem;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .72s cubic-bezier(.16, 1, .3, 1), transform .72s cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, transform;
}

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

@keyframes ambient-drift {
  from {
    transform: translate(24%, -16%) scale(1);
  }

  to {
    transform: translate(20%, -13%) scale(1.04);
  }
}

@keyframes ambient-drift-mobile {
  from {
    transform: translate(-50%, -18%) scale(1);
  }

  to {
    transform: translate(-50%, -15%) scale(1.03);
  }
}

@keyframes panel-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -8px;
  }
}

@keyframes orbit-pulse {
  0%,
  100% {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
  }

  50% {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.34), 0 0 0 5px rgba(94, 234, 212, 0.08);
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 72px 10px auto 10px;
    display: none;
    width: auto;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: .8rem;
    background: rgba(7, 17, 31, 0.96);
    box-shadow: var(--shadow);
    transform-origin: top center;
  }

  .site-nav.is-open {
    display: flex;
    animation: menu-drop .22s ease both;
  }

  .site-nav a {
    padding: .9rem 1rem;
  }

  .policy-header {
    top: 10px;
    left: auto;
    transform: none;
  }

  .policy-nav {
    position: static;
    inset: auto;
    display: flex;
    width: auto;
    flex-direction: row;
    align-items: center;
    border: 0;
    border-radius: 999px;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .policy-nav a {
    padding: .62rem .78rem;
  }

  .hero-grid,
  .content-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    justify-self: start;
  }

  .orbit-card.top {
    left: 0;
  }

  .orbit-card.right {
    right: 0;
  }

  .card-grid,
  .cert-grid,
  .case-study-grid,
  .timeline-layout {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    width: min(calc(100% - 20px), var(--max));
    margin-top: 10px;
  }

  .brand span:last-child {
    display: none;
  }

  .policy-header .brand span:last-child {
    display: inline;
  }

  .policy-header {
    width: min(calc(100% - 20px), var(--max));
  }

  .policy-nav a {
    font-size: .84rem;
    padding: .5rem .62rem;
  }

  .section {
    width: min(calc(100% - 24px), var(--max));
    padding: 70px 0;
  }

  .hero {
    padding-top: 108px;
  }

  .hero-bg {
    left: 50%;
    right: auto;
    width: 86vw;
    height: 86vw;
    min-width: 320px;
    min-height: 320px;
    transform: translate(-50%, -18%);
    animation-name: ambient-drift-mobile;
  }

  .hero-grid {
    gap: 2rem;
  }

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

  .hero-stats,
  .card-grid,
  .cert-grid,
  .case-study-grid,
  .timeline-layout {
    grid-template-columns: 1fr;
  }

  .availability-card,
  .orbit-card {
    position: static;
    margin-top: .8rem;
    animation: none;
  }

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

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

@keyframes menu-drop {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(.98);
  }

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

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

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-bg,
  .hero-panel,
  .orbit-card,
  .site-nav.is-open {
    animation: none;
  }
}
