:root {
  color-scheme: dark;
  --ink: #050706;
  --ink-soft: #0b1010;
  --panel: rgba(12, 19, 18, 0.82);
  --panel-strong: #111918;
  --line: rgba(209, 255, 232, 0.16);
  --text: #f2fff8;
  --muted: #a8bbb4;
  --dim: #71847d;
  --mint: #7dffb2;
  --aqua: #2ff8e6;
  --citrus: #e8ff5a;
  --coral: #ff675d;
  --signal-rgb: 125, 255, 178;
  --signal-dot-rgb: 47, 248, 230;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 8%, rgba(125, 255, 178, 0.15), transparent 28rem),
    radial-gradient(circle at 86% 18%, rgba(255, 103, 93, 0.12), transparent 24rem),
    linear-gradient(135deg, #050706 0%, #071110 42%, #031311 100%);
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  transition: background 360ms ease, color 240ms ease;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(125, 255, 178, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 255, 178, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 82%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

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

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

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

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

#signal-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.56;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 18px;
  background: linear-gradient(to bottom, rgba(5, 7, 6, 0.86), rgba(5, 7, 6, 0.46));
  backdrop-filter: blur(18px);
}

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, var(--max));
  min-height: 96px;
  margin: 0 auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: rgba(7, 13, 12, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 80px;
  padding: 0 10px;
}

.brand-logo {
  display: block;
  width: auto;
  height: 80px;
  max-width: min(216px, 42vw);
  object-fit: contain;
  object-position: center;
  border: 1px solid rgba(125, 255, 178, 0.6);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(125, 255, 178, 0.22), rgba(47, 248, 230, 0.1));
  box-shadow: 0 10px 28px color-mix(in srgb, var(--mint) 18%, transparent);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.15;
}

.brand small {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 14px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  background: rgba(125, 255, 178, 0.1);
  color: var(--text);
  transform: translateY(-1px);
}

.nav-links .nav-cta {
  margin-left: 8px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--text), color-mix(in srgb, var(--citrus) 22%, var(--text)));
  color: var(--ink);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--citrus) 18%, transparent);
  white-space: nowrap;
}

.nav-links .nav-cta:hover {
  background: linear-gradient(135deg, var(--citrus), var(--mint));
  color: var(--ink);
  box-shadow: 0 16px 36px color-mix(in srgb, var(--citrus) 28%, transparent);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.language-button {
  display: inline-flex;
  min-width: 76px;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
  touch-action: manipulation;
}

.language-button:hover,
.language-button:focus-visible,
.language-button[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--citrus) 72%, transparent);
  background: color-mix(in srgb, var(--citrus) 16%, transparent);
  color: var(--text);
  transform: translateY(-1px);
}

.language-button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--citrus) 70%, white);
  outline-offset: 2px;
}

.flag-icon {
  position: relative;
  display: block;
  width: 40px;
  height: 28px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.28);
  border-radius: 6px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
}

.flag-india {
  background: linear-gradient(#ff9933 0 33.33%, #ffffff 33.33% 66.66%, #138808 66.66%);
}

.flag-india span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border: 1px solid #000080;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.flag-india span::before,
.flag-india span::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 1px;
  height: 7px;
  background: #000080;
  content: "";
  transform: translate(-50%, -50%);
}

.flag-india span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.flag-uk {
  background:
    linear-gradient(33deg, transparent 0 42%, #ffffff 42% 48%, #c8102e 48% 53%, #ffffff 53% 59%, transparent 59%),
    linear-gradient(-33deg, transparent 0 42%, #ffffff 42% 48%, #c8102e 48% 53%, #ffffff 53% 59%, transparent 59%),
    linear-gradient(90deg, transparent 0 38%, #ffffff 38% 44%, #c8102e 44% 56%, #ffffff 56% 62%, transparent 62%),
    linear-gradient(0deg, transparent 0 34%, #ffffff 34% 42%, #c8102e 42% 58%, #ffffff 58% 66%, transparent 66%),
    #012169;
}

.language-code {
  min-width: 2ch;
  line-height: 1;
  white-space: nowrap;
}

.theme-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.theme-toggle {
  display: inline-grid;
  width: 48px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.theme-toggle:hover {
  border-color: color-mix(in srgb, var(--mint) 58%, transparent);
  color: var(--text);
}

.dot-cluster {
  display: flex;
  gap: 4px;
  transform-origin: center;
  transition: transform 320ms cubic-bezier(0.2, 0.9, 0.22, 1.15);
}

.dot-cluster span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  transition: background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.theme-toggle[aria-expanded="true"] {
  border-color: color-mix(in srgb, var(--citrus) 70%, transparent);
  background: color-mix(in srgb, var(--citrus) 18%, transparent);
  color: var(--ink);
  transform: translateY(-1px);
}

.theme-toggle[aria-expanded="true"] .dot-cluster {
  transform: rotate(180deg);
}

.theme-toggle[aria-expanded="true"] .dot-cluster span:nth-child(1) {
  background: var(--citrus);
  box-shadow: 0 0 18px color-mix(in srgb, var(--citrus) 80%, transparent);
}

.theme-toggle[aria-expanded="true"] .dot-cluster span:nth-child(2) {
  background: var(--aqua);
  box-shadow: 0 0 18px color-mix(in srgb, var(--aqua) 70%, transparent);
  transform: scale(1.25);
}

.theme-toggle[aria-expanded="true"] .dot-cluster span:nth-child(3) {
  background: var(--mint);
  box-shadow: 0 0 18px color-mix(in srgb, var(--mint) 75%, transparent);
}

.theme-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 80;
  display: grid;
  min-width: 210px;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 180ms ease, transform 180ms ease;
}

.theme-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.theme-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  text-align: left;
  transition: background 180ms ease, color 180ms ease;
}

.theme-menu button:hover,
.theme-menu button[aria-checked="true"] {
  background: color-mix(in srgb, var(--mint) 16%, transparent);
  color: var(--text);
}

.theme-menu-divider {
  display: block;
  height: 1px;
  margin: 4px 2px;
  background: var(--line);
}

.swatch {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.swatch.yellow {
  background: linear-gradient(135deg, #ffe36d, #ff9f1c);
}

.swatch.blue {
  background: linear-gradient(135deg, #6fd8ff, #246bfe);
}

.swatch.green {
  background: linear-gradient(135deg, #98ff8a, #00a86b);
}

.swatch.high-contrast {
  background: linear-gradient(135deg, #000000 0 48%, #ffff00 49% 72%, #ffffff 73%);
}

.accessibility-mark {
  display: inline-grid;
  width: 28px;
  height: 24px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 6px;
  color: var(--citrus);
  font-family: Georgia, serif;
  font-size: 0.78rem;
  font-weight: 900;
}

body.disability-aware {
  --line: rgba(0, 0, 0, 0.36);
  --muted: color-mix(in srgb, var(--text) 78%, var(--ink) 22%);
  --dim: color-mix(in srgb, var(--text) 64%, var(--ink) 36%);
  font-size: 18px;
  line-height: 1.82;
}

body.disability-aware *,
body.disability-aware *::before,
body.disability-aware *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
  transition-duration: 0.001ms !important;
}

body.disability-aware #signal-canvas {
  display: none;
}

body.disability-aware .brand-logo {
  filter: contrast(1.2) saturate(0.8);
}

body.disability-aware a:not(.brand):not(.button):not(.nav-cta):not(.deerflow-badge) {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

body.disability-aware :focus-visible {
  outline: 4px solid #000000;
  outline-offset: 5px;
  box-shadow: 0 0 0 8px var(--citrus);
}

body.disability-aware .site-header,
body.disability-aware .nav-shell,
body.disability-aware .service-card,
body.disability-aware .timeline-item,
body.disability-aware .proof-card,
body.disability-aware .proof-panel,
body.disability-aware .contact-form,
body.disability-aware .policy-card,
body.disability-aware .hero-panel,
body.disability-aware .logo-strip,
body.disability-aware .send-animation {
  backdrop-filter: none;
  border-width: 2px;
  box-shadow: none;
}

body.disability-aware .button,
body.disability-aware .nav-links a,
body.disability-aware .theme-toggle,
body.disability-aware .theme-menu button,
body.disability-aware input,
body.disability-aware select,
body.disability-aware textarea {
  min-height: 52px;
  border-width: 2px;
}

body.disability-aware .button.primary,
body.disability-aware .nav-links .nav-cta {
  background: var(--citrus);
  color: var(--ink);
}

body.disability-aware .skill-board span::after {
  background: var(--ink);
}

body.disability-aware .reveal {
  opacity: 1;
  transform: none;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

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

.hero {
  display: flex;
  align-items: center;
  min-height: calc(100dvh - 98px);
  padding-top: 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 56px;
  align-items: center;
  width: 100%;
}

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

h1,
h2,
h3,
p,
a,
button,
label,
li,
dt,
dd,
span,
strong,
input,
select,
textarea {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-size: clamp(3.1rem, 8.4vw, 6.8rem);
}

h2 {
  max-width: 820px;
  font-size: clamp(2.25rem, 5vw, 4.8rem);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.hero-lede,
.section-heading p,
.process-copy p,
.proof-panel p,
.contact-copy p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.3vw, 1.22rem);
}

.hero-lede {
  margin: 28px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--mint), var(--aqua));
  color: #03110d;
  box-shadow: 0 16px 48px rgba(47, 248, 230, 0.18);
}

.button:disabled {
  cursor: progress;
  filter: saturate(0.78);
  opacity: 0.72;
  transform: none;
}

.button.secondary {
  border-color: var(--line);
  background: rgba(242, 255, 248, 0.05);
  color: var(--text);
}

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

.hero-stats div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.hero-stats dt {
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--dim);
  font-size: 0.88rem;
}

.hero-panel {
  position: relative;
  min-height: 520px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(125, 255, 178, 0.24);
  border-radius: calc(var(--radius) + 12px);
  background:
    linear-gradient(145deg, rgba(17, 25, 24, 0.94), rgba(6, 14, 13, 0.72)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 18px);
  box-shadow: var(--shadow);
  transform: translateZ(0);
}

.hero-panel::before {
  position: absolute;
  inset: auto -18% -14% -18%;
  height: 42%;
  content: "";
  background: radial-gradient(circle, rgba(232, 255, 90, 0.24), transparent 66%);
  transform-origin: center;
  will-change: transform, opacity;
  -webkit-animation: panelGlow 5s ease-in-out infinite alternate;
  animation: panelGlow 5s ease-in-out infinite alternate;
}

.panel-topline {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.panel-topline span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--coral);
}

.panel-topline span:nth-child(2) {
  background: var(--citrus);
}

.panel-topline span:nth-child(3) {
  background: var(--mint);
}

.pulse-card {
  position: relative;
  z-index: 1;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.pulse-card p {
  margin: 0;
  color: var(--muted);
}

.pulse-card strong {
  display: block;
  margin-top: 4px;
  font-family: Georgia, serif;
  font-size: 4.2rem;
  line-height: 1;
}

.meter {
  height: 10px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transform: translateZ(0);
}

.meter span {
  display: block;
  width: 97%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mint), var(--aqua), var(--citrus), var(--mint));
  background-size: 260% 100%;
  transform: translateZ(0) scaleX(0.96);
  transform-origin: left center;
  will-change: transform, background-position;
  -webkit-animation: meterPulse 2.6s ease-in-out infinite;
  animation: meterPulse 2.6s ease-in-out infinite;
}

.build-stream {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.build-stream p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 7, 6, 0.38);
  color: var(--muted);
}

.build-stream span {
  color: var(--aqua);
  font-weight: 900;
}

.orbital {
  position: absolute;
  right: -96px;
  bottom: -90px;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(47, 248, 230, 0.18);
  border-radius: 50%;
  transform: translateZ(0);
  transform-origin: center;
  will-change: transform;
  -webkit-animation: rotateOrb 16s linear infinite;
  animation: rotateOrb 16s linear infinite;
}

.orbital span {
  position: absolute;
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 30px var(--aqua);
}

.orbital span:nth-child(1) {
  top: 16px;
  left: 130px;
}

.orbital span:nth-child(2) {
  right: 24px;
  bottom: 70px;
  background: var(--mint);
}

.orbital span:nth-child(3) {
  left: 40px;
  bottom: 48px;
  background: var(--coral);
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(100% - 36px, var(--max));
  margin: -24px auto 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background: rgba(8, 14, 13, 0.76);
  backdrop-filter: blur(16px);
}

.logo-strip span {
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

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

.service-card,
.timeline-item,
.proof-card,
.proof-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 64px rgba(0, 0, 0, 0.22);
}

.service-card {
  position: relative;
  min-height: 460px;
  padding: 28px;
  overflow: hidden;
}

.service-card::after {
  position: absolute;
  inset: auto 22px 22px auto;
  width: 72px;
  height: 72px;
  content: "";
  border-right: 1px solid rgba(125, 255, 178, 0.34);
  border-bottom: 1px solid rgba(125, 255, 178, 0.34);
}

.card-index {
  color: var(--citrus);
  font-size: 0.88rem;
  font-weight: 900;
}

.service-card h3 {
  margin-top: 52px;
}

.service-card p,
.service-card li,
.timeline-item p,
.proof-card p {
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 20px;
}

.service-card li::before {
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--mint);
}

.process {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.process-copy {
  position: sticky;
  top: 128px;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--citrus);
  font-weight: 900;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  padding: 24px;
}

.timeline-item span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--aqua);
  font-weight: 900;
  text-transform: uppercase;
}

.skills {
  padding-top: 54px;
}

.skill-board {
  display: grid;
  grid-template-columns: repeat(9, minmax(84px, 1fr));
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(232, 255, 90, 0.2);
  border-radius: calc(var(--radius) + 10px);
  background: linear-gradient(135deg, rgba(232, 255, 90, 0.09), rgba(47, 248, 230, 0.05));
}

.skill-board span {
  position: relative;
  display: grid;
  min-height: 82px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 7, 6, 0.46);
  color: var(--text);
  font-weight: 900;
  isolation: isolate;
  cursor: pointer;
  box-shadow: inset 0 -10px 26px rgba(0, 0, 0, 0.12), 0 8px 18px rgba(0, 0, 0, 0.12);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.skill-board span::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 22% 12%, rgba(232, 255, 90, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(125, 255, 178, 0.18), rgba(47, 248, 230, 0.08));
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 180ms ease, transform 180ms ease;
}

.skill-board span::after {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 999px;
  background: var(--citrus);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.skill-board span:hover,
.skill-board span:focus-visible,
.skill-board span.is-active {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(125, 255, 178, 0.7);
  background: rgba(125, 255, 178, 0.1) !important;
  box-shadow: inset 0 -10px 28px rgba(0, 0, 0, 0.08), 0 18px 38px rgba(0, 0, 0, 0.24);
}

.skill-board span:hover::before,
.skill-board span:focus-visible::before,
.skill-board span.is-active::before {
  opacity: 1;
  transform: scale(1);
}

.skill-board span:hover::after,
.skill-board span:focus-visible::after,
.skill-board span.is-active::after {
  opacity: 1;
  transform: scale(1);
}

.skill-board span.is-active {
  border-color: rgba(232, 255, 90, 0.78);
  background: rgba(232, 255, 90, 0.1) !important;
}

.skill-detail-panel {
  position: relative;
  min-height: 180px;
  margin-top: 18px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 10px);
  background:
    radial-gradient(circle at 8% 18%, rgba(232, 255, 90, 0.12), transparent 22rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(47, 248, 230, 0.05)),
    var(--panel);
  box-shadow: 0 18px 64px rgba(0, 0, 0, 0.2);
}

.skill-detail-panel::after {
  position: absolute;
  right: 24px;
  bottom: 20px;
  content: "STACK";
  color: var(--line);
  font-family: Georgia, serif;
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.skill-detail-panel h3,
.skill-detail-panel p {
  position: relative;
  z-index: 1;
}

.skill-detail-panel h3 {
  max-width: 680px;
  color: var(--text);
  font-size: clamp(1.65rem, 3.4vw, 3.15rem);
}

.skill-detail-panel p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  font-weight: 800;
}

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

.proof-panel {
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(125, 255, 178, 0.1), rgba(255, 103, 93, 0.06)),
    var(--panel);
}

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

.proof-card {
  padding: 24px;
}

.proof-card strong {
  display: block;
  color: var(--text);
  font-size: 1.1rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.74fr);
  gap: 42px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.optional-label {
  color: var(--dim);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 12px 14px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form option {
  color: var(--ink);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--mint);
  font-weight: 800;
}

.policy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  min-height: 46px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(125, 255, 178, 0.08));
  color: var(--text);
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.policy-link:hover {
  border-color: rgba(125, 255, 178, 0.64);
  background: linear-gradient(135deg, rgba(125, 255, 178, 0.16), rgba(47, 248, 230, 0.1));
  transform: translateY(-2px);
}

.policy-link svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--citrus);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

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

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

.policy-card {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 64px rgba(0, 0, 0, 0.22);
}

.policy-card span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--citrus);
  font-weight: 900;
}

.policy-card h2 {
  font-size: clamp(1.55rem, 3vw, 2.55rem);
}

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

.send-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--citrus) 22%, transparent), transparent 28rem),
    rgba(5, 7, 6, 0.68);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.send-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.send-animation {
  width: min(100%, 680px);
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 10px);
  background: color-mix(in srgb, var(--panel-strong) 88%, white 12%);
  box-shadow: var(--shadow);
  text-align: center;
  transform: translateY(18px) scale(0.98);
  transition: transform 240ms ease;
}

.send-overlay.is-visible .send-animation {
  transform: translateY(0) scale(1);
}

.send-kicker {
  margin: 0 0 24px;
  color: var(--aqua);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.send-route {
  position: relative;
  display: grid;
  --travel-start: 28px;
  --travel-end-offset: 58px;
  grid-template-columns: 86px minmax(42px, 1fr) 86px minmax(42px, 1fr) 86px;
  align-items: center;
  gap: 12px;
  margin: 0 auto;
}

.send-node {
  position: relative;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--mint) 34%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--panel) 84%, white 16%);
  box-shadow: 0 16px 44px color-mix(in srgb, var(--mint) 15%, transparent);
}

.send-node::after {
  position: absolute;
  inset: -7px;
  content: "";
  border: 1px solid color-mix(in srgb, var(--aqua) 22%, transparent);
  border-radius: inherit;
  animation: nodePulse 1.6s ease-in-out infinite;
}

.send-track {
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--line) 84%, transparent);
}

.send-track::before {
  display: block;
  width: 45%;
  height: 100%;
  content: "";
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--aqua), var(--citrus));
  animation: dataFlow 1.15s ease-in-out infinite;
}

.paper-icon,
.travelling-page {
  display: block;
  width: 30px;
  height: 38px;
  border: 2px solid currentColor;
  border-radius: 5px;
  color: var(--citrus);
  background:
    linear-gradient(135deg, transparent 0 16%, color-mix(in srgb, var(--citrus) 28%, transparent) 17% 28%, transparent 29%),
    color-mix(in srgb, var(--panel-strong) 72%, white 28%);
}

.paper-icon::before,
.travelling-page::before {
  display: block;
  width: 16px;
  height: 2px;
  margin: 13px 0 0 6px;
  content: "";
  background: currentColor;
  box-shadow: 0 7px 0 currentColor, 0 14px 0 currentColor;
  opacity: 0.72;
}

.globe-icon {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  border: 2px solid var(--aqua);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 47%, var(--aqua) 48% 52%, transparent 53%),
    linear-gradient(transparent 47%, var(--aqua) 48% 52%, transparent 53%);
  box-shadow: inset 0 0 0 8px color-mix(in srgb, var(--aqua) 10%, transparent);
  animation: globeSpin 1.8s linear infinite;
}

.globe-icon::before,
.globe-icon::after {
  position: absolute;
  inset: 8px -2px;
  content: "";
  border: 2px solid var(--aqua);
  border-right-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
}

.globe-icon::after {
  inset: -2px 12px;
  border-top-color: transparent;
  border-bottom-color: transparent;
}

.computer-icon {
  position: relative;
  display: block;
  width: 48px;
  height: 34px;
  border: 2px solid var(--mint);
  border-radius: 5px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--mint) 20%, transparent), transparent);
}

.computer-icon::before {
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 18px;
  height: 8px;
  content: "";
  border-bottom: 2px solid var(--mint);
  border-left: 2px solid var(--mint);
  border-right: 2px solid var(--mint);
  transform: translateX(-50%);
}

.travelling-page {
  position: absolute;
  top: 24px;
  left: var(--travel-start);
  z-index: 2;
  width: 26px;
  height: 34px;
  color: var(--coral);
  filter: drop-shadow(0 12px 16px color-mix(in srgb, var(--coral) 26%, transparent));
  animation: sendPage 3s cubic-bezier(0.42, 0, 0.18, 1) infinite;
}

.send-message {
  max-width: 520px;
  margin: 26px auto 0;
  color: var(--muted);
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
  padding: 28px 0 42px;
  color: var(--dim);
}

.site-footer p {
  margin: 0;
}

.deerflow-badge {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  opacity: 0.78;
  transition: opacity 180ms ease, color 180ms ease, border-color 180ms ease;
}

.deerflow-badge:hover {
  border-color: rgba(125, 255, 178, 0.5);
  color: var(--text);
  opacity: 1;
}

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

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

@keyframes panelGlow {
  from {
    opacity: 0.72;
    transform: translate3d(-4%, 0, 0) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate3d(4%, -8%, 0) scale(1.08);
  }
}

@-webkit-keyframes panelGlow {
  from {
    opacity: 0.72;
    -webkit-transform: translate3d(-4%, 0, 0) scale(0.96);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(4%, -8%, 0) scale(1.08);
  }
}

@keyframes meterPulse {
  0%,
  100% {
    background-position: 0% 50%;
    transform: translateZ(0) scaleX(0.96);
  }
  50% {
    background-position: 100% 50%;
    transform: translateZ(0) scaleX(1);
  }
}

@-webkit-keyframes meterPulse {
  0%,
  100% {
    background-position: 0% 50%;
    -webkit-transform: translateZ(0) scaleX(0.96);
  }
  50% {
    background-position: 100% 50%;
    -webkit-transform: translateZ(0) scaleX(1);
  }
}

@keyframes rotateOrb {
  from {
    transform: translateZ(0) rotate(0deg);
  }
  to {
    transform: translateZ(0) rotate(360deg);
  }
}

@-webkit-keyframes rotateOrb {
  from {
    -webkit-transform: translateZ(0) rotate(0deg);
  }
  to {
    -webkit-transform: translateZ(0) rotate(360deg);
  }
}

@keyframes sendPage {
  0% {
    opacity: 0;
    left: var(--travel-start);
    transform: translateY(0) scale(0.8) rotate(-8deg);
  }
  10% {
    opacity: 1;
  }
  38% {
    left: calc(50% - 13px);
    transform: translateY(-18px) scale(1) rotate(10deg);
  }
  58% {
    left: calc(50% - 13px);
    transform: translateY(8px) scale(0.72) rotate(180deg);
  }
  86% {
    opacity: 1;
    left: calc(100% - var(--travel-end-offset));
    transform: translateY(-2px) scale(0.92) rotate(352deg);
  }
  100% {
    opacity: 0;
    left: calc(100% - var(--travel-end-offset));
    transform: translateY(-2px) scale(0.7) rotate(360deg);
  }
}

@keyframes nodePulse {
  0%,
  100% {
    opacity: 0.28;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.04);
  }
}

@keyframes dataFlow {
  from {
    transform: translateX(-110%);
  }
  to {
    transform: translateX(240%);
  }
}

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

@media (max-width: 1020px) {
  .hero-grid,
  .process,
  .proof,
  .contact {
    grid-template-columns: 1fr;
  }

  .process-copy {
    position: static;
  }

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

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

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

@media (max-width: 760px) {
  .site-header {
    padding: 10px;
  }

  .nav-toggle {
    display: block;
  }

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

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

  .nav-links .nav-cta {
    margin-left: 0;
    width: 100%;
  }

  .theme-switcher {
    align-items: stretch;
  }

  .language-switcher {
    justify-content: center;
    width: 100%;
    border-radius: var(--radius);
  }

  .language-button {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }

  .theme-toggle {
    width: 100%;
  }

  .theme-menu {
    position: static;
    display: none;
    min-width: 0;
    margin: 0 0 4px;
    box-shadow: none;
    transform: none;
  }

  .theme-menu.is-open {
    display: grid;
    transform: none;
  }

  .section {
    width: min(100% - 28px, var(--max));
    padding: 72px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 38px;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.4rem);
  }

  .hero-stats,
  .proof-grid,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .skill-board {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
  }

  .skill-board span {
    flex: 0 0 calc(50% - 5px);
    width: calc(50% - 5px);
    max-width: calc(50% - 5px);
    min-height: 74px;
    padding: 10px 6px;
    text-align: center;
  }

  .hero-panel {
    min-height: 430px;
  }

  .logo-strip {
    width: min(100% - 28px, var(--max));
    justify-content: flex-start;
  }

  .button {
    width: 100%;
  }

  .policy-link {
    width: 100%;
  }

  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .send-route {
    --travel-start: 20px;
    --travel-end-offset: 43px;
    grid-template-columns: 64px minmax(20px, 1fr) 64px minmax(20px, 1fr) 64px;
    gap: 7px;
  }

  .send-node {
    width: 64px;
    height: 64px;
  }

  .paper-icon,
  .travelling-page {
    width: 23px;
    height: 30px;
  }

  .globe-icon {
    width: 34px;
    height: 34px;
  }

  .computer-icon {
    width: 36px;
    height: 26px;
  }

  .travelling-page {
    top: 17px;
  }
}

@media (max-width: 360px) {
  .skill-board span {
    flex-basis: 100%;
    width: 100%;
    max-width: 100%;
  }
}

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

  #signal-canvas {
    display: none;
  }

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

  .send-overlay {
    transition: none;
  }
}
