:root {
  --bg: #050505;
  --bg-secondary: #111111;
  --card: #171717;
  --green: #76b900;
  --blue: #00bfff;
  --white: #ffffff;
  --text: #b8b8b8;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  --green-glow: 0 0 42px rgba(118, 185, 0, 0.28);
  --blue-glow: 0 0 42px rgba(0, 191, 255, 0.22);
  --radius: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 4%, rgba(118, 185, 0, 0.16), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(0, 191, 255, 0.12), transparent 24%),
    var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 78%);
  pointer-events: none;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

input {
  min-width: 0;
}

.site-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.glow {
  position: absolute;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
  transform: translate3d(0, 0, 0);
}

.glow-one {
  left: -14vw;
  top: 12vh;
  background: var(--green);
  animation: floatGlow 18s ease-in-out infinite;
}

.glow-two {
  right: -18vw;
  top: 32vh;
  background: var(--blue);
  animation: floatGlow 22s ease-in-out infinite reverse;
}

.glow-three {
  left: 38vw;
  bottom: -24vw;
  background: rgba(255, 255, 255, 0.22);
  animation: floatGlow 20s ease-in-out infinite;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--green);
  color: #071000;
  padding: 10px 14px;
  font-weight: 800;
  transition: transform 0.2s ease;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 18px clamp(14px, 3vw, 34px);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.7), transparent);
  transition: background 0.28s ease, box-shadow 0.28s ease, padding 0.28s ease;
}

.site-header.is-scrolled {
  padding-block: 10px;
  background: rgba(5, 5, 5, 0.84);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(118, 185, 0, 0.38);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(118, 185, 0, 0.96), rgba(0, 191, 255, 0.55)),
    #0b0b0b;
  color: #071000;
  font-size: 0.86rem;
  font-weight: 950;
  box-shadow: var(--green-glow);
}

.brand-copy strong,
.brand-copy small {
  display: block;
  line-height: 1.08;
}

.brand-copy strong {
  color: var(--white);
  font-size: 1rem;
  font-weight: 900;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-menu {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px);
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-radius: 999px;
  color: var(--text);
  padding: 7px 12px;
  font-size: 0.88rem;
  font-weight: 800;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.is-active {
  background: rgba(118, 185, 0, 0.14);
  color: var(--white);
  transform: translateY(-1px);
}

.nav-mobile-action {
  display: none;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  border-left: 1px solid var(--border);
  padding-left: 8px;
}

.language-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  padding: 6px 9px;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.language-option:hover,
.language-option:focus-visible {
  border-color: rgba(118, 185, 0, 0.45);
  background: rgba(118, 185, 0, 0.12);
  color: var(--white);
  transform: translateY(-1px);
}

.language-option.is-active {
  border-color: rgba(118, 185, 0, 0.7);
  background: rgba(118, 185, 0, 0.2);
  color: var(--white);
  box-shadow: 0 0 22px rgba(118, 185, 0, 0.18);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 21px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s 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);
}

.btn,
.text-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  isolation: isolate;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}

.btn::after,
.text-button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

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

.btn:hover::after,
.btn:focus-visible::after,
.text-button:hover::after,
.text-button:focus-visible::after {
  transform: translateX(120%);
}

.btn-primary {
  background: var(--green);
  color: #071000;
  box-shadow: 0 16px 40px rgba(118, 185, 0, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 20px 58px rgba(118, 185, 0, 0.38);
}

.btn-light,
.btn-ghost,
.btn-outline,
.btn-secondary,
.btn-dark,
.text-button {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.055);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn-light:hover,
.btn-ghost:hover,
.btn-outline:hover,
.btn-secondary:hover,
.btn-dark:hover,
.text-button:hover,
.btn-light:focus-visible,
.btn-ghost:focus-visible,
.btn-outline:focus-visible,
.btn-secondary:focus-visible,
.btn-dark:focus-visible,
.text-button:focus-visible {
  border-color: rgba(118, 185, 0, 0.55);
  background: rgba(118, 185, 0, 0.11);
  box-shadow: var(--green-glow);
}

.btn-secondary::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-right: 8px;
  background: currentColor;
  clip-path: polygon(42% 0, 58% 0, 58% 48%, 76% 30%, 88% 42%, 50% 80%, 12% 42%, 24% 30%, 42% 48%);
}

.btn-secondary::after {
  z-index: -1;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 24%, rgba(0, 191, 255, 0.18), transparent 28%),
    radial-gradient(circle at 16% 20%, rgba(118, 185, 0, 0.18), transparent 28%),
    linear-gradient(135deg, #050505 0%, #101010 48%, #050505 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(900px) rotateX(58deg) translateY(-18%);
  transform-origin: center top;
}

.hero-light {
  position: absolute;
  inset: 12% -20% auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(118, 185, 0, 0.72), rgba(0, 191, 255, 0.65), transparent);
  filter: blur(1px);
  animation: lightSweep 7s ease-in-out infinite;
}

.hero-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(118, 185, 0, 0.8);
  opacity: 0.7;
  animation: particleFloat 12s ease-in-out infinite;
}

.hero-particles span:nth-child(1) {
  left: 12%;
  top: 32%;
}

.hero-particles span:nth-child(2) {
  left: 28%;
  top: 18%;
  animation-delay: -3s;
}

.hero-particles span:nth-child(3) {
  right: 26%;
  top: 28%;
  animation-delay: -5s;
}

.hero-particles span:nth-child(4) {
  right: 12%;
  top: 48%;
  background: var(--blue);
  box-shadow: 0 0 18px rgba(0, 191, 255, 0.8);
  animation-delay: -1s;
}

.hero-particles span:nth-child(5) {
  left: 44%;
  bottom: 24%;
  animation-delay: -7s;
}

.hero-particles span:nth-child(6) {
  right: 40%;
  bottom: 15%;
  background: var(--blue);
  box-shadow: 0 0 18px rgba(0, 191, 255, 0.8);
  animation-delay: -9s;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.9fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
  width: min(100% - 32px, var(--max-width));
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(122px, 17vh, 170px) 0 clamp(82px, 12vh, 132px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.fit-card h3,
.case-copy h2,
.contact h2 {
  margin: 0;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.hero h1 {
  max-width: 860px;
  font-size: clamp(3.2rem, 7.4vw, 7.8rem);
  font-weight: 950;
}

.hero-lede {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--text);
  font-size: clamp(1.04rem, 1.55vw, 1.3rem);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.badge-row span,
.project-meta span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  padding: 6px 11px;
  font-size: 0.78rem;
  font-weight: 850;
}

.badge-row span:first-child,
.project-meta span:first-child {
  border-color: rgba(118, 185, 0, 0.32);
  color: var(--white);
}

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

.hero-visual {
  position: relative;
  min-height: 590px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(23, 23, 23, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  padding: clamp(18px, 3vw, 28px);
  animation: floatPanel 8s ease-in-out infinite;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(118, 185, 0, 0.42), transparent 34%, rgba(0, 191, 255, 0.25));
  opacity: 0.65;
  z-index: -1;
}

.visual-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(5, 5, 5, 0.72);
  padding: 10px 12px;
  color: var(--text);
  font-size: 0.9rem;
}

.visual-topline strong {
  margin-left: auto;
  color: var(--green);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(118, 185, 0, 0.14), 0 0 24px rgba(118, 185, 0, 0.7);
}

.main-dashboard,
.orbit-card,
.fit-card,
.profile-card,
.skill-column,
.project-card,
.tool-card,
.case-shell,
.contact-panel,
.newsletter-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)), var(--card);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.main-dashboard::before,
.fit-card::before,
.profile-card::before,
.skill-column::before,
.project-card::before,
.tool-card::before,
.contact-panel::before,
.newsletter-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--blue), transparent);
  transform: translateX(-44%);
  transition: transform 0.45s ease;
}

.fit-card:hover::before,
.profile-card:hover::before,
.skill-column:hover::before,
.project-card:hover::before,
.tool-card:hover::before,
.contact-panel:hover::before,
.newsletter-card:hover::before {
  transform: translateX(0);
}

.main-dashboard {
  position: absolute;
  inset: 104px 28px 100px;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 3vw, 30px);
}

.mini-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
}

.mini-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.36);
}

.dashboard-heading p {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.main-dashboard h2 {
  max-width: 380px;
  margin: 0;
  color: var(--white);
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1.03;
}

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

.metric-grid div {
  min-height: 94px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  padding: 13px;
}

.metric-grid small,
.orbit-card small {
  display: block;
  color: var(--text);
  font-size: 0.78rem;
}

.metric-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--white);
  font-size: 1rem;
}

.system-map {
  position: relative;
  min-height: 140px;
  margin-top: auto;
  border: 1px solid var(--border);
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 48%, rgba(118, 185, 0, 0.18), transparent 32%),
    radial-gradient(circle at 70% 50%, rgba(0, 191, 255, 0.14), transparent 30%),
    rgba(5, 5, 5, 0.58);
}

.node,
.line {
  position: absolute;
  display: block;
}

.node {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 22px rgba(118, 185, 0, 0.72);
}

.node-one {
  left: 18%;
  top: 42%;
}

.node-two {
  left: 48%;
  top: 26%;
  background: var(--blue);
  box-shadow: 0 0 22px rgba(0, 191, 255, 0.72);
}

.node-three {
  right: 18%;
  bottom: 30%;
}

.line {
  height: 2px;
  width: 34%;
  background: linear-gradient(90deg, rgba(118, 185, 0, 0.1), var(--green), rgba(0, 191, 255, 0.4));
  transform-origin: left center;
}

.line-one {
  left: 22%;
  top: 48%;
  transform: rotate(-18deg);
}

.line-two {
  left: 52%;
  top: 39%;
  transform: rotate(24deg);
}

.orbit-card {
  position: absolute;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px 10px;
  align-items: center;
  width: min(286px, 50%);
  padding: 15px;
  backdrop-filter: blur(16px);
}

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

.orbit-card small {
  grid-column: 2;
}

.orbit-one {
  right: 12px;
  bottom: 34px;
}

.orbit-two {
  left: 12px;
  top: 164px;
}

.icon-code,
.icon-flow,
.card-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(118, 185, 0, 0.25);
  border-radius: 12px;
  background: rgba(118, 185, 0, 0.11);
}

.icon-code::before {
  content: "</>";
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.icon-flow::before,
.icon-flow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--green);
}

.icon-flow::before {
  width: 10px;
  height: 10px;
  left: 10px;
  top: 10px;
  box-shadow: 11px 11px 0 var(--blue);
}

.icon-flow::after {
  width: 16px;
  height: 2px;
  background: rgba(255, 255, 255, 0.72);
  transform: rotate(45deg);
}

.section-pad {
  position: relative;
  padding: clamp(82px, 10vw, 148px) clamp(16px, 3vw, 34px);
}

.section-pad::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.34;
  pointer-events: none;
}

.section-heading,
.fit-card,
.two-column-grid,
.skills-layout,
.project-grid,
.tool-grid,
.case-shell,
.contact-grid,
.footer-shell,
.footer-bottom {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.section-heading {
  margin-bottom: clamp(32px, 5vw, 62px);
}

.section-heading h2,
.contact h2 {
  max-width: 940px;
  font-size: clamp(2.25rem, 5.2vw, 5rem);
  font-weight: 950;
}

.section-heading p:not(.eyebrow) {
  max-width: 790px;
  margin: 20px 0 0;
  color: var(--text);
  font-size: 1.07rem;
}

.profile,
.projects,
.business-case {
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.2), rgba(17, 17, 17, 0.7), rgba(5, 5, 5, 0.2));
}

.fit-card {
  margin-bottom: 20px;
  padding: clamp(26px, 4vw, 46px);
}

.fit-card h3 {
  max-width: 820px;
  font-size: clamp(1.7rem, 3.6vw, 3.35rem);
}

.fit-card p:not(.eyebrow) {
  max-width: 900px;
  margin: 20px 0 0;
  color: var(--text);
  font-size: 1.08rem;
}

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

.profile-card,
.skill-column,
.tool-card {
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.profile-card {
  min-height: 440px;
}

.card-icon {
  margin-bottom: 24px;
}

.card-icon::before,
.icon-profile::after,
.icon-delivery::after {
  content: "";
  position: absolute;
  background: var(--green);
}

.icon-profile::before {
  width: 13px;
  height: 13px;
  top: 9px;
  border-radius: 50%;
}

.icon-profile::after {
  width: 20px;
  height: 9px;
  bottom: 8px;
  border-radius: 99px 99px 4px 4px;
}

.icon-delivery::before {
  width: 21px;
  height: 3px;
  transform: rotate(-38deg);
}

.icon-delivery::after {
  width: 9px;
  height: 9px;
  right: 10px;
  top: 11px;
  transform: rotate(45deg);
}

.profile-card h3,
.skill-column h3,
.project-card h3,
.tool-card h3,
.footer-column h2,
.newsletter-card h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 1.3rem;
  line-height: 1.16;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 25px;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(118, 185, 0, 0.55);
}

.skills {
  background: var(--bg);
}

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

.skill-column {
  min-height: 260px;
}

.skill-kicker,
.tool-number {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border: 1px solid rgba(118, 185, 0, 0.28);
  border-radius: 14px;
  background: rgba(118, 185, 0, 0.12);
  color: var(--green);
  font-weight: 950;
}

.skill-column p,
.project-card p,
.tool-card p,
.contact-copy p,
.footer-brand p,
.newsletter-card p {
  margin: 0;
  color: var(--text);
}

.profile-card:hover,
.skill-column:hover,
.project-card:hover,
.tool-card:hover {
  transform: translateY(-8px);
  border-color: rgba(118, 185, 0, 0.34);
  box-shadow: var(--shadow), var(--green-glow);
}

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

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 620px;
  padding: 0;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.project-visual {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 28% 26%, rgba(118, 185, 0, 0.28), transparent 26%),
    radial-gradient(circle at 75% 62%, rgba(0, 191, 255, 0.2), transparent 30%),
    #0b0b0b;
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.35;
}

.screen-card,
.portfolio-panel,
.decision-node,
.decision-line,
.visual-orbit {
  position: absolute;
  display: block;
}

.screen-card {
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.34);
}

.screen-primary {
  left: 11%;
  top: 20%;
  width: 62%;
  height: 48%;
}

.screen-secondary {
  right: 10%;
  bottom: 16%;
  width: 46%;
  height: 32%;
}

.visual-orbit {
  right: 18%;
  top: 18%;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(118, 185, 0, 0.38);
  border-radius: 50%;
  box-shadow: inset 0 0 24px rgba(118, 185, 0, 0.2), 0 0 30px rgba(118, 185, 0, 0.22);
}

.decision-node {
  width: 78px;
  height: 78px;
  border: 1px solid rgba(118, 185, 0, 0.42);
  border-radius: 22px;
  background: rgba(118, 185, 0, 0.12);
  box-shadow: var(--green-glow);
}

.node-a {
  left: 14%;
  top: 24%;
}

.node-b {
  left: 42%;
  top: 48%;
  border-color: rgba(0, 191, 255, 0.42);
  background: rgba(0, 191, 255, 0.1);
  box-shadow: var(--blue-glow);
}

.node-c {
  right: 13%;
  top: 22%;
}

.decision-line {
  left: 23%;
  top: 48%;
  width: 54%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--green));
  transform: rotate(12deg);
}

.portfolio-panel {
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(118, 185, 0, 0.16), rgba(0, 191, 255, 0.08));
}

.panel-one {
  left: 10%;
  top: 18%;
  width: 48%;
  height: 58%;
}

.panel-two {
  right: 12%;
  top: 24%;
  width: 32%;
  height: 24%;
}

.panel-three {
  right: 12%;
  bottom: 18%;
  width: 42%;
  height: 28%;
}

.project-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.project-card h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: auto;
  padding-top: 26px;
}

.ai-tools {
  background: var(--bg);
}

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

.tool-card {
  min-height: 310px;
}

.business-case {
  background:
    radial-gradient(circle at 80% 20%, rgba(118, 185, 0, 0.16), transparent 24%),
    var(--bg-secondary);
}

.case-shell {
  padding: clamp(30px, 5vw, 62px);
}

.case-copy h2 {
  max-width: 900px;
  font-size: clamp(2.25rem, 5vw, 5rem);
  font-weight: 950;
}

.case-copy p:not(.eyebrow) {
  max-width: 860px;
  margin: 22px 0 0;
  color: var(--text);
  font-size: 1.08rem;
}

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

.timeline li {
  min-height: 160px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  padding: 22px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.timeline li:hover {
  transform: translateY(-6px);
  border-color: rgba(118, 185, 0, 0.35);
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(118, 185, 0, 0.12);
  color: var(--green);
  font-weight: 950;
}

.timeline strong {
  display: block;
  color: var(--white);
  line-height: 1.25;
}

.contact {
  background:
    radial-gradient(circle at 14% 28%, rgba(0, 191, 255, 0.11), transparent 24%),
    var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.contact-copy p {
  max-width: 680px;
  margin-top: 22px;
  font-size: 1.08rem;
}

.contact-panel {
  display: grid;
}

.contact-row {
  display: grid;
  grid-template-columns: 0.36fr 1fr;
  gap: 14px;
  align-items: start;
  border-bottom: 1px solid var(--border);
  padding: 22px;
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-row span {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-row a,
.contact-row strong {
  color: var(--white);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-row a:hover,
.footer-column a:hover,
.footer-bottom a:hover {
  color: var(--green);
}

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(circle at 90% 0%, rgba(118, 185, 0, 0.13), transparent 28%),
    #050505;
  padding: clamp(54px, 8vw, 94px) clamp(16px, 3vw, 34px) 28px;
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 0.7fr 0.7fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.footer-brand p {
  max-width: 360px;
  margin-top: 22px;
}

.footer-column {
  display: grid;
  gap: 10px;
}

.footer-column h2,
.newsletter-card h2 {
  font-size: 1rem;
}

.footer-column a {
  color: var(--text);
  font-weight: 750;
  transition: color 0.2s ease;
}

.newsletter-card {
  padding: 20px;
}

.newsletter-card p {
  margin-bottom: 18px;
}

.newsletter-form {
  display: grid;
  gap: 10px;
}

.newsletter-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  padding: 0 15px;
}

.newsletter-form input::placeholder {
  color: rgba(184, 184, 184, 0.72);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  color: var(--text);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: var(--white);
  font-weight: 900;
  transition: color 0.2s ease;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.78s ease, transform 0.78s ease;
}

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

@keyframes floatGlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(4vw, -3vh, 0) scale(1.08);
  }
}

@keyframes lightSweep {
  0%,
  100% {
    transform: translateX(-18%) rotate(-4deg);
    opacity: 0.22;
  }

  50% {
    transform: translateX(18%) rotate(-4deg);
    opacity: 0.7;
  }
}

@keyframes particleFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(20px, -34px, 0);
  }
}

@keyframes floatPanel {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

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

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

@media (max-width: 1180px) {
  .nav-shell {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 82px;
    right: 16px;
    left: 16px;
    display: grid;
    justify-self: stretch;
    gap: 4px;
    border-radius: 18px;
    background: rgba(17, 17, 17, 0.94);
    padding: 14px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

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

  .nav-menu a {
    width: 100%;
    min-height: 44px;
    border-radius: 12px;
    padding: 11px 12px;
  }

  .language-switcher {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    margin: 6px 0;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.035);
  }

  .language-option {
    width: 100%;
    min-height: 42px;
    border-radius: 10px;
  }

  .nav-menu .nav-mobile-action {
    display: inline-flex;
    border: 1px solid rgba(118, 185, 0, 0.28);
    background: rgba(118, 185, 0, 0.12);
    color: var(--white);
  }

  .nav-actions {
    display: none;
  }

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

  .hero-visual {
    max-width: 720px;
  }

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

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

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

@media (max-width: 780px) {
  .two-column-grid,
  .skills-layout,
  .project-grid,
  .tool-grid,
  .timeline,
  .contact-grid,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    width: min(100% - 24px, var(--max-width));
    padding-top: 108px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 5.2rem);
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 540px;
  }

  .main-dashboard {
    inset: 96px 18px 114px;
  }

  .orbit-card {
    width: min(286px, calc(100% - 36px));
  }

  .orbit-one {
    right: 18px;
    bottom: 24px;
  }

  .orbit-two {
    left: 18px;
    top: auto;
    bottom: 108px;
  }

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

  .metric-grid div {
    min-height: 68px;
  }

  .system-map {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 12px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-copy small {
    display: none;
  }

  .section-pad {
    padding-inline: 14px;
  }

  .hero-visual {
    min-height: 440px;
    padding: 14px;
  }

  .main-dashboard {
    inset: 78px 14px 24px;
    padding: 16px;
  }

  .main-dashboard h2 {
    max-width: 250px;
    font-size: 1.5rem;
  }

  .metric-grid {
    margin-top: 18px;
    gap: 8px;
  }

  .orbit-card {
    display: none;
  }

  .fit-card,
  .profile-card,
  .skill-column,
  .tool-card,
  .case-shell,
  .project-body,
  .newsletter-card {
    padding: 20px;
  }

  .project-card {
    min-height: 0;
  }

  .project-visual {
    min-height: 210px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 18px;
  }

  .footer-bottom {
    display: grid;
  }
}

/* Space-science inspired Obai4AI redesign */
:root {
  --bg: #050505;
  --bg-secondary: #111111;
  --card: #171717;
  --light-section: #f4f4f2;
  --red: #e43d30;
  --green: #76b900;
  --blue: #1976d2;
  --cyan: #00bfff;
  --white: #ffffff;
  --text: #b9b9b9;
  --ink: #0b0b0b;
  --muted-ink: #535353;
  --border: rgba(255, 255, 255, 0.14);
  --dark-border: rgba(5, 5, 5, 0.12);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --red-glow: 0 0 38px rgba(228, 61, 48, 0.26);
  --blue-glow: 0 0 42px rgba(25, 118, 210, 0.24);
  --green-glow: 0 0 38px rgba(118, 185, 0, 0.2);
  --radius: 18px;
  --max-width: 1240px;
}

html {
  scroll-padding-top: 92px;
}

body {
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(228, 61, 48, 0.08), transparent 30%),
    radial-gradient(circle at 80% 12%, rgba(25, 118, 210, 0.18), transparent 28%),
    #050505;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 86px 86px;
  opacity: 0.5;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.94), transparent 84%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(135deg, transparent 0 38%, rgba(228, 61, 48, 0.08) 38.2%, transparent 38.8%),
    linear-gradient(155deg, transparent 0 64%, rgba(25, 118, 210, 0.08) 64.2%, transparent 65%);
  pointer-events: none;
}

*:focus-visible {
  outline: 3px solid rgba(228, 61, 48, 0.78);
  outline-offset: 4px;
}

.glow {
  width: 54vw;
  height: 22vw;
  border-radius: 4vw;
  filter: blur(72px);
  opacity: 0.22;
}

.glow-one {
  left: -18vw;
  top: 14vh;
  background: var(--blue);
}

.glow-two {
  right: -16vw;
  top: 42vh;
  background: var(--red);
}

.glow-three {
  left: 34vw;
  bottom: -20vw;
  background: var(--green);
}

.site-header {
  padding: 0 clamp(14px, 3vw, 34px);
  background: #050505;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
}

.site-header.is-scrolled {
  padding-block: 0;
  background: rgba(5, 5, 5, 0.94);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.55);
}

.nav-shell {
  min-height: 78px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-color: rgba(228, 61, 48, 0.62);
  border-radius: 4px;
  background:
    linear-gradient(145deg, rgba(228, 61, 48, 0.94), rgba(25, 118, 210, 0.42)),
    #0b0b0b;
  color: #ffffff;
  box-shadow: var(--red-glow);
}

.brand-copy strong {
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.brand-copy small {
  color: var(--text);
  letter-spacing: 0.13em;
}

.nav-menu {
  gap: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  padding: 0;
}

.nav-menu a {
  position: relative;
  min-height: 78px;
  border-radius: 0;
  padding: 0 11px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 18px;
  left: 10px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.is-active {
  background: transparent;
  color: #ffffff;
  transform: none;
}

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

.language-switcher {
  margin-left: 8px;
  border-left-color: rgba(255, 255, 255, 0.16);
}

.language-option {
  min-height: 34px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.78);
}

.language-option:hover,
.language-option:focus-visible,
.language-option.is-active {
  border-color: rgba(228, 61, 48, 0.7);
  background: rgba(228, 61, 48, 0.16);
  box-shadow: var(--red-glow);
}

.btn,
.text-button {
  border-radius: 4px;
  min-height: 48px;
  letter-spacing: 0.02em;
}

.btn::before,
.text-button::before {
  content: "";
  width: 0;
  height: 0;
}

.btn-primary {
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(228, 61, 48, 0.3);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 24px 58px rgba(228, 61, 48, 0.42);
}

.btn-light,
.btn-ghost,
.btn-outline,
.btn-dark,
.text-button {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.055);
  color: #ffffff;
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #ffffff;
}

.btn-secondary::before {
  width: 15px;
  height: 15px;
  margin-right: 8px;
  background: currentColor;
  clip-path: polygon(42% 0, 58% 0, 58% 48%, 76% 30%, 88% 42%, 50% 80%, 12% 42%, 24% 30%, 42% 48%);
}

.btn-light:hover,
.btn-ghost:hover,
.btn-outline:hover,
.btn-secondary:hover,
.btn-dark:hover,
.text-button:hover,
.btn-light:focus-visible,
.btn-ghost:focus-visible,
.btn-outline:focus-visible,
.btn-secondary:focus-visible,
.btn-dark:focus-visible,
.text-button:focus-visible {
  border-color: rgba(228, 61, 48, 0.68);
  background: rgba(228, 61, 48, 0.13);
  box-shadow: var(--red-glow);
}

.text-button::after {
  content: ">";
  position: static;
  z-index: 1;
  width: auto;
  height: auto;
  margin-left: 10px;
  background: none;
  transform: translateX(0);
  transition: transform 0.22s ease;
}

.text-button:hover::after,
.text-button:focus-visible::after {
  transform: translateX(5px);
}

.hero {
  min-height: 92svh;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.97) 0%, rgba(5, 5, 5, 0.82) 44%, rgba(5, 5, 5, 0.5) 100%),
    radial-gradient(circle at 76% 42%, rgba(25, 118, 210, 0.34), transparent 30%),
    radial-gradient(circle at 64% 70%, rgba(118, 185, 0, 0.18), transparent 28%),
    #050505;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.28;
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 82%, transparent);
  pointer-events: none;
}

.hero::after {
  height: 240px;
  background: linear-gradient(180deg, transparent, #050505 72%);
}

.hero-grid {
  opacity: 0.45;
  background-size: 92px 92px;
  transform: perspective(1000px) rotateX(62deg) translateY(-10%);
}

.hero-light {
  inset: 16% -10% auto;
  background: linear-gradient(90deg, transparent, rgba(228, 61, 48, 0.85), rgba(25, 118, 210, 0.7), transparent);
}

.hero-particles span {
  background: var(--red);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(228, 61, 48, 0.8);
}

.hero-particles span:nth-child(even) {
  background: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.75);
}

.hero-inner {
  width: min(100% - 40px, var(--max-width));
  min-height: 92svh;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  padding: clamp(130px, 17vh, 174px) 0 clamp(76px, 11vh, 122px);
}

.eyebrow {
  color: var(--red);
  letter-spacing: 0.18em;
}

.hero h1,
.section-heading h2,
.fit-card h3,
.case-copy h2,
.contact h2 {
  letter-spacing: 0;
  line-height: 0.98;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(3.35rem, 7.8vw, 7.9rem);
}

.hero-lede {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.badge-row span,
.project-meta span,
.tag-row span,
.project-category {
  border-radius: 4px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
}

.badge-row span:first-child,
.project-meta span:first-child,
.project-category {
  border-color: rgba(228, 61, 48, 0.44);
  color: #ffffff;
}

.hero-jump-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin-top: clamp(34px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
}

.hero-jump-strip a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  background: rgba(5, 5, 5, 0.78);
  padding: 18px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: background 0.22s ease, color 0.22s ease;
}

.hero-jump-strip a::after {
  content: ">";
  color: var(--red);
  transition: transform 0.22s ease;
}

.hero-jump-strip a:hover,
.hero-jump-strip a:focus-visible {
  background: rgba(228, 61, 48, 0.16);
}

.hero-jump-strip a:hover::after,
.hero-jump-strip a:focus-visible::after {
  transform: translateX(5px);
}

.hero-visual {
  min-height: 610px;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.025)),
    rgba(10, 10, 10, 0.84);
}

.hero-visual::before {
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(228, 61, 48, 0.72), transparent 28%, rgba(25, 118, 210, 0.46));
}

.visual-topline,
.main-dashboard,
.orbit-card,
.fit-card,
.profile-card,
.skill-column,
.tool-card,
.case-shell,
.contact-panel,
.newsletter-card,
.value-shell {
  border-radius: 4px;
}

.visual-topline strong,
.dashboard-heading p,
.skill-kicker,
.tool-number {
  color: var(--red);
}

.status-dot,
.node,
.check-list li::before {
  background: var(--red);
  box-shadow: 0 0 18px rgba(228, 61, 48, 0.72);
}

.main-dashboard::before,
.fit-card::before,
.profile-card::before,
.skill-column::before,
.tool-card::before,
.contact-panel::before,
.newsletter-card::before {
  background: linear-gradient(90deg, var(--red), var(--blue), transparent);
}

.metric-grid div,
.system-map {
  border-radius: 4px;
}

.section-pad {
  padding: clamp(86px, 10vw, 152px) clamp(16px, 3vw, 34px);
}

.section-heading h2,
.contact h2 {
  font-size: clamp(2.5rem, 5.4vw, 5.45rem);
}

.section-heading p:not(.eyebrow) {
  color: var(--text);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.profile,
.skills,
.ai-tools,
.contact {
  background: transparent;
}

.fit-card,
.profile-card,
.skill-column,
.tool-card,
.case-shell,
.contact-panel,
.newsletter-card,
.value-shell {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    var(--card);
  border-color: rgba(255, 255, 255, 0.14);
}

.profile-card:hover,
.skill-column:hover,
.tool-card:hover,
.showcase-card:hover,
.service-card:hover,
.value-card:hover {
  transform: translateY(-8px);
  border-color: rgba(228, 61, 48, 0.42);
  box-shadow: var(--shadow), var(--red-glow);
}

.skills-layout {
  grid-template-columns: repeat(5, minmax(180px, 1fr));
}

.skill-column,
.tool-card {
  min-height: 282px;
}

.skills .section-heading {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: clamp(28px, 4vw, 44px);
}

.services {
  background: var(--light-section);
  color: var(--ink);
}

.services::before {
  background:
    linear-gradient(rgba(5, 5, 5, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 5, 5, 0.055) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.6;
}

.services .section-heading h2,
.services .service-card h3 {
  color: var(--ink);
}

.services .section-heading p:not(.eyebrow),
.services .service-card p {
  color: var(--muted-ink);
}

.service-editorial-grid,
.featured-project-grid,
.value-shell,
.mission-flow {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: span 3;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--dark-border);
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-feature {
  grid-column: span 4;
}

.service-wide {
  grid-column: span 2;
}

.service-card::before,
.showcase-card::before,
.value-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--blue), var(--green));
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 0.32s ease;
}

.service-card:hover::before,
.showcase-card:hover::before,
.value-card:hover::before {
  transform: scaleX(1);
}

.service-visual,
.showcase-visual {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    radial-gradient(circle at 28% 32%, rgba(228, 61, 48, 0.28), transparent 25%),
    radial-gradient(circle at 78% 62%, rgba(25, 118, 210, 0.32), transparent 30%),
    #080808;
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
}

.service-card:hover .service-visual,
.showcase-card:hover .showcase-visual {
  filter: saturate(1.12);
}

.service-body,
.showcase-content {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(22px, 3vw, 32px);
}

.service-body .tag-row span {
  border-color: rgba(5, 5, 5, 0.1);
  background: rgba(5, 5, 5, 0.045);
  color: #333333;
}

.service-body .project-meta span {
  border-color: rgba(228, 61, 48, 0.3);
  background: rgba(228, 61, 48, 0.08);
  color: var(--red);
}

.service-card .text-button {
  border-color: rgba(5, 5, 5, 0.14);
  background: #050505;
  color: #ffffff;
}

.projects {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.96), rgba(17, 17, 17, 0.96)),
    #050505;
}

.featured-project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 20px;
}

.showcase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  background: #101010;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.showcase-large {
  grid-column: span 7;
  grid-row: span 2;
  min-height: 720px;
}

.showcase-medium {
  grid-column: span 5;
}

.showcase-small {
  grid-column: span 6;
  min-height: 360px;
}

.showcase-large .showcase-visual {
  min-height: 370px;
}

.showcase-small .showcase-content {
  min-height: 360px;
}

.showcase-content h3,
.value-card h3 {
  margin: 16px 0 12px;
  color: #ffffff;
  font-size: clamp(1.55rem, 2.6vw, 2.55rem);
  line-height: 1.04;
}

.showcase-content p,
.value-card p {
  color: var(--text);
  margin: 0;
}

.showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: auto;
  padding-top: 28px;
}

.showcase-actions .text-button {
  min-width: min(220px, 100%);
  min-height: 42px;
  padding: 9px 12px;
  font-size: 0.86rem;
}

.mission-window,
.mission-orbit,
.mission-track {
  position: absolute;
  display: block;
}

.mission-window {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.035));
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.35);
}

.window-main {
  left: 9%;
  top: 18%;
  width: 58%;
  height: 52%;
}

.window-side {
  right: 10%;
  bottom: 16%;
  width: 38%;
  height: 34%;
}

.mission-orbit {
  right: 14%;
  top: 16%;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(228, 61, 48, 0.5);
  border-radius: 50%;
  box-shadow: inset 0 0 24px rgba(228, 61, 48, 0.16), 0 0 34px rgba(228, 61, 48, 0.22);
}

.mission-track {
  left: 10%;
  right: 10%;
  bottom: 24%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue), var(--green));
}

.business-value {
  background:
    linear-gradient(90deg, rgba(228, 61, 48, 0.1), transparent 36%),
    #050505;
}

.value-shell {
  padding: clamp(30px, 5vw, 62px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.value-shell .section-heading {
  width: 100%;
  margin-bottom: 34px;
}

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

.value-card {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.035);
  padding: 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.value-number {
  display: block;
  color: #ffffff;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 950;
  line-height: 0.9;
}

.mission-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: clamp(34px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.12);
  padding: 0;
  list-style: none;
}

.mission-flow li {
  position: relative;
  min-height: 150px;
  background: rgba(17, 17, 17, 0.94);
  padding: 22px 18px;
  transition: background 0.22s ease, transform 0.22s ease;
}

.mission-flow li:not(:last-child)::after {
  content: ">";
  position: absolute;
  right: -9px;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  background: var(--red);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
}

.mission-flow li:hover {
  background: rgba(228, 61, 48, 0.14);
  transform: translateY(-4px);
}

.mission-flow span {
  display: block;
  margin-bottom: 28px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 950;
}

.mission-flow strong {
  display: block;
  color: #ffffff;
  line-height: 1.15;
}

.business-case {
  background:
    linear-gradient(180deg, rgba(244, 244, 242, 0.04), transparent),
    #111111;
}

.timeline li,
.timeline span {
  border-radius: 4px;
}

.timeline span {
  background: rgba(228, 61, 48, 0.12);
  color: var(--red);
}

.timeline li:hover {
  border-color: rgba(228, 61, 48, 0.42);
}

.contact {
  background:
    radial-gradient(circle at 82% 18%, rgba(25, 118, 210, 0.16), transparent 28%),
    #050505;
}

.contact-actions {
  align-items: center;
}

.contact-panel {
  box-shadow: var(--shadow);
}

.contact-row a:hover,
.footer-column a:hover,
.footer-bottom a:hover {
  color: var(--red);
}

.site-footer {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    #050505;
  border-top-color: rgba(255, 255, 255, 0.14);
}

.footer-shell {
  grid-template-columns: minmax(220px, 1.35fr) repeat(4, minmax(130px, 0.72fr)) minmax(240px, 1.05fr);
  gap: clamp(22px, 3vw, 34px);
}

.footer-column {
  align-content: start;
  gap: 0;
}

.footer-column h2,
.newsletter-card h2 {
  margin-bottom: 16px;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 11px 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.25;
}

.footer-column a:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.newsletter-card {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.newsletter-form input {
  border-radius: 4px;
}

@media (max-width: 1260px) {
  .nav-shell {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 86px;
    right: 16px;
    left: 16px;
    display: grid;
    justify-self: stretch;
    gap: 0;
    max-height: calc(100svh - 110px);
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(5, 5, 5, 0.96);
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

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

  .nav-menu a {
    width: 100%;
    min-height: 48px;
    border-radius: 4px;
    padding: 12px;
  }

  .nav-menu a::after {
    right: auto;
    bottom: 8px;
    left: 12px;
    width: 34px;
  }

  .language-switcher {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    margin: 8px 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 6px;
  }

  .nav-menu .nav-mobile-action {
    display: inline-flex;
    border: 1px solid rgba(228, 61, 48, 0.34);
    background: rgba(228, 61, 48, 0.12);
  }

  .nav-actions {
    display: none;
  }

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

  .hero-visual {
    max-width: 780px;
  }

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

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

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

@media (max-width: 900px) {
  .service-editorial-grid,
  .featured-project-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-feature,
  .service-wide,
  .showcase-large,
  .showcase-medium,
  .showcase-small {
    grid-column: auto;
    min-height: 0;
  }

  .showcase-large {
    grid-row: auto;
  }

  .showcase-large .showcase-visual,
  .service-visual,
  .showcase-visual {
    min-height: 260px;
  }
}

@media (max-width: 780px) {
  .hero-inner {
    width: min(100% - 24px, var(--max-width));
    padding-top: 118px;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 13vw, 5.4rem);
  }

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

  .hero-jump-strip a {
    min-height: 58px;
  }

  .two-column-grid,
  .skills-layout,
  .tool-grid,
  .timeline,
  .contact-grid,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .mission-flow {
    grid-template-columns: 1fr;
  }

  .mission-flow li {
    min-height: 112px;
  }

  .mission-flow li:not(:last-child)::after {
    right: 50%;
    top: auto;
    bottom: -9px;
    margin-right: -9px;
    margin-top: 0;
    transform: rotate(90deg);
  }

  .showcase-actions,
  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .showcase-actions .text-button,
  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .nav-shell {
    min-height: 70px;
  }

  .nav-menu {
    top: 76px;
  }

  .hero-visual {
    min-height: 460px;
  }

  .section-pad {
    padding-inline: 14px;
  }

  .fit-card,
  .profile-card,
  .skill-column,
  .tool-card,
  .case-shell,
  .service-body,
  .showcase-content,
  .newsletter-card,
  .value-shell,
  .value-card {
    padding: 20px;
  }

  .service-visual,
  .showcase-visual {
    min-height: 220px;
  }
}
