:root {
  --bg: #050817;
  --bg-deep: #03040d;
  --bg-soft: #0b1230;
  --surface: rgba(12, 18, 44, 0.78);
  --surface-strong: rgba(10, 16, 38, 0.94);
  --surface-alt: rgba(255, 255, 255, 0.04);
  --surface-border: rgba(173, 191, 255, 0.12);
  --text: #f5f7ff;
  --muted: #a9b4db;
  --muted-strong: #d5dcf7;
  --primary: #7d5cff;
  --primary-2: #3db8ff;
  --accent: #ff4cb6;
  --success: #7bf4bf;
  --warning: #ffd76a;
  --danger: #ff8f9f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.22);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --container: min(1180px, calc(100% - 2rem));
  --header-height: 76px;
  --section-space: clamp(4rem, 8vw, 7rem);
  --transition: 220ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  min-width: 0;
}

html {
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 12% 8%, rgba(125, 92, 255, 0.22), transparent 24%),
    radial-gradient(circle at 86% 14%, rgba(61, 184, 255, 0.14), transparent 22%),
    radial-gradient(circle at 50% 84%, rgba(255, 76, 182, 0.08), transparent 22%),
    linear-gradient(180deg, #060818 0%, #070c1f 36%, #050817 100%);
  -webkit-font-smoothing: antialiased;
  -webkit-touch-callout: none;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  -webkit-user-select: none;
  user-select: none;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -2;
}

body::before {
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 100%);
}

body::after {
  width: 42rem;
  height: 42rem;
  top: -14rem;
  right: -12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 92, 255, 0.28), rgba(125, 92, 255, 0));
  filter: blur(72px);
  opacity: 0.9;
}

body.menu-open {
  overflow: hidden;
}

img,
svg,
picture,
video,
canvas {
  display: block;
  max-width: 100%;
  pointer-events: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}

.brand,
.footer-brand,
.portfolio-button,
.portfolio-card,
.hero-profile-card,
.hero-profile-orb {
  -webkit-touch-callout: none;
}

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

button {
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

input,
textarea {
  user-select: text;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(61, 184, 255, 0.9);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
p,
ul,
dl {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
.footer-brand,
.metric-value,
.portfolio-caption {
  font-family: "Sora", system-ui, sans-serif;
  overflow-wrap: anywhere;
  max-width: 100%;
}

h1 {
  font-size: 3rem;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  font-size: 2.15rem;
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.12;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  overflow-wrap: break-word;
  hyphens: auto;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 300;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  color: #060818;
  transition: top var(--transition);
}

.skip-link:focus-visible {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  backdrop-filter: blur(16px);
  background: rgba(5, 8, 23, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.35rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  max-width: 12rem;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.brand img {
  width: 10rem;
  height: auto;
}

.nav-toggle {
  width: 3.05rem;
  height: 3.05rem;
  flex: 0 0 auto;
  display: inline-grid;
  place-content: center;
  gap: 0.32rem;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 32% 18%, rgba(61, 184, 255, 0.18), transparent 38%),
    linear-gradient(145deg, rgba(125, 92, 255, 0.28), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(173, 191, 255, 0.24);
  box-shadow: 0 14px 34px rgba(4, 6, 14, 0.32);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  margin: 0;
  transform-origin: center;
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
}

.nav-toggle span + span {
  margin-top: 0;
}

.nav-toggle span:nth-child(2) {
  width: 0.92rem;
  justify-self: end;
}

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

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

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

.nav-menu {
  position: fixed;
  top: calc(var(--header-height) + 0.65rem);
  left: 50%;
  width: min(calc(100% - 1.5rem), 27rem);
  display: grid;
  gap: 0.45rem;
  padding: 0.75rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(125, 92, 255, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(9, 14, 35, 0.98), rgba(7, 10, 26, 0.98));
  border: 1px solid rgba(173, 191, 255, 0.14);
  border-radius: 1.4rem;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.44);
  opacity: 0;
  transform: translate(-50%, -0.7rem) scale(0.98);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  visibility: hidden;
}

.nav-menu.is-open {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  pointer-events: auto;
  visibility: visible;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0 0.95rem;
  border-radius: 1rem;
  color: var(--muted);
  font-weight: 700;
  transition: color var(--transition), background-color var(--transition);
}

.nav-link.is-current,
.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 0;
  min-height: 3.25rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    background-color var(--transition),
    color var(--transition);
}

.button::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.28) 38%, transparent 58%);
  opacity: 0;
  transform: translateX(-42%);
  transition: opacity var(--transition), transform 520ms ease;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 18px 42px rgba(61, 184, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.button-secondary {
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
  border-color: rgba(173, 191, 255, 0.18);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.button-ghost {
  color: var(--muted-strong);
  background:
    radial-gradient(circle at 20% 0%, rgba(61, 184, 255, 0.12), transparent 44%),
    rgba(125, 92, 255, 0.12);
  border-color: rgba(125, 92, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.button-small {
  min-height: 2.8rem;
  padding-inline: 1.05rem;
}

.button:active {
  transform: translateY(1px) scale(0.99);
}

.nav-cta {
  min-height: 2.75rem;
  padding-inline: 1.15rem;
  box-shadow:
    0 14px 32px rgba(61, 184, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.section {
  padding: var(--section-space) 0;
}

.section-tight {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.section-shell {
  display: grid;
  gap: 1.4rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 100%;
  color: var(--primary-2);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

.section-heading {
  display: grid;
  gap: 0.8rem;
  max-width: 46rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted-strong);
}

.panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  padding: 1.35rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.028));
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 45%);
}

.panel > * {
  position: relative;
  z-index: 1;
}

.hero-home {
  padding: clamp(3rem, 8vw, 6.2rem) 0 clamp(3rem, 7vw, 5.4rem);
}

.hero-grid,
.page-hero-grid,
.split-grid,
.contact-grid,
.footer-grid,
.cta-grid,
.detail-grid,
.story-grid {
  display: grid;
  gap: 1.25rem;
}

.hero-copy,
.page-copy,
.stack-column {
  display: grid;
  gap: 1.15rem;
  min-width: 0;
}

.hero-title span {
  display: block;
}

.page-copy h1 {
  max-width: 12ch;
}

.page-copy .lead {
  hyphens: none;
  overflow-wrap: break-word;
}

.hero-badges,
.pill-row,
.tag-row,
.detail-tags,
.policy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.chip,
.tag,
.metric,
.portfolio-badge,
.status-tag {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.chip {
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-actions,
.page-actions,
.cookie-actions,
.cookie-panel-actions,
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-points,
.bullet-list,
.legal-list,
.meta-list,
.footer-list {
  display: grid;
  gap: 0.7rem;
}

.hero-points li,
.bullet-list li,
.legal-list li,
.meta-list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--muted-strong);
  overflow-wrap: anywhere;
}

.hero-points li::before,
.bullet-list li::before,
.legal-list li::before,
.meta-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-2), var(--accent));
  box-shadow: 0 0 18px rgba(61, 184, 255, 0.42);
}

.hero-cta-panel {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 0% 0%, rgba(61, 184, 255, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(173, 191, 255, 0.14);
  box-shadow: var(--shadow-soft);
}

.hero-cta-panel p {
  display: grid;
  gap: 0.25rem;
}

.hero-cta-panel strong {
  color: var(--text);
}

.hero-cta-panel span {
  color: var(--muted);
}

.hero-card {
  display: grid;
  gap: 1rem;
  min-height: 100%;
}

.stage-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.stage-copy {
  display: grid;
  gap: 0.75rem;
}

.stage-quote {
  color: var(--text);
  font-size: 1.55rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.stage-subcopy {
  color: var(--muted);
}

.hero-photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 15rem;
  border-radius: calc(var(--radius-md) - 6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #050817;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(61, 184, 255, 0.14), transparent 30%),
    radial-gradient(circle at 82% 22%, rgba(255, 76, 182, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(5, 8, 23, 0.1), rgba(5, 8, 23, 0.78));
  pointer-events: none;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 15rem;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.05);
}

.hero-photo figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  color: var(--text);
  font-weight: 800;
  font-size: 0.95rem;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
}

.hero-redesign {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(700px, calc(100svh - var(--header-height)));
  padding: clamp(4.2rem, 6.6vw, 5.8rem) 0 clamp(5.6rem, 7vw, 7.2rem);
}

.hero-redesign::before,
.hero-redesign::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-redesign::before {
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 22%, rgba(125, 92, 255, 0.28), transparent 28%),
    radial-gradient(circle at 77% 18%, rgba(61, 184, 255, 0.18), transparent 28%),
    radial-gradient(circle at 66% 76%, rgba(255, 76, 182, 0.11), transparent 30%),
    linear-gradient(110deg, rgba(61, 184, 255, 0.1) 0 0.25%, transparent 0.25% 44%, rgba(255, 76, 182, 0.08) 44% 44.3%, transparent 44.3% 100%);
  opacity: 0.72;
}

.hero-redesign::after {
  display: none;
}

.hero-redesign-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
}

.hero-main {
  display: grid;
  gap: 1rem;
  max-width: 44rem;
}

.hero-redesign .eyebrow {
  color: var(--primary-2);
}

.hero-redesign .hero-title {
  max-width: 11.6ch;
  font-size: clamp(3.1rem, 5.1vw, 5.15rem);
  line-height: 0.94;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.hero-redesign .lead {
  max-width: 39rem;
  font-size: clamp(1.04rem, 1.16vw, 1.16rem);
  line-height: 1.58;
  color: rgba(225, 232, 255, 0.9);
  hyphens: none;
  overflow-wrap: break-word;
}

.hero-cta-copy {
  position: relative;
  display: grid;
  gap: 0.35rem;
  max-width: 38rem;
  margin-top: 0.2rem;
  padding: 1rem 1.05rem 1rem 1.15rem;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(61, 184, 255, 0.11), rgba(125, 92, 255, 0.08)),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(173, 191, 255, 0.12);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.hero-cta-copy strong {
  color: var(--text);
  font-family: "Sora", system-ui, sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.25;
}

.hero-cta-copy span {
  color: rgba(214, 223, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.48;
}

.hero-cta-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  bottom: 1rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary-2), var(--accent));
  box-shadow: 0 0 18px rgba(61, 184, 255, 0.55);
}

.hero-redesign .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.2rem;
}

.hero-redesign .hero-actions .button {
  min-height: 3.3rem;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.22);
}

.hero-redesign .hero-actions .button-primary {
  min-width: min(100%, 16.5rem);
}

.hero-signal-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, max-content));
  gap: 0.55rem;
  margin-top: 0.1rem;
}

.hero-signal-row span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  min-height: 2.15rem;
  padding: 0.42rem 0.82rem;
  border-radius: 16px;
  color: rgba(228, 234, 255, 0.84);
  font-size: 0.79rem;
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: 0.012em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(150, 168, 232, 0.16);
  box-shadow: none;
  backdrop-filter: blur(8px);
  cursor: default;
}

.hero-signal-row span::before {
  content: "";
  flex: 0 0 0.42rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-2), rgba(255, 76, 182, 0.72));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-showcase {
  position: relative;
  justify-self: end;
  display: grid;
  justify-items: center;
  width: min(100%, 29rem);
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 18% 8% 12%;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 34%, rgba(61, 184, 255, 0.18), transparent 34%),
    radial-gradient(circle at 70% 66%, rgba(255, 76, 182, 0.16), transparent 36%);
  filter: blur(28px);
  opacity: 0.52;
}

.hero-profile-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.15rem;
  width: min(100%, 24rem);
  margin: 0;
  padding-block: 1rem 0.25rem;
}

.hero-profile-card-mobile {
  display: none;
}

.hero-profile-orb {
  position: relative;
  isolation: isolate;
  overflow: visible;
  width: min(100%, 22rem);
  aspect-ratio: 1;
  padding: 0.55rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(5, 8, 23, 0.92), rgba(5, 8, 23, 0.96)),
    linear-gradient(135deg, rgba(61, 184, 255, 0.45), rgba(125, 92, 255, 0.32), rgba(255, 76, 182, 0.38));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 28px 74px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(61, 184, 255, 0.2),
    0 0 22px rgba(61, 184, 255, 0.2),
    0 0 42px rgba(255, 76, 182, 0.1);
  animation: profileNeonPulse 4.8s ease-in-out infinite;
}

.hero-profile-orb::before {
  content: "";
  position: absolute;
  inset: -5%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 60%, rgba(61, 184, 255, 0.72) 64%, rgba(255, 76, 182, 0.52) 70%, transparent 77%),
    conic-gradient(from 90deg, rgba(61, 184, 255, 0), rgba(61, 184, 255, 0.8), rgba(255, 76, 182, 0.7), rgba(125, 92, 255, 0.72), rgba(61, 184, 255, 0));
  filter: blur(8px);
  opacity: 0.62;
  animation:
    profileNeonSpin 12s linear infinite,
    profileNeonHalo 3.4s ease-in-out infinite;
}

.hero-profile-orb::after {
  content: "";
  position: absolute;
  inset: 0.55rem;
  z-index: 2;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(5, 8, 23, 0.02), rgba(5, 8, 23, 0.18) 58%, rgba(5, 8, 23, 0.56));
  box-shadow: inset 0 0 36px rgba(5, 8, 23, 0.52);
  pointer-events: none;
}

.hero-profile-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.03) brightness(0.94);
}

.hero-profile-card figcaption {
  display: grid;
  gap: 0.25rem;
  width: min(100%, 20rem);
  padding: 0.9rem 1rem;
  border-radius: 20px;
  color: rgba(224, 232, 255, 0.82);
  text-align: center;
  font-family: "Sora", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
  background: rgba(8, 12, 31, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.hero-profile-card figcaption span {
  display: block;
  color: var(--primary-2);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.home-intro {
  position: relative;
  z-index: 1;
  margin-top: -3.9rem;
  padding-top: clamp(6rem, 8vw, 7.2rem);
}

.home-intro > .container {
  position: relative;
  z-index: 1;
}

.status-grid,
.card-grid,
.service-grid,
.teaser-grid,
.tools-grid,
.portfolio-grid,
.policy-grid,
.social-grid,
.facts-grid,
.contact-methods {
  display: grid;
  gap: 1.25rem;
}

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

.status-card,
.feature-card,
.service-card,
.teaser-card,
.fact-card,
.contact-card,
.legal-card,
.link-card {
  display: grid;
  gap: 0.75rem;
}

.status-tag {
  width: fit-content;
  color: var(--warning);
  background: rgba(255, 215, 106, 0.08);
  border: 1px solid rgba(255, 215, 106, 0.15);
}

.metric {
  width: fit-content;
  color: var(--primary-2);
  background: rgba(61, 184, 255, 0.08);
  border: 1px solid rgba(61, 184, 255, 0.15);
}

.metric-label {
  color: var(--primary-2);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 800;
}

.metric-value {
  color: var(--text);
  font-size: 1rem;
}

.feature-card p,
.service-card p,
.teaser-card p,
.fact-card p,
.contact-card p,
.legal-card p {
  color: var(--muted);
}

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

.page-hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.4rem, 6vw, 4rem);
}

.page-side-card {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  position: relative;
  padding-left: 1.55rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025)),
    radial-gradient(circle at 100% 0%, rgba(125, 92, 255, 0.12), transparent 34%);
  border: 1px solid rgba(156, 173, 232, 0.16);
  box-shadow: none;
  cursor: default;
}

.page-side-card::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.35rem;
  bottom: 1.35rem;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(61, 184, 255, 0.9), rgba(255, 76, 182, 0.65));
  opacity: 0.9;
}

.quote-card {
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 76, 182, 0.15), transparent 24%),
    radial-gradient(circle at 15% 18%, rgba(61, 184, 255, 0.16), transparent 25%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.028));
}

.page-side-card .status-tag {
  justify-self: start;
  color: #ffd569;
  background: rgba(255, 213, 105, 0.09);
  border: 1px solid rgba(255, 213, 105, 0.22);
}

.page-side-card p {
  hyphens: none;
  overflow-wrap: break-word;
}

.page-side-card .chip,
.page-side-card .tag {
  min-height: 2.1rem;
  padding: 0.42rem 0.82rem;
  border-radius: 16px;
  color: rgba(228, 234, 255, 0.84);
  font-size: 0.8rem;
  font-weight: 760;
  letter-spacing: 0.012em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(150, 168, 232, 0.16);
  box-shadow: none;
}

.page-side-card .chip::before,
.page-side-card .tag::before {
  content: "";
  flex: 0 0 0.42rem;
  width: 0.42rem;
  height: 0.42rem;
  margin-right: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-2), rgba(255, 76, 182, 0.72));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.quote-text {
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1.18;
}

.detail-grid {
  align-items: start;
}

.fact-list {
  display: grid;
  gap: 0.85rem;
}

.fact-row {
  display: grid;
  gap: 0.18rem;
}

.fact-row dt {
  color: var(--primary-2);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 800;
}

.fact-row dd {
  margin: 0;
  color: var(--muted-strong);
}

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

.tag {
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.link-card {
  min-height: 100%;
}

.link-card strong {
  color: var(--text);
  font-size: 1rem;
}

.link-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.mini-note,
.helper-text,
.footer-copy,
.legal-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.portfolio-grid {
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.4rem;
}

.portfolio-card {
  display: flex;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.portfolio-button {
  width: 100%;
  display: block;
  text-align: left;
  cursor: pointer;
  border-radius: inherit;
}

.portfolio-button:focus-visible {
  outline: 3px solid rgba(61, 184, 255, 0.42);
  outline-offset: 3px;
}

.portfolio-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.portfolio-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: grayscale(1) contrast(1.03);
  transform: scale(1);
  transition: filter 280ms ease, transform 420ms ease;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(5, 8, 23, 0.12), rgba(5, 8, 23, 0.08) 40%, rgba(5, 8, 23, 0.84) 100%);
}

.portfolio-badge {
  width: fit-content;
  color: var(--text);
  background: rgba(5, 8, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio-caption {
  max-width: 18ch;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.16;
}

.portfolio-meta {
  display: none;
}

.portfolio-card.is-active,
.portfolio-card:focus-within {
  border-color: rgba(61, 184, 255, 0.22);
  box-shadow: 0 20px 48px rgba(61, 184, 255, 0.12);
}

.portfolio-card.is-active .portfolio-image,
.portfolio-card:focus-within .portfolio-image {
  filter: grayscale(0) saturate(1.05);
  transform: scale(1.03);
}

.contact-grid {
  align-items: start;
}

.contact-panel,
.form-panel {
  display: grid;
  gap: 1rem;
}

.social-grid,
.contact-methods {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.social-link,
.method-link {
  position: relative;
  display: grid;
  gap: 0.35rem;
  min-height: 100%;
  padding: 1rem 3.2rem 1rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  transition:
    transform var(--transition),
    border-color var(--transition),
    background-color var(--transition),
    box-shadow var(--transition);
}

.social-link::after,
.method-link::after {
  content: "↗";
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-grid;
  width: 1.85rem;
  height: 1.85rem;
  place-items: center;
  border-radius: 999px;
  color: var(--primary-2);
  background: rgba(61, 184, 255, 0.08);
  border: 1px solid rgba(61, 184, 255, 0.16);
  transition: transform var(--transition), color var(--transition), background-color var(--transition);
}

.social-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icon {
  display: inline-flex;
  width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(125, 92, 255, 0.12);
  border: 1px solid rgba(125, 92, 255, 0.2);
}

.social-icon svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.social-link strong,
.method-link strong {
  color: var(--text);
}

.social-link > span:last-child,
.method-link > span:last-child {
  color: var(--muted);
  font-size: 0.94rem;
}

.form-panel form {
  display: grid;
  gap: 1.15rem;
  scroll-margin-top: calc(var(--header-height) + 1.25rem);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field label {
  color: var(--text);
  font-weight: 700;
}

.field label span {
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.field input:hover,
.field textarea:hover {
  border-color: rgba(173, 191, 255, 0.22);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #90a0d3;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(61, 184, 255, 0.42);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 0 4px rgba(61, 184, 255, 0.08);
  outline: 0;
}

.field textarea {
  min-height: 10.5rem;
  resize: vertical;
}

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

.form-submit-area {
  display: grid;
  gap: 0.8rem;
  justify-items: start;
  padding-top: 0.3rem;
}

.submit-button {
  min-width: min(100%, 12rem);
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-feedback {
  min-height: 1.5rem;
  font-size: 0.94rem;
  font-weight: 700;
}

.form-feedback.is-success {
  color: var(--success);
}

.form-feedback.is-error {
  color: var(--danger);
}

.cta-band {
  padding-top: 0;
}

.cta-grid {
  align-items: center;
}

.site-footer {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: 3rem 0 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    linear-gradient(90deg, rgba(125, 92, 255, 0.08), rgba(61, 184, 255, 0.05) 52%, transparent);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  width: fit-content;
}

.footer-brand img {
  width: 9rem;
  height: auto;
}

.footer-copy {
  max-width: 34ch;
  font-size: 0.98rem;
}

.footer-about,
.footer-column,
.footer-links,
.footer-credits {
  display: grid;
  gap: 0.8rem;
}

.footer-title {
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.footer-links a,
.footer-button-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 1.75rem;
  width: 100%;
  padding: 0.1rem 0;
  border-radius: 0;
  background: none;
  border: 0;
  color: var(--muted);
  transition: color var(--transition), transform var(--transition);
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-button-link:hover,
.footer-button-link:focus-visible {
  color: var(--text);
  transform: translateX(0.18rem);
}

.footer-meta {
  display: grid;
  gap: 0.45rem;
}

.footer-meta p,
.footer-credits p {
  color: var(--muted);
}

.footer-credit-link {
  color: var(--primary-2);
  font-weight: 800;
  text-decoration: none;
  transition: color var(--transition), text-shadow var(--transition);
}

.footer-credit-link:hover,
.footer-credit-link:focus-visible {
  color: var(--accent);
  text-shadow: 0 0 18px rgba(255, 76, 182, 0.35);
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  width: min(68rem, calc(100% - 2rem));
  transform: translateX(-50%);
  z-index: 180;
}

.cookie-box {
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
  border-radius: 1.45rem;
  background: rgba(8, 12, 31, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
}

.cookie-banner:not([hidden]) .cookie-box {
  animation: cookieSlideUp 360ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.cookie-copy {
  display: grid;
  gap: 0.55rem;
}

.cookie-copy h2 {
  font-size: 1.55rem;
}

.cookie-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cookie-option input {
  margin-top: 0.25rem;
  accent-color: var(--primary-2);
}

.cookie-option strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.cookie-option small {
  color: var(--muted);
}

.cookie-panel {
  display: grid;
  gap: 0.8rem;
}

.cookie-link,
.legal-card a,
.helper-text a {
  color: var(--primary-2);
}

.cookie-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: var(--text);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(173, 191, 255, 0.14);
  transition: transform var(--transition), border-color var(--transition), background-color var(--transition);
}

.toast {
  position: fixed;
  right: 1rem;
  top: calc(var(--header-height) + 1rem);
  z-index: 190;
  max-width: 19rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(8, 12, 31, 0.94);
  border: 1px solid rgba(61, 184, 255, 0.24);
  box-shadow: var(--shadow-soft);
}

.legal-main {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.legal-layout {
  display: grid;
  gap: 1rem;
}

.legal-card h2 {
  margin-bottom: 0.65rem;
}

.legal-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
}

.legal-table {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.legal-table th,
.legal-table td {
  padding: 0.95rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-table th {
  color: var(--text);
  font-family: "Sora", system-ui, sans-serif;
  font-size: 0.94rem;
}

.legal-box {
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.error-main {
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-items: center;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.error-shell {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2rem);
  align-items: center;
}

.error-copy {
  display: grid;
  gap: 1rem;
}

.error-code {
  display: inline-flex;
  width: fit-content;
  min-height: 2.2rem;
  align-items: center;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  color: var(--primary-2);
  font-family: "Sora", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(61, 184, 255, 0.08);
  border: 1px solid rgba(61, 184, 255, 0.2);
}

.error-copy h1 {
  max-width: 10ch;
}

.error-copy .lead {
  max-width: 42rem;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.error-card {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.error-orb {
  position: relative;
  min-height: 18rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 42% 42%, rgba(61, 184, 255, 0.34), transparent 12%),
    radial-gradient(circle at 62% 48%, rgba(255, 76, 182, 0.28), transparent 15%),
    radial-gradient(circle at 50% 54%, rgba(125, 92, 255, 0.28), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(173, 191, 255, 0.14);
}

.error-orb::before,
.error-orb::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.error-orb::before {
  inset: 18% 12%;
  border-radius: 50%;
  border: 1px solid rgba(61, 184, 255, 0.24);
  box-shadow:
    0 0 34px rgba(61, 184, 255, 0.28),
    inset 0 0 34px rgba(255, 76, 182, 0.12);
  animation: profileNeonHalo 3.8s ease-in-out infinite;
}

.error-orb::after {
  width: 58%;
  height: 160%;
  top: -30%;
  left: 22%;
  transform: rotate(18deg);
  background: linear-gradient(180deg, transparent, rgba(61, 184, 255, 0.28), rgba(255, 76, 182, 0.16), transparent);
  filter: blur(8px);
  opacity: 0.56;
}

.error-status-list {
  display: grid;
  gap: 0.65rem;
}

.error-status-list li {
  display: flex;
  gap: 0.65rem;
  color: var(--muted-strong);
}

.error-status-list li::before {
  content: "";
  flex: 0 0 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.62rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-2), var(--accent));
  box-shadow: 0 0 18px rgba(61, 184, 255, 0.42);
}

.noscript-note {
  padding: 0.85rem 1rem;
  text-align: center;
  background: rgba(255, 215, 106, 0.12);
  color: #ffe8a0;
}

.reveal-item {
  opacity: 0;
  transform: translate3d(0, 1.35rem, 0);
  filter: blur(6px);
  transition:
    opacity 680ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 680ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 680ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.reveal-item.reveal-soft {
  transform: translate3d(0, 0.75rem, 0) scale(0.985);
}

.reveal-item.reveal-soft.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

[hidden] {
  display: none !important;
}

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

body.rave-mode {
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 76, 182, 0.44), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(61, 184, 255, 0.42), transparent 26%),
    radial-gradient(circle at 52% 84%, rgba(125, 92, 255, 0.34), transparent 24%),
    linear-gradient(180deg, #050511 0%, #0a0f29 42%, #060818 100%);
}

.rave-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 90;
  isolation: isolate;
  mix-blend-mode: screen;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: opacity, filter, transform;
  background:
    radial-gradient(circle at 18% 28%, rgba(61, 184, 255, 0.34), transparent 22%),
    radial-gradient(circle at 78% 24%, rgba(255, 76, 182, 0.32), transparent 24%),
    radial-gradient(circle at 50% 72%, rgba(125, 92, 255, 0.28), transparent 26%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 11%, rgba(61, 184, 255, 0.16) 12%, rgba(255, 255, 255, 0) 14%),
    linear-gradient(90deg, rgba(255, 255, 255, 0) 0 42%, rgba(255, 255, 255, 0.24) 49%, rgba(255, 255, 255, 0) 56%);
  box-shadow:
    inset 0 0 150px rgba(255, 255, 255, 0.12),
    inset 0 0 48px rgba(255, 76, 182, 0.1);
  transition: opacity 160ms ease;
}

.rave-layer::before,
.rave-layer::after {
  content: "";
  position: absolute;
  inset: -15%;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: opacity, transform;
}

.rave-layer::before {
  background:
    linear-gradient(115deg, transparent 0 12%, rgba(61, 184, 255, 0.8) 12% 17%, transparent 17% 31%, rgba(255, 76, 182, 0.76) 31% 36%, transparent 36% 54%, rgba(125, 92, 255, 0.68) 54% 61%, transparent 61% 100%);
  filter: blur(15px);
  opacity: 0.9;
}

.rave-layer::after {
  background:
    radial-gradient(circle at 20% 30%, rgba(61, 184, 255, 0.7), transparent 22%),
    radial-gradient(circle at 78% 20%, rgba(255, 76, 182, 0.68), transparent 22%),
    radial-gradient(circle at 50% 72%, rgba(125, 92, 255, 0.62), transparent 20%);
  filter: blur(38px);
  opacity: 0.82;
}

body.rave-mode .rave-layer {
  opacity: 1;
  animation:
    raveStrobe 0.42s steps(2, end) infinite,
    hueShift 1.55s linear infinite;
}

body.rave-mode .rave-layer::before {
  animation: raveSweep 0.95s linear infinite;
}

body.rave-mode .rave-layer::after {
  animation: raveBloom 0.66s steps(2, end) infinite;
}

body.rave-mode .panel,
body.rave-mode .portfolio-card,
body.rave-mode .cookie-box,
body.rave-mode .site-footer,
body.rave-mode .site-header {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 56px rgba(125, 92, 255, 0.24),
    0 0 92px rgba(61, 184, 255, 0.18);
  animation: raveSurface 0.82s steps(2, end) infinite;
}

body.rave-mode main,
body.rave-mode .site-header,
body.rave-mode .site-footer {
  animation: raveScene 0.82s steps(2, end) infinite;
}

body.rave-mode .hero-photo,
body.rave-mode .hero-profile-card,
body.rave-mode .button-primary,
body.rave-mode .stage-quote,
body.rave-mode h1,
body.rave-mode h2,
body.rave-mode h3,
body.rave-mode .nav-link,
body.rave-mode .portfolio-caption {
  animation: ravePulse 0.95s steps(2, end) infinite;
}

body.rave-mode .chip,
body.rave-mode .tag,
body.rave-mode .status-tag,
body.rave-mode .metric {
  animation: hueShift 2.6s linear infinite;
}

body.rave-mode .portfolio-image {
  filter: grayscale(0) saturate(1.35) contrast(1.08);
}

body.rave-mode .hero-profile-orb {
  animation:
    profileNeonPulse 0.62s steps(2, end) infinite,
    hueShift 1.5s linear infinite;
}

body.rave-mode.rave-ios {
  animation: raveScene 0.9s steps(2, end) infinite;
}

@keyframes profileNeonPulse {
  0%,
  100% {
    box-shadow:
      0 28px 74px rgba(0, 0, 0, 0.34),
      0 0 0 1px rgba(61, 184, 255, 0.18),
      0 0 18px rgba(61, 184, 255, 0.2),
      0 0 34px rgba(125, 92, 255, 0.14),
      0 0 52px rgba(255, 76, 182, 0.08);
  }

  50% {
    box-shadow:
      0 30px 78px rgba(0, 0, 0, 0.36),
      0 0 0 2px rgba(61, 184, 255, 0.3),
      0 0 28px rgba(61, 184, 255, 0.34),
      0 0 50px rgba(125, 92, 255, 0.2),
      0 0 72px rgba(255, 76, 182, 0.14);
  }
}

@keyframes profileNeonHalo {
  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.74;
  }
}

@keyframes profileNeonSpin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes cookieSlideUp {
  0% {
    opacity: 0;
    transform: translateY(0.9rem) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ravePulse {
  0%,
  100% {
    filter: brightness(1) drop-shadow(0 0 0 rgba(0, 0, 0, 0));
  }

  50% {
    filter: brightness(1.34) drop-shadow(0 0 28px rgba(61, 184, 255, 0.48)) drop-shadow(0 0 42px rgba(255, 76, 182, 0.34));
  }
}

@keyframes raveScene {
  0%,
  100% {
    filter: brightness(1) saturate(1);
  }

  18%,
  46%,
  76% {
    filter: brightness(1.06) saturate(1.06);
  }

  20%,
  48%,
  78% {
    filter: brightness(1.34) saturate(1.34) hue-rotate(18deg);
  }
}

@keyframes hueShift {
  0% {
    filter: hue-rotate(0deg);
  }

  100% {
    filter: hue-rotate(360deg);
  }
}

@keyframes raveSurface {
  0%,
  100% {
    border-color: rgba(61, 184, 255, 0.12);
  }

  50% {
    border-color: rgba(255, 76, 182, 0.28);
  }
}

@keyframes raveSweep {
  0% {
    transform: translateX(-24%) rotate(-4deg) scale(1);
  }

  50% {
    transform: translateX(22%) rotate(7deg) scale(1.06);
  }

  100% {
    transform: translateX(-24%) rotate(-4deg) scale(1);
  }
}

@keyframes raveBloom {
  0%,
  100% {
    opacity: 0.42;
  }

  50% {
    opacity: 1;
  }
}

@keyframes raveStrobe {
  0%,
  16%,
  24%,
  44%,
  56%,
  74%,
  100% {
    opacity: 0.18;
  }

  18%,
  22%,
  46%,
  52%,
  76%,
  80% {
    opacity: 1;
  }
}

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .social-link:hover,
  .method-link:hover,
  .cookie-link:hover,
  .footer-links a:hover,
  .footer-button-link:hover {
    transform: translateY(-2px);
  }

  .button:hover::before {
    opacity: 1;
    transform: translateX(46%);
  }

  .button-primary:hover {
    box-shadow:
      0 22px 52px rgba(61, 184, 255, 0.32),
      0 0 0 1px rgba(255, 255, 255, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.26);
  }

  .button-secondary:hover,
  .button-ghost:hover {
    border-color: rgba(61, 184, 255, 0.3);
    box-shadow:
      0 18px 42px rgba(61, 184, 255, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  .button-secondary:hover,
  .button-ghost:hover,
  .social-link:hover,
  .method-link:hover,
  .cookie-link:hover,
  .footer-links a:hover,
  .footer-button-link:hover {
    color: var(--text);
  }

  .cookie-link:hover {
    background-color: rgba(61, 184, 255, 0.08);
    border-color: rgba(61, 184, 255, 0.24);
  }

  .portfolio-card:hover {
    transform: translateY(-3px);
    border-color: rgba(61, 184, 255, 0.22);
    box-shadow: 0 20px 48px rgba(61, 184, 255, 0.12);
  }

  .portfolio-card:hover .portfolio-image {
    filter: grayscale(0) saturate(1.05);
    transform: scale(1.03);
  }

  .social-link:hover,
  .method-link:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(61, 184, 255, 0.22);
    box-shadow: 0 16px 34px rgba(61, 184, 255, 0.1);
  }

  .social-link:hover::after,
  .method-link:hover::after {
    color: #ffffff;
    background-color: rgba(61, 184, 255, 0.2);
    transform: translate(2px, -2px);
  }
}

@media (min-width: 720px) {
  .card-grid,
  .service-grid,
  .social-grid,
  .contact-methods,
  .facts-grid,
  .policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

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

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

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

  .footer-meta {
    justify-items: start;
    text-align: left;
  }

  .cta-grid {
    grid-template-columns: minmax(0, 1.2fr) auto;
    align-items: center;
  }
}

@media (min-width: 980px) {
  h1 {
    font-size: 5rem;
  }

  h2 {
    font-size: 3rem;
  }

  h3 {
    font-size: 1.55rem;
  }

  .stage-quote {
    font-size: 1.9rem;
  }

  .brand {
    max-width: 11rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    top: auto;
    left: auto;
    width: auto;
    inset: auto;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    visibility: visible;
  }

  .hero-grid,
  .hero-redesign-grid,
  .page-hero-grid,
  .contact-grid,
  .detail-grid,
  .split-grid,
  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .hero-redesign-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(25rem, 0.82fr);
    align-items: center;
  }

  .hero-showcase {
    transform: translateY(-1.35rem);
  }

  .page-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  }

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

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

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

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

  .error-shell {
    grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
  }
}

@media (min-width: 1180px) {
  h1 {
    font-size: 5.6rem;
  }

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

@media (max-width: 719px) {
  :root {
    --container: min(calc(100% - 1.25rem), 34rem);
    --header-height: 68px;
  }

  .nav {
    gap: 0.75rem;
  }

  .brand {
    max-width: 7.25rem;
  }

  .brand img {
    width: 7rem;
  }

  .nav-toggle {
    width: 2.75rem;
    height: 2.75rem;
  }

  .nav-menu .button {
    width: 100%;
  }

  .nav-cta {
    min-height: 3rem;
  }

  .panel {
    padding: 1.05rem;
  }

  .section {
    padding: 3.4rem 0;
  }

  .section-tight {
    padding: 2.9rem 0;
  }

  .hero-home,
  .page-hero {
    padding-top: 2.15rem;
  }

  .hero-redesign {
    align-items: flex-start;
    min-height: auto;
    padding: 2.05rem 0 4.8rem;
  }

  .hero-redesign::before {
    opacity: 0.58;
  }

  .hero-redesign-grid {
    gap: 1.55rem;
  }

  .hero-main {
    order: 2;
    gap: 0.92rem;
    max-width: none;
  }

  .hero-redesign .hero-title {
    max-width: 100%;
    font-size: clamp(2.35rem, 9.7vw, 3.08rem);
    line-height: 0.98;
    letter-spacing: -0.048em;
  }

  .hero-redesign .lead {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.56;
  }

  .hero-profile-card-mobile {
    display: grid;
    width: 100%;
    margin: 0.15rem auto 0.1rem;
    padding-block: 0.35rem 0.1rem;
  }

  .hero-cta-copy {
    padding: 0.9rem 0.95rem 0.9rem 1rem;
  }

  .hero-cta-copy strong {
    font-size: 0.98rem;
  }

  .hero-cta-copy span {
    font-size: 0.92rem;
  }

  .hero-redesign .hero-actions {
    gap: 0.7rem;
    width: 100%;
    margin-top: 0.12rem;
  }

  .hero-redesign .hero-actions .button {
    width: 100%;
    justify-content: center;
    min-height: 3.28rem;
  }

  .hero-signal-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    width: 100%;
    margin-top: 0;
  }

  .hero-signal-row span {
    min-height: 2.5rem;
    padding-inline: 0.72rem;
    text-align: left;
  }

  .hero-showcase {
    display: none;
  }

  .hero-profile-card {
    width: 100%;
    gap: 0.9rem;
  }

  .hero-profile-orb {
    width: min(17.3rem, 74vw);
  }

  .hero-profile-card figcaption {
    width: min(100%, 18rem);
    padding: 0.82rem 0.9rem;
    font-size: 0.86rem;
  }

  .home-intro {
    margin-top: -3.2rem;
    padding-top: 5.5rem;
  }

  .hero-grid,
  .page-hero-grid,
  .contact-grid {
    gap: 1.25rem;
  }

  .page-copy h1 {
    font-size: clamp(2rem, 8vw, 2.55rem);
    line-height: 1;
    max-width: 12ch;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 11vw, 3rem);
    line-height: 0.94;
    max-width: 9ch;
  }

  .section-heading h2,
  .cta-grid h2 {
    font-size: 2rem;
  }

  .page-side-card {
    gap: 0.78rem;
    padding: 1.02rem 1rem 1rem 2.05rem;
  }

  .page-side-card::before {
    left: 0.74rem;
    top: 1rem;
    bottom: 1rem;
  }

  .page-side-card .quote-text {
    max-width: none;
    font-size: clamp(1.08rem, 4.9vw, 1.28rem);
    line-height: 1.18;
  }

  .page-side-card > p:not(.quote-text) {
    font-size: 0.95rem;
    line-height: 1.52;
  }

  .page-side-card .pill-row,
  .page-side-card .detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
  }

  .page-side-card .chip,
  .page-side-card .tag {
    display: inline;
    min-height: auto;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: rgba(228, 234, 255, 0.9);
    font-size: 0.83rem;
    font-weight: 720;
    letter-spacing: 0;
  }

  .page-side-card .chip::before,
  .page-side-card .tag::before {
    display: none;
  }

  .page-side-card .chip:not(:last-child)::after,
  .page-side-card .tag:not(:last-child)::after {
    content: " ·";
    color: rgba(146, 179, 255, 0.72);
    margin-right: 0.38rem;
  }

  .portfolio-caption {
    font-size: 0.98rem;
  }

  .chip,
  .tag,
  .metric,
  .portfolio-badge,
  .status-tag {
    min-height: 1.8rem;
    padding: 0.38rem 0.68rem;
    font-size: 0.76rem;
  }

  .hero-badges,
  .pill-row,
  .tag-row,
  .detail-tags,
  .policy-tags {
    gap: 0.5rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .footer-grid {
    gap: 1.6rem;
  }

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

  .portfolio-grid,
  .tools-grid,
  .card-grid,
  .service-grid {
    gap: 1.25rem;
  }

  .cookie-banner {
    width: calc(100% - 1rem);
    bottom: 0.5rem;
  }

  .cookie-box {
    padding: 0.95rem;
    max-height: min(26rem, calc(100vh - 1rem));
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .cookie-actions .button {
    padding-inline: 0.65rem;
  }

  .cookie-actions .button:nth-child(3),
  .cookie-link {
    grid-column: 1 / -1;
  }

  .cookie-actions .button,
  .cookie-panel-actions .button {
    width: 100%;
  }

  .submit-button {
    width: 100%;
  }

  .hero-actions .button,
  .page-actions .button,
  .error-actions .button {
    flex: 1 1 100%;
  }

  .hero-card {
    gap: 0.9rem;
  }

  .hero-photo {
    min-height: 13rem;
  }

  .hero-photo img {
    min-height: 13rem;
  }

  .stage-subcopy {
    display: none;
  }

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

@media (max-width: 479px) {
  :root {
    --container: min(calc(100% - 1rem), 23rem);
  }

  .container {
    width: var(--container);
    margin-inline: auto;
  }

  .nav {
    padding-inline: 0;
  }

  .hero-home,
  .page-hero {
    padding-top: 2rem;
  }

  .hero-redesign {
    padding: 1.55rem 0 4.55rem;
  }

  .hero-redesign .eyebrow {
    max-width: 100%;
  }

  .hero-redesign .hero-title {
    max-width: 100%;
    font-size: clamp(2.14rem, 9.35vw, 2.55rem);
    line-height: 1;
  }

  .hero-redesign .lead {
    font-size: 0.97rem;
  }

  .hero-cta-copy {
    border-radius: 18px;
  }

  .hero-signal-row span {
    font-size: 0.74rem;
  }

  .hero-profile-orb {
    width: min(15.5rem, 72vw);
    padding: 0.45rem;
  }

  .hero-profile-orb::after {
    inset: 0.45rem;
  }

  .hero-profile-card figcaption {
    font-size: 0.82rem;
  }

  .home-intro {
    margin-top: -3rem;
    padding-top: 5.15rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.18rem, 10.5vw, 2.62rem);
    max-width: 9ch;
  }

  .page-copy h1 {
    font-size: clamp(1.9rem, 8vw, 2.25rem);
    max-width: 12ch;
  }

  .section-heading h2,
  .cta-grid h2,
  .form-panel h2,
  .contact-panel h2 {
    font-size: 1.72rem;
    line-height: 1.04;
  }

  .lead,
  p,
  .hero-points,
  .bullet-list,
  .legal-list {
    font-size: 0.96rem;
  }

  .eyebrow {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .eyebrow::before {
    width: 1.45rem;
  }

  .hero-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .hero-badges .chip {
    justify-content: center;
    width: 100%;
  }

  .hero-badges .chip:nth-child(3) {
    grid-column: 1 / -1;
  }

  .hero-points {
    display: none;
  }

  .button {
    min-height: 3rem;
    padding: 0.82rem 1rem;
  }

  .cookie-banner {
    left: 50%;
    width: min(calc(100% - 1rem), 23rem);
    transform: translateX(-50%);
  }

  .cookie-actions {
    grid-template-columns: 1fr;
  }

  .panel {
    border-radius: 20px;
    padding: 0.95rem;
  }

  .page-side-card {
    padding: 1rem 0.95rem 1rem 2.04rem;
  }

  .page-side-card::before {
    left: 0.74rem;
    top: 1rem;
    bottom: 1rem;
  }

  .light-card,
  .portfolio-card {
    border-radius: 20px;
  }

  .footer-brand img {
    width: 7.8rem;
  }
}

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

  body.rave-mode .rave-layer {
    animation:
      raveStrobe 0.52s steps(2, end) infinite,
      hueShift 1.75s linear infinite !important;
  }

  body.rave-mode .rave-layer::before {
    animation: raveSweep 1.05s linear infinite !important;
  }

  body.rave-mode .rave-layer::after {
    animation: raveBloom 0.78s steps(2, end) infinite !important;
  }

  body.rave-mode .panel,
  body.rave-mode .portfolio-card,
  body.rave-mode .cookie-box,
  body.rave-mode .site-footer,
  body.rave-mode .site-header {
    animation: raveSurface 0.95s steps(2, end) infinite !important;
  }

  body.rave-mode main,
  body.rave-mode .site-header,
  body.rave-mode .site-footer {
    animation: raveScene 0.95s steps(2, end) infinite !important;
  }

  body.rave-mode .hero-photo,
  body.rave-mode .hero-profile-card,
  body.rave-mode .button-primary,
  body.rave-mode .stage-quote,
  body.rave-mode h1,
  body.rave-mode h2,
  body.rave-mode h3,
  body.rave-mode .nav-link,
  body.rave-mode .portfolio-caption {
    animation: ravePulse 1.05s steps(2, end) infinite !important;
  }

  body.rave-mode .chip,
  body.rave-mode .tag,
  body.rave-mode .status-tag,
  body.rave-mode .metric {
    animation: hueShift 2.8s linear infinite !important;
  }

  body.rave-mode .hero-profile-orb {
    animation:
      profileNeonPulse 0.82s steps(2, end) infinite,
      hueShift 1.8s linear infinite !important;
  }
}
