:root {
  color-scheme: dark;
  --bg: #050505;
  --bg-soft: #0b0d10;
  --panel: rgba(11, 14, 18, 0.84);
  --panel-strong: rgba(12, 16, 21, 0.95);
  --gold: #d9b15f;
  --gold-soft: rgba(217, 177, 95, 0.2);
  --gold-line: rgba(217, 177, 95, 0.38);
  --blue: #19b2ff;
  --blue-soft: rgba(25, 178, 255, 0.18);
  --text: #f3f3f1;
  --muted: rgba(243, 243, 241, 0.72);
  --line: rgba(255, 255, 255, 0.09);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 186, 80, 0.06), transparent 22%),
    radial-gradient(circle at 88% 72%, rgba(25, 178, 255, 0.08), transparent 18%),
    linear-gradient(180deg, #040404 0%, #060708 48%, #050505 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background:
    linear-gradient(135deg, transparent 0 8%, rgba(217, 177, 95, 0.15) 8.2%, transparent 8.4% 12%, rgba(217, 177, 95, 0.08) 12.2%, transparent 12.4% 100%),
    linear-gradient(225deg, transparent 0 12%, rgba(25, 178, 255, 0.12) 12.2%, transparent 12.4% 100%);
  opacity: 0.7;
}

body::after {
  background:
    linear-gradient(90deg, transparent 0 4%, rgba(255, 255, 255, 0.02) 4.1% 4.15%, transparent 4.2% 100%),
    linear-gradient(270deg, transparent 0 6%, rgba(255, 255, 255, 0.02) 6.1% 6.15%, transparent 6.2% 100%);
  mix-blend-mode: screen;
}

.page-shell {
  position: relative;
  z-index: 1;
  isolation: isolate;
  width: min(1440px, calc(100% - 32px));
  margin: clamp(12px, 2vw, 28px) auto clamp(24px, 3vw, 36px);
  padding: 0 8px 24px;
}

.edge-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.35;
}

.edge-grid-left {
  background:
    linear-gradient(135deg, transparent 0 47%, rgba(217, 177, 95, 0.18) 47.1%, transparent 47.4%),
    linear-gradient(135deg, transparent 0 57%, rgba(25, 178, 255, 0.12) 57.1%, transparent 57.4%),
    linear-gradient(135deg, transparent 0 67%, rgba(217, 177, 95, 0.08) 67.1%, transparent 67.4%);
  background-size: 100% 100%;
  clip-path: polygon(0 0, 15% 0, 5% 40%, 0 55%);
}

.edge-grid-right {
  background:
    linear-gradient(225deg, transparent 0 47%, rgba(217, 177, 95, 0.18) 47.1%, transparent 47.4%),
    linear-gradient(225deg, transparent 0 57%, rgba(25, 178, 255, 0.12) 57.1%, transparent 57.4%),
    linear-gradient(225deg, transparent 0 67%, rgba(217, 177, 95, 0.08) 67.1%, transparent 67.4%);
  clip-path: polygon(100% 0, 85% 0, 95% 40%, 100% 55%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2vw, 24px);
  padding: 14px clamp(14px, 2vw, 22px);
  border: 1px solid rgba(217, 177, 95, 0.32);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(15, 15, 17, 0.9), rgba(7, 8, 10, 0.72));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset, var(--shadow);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: none;
  display: block;
}

.brand-name {
  font-family: Cinzel, serif;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.98rem;
  position: relative;
  padding: 10px 0;
}

.site-nav a.active {
  color: var(--gold);
}

.site-nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.nav-account-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: clamp(4px, 1vw, 10px);
  padding-left: clamp(10px, 1.2vw, 18px);
  border-left: 1px solid rgba(217, 177, 95, 0.22);
}

.site-nav .nav-account-actions a {
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid rgba(217, 177, 95, 0.22);
  background: rgba(9, 10, 14, 0.42);
}

.site-nav .nav-account-actions a.active::after {
  display: none;
}

.site-nav .nav-account-actions .nav-create-link {
  color: #0b1018;
  border-color: rgba(243, 214, 142, 0.72);
  background: linear-gradient(135deg, #f7d886, #e7ad49);
  box-shadow: 0 0 18px rgba(231, 173, 73, 0.16);
}

.music-toggle {
  flex: none;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(217, 177, 95, 0.32);
  border-radius: 12px;
  background: rgba(9, 10, 14, 0.7);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.music-toggle[aria-pressed='true'] {
  color: #f4c86f;
  border-color: rgba(217, 177, 95, 0.55);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 18px rgba(217, 177, 95, 0.12);
}

.site-audio {
  display: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(217, 177, 95, 0.24);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 14px;
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--gold);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
  padding: clamp(32px, 5vw, 68px) 4px clamp(24px, 3vw, 34px);
}

body:not(.services-page):not(.products-page):not(.portfolio-page):not(.contact-page) .hero {
  padding-top: clamp(18px, 2.6vw, 34px);
}

.home-hero {
  min-height: auto;
  align-items: start;
  padding-top: clamp(18px, 2.6vw, 34px);
}

.home-hero .hero-copy,
.home-hero .dashboard-panel {
  align-self: start;
}

.hero-copy {
  max-width: 670px;
  min-width: 0;
  padding-left: 4px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
}

.hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.045em;
  font-size: clamp(4.2rem, 8vw, 7.8rem);
  max-width: 8.5ch;
  text-wrap: balance;
}

.hero-gold,
.hero-light {
  display: block;
}

.hero-gold {
  color: #f5c66f;
}

.hero-light {
  color: #f5f5f2;
}

.lead {
  margin: 28px 0 0;
  max-width: 33rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  line-height: 1.68;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 18px);
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 30px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  color: #1d1305;
  background: linear-gradient(180deg, #f0c56f 0%, #cf9f44 100%);
  box-shadow: 0 18px 28px rgba(204, 156, 65, 0.22), 0 0 24px rgba(217, 177, 95, 0.18);
}

.btn-secondary {
  color: #f4c86f;
  border: 1px solid rgba(217, 177, 95, 0.55);
  background: rgba(14, 14, 14, 0.44);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.dashboard-panel {
  display: flex;
  justify-content: flex-end;
  position: relative;
  min-width: 0;
}

.panel-shell {
  position: relative;
  display: grid;
  grid-template-columns: clamp(168px, 18vw, 220px) minmax(0, 1fr);
  gap: 0;
  width: 100%;
  max-width: 760px;
  min-height: clamp(480px, 42vw, 620px);
  margin-left: auto;
  padding: clamp(14px, 1.6vw, 18px);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(17, 20, 25, 0.94), rgba(7, 10, 13, 0.92));
  border: 1px solid rgba(217, 177, 95, 0.55);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.52),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 48px rgba(25, 178, 255, 0.08);
  transform: perspective(1400px) rotateY(-13deg) rotateX(4deg) rotateZ(-0.2deg);
  transform-origin: center right;
}

.panel-shell::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(130deg, transparent 8%, rgba(217, 177, 95, 0.18) 14%, transparent 28%, transparent 72%, rgba(25, 178, 255, 0.22) 92%, rgba(25, 178, 255, 0.6) 100%);
  mix-blend-mode: screen;
  opacity: 0.7;
}

.panel-sidebar {
  position: relative;
  z-index: 1;
  padding: 14px 10px 14px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.panel-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-family: Cinzel, serif;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}

.panel-brand img {
  width: 28px;
  height: 28px;
}

.sidebar-links {
  display: grid;
  gap: 8px;
}

.sidebar-links span {
  color: rgba(243, 243, 241, 0.48);
  font-size: 0.88rem;
  padding: 11px 12px;
  border-radius: 10px;
}

.sidebar-links span.is-active {
  color: #f0c56f;
  background: rgba(217, 177, 95, 0.08);
  border: 1px solid rgba(217, 177, 95, 0.18);
}

.panel-content {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 10px 8px 8px 18px;
}

.panel-header,
.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.panel-header h2,
.card-title-row h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.time-range,
.chart-pip,
.activity-dot,
.ring-value {
  font-size: 0.82rem;
  color: rgba(243, 243, 241, 0.66);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.3vw, 14px);
  margin-top: 18px;
}

.metric-card,
.chart-card,
.activity-card,
.automation-card,
.process-card,
.status-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(9, 12, 16, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.metric-card {
  padding: 16px 14px;
}

.metric-card span {
  display: block;
  color: rgba(243, 243, 241, 0.48);
  font-size: 0.78rem;
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.32rem;
  font-weight: 700;
}

.metric-card em {
  display: inline-block;
  margin-top: 8px;
  color: #43d68a;
  font-style: normal;
  font-size: 0.8rem;
}

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: clamp(10px, 1.3vw, 14px);
  margin-top: 14px;
}

.chart-card {
  grid-row: span 2;
  padding: 16px 16px 12px;
}

.activity-card,
.automation-card,
.process-card,
.status-card {
  padding: 16px;
}

.chart-pip {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(25, 178, 255, 0.18);
  background: rgba(25, 178, 255, 0.06);
}

.trend-chart {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 10px;
}

.grid-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1.2;
}

.trend-line {
  fill: none;
  stroke: url(#chartGlow);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(25, 178, 255, 0.45));
}

.chart-points circle {
  fill: #0d2f49;
  stroke: #49d7ff;
  stroke-width: 2;
}

.axis-labels {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
  color: rgba(243, 243, 241, 0.38);
  font-size: 0.72rem;
}

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

.activity-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 10px;
  row-gap: 4px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.activity-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.activity-list span {
  font-size: 0.9rem;
}

.activity-list strong {
  color: #53e09b;
  font-size: 0.78rem;
  font-weight: 600;
  justify-self: start;
}

.activity-list em {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: rgba(243, 243, 241, 0.44);
  font-style: normal;
  font-size: 0.78rem;
}

.activity-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px rgba(25, 178, 255, 0.9);
}

.progress-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
}

.progress-wrap span {
  display: block;
  color: rgba(243, 243, 241, 0.88);
}

.progress-wrap strong {
  display: block;
  margin-top: 8px;
  color: rgba(243, 243, 241, 0.54);
  font-size: 0.84rem;
  font-weight: 500;
}

.ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: conic-gradient(var(--blue) 0 281deg, rgba(255, 255, 255, 0.08) 281deg);
  position: relative;
  flex: none;
}

.ring::after {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(13, 17, 22, 0.96), rgba(8, 11, 14, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.process-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.process-item span,
.process-item b {
  display: block;
}

.process-item span {
  font-size: 0.88rem;
  color: rgba(243, 243, 241, 0.88);
}

.process-item b {
  float: right;
  margin-top: -18px;
  color: rgba(243, 243, 241, 0.5);
  font-size: 0.76rem;
  font-weight: 500;
}

.bar {
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), #63e4d0);
  box-shadow: 0 0 12px rgba(25, 178, 255, 0.45);
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(25, 178, 255, 0.15);
  background: rgba(25, 178, 255, 0.05);
}

.shield {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(25, 178, 255, 0.28), rgba(25, 178, 255, 0.12));
  border: 1px solid rgba(25, 178, 255, 0.28);
  position: relative;
  flex: none;
}

.shield::before {
  content: 'OK';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #59d7ff;
  font-weight: 800;
}

.status-pill strong {
  display: block;
  color: #f7c96f;
  font-size: 0.95rem;
}

.status-pill p {
  margin: 4px 0 0;
  color: rgba(243, 243, 241, 0.56);
  font-size: 0.82rem;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 18px);
  margin-top: 26px;
}

.service-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 22px 22px 20px;
  border-radius: 18px;
  border: 1px solid rgba(217, 177, 95, 0.22);
  background: linear-gradient(180deg, rgba(13, 14, 16, 0.92), rgba(8, 9, 11, 0.84));
  box-shadow: var(--shadow);
}

.service-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(217, 177, 95, 0.38);
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: radial-gradient(circle at 50% 50%, rgba(217, 177, 95, 0.1), rgba(217, 177, 95, 0.02));
  box-shadow: 0 0 20px rgba(217, 177, 95, 0.1);
}

.service-body h3 {
  margin: 0 0 8px;
  color: #f3d089;
  font-size: 1.15rem;
}

.service-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.service-arrow {
  color: #e0ac47;
  font-size: 1.3rem;
  align-self: end;
  padding-bottom: 2px;
}

@media (max-width: 1280px) {
  .hero {
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 1fr);
    gap: 26px;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 6.1vw, 5.8rem);
  }

  .panel-shell {
    max-width: 660px;
    min-height: 520px;
    transform: none;
  }

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

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 100%;
  }

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

  .dashboard-panel {
    width: 100%;
  }

  .panel-shell {
    width: 100%;
    min-height: 0;
    margin-left: 0;
  }

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

  .chart-card {
    grid-row: auto;
  }
}

@media (max-width: 980px) {
  .page-shell {
    width: min(100%, calc(100% - 20px));
    margin-top: 10px;
  }

  .topbar {
    position: sticky;
    top: 10px;
    z-index: 20;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-block;
  }

  .topbar-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-top: 8px;
    border-top: 1px solid rgba(217, 177, 95, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .music-toggle {
    align-self: flex-end;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 0;
  }

  .nav-account-actions {
    width: 100%;
    margin: 10px 0 0;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(217, 177, 95, 0.18);
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .site-nav .nav-account-actions a {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 12px 14px;
    text-align: center;
  }

  .site-nav a.active::after {
    bottom: 4px;
    right: auto;
    width: 74px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 10vw, 4.2rem);
  }

  .panel-content {
    padding-left: 0;
  }

  .panel-shell {
    grid-template-columns: 1fr;
    width: 100%;
    padding: 14px;
  }

  .panel-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 14px;
    margin-bottom: 12px;
  }

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

  .service-card {
    grid-template-columns: 64px minmax(0, 1fr) auto;
  }

  .service-arrow {
    grid-column: 3;
    justify-self: end;
    align-self: center;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100%, calc(100% - 16px));
  }

  .topbar {
    padding: 12px 14px;
  }

  .brand {
    max-width: calc(100% - 58px);
  }

  .brand-name {
    font-size: 1.08rem;
  }

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

  .hero {
    padding: 26px 0 20px;
  }

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

  .lead {
    font-size: 1rem;
  }

  .cta-row {
    gap: 12px;
  }

  .btn {
    width: 100%;
  }

  .panel-shell {
    width: 100%;
    padding: 12px;
  }

  .panel-grid {
    gap: 10px;
  }

  .service-card {
    grid-template-columns: 54px minmax(0, 1fr) auto;
    padding: 18px;
    gap: 14px;
  }

.service-icon {
  width: 54px;
  height: 54px;
  }
}

.page-main {
  display: grid;
  gap: clamp(26px, 4vw, 52px);
}

.section-block {
  position: relative;
}

.content-section {
  padding: 0 4px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(20px, 3vw, 30px);
}

.section-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: #f5f5f2;
}

.section-heading p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  line-height: 1.7;
}

.compact-heading {
  max-width: 920px;
}

.services-title {
  color: #f5f5f2;
}

.services-hero {
  align-items: start;
}

.services-hero .hero-copy {
  width: 100%;
}

.services-showcase {
  position: relative;
}

.showcase-shell {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(129, 114, 255, 0.18);
  background:
    radial-gradient(circle at 18% 28%, rgba(0, 243, 255, 0.18), transparent 26%),
    radial-gradient(circle at 82% 24%, rgba(247, 50, 187, 0.18), transparent 28%),
    radial-gradient(circle at 74% 74%, rgba(73, 255, 163, 0.15), transparent 24%),
    linear-gradient(135deg, rgba(6, 12, 22, 0.96), rgba(9, 7, 21, 0.94) 52%, rgba(5, 15, 24, 0.96));
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 40px rgba(39, 194, 255, 0.08);
}

.showcase-grid,
.showcase-wave,
.showcase-orb {
  position: absolute;
  pointer-events: none;
}

.showcase-grid {
  inset: 0;
  background:
    linear-gradient(rgba(100, 131, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 131, 255, 0.12) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 95%);
  opacity: 0.28;
}

.showcase-wave {
  left: 8%;
  right: 8%;
  bottom: 18%;
  height: 82px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 10% 100%, rgba(49, 238, 255, 0.85), transparent 20%),
    radial-gradient(circle at 35% 0%, rgba(178, 77, 255, 0.8), transparent 24%),
    radial-gradient(circle at 70% 100%, rgba(73, 255, 163, 0.75), transparent 22%),
    radial-gradient(circle at 92% 0%, rgba(255, 69, 191, 0.8), transparent 18%);
  filter: blur(22px);
  opacity: 0.7;
}

.showcase-orb {
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.9;
}

.orb-cyan {
  width: 120px;
  height: 120px;
  top: 18px;
  left: 24px;
  background: radial-gradient(circle, rgba(0, 243, 255, 0.95), rgba(0, 243, 255, 0));
}

.orb-fuchsia {
  width: 150px;
  height: 150px;
  top: 20px;
  right: 40px;
  background: radial-gradient(circle, rgba(255, 67, 182, 0.85), rgba(255, 67, 182, 0));
}

.orb-green {
  width: 130px;
  height: 130px;
  right: 24%;
  bottom: 18px;
  background: radial-gradient(circle, rgba(73, 255, 163, 0.78), rgba(73, 255, 163, 0));
}

.showcase-panel {
  position: absolute;
  z-index: 1;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 12, 22, 0.72);
  backdrop-filter: blur(18px);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.panel-primary {
  left: 6%;
  top: 18%;
  width: min(290px, 42%);
}

.panel-secondary {
  right: 6%;
  top: 22%;
  width: min(240px, 34%);
}

.panel-tertiary {
  left: 26%;
  right: 18%;
  bottom: 14%;
}

.showcase-label {
  display: block;
  color: #8ad9ff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.showcase-panel strong {
  display: block;
  margin-top: 8px;
  color: #f5f5f2;
  font-size: 1rem;
  line-height: 1.35;
}

.showcase-bars {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.showcase-bars i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(0, 243, 255, 1), rgba(167, 86, 255, 1) 56%, rgba(73, 255, 163, 1));
  box-shadow: 0 0 18px rgba(56, 215, 255, 0.38);
}

.service-area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}

.service-area-card,
.spectrum-card,
.process-step,
.final-cta-shell {
  border-radius: 20px;
  border: 1px solid rgba(217, 177, 95, 0.2);
  background:
    linear-gradient(180deg, rgba(13, 14, 16, 0.92), rgba(8, 9, 11, 0.84));
  box-shadow: var(--shadow);
}

.service-area-card,
.spectrum-card {
  padding: 22px 20px;
}

.service-area-card h3,
.spectrum-card h3,
.process-step h3 {
  margin: 0;
  color: #f3d089;
  font-size: 1.12rem;
}

.service-area-card p,
.spectrum-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.68;
}

.spectrum-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 18px);
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.5vw, 14px);
}

.process-step {
  padding: 18px 16px;
}

.process-step span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.final-cta-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(24px, 3vw, 34px);
}

.final-cta-shell h2 {
  margin: 0;
  max-width: 16ch;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.site-footer {
  margin-top: 24px;
  padding: 18px 8px 8px;
  border-top: 1px solid rgba(217, 177, 95, 0.12);
  color: rgba(243, 243, 241, 0.5);
  text-align: center;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

@media (max-width: 1280px) {
  .service-area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .spectrum-grid,
  .process-strip {
    grid-template-columns: 1fr;
  }

  .final-cta-shell {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 980px) {
  .service-area-grid {
    grid-template-columns: 1fr;
  }

  .panel-primary,
  .panel-secondary,
  .panel-tertiary {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .showcase-shell {
    display: grid;
    gap: 12px;
    padding: 18px;
  }

  .showcase-grid,
  .showcase-wave,
  .showcase-orb {
    display: none;
  }
}

@media (max-width: 560px) {
  .section-heading h2,
  .final-cta-shell h2 {
    max-width: 100%;
  }

  .service-area-card,
  .spectrum-card,
  .process-step {
    padding: 18px 16px;
  }
}

body.services-page .services-hero {
  display: block;
  padding-top: clamp(4rem, 7vw, 7rem);
}

body.services-page .process-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

body.services-page .process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 88px;
  padding: 12px 24px 12px 16px;
  overflow: visible;
  border-radius: 18px 0 0 18px;
  border: 1px solid rgba(217, 177, 95, 0.22);
  background:
    linear-gradient(180deg, rgba(13, 14, 16, 0.96), rgba(8, 9, 11, 0.9));
  box-shadow:
    var(--shadow),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

body.services-page .process-step::before,
body.services-page .process-step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -18px;
  width: 20px;
  height: calc(100% - 18px);
  transform: translateY(-50%);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  pointer-events: none;
}

body.services-page .process-step::before {
  z-index: 0;
  width: 22px;
  right: -20px;
  background: rgba(217, 177, 95, 0.22);
}

body.services-page .process-step::after {
  z-index: 1;
  background: linear-gradient(180deg, rgba(13, 14, 16, 0.96), rgba(8, 9, 11, 0.9));
  box-shadow: 8px 0 18px rgba(25, 178, 255, 0.08);
}

body.services-page .process-step:last-child {
  padding-right: 16px;
  border-radius: 18px;
}

body.services-page .process-step:last-child::before,
body.services-page .process-step:last-child::after {
  display: none;
}

body.services-page .process-step span,
body.services-page .process-step h3 {
  position: relative;
  z-index: 2;
}

body.services-page .process-step span {
  display: inline-block;
  margin-bottom: 6px;
  color: #f0c56f;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

body.services-page .process-step h3 {
  color: transparent;
  font-size: clamp(1.45rem, 1.65vw, 1.8rem);
  line-height: 1.02;
  background:
    linear-gradient(
      135deg,
      #3fdcff 0%,
      #8ae6ff 18%,
      #f2c861 38%,
      #fff08d 52%,
      #7cffb2 72%,
      #36d9ff 100%
    );
  background-size: 260% 260%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: services-process-gradient-shift 7s linear infinite;
}

@keyframes services-process-gradient-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

body.services-page .services-hero .hero-copy {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

body.services-page .services-title {
  max-width: 1080px;
  width: 100%;
  margin: 0 0 clamp(2rem, 4vw, 3.5rem);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: normal;
}

body.services-page .services-showcase {
  width: min(1120px, 100%);
  margin: 0 0 clamp(2rem, 4vw, 3rem);
}

body.services-page .showcase-shell {
  width: 100%;
  min-height: clamp(260px, 34vw, 430px);
  border-color: rgba(116, 88, 255, 0.3);
  background:
    radial-gradient(circle at 18% 80%, rgba(0, 247, 255, 0.08), transparent 18%),
    radial-gradient(circle at 82% 24%, rgba(255, 64, 205, 0.08), transparent 20%),
    radial-gradient(circle at 64% 70%, rgba(32, 255, 161, 0.07), transparent 18%),
    linear-gradient(180deg, rgba(5, 12, 26, 0.98), rgba(14, 8, 34, 0.98) 54%, rgba(10, 5, 22, 0.98));
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 54px rgba(110, 86, 255, 0.12);
}

body.services-page .showcase-grid,
body.services-page .showcase-wave,
body.services-page .showcase-orb {
  display: none;
}

body.services-page .showcase-fireworks {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

body.services-page .showcase-stars {
  position: absolute;
  inset: 0 0 48% 0;
  z-index: 0;
  pointer-events: none;
}

body.services-page .showcase-stars .star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 999px;
  background: rgba(214, 238, 255, 0.92);
  box-shadow:
    0 0 6px rgba(122, 214, 255, 0.42),
    0 0 12px rgba(178, 98, 255, 0.12);
  opacity: 0.2;
  animation: service-star-twinkle-a 0.97s steps(1, end) infinite;
}

body.services-page .showcase-stars .star::before,
body.services-page .showcase-stars .star::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  opacity: 0.55;
}

body.services-page .showcase-stars .star::before {
  width: 1px;
  height: 7px;
}

body.services-page .showcase-stars .star::after {
  width: 7px;
  height: 1px;
}

body.services-page .star-a { left: 8%; top: 16%; animation-name: service-star-a; animation-delay: -0.19s; animation-duration: 0.73s; }
body.services-page .star-b { left: 15%; top: 34%; animation-name: service-star-b; animation-delay: -0.58s; animation-duration: 1.41s; }
body.services-page .star-c { left: 23%; top: 10%; animation-name: service-star-c; animation-delay: -0.33s; animation-duration: 0.89s; }
body.services-page .star-d { left: 31%; top: 26%; animation-name: service-star-d; animation-delay: -0.91s; animation-duration: 1.17s; }
body.services-page .star-e { left: 40%; top: 8%; animation-name: service-star-e; animation-delay: -0.27s; animation-duration: 1.53s; }
body.services-page .star-f { left: 49%; top: 30%; animation-name: service-star-f; animation-delay: -1.04s; animation-duration: 0.81s; }
body.services-page .star-g { left: 58%; top: 14%; animation-name: service-star-g; animation-delay: -0.44s; animation-duration: 1.27s; }
body.services-page .star-h { left: 67%; top: 28%; animation-name: service-star-h; animation-delay: -0.72s; animation-duration: 0.69s; }
body.services-page .star-i { left: 75%; top: 9%; animation-name: service-star-i; animation-delay: -0.61s; animation-duration: 1.63s; }
body.services-page .star-j { left: 82%; top: 22%; animation-name: service-star-j; animation-delay: -0.48s; animation-duration: 0.77s; }
body.services-page .star-k { left: 88%; top: 12%; animation-name: service-star-k; animation-delay: -1.12s; animation-duration: 1.36s; }
body.services-page .star-l { left: 93%; top: 32%; animation-name: service-star-l; animation-delay: -0.52s; animation-duration: 1.09s; }

body.services-page .firework {
  position: absolute;
  bottom: -2%;
  width: 0;
  height: 0;
  opacity: 0.95;
  --trail-peak: -126px;
  --trail-end: -144px;
  --burst-start: -132px;
  --burst-mid: -138px;
  --burst-end: -140px;
  --streak-start: -134px;
  --streak-mid: -140px;
  --streak-end: -144px;
}

body.services-page .firework-trail,
body.services-page .firework-burst,
body.services-page .firework-burst::before,
body.services-page .firework-burst::after {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  content: '';
}

body.services-page .firework-trail {
  bottom: 0;
  width: 2px;
  height: 72px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), currentColor 34%, rgba(255, 255, 255, 0));
  filter: drop-shadow(0 0 10px currentColor);
  animation: service-firework-rise 5.8s linear infinite;
}

body.services-page .firework-burst {
  bottom: 72px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 230, 120, 0.98) 0 34%, rgba(170, 255, 110, 0.92) 35% 62%, rgba(61, 235, 255, 0.86) 63% 100%);
  box-shadow:
    0 0 10px rgba(255, 231, 132, 0.78),
    0 0 18px rgba(79, 237, 255, 0.42);
  opacity: 0;
  animation: service-firework-burst 5.8s ease-out infinite;
}

body.services-page .firework-burst::before,
body.services-page .firework-burst::after {
  inset: 50% auto auto 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 999px;
  opacity: 0;
  transform-origin: center;
}

body.services-page .firework-burst::before {
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(255, 235, 134, 0.96) 0deg 3deg,
      rgba(164, 255, 112, 0.92) 3deg 6deg,
      rgba(71, 230, 255, 0.88) 6deg 9deg,
      rgba(122, 102, 255, 0.84) 9deg 12deg,
      transparent 12deg 18deg
    );
  -webkit-mask: radial-gradient(circle, transparent 0 9px, rgba(0, 0, 0, 0.98) 10px 21px, transparent 22px 100%);
  mask: radial-gradient(circle, transparent 0 9px, rgba(0, 0, 0, 0.98) 10px 21px, transparent 22px 100%);
  filter: drop-shadow(0 0 8px rgba(97, 235, 255, 0.26));
  animation: service-firework-streaks-a 5.8s ease-out infinite;
}

body.services-page .firework-burst::after {
  background:
    repeating-conic-gradient(
      from 8deg,
      rgba(255, 214, 98, 0.9) 0deg 2deg,
      rgba(126, 255, 109, 0.88) 2deg 4deg,
      rgba(69, 212, 255, 0.84) 4deg 6deg,
      rgba(188, 103, 255, 0.8) 6deg 8deg,
      transparent 8deg 16deg
    );
  -webkit-mask: radial-gradient(circle, transparent 0 14px, rgba(0, 0, 0, 0.98) 15px 28px, transparent 29px 100%);
  mask: radial-gradient(circle, transparent 0 14px, rgba(0, 0, 0, 0.98) 15px 28px, transparent 29px 100%);
  filter: drop-shadow(0 0 10px rgba(124, 97, 255, 0.22));
  animation: service-firework-streaks-b 5.8s ease-out infinite 0.05s;
}

body.services-page .fw-a {
  left: 12%;
  color: #44ecff;
  --trail-peak: -98px;
  --trail-end: -112px;
  --burst-start: -104px;
  --burst-mid: -110px;
  --burst-end: -112px;
  --streak-start: -106px;
  --streak-mid: -112px;
  --streak-end: -116px;
}

body.services-page .fw-b {
  left: 44%;
  color: #8f6cff;
  --trail-peak: -102px;
  --trail-end: -118px;
  --burst-start: -108px;
  --burst-mid: -114px;
  --burst-end: -118px;
  --streak-start: -110px;
  --streak-mid: -116px;
  --streak-end: -120px;
}

body.services-page .fw-c {
  left: 74%;
  color: #41ffb6;
  --trail-peak: -104px;
  --trail-end: -120px;
  --burst-start: -110px;
  --burst-mid: -116px;
  --burst-end: -120px;
  --streak-start: -112px;
  --streak-mid: -118px;
  --streak-end: -122px;
}

body.services-page .fw-d {
  left: 22%;
  color: #ff62d7;
  --trail-peak: -148px;
  --trail-end: -166px;
  --burst-start: -154px;
  --burst-mid: -160px;
  --burst-end: -164px;
  --streak-start: -156px;
  --streak-mid: -162px;
  --streak-end: -166px;
}

body.services-page .fw-e {
  left: 60%;
  color: #53c8ff;
  --trail-peak: -86px;
  --trail-end: -102px;
  --burst-start: -92px;
  --burst-mid: -98px;
  --burst-end: -102px;
  --streak-start: -94px;
  --streak-mid: -100px;
  --streak-end: -104px;
}

body.services-page .fw-f {
  left: 84%;
  color: #63ffb2;
  --trail-peak: -144px;
  --trail-end: -160px;
  --burst-start: -150px;
  --burst-mid: -156px;
  --burst-end: -160px;
  --streak-start: -152px;
  --streak-mid: -158px;
  --streak-end: -162px;
}

body.services-page .fw-g {
  left: 32%;
  color: #4bc4ff;
  --trail-peak: -82px;
  --trail-end: -98px;
  --burst-start: -88px;
  --burst-mid: -94px;
  --burst-end: -98px;
  --streak-start: -90px;
  --streak-mid: -96px;
  --streak-end: -100px;
}

body.services-page .fw-h {
  left: 54%;
  color: #b76aff;
  --trail-peak: -150px;
  --trail-end: -168px;
  --burst-start: -156px;
  --burst-mid: -162px;
  --burst-end: -166px;
  --streak-start: -158px;
  --streak-mid: -164px;
  --streak-end: -168px;
}

body.services-page .fw-i {
  left: 68%;
  color: #40ffbf;
  --trail-peak: -142px;
  --trail-end: -158px;
  --burst-start: -148px;
  --burst-mid: -154px;
  --burst-end: -158px;
  --streak-start: -150px;
  --streak-mid: -156px;
  --streak-end: -160px;
}

body.services-page .fw-a .firework-trail,
body.services-page .fw-a .firework-burst,
body.services-page .fw-a .firework-burst::before,
body.services-page .fw-a .firework-burst::after {
  animation-delay: 0s;
}

body.services-page .fw-b .firework-trail,
body.services-page .fw-b .firework-burst,
body.services-page .fw-b .firework-burst::before,
body.services-page .fw-b .firework-burst::after {
  animation-delay: 1.1s;
}

body.services-page .fw-c .firework-trail,
body.services-page .fw-c .firework-burst,
body.services-page .fw-c .firework-burst::before,
body.services-page .fw-c .firework-burst::after {
  animation-delay: 2.2s;
}

body.services-page .fw-d .firework-trail,
body.services-page .fw-d .firework-burst,
body.services-page .fw-d .firework-burst::before,
body.services-page .fw-d .firework-burst::after {
  animation-delay: 0.7s;
}

body.services-page .fw-e .firework-trail,
body.services-page .fw-e .firework-burst,
body.services-page .fw-e .firework-burst::before,
body.services-page .fw-e .firework-burst::after {
  animation-delay: 1.8s;
}

body.services-page .fw-f .firework-trail,
body.services-page .fw-f .firework-burst,
body.services-page .fw-f .firework-burst::before,
body.services-page .fw-f .firework-burst::after {
  animation-delay: 2.9s;
}

body.services-page .fw-g .firework-trail,
body.services-page .fw-g .firework-burst,
body.services-page .fw-g .firework-burst::before,
body.services-page .fw-g .firework-burst::after {
  animation-delay: 3.5s;
}

body.services-page .fw-h .firework-trail,
body.services-page .fw-h .firework-burst,
body.services-page .fw-h .firework-burst::before,
body.services-page .fw-h .firework-burst::after {
  animation-delay: 4.1s;
}

body.services-page .fw-i .firework-trail,
body.services-page .fw-i .firework-burst,
body.services-page .fw-i .firework-burst::before,
body.services-page .fw-i .firework-burst::after {
  animation-delay: 4.7s;
}

@keyframes service-firework-rise {
  0%,
  12% {
    transform: translateX(-50%) translateY(48px) scaleY(0.4);
    opacity: 0;
  }

  18% {
    opacity: 0.85;
  }

  46% {
    transform: translateX(-50%) translateY(var(--trail-peak)) scaleY(1);
    opacity: 0.95;
  }

  56%,
  100% {
    transform: translateX(-50%) translateY(var(--trail-end)) scaleY(0.75);
    opacity: 0;
  }
}

@keyframes service-firework-burst {
  0%,
  42% {
    transform: translateX(-50%) translateY(0) scale(0.2);
    opacity: 0;
  }

  48% {
    transform: translateX(-50%) translateY(var(--burst-start)) scale(0.52);
    opacity: 0.95;
  }

  58% {
    transform: translateX(-50%) translateY(var(--burst-mid)) scale(0.94);
    opacity: 0.52;
  }

  70%,
  100% {
    transform: translateX(-50%) translateY(var(--burst-end)) scale(0.68);
    opacity: 0;
  }
}

@keyframes service-firework-streaks-a {
  0%,
  46% {
    transform: translateX(-50%) translateY(0) scale(0.12) rotate(0deg);
    opacity: 0;
  }

  52% {
    transform: translateX(-50%) translateY(var(--streak-start)) scale(0.3) rotate(10deg);
    opacity: 0.98;
  }

  68% {
    transform: translateX(-50%) translateY(var(--streak-mid)) scale(0.9) rotate(18deg);
    opacity: 0.44;
  }

  100% {
    transform: translateX(-50%) translateY(var(--streak-end)) scale(1.02) rotate(24deg);
    opacity: 0;
  }
}

@keyframes service-firework-streaks-b {
  0%,
  47% {
    transform: translateX(-50%) translateY(0) scale(0.14) rotate(0deg);
    opacity: 0;
  }

  53% {
    transform: translateX(-50%) translateY(var(--streak-start)) scale(0.28) rotate(-8deg);
    opacity: 0.9;
  }

  70% {
    transform: translateX(-50%) translateY(var(--streak-mid)) scale(0.94) rotate(-16deg);
    opacity: 0.34;
  }

  100% {
    transform: translateX(-50%) translateY(var(--streak-end)) scale(1.06) rotate(-22deg);
    opacity: 0;
  }
}

@keyframes service-star-a {
  0%,
  100% {
    opacity: 0.14;
    transform: scale(0.72);
  }
  13%, 39%, 77% {
    opacity: 0.78;
    transform: scale(1.24);
  }
}

@keyframes service-star-b {
  0%, 100% { opacity: 0.16; transform: scale(0.76); }
  22%, 58% { opacity: 0.82; transform: scale(1.3); }
}

@keyframes service-star-c {
  0%, 100% { opacity: 0.14; transform: scale(0.72); }
  11%, 47%, 69% { opacity: 0.7; transform: scale(1.18); }
}

@keyframes service-star-d {
  0%, 100% { opacity: 0.18; transform: scale(0.8); }
  16%, 52%, 88% { opacity: 0.8; transform: scale(1.26); }
}

@keyframes service-star-e {
  0%, 100% { opacity: 0.16; transform: scale(0.74); }
  29%, 64% { opacity: 0.86; transform: scale(1.32); }
}

@keyframes service-star-f {
  0%, 100% { opacity: 0.14; transform: scale(0.72); }
  12%, 66% { opacity: 0.76; transform: scale(1.2); }
}

@keyframes service-star-g {
  0%, 100% { opacity: 0.2; transform: scale(0.84); }
  37%, 79% { opacity: 0.72; transform: scale(1.16); }
}

@keyframes service-star-h {
  0%, 100% { opacity: 0.16; transform: scale(0.74); }
  19%, 54%, 92% { opacity: 0.84; transform: scale(1.28); }
}

@keyframes service-star-i {
  0%, 100% { opacity: 0.15; transform: scale(0.73); }
  8%, 61% { opacity: 0.74; transform: scale(1.22); }
}

@keyframes service-star-j {
  0%, 100% { opacity: 0.18; transform: scale(0.8); }
  26%, 71% { opacity: 0.8; transform: scale(1.24); }
}

@keyframes service-star-k {
  0%, 100% { opacity: 0.14; transform: scale(0.72); }
  33%, 57%, 83% { opacity: 0.7; transform: scale(1.18); }
}

@keyframes service-star-l {
  0%, 100% { opacity: 0.17; transform: scale(0.78); }
  18%, 44%, 76% { opacity: 0.82; transform: scale(1.28); }
}

@keyframes service-star-twinkle-a {
  0%, 100% { opacity: 0.18; transform: scale(0.78); }
  40% { opacity: 0.76; transform: scale(1.18); }
}

body.services-page .services-hero .lead {
  max-width: 760px;
  margin-top: 0;
}

body.services-page .services-hero .cta-row {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

@media (max-width: 900px) {
  body.services-page .services-title {
    font-size: clamp(2.8rem, 11vw, 5rem);
    line-height: 0.9;
    letter-spacing: -0.045em;
  }

  body.services-page .services-showcase {
    width: 100%;
  }

  body.services-page .fw-f,
  body.services-page .fw-e,
  body.services-page .fw-i {
    display: none;
  }

  body.services-page .star-k,
  body.services-page .star-l,
  body.services-page .star-j {
    display: none;
  }

  body.services-page .process-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
  }

  body.services-page .process-step {
    min-height: 88px;
    padding: 12px 22px 12px 16px;
  }
}

@media (max-width: 560px) {
  body.services-page .services-title {
    font-size: clamp(2.35rem, 13vw, 3.6rem);
    line-height: 0.92;
    letter-spacing: -0.035em;
  }

  body.services-page .showcase-stars {
    inset: 0 0 56% 0;
  }

  body.services-page .star-h,
  body.services-page .star-i,
  body.services-page .star-g,
  body.services-page .star-f {
    display: none;
  }

  body.services-page .process-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.services-page .process-step {
    min-height: 0;
    padding: 14px 16px;
    border-radius: 18px;
  }

  body.services-page .process-step::before,
  body.services-page .process-step::after {
    display: none;
  }
}

body.services-page .showcase-panel {
  z-index: 3;
  min-width: 0;
  padding: 18px 20px;
  background: rgba(8, 12, 22, 0.8);
  border-color: rgba(148, 185, 255, 0.12);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 16px rgba(76, 176, 255, 0.08);
}

body.services-page .panel-primary {
  left: 8%;
  top: 24%;
  width: clamp(260px, 31%, 380px);
}

body.services-page .panel-secondary {
  left: 50%;
  top: 11%;
  transform: translateX(-50%);
  width: clamp(240px, 25%, 320px);
}

body.services-page .panel-quaternary {
  z-index: 2;
  right: 8%;
  top: 34%;
  width: clamp(240px, 25%, 320px);
}

body.services-page .panel-tertiary {
  left: 35%;
  width: clamp(260px, 32%, 400px);
  transform: none;
  bottom: 16%;
}

body.services-page .showcase-panel strong {
  font-size: clamp(1rem, 1.35vw, 1.32rem);
}

body.services-page .showcase-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

body.services-page .showcase-bars {
  margin-top: 18px;
}

body.services-page .showcase-bars i {
  height: 10px;
  background:
    linear-gradient(90deg, rgba(0, 234, 255, 1), rgba(188, 104, 255, 1) 58%, rgba(92, 255, 161, 1));
  box-shadow: 0 0 24px rgba(72, 220, 255, 0.45);
}

@media (max-width: 1120px) {
  body.services-page .process-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  body.services-page .showcase-shell {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 20px;
    align-content: start;
  }

  body.services-page .panel-primary,
  body.services-page .panel-secondary,
  body.services-page .panel-tertiary,
  body.services-page .panel-quaternary {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    max-width: none;
  }

  body.services-page .panel-tertiary {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  body.services-page .showcase-shell {
    grid-template-columns: 1fr;
  }

  body.services-page .panel-tertiary {
    grid-column: auto;
  }

  body.services-page .fw-d,
  body.services-page .fw-c,
  body.services-page .fw-h,
  body.services-page .fw-g {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.services-page .showcase-stars .star {
    animation: none;
    opacity: 0.28;
    transform: none;
  }

  body.services-page .firework-trail,
  body.services-page .firework-burst,
  body.services-page .firework-burst::before,
  body.services-page .firework-burst::after {
    animation: none;
  }

  body.services-page .showcase-fireworks {
    opacity: 0.48;
  }

  body.services-page .firework-trail {
    transform: translateX(-50%) translateY(-104px);
    opacity: 0.36;
  }

  body.services-page .firework-burst {
    transform: translateX(-50%) translateY(-132px);
    opacity: 0.22;
  }
}

body.products-page .products-hero {
  display: block;
  padding-top: clamp(3.5rem, 6vw, 6rem);
}

body.products-page .products-hero .hero-copy {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

body.products-page .products-title {
  width: 100%;
  max-width: 900px;
  margin: 0 0 clamp(1rem, 2vw, 1.5rem);
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: #f5f5f2;
  text-wrap: balance;
}

body.products-page .products-subtext {
  margin: 12px 0 0;
  max-width: 760px;
  color: rgba(243, 243, 241, 0.6);
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 1.65;
}

body.products-page .products-primary-btn,
body.products-page .products-secondary-btn,
body.products-page .filter-chip,
body.products-page .product-card,
body.products-page .product-preview,
body.products-page .product-action,
body.products-page .products-gallery-section {
  position: relative;
}

body.products-page .products-gallery-section {
  padding: clamp(20px, 3vw, 30px);
  border-radius: 28px;
  border: 1px solid rgba(93, 216, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(8, 9, 16, 0.92), rgba(8, 8, 14, 0.82));
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.36),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 22px rgba(107, 85, 255, 0.08);
}

body.products-page .products-filter-section {
  padding-top: 0;
}

body.products-page .filter-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

body.products-page .filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(94, 228, 255, 0.34);
  background: rgba(10, 14, 24, 0.72);
  color: rgba(243, 243, 241, 0.84);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 18px rgba(50, 168, 255, 0.08);
}

body.products-page .filter-chip.is-active {
  color: #07131d;
  border-color: rgba(108, 255, 215, 0.66);
  background:
    linear-gradient(90deg, rgba(81, 242, 255, 0.96), rgba(147, 97, 255, 0.92) 58%, rgba(110, 255, 170, 0.92));
  box-shadow: 0 0 26px rgba(99, 220, 255, 0.18);
}

body.products-page .product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
}

body.products-page .product-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(104, 235, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(11, 15, 25, 0.94), rgba(10, 10, 18, 0.9));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 20px rgba(61, 167, 255, 0.08),
    0 20px 44px rgba(0, 0, 0, 0.28);
}

body.products-page .product-preview {
  display: grid;
  place-items: center;
  min-height: clamp(160px, 18vw, 210px);
  border-radius: 18px;
  border: 1px solid rgba(194, 98, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(8, 20, 30, 0.96), rgba(13, 11, 32, 0.94) 56%, rgba(10, 24, 24, 0.94));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 24px rgba(148, 86, 255, 0.1);
}

body.products-page .product-preview span {
  color: rgba(156, 228, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body.products-page .product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.products-page .product-type {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(96, 224, 255, 0.28);
  background: rgba(8, 20, 30, 0.55);
  color: #8de8ff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.products-page .product-price {
  color: #83ffb2;
  font-size: 0.94rem;
  font-weight: 700;
}

body.products-page .product-card h3 {
  margin: 0;
  color: #f6f4ff;
  font-size: 1.25rem;
}

body.products-page .product-card p {
  margin: 0;
  color: rgba(243, 243, 241, 0.64);
  line-height: 1.65;
}

body.products-page .product-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(95, 223, 255, 0.3);
  background: rgba(11, 18, 28, 0.72);
  color: #f3f7ff;
  font-weight: 700;
  text-decoration: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 18px rgba(76, 141, 255, 0.08);
}

body.products-page .products-note {
  margin: clamp(20px, 3vw, 28px) 0 0;
  color: rgba(243, 243, 241, 0.54);
  font-size: 0.98rem;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 1120px) {
  body.products-page .product-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.products-page .products-title {
    max-width: 100%;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
  }
}

@media (max-width: 760px) {
  body.products-page .product-gallery-grid {
    grid-template-columns: 1fr;
  }

  body.products-page .products-gallery-section {
    padding: 18px;
  }

  body.products-page .filter-strip {
    gap: 10px;
  }
}

@media (max-width: 560px) {
  body.products-page .products-title {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 0.96;
  }

  body.products-page .product-meta {
    flex-wrap: wrap;
    align-items: flex-start;
  }
}

body.portfolio-page .portfolio-hero {
  display: block;
  padding-top: clamp(3.5rem, 6vw, 6rem);
}

body.portfolio-page .portfolio-hero .hero-copy {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

body.portfolio-page .portfolio-title {
  width: 100%;
  max-width: 900px;
  margin: 0 0 clamp(1rem, 2vw, 1.5rem);
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: #f5f5f2;
  text-wrap: balance;
}

body.portfolio-page .portfolio-subtext {
  margin: 12px 0 0;
  max-width: 780px;
  color: rgba(243, 243, 241, 0.6);
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 1.65;
}

body.portfolio-page .portfolio-showcase {
  width: min(1120px, 100%);
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

body.portfolio-page .portfolio-showcase-shell {
  position: relative;
  width: 100%;
  min-height: clamp(280px, 34vw, 420px);
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(104, 235, 255, 0.22);
  background:
    radial-gradient(circle at 20% 76%, rgba(0, 210, 255, 0.14), transparent 18%),
    radial-gradient(circle at 78% 20%, rgba(215, 76, 255, 0.16), transparent 22%),
    radial-gradient(circle at 62% 70%, rgba(122, 255, 115, 0.1), transparent 18%),
    linear-gradient(135deg, rgba(5, 12, 24, 0.98), rgba(11, 9, 29, 0.96) 56%, rgba(8, 17, 24, 0.96));
  box-shadow:
    0 28px 78px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 26px rgba(92, 81, 255, 0.1);
}

body.portfolio-page .portfolio-grid,
body.portfolio-page .portfolio-beam,
body.portfolio-page .portfolio-frame,
body.portfolio-page .portfolio-connector,
body.portfolio-page .portfolio-node,
body.portfolio-page .portfolio-perspective {
  position: absolute;
}

body.portfolio-page .portfolio-grid {
  inset: 0;
  background:
    linear-gradient(rgba(83, 122, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 122, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px, 44px 44px;
  opacity: 0.52;
}

body.portfolio-page .portfolio-perspective {
  inset: auto -8% -24% -8%;
  height: 62%;
  background:
    linear-gradient(rgba(103, 92, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 92, 255, 0.14) 1px, transparent 1px);
  background-size: 64px 38px, 64px 38px;
  transform: perspective(880px) rotateX(78deg);
  transform-origin: center top;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.1));
  opacity: 0.84;
}

body.portfolio-page .portfolio-beam {
  border-radius: 999px;
  filter: blur(0.5px);
  opacity: 0.9;
}

body.portfolio-page .beam-cyan {
  left: -8%;
  top: 22%;
  width: 58%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(64, 238, 255, 0.94), rgba(64, 238, 255, 0));
  transform: rotate(-18deg);
  box-shadow: 0 0 18px rgba(64, 238, 255, 0.48);
}

body.portfolio-page .beam-violet {
  right: -4%;
  top: 14%;
  width: 52%;
  height: 3px;
  background: linear-gradient(90deg, rgba(214, 92, 255, 0), rgba(214, 92, 255, 0.96), transparent);
  transform: rotate(22deg);
  box-shadow: 0 0 18px rgba(214, 92, 255, 0.42);
}

body.portfolio-page .beam-magenta {
  left: 10%;
  bottom: 18%;
  width: 72%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(95, 255, 173, 0.94), rgba(255, 65, 198, 0.88), transparent);
  transform: rotate(12deg);
  box-shadow: 0 0 22px rgba(95, 255, 173, 0.22);
}

body.portfolio-page .portfolio-frame {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px 16px 14px;
  border-radius: 18px;
  border: 1px solid rgba(107, 231, 255, 0.26);
  background:
    linear-gradient(180deg, rgba(11, 16, 28, 0.84), rgba(10, 10, 20, 0.76));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 22px rgba(68, 152, 255, 0.1);
  backdrop-filter: blur(10px);
}

body.portfolio-page .portfolio-frame strong {
  color: #f4f7ff;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

body.portfolio-page .portfolio-frame span {
  color: rgba(158, 227, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body.portfolio-page .portfolio-frame i {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(83, 242, 255, 0.94), rgba(194, 96, 255, 0.9));
  box-shadow: 0 0 12px rgba(83, 242, 255, 0.18);
}

body.portfolio-page .portfolio-frame i:nth-of-type(1) {
  width: 82%;
}

body.portfolio-page .portfolio-frame i:nth-of-type(2) {
  width: 66%;
}

body.portfolio-page .portfolio-frame i:nth-of-type(3) {
  width: 92%;
}

body.portfolio-page .frame-featured {
  left: 27%;
  top: 24%;
  width: min(350px, 34%);
  min-height: 174px;
  border-color: rgba(95, 229, 255, 0.38);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 28px rgba(72, 196, 255, 0.12),
    0 28px 48px rgba(0, 0, 0, 0.26);
}

body.portfolio-page .frame-webapp {
  left: 8%;
  top: 16%;
  width: min(220px, 22%);
  min-height: 108px;
}

body.portfolio-page .frame-dashboard {
  right: 8%;
  top: 16%;
  width: min(220px, 22%);
  min-height: 110px;
  border-color: rgba(194, 96, 255, 0.3);
}

body.portfolio-page .frame-portal {
  right: 12%;
  bottom: 16%;
  width: min(250px, 24%);
  min-height: 122px;
  border-color: rgba(113, 255, 201, 0.28);
}

body.portfolio-page .frame-automation {
  left: 12%;
  bottom: 14%;
  width: min(236px, 23%);
  min-height: 118px;
}

body.portfolio-page .frame-case {
  left: 46%;
  bottom: 10%;
  width: min(220px, 21%);
  min-height: 108px;
  border-color: rgba(244, 102, 255, 0.3);
}

body.portfolio-page .portfolio-connector {
  height: 1px;
  border-radius: 999px;
  opacity: 0.88;
}

body.portfolio-page .connector-a {
  left: 24%;
  top: 30%;
  width: 18%;
  background: linear-gradient(90deg, rgba(86, 233, 255, 0), rgba(86, 233, 255, 0.92), rgba(189, 95, 255, 0.4));
  transform: rotate(10deg);
}

body.portfolio-page .connector-b {
  right: 24%;
  top: 32%;
  width: 18%;
  background: linear-gradient(90deg, rgba(189, 95, 255, 0.4), rgba(189, 95, 255, 0.92), rgba(86, 233, 255, 0));
  transform: rotate(-12deg);
}

body.portfolio-page .connector-c {
  left: 40%;
  bottom: 24%;
  width: 16%;
  background: linear-gradient(90deg, rgba(86, 233, 255, 0), rgba(113, 255, 201, 0.92), rgba(189, 95, 255, 0));
  transform: rotate(84deg);
}

body.portfolio-page .portfolio-node {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #6fefff;
  box-shadow:
    0 0 0 3px rgba(111, 239, 255, 0.12),
    0 0 14px rgba(111, 239, 255, 0.36);
}

body.portfolio-page .node-a {
  left: 24%;
  top: 28%;
}

body.portfolio-page .node-b {
  right: 24%;
  top: 30%;
  background: #d56bff;
  box-shadow:
    0 0 0 3px rgba(213, 107, 255, 0.12),
    0 0 14px rgba(213, 107, 255, 0.34);
}

body.portfolio-page .node-c {
  left: 44%;
  bottom: 22%;
  background: #8bff9b;
  box-shadow:
    0 0 0 3px rgba(139, 255, 155, 0.12),
    0 0 14px rgba(139, 255, 155, 0.34);
}

body.portfolio-page .node-d {
  right: 14%;
  bottom: 32%;
}

body.portfolio-page .portfolio-showcase-shell::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 24%, rgba(74, 220, 255, 0.12), transparent 18%),
    radial-gradient(circle at 84% 18%, rgba(214, 92, 255, 0.14), transparent 20%),
    radial-gradient(circle at 76% 76%, rgba(98, 255, 170, 0.08), transparent 16%);
  pointer-events: none;
}

body.portfolio-page .portfolio-filter-section,
body.portfolio-page .portfolio-gallery-section,
body.portfolio-page .portfolio-feature-section,
body.portfolio-page .portfolio-final-cta,
body.portfolio-page .portfolio-chip,
body.portfolio-page .portfolio-card,
body.portfolio-page .portfolio-preview,
body.portfolio-page .portfolio-action,
body.portfolio-page .featured-case-shell,
body.portfolio-page .portfolio-final-shell {
  position: relative;
}

body.portfolio-page .portfolio-filter-section {
  padding-top: 0;
}

body.portfolio-page .portfolio-filter-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

body.portfolio-page .portfolio-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(188, 96, 255, 0.3);
  background: rgba(10, 14, 24, 0.7);
  color: rgba(243, 243, 241, 0.84);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 18px rgba(156, 81, 255, 0.08);
}

body.portfolio-page .portfolio-chip.is-active {
  color: #07131d;
  border-color: rgba(117, 255, 216, 0.64);
  background:
    linear-gradient(90deg, rgba(111, 255, 225, 0.96), rgba(106, 188, 255, 0.92) 50%, rgba(208, 100, 255, 0.92));
  box-shadow: 0 0 24px rgba(116, 233, 255, 0.16);
}

body.portfolio-page .portfolio-gallery-section,
body.portfolio-page .featured-case-shell,
body.portfolio-page .portfolio-final-shell {
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(8, 9, 16, 0.92), rgba(8, 8, 14, 0.82));
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 22px rgba(102, 81, 255, 0.08);
}

body.portfolio-page .portfolio-gallery-section {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(110, 233, 255, 0.2);
}

body.portfolio-page .portfolio-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
}

body.portfolio-page .portfolio-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(188, 96, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(11, 15, 25, 0.94), rgba(10, 10, 18, 0.9));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 18px rgba(154, 81, 255, 0.08),
    0 20px 44px rgba(0, 0, 0, 0.26);
}

body.portfolio-page .portfolio-preview {
  display: grid;
  place-items: center;
  min-height: clamp(160px, 18vw, 210px);
  border-radius: 18px;
  border: 1px solid rgba(99, 233, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(8, 17, 30, 0.96), rgba(15, 12, 34, 0.94) 56%, rgba(10, 22, 24, 0.94));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 24px rgba(81, 178, 255, 0.1);
}

body.portfolio-page .portfolio-preview span {
  color: rgba(158, 227, 255, 0.92);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
}

body.portfolio-page .portfolio-type {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  width: fit-content;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(110, 233, 255, 0.28);
  background: rgba(8, 20, 30, 0.55);
  color: #8de8ff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.portfolio-page .portfolio-card h3 {
  margin: 0;
  color: #f6f4ff;
  font-size: 1.25rem;
}

body.portfolio-page .portfolio-card p,
body.portfolio-page .featured-case-copy p,
body.portfolio-page .portfolio-final-shell p {
  margin: 0;
  color: rgba(243, 243, 241, 0.64);
  line-height: 1.65;
}

body.portfolio-page .portfolio-outcomes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.portfolio-page .portfolio-outcomes span,
body.portfolio-page .featured-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(104, 235, 255, 0.24);
  background: rgba(8, 18, 28, 0.58);
  color: #a3fff1;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

body.portfolio-page .portfolio-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(195, 102, 255, 0.28);
  background: rgba(11, 18, 28, 0.72);
  color: #f3f7ff;
  font-weight: 700;
  text-decoration: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 18px rgba(179, 86, 255, 0.08);
}

body.portfolio-page .featured-case-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(100, 235, 255, 0.2);
}

body.portfolio-page .featured-case-copy {
  display: grid;
  gap: 14px;
  max-width: 760px;
}

body.portfolio-page .featured-case-copy h2,
body.portfolio-page .portfolio-final-shell h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

body.portfolio-page .featured-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.portfolio-page .portfolio-final-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(195, 102, 255, 0.2);
}

body.portfolio-page .portfolio-final-shell > div:first-child {
  display: grid;
  gap: 14px;
  max-width: 760px;
}

@media (max-width: 1120px) {
  body.portfolio-page .portfolio-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.portfolio-page .portfolio-title {
    max-width: 100%;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
  }

  body.portfolio-page .featured-case-shell,
  body.portfolio-page .portfolio-final-shell {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  body.portfolio-page .portfolio-showcase-shell {
    min-height: 320px;
  }

  body.portfolio-page .frame-featured {
    left: 24%;
    width: min(320px, 46%);
  }

  body.portfolio-page .frame-webapp,
  body.portfolio-page .frame-dashboard,
  body.portfolio-page .frame-portal,
  body.portfolio-page .frame-automation,
  body.portfolio-page .frame-case {
    width: min(210px, 30%);
  }
}

@media (max-width: 760px) {
  body.portfolio-page .portfolio-gallery-grid {
    grid-template-columns: 1fr;
  }

  body.portfolio-page .portfolio-gallery-section {
    padding: 18px;
  }

  body.portfolio-page .portfolio-filter-strip {
    gap: 10px;
  }

  body.portfolio-page .portfolio-showcase-shell {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 18px;
    min-height: 0;
  }

  body.portfolio-page .portfolio-grid,
  body.portfolio-page .portfolio-beam,
  body.portfolio-page .portfolio-connector,
  body.portfolio-page .portfolio-node,
  body.portfolio-page .portfolio-perspective,
  body.portfolio-page .portfolio-showcase-shell::after {
    display: none;
  }

  body.portfolio-page .portfolio-frame {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 108px;
  }

  body.portfolio-page .frame-featured {
    grid-column: 1 / -1;
    min-height: 148px;
  }
}

@media (max-width: 560px) {
  body.portfolio-page .portfolio-title {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 0.96;
  }
}

body.portal-page .portal-main {
  min-height: clamp(620px, 78vh, 860px);
  display: grid;
  align-items: center;
}

body.portal-page .portal-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.68fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: stretch;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 30px;
  border: 1px solid rgba(74, 236, 255, 0.46);
  background:
    radial-gradient(circle at 78% 22%, rgba(246, 68, 222, 0.14), transparent 20%),
    radial-gradient(circle at 20% 78%, rgba(41, 199, 255, 0.1), transparent 22%),
    linear-gradient(135deg, rgba(4, 8, 18, 0.98), rgba(8, 10, 20, 0.96) 56%, rgba(8, 10, 18, 0.98));
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(228, 76, 255, 0.1),
    0 0 26px rgba(64, 228, 255, 0.14);
}

body.portal-page .portal-copy,
body.portal-page .portal-panel {
  min-width: 0;
}

body.portal-page .portal-copy {
  display: grid;
  align-content: center;
  gap: 20px;
}

body.portal-page .portal-copy h1 {
  margin: 0;
  max-width: 780px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: #f5f5f2;
}

body.portal-page .portal-copy p {
  margin: 0;
  max-width: 680px;
  color: rgba(243, 243, 241, 0.72);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.75;
}

body.portal-page .portal-status {
  display: grid;
  gap: 8px;
  max-width: 520px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(243, 198, 87, 0.38);
  background: rgba(32, 23, 8, 0.48);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 18px rgba(243, 198, 87, 0.08);
}

body.portal-page .portal-status strong {
  color: #f7d886;
}

body.portal-page .portal-status span {
  color: rgba(243, 243, 241, 0.68);
  line-height: 1.5;
}

body.portal-page .portal-panel {
  align-self: center;
  padding: clamp(20px, 3vw, 30px);
  border-radius: 28px;
  border: 1px solid rgba(233, 76, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(9, 10, 16, 0.94), rgba(8, 8, 14, 0.84));
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 20px rgba(233, 76, 255, 0.1);
}

body.portal-page .portal-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

body.portal-page .portal-tab {
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(112, 231, 255, 0.22);
  background: rgba(10, 14, 22, 0.82);
  color: rgba(243, 243, 241, 0.72);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

body.portal-page .portal-tab.is-active {
  color: #0b1018;
  border-color: rgba(243, 214, 142, 0.72);
  background: linear-gradient(135deg, #f7d886, #e7ad49);
}

body.portal-page .portal-form {
  display: none;
  gap: 18px;
}

body.portal-page .portal-form.is-active {
  display: grid;
}

body.portal-page .portal-form h2 {
  margin: 0;
  color: #f5f5f2;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 0.95;
}

body.portal-page .portal-primary-btn,
body.portal-page .portal-secondary-btn {
  width: 100%;
  justify-content: center;
}

body.portal-page .portal-form-note,
body.portal-page .portal-message {
  margin: 0;
  color: rgba(243, 243, 241, 0.64);
  line-height: 1.55;
}

body.portal-page .portal-message:not(:empty) {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(126, 255, 107, 0.44);
  background: rgba(16, 28, 12, 0.56);
  color: rgba(133, 255, 179, 0.88);
}

body.portal-page .portal-access {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(217, 177, 95, 0.18);
}

body.portal-page .portal-access[hidden] {
  display: none;
}

body.portal-page .portal-access h2 {
  margin: 6px 0 8px;
  color: #f5f5f2;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  overflow-wrap: anywhere;
}

body.portal-page .portal-access p {
  margin: 0;
  color: rgba(243, 243, 241, 0.68);
  line-height: 1.55;
}

body.portal-page .portal-link-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

body.portal-page .portal-link-grid[hidden] {
  display: none;
}

body.portal-page .portal-signout {
  margin-top: 14px;
  min-height: 42px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(243, 243, 241, 0.82);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

body.portal-page .field {
  display: grid;
  gap: 10px;
}

body.portal-page .field span {
  color: #f4d58a;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.portal-page .field input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(112, 231, 255, 0.22);
  background: rgba(10, 14, 22, 0.82);
  color: #f5f5f2;
  font: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

body.portal-page .field input::placeholder {
  color: rgba(243, 243, 241, 0.42);
}

body.portal-page .field input:focus {
  outline: none;
  border-color: rgba(173, 107, 255, 0.58);
  box-shadow:
    0 0 0 1px rgba(173, 107, 255, 0.28),
    0 0 18px rgba(99, 222, 255, 0.12);
}

@media (max-width: 920px) {
  body.portal-page .portal-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body.portal-page .portal-main {
    align-items: start;
  }

  body.portal-page .portal-shell {
    padding: 18px;
  }

  body.portal-page .portal-copy h1 {
    font-size: clamp(2.5rem, 13vw, 3.4rem);
  }

  body.portal-page .portal-tabs {
    grid-template-columns: 1fr;
  }
}

body.contact-page .contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
  align-items: stretch;
  padding-top: clamp(3.5rem, 6vw, 6rem);
  gap: clamp(20px, 3vw, 28px);
  padding-inline: clamp(24px, 3vw, 36px);
  padding-bottom: clamp(24px, 3vw, 34px);
  border-radius: 30px;
  border: 1px solid rgba(74, 236, 255, 0.5);
  background:
    radial-gradient(circle at 84% 28%, rgba(246, 68, 222, 0.14), transparent 18%),
    radial-gradient(circle at 28% 76%, rgba(41, 199, 255, 0.08), transparent 20%),
    linear-gradient(135deg, rgba(4, 8, 18, 0.98), rgba(8, 10, 20, 0.96) 56%, rgba(8, 10, 18, 0.98));
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(228, 76, 255, 0.1),
    0 0 26px rgba(64, 228, 255, 0.14);
}

body.contact-page .contact-hero .hero-copy {
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(22px, 2vw, 28px) clamp(10px, 1vw, 14px) clamp(22px, 2vw, 28px) 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.contact-page .contact-title {
  width: 100%;
  max-width: 720px;
  margin: 0 0 clamp(1rem, 2vw, 1.5rem);
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 5.2vw, 4.95rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  padding-bottom: 0.08em;
  color: #f5f5f2;
  text-wrap: balance;
  overflow: visible;
}

body.contact-page .contact-title span {
  display: inline-block;
  padding-bottom: 0.08em;
  background: linear-gradient(90deg, #f14dff 0%, #b56dff 34%, #39d9ff 70%, #9cff4f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  overflow: visible;
}

body.contact-page .contact-primary-btn {
  border: 1px solid rgba(74, 236, 255, 0.6);
  box-shadow: 0 0 24px rgba(74, 236, 255, 0.16);
}

body.contact-page .contact-secondary-btn {
  border-color: rgba(215, 90, 255, 0.58);
  color: #f66cff;
  box-shadow: 0 0 20px rgba(199, 81, 255, 0.12);
}

body.contact-page .contact-hero-art {
  display: flex;
  align-items: stretch;
  min-width: 0;
}

body.contact-page .contact-art-shell {
  position: relative;
  width: 100%;
  min-height: clamp(320px, 34vw, 430px);
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(92, 104, 255, 0.22);
  background: linear-gradient(180deg, rgba(5, 7, 18, 0.98), rgba(7, 7, 24, 0.96) 52%, rgba(7, 12, 24, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 24px rgba(117, 78, 255, 0.08);
}

body.contact-page .contact-art-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 24, 0.04), rgba(8, 10, 24, 0.12));
  pointer-events: none;
  z-index: 1;
}

body.contact-page .contact-art-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(320px, 34vw, 430px);
  object-fit: cover;
}

body.contact-page .contact-art-image,
body.contact-page .contact-art-shell::before {
  border-radius: inherit;
}

body.contact-page .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(18px, 2.4vw, 28px);
}

body.contact-page .contact-form-shell,
body.contact-page .contact-info-shell,
body.contact-page .tip-card,
body.contact-page .contact-final-shell {
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(9, 10, 16, 0.94), rgba(8, 8, 14, 0.84));
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 22px rgba(98, 82, 255, 0.08);
}

body.contact-page .contact-form-shell {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(73, 236, 255, 0.46);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 20px rgba(73, 236, 255, 0.1);
}

body.contact-page .contact-info-shell {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(233, 76, 255, 0.46);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 20px rgba(233, 76, 255, 0.1);
}

body.contact-page .contact-form {
  display: grid;
  gap: 18px;
}

body.contact-page .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body.contact-page .field {
  display: grid;
  gap: 10px;
}

body.contact-page .field span {
  color: #f4d58a;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.contact-page .field input,
body.contact-page .field select,
body.contact-page .field textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(112, 231, 255, 0.22);
  background: rgba(10, 14, 22, 0.82);
  color: #f5f5f2;
  font: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

body.contact-page .field textarea {
  min-height: 180px;
  padding-top: 14px;
  resize: vertical;
}

body.contact-page .field input::placeholder,
body.contact-page .field textarea::placeholder {
  color: rgba(243, 243, 241, 0.42);
}

body.contact-page .field input:focus,
body.contact-page .field select:focus,
body.contact-page .field textarea:focus {
  outline: none;
  border-color: rgba(173, 107, 255, 0.58);
  box-shadow:
    0 0 0 1px rgba(173, 107, 255, 0.28),
    0 0 18px rgba(99, 222, 255, 0.12);
}

body.contact-page .field-full {
  grid-column: 1 / -1;
}

body.contact-page .form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

body.contact-page .form-status {
  margin: 0;
  color: rgba(133, 255, 179, 0.88);
  font-size: 0.96rem;
}

body.contact-page .form-status-shell {
  min-height: 0;
}

body.contact-page .form-status:not(:empty) {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(126, 255, 107, 0.44);
  background: rgba(16, 28, 12, 0.56);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 18px rgba(121, 255, 125, 0.1);
}

body.contact-page .contact-info-list {
  display: grid;
  gap: 16px;
}

body.contact-page .contact-info-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 0;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.contact-page .contact-info-item:last-child {
  border-bottom: 0;
}

body.contact-page .contact-info-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
  width: 100%;
}

body.contact-page .contact-info-item h3 {
  margin: 0 0 8px;
  color: #f5f5f2;
  font-size: 0.9rem;
  font-weight: 700;
}

body.contact-page .contact-info-item p,
body.contact-page .contact-note,
body.contact-page .contact-final-shell p {
  margin: 0;
  color: rgba(243, 243, 241, 0.66);
  line-height: 1.65;
}

body.contact-page .contact-info-item p {
  min-width: 0;
  width: 100%;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}

body.contact-page .contact-info-item a {
  color: #f3f7ff;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

body.contact-page .contact-note {
  margin-top: 20px;
}

body.contact-page .contact-note-shell {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(177, 77, 255, 0.38);
  background: rgba(18, 8, 28, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 18px rgba(177, 77, 255, 0.08);
}

body.contact-page .contact-info-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  background: rgba(10, 12, 18, 0.72);
}

body.contact-page .cyan-icon {
  color: #49dfff;
  box-shadow: 0 0 14px rgba(73, 223, 255, 0.12);
}

body.contact-page .magenta-icon {
  color: #f566ff;
  box-shadow: 0 0 14px rgba(245, 102, 255, 0.12);
}

body.contact-page .gold-icon {
  color: #f3c657;
  box-shadow: 0 0 14px rgba(243, 198, 87, 0.12);
}

body.contact-page .green-icon {
  color: #86ff58;
  box-shadow: 0 0 14px rgba(134, 255, 88, 0.12);
}

body.contact-page .tips-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

body.contact-page .tip-card {
  padding: 20px 18px;
  border: 1px solid rgba(73, 236, 255, 0.28);
}

body.contact-page .tips-grid .tip-card:nth-child(2) {
  border-color: rgba(232, 87, 255, 0.34);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 18px rgba(232, 87, 255, 0.08);
}

body.contact-page .tips-grid .tip-card:nth-child(3) {
  border-color: rgba(243, 198, 87, 0.34);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 18px rgba(243, 198, 87, 0.08);
}

body.contact-page .tips-grid .tip-card:nth-child(4) {
  border-color: rgba(134, 255, 88, 0.34);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 18px rgba(134, 255, 88, 0.08);
}

body.contact-page .tip-card h3 {
  margin: 0 0 10px;
  color: #f5f5f2;
  font-size: 1rem;
  line-height: 1.5;
}

body.contact-page .tip-card p {
  margin: 0;
  color: rgba(243, 243, 241, 0.66);
  line-height: 1.65;
}

body.contact-page .contact-final-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(104, 232, 255, 0.34);
  background:
    radial-gradient(circle at 92% 50%, rgba(240, 68, 220, 0.12), transparent 18%),
    radial-gradient(circle at 18% 72%, rgba(42, 212, 255, 0.08), transparent 20%),
    linear-gradient(135deg, rgba(8, 10, 18, 0.92), rgba(10, 10, 18, 0.9));
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 20px rgba(92, 212, 255, 0.08);
}

body.contact-page .contact-final-shell > div:first-child {
  display: grid;
  gap: 14px;
  max-width: 780px;
}

body.contact-page .contact-final-shell h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

body.contact-page .site-footer {
  margin-top: clamp(22px, 3vw, 34px);
  padding: 18px 22px;
  border-radius: 18px;
  border: 1px solid rgba(242, 192, 88, 0.34);
  background:
    linear-gradient(90deg, rgba(10, 8, 16, 0.92), rgba(8, 10, 18, 0.9));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 18px rgba(242, 192, 88, 0.08);
}

@media (max-width: 1120px) {
  body.contact-page .contact-hero,
  body.contact-page .contact-layout,
  body.contact-page .tips-grid {
    grid-template-columns: 1fr;
  }

  body.contact-page .contact-hero .hero-copy {
    padding-right: 0;
  }

  body.contact-page .contact-title {
    max-width: 100%;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
  }

  body.contact-page .contact-hero .hero-copy {
    margin-bottom: 0;
  }

  body.contact-page .contact-final-shell {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  body.contact-page .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body.contact-page .contact-hero {
    padding-inline: 18px;
    padding-bottom: 18px;
  }

  body.contact-page .contact-title {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 0.96;
  }

  body.contact-page .contact-form-shell,
  body.contact-page .contact-info-shell,
  body.contact-page .contact-final-shell {
    padding: 18px;
  }
}
