:root {
  --bg: #05070b;
  --panel: rgba(12, 22, 30, 0.72);
  --panel-strong: rgba(15, 28, 37, 0.92);
  --text: #effaff;
  --muted: #9fb2bd;
  --cyan: #40e7ff;
  --green: #42f5a4;
  --amber: #f7c948;
  --line: rgba(148, 229, 255, 0.18);
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --brand-blue: #1167f2;
  --container-pad: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(4.5rem, 9vw, 6.5rem);
}

* {
  box-sizing: border-box;
}

.php-site {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 18%, rgba(17, 103, 242, 0.24), transparent 28rem),
    radial-gradient(circle at 14% 68%, rgba(66, 245, 164, 0.08), transparent 24rem),
    linear-gradient(180deg, #05070b 0%, #071016 46%, #05070b 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.php-site main {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 7, 11, 0.72);
  backdrop-filter: blur(18px);
}

.mobile-nav {
  position: relative;
}

.mobile-nav summary {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(239, 250, 255, 0.2);
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  padding: 0.62rem 0.9rem;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.75rem);
  display: grid;
  width: min(72vw, 220px);
  gap: 0.35rem;
  border: 1px solid rgba(148, 229, 255, 0.22);
  border-radius: 8px;
  background: rgba(5, 7, 11, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  padding: 0.7rem;
}

.mobile-nav-panel a {
  border-radius: 8px;
  color: rgba(239, 250, 255, 0.84);
  font-weight: 800;
  padding: 0.8rem 0.9rem;
}

.mobile-nav-panel a:hover,
.mobile-nav-panel a:focus {
  background: rgba(17, 103, 242, 0.18);
  color: white;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
}

.hero-title {
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  letter-spacing: 0;
}

.hero-copy {
  font-size: clamp(1rem, 3.9vw, 1.125rem);
  margin-left: auto;
  margin-right: auto;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 0;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  position: relative;
  z-index: 2;
  min-height: calc(100svh - 80px);
  justify-items: center;
  align-content: center;
  gap: clamp(1.25rem, 4vw, 2rem);
  padding-bottom: clamp(3.25rem, 7vw, 5.25rem);
  padding-top: clamp(3.25rem, 7vw, 5.25rem);
  text-align: center;
}

.hero-text {
  display: grid;
  width: min(100%, 760px);
  justify-items: center;
  position: relative;
  z-index: 20;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: clamp(1.65rem, 4vw, 2.2rem);
  position: relative;
  z-index: 30;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 7rem -12rem auto auto;
  width: 36rem;
  height: 36rem;
  border: 1px solid rgba(17, 103, 242, 0.32);
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}

.brand-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  order: -1;
  width: min(54vw, 180px);
  border: 1px solid rgba(17, 103, 242, 0.34);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(17, 103, 242, 0.18), rgba(8, 16, 23, 0.74));
  padding: clamp(0.8rem, 2vw, 1.1rem);
  box-shadow: 0 22px 70px rgba(17, 103, 242, 0.16);
  min-height: auto;
  overflow: hidden;
  perspective: 900px;
}

.brand-stage img {
  position: relative;
  z-index: 2;
  width: min(100%, 128px);
  aspect-ratio: 1;
  border-radius: 22%;
  object-fit: cover;
  animation: logoFloat 5.5s ease-in-out infinite;
  box-shadow: 0 26px 70px rgba(17, 103, 242, 0.24);
}

.logic-orbit {
  position: absolute;
  inset: 10%;
  z-index: 1;
  transform-style: preserve-3d;
  animation: orbitTilt 12s linear infinite;
  pointer-events: none;
}

.orbit-ring {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(64, 231, 255, 0.36);
  border-radius: 999px;
  transform-style: preserve-3d;
  pointer-events: none;
}

.ring-one {
  transform: rotateX(64deg) rotateZ(12deg);
}

.ring-two {
  border-color: rgba(66, 245, 164, 0.28);
  transform: rotateY(64deg) rotateZ(-28deg);
}

.logic-cube {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(64, 231, 255, 0.34), rgba(17, 103, 242, 0.18));
  box-shadow: 0 12px 30px rgba(64, 231, 255, 0.18);
  transform-style: preserve-3d;
  animation: cubeDrift 6s ease-in-out infinite;
  pointer-events: none;
}

.cube-one {
  left: 12%;
  top: 18%;
}

.cube-two {
  right: 15%;
  top: 26%;
  animation-delay: -1.8s;
}

.cube-three {
  bottom: 16%;
  left: 42%;
  animation-delay: -3.2s;
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0) rotateX(0deg) rotateY(0deg);
  }
  50% {
    transform: translateY(-12px) rotateX(3deg) rotateY(-4deg);
  }
}

@keyframes orbitTilt {
  from {
    transform: rotateX(58deg) rotateZ(0deg);
  }
  to {
    transform: rotateX(58deg) rotateZ(360deg);
  }
}

@keyframes cubeDrift {
  0%, 100% {
    transform: translate3d(0, 0, 24px) rotateX(0deg) rotateY(0deg);
  }
  50% {
    transform: translate3d(10px, -16px, 72px) rotateX(42deg) rotateY(34deg);
  }
}

.investment-band {
  background:
    linear-gradient(90deg, rgba(17, 103, 242, 0.16), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.018);
}

.investor-card {
  min-height: 100%;
  border: 1px solid rgba(148, 229, 255, 0.18);
  border-radius: 8px;
  background: rgba(8, 16, 23, 0.76);
  padding: 1.5rem;
}

.investor-logo {
  width: 74px;
  height: 74px;
  border-radius: 8px;
  object-fit: cover;
  background: white;
}

.investment-empty {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  border: 1px dashed rgba(148, 229, 255, 0.34);
  border-radius: 8px;
  background: rgba(8, 16, 23, 0.58);
  padding: 1.4rem;
  color: #dbeafe;
  text-align: center;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 15% 12%, rgba(64, 231, 255, 0.14), transparent 28rem),
    radial-gradient(circle at 82% 10%, rgba(66, 245, 164, 0.11), transparent 30rem),
    linear-gradient(180deg, #05070b 0%, #071016 44%, #05070b 100%);
  color: var(--text);
  font-family: var(--mono);
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.rush-open {
  overflow: hidden;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.24;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.noise::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 8px);
  opacity: 0.28;
}

.site-shell {
  position: relative;
  z-index: 2;
}

.glass {
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.section {
  padding: var(--section-y) 0;
  scroll-margin-top: 92px;
}

.section-heading {
  display: grid;
  justify-items: center;
}

.section-heading h2,
.contact-copy h2 {
  line-height: 1.06;
}

.section-heading p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gradient-text {
  background: linear-gradient(90deg, #ffffff, #9cf6ff 42%, #66f5ae 84%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-link {
  color: rgba(239, 250, 255, 0.76);
  font-size: 0.9rem;
  transition: color 180ms ease;
}

.nav-link:hover,
.nav-link:focus {
  color: white;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 8px;
  padding: 0.64rem 0.92rem;
  font-size: 0.94rem;
  font-weight: 800;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #031014;
}

.btn-secondary {
  border: 1px solid rgba(239, 250, 255, 0.2);
  color: white;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5,7,11,0.95), rgba(5,7,11,0.62) 46%, rgba(5,7,11,0.18)),
    linear-gradient(135deg, transparent 0 46%, rgba(64,231,255,0.08) 46% 47%, transparent 47% 100%);
}

.terminal-badge {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 0.62rem;
  border: 1px solid rgba(64, 231, 255, 0.26);
  border-radius: 8px;
  background: rgba(3, 10, 14, 0.72);
  box-shadow: inset 0 0 40px rgba(64, 231, 255, 0.06), 0 20px 70px rgba(0,0,0,0.22);
  padding: 0.8rem 1rem;
  overflow: hidden;
}

.terminal-dot {
  display: inline-block;
  width: 0.64rem;
  height: 0.64rem;
  flex: 0 0 auto;
  border-radius: 999px;
}

.terminal-badge code {
  color: #b9fff0;
  font-size: clamp(0.72rem, 2.3vw, 0.96rem);
  overflow-wrap: anywhere;
  white-space: normal;
}

.service-card,
.portfolio-card,
.process-step,
.stat-card,
.review-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 31, 41, 0.84), rgba(8, 16, 23, 0.78));
  backdrop-filter: blur(14px);
  border-radius: 8px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card,
.portfolio-card,
.investor-card {
  height: 100%;
}

.service-card:hover,
.portfolio-card:hover,
.process-step:hover {
  transform: translateY(-7px);
  border-color: rgba(64, 231, 255, 0.5);
  box-shadow: 0 24px 70px rgba(64, 231, 255, 0.12);
}

.icon-box {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(64, 231, 255, 0.16), rgba(17, 103, 242, 0.1)),
    rgba(64, 231, 255, 0.08);
  box-shadow: inset 0 0 24px rgba(64, 231, 255, 0.08);
  color: var(--cyan);
  line-height: 1;
}

.icon-box span {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
  transform: translateY(1px);
}

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

.contact-copy {
  display: grid;
  justify-items: start;
}

.contact-copy .btn-secondary {
  min-width: 6.4rem;
}

.contact-layout form {
  width: min(100%, 680px);
  justify-self: end;
}

.project-grid,
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.project-card,
.client-card,
.update-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(148, 229, 255, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(16, 31, 41, 0.84), rgba(8, 16, 23, 0.78));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.14);
}

.project-card > img,
.update-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}

.project-card-body,
.client-card,
.update-card {
  padding: 1.25rem;
}

.project-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(64, 231, 255, 0.2);
  border-radius: 8px;
  background: rgba(64, 231, 255, 0.09);
  color: #b9fff0;
  font-size: 0.76rem;
  font-weight: 900;
  padding: 0.35rem 0.55rem;
}

.project-chip.muted {
  border-color: rgba(239, 250, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(239, 250, 255, 0.82);
}

.project-card h3,
.update-card h3 {
  margin-top: 1rem;
  color: white;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.14;
}

.project-card p,
.update-card p,
.client-card blockquote {
  margin-top: 0.75rem;
  color: rgba(203, 213, 225, 0.88);
  line-height: 1.7;
}

.project-card time,
.client-card time {
  display: block;
  margin-top: 0.8rem;
  color: rgba(159, 178, 189, 0.94);
  font-size: 0.88rem;
  font-weight: 800;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.updates-section,
.client-section {
  background: rgba(255, 255, 255, 0.018);
}

.updates-timeline {
  display: grid;
  gap: 1rem;
}

.update-card {
  position: relative;
}

.update-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: #b9fff0;
  font-size: 0.82rem;
  font-weight: 900;
}

.update-detail {
  color: rgba(226, 232, 240, 0.88) !important;
}

.progress-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 1rem;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--green));
}

.progress-label {
  display: block;
  margin-top: 0.5rem;
  color: #d9fff0;
  font-size: 0.9rem;
}

.client-card {
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.client-card-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.client-card-head img {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: cover;
  background: white;
}

.client-card-head strong {
  display: block;
  color: white;
  font-size: 1.1rem;
  font-weight: 900;
}

.client-card-head span,
.client-service {
  color: rgba(159, 178, 189, 0.94);
  font-weight: 800;
}

.client-stars {
  color: var(--amber);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.investor-wall-section {
  background:
    linear-gradient(90deg, rgba(17, 103, 242, 0.12), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.018);
}

.investor-wall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.investor-score-card,
.investor-wall-empty {
  border: 1px solid rgba(148, 229, 255, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(16, 31, 41, 0.84), rgba(8, 16, 23, 0.78));
  padding: 1.1rem;
}

.investor-score-card {
  display: grid;
  gap: 0.45rem;
}

.wall-position {
  color: #b9fff0 !important;
  font-size: 0.82rem !important;
  font-weight: 900 !important;
  text-transform: uppercase;
}

.investor-score-card strong {
  color: white;
  font-size: 1.08rem;
  font-weight: 900;
}

.investor-score-card span,
.investor-score-card time,
.investor-wall-empty {
  color: rgba(203, 213, 225, 0.88);
  font-size: 0.94rem;
  font-weight: 700;
}

.rush-launcher-wrap {
  position: fixed;
  left: max(0.75rem, env(safe-area-inset-left));
  top: clamp(6.5rem, 24vh, 12rem);
  z-index: 90;
}

.rush-launcher {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(148, 229, 255, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(64, 231, 255, 0.95), rgba(66, 245, 164, 0.92)),
    #071016;
  box-shadow: 0 16px 44px rgba(64, 231, 255, 0.18);
  color: #031014;
  cursor: pointer;
  font-size: 1.35rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
  animation: rushPulse 2.8s ease-in-out infinite;
}

.rush-launcher:hover,
.rush-launcher:focus-visible {
  transform: translateX(2px) scale(1.04);
  box-shadow: 0 18px 54px rgba(64, 231, 255, 0.28);
  outline: none;
}

.rush-callout {
  position: absolute;
  left: calc(100% + 0.75rem);
  top: 50%;
  width: min(70vw, 230px);
  transform: translateY(-50%);
  border: 1px solid rgba(148, 229, 255, 0.22);
  border-radius: 8px;
  background: rgba(5, 7, 11, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  padding: 0.8rem 2.1rem 0.8rem 0.9rem;
  animation: rushCalloutIn 260ms ease both;
}

.rush-callout::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-bottom: 1px solid rgba(148, 229, 255, 0.22);
  border-left: 1px solid rgba(148, 229, 255, 0.22);
  background: rgba(5, 7, 11, 0.96);
  transform: translateY(-50%) rotate(45deg);
}

.rush-callout-text {
  border: 0;
  background: transparent;
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.45;
  padding: 0;
  text-align: left;
}

.rush-callout-close,
.rush-close {
  display: grid;
  place-items: center;
  border: 1px solid rgba(239, 250, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: white;
  cursor: pointer;
}

.rush-callout-close {
  position: absolute;
  right: 0.45rem;
  top: 0.45rem;
  width: 24px;
  height: 24px;
  font-size: 1rem;
}

.rush-modal[hidden],
.rush-callout[hidden],
.rush-result-panel[hidden],
.rush-game-panel[hidden],
.rush-start[hidden] {
  display: none;
}

.rush-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(0.75rem, 3vw, 1.5rem);
}

.rush-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 14, 0.76);
  backdrop-filter: blur(12px);
}

.rush-dialog {
  position: relative;
  display: grid;
  width: min(100%, 860px);
  max-height: min(94svh, 760px);
  overflow: auto;
  border: 1px solid rgba(148, 229, 255, 0.22);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(9, 20, 31, 0.98), rgba(5, 10, 16, 0.98));
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.44);
  padding: clamp(1rem, 3vw, 1.4rem);
}

.rush-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.rush-header h2 {
  color: white;
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 900;
  line-height: 1.08;
}

.rush-close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  font-size: 1.35rem;
}

.rush-game-panel,
.rush-result-panel {
  display: grid;
  gap: 1rem;
}

.rush-hud,
.rush-result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.rush-hud div,
.rush-result-grid div {
  min-width: 0;
  border: 1px solid rgba(148, 229, 255, 0.16);
  border-radius: 8px;
  background: rgba(3, 10, 14, 0.72);
  padding: 0.75rem;
}

.rush-hud span,
.rush-result-grid span {
  display: block;
  color: rgba(159, 178, 189, 0.94);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rush-hud strong,
.rush-result-grid strong {
  display: block;
  margin-top: 0.2rem;
  overflow: hidden;
  color: white;
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#rush-canvas {
  display: block;
  width: 100%;
  height: auto;
  max-height: 52svh;
  border: 1px solid rgba(148, 229, 255, 0.2);
  border-radius: 8px;
  background: #061016;
  cursor: pointer;
  touch-action: none;
  user-select: none;
}

.rush-controls {
  color: rgba(203, 213, 225, 0.86);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.rush-start {
  justify-self: center;
  width: min(100%, 14rem);
}

.rush-result-panel h3 {
  color: white;
  font-size: clamp(1.45rem, 5vw, 2.3rem);
  font-weight: 900;
  text-align: center;
}

.rush-result-message {
  border-left: 3px solid var(--green);
  color: #d9fff0;
  font-weight: 850;
  line-height: 1.6;
  padding-left: 0.9rem;
}

.rush-save-panel {
  display: grid;
  gap: 0.85rem;
  border: 1px solid rgba(148, 229, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: 1rem;
}

.rush-save-panel h4 {
  color: white;
  font-size: 1.1rem;
  font-weight: 900;
}

.rush-save-panel label {
  color: white;
  font-size: 0.92rem;
  font-weight: 800;
}

.rush-save-error {
  border-radius: 8px;
  background: rgba(248, 113, 113, 0.14);
  color: #fecaca;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 0.7rem;
}

.rush-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

@keyframes rushPulse {
  0%, 100% {
    box-shadow: 0 16px 44px rgba(64, 231, 255, 0.18);
  }
  50% {
    box-shadow: 0 16px 56px rgba(66, 245, 164, 0.3);
  }
}

@keyframes rushCalloutIn {
  from {
    opacity: 0;
    transform: translate(-8px, -50%);
  }
  to {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

.mobile-panel {
  transform: translateY(-120%);
  transition: transform 220ms ease;
}

.mobile-panel.open {
  transform: translateY(0);
}

.popup-backdrop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.popup-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.admin-body {
  background:
    linear-gradient(90deg, rgba(64,231,255,0.05) 1px, transparent 1px),
    linear-gradient(rgba(64,231,255,0.05) 1px, transparent 1px),
    #071016;
  background-size: 28px 28px;
}

.admin-input {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(148, 229, 255, 0.18);
  background: rgba(5, 7, 11, 0.72);
  color: white;
  padding: 0.78rem 0.9rem;
  outline: none;
}

.admin-input:focus {
  border-color: rgba(64, 231, 255, 0.7);
}

@media (max-width: 767px) {
  .section {
    padding: clamp(3.7rem, 12vw, 4.6rem) 0;
    scroll-margin-top: 78px;
  }

  .hero-content {
    gap: 1.15rem;
    min-height: calc(100svh - 72px);
    padding-bottom: clamp(2.75rem, 10vw, 4rem);
    padding-top: clamp(2.75rem, 10vw, 4rem);
  }

  .hero-title {
    font-size: clamp(2.25rem, 11.5vw, 3.25rem);
  }

  .site-header nav {
    height: 72px;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .brand-stage {
    width: min(42vw, 150px);
    padding: 0.8rem;
  }

  .brand-stage img {
    width: min(100%, 108px);
  }

  .btn-primary,
  .btn-secondary {
    min-height: 46px;
  }

  .hero-actions .btn-primary {
    width: min(100%, 12.5rem);
  }

  .hero-actions {
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .hero-copy {
    line-height: 1.75;
    max-width: 34rem;
  }

  .investment-empty {
    font-size: 0.95rem;
  }

  .service-card,
  .portfolio-card,
  .investor-card,
  .glass {
    padding: 1.2rem;
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  .contact-layout,
  .contact-copy {
    justify-items: center;
    text-align: center;
  }

  .contact-copy > div {
    justify-items: center;
  }

  .contact-copy .flex {
    justify-content: center;
  }

  .contact-layout form {
    justify-self: center;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(5,7,11,0.84), rgba(5,7,11,0.58) 42%, rgba(5,7,11,0.92));
  }

  .rush-launcher-wrap {
    left: max(0.55rem, env(safe-area-inset-left));
    top: clamp(5.2rem, 18vh, 8rem);
  }

  .rush-launcher {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .rush-callout {
    width: min(76vw, 215px);
  }

  .rush-modal {
    padding: 0.55rem;
  }

  .rush-dialog {
    width: 100%;
    max-height: 96dvh;
    padding: 0.9rem;
  }

  .rush-header {
    margin-bottom: 0.65rem;
  }

  .rush-game-panel,
  .rush-result-panel {
    gap: 0.72rem;
  }

  .rush-hud,
  .rush-result-grid {
    gap: 0.5rem;
  }

  .rush-hud div,
  .rush-result-grid div {
    padding: 0.62rem;
  }

  #rush-canvas {
    max-height: 40dvh;
  }

  .rush-result-actions .btn-primary,
  .rush-result-actions .btn-secondary {
    flex: 1 1 100%;
  }

  .investor-wall-grid {
    grid-template-columns: 1fr;
  }

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

  .project-actions .btn-primary,
  .project-actions .btn-secondary {
    flex: 1 1 100%;
  }

  .client-card-head {
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .brand-stage {
    width: min(46vw, 132px);
  }

  .logic-cube {
    width: 26px;
    height: 26px;
  }

  .btn-primary,
  .btn-secondary {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .rush-header {
    gap: 0.6rem;
  }

  .rush-result-grid {
    grid-template-columns: 1fr;
  }
}

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