:root {
  --bg: #04080d;
  --bg-soft: rgba(9, 17, 24, 0.84);
  --surface: rgba(9, 17, 24, 0.96);
  --surface-strong: rgba(12, 23, 31, 0.99);
  --surface-hover: rgba(16, 30, 40, 0.99);
  --text: #f7fbff;
  --muted: #b8c7d2;
  --line: rgba(84, 214, 219, 0.18);
  --line-strong: rgba(84, 214, 219, 0.34);
  --accent: #41cfd6;
  --accent-2: #7ee8e3;
  --accent-3: #7bb7ff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1180px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  background-color: #04080d;
}

html::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body {
  margin: 0;
  min-width: 320px;
  --mouse-x: 50%;
  --mouse-y: 20%;
  --mouse-glow-x: 50%;
  --mouse-glow-y: 20%;
  --scroll-progress: 0%;
  --section-scroll-progress: 0%;
  background:
    radial-gradient(circle at top left, rgba(65, 207, 214, 0.16), transparent 30%),
    radial-gradient(circle at 85% 12%, rgba(123, 183, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #02060a 0%, #050c12 42%, #010308 100%);
  background-color: #04080d;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

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

a:not([class]) {
  color: var(--accent-2);
  text-decoration: underline;
  text-decoration-color: rgba(126, 232, 227, 0.34);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  transition: color 180ms ease, text-decoration-color 180ms ease, opacity 180ms ease;
}

a:not([class]):hover,
a:not([class]):focus-visible {
  color: #ecfdff;
  text-decoration-color: rgba(126, 232, 227, 0.9);
}

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

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

.site-shell {
  position: relative;
  overflow: clip;
  overflow-x: clip;
}

.background-grid,
.background-grid-major,
.background-grid-spotlight,
.background-grid-lights,
.background-glow,
.cursor-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
}

.section-scroll {
  position: fixed;
  top: 50%;
  right: 18px;
  z-index: 16;
  width: 64px;
  height: min(38vh, 280px);
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
  pointer-events: none;
}

body.has-section-scroll .section-scroll {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}

.section-scroll-track,
.section-scroll-thumb {
  position: absolute;
  border-radius: 999px;
}

.section-scroll-track {
  top: 0;
  left: calc(50% + 10px);
  width: 24px;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent calc(50% - 0.5px),
    rgba(255, 255, 255, 0.06) calc(50% - 0.5px),
    rgba(255, 255, 255, 0.06) calc(50% + 0.5px),
    transparent calc(50% + 0.5px)
  );
  transform: translateX(-50%);
  pointer-events: none;
}

.section-scroll-thumb {
  top: 0;
  left: calc(50% + 10px);
  width: 16px;
  height: max(48px, 14%);
  background: linear-gradient(
    90deg,
    transparent calc(50% - 1.5px),
    var(--accent-2) calc(50% - 1.5px),
    var(--accent) calc(50% + 1.5px),
    transparent calc(50% + 1.5px)
  );
  box-shadow:
    0 0 10px rgba(126, 232, 227, 0.12),
    0 0 18px rgba(65, 207, 214, 0.08);
  transform: translate(-50%, var(--section-scroll-progress));
  pointer-events: none;
}

.section-scroll-markers {
  position: absolute;
  inset: 0;
}

.section-scroll-marker {
  position: absolute;
  top: var(--marker-position, 0%);
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, color 180ms ease, opacity 180ms ease;
}

.section-scroll-marker::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(126, 232, 227, 0.38);
  background: rgba(6, 14, 20, 0.9);
  box-shadow: 0 0 0 6px rgba(65, 207, 214, 0.02);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.section-scroll-label {
  position: absolute;
  top: 50%;
  right: calc(100% + 12px);
  transform: translateY(-50%) translateX(8px);
  max-width: 156px;
  padding: 6px 10px;
  border: 1px solid rgba(126, 232, 227, 0.12);
  border-radius: 999px;
  background: rgba(7, 14, 19, 0.92);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  transition: opacity 180ms ease, transform 180ms ease;
}

.section-scroll-marker:hover,
.section-scroll-marker:focus-visible,
.section-scroll-marker.is-active {
  color: var(--text);
  transform: translate(-50%, -50%) scale(1.04);
}

.section-scroll-marker:hover::before,
.section-scroll-marker:focus-visible::before,
.section-scroll-marker.is-active::before {
  transform: scale(1.18);
  border-color: rgba(126, 232, 227, 0.92);
  background: rgba(126, 232, 227, 0.24);
  box-shadow:
    0 0 0 6px rgba(65, 207, 214, 0.08),
    0 0 18px rgba(126, 232, 227, 0.14);
}

.section-scroll-marker:hover .section-scroll-label,
.section-scroll-marker:focus-visible .section-scroll-label,
.section-scroll-marker.is-active .section-scroll-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.section-scroll-marker:focus-visible {
  outline: none;
}

.background-grid {
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(168, 186, 202, 0.085) 0 1px,
      transparent 1px 7px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(168, 186, 202, 0.085) 0 1px,
      transparent 1px 7px
    );
  background-size: 56px 56px, 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.08));
}

.background-grid-major {
  background-image:
    linear-gradient(rgba(170, 197, 208, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(170, 197, 208, 0.18) 1px, transparent 1px);
  background-size: 224px 224px, 224px 224px;
  background-position: var(--grid-major-offset-x, 0px) var(--grid-major-offset-y, 0px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.12));
}

.background-grid-spotlight {
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(126, 232, 227, 0.18) 0 1px,
      transparent 1px 7px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(126, 232, 227, 0.18) 0 1px,
      transparent 1px 7px
    ),
    linear-gradient(rgba(215, 242, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215, 242, 255, 0.12) 1px, transparent 1px);
  background-size: 56px 56px, 56px 56px, 224px 224px, 224px 224px;
  background-position:
    0 0,
    0 0,
    var(--grid-major-offset-x, 0px) var(--grid-major-offset-y, 0px),
    var(--grid-major-offset-x, 0px) var(--grid-major-offset-y, 0px);
  opacity: 0;
  mask-image: radial-gradient(circle 220px at var(--mouse-glow-x) var(--mouse-glow-y), rgba(0, 0, 0, 0.92) 0 18%, rgba(0, 0, 0, 0.72) 36%, rgba(0, 0, 0, 0.22) 58%, transparent 82%);
  -webkit-mask-image: radial-gradient(circle 220px at var(--mouse-glow-x) var(--mouse-glow-y), rgba(0, 0, 0, 0.92) 0 18%, rgba(0, 0, 0, 0.72) 36%, rgba(0, 0, 0, 0.22) 58%, transparent 82%);
  mix-blend-mode: screen;
  transition: opacity 180ms ease;
}

body.has-mouse-spotlight .background-grid-spotlight {
  opacity: 0.46;
}

.background-grid-lights {
  overflow: hidden;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.14));
}

.grid-light {
  position: absolute;
  pointer-events: none;
  opacity: 0.7;
  filter: blur(0.3px);
  will-change: transform;
}

.grid-light-horizontal {
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(126, 232, 227, 0) 0%,
    rgba(126, 232, 227, 0.018) 42%,
    rgba(126, 232, 227, 0.06) 72%,
    rgba(126, 232, 227, 0.18) 88%,
    rgba(236, 253, 255, 0.92) 100%
  );
  box-shadow:
    0 0 12px rgba(126, 232, 227, 0.14),
    0 0 24px rgba(126, 232, 227, 0.09);
}

.grid-light-vertical {
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(123, 183, 255, 0) 0%,
    rgba(123, 183, 255, 0.015) 42%,
    rgba(123, 183, 255, 0.05) 72%,
    rgba(123, 183, 255, 0.14) 88%,
    rgba(245, 243, 255, 0.88) 100%
  );
  box-shadow:
    0 0 10px rgba(123, 183, 255, 0.1),
    0 0 20px rgba(123, 183, 255, 0.07);
}

.background-glow {
  filter: blur(90px);
  opacity: 0.8;
  animation: glowPulse 14s ease-in-out infinite alternate;
}

.cursor-glow {
  background: none;
  opacity: 0;
  transition: opacity 220ms ease;
}

.background-glow-left {
  background: radial-gradient(circle, rgba(65, 207, 214, 0.18) 0%, transparent 62%);
  transform: translate(-36%, -20%);
  animation-delay: -4s;
}

.background-glow-right {
  background: radial-gradient(circle, rgba(123, 183, 255, 0.1) 0%, transparent 58%);
  transform: translate(42%, 12%);
  animation-delay: -8s;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 112px 0;
  scroll-margin-top: calc(var(--header-height) + 28px);
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(3, 8, 13, 0.72);
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.scroll-progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 1px;
  width: var(--scroll-progress);
  background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-3));
  box-shadow: 0 0 18px rgba(65, 207, 214, 0.34);
}

.header.is-scrolled {
  background: rgba(3, 8, 13, 0.92);
  border-color: var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.brand-copy {
  display: grid;
  gap: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(65, 207, 214, 0.16), rgba(126, 232, 227, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 10px rgba(65, 207, 214, 0.05),
    0 0 36px rgba(65, 207, 214, 0.16);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  font-size: 1.24rem;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav a,
.footer-nav a {
  position: relative;
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #f4f7ff;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.header-mail:hover,
.header-mail:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
}

.nav-support {
  display: none;
}

.nav-support-label {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 18;
  background: rgba(2, 5, 14, 0.52);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

body.menu-open .nav-backdrop {
  opacity: 1;
  visibility: visible;
}

.nav a::after,
.footer-nav a::after,
.project-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}

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

.nav a:hover::after,
.nav a:focus-visible::after,
.footer-nav a:hover::after,
.footer-nav a:focus-visible::after,
.project-link:hover::after,
.project-link:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span + span {
  margin-top: 6px;
}

.menu-toggle.is-active span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.is-active span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 0 0 48px;
}

.hero-backdrop {
  display: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 74% 26%, rgba(126, 232, 227, 0.08), transparent 24%),
    radial-gradient(circle at 34% 72%, rgba(123, 183, 255, 0.06), transparent 26%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.42));
}

.hero::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 52px;
  width: 68px;
  height: 68px;
  border-top: 1px dashed rgba(148, 163, 184, 0.18);
  border-left: 1px dashed rgba(148, 163, 184, 0.18);
  border-radius: 999px 0 0 0;
  pointer-events: none;
  opacity: 0.72;
}

.hero-grid {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 1120px;
  margin: -50px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(360px, 420px);
  justify-content: center;
  gap: 56px;
  align-items: center;
}

.hero-copy {
  position: relative;
  max-width: 620px;
  min-width: 0;
  padding: 44px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-2));
}

.hero h1,
.section-heading h2 {
  margin: 18px 0 0;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.hero h1 {
  font-size: clamp(3.6rem, 11vw, 7rem);
}

.section-heading h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

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

.hero-text {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 2.6vw, 1.28rem);
  line-height: 1.75;
}

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

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 176px;
  padding: 15px 24px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, rgba(126, 232, 227, 0.16), rgba(65, 207, 214, 0.14));
  box-shadow: 0 16px 40px rgba(28, 127, 137, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: rgba(126, 232, 227, 0.32);
  box-shadow: 0 22px 50px rgba(28, 127, 137, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
}

.hero-panel,
.feature-card,
.project-card,
.contact-card {
  position: relative;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 32%),
    var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel::before,
.feature-card::before,
.project-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(126, 232, 227, 0.1), transparent 28%, transparent 64%, rgba(123, 183, 255, 0.08));
  opacity: 0;
  transition: opacity 220ms ease;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: -18% -12% auto;
  height: 46%;
  background:
    radial-gradient(circle at 50% 50%, rgba(126, 232, 227, 0.12) 0%, rgba(65, 207, 214, 0.07) 26%, transparent 72%);
  filter: blur(34px);
  opacity: 0.6;
  pointer-events: none;
  animation: heroPanelAura 8.5s ease-in-out infinite;
}

.hero-panel:hover::before,
.feature-card:hover::before,
.project-card:hover::before,
.contact-card:hover::before {
  opacity: 1;
}

.hero-panel:hover {
  border-color: rgba(126, 232, 227, 0.24);
}

.hero-panel {
  justify-self: center;
  width: 100%;
  max-width: 420px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 30%),
    linear-gradient(135deg, rgba(12, 24, 33, 0.98), rgba(5, 11, 18, 0.98));
  backdrop-filter: blur(18px);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  will-change: transform;
}

.panel-window {
  min-height: 100%;
  transform-origin: center center;
}

.panel-topbar {
  display: flex;
  gap: 8px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.panel-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.panel-topbar span:first-child {
  background: #ff7b7b;
}

.panel-topbar span:nth-child(2) {
  background: #ffd166;
}

.panel-topbar span:last-child {
  background: #70e0a4;
}

.panel-body {
  padding: 22px;
}

.panel-section + .panel-section {
  margin-top: 18px;
}

.panel-label,
.project-tag,
.feature-index {
  display: inline-flex;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--text);
  font-size: 1rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #7ee8e3 0%, #41cfd6 100%);
  box-shadow: 0 0 18px rgba(126, 232, 227, 0.56);
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.tech-stack span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 0.92rem;
}

.hero-panel .tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.hero-panel .tech-stack span {
  min-height: 34px;
  padding: 9px 11px;
  text-align: center;
  border-radius: 14px;
  font-size: 0.76rem;
  line-height: 1.2;
  white-space: nowrap;
}

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

.metrics article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
}

.hero-panel .metrics article {
  padding: 16px;
}

.metrics strong {
  display: block;
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.metrics span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.panel-code {
  margin-top: 22px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 30%),
    rgba(2, 6, 12, 0.92);
  border: 1px solid rgba(132, 180, 181, 0.16);
  font-family: "JetBrains Mono", monospace;
  overflow: hidden;
}

.panel-code-bar,
.panel-code-command,
.panel-code-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-code-bar {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(132, 180, 181, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.panel-code-title,
.panel-code-state,
.panel-code-badge {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-code-title {
  color: #d7e2ff;
}

.panel-code-state,
.panel-code-badge,
.panel-code-line.is-dim {
  color: rgba(201, 212, 244, 0.56);
}

.panel-code-screen {
  padding: 14px 16px 16px;
  font-size: 0.78rem;
  line-height: 1.68;
}

.panel-code-command {
  justify-content: flex-start;
  color: #d7e2ff;
}

.panel-code-prompt {
  color: var(--accent-2);
}

.panel-code-command-text {
  color: #f4f7ff;
  transition: opacity 280ms ease, transform 280ms ease;
}

.panel-code-output {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  min-height: 92px;
  transition: opacity 280ms ease, transform 280ms ease;
}

.panel-code-line {
  display: block;
  color: #c9d4f4;
}

.panel-code.is-transitioning .panel-code-command-text,
.panel-code.is-transitioning .panel-code-output {
  opacity: 0;
  transform: translateY(8px);
}

.panel-code-line::before {
  content: ">";
  margin-right: 9px;
  color: rgba(126, 232, 227, 0.54);
}

.panel-code-footer {
  margin-top: 12px;
}

.panel-code-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(126, 232, 227, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.section-heading {
  max-width: 760px;
}

.section-heading p {
  margin: 22px 0 0;
  line-height: 1.85;
  font-size: 1.03rem;
}

.feature-grid,
.project-grid,
.team-grid,
.contacts-grid {
  display: grid;
  gap: 22px;
  margin-top: 40px;
}

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

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

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

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

.feature-card,
.project-card,
.team-card {
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.feature-card:hover,
.project-card:hover,
.team-card:hover,
.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), transparent 36%),
    var(--surface-hover);
}

.feature-card {
  padding: 28px;
}

.feature-index {
  color: var(--accent-2);
}

.feature-card h3,
.project-body h3,
.contact-title {
  margin: 16px 0 0;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.feature-card p,
.project-body p {
  margin: 14px 0 0;
  line-height: 1.75;
}

.project-card {
  display: flex;
  flex-direction: column;
}

.team-card {
  position: relative;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(126, 232, 227, 0.1), transparent 30%, transparent 68%, rgba(123, 183, 255, 0.08));
  opacity: 0;
  transition: opacity 220ms ease;
}

.team-card:hover::before {
  opacity: 1;
}

.team-card-head,
.team-meta,
.team-links {
  position: relative;
  z-index: 1;
}

.team-card-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.team-avatar-placeholder,
.team-avatar {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  border-radius: 24px;
}

.team-avatar {
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.team-avatar-placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(126, 232, 227, 0.26), transparent 42%),
    linear-gradient(135deg, rgba(65, 207, 214, 0.2), rgba(123, 183, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.team-avatar-placeholder span {
  color: #f4f7ff;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.team-meta h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.team-role {
  margin: 8px 0 0;
  color: var(--accent-2);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-description {
  position: relative;
  z-index: 1;
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.team-skills {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.team-skills span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #dfe8ff;
  font-size: 0.86rem;
  font-weight: 600;
}

.team-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.team-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #f4f7ff;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.team-links a:hover,
.team-links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(126, 232, 227, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.project-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 20%, rgba(65, 207, 214, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(2, 5, 14, 0.22));
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-media-placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(65, 207, 214, 0.14), rgba(123, 183, 255, 0.06)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.06), transparent 56%);
}

.placeholder-core {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.02);
}

.placeholder-core span {
  display: block;
  font-family: "JetBrains Mono", monospace;
  color: var(--accent-2);
  font-size: 0.9rem;
}

.placeholder-core strong {
  display: block;
  margin-top: 8px;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

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

.project-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.project-thumbs img {
  width: 100%;
  height: 84px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(132, 180, 181, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.project-link {
  position: relative;
  display: inline-flex;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 18px;
  color: var(--text);
  font-weight: 700;
}

.project-link::after {
  left: 0;
  right: 0;
  bottom: -2px;
}

.project-link-muted {
  color: var(--muted);
  font-weight: 600;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 132px;
  padding: 24px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.contact-card:hover {
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.4), 0 0 30px rgba(65, 207, 214, 0.12);
}

.contact-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(65, 207, 214, 0.16), rgba(126, 232, 227, 0.08));
  border: 1px solid var(--line);
}

.contact-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.92;
  filter:
    brightness(0)
    saturate(100%)
    invert(90%)
    sepia(20%)
    saturate(546%)
    hue-rotate(139deg)
    brightness(104%)
    contrast(96%);
}

.contact-meta {
  display: block;
  min-width: 0;
}

.contact-title {
  display: block;
  margin: 0;
}

.contact-value {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  line-break: anywhere;
  overflow-wrap: anywhere;
  transition: color 180ms ease;
}

.contact-card:hover .contact-value {
  color: #eef6ff;
}

.section-compact {
  padding-top: 72px;
}

.touch-slider-indicator {
  display: none;
}

.touch-slider-indicator.is-hidden {
  display: none;
}

.infra-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  gap: 22px;
  align-items: start;
}

.infra-block,
.placement-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 32%),
    var(--surface);
  box-shadow: var(--shadow);
}

.infra-block {
  padding: 28px;
}

.infra-heading {
  max-width: none;
}

.infra-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 28px;
}

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

.infra-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.infra-card-wide {
  grid-column: 1 / -1;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(126, 232, 227, 0.06), transparent 30%, transparent 72%, rgba(123, 183, 255, 0.06)),
    rgba(255, 255, 255, 0.04);
}

.infra-card-head h3,
.placement-card h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.infra-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.infra-overview-block {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.infra-overview-block strong {
  display: block;
  color: #f4f7ff;
  font-size: 0.8rem;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.infra-overview-block span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}

.infra-specs {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.infra-specs-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.infra-specs li {
  display: grid;
  gap: 4px;
}

.infra-specs strong {
  color: #f4f7ff;
  font-size: 0.8rem;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.infra-specs span,
.placement-card p {
  color: var(--muted);
  line-height: 1.6;
}

.placement-card {
  padding: 28px;
  position: sticky;
  top: 104px;
}

.placement-card p {
  margin: 18px 0 0;
}

.placement-link {
  display: inline-flex;
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(126, 232, 227, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: #f4f7ff;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.placement-link:hover,
.placement-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(126, 232, 227, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

.footer {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 36px 0 42px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 44px;
}

.footer-brand-block p {
  max-width: 420px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.footer-legal {
  margin-top: 28px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.footer-socials a {
  color: var(--text);
  font-weight: 600;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  color: #ffffff;
}

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

.footer-column {
  min-width: 0;
}

.footer-title {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent-2);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-nav {
  display: grid;
  gap: 4px;
  justify-items: start;
}

.footer-nav a {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-nav a {
  padding: 8px 0;
  border-radius: 0;
}

.footer-nav a::after {
  left: 0;
  right: auto;
  width: 100%;
  bottom: 4px;
}

.footer p {
  margin: 0;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
}

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

@media (max-height: 860px) and (min-width: 1081px) {
  .hero {
    min-height: auto;
    padding: 28px 0 40px;
  }

  .hero-grid {
    gap: 40px;
  }

  .hero-copy {
    padding: 28px 0;
  }
}

@keyframes glowPulse {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1);
    opacity: 0.66;
  }
  50% {
    transform: translate3d(1%, 2%, 0) scale(1.04);
    opacity: 0.84;
  }
  100% {
    transform: translate3d(3%, -1%, 0) scale(1.08);
    opacity: 0.72;
  }
}

@keyframes heroAura {
  0% {
    opacity: 0.78;
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, -1.5%, 0) scale(1.02);
  }
}

@keyframes heroPanelAura {
  0% {
    opacity: 0.48;
    transform: translate3d(0, 0, 0) scale(0.96);
  }
  50% {
    opacity: 0.72;
    transform: translate3d(0, 10px, 0) scale(1.04);
  }
  100% {
    opacity: 0.48;
    transform: translate3d(0, 0, 0) scale(0.96);
  }
}


@media (max-width: 1280px) {
  .header-actions {
    display: none;
  }

  .section-scroll {
    right: 10px;
  }
}

@media (max-width: 1080px) {
  .hero {
    min-height: auto;
    padding: 40px 0 32px;
  }

  .project-grid,
  .team-grid,
  .contacts-grid,
  .infra-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
    gap: 34px;
  }

  .hero-copy {
    max-width: none;
    padding-bottom: 0;
  }

  .hero-panel {
    grid-column: auto;
    max-width: 760px;
  }

  .infra-layout {
    grid-template-columns: 1fr;
  }

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

  .infra-overview,
  .infra-specs-compact {
    grid-template-columns: 1fr;
  }

  .placement-card {
    position: relative;
    top: auto;
  }
}

@media (max-width: 920px) {
    .container.hero-grid {
    margin: auto auto;
  }
  .contacts-grid,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .contact-card {
    min-height: 116px;
  }

  .section-scroll {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 74px;
    --radius: 24px;
  }

  .brand {
    gap: 14px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    box-shadow:
      0 0 0 8px rgba(65, 207, 214, 0.04),
      0 0 28px rgba(65, 207, 214, 0.14);
  }

  .brand-text {
    font-size: 1.12rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-compact {
    padding-top: 54px;
  }

  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .menu-toggle {
    display: inline-block;
    position: relative;
    z-index: 21;
  }

  .nav {
    position: absolute;
    z-index: 20;
    top: calc(100% + 12px);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 12px;
    padding: 18px;
    margin-left: 0;
    border: 1px solid rgba(126, 232, 227, 0.16);
    border-radius: 24px;
    background:
      radial-gradient(circle at top left, rgba(65, 207, 214, 0.16), transparent 34%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 34%),
      rgba(6, 12, 18, 0.97);
    box-shadow:
      0 24px 70px rgba(0, 0, 0, 0.42),
      0 0 0 1px rgba(65, 207, 214, 0.04),
      inset 0 1px 0 rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.985);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .nav a {
    width: 100%;
    border-radius: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(126, 232, 227, 0.08);
    background:
      linear-gradient(135deg, rgba(65, 207, 214, 0.09), rgba(126, 232, 227, 0.03));
    color: #dcecf3;
  }

  .nav a::after {
    display: none;
  }

  .nav a:hover,
  .nav a:focus-visible {
    border-color: rgba(126, 232, 227, 0.2);
    background:
      linear-gradient(135deg, rgba(65, 207, 214, 0.16), rgba(126, 232, 227, 0.06));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.04),
      0 10px 24px rgba(10, 36, 42, 0.22);
  }

  .nav-support {
    display: grid;
    gap: 12px;
    margin-top: 2px;
    padding-top: 16px;
    border-top: 1px solid rgba(126, 232, 227, 0.1);
  }

  .nav-support-link {
    color: #effcff;
    font-weight: 700;
    word-break: break-word;
  }

  .nav-support-label {
    color: rgba(126, 232, 227, 0.78);
  }

  .nav-support-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-support-meta a {
    width: auto;
    min-height: 38px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(126, 232, 227, 0.12);
    background: rgba(65, 207, 214, 0.08);
    color: #d2e5ec;
  }

  .nav-support-meta a:hover,
  .nav-support-meta a:focus-visible {
    border-color: rgba(126, 232, 227, 0.2);
    background: rgba(65, 207, 214, 0.14);
    color: #f2fdff;
  }

  .header-actions {
    display: none;
  }

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

  .touch-slider {
    display: grid;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    grid-auto-flow: column;
    grid-auto-columns: minmax(84%, 1fr);
    grid-template-columns: none;
    gap: 16px;
    margin-inline: 0;
    padding: 2px 0 10px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 0;
    scrollbar-width: none;
  }

  .touch-slider::-webkit-scrollbar {
    display: none;
  }

  .touch-slider > * {
    scroll-snap-align: start;
    min-height: 100%;
    min-width: 0;
  }

  .touch-slider > .reveal {
    opacity: 1;
    transform: none;
  }

  .touch-slider > [data-tilt] {
    transform: none !important;
  }

  .touch-slider-indicator {
    display: flex;
    width: 72px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
  }

  .touch-slider-indicator-thumb {
    display: block;
    width: 28px;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent-2), var(--accent));
    box-shadow: 0 0 14px rgba(65, 207, 214, 0.22);
    transform: translateX(0);
    transition: width 160ms ease, transform 120ms ease-out;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    overflow: visible;
  }

  .hero {
    min-height: auto;
    padding: 14px 0 22px;
  }

  .hero-copy {
    display: grid;
    justify-items: center;
    text-align: center;
    padding: 18px 0 6px;
  }

  .hero-actions {
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
  }

  .button {
    width: auto;
    min-width: 146px;
    padding: 12px 18px;
    border-radius: 16px;
    font-size: 0.95rem;
  }

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

  .hero-panel {
    grid-column: auto;
    max-width: none;
    box-shadow: none;
  }

  .hero-copy .eyebrow {
    justify-content: center;
  }

  .hero-text {
    max-width: 31ch;
    margin-top: 18px;
    margin-inline: auto;
  }

  .hero-panel,
  .feature-card,
  .project-card,
  .team-card,
  .contact-card,
  .infra-block,
  .infra-card,
  .placement-card {
    box-shadow: none;
  }

  .feature-card:hover,
  .project-card:hover,
  .team-card:hover,
  .contact-card:hover {
    transform: none;
  }

  .panel-body {
    padding: 20px;
  }

  .panel-section + .panel-section {
    margin-top: 14px;
  }

  .hero-panel .panel-label {
    display: block;
    text-align: center;
  }

  .hero-panel .tech-stack {
    justify-content: center;
    gap: 10px;
  }

  .hero-panel .tech-stack span:nth-child(n + 11) {
    display: none;
  }

  .hero-panel .metrics article {
    padding: 14px 14px;
    border-radius: 16px;
  }

  .metrics strong {
    font-size: 1.55rem;
  }

  .metrics span {
    margin-top: 4px;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .panel-code {
    display: none;
  }

  .infra-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .infra-grid {
    margin-top: 28px;
  }

  .infra-nodes-grid {
    grid-auto-columns: minmax(84%, 1fr);
  }

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

  .footer-inner {
    gap: 30px;
  }

  .footer-columns {
    gap: 22px;
  }

  .section-scroll {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(2.95rem, 16vw, 4.15rem);
    line-height: 0.96;
  }

  .container {
    width: min(calc(100% - 46px), var(--container));
  }

  .hero-text {
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .team-card,
  .feature-card,
  .project-body,
  .contact-card,
  .panel-body,
  .infra-card,
  .placement-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .team-card-head {
    align-items: flex-start;
    gap: 14px;
  }

  .touch-slider {
    grid-auto-columns: minmax(88%, 1fr);
  }

  .hero-actions {
    gap: 8px;
  }

  .button {
    min-width: 132px;
    padding: 11px 16px;
    font-size: 0.92rem;
  }

  .hero-panel .tech-stack span {
    min-height: 32px;
    padding: 7px 10px;
    font-size: 0.72rem;
  }

  .hero-panel .metrics article {
    padding: 13px 12px;
  }

  .metrics strong {
    font-size: 1.35rem;
  }

  .team-avatar-placeholder,
  .team-avatar {
    flex-basis: 78px;
    width: 78px;
    height: 78px;
    border-radius: 20px;
  }

  .team-meta h3 {
    font-size: 1.18rem;
  }

  .contact-card {
    gap: 14px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .contact-icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .contact-icon img {
    width: 22px;
    height: 22px;
  }

  .footer-socials {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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