﻿:root {
  --bg: #02050a;
  --bg-2: #061016;
  --glass: rgba(12, 20, 27, 0.66);
  --glass-strong: rgba(16, 25, 32, 0.82);
  --glass-soft: rgba(255, 255, 255, 0.055);
  --text: #f3f7f8;
  --muted: #b5c2c8;
  --dim: #7f9098;
  --neon: #68dfff;
  --neon-soft: rgba(104, 223, 255, 0.28);
  --neon-strong: #b7f1ff;
  --silver: #dfe5e5;
  --line: rgba(202, 230, 239, 0.5);
  --line-soft: rgba(104, 223, 255, 0.2);
  --shadow: rgba(0, 0, 0, 0.36);
  --radius: 8px;
  --content: 1120px;
  --nav-h: 60px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: auto;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 50% -8%, rgba(104, 223, 255, 0.14), transparent 34rem),
    radial-gradient(circle at 82% 28%, rgba(80, 171, 210, 0.11), transparent 26rem),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 48%, #010307 100%);
  color: var(--text);
  font-family: "Heebo", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
  direction: rtl;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.045), transparent 9rem),
    radial-gradient(circle at 76% 78%, rgba(104, 223, 255, 0.07), transparent 16rem);
  opacity: 0.8;
}

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

img {
  border: 0;
}

button,
input,
textarea {
  font: inherit;
}

.decor-layers {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  contain: paint;
}

.decor-layers::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 24% 18%, rgba(104, 223, 255, 0.08), transparent 18rem),
    radial-gradient(circle at 80% 48%, rgba(183, 241, 255, 0.065), transparent 16rem);
  animation: ambientPulse 12s ease-in-out infinite;
}

.decor {
  position: absolute;
  display: block;
  user-select: none;
  opacity: 0.62;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 14px rgba(104, 223, 255, 0.38));
  will-change: transform, opacity;
  animation: neuronFloat 18s ease-in-out infinite;
}

.decor-neuron-top {
  top: -14px;
  left: -8px;
  width: clamp(150px, 22vw, 250px);
}

.decor-neuron-right {
  top: 39vh;
  right: -3rem;
  width: clamp(210px, 30vw, 340px);
  opacity: 0.58;
  animation-delay: -6s;
}

.decor-neuron-bottom {
  bottom: 5rem;
  left: -2.5rem;
  width: clamp(170px, 24vw, 270px);
  opacity: 0.46;
  rotate: 18deg;
  animation-delay: -11s;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(94vw, 960px);
  min-height: var(--nav-h);
  margin: 18px auto 0;
  padding: 8px 14px;
  border: 1px solid rgba(218, 235, 241, 0.42);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(18, 28, 35, 0.82), rgba(5, 9, 13, 0.7));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(104, 223, 255, 0.18),
    0 18px 55px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(104, 223, 255, 0.13);
  backdrop-filter: blur(22px) saturate(140%);
}

.site-header::after,
.site-footer::before {
  position: absolute;
  right: 9%;
  left: 9%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), var(--neon), transparent);
  box-shadow: 0 0 18px rgba(104, 223, 255, 0.5);
}

.site-header::after {
  bottom: -1px;
}

.brand-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(227, 241, 245, 0.34);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.22));
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.08), 0 0 18px rgba(104, 223, 255, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.brand-mark:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.12), 0 0 26px rgba(104, 223, 255, 0.3);
}

.brand-mark img {
  display: block;
  width: 45px;
  height: 45px;
  object-fit: contain;
  border-radius: 50%;
}

.main-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 48px);
  min-width: 0;
}

.nav-link,
.footer-link {
  position: relative;
  color: rgba(241, 247, 249, 0.84);
  font-size: 1rem;
  font-weight: 550;
  line-height: 1;
  white-space: nowrap;
  transition: color 160ms ease, text-shadow 160ms ease;
}

.nav-link::after,
.footer-link::after {
  position: absolute;
  right: 18%;
  bottom: -13px;
  left: 18%;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: var(--neon);
  box-shadow: 0 0 14px var(--neon);
  opacity: 0;
  transform: scaleX(0.38);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-link:hover,
.nav-link.is-active,
.footer-link:hover,
.footer-link.is-active {
  color: var(--neon-strong);
  text-shadow: 0 0 16px rgba(104, 223, 255, 0.72);
}

.nav-link:hover::after,
.nav-link.is-active::after,
.footer-link:hover::after,
.footer-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.quote-button,
.menu-toggle {
  flex: 0 0 auto;
}

.quote-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 24px;
  border: 1px solid rgba(161, 231, 255, 0.78);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 45%),
    linear-gradient(180deg, rgba(49, 105, 126, 0.36), rgba(6, 12, 17, 0.72));
  color: #f3fcff;
  font-weight: 750;
  box-shadow: inset 0 0 14px rgba(104, 223, 255, 0.18), 0 0 14px rgba(104, 223, 255, 0.18);
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.quote-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
  border-color: rgba(236, 251, 255, 0.9);
  box-shadow: inset 0 0 18px rgba(183, 241, 255, 0.24), 0 0 28px rgba(104, 223, 255, 0.28);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 40px;
  border: 1px solid rgba(161, 231, 255, 0.55);
  border-radius: var(--radius);
  background: rgba(7, 13, 18, 0.7);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--neon-strong);
  box-shadow: 0 0 10px var(--neon);
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(var(--content), calc(100vw - 42px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 78px) 0 88px;
  outline: none;
}

.page {
  animation: pageIn 420ms ease both;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  gap: clamp(34px, 6vw, 72px);
}

.hero-home {
  min-height: 600px;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 390px);
  direction: ltr;
}

.hero-copy {
  align-self: center;
  direction: rtl;
  text-align: right;
}

.hero-copy h1,
.page-title {
  margin: 0;
  color: transparent;
  font-weight: 900;
  line-height: 1.08;
  background: linear-gradient(180deg, #ffffff 0%, #d7dddd 36%, #f7fbfb 52%, #98a4a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.14));
}

.hero-copy h1 {
  font-size: clamp(2.45rem, 5vw, 4.65rem);
  max-width: 680px;
}

.page-title {
  font-size: clamp(3rem, 7vw, 5.6rem);
  text-align: center;
}

.hero-copy p {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(226, 233, 235, 0.86);
  font-size: clamp(1.03rem, 1.65vw, 1.25rem);
  line-height: 2;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 410px;
}

.hero-art::before {
  position: absolute;
  inset: 6% 1%;
  content: "";
  border: 1px solid rgba(183, 241, 255, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(104, 223, 255, 0.1), transparent 58%),
    conic-gradient(from 120deg, transparent, rgba(104, 223, 255, 0.22), transparent 42%, rgba(255, 255, 255, 0.18), transparent 68%);
  filter: blur(0.2px);
  opacity: 0.9;
  animation: orbitSpin 18s linear infinite;
}

.hero-ring {
  position: relative;
  z-index: 1;
  width: min(100%, 385px);
  max-height: 450px;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(104, 223, 255, 0.3));
  -webkit-mask-image: radial-gradient(ellipse 62% 74% at 52% 48%, #000 62%, rgba(0, 0, 0, 0.8) 76%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 74% at 52% 48%, #000 62%, rgba(0, 0, 0, 0.8) 76%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  clip-path: ellipse(49% 50% at 50% 50%);
  animation: haloBreath 7s ease-in-out infinite;
}

.focus-stack {
  position: absolute;
  right: -12px;
  bottom: 58px;
  z-index: 2;
  display: grid;
  gap: 8px;
  min-width: 116px;
  margin: 0;
  padding: 15px 16px;
  border: 1px solid rgba(219, 239, 245, 0.38);
  border-radius: var(--radius);
  background: rgba(9, 15, 20, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 18px 38px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  color: rgba(243, 247, 248, 0.9);
  font-size: 0.88rem;
  list-style: none;
  direction: rtl;
}

.focus-stack li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.focus-stack i {
  width: 13px;
  height: 13px;
  border: 1px solid var(--neon-strong);
  border-radius: 50%;
  background: rgba(104, 223, 255, 0.18);
  box-shadow: inset 0 0 5px var(--neon), 0 0 10px var(--neon);
  animation: nodePulse 2.6s ease-in-out infinite;
}

.home-centered-hero {
  display: grid;
  place-items: center;
  gap: 20px;
  text-align: center;
}

.intro-panel,
.about-panel,
.contact-form,
.neon-card,
.stat-card,
.map-step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.025) 48%, rgba(104, 223, 255, 0.045)),
    var(--glass);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.17),
    inset 0 -1px 0 rgba(104, 223, 255, 0.16),
    0 20px 45px var(--shadow);
  backdrop-filter: blur(20px) saturate(132%);
}

.intro-panel::before,
.about-panel::before,
.contact-form::before,
.neon-card::before,
.stat-card::before,
.map-step::before {
  position: absolute;
  top: 0;
  right: 16px;
  left: 16px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  opacity: 0.58;
}

.intro-panel {
  width: min(760px, 100%);
  padding: clamp(24px, 3vw, 36px);
  color: rgba(226, 233, 235, 0.86);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.95;
}

.stats-grid,
.stats-strip,
.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 26px);
  width: min(820px, 100%);
  margin: 34px auto 76px;
}

.stat-card {
  display: grid;
  place-items: center;
  min-height: 135px;
  padding: 18px 14px;
  text-align: center;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.stat-card:hover,
.neon-card:hover,
.map-step:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 249, 255, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(104, 223, 255, 0.26),
    0 28px 58px rgba(0, 0, 0, 0.42),
    0 0 28px rgba(104, 223, 255, 0.18);
}

.stat-card .icon,
.metric .icon {
  width: 38px;
  height: 38px;
  color: var(--neon-strong);
  filter: drop-shadow(0 0 10px rgba(104, 223, 255, 0.5));
}

.stat-card .icon svg,
.metric .icon svg,
.map-step-icon svg {
  width: 100%;
  height: 100%;
}

.stat-card strong,
.metric strong {
  display: block;
  margin-top: 6px;
  color: #ffffff;
  font-size: clamp(1.95rem, 4vw, 2.9rem);
  font-weight: 900;
  line-height: 1;
}

.stat-card span,
.metric span {
  color: rgba(226, 233, 235, 0.78);
  font-size: 0.96rem;
}

.metrics-row {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.metric {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-align: right;
}

.section-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(820px, 100%);
  margin: 14px auto 38px;
  color: rgba(245, 250, 251, 0.94);
  font-size: clamp(1.24rem, 2.4vw, 1.75rem);
  font-weight: 900;
  text-align: center;
}

.section-title::before,
.section-title::after {
  flex: 1 1 100px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(104, 223, 255, 0.7), transparent);
  box-shadow: 0 0 12px rgba(104, 223, 255, 0.42);
}

.service-grid,
.portfolio-grid,
.showcase-row,
.intake-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.service-grid {
  margin: 0 auto 82px;
}

.neon-card {
  min-height: 132px;
  padding: 24px;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.neon-card::after,
.map-step::after {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(104, 223, 255, 0.85), transparent);
  opacity: 0.56;
}

.card-content {
  display: grid;
  grid-template-columns: 1fr 58px;
  gap: 16px;
  align-items: center;
}

.card-copy h3 {
  margin: 0 0 9px;
  color: #f8fbfc;
  font-size: clamp(1.16rem, 2vw, 1.45rem);
  font-weight: 900;
  line-height: 1.18;
}

.card-copy p {
  margin: 0;
  color: rgba(205, 216, 221, 0.78);
  font-size: 0.95rem;
  line-height: 1.62;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #f1fbff;
  filter: drop-shadow(0 0 9px rgba(104, 223, 255, 0.58));
}

.card-icon svg {
  width: 54px;
  height: 54px;
  stroke-width: 1.35;
}

.services-hero,
.simple-hero {
  display: grid;
  justify-items: center;
  min-height: 520px;
  padding-top: 6px;
  text-align: center;
}

.gear-art {
  width: min(570px, 92vw);
  margin-top: 24px;
  filter: drop-shadow(0 0 30px rgba(104, 223, 255, 0.24));
  animation: haloBreath 8s ease-in-out infinite;
}

.about-panel {
  width: min(840px, 100%);
  margin: 36px auto 88px;
  padding: clamp(36px, 5vw, 60px);
  color: rgba(226, 233, 235, 0.84);
  font-size: clamp(1rem, 1.65vw, 1.18rem);
  line-height: 2.05;
  text-align: center;
  overflow: hidden;
}

.about-panel::after {
  display: none;
}

.about-panel p {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
}

.about-panel p:last-child {
  margin-bottom: 0;
}


.intake-map {
  position: relative;
  margin: 0 auto 88px;
  padding-top: 24px;
  isolation: isolate;
}

.intake-map::before {
  position: absolute;
  top: 50%;
  right: 7%;
  left: 7%;
  z-index: -1;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(104, 223, 255, 0.22), rgba(183, 241, 255, 0.76), rgba(104, 223, 255, 0.22), transparent);
  box-shadow: 0 0 18px rgba(104, 223, 255, 0.38);
}

.map-orbit {
  position: absolute;
  inset: -2rem 0;
  z-index: -2;
  background:
    radial-gradient(circle at 16% 22%, rgba(183, 241, 255, 0.095), transparent 13rem),
    radial-gradient(circle at 86% 72%, rgba(104, 223, 255, 0.09), transparent 14rem);
}

.map-step {
  min-height: 198px;
  padding: 26px 24px 24px;
  text-align: right;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.map-step:nth-of-type(odd) {
  transform: translateY(-12px);
}

.map-step:nth-of-type(even) {
  transform: translateY(12px);
}

.map-step:nth-of-type(odd):hover {
  transform: translateY(-18px);
}

.map-step:nth-of-type(even):hover {
  transform: translateY(6px);
}

.map-step-index {
  position: absolute;
  top: -15px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--neon-strong);
  border-radius: 50%;
  background: rgba(4, 8, 12, 0.92);
  color: #f8fdff;
  font-weight: 900;
  box-shadow: 0 0 16px rgba(104, 223, 255, 0.42);
}

.map-step-icon {
  width: 44px;
  height: 44px;
  margin: 0 0 14px auto;
  color: var(--neon-strong);
  filter: drop-shadow(0 0 9px rgba(104, 223, 255, 0.54));
}

.map-step h3 {
  margin: 0 0 10px;
  color: #f7fbfc;
  font-size: clamp(1.16rem, 2vw, 1.44rem);
  font-weight: 900;
}

.map-step p {
  margin: 0;
  color: rgba(205, 216, 221, 0.78);
  font-size: 0.95rem;
  line-height: 1.72;
}

.landing-contact {
  display: grid;
  grid-template-columns: minmax(300px, 500px);
  justify-content: center;
  margin: 38px 0 0;
}

.contact-form {
  display: grid;
  gap: 12px;
  width: 100%;
  padding: 26px;
}

.field {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(202, 230, 239, 0.48);
  border-radius: calc(var(--radius) - 2px);
  background: rgba(2, 7, 11, 0.48);
  color: #eef9fc;
  padding: 11px 14px;
  outline: none;
  direction: rtl;
  box-shadow: inset 0 0 12px rgba(104, 223, 255, 0.08);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field::placeholder {
  color: rgba(205, 216, 221, 0.72);
}

.field:focus {
  border-color: rgba(183, 241, 255, 0.82);
  box-shadow: inset 0 0 14px rgba(104, 223, 255, 0.14), 0 0 18px rgba(104, 223, 255, 0.18);
}

textarea.field {
  min-height: 124px;
  resize: vertical;
}

.contact-form .ghost-button {
  justify-self: start;
  margin-top: 6px;
}

.site-footer {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-top: 1px solid rgba(202, 230, 239, 0.26);
  background: linear-gradient(180deg, rgba(12, 20, 27, 0.78), rgba(1, 4, 7, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.site-footer::before {
  top: 0;
}

.footer-glow {
  display: none;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 32px;
  width: min(var(--content), calc(100vw - 42px));
  margin: 0 auto;
  padding: 48px 0 42px;
  align-items: start;
}

.footer-center {
  display: grid;
  justify-items: center;
  text-align: center;
}

.footer-logo {
  color: transparent;
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 0.92;
  background: linear-gradient(180deg, #fff 0%, #a6afb2 48%, #f7fbfb 58%, #69777e 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.footer-center > span,
.footer-center p,
.footer-side {
  color: rgba(214, 224, 228, 0.76);
  font-style: normal;
}

.footer-center p {
  margin: 24px 0 20px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.footer-brandline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding-top: 18px;
  direction: rtl;
}

.footer-brandline i {
  display: block;
  width: 4px;
  height: 18px;
  background: var(--neon-strong);
  box-shadow: 0 0 12px var(--neon);
}

.footer-contact {
  display: grid;
  justify-items: end;
  gap: 12px;
  padding-top: 12px;
  direction: rtl;
}

.footer-contact a {
  position: relative;
  padding-right: 26px;
  unicode-bidi: plaintext;
}

.footer-contact a::before {
  position: absolute;
  top: 50%;
  right: 0;
  width: 13px;
  height: 13px;
  content: "";
  border: 1px solid var(--neon-strong);
  border-radius: 50%;
  box-shadow: 0 0 9px var(--neon);
  transform: translateY(-50%);
}

.service-only {
  padding-top: 8px;
}

.page-contact .section-title {
  margin-top: 0;
}

.page-portfolio .simple-hero {
  min-height: 250px;
}

.portfolio-heading {
  display: block;
  margin: 0 auto 20px;
  text-align: center;
}

.reveal {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 520ms ease, translate 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ambientPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.03);
  }
}

@keyframes neuronFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate3d(10px, -14px, 0) scale(1.025);
    opacity: 0.74;
  }
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes nodePulse {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes haloBreath {
  0%,
  100% {
    filter: drop-shadow(0 0 18px rgba(104, 223, 255, 0.24));
  }
  50% {
    filter: drop-shadow(0 0 32px rgba(183, 241, 255, 0.38));
  }
}

@media (max-width: 980px) {
  .site-header {
    width: min(95vw, 880px);
  }

  .main-nav {
    gap: clamp(14px, 3vw, 34px);
  }
}

@media (max-width: 700px) {
  :root {
    --nav-h: 56px;
  }

  .site-header {
    top: 10px;
    margin-top: 10px;
    gap: 10px;
  }

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

  .brand-mark img {
    width: 36px;
    height: 36px;
  }

  .quote-button {
    min-height: 34px;
    padding: 0 13px;
    font-size: 0.88rem;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
    border: 1px solid rgba(202, 230, 239, 0.38);
    border-radius: var(--radius);
    background: rgba(6, 11, 15, 0.94);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(18px);
  }

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

  .app-shell {
    width: min(100vw - 28px, var(--content));
    padding-top: 42px;
  }

  .hero-home {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
  }

  .hero-copy {
    text-align: center;
    order: 2;
  }

  .hero-copy p {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-art {
    order: 1;
  }

  .stats-grid,
  .stats-strip,
  .metrics-row,
  .service-grid,
  .portfolio-grid,
  .showcase-row,
  .intake-map,
  .landing-contact,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .stats-strip,
  .metrics-row,
  .service-grid,
  .intake-map {
    width: min(400px, 100%);
  }

  .intake-map::before {
    top: 0;
    right: 50%;
    bottom: 0;
    left: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(183, 241, 255, 0.72), transparent);
  }

  .map-step,
  .map-step:nth-of-type(odd),
  .map-step:nth-of-type(even),
  .map-step:nth-of-type(odd):hover,
  .map-step:nth-of-type(even):hover {
    transform: none;
  }

  .card-content {
    grid-template-columns: 1fr 56px;
  }

  .footer-side,
  .footer-contact,
  .footer-brandline {
    justify-items: center;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .quote-button {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .hero-ring {
    width: min(310px, 90vw);
  }

  .focus-stack {
    right: 2px;
    bottom: 32px;
    min-width: 94px;
    padding: 10px 12px;
    font-size: 0.76rem;
  }

  .intro-panel,
  .about-panel,
  .contact-form {
    padding: 22px;
  }
}

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

@media (max-width: 700px) {
  .site-header .quote-button {
    width: 108px !important;
    max-width: 108px !important;
    min-height: 38px !important;
    padding: 0 6px !important;
    font-size: 0.62rem !important;
    white-space: normal !important;
    line-height: 1.08 !important;
    text-align: center !important;
  }

  .page-about .about-panel,
  .page-about .about-signal,
  .page-about .faq-item {
    width: min(318px, calc(100vw - 72px)) !important;
    max-width: min(318px, calc(100vw - 72px)) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    transform: translateX(-34px) !important;
  }

  .page-about .about-panel {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  .about-quote {
    max-width: 210px !important;
    font-size: clamp(1.2rem, 6.4vw, 1.62rem) !important;
    line-height: 1.3 !important;
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
    overflow-wrap: anywhere !important;
  }

  .about-panel p {
    font-size: 0.94rem !important;
    line-height: 1.72 !important;
    text-align: center !important;
  }
}

/* Absolute final overrides for the current production pass. */
.site-header {
  width: calc(100vw - 48px) !important;
  max-width: none !important;
  min-height: 92px !important;
  margin: 16px 24px 0 !important;
  padding: 10px 20px !important;
  gap: clamp(14px, 2vw, 28px) !important;
  border-color: rgba(255, 242, 189, 0.32) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 42%, rgba(10, 10, 10, 0.66)),
    linear-gradient(90deg, rgba(255, 242, 189, 0.075), rgba(255, 255, 255, 0.035), rgba(104, 223, 255, 0.05)),
    rgba(5, 7, 8, 0.76) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 242, 189, 0.16),
    0 22px 60px rgba(0, 0, 0, 0.36),
    0 0 34px rgba(216, 185, 106, 0.1) !important;
  backdrop-filter: blur(26px) saturate(150%) !important;
}

.brand-mark {
  display: block !important;
  flex: 0 0 clamp(230px, 21vw, 330px) !important;
  width: clamp(230px, 21vw, 330px) !important;
  min-width: clamp(230px, 21vw, 330px) !important;
  height: clamp(74px, 7vw, 98px) !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 14px !important;
  border-color: rgba(255, 242, 189, 0.26) !important;
  background: rgba(0, 0, 0, 0.46) !important;
}

.brand-mark img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  flex: 0 0 auto !important;
  object-fit: cover !important;
  object-position: center bottom !important;
  border-radius: 0 !important;
  filter: drop-shadow(0 0 14px rgba(255, 242, 189, 0.22)) !important;
}

.brand-wordmark {
  display: none !important;
}

.main-nav {
  justify-content: center !important;
  gap: clamp(24px, 4.2vw, 66px) !important;
}

.site-header .nav-link,
.site-header .quote-button {
  color: #ffffff !important;
}

.site-header .nav-link.is-active,
.site-header .nav-link:hover {
  color: #fff8dd !important;
  text-shadow: 0 0 16px rgba(255, 242, 189, 0.42) !important;
}

.accessibility-widget {
  right: auto !important;
  left: 18px !important;
  justify-items: start !important;
}

.accessibility-toggle {
  border-radius: 50% !important;
}

.accessibility-panel {
  right: auto !important;
  left: 0 !important;
}

.architect-readout,
.readout-a,
.readout-b,
.readout-c {
  display: none !important;
}

.cinematic-gate .architect-logo-wire {
  display: none !important;
}

.architect-text-lines path {
  stroke: rgba(255, 242, 189, 0.72) !important;
  stroke-width: 2.2 !important;
  filter:
    drop-shadow(0 0 6px rgba(255, 242, 189, 0.34))
    drop-shadow(0 0 14px rgba(104, 223, 255, 0.14)) !important;
}

.intro-panel,
.about-panel,
.contact-form,
.contact-copy,
.neon-card,
.stat-card,
.map-step,
.mindmap-4d .mind-node,
.service-detail-card,
.timeline-step,
.trust-card,
.about-signal,
.faq-item,
.guide-card,
.portfolio-3d-card,
.legal-page {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.025) 54%, rgba(216, 185, 106, 0.035)),
    rgba(8, 10, 10, 0.78) !important;
}

.portfolio-3d-card::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.045)) !important;
}

.mindmap-4d .mind-node::after,
.about-panel::after,
.service-detail-card::after {
  background: linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.12) 50%, transparent 58% 100%) !important;
}

.mind-step-1 { --x: 50% !important; --y: 9% !important; --z: 82px !important; --rx: -9deg !important; --ry: 0deg !important; }
.mind-step-2 { --x: 82% !important; --y: 25% !important; --z: 70px !important; --rx: -7deg !important; --ry: -11deg !important; }
.mind-step-3 { --x: 82% !important; --y: 73% !important; --z: 44px !important; --rx: 6deg !important; --ry: -8deg !important; }
.mind-step-4 { --x: 50% !important; --y: 93% !important; --z: 38px !important; --rx: 8deg !important; --ry: 0deg !important; }
.mind-step-5 { --x: 18% !important; --y: 73% !important; --z: 78px !important; --rx: 6deg !important; --ry: 9deg !important; }
.mind-step-6 { --x: 18% !important; --y: 25% !important; --z: 54px !important; --rx: -6deg !important; --ry: 11deg !important; }

.guides-hero {
  align-content: start !important;
}

.guide-card {
  min-height: 330px !important;
}

@media (max-width: 1120px) {
  .brand-mark {
    flex-basis: 180px !important;
    width: 180px !important;
    min-width: 180px !important;
    height: 66px !important;
  }

  .main-nav {
    gap: clamp(14px, 2.2vw, 28px) !important;
  }
}

@media (max-width: 760px) {
  html,
  body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .site-header {
    top: 8px !important;
    width: calc(100vw - 16px) !important;
    min-height: 62px !important;
    margin: 8px 8px 0 !important;
    padding: 7px 8px !important;
    gap: 7px !important;
    border-radius: 14px !important;
  }

  .brand-mark {
    display: block !important;
    flex: 0 0 112px !important;
    width: 112px !important;
    min-width: 112px !important;
    height: 42px !important;
    border-radius: 10px !important;
  }

  .site-header .brand-mark {
    display: block !important;
  }

  .site-header .quote-button {
    flex: 0 1 128px !important;
    width: auto !important;
    max-width: 128px !important;
    min-height: 38px !important;
    padding: 0 8px !important;
    font-size: 0.68rem !important;
    line-height: 1.12 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  .menu-toggle {
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 38px !important;
  }

  .main-nav {
    top: calc(100% + 10px) !important;
    right: 0 !important;
    left: 0 !important;
    max-height: calc(100vh - 92px) !important;
    overflow-y: auto !important;
  }

  .app-shell {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 46px 16px 72px !important;
  }

  .hero-copy,
  .simple-hero,
  .home-centered-hero,
  .page-guides,
  .page-portfolio,
  .page-about,
  .page-contact {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .hero-copy h1,
  .page-title {
    max-width: 100% !important;
    font-size: clamp(2.2rem, 11vw, 3.4rem) !important;
    line-height: 1.08 !important;
    overflow-wrap: break-word !important;
  }

  .hero-copy p,
  .guides-intro,
  .about-panel p,
  .contact-copy p {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
  }

  .stats-grid,
  .service-grid,
  .service-detail-grid,
  .trust-grid,
  .guides-grid,
  .contact-promises,
  .compact-metrics,
  .about-signals {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 430px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .premium-intake-map,
  .mindmap-4d {
    display: grid !important;
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    padding: 22px 0 !important;
    perspective: none !important;
  }

  .mindmap-links,
  .mindmap-core,
  .map-orbit {
    display: none !important;
  }

  .mindmap-4d .mind-node,
  .mindmap-4d .mind-node:nth-of-type(odd),
  .mindmap-4d .mind-node:nth-of-type(even),
  .mindmap-4d .mind-node:hover {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 430px !important;
    min-height: auto !important;
    margin: 0 auto 16px !important;
    transform: none !important;
  }

  .portfolio-3d-section,
  .portfolio-3d-grid {
    width: 100% !important;
    max-width: 430px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .portfolio-3d-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    padding: 0 !important;
    perspective: none !important;
  }

  .portfolio-3d-wrapper,
  .portfolio-3d-wrapper:nth-child(3n + 1),
  .portfolio-3d-wrapper:nth-child(3n + 2),
  .portfolio-3d-wrapper:nth-child(3n) {
    --base-rotate-y: 0 !important;
    --base-x: 0px !important;
    --base-z: 0px !important;
    --base-y: 0px !important;
    --base-scale: 1 !important;
  }

  .portfolio-3d-card {
    border-radius: 12px !important;
  }

  .contact-compact {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 430px !important;
  }

  .accessibility-widget {
    right: auto !important;
    left: 12px !important;
    bottom: 12px !important;
  }
}

@media (max-width: 420px) {
  .brand-mark {
    flex-basis: 96px !important;
    width: 96px !important;
    min-width: 96px !important;
    height: 38px !important;
  }

  .site-header .brand-mark {
    display: block !important;
  }

  .site-header .quote-button {
    max-width: 112px !important;
    font-size: 0.62rem !important;
    padding: 0 5px !important;
  }

  .app-shell {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }
}

/* Mobile viewport lock: prevents RTL horizontal clipping from long premium labels. */
@media (max-width: 760px) {
  *,
  *::before,
  *::after {
    max-width: 100vw;
  }

  body {
    position: relative;
  }

  .site-header {
    justify-content: space-between !important;
    overflow: visible !important;
  }

  .main-nav {
    display: none !important;
  }

  .main-nav.is-open {
    display: flex !important;
  }

  .hero-copy,
  .hero-copy > *,
  .simple-hero,
  .simple-hero > *,
  .section-title,
  .typing-title,
  .typing-subtitle,
  .hero-kicker,
  .guides-kicker,
  .about-kicker,
  .guides-intro {
    width: 100% !important;
    max-width: calc(100vw - 32px) !important;
    min-width: 0 !important;
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }

  .hero-kicker,
  .guides-kicker,
  .about-kicker {
    display: inline-flex !important;
    justify-content: center !important;
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  .cta-row,
  .hero-actions {
    width: 100% !important;
    max-width: calc(100vw - 32px) !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
  }

  .stat-card,
  .neon-card,
  .service-detail-card,
  .trust-card,
  .guide-card,
  .about-signal,
  .faq-item,
  .portfolio-3d-wrapper,
  .portfolio-3d-card,
  .contact-form,
  .contact-copy {
    width: 100% !important;
    max-width: calc(100vw - 32px) !important;
    min-width: 0 !important;
  }
}

@media (max-width: 420px) {
  .site-header {
    width: calc(100vw - 12px) !important;
    margin: 6px 6px 0 !important;
    padding: 6px !important;
  }

  .brand-mark {
    flex: 0 0 90px !important;
    width: 90px !important;
    min-width: 90px !important;
    height: 36px !important;
  }

  .site-header .quote-button {
    flex-basis: 106px !important;
    max-width: 106px !important;
  }

  .menu-toggle {
    flex-basis: 36px !important;
    width: 36px !important;
    height: 36px !important;
  }
}

/* Final production overrides: full-width Web4 header, clean cards, corrected map order, mobile stability. */
.site-header {
  width: calc(100vw - 48px) !important;
  max-width: none !important;
  min-height: 92px !important;
  margin: 16px 24px 0 !important;
  padding: 10px 20px !important;
  gap: clamp(14px, 2vw, 28px) !important;
  border-color: rgba(255, 242, 189, 0.32) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 42%, rgba(10, 10, 10, 0.66)),
    linear-gradient(90deg, rgba(255, 242, 189, 0.075), rgba(255, 255, 255, 0.035), rgba(104, 223, 255, 0.05)),
    rgba(5, 7, 8, 0.76) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 242, 189, 0.16),
    0 22px 60px rgba(0, 0, 0, 0.36),
    0 0 34px rgba(216, 185, 106, 0.1) !important;
  backdrop-filter: blur(26px) saturate(150%) !important;
}

.site-header::after {
  right: 4% !important;
  left: 4% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), rgba(255, 242, 189, 0.78), rgba(104, 223, 255, 0.36), transparent) !important;
}

.brand-mark {
  flex: 0 0 clamp(196px, 18vw, 292px) !important;
  width: clamp(196px, 18vw, 292px) !important;
  min-width: clamp(196px, 18vw, 292px) !important;
  height: clamp(70px, 6.8vw, 96px) !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 14px !important;
  border-color: rgba(255, 242, 189, 0.26) !important;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42)),
    rgba(0, 0, 0, 0.4) !important;
}

.brand-mark img {
  width: 100% !important;
  height: 100% !important;
  flex-basis: auto !important;
  object-fit: cover !important;
  object-position: center bottom !important;
  border-radius: 0 !important;
  filter: drop-shadow(0 0 14px rgba(255, 242, 189, 0.22)) !important;
}

.brand-wordmark {
  display: none !important;
}

.main-nav {
  justify-content: center !important;
  gap: clamp(24px, 4.2vw, 66px) !important;
}

.site-header .nav-link,
.site-header .quote-button {
  color: #ffffff !important;
}

.site-header .nav-link.is-active,
.site-header .nav-link:hover {
  color: #fff8dd !important;
  text-shadow: 0 0 16px rgba(255, 242, 189, 0.42) !important;
}

.accessibility-widget {
  right: auto !important;
  left: 18px !important;
  justify-items: start !important;
}

.accessibility-toggle {
  border-radius: 50% !important;
}

.accessibility-panel {
  right: auto !important;
  left: 0 !important;
}

.architect-readout,
.readout-a,
.readout-b,
.readout-c {
  display: none !important;
}

.cinematic-gate .architect-logo-wire {
  display: none !important;
}

.architect-text-lines path {
  stroke: rgba(255, 242, 189, 0.72) !important;
  stroke-width: 2.2 !important;
  filter:
    drop-shadow(0 0 6px rgba(255, 242, 189, 0.34))
    drop-shadow(0 0 14px rgba(104, 223, 255, 0.14)) !important;
}

.intro-panel,
.about-panel,
.contact-form,
.contact-copy,
.neon-card,
.stat-card,
.map-step,
.mindmap-4d .mind-node,
.service-detail-card,
.timeline-step,
.trust-card,
.about-signal,
.faq-item,
.guide-card,
.portfolio-3d-card,
.legal-page {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.025) 54%, rgba(216, 185, 106, 0.035)),
    rgba(8, 10, 10, 0.78) !important;
}

.portfolio-3d-card::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.045)) !important;
}

.mindmap-4d .mind-node::after,
.about-panel::after,
.service-detail-card::after {
  background: linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.12) 50%, transparent 58% 100%) !important;
}

.mind-step-1 { --x: 50% !important; --y: 9% !important; --z: 82px !important; --rx: -9deg !important; --ry: 0deg !important; }
.mind-step-2 { --x: 82% !important; --y: 25% !important; --z: 70px !important; --rx: -7deg !important; --ry: -11deg !important; }
.mind-step-3 { --x: 82% !important; --y: 73% !important; --z: 44px !important; --rx: 6deg !important; --ry: -8deg !important; }
.mind-step-4 { --x: 50% !important; --y: 93% !important; --z: 38px !important; --rx: 8deg !important; --ry: 0deg !important; }
.mind-step-5 { --x: 18% !important; --y: 73% !important; --z: 78px !important; --rx: 6deg !important; --ry: 9deg !important; }
.mind-step-6 { --x: 18% !important; --y: 25% !important; --z: 54px !important; --rx: -6deg !important; --ry: 11deg !important; }

.guides-hero {
  align-content: start !important;
}

.guide-card {
  min-height: 330px !important;
}

@media (max-width: 1120px) {
  .site-header {
    gap: 12px !important;
  }

  .brand-mark {
    flex-basis: 180px !important;
    width: 180px !important;
    min-width: 180px !important;
    height: 66px !important;
  }

  .main-nav {
    gap: clamp(14px, 2.2vw, 28px) !important;
  }
}

@media (max-width: 760px) {
  html,
  body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .site-header {
    top: 8px !important;
    width: calc(100vw - 16px) !important;
    min-height: 62px !important;
    margin: 8px 8px 0 !important;
    padding: 7px 8px !important;
    gap: 7px !important;
    border-radius: 14px !important;
  }

  .brand-mark {
    flex: 0 0 112px !important;
    width: 112px !important;
    min-width: 112px !important;
    height: 42px !important;
    border-radius: 10px !important;
  }

  .site-header .quote-button {
    flex: 0 1 128px !important;
    width: auto !important;
    max-width: 128px !important;
    min-height: 38px !important;
    padding: 0 8px !important;
    font-size: 0.68rem !important;
    line-height: 1.12 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  .menu-toggle {
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 38px !important;
  }

  .main-nav {
    top: calc(100% + 10px) !important;
    right: 0 !important;
    left: 0 !important;
    max-height: calc(100vh - 92px) !important;
    overflow-y: auto !important;
  }

  .app-shell {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 46px 16px 72px !important;
  }

  .hero-copy,
  .simple-hero,
  .home-centered-hero,
  .page-guides,
  .page-portfolio,
  .page-about,
  .page-contact {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .hero-copy h1,
  .page-title {
    max-width: 100% !important;
    font-size: clamp(2.2rem, 11vw, 3.4rem) !important;
    line-height: 1.08 !important;
    overflow-wrap: break-word !important;
  }

  .hero-copy p,
  .guides-intro,
  .about-panel p,
  .contact-copy p {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
  }

  .stats-grid,
  .service-grid,
  .service-detail-grid,
  .trust-grid,
  .guides-grid,
  .contact-promises,
  .compact-metrics,
  .about-signals {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 430px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .premium-intake-map,
  .mindmap-4d {
    display: grid !important;
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    padding: 22px 0 !important;
    perspective: none !important;
  }

  .mindmap-links,
  .mindmap-core,
  .map-orbit {
    display: none !important;
  }

  .mindmap-4d .mind-node,
  .mindmap-4d .mind-node:nth-of-type(odd),
  .mindmap-4d .mind-node:nth-of-type(even),
  .mindmap-4d .mind-node:hover {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 430px !important;
    min-height: auto !important;
    margin: 0 auto 16px !important;
    transform: none !important;
  }

  .portfolio-3d-section,
  .portfolio-3d-grid {
    width: 100% !important;
    max-width: 430px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .portfolio-3d-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    padding: 0 !important;
    perspective: none !important;
  }

  .portfolio-3d-wrapper,
  .portfolio-3d-wrapper:nth-child(3n + 1),
  .portfolio-3d-wrapper:nth-child(3n + 2),
  .portfolio-3d-wrapper:nth-child(3n) {
    --base-rotate-y: 0 !important;
    --base-x: 0px !important;
    --base-z: 0px !important;
    --base-y: 0px !important;
    --base-scale: 1 !important;
  }

  .portfolio-3d-card {
    border-radius: 12px !important;
  }

  .contact-compact {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 430px !important;
  }

  .accessibility-widget {
    right: auto !important;
    left: 12px !important;
    bottom: 12px !important;
  }
}

@media (max-width: 420px) {
  .brand-mark {
    flex-basis: 96px !important;
    width: 96px !important;
    min-width: 96px !important;
    height: 38px !important;
  }

  .site-header .quote-button {
    max-width: 112px !important;
    font-size: 0.62rem !important;
    padding: 0 5px !important;
  }

  .app-shell {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }
}

/* Requested navigation, intro, card and mobile pass */
.site-header {
  width: calc(100vw - 32px) !important;
  max-width: none !important;
  min-height: 112px !important;
  margin-top: 14px !important;
  padding: 10px 18px !important;
  border-radius: 18px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.035)),
    rgba(8, 9, 9, 0.58) !important;
  border-color: rgba(255, 242, 189, 0.42) !important;
  backdrop-filter: blur(28px) saturate(135%) !important;
}

.brand-mark {
  min-width: 190px !important;
  width: 190px !important;
  height: 92px !important;
  padding: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: rgba(0, 0, 0, 0.38) !important;
}

.brand-mark img {
  width: 100% !important;
  height: 100% !important;
  flex: 0 0 auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 10px !important;
  filter: drop-shadow(0 0 14px rgba(255, 242, 189, 0.32)) !important;
}

.brand-wordmark {
  display: none !important;
}

.main-nav {
  gap: clamp(18px, 3.2vw, 52px) !important;
}

.accessibility-widget {
  right: auto !important;
  left: 18px !important;
  justify-items: start !important;
}

.accessibility-panel {
  transform-origin: bottom left !important;
}

.architect-readout,
.readout-a,
.readout-b,
.readout-c {
  display: none !important;
}

.architect-text-lines path {
  stroke: rgba(255, 242, 189, 0.84);
  stroke-width: 1.35;
  filter:
    drop-shadow(0 0 8px rgba(255, 242, 189, 0.38))
    drop-shadow(0 0 12px rgba(104, 223, 255, 0.16));
}

.cinematic-gate .architect-logo-wire {
  display: none !important;
}

.cinematic-gate .architect-logo-final {
  filter:
    grayscale(0)
    brightness(1.08)
    contrast(1.04)
    drop-shadow(0 0 28px rgba(255, 242, 189, 0.32))
    drop-shadow(0 0 38px rgba(104, 223, 255, 0.12)) !important;
}

.architectural-logo-reveal::after {
  background:
    linear-gradient(90deg, transparent 0 42%, rgba(255, 242, 189, 0.1) 47%, rgba(255, 255, 255, 0.34) 50%, rgba(104, 223, 255, 0.13) 53%, transparent 58% 100%) !important;
}

.neon-card,
.stat-card,
.service-detail-card,
.timeline-step,
.trust-card,
.about-signal,
.about-panel,
.contact-form,
.contact-copy,
.faq-item,
.guide-card,
.map-step,
.legal-page {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.022) 52%, rgba(216, 185, 106, 0.032)),
    rgba(11, 12, 11, 0.74) !important;
}

.portfolio-3d-card::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 16%, transparent 84%, rgba(255, 255, 255, 0.05)) !important;
}

.mind-step-1 { --x: 50%; --y: 9%; --z: 82px; --rx: -9deg; --ry: 0deg; }
.mind-step-2 { --x: 82%; --y: 25%; --z: 70px; --rx: -7deg; --ry: -11deg; }
.mind-step-3 { --x: 82%; --y: 73%; --z: 44px; --rx: 6deg; --ry: -8deg; }
.mind-step-4 { --x: 50%; --y: 93%; --z: 38px; --rx: 8deg; --ry: 0deg; }
.mind-step-5 { --x: 18%; --y: 73%; --z: 78px; --rx: 6deg; --ry: 9deg; }
.mind-step-6 { --x: 18%; --y: 25%; --z: 54px; --rx: -6deg; --ry: 11deg; }

.guides-hero {
  min-height: auto !important;
}

.guides-kicker {
  display: inline-flex;
  justify-content: center;
  max-width: 100%;
  margin-bottom: 16px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 242, 189, 0.36);
  border-radius: 999px;
  color: rgba(255, 242, 189, 0.8);
  font-size: 0.9rem;
  font-weight: 900;
  background: rgba(255, 242, 189, 0.05);
}

.guides-intro {
  width: min(760px, 100%);
  margin: 0 auto 34px;
  color: rgba(230, 222, 198, 0.82);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.8;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  width: min(1320px, 100%);
  margin: 0 auto 80px;
}

.guide-card {
  position: relative;
  min-height: 420px;
  padding: 24px 20px 22px;
  border: 1px solid rgba(255, 242, 189, 0.28);
  border-radius: var(--radius);
  text-align: right;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 221, 0.13),
    0 16px 34px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.guide-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 242, 189, 0.64);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 221, 0.18),
    0 22px 44px rgba(0, 0, 0, 0.36),
    0 0 24px rgba(216, 185, 106, 0.16);
}

.guide-card-number {
  position: absolute;
  top: 16px;
  left: 18px;
  color: rgba(255, 242, 189, 0.22);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.guide-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  color: rgba(255, 242, 189, 0.76);
  font-size: 0.78rem;
  font-weight: 900;
}

.guide-card h2 {
  margin: 0 0 14px;
  color: var(--champagne);
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  line-height: 1.2;
}

.guide-card p {
  margin: 0 0 18px;
  color: rgba(230, 222, 198, 0.82);
  line-height: 1.72;
}

.guide-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-card li {
  position: relative;
  padding-right: 18px;
  color: rgba(245, 239, 219, 0.76);
  font-size: 0.92rem;
  line-height: 1.55;
}

.guide-card li::before {
  position: absolute;
  top: 0.68em;
  right: 0;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(216, 185, 106, 0.54);
}

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

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  .site-header {
    top: 8px !important;
    width: calc(100vw - 16px) !important;
    min-height: 64px !important;
    margin: 8px 8px 0 !important;
    padding: 7px 8px !important;
    gap: 8px !important;
    border-radius: 14px !important;
  }

  .site-header .brand-mark {
    display: none !important;
  }

  .menu-toggle {
    order: -1 !important;
    display: block !important;
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 38px !important;
  }

  .site-header .quote-button {
    flex: 0 1 164px !important;
    width: auto !important;
    max-width: 164px !important;
    min-height: 38px !important;
    padding: 0 10px !important;
    font-size: 0.76rem !important;
    line-height: 1.12 !important;
    white-space: normal !important;
  }

  .main-nav {
    top: calc(100% + 10px) !important;
    max-height: calc(100vh - 98px);
    overflow: auto;
  }

  .app-shell {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 46px 16px 72px !important;
  }

  .hero-home {
    min-height: auto !important;
    padding-top: 36px;
  }

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

  .hero-copy h1 {
    font-size: clamp(2rem, 12vw, 3.3rem) !important;
    line-height: 1.08 !important;
  }

  .typewriter-copy {
    min-height: auto !important;
  }

  .stats-grid,
  .service-grid,
  .service-detail-grid,
  .trust-grid,
  .guides-grid,
  .contact-promises,
  .compact-metrics {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 430px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .guide-card {
    min-height: auto;
  }

  .mindmap-4d {
    width: 100% !important;
    max-width: 430px !important;
    margin: 32px auto 70px !important;
  }

  .mindmap-4d .mind-node,
  .mindmap-core {
    transform: none !important;
  }

  .portfolio-3d-section,
  .portfolio-3d-grid {
    width: 100% !important;
    max-width: 430px !important;
  }

  .portfolio-3d-grid {
    grid-template-columns: 1fr !important;
    gap: 1.2rem !important;
    perspective: none !important;
  }

  .portfolio-3d-card {
    transform: none !important;
  }

  .contact-compact {
    width: 100% !important;
    max-width: 430px !important;
    grid-template-columns: 1fr !important;
  }

  .premium-contact-form {
    grid-template-columns: 1fr !important;
  }

  .budget-range {
    grid-template-columns: 1fr !important;
  }

  .site-footer {
    width: calc(100vw - 24px) !important;
  }

  .compact-footer {
    width: 100% !important;
    padding: 12px !important;
  }

  .accessibility-widget {
    left: 12px !important;
    right: auto !important;
    bottom: 12px !important;
  }

  .accessibility-panel {
    width: min(320px, calc(100vw - 24px)) !important;
  }
}

@media (max-width: 420px) {
  .site-header .quote-button {
    max-width: 136px !important;
    font-size: 0.68rem !important;
  }
}

.mindmap-4d .mind-node {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.025) 54%, rgba(104, 223, 255, 0.04)),
    rgba(8, 10, 10, 0.78) !important;
}

.portfolio-3d-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(6, 7, 7, 0.86) !important;
}

/* Final premium pass */
button,
input,
textarea,
select {
  font: inherit;
}

.decor-layers::after {
  position: absolute;
  inset: -12%;
  content: "";
  opacity: 0.34;
  background:
    radial-gradient(circle, rgba(183, 241, 255, 0.72) 0 1px, transparent 2px) 0 0 / 118px 74px,
    linear-gradient(105deg, transparent 0 43%, rgba(104, 223, 255, 0.22) 44%, transparent 46%) 0 0 / 260px 170px,
    linear-gradient(28deg, transparent 0 47%, rgba(183, 241, 255, 0.16) 48%, transparent 50%) 0 0 / 310px 190px;
  filter: drop-shadow(0 0 8px rgba(104, 223, 255, 0.42));
  mix-blend-mode: screen;
  transform: translate3d(0, 0, 0);
  animation: smokeScan 10s ease-in-out infinite;
}

.decor {
  animation-duration: 7s;
}

.decor-neuron-right {
  animation-duration: 8s;
}

.decor-neuron-bottom {
  animation-duration: 9s;
}

.intro-panel,
.about-panel,
.contact-form,
.neon-card,
.stat-card,
.map-step,
.service-detail-card,
.timeline-step,
.trust-card,
.about-signal {
  --mx: 50%;
  --my: 50%;
  background:
    radial-gradient(260px circle at var(--mx) var(--my), rgba(183, 241, 255, 0.12), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.115), rgba(255, 255, 255, 0.025) 50%, rgba(104, 223, 255, 0.04)),
    rgba(8, 15, 21, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(104, 223, 255, 0.14),
    0 14px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px) saturate(124%);
}

.reveal {
  transition-duration: 360ms;
}

.card-icon {
  animation: whiteIconGlow 3s ease-in-out infinite;
}

.premium-intake-map .map-step-icon {
  animation: cyanIconGlow 3s ease-in-out infinite;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: -42px auto 82px;
}

.service-detail-card {
  position: relative;
  min-height: 208px;
  padding: 22px;
  border: 1px solid rgba(202, 230, 239, 0.36);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.service-detail-card:hover,
.trust-card:hover,
.timeline-step:hover,
.about-signal:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 249, 255, 0.72);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34), 0 0 22px rgba(104, 223, 255, 0.16);
}

.service-detail-card h3,
.trust-card h3,
.about-signal h3 {
  margin: 0 0 12px;
  color: #fbfeff;
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  font-weight: 900;
}

.service-detail-card p,
.trust-card p,
.about-signal p {
  margin: 0 0 10px;
  color: rgba(214, 224, 228, 0.78);
  font-size: 0.92rem;
  line-height: 1.62;
}

.premium-intake-map {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: min(1020px, 100%);
  padding: 30px 20px 18px;
  margin-bottom: 78px;
}

.premium-intake-map::before {
  top: 50%;
  right: 4%;
  left: 4%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(104, 223, 255, 0.2), rgba(255, 255, 255, 0.86), rgba(104, 223, 255, 0.2), transparent);
  animation: pathGlow 3s ease-in-out infinite;
}

.premium-intake-map .map-orbit {
  inset: -20px 0;
  opacity: 0.92;
}

.premium-intake-map .map-step {
  min-height: 178px;
  padding: 24px 22px 20px;
  overflow: hidden;
}

.premium-intake-map .map-step:nth-of-type(odd) {
  transform: translateY(-8px);
}

.premium-intake-map .map-step:nth-of-type(even) {
  transform: translateY(8px);
}

.premium-intake-map .map-step:hover {
  transform: translateY(-2px) scale(1.015);
}

.luxury-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  width: min(980px, 100%);
  margin: 0 auto 76px;
}

.luxury-timeline::before {
  position: absolute;
  top: 38px;
  right: 6%;
  left: 6%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(183, 241, 255, 0.78), transparent);
  box-shadow: 0 0 16px rgba(104, 223, 255, 0.38);
}

.timeline-step {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 120px;
  padding: 18px 12px;
  border: 1px solid rgba(202, 230, 239, 0.36);
  border-radius: var(--radius);
  text-align: center;
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.timeline-step span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(183, 241, 255, 0.72);
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  background: rgba(1, 7, 12, 0.9);
  box-shadow: 0 0 18px rgba(104, 223, 255, 0.32);
}

.timeline-step strong {
  color: rgba(245, 250, 251, 0.93);
  font-size: 1.02rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(940px, 100%);
  margin: 0 auto 68px;
}

.trust-card,
.about-signal {
  border: 1px solid rgba(202, 230, 239, 0.34);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(260px, 0.66fr);
  gap: 24px;
  width: min(1040px, 100%);
  margin: 28px auto 76px;
  align-items: center;
}

.about-layout .about-panel {
  width: 100%;
  margin: 0;
  padding: clamp(28px, 4vw, 46px);
  text-align: right;
}

.about-panel::after {
  display: none !important;
}

.about-signals {
  display: grid;
  gap: 16px;
}

.about-signal {
  position: relative;
  min-height: 152px;
  overflow: hidden;
}

.about-signal > div {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  color: #f8fdff;
  filter: drop-shadow(0 0 12px rgba(183, 241, 255, 0.52));
  animation: whiteIconGlow 3s ease-in-out infinite;
}

.about-signal svg {
  width: 100%;
  height: 100%;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 3, 6, 0.78);
  backdrop-filter: blur(10px);
}

.lightbox figure {
  position: relative;
  display: grid;
  gap: 16px;
  width: min(860px, 92vw);
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(202, 230, 239, 0.38);
  border-radius: var(--radius);
  background: rgba(6, 12, 18, 0.88);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.54), 0 0 40px rgba(104, 223, 255, 0.18);
}

.lightbox-media,
.lightbox-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  background: transparent;
}

.lightbox-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border: 0;
  border-radius: 4px;
  background: transparent;
}

.lightbox figcaption {
  color: rgba(245, 250, 251, 0.94);
  font-size: 1.14rem;
  font-weight: 800;
  text-align: center;
}

.lightbox-close {
  justify-self: start;
  border: 1px solid rgba(183, 241, 255, 0.58);
  border-radius: var(--radius);
  padding: 8px 14px;
  color: #fff;
  background: rgba(4, 10, 15, 0.72);
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

.contact-compact {
  display: grid;
  grid-template-columns: minmax(250px, 310px) minmax(280px, 1fr) minmax(380px, 480px);
  gap: 26px;
  width: min(1120px, 100%);
  margin: 0 auto;
  align-items: center;
}

.contact-logo-wrap {
  display: grid;
  place-items: center;
  min-width: 0;
  aspect-ratio: 1;
}

.contact-logo {
  display: block;
  width: min(285px, 100%);
  max-width: 100%;
  height: auto;
  aspect-ratio: 706 / 696;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 20px rgba(183, 241, 255, 0.38));
  animation: contactLogoIn 900ms cubic-bezier(0.2, 0.8, 0.2, 1), haloBreath 3.8s ease-in-out infinite 900ms;
}

.contact-copy {
  text-align: right;
}

.contact-copy p {
  margin: 0 0 16px;
  color: rgba(224, 234, 238, 0.82);
  font-size: clamp(0.98rem, 1.45vw, 1.12rem);
  line-height: 1.75;
}

.compact-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin: 0;
  gap: 10px;
}

.compact-metrics .stat-card {
  min-height: 92px;
  padding: 12px 8px;
}

.compact-metrics .stat-card .icon {
  width: 24px;
  height: 24px;
}

.compact-metrics .stat-card strong {
  font-size: clamp(1.34rem, 2.4vw, 1.8rem);
}

.compact-metrics .stat-card span {
  font-size: 0.78rem;
}

.premium-contact-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding: 18px;
}

.premium-contact-form .field {
  min-height: 39px;
  padding: 8px 11px;
  font-size: 0.9rem;
}

.premium-contact-form textarea.field {
  grid-column: 1 / -1;
  min-height: 76px;
}

.premium-contact-form .ghost-button {
  grid-column: 1 / -1;
  justify-self: stretch;
  min-height: 42px;
  margin: 0;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.privacy-consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: rgba(221, 231, 235, 0.78);
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: right;
}

.privacy-consent input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--neon);
}

.ghost-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

body[data-route="contact"] .site-footer {
  display: block;
}

@media (min-width: 760px) {
  body[data-route="contact"] {
    overflow-y: auto;
  }

  body[data-route="contact"] .app-shell {
    width: min(1240px, calc(100vw - 32px));
    min-height: auto;
    padding-top: clamp(10px, 2vh, 24px);
    display: grid;
    place-items: center;
  }

  body[data-route="contact"] .compact-contact-page {
    width: 100%;
  }
}

.compact-footer {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(760px, calc(100vw - 32px)) !important;
  padding: 14px 18px !important;
  color: rgba(221, 231, 235, 0.75);
  font-size: 0.86rem;
  text-align: center;
}

.footer-legal {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.footer-legal a,
.accessibility-panel a,
.privacy-consent a {
  color: var(--neon-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.noscript-message {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 140;
  max-width: min(420px, calc(100vw - 32px));
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(183, 241, 255, 0.6);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(4, 10, 15, 0.94);
}

.site-footer {
  width: min(820px, calc(100vw - 28px));
  margin: 42px auto 18px;
  border: 1px solid rgba(202, 230, 239, 0.2);
  border-radius: var(--radius);
}

.accessibility-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  justify-items: end;
  gap: 10px;
}

.accessibility-toggle {
  min-width: 92px;
  min-height: 42px;
  border: 1px solid rgba(183, 241, 255, 0.72);
  border-radius: var(--radius);
  color: #fff;
  font-weight: 800;
  background: rgba(5, 12, 18, 0.88);
  box-shadow: 0 0 22px rgba(104, 223, 255, 0.22);
  cursor: pointer;
}

.accessibility-panel {
  width: min(280px, calc(100vw - 34px));
  padding: 14px;
  border: 1px solid rgba(202, 230, 239, 0.42);
  border-radius: var(--radius);
  background: rgba(4, 10, 15, 0.94);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(14px);
}

.accessibility-panel strong {
  display: block;
  margin-bottom: 10px;
}

.accessibility-panel button {
  display: block;
  width: 100%;
  margin: 7px 0;
  border: 1px solid rgba(183, 241, 255, 0.34);
  border-radius: calc(var(--radius) - 2px);
  padding: 8px 10px;
  color: #f8fdff;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
}

.accessibility-panel p {
  margin: 10px 0 0;
  color: rgba(214, 224, 228, 0.76);
  font-size: 0.78rem;
  line-height: 1.45;
}

body.access-high-contrast {
  --bg: #000;
  --bg-2: #000;
  --text: #fff;
  --muted: #fff;
  --line: rgba(255, 255, 255, 0.82);
}

body.access-large-text {
  font-size: 112%;
}

body.access-reduced-motion *,
body.access-reduced-motion *::before,
body.access-reduced-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

@keyframes whiteIconGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.44));
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.92)) drop-shadow(0 0 22px rgba(183, 241, 255, 0.35));
  }
}

@keyframes cyanIconGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 7px rgba(104, 223, 255, 0.45));
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(104, 223, 255, 0.95)) drop-shadow(0 0 26px rgba(183, 241, 255, 0.5));
  }
}

@keyframes pathGlow {
  0%,
  100% {
    opacity: 0.56;
    box-shadow: 0 0 10px rgba(104, 223, 255, 0.24);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 26px rgba(104, 223, 255, 0.5);
  }
}

@keyframes contactLogoIn {
  from {
    opacity: 0;
    transform: scale(0.72) rotate(-7deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

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

  .contact-compact {
    grid-template-columns: minmax(190px, 240px) 1fr;
  }

  .premium-contact-form {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .service-detail-grid,
  .luxury-timeline,
  .trust-grid,
  .about-layout,
  .contact-compact {
    grid-template-columns: 1fr;
  }

  .premium-intake-map {
    grid-template-columns: 1fr;
    width: min(430px, 100%);
  }

  .premium-intake-map .map-step,
  .premium-intake-map .map-step:nth-of-type(odd),
  .premium-intake-map .map-step:nth-of-type(even),
  .premium-intake-map .map-step:hover {
    transform: none;
  }

  .luxury-timeline::before {
    top: 0;
    right: 50%;
    bottom: 0;
    left: auto;
    width: 1px;
    height: auto;
  }

  .contact-logo {
    width: min(230px, 56vw);
  }

  .compact-metrics,
  .premium-contact-form {
    grid-template-columns: 1fr;
  }

  .premium-contact-form textarea.field,
  .premium-contact-form .ghost-button {
    grid-column: auto;
  }

  .compact-footer {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }

  .accessibility-widget {
    right: 12px;
    bottom: 12px;
  }
}

@media (max-width: 460px) {
  .about-layout .about-panel,
  .premium-contact-form {
    padding: 18px;
  }

  .accessibility-toggle {
    min-width: 82px;
    min-height: 38px;
    font-size: 0.86rem;
  }
}

/* Experience polish: calmer luxury, stronger first impression */
:root {
  --access-font-scale: 1;
  --depth-x: 0;
  --depth-y: 0;
}

html {
  font-size: calc(16px * var(--access-font-scale));
}

.skip-link {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 120;
  padding: 10px 14px;
  border: 1px solid rgba(183, 241, 255, 0.72);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(2, 8, 13, 0.94);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.cinematic-gate {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  pointer-events: none;
  background:
    radial-gradient(circle at center, rgba(104, 223, 255, 0.18), rgba(2, 5, 10, 0.92) 42%, rgba(2, 5, 10, 0.98));
  animation: cinematicFade 1800ms ease forwards;
}

.cinematic-gate img {
  position: relative;
  z-index: 2;
  display: block;
  width: min(220px, 45vw);
  height: auto;
  aspect-ratio: 706 / 696;
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(183, 241, 255, 0.58));
  transform-origin: center;
  animation: cinematicLogo 1650ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.cinematic-gate span {
  position: absolute;
  z-index: 1;
  width: min(340px, 62vw);
  aspect-ratio: 1;
  border: 1px solid rgba(183, 241, 255, 0.62);
  border-radius: 50%;
  box-shadow: 0 0 36px rgba(104, 223, 255, 0.32), inset 0 0 28px rgba(104, 223, 255, 0.18);
  animation: cinematicRing 1500ms ease forwards;
}

.decor {
  opacity: 0.54;
  animation: neuronFloat 8s ease-in-out infinite;
}

.decor-neuron-top {
  animation-duration: 9s;
}

.decor-neuron-right {
  animation-duration: 10s;
}

.decor-neuron-bottom {
  animation-duration: 11s;
}

.hero-home {
  min-height: min(680px, calc(100vh - 98px));
}

.hero-copy h1 {
  max-width: 720px;
  font-size: clamp(2.8rem, 7vw, 5.9rem);
  line-height: 0.98;
}

.hero-copy p {
  max-width: 610px;
  font-size: clamp(1.02rem, 1.55vw, 1.24rem);
}

.hero-cta {
  display: inline-grid;
  place-items: center;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 22px;
  border: 1px solid rgba(183, 241, 255, 0.72);
  border-radius: var(--radius);
  color: #fff;
  font-weight: 900;
  background:
    rgba(8, 17, 24, 0.78);
  box-shadow: 0 0 24px rgba(104, 223, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: transform 170ms ease, box-shadow 170ms ease;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 34px rgba(104, 223, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hero-art,
.hero-ring {
  translate: calc(var(--depth-x) * -20px) calc(var(--depth-y) * -14px);
}

.stats-grid {
  margin-top: 18px;
}

.premium-intake-map {
  align-items: stretch;
  padding-top: 16px;
}

.premium-intake-map .map-step,
.premium-intake-map .map-step:nth-of-type(odd),
.premium-intake-map .map-step:nth-of-type(even) {
  min-height: 204px;
  padding: 54px 22px 22px;
  overflow: visible;
  transform: none !important;
}

.premium-intake-map .map-step:hover {
  transform: translateY(-5px) !important;
}

.map-step-index {
  top: 14px;
  right: 18px;
  z-index: 2;
}

.map-step-icon {
  margin-top: -2px;
}

.about-premium-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.about-story {
  display: grid;
  gap: 14px;
}

.about-kicker {
  justify-self: start;
  padding: 6px 12px;
  border: 1px solid rgba(183, 241, 255, 0.5);
  border-radius: var(--radius);
  color: rgba(245, 250, 251, 0.92);
  font-size: 0.92rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.04);
}

.about-quote {
  margin: 0 !important;
  color: #ffffff !important;
  font-size: clamp(1.45rem, 3vw, 2.35rem) !important;
  font-weight: 900;
  line-height: 1.22 !important;
  text-shadow: 0 0 18px rgba(104, 223, 255, 0.22);
}

.about-micro-grid,
.contact-promises {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.about-micro-grid span,
.contact-promises li {
  border: 1px solid rgba(202, 230, 239, 0.3);
  border-radius: var(--radius);
  padding: 9px 10px;
  color: rgba(245, 250, 251, 0.88);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
  background: rgba(255, 255, 255, 0.035);
}

.about-signal-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.about-signal-grid .about-signal {
  min-height: 190px;
  padding: 20px;
}

.about-signal-grid .about-signal > div {
  margin-inline: auto;
}

.about-signal-grid .about-signal h3,
.about-signal-grid .about-signal p {
  text-align: center;
}

.contact-compact {
  grid-template-columns: 210px minmax(340px, 1fr) minmax(430px, 500px);
  gap: 30px;
}

.contact-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--neon-strong);
  font-size: 0.94rem;
  font-weight: 900;
}

.contact-copy .page-title {
  margin-bottom: 10px;
}

.contact-copy p {
  max-width: 560px;
  margin-bottom: 14px;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.82;
}

.contact-promises {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.premium-contact-form {
  gap: 10px;
  padding: 20px;
}

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

.form-toast {
  position: fixed;
  top: 94px;
  left: 50%;
  z-index: 100;
  min-width: min(360px, calc(100vw - 32px));
  padding: 16px 22px;
  border: 1px solid rgba(183, 241, 255, 0.72);
  border-radius: var(--radius);
  color: #ffffff;
  font-size: 1.04rem;
  font-weight: 900;
  text-align: center;
  background: rgba(5, 12, 18, 0.95);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42), 0 0 34px rgba(104, 223, 255, 0.2);
  opacity: 0;
  transform: translate(-50%, -18px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.form-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.accessibility-panel {
  width: min(390px, calc(100vw - 34px));
}

.accessibility-panel button {
  display: inline-grid;
  width: calc(50% - 5px);
  min-height: 38px;
  margin: 5px 2px;
  align-items: center;
}

body.access-readable-font {
  font-family: Arial, Tahoma, sans-serif;
}

body.access-invert {
  filter: invert(1) hue-rotate(180deg);
}

body.access-grayscale {
  filter: grayscale(1);
}

body.access-invert.access-grayscale {
  filter: invert(1) hue-rotate(180deg) grayscale(1);
}

body.access-highlight-links a {
  outline: 2px solid #fff !important;
  outline-offset: 3px;
  text-decoration: underline;
}

body.access-line-height {
  line-height: 1.9;
}

body.access-large-cursor,
body.access-large-cursor * {
  cursor: crosshair !important;
}

/* Latest visual corrections */
.accessibility-widget {
  position: fixed !important;
  right: 18px !important;
  bottom: 18px !important;
  z-index: 130;
  display: grid;
  justify-items: end;
  gap: 10px;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
  contain: layout;
}

.accessibility-toggle {
  display: grid;
  place-items: center;
  width: 52px;
  min-width: 52px;
  height: 52px;
  min-height: 52px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(183, 241, 255, 0.72);
  border-radius: 999px !important;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.18), transparent 34%),
    rgba(5, 12, 18, 0.9) !important;
  box-shadow: 0 0 22px rgba(104, 223, 255, 0.22) !important;
  outline-offset: 4px;
  aspect-ratio: 1 / 1;
  appearance: none;
  -webkit-appearance: none;
}

.accessibility-toggle::before,
.accessibility-toggle::after {
  display: none !important;
  content: none !important;
}

.accessibility-toggle svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 9px rgba(183, 241, 255, 0.5));
}

.accessibility-panel {
  width: min(420px, calc(100vw - 34px));
  max-height: min(78vh, 560px);
  overflow: auto;
}

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

.accessibility-panel .accessibility-grid button {
  display: grid;
  grid-template-rows: 30px auto;
  place-items: center;
  gap: 5px;
  width: 100%;
  min-height: 82px;
  margin: 0;
  padding: 8px 7px;
  border-radius: 4px;
  text-align: center;
  line-height: 1.15;
}

.access-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(183, 241, 255, 0.46);
  border-radius: 4px;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 0 12px rgba(104, 223, 255, 0.18);
}

.accessibility-panel button[aria-pressed="true"] {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(104, 223, 255, 0.16);
}

body.access-invert,
body.access-grayscale,
body.access-invert.access-grayscale {
  filter: none;
}

body.access-invert .site-header,
body.access-invert .app-shell,
body.access-invert .site-footer,
body.access-invert .decor-layers,
body.access-invert .cinematic-gate {
  filter: invert(1) hue-rotate(180deg);
}

body.access-grayscale .site-header,
body.access-grayscale .app-shell,
body.access-grayscale .site-footer,
body.access-grayscale .decor-layers,
body.access-grayscale .cinematic-gate {
  filter: grayscale(1);
}

body.access-invert.access-grayscale .site-header,
body.access-invert.access-grayscale .app-shell,
body.access-invert.access-grayscale .site-footer,
body.access-invert.access-grayscale .decor-layers,
body.access-invert.access-grayscale .cinematic-gate {
  filter: invert(1) hue-rotate(180deg) grayscale(1);
}

.cinematic-gate {
  background:
    radial-gradient(circle at center, rgba(104, 223, 255, 0.2), rgba(1, 4, 9, 0.92) 36%, rgba(0, 0, 0, 0.97));
  backdrop-filter: blur(5px) brightness(0.54);
}

.cinematic-gate::before,
.cinematic-gate::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.cinematic-gate::before {
  z-index: 0;
  background:
    linear-gradient(90deg, transparent 0 44%, rgba(183, 241, 255, 0.16) 45% 46%, transparent 47% 100%),
    linear-gradient(0deg, transparent 0 48%, rgba(104, 223, 255, 0.14) 49% 50%, transparent 51% 100%);
  background-size: 160px 160px;
  opacity: 0.5;
}

.cinematic-gate::after {
  z-index: 0;
  background: radial-gradient(circle at center, transparent 0 18%, rgba(0, 0, 0, 0.32) 66%, rgba(0, 0, 0, 0.76));
}

.service-detail-head {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.service-detail-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #f7fdff;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.44));
  animation: whiteIconGlow 3s ease-in-out infinite;
}

.service-detail-icon svg {
  width: 48px;
  height: 48px;
  stroke-width: 1.35;
}

.service-detail-card h3 {
  margin: 0;
}

.service-detail-card::after {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), rgba(104, 223, 255, 0.85), transparent);
  opacity: 0.54;
  animation: pathGlow 3s ease-in-out infinite;
}

.decor-layers::after {
  inset: -14%;
  opacity: 0.58;
  background:
    radial-gradient(circle at 18% 24%, rgba(183, 241, 255, 0.78) 0 1px, transparent 2px),
    radial-gradient(circle at 36% 44%, rgba(104, 223, 255, 0.62) 0 1px, transparent 2px),
    radial-gradient(circle at 58% 30%, rgba(183, 241, 255, 0.72) 0 1px, transparent 2px),
    radial-gradient(circle at 77% 58%, rgba(104, 223, 255, 0.58) 0 1px, transparent 2px),
    linear-gradient(23deg, transparent 0 40%, rgba(104, 223, 255, 0.13) 40.4% 40.8%, transparent 41.2%),
    linear-gradient(147deg, transparent 0 46%, rgba(183, 241, 255, 0.12) 46.2% 46.7%, transparent 47%),
    linear-gradient(90deg, transparent 0 12%, rgba(255, 255, 255, 0.11) 15%, rgba(104, 223, 255, 0.2) 18%, transparent 24% 100%),
    radial-gradient(ellipse at 50% 50%, rgba(104, 223, 255, 0.06), transparent 64%);
  background-size:
    390px 290px,
    420px 330px,
    520px 360px,
    460px 310px,
    760px 520px,
    820px 540px,
    900px 100%,
    100% 100%;
  background-position:
    calc(var(--depth-x) * -34px) calc(var(--depth-y) * -24px),
    calc(var(--depth-x) * 28px) calc(var(--depth-y) * 18px),
    calc(var(--depth-x) * -22px) calc(var(--depth-y) * 30px),
    calc(var(--depth-x) * 18px) calc(var(--depth-y) * -28px),
    center,
    center,
    -34% 0,
    center;
  mask-image: radial-gradient(circle at 50% 42%, rgba(0, 0, 0, 0.95), transparent 82%);
  animation: smokeScan 10s ease-in-out infinite;
}

@keyframes smokeScan {
  0%,
  100% {
    opacity: 0.46;
    background-position:
      calc(var(--depth-x) * -34px) calc(var(--depth-y) * -24px),
      calc(var(--depth-x) * 28px) calc(var(--depth-y) * 18px),
      calc(var(--depth-x) * -22px) calc(var(--depth-y) * 30px),
      calc(var(--depth-x) * 18px) calc(var(--depth-y) * -28px),
      center,
      center,
      -34% 0,
      center;
  }
  50% {
    opacity: 0.66;
    background-position:
      calc(var(--depth-x) * -42px + 16px) calc(var(--depth-y) * -28px - 8px),
      calc(var(--depth-x) * 36px - 12px) calc(var(--depth-y) * 22px + 14px),
      calc(var(--depth-x) * -28px - 10px) calc(var(--depth-y) * 36px + 12px),
      calc(var(--depth-x) * 24px + 14px) calc(var(--depth-y) * -34px - 10px),
      center,
      center,
      132% 0,
      center;
  }
}

@keyframes neuronFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    opacity: 0.46;
  }
  33% {
    transform: translate3d(18px, -16px, 0) scale(1.035) rotate(1.5deg);
    opacity: 0.66;
  }
  66% {
    transform: translate3d(-12px, 14px, 0) scale(0.985) rotate(-1deg);
    opacity: 0.58;
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    opacity: 0.46;
  }
}

@keyframes cinematicFade {
  0%,
  78% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes cinematicLogo {
  0% {
    opacity: 0;
    transform: translateZ(0) scale(0.76) rotate(-4deg);
  }
  18% {
    opacity: 1;
    transform: translateZ(0) scale(0.92) rotate(0deg);
  }
  72% {
    opacity: 1;
    transform: translateZ(0) scale(1.02) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translateZ(0) scale(1.08) rotate(0deg);
  }
}

@keyframes cinematicRing {
  0% {
    opacity: 0;
    transform: scale(0.52);
  }
  62% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.28);
  }
}

@media (max-width: 1040px) {
  .about-signal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-compact {
    grid-template-columns: 170px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {

  .cinematic-gate img {
    width: min(180px, 48vw);
  }

  .hero-home {
    min-height: auto;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 13vw, 4.1rem);
  }

  .about-micro-grid,
  .about-signal-grid,
  .contact-promises,
  .budget-range {
    grid-template-columns: 1fr;
  }

  .contact-compact {
    gap: 20px;
  }

  .accessibility-panel button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cinematic-gate {
    display: none;
  }
}

/* Antigravity-inspired background field */
.antigravity-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.88;
  mix-blend-mode: screen;
  transform:
    translate3d(calc(var(--depth-x) * -18px), calc(var(--depth-y) * -14px), 0)
    scale(1.035);
  filter: saturate(118%);
}

.decor-layers::after {
  display: none;
}

.decor-layers::before {
  background:
    radial-gradient(ellipse at 22% 20%, rgba(104, 223, 255, 0.085), transparent 24rem),
    radial-gradient(ellipse at 78% 64%, rgba(183, 241, 255, 0.055), transparent 22rem),
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.035) 48%, transparent 56% 100%);
  animation: ambientPulse 9s ease-in-out infinite;
}

@media (max-width: 760px) {
  .antigravity-field {
    opacity: 0.58;
    transform: scale(1.02);
  }
}

body.access-reduced-motion .antigravity-field {
  opacity: 0.32;
}

.legal-page {
  width: min(880px, calc(100vw - 32px));
  margin: 48px auto;
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid rgba(202, 230, 239, 0.32);
  border-radius: var(--radius);
  color: rgba(230, 240, 244, 0.86);
  background:
    radial-gradient(340px circle at 70% 10%, rgba(104, 223, 255, 0.11), transparent 58%),
    rgba(8, 15, 21, 0.78);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.legal-page h1,
.legal-page h2 {
  color: #ffffff;
}

.legal-page h1 {
  margin: 26px 0 18px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
}

.legal-page h2 {
  margin: 28px 0 10px;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
}

.legal-page p,
.legal-page li {
  line-height: 1.85;
}

.legal-page ul {
  padding-right: 22px;
}

/* Luxury gold visual system */
:root {
  --bg: #040403;
  --bg-2: #0a0b0b;
  --glass: rgba(18, 18, 16, 0.68);
  --glass-strong: rgba(20, 20, 18, 0.86);
  --glass-soft: rgba(255, 244, 203, 0.06);
  --text: #fff9e8;
  --muted: #d6c9aa;
  --dim: #9f957d;
  --neon: #d8b96a;
  --neon-soft: rgba(216, 185, 106, 0.27);
  --neon-strong: #fff2bd;
  --silver: #f0eadc;
  --line: rgba(244, 227, 161, 0.48);
  --line-soft: rgba(216, 185, 106, 0.18);
  --gold: #d8b96a;
  --gold-soft: rgba(216, 185, 106, 0.22);
  --gold-strong: #fff2bd;
  --champagne: #fff8dd;
  --tech-cyan: #68dfff;
  --tech-cyan-soft: rgba(104, 223, 255, 0.14);
}

body {
  background:
    radial-gradient(circle at 50% -8%, rgba(255, 242, 189, 0.16), transparent 31rem),
    radial-gradient(circle at 84% 26%, rgba(104, 223, 255, 0.07), transparent 24rem),
    radial-gradient(circle at 16% 72%, rgba(216, 185, 106, 0.08), transparent 22rem),
    linear-gradient(180deg, #030303 0%, #090a0b 46%, #030303 100%);
}

body::before {
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 242, 189, 0.055), transparent 9rem),
    radial-gradient(circle at 78% 78%, rgba(104, 223, 255, 0.05), transparent 15rem);
}

.decor-layers::before {
  background:
    radial-gradient(ellipse at 20% 18%, rgba(255, 242, 189, 0.075), transparent 23rem),
    radial-gradient(ellipse at 80% 66%, rgba(104, 223, 255, 0.048), transparent 22rem),
    linear-gradient(115deg, transparent 0 43%, rgba(255, 242, 189, 0.03) 49%, transparent 56% 100%);
}

.antigravity-field {
  opacity: 0.72;
  filter: saturate(105%) sepia(12%);
}

.site-header,
.site-footer,
.accessibility-panel {
  border-color: rgba(255, 242, 189, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.028)),
    rgba(7, 8, 8, 0.78);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 248, 221, 0.18),
    0 0 26px rgba(216, 185, 106, 0.08);
}

.site-header::after,
.site-footer::before {
  background: linear-gradient(90deg, transparent, rgba(104, 223, 255, 0.4), rgba(255, 242, 189, 0.84), transparent);
}

.brand-mark,
.accessibility-toggle {
  border-color: rgba(255, 242, 189, 0.62);
  background:
    radial-gradient(circle at 36% 25%, rgba(255, 248, 221, 0.18), transparent 42%),
    rgba(8, 9, 8, 0.72);
  box-shadow:
    0 0 0 1px rgba(216, 185, 106, 0.12),
    0 0 22px rgba(216, 185, 106, 0.2),
    inset 0 0 16px rgba(255, 242, 189, 0.08);
}

.brand-mark img,
.contact-logo img {
  filter:
    drop-shadow(0 0 13px rgba(255, 242, 189, 0.34))
    drop-shadow(0 0 22px rgba(104, 223, 255, 0.11));
}

.nav-link:hover,
.nav-link.is-active,
.footer-link:hover,
.footer-link.is-active,
.footer-legal a,
.legal-page a,
.accessibility-panel a {
  color: var(--gold-strong);
}

.nav-link::after,
.footer-link::after {
  background: linear-gradient(90deg, transparent, rgba(255, 242, 189, 0.95), transparent);
  box-shadow: 0 0 16px rgba(216, 185, 106, 0.46);
}

.quote-button,
.ghost-button,
.hero-cta,
.contact-form .ghost-button,
.premium-contact-form .ghost-button {
  border-color: rgba(255, 242, 189, 0.68);
  color: #fff8dd;
  background:
    linear-gradient(180deg, rgba(216, 185, 106, 0.24), rgba(59, 48, 22, 0.18)),
    rgba(10, 11, 10, 0.82);
  box-shadow:
    0 0 24px rgba(216, 185, 106, 0.2),
    inset 0 1px 0 rgba(255, 248, 221, 0.22);
}

.quote-button:hover,
.ghost-button:hover,
.hero-cta:hover {
  box-shadow:
    0 0 34px rgba(216, 185, 106, 0.32),
    0 0 18px rgba(104, 223, 255, 0.1),
    inset 0 1px 0 rgba(255, 248, 221, 0.3);
}

.hero-ring {
  filter:
    drop-shadow(0 0 24px rgba(216, 185, 106, 0.2))
    drop-shadow(0 0 28px rgba(104, 223, 255, 0.16));
}

.intro-panel,
.about-panel,
.contact-form,
.neon-card,
.stat-card,
.map-step,
.service-detail-card,
.timeline-step,
.trust-card,
.about-signal,
.legal-page {
  border-color: rgba(255, 242, 189, 0.3);
  background:
    radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 242, 189, 0.11), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.024) 50%, rgba(216, 185, 106, 0.035)),
    rgba(11, 12, 11, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 221, 0.15),
    inset 0 -1px 0 rgba(216, 185, 106, 0.12),
    0 15px 34px rgba(0, 0, 0, 0.34);
}

.neon-card:hover,
.stat-card:hover,
.map-step:hover,
.service-detail-card:hover,
.timeline-step:hover,
.trust-card:hover,
.about-signal:hover {
  border-color: rgba(255, 242, 189, 0.66);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 221, 0.2),
    0 18px 38px rgba(0, 0, 0, 0.36),
    0 0 24px rgba(216, 185, 106, 0.2);
}

.section-title,
.stat-card strong,
.service-detail-card h3,
.trust-card h3,
.about-signal h3,
.map-step h3,
.legal-page h1,
.legal-page h2 {
  color: var(--champagne);
}

.stat-card strong,
.footer-logo,
.hero-copy h1 strong {
  background: linear-gradient(180deg, #ffffff 0%, #fff2bd 40%, #b9943e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 24px rgba(216, 185, 106, 0.16);
}

.section-title::before,
.section-title::after,
.premium-intake-map::before {
  background: linear-gradient(90deg, transparent, rgba(104, 223, 255, 0.2), rgba(255, 242, 189, 0.92), rgba(216, 185, 106, 0.26), transparent);
  box-shadow: 0 0 18px rgba(216, 185, 106, 0.28);
}

.card-icon,
.stat-card .icon,
.service-detail-icon,
.map-step-icon,
.about-micro-icon,
.contact-promise-icon {
  color: var(--champagne);
  border-color: rgba(255, 242, 189, 0.46);
  box-shadow:
    0 0 18px rgba(216, 185, 106, 0.18),
    inset 0 0 12px rgba(255, 242, 189, 0.08);
  filter: drop-shadow(0 0 10px rgba(255, 242, 189, 0.32));
  animation: luxuryIconGlow 3s ease-in-out infinite;
}

.premium-intake-map .map-step-icon {
  animation: luxuryMapGlow 3s ease-in-out infinite;
}

.map-step-index {
  border-color: rgba(255, 242, 189, 0.76);
  color: #16120a;
  background: linear-gradient(180deg, #fff7d3, #d8b96a);
  box-shadow: 0 0 18px rgba(216, 185, 106, 0.34);
}

.field,
select.field,
input,
textarea {
  border-color: rgba(255, 242, 189, 0.32);
  color: var(--champagne);
  background: rgba(6, 7, 7, 0.68);
}

.field:focus,
select.field:focus,
input:focus,
textarea:focus {
  border-color: rgba(255, 242, 189, 0.74);
  box-shadow: 0 0 0 3px rgba(216, 185, 106, 0.14), 0 0 18px rgba(216, 185, 106, 0.16);
}

.cinematic-gate {
  background:
    radial-gradient(circle at center, rgba(255, 242, 189, 0.22), rgba(3, 3, 3, 0.86) 34%, rgba(0, 0, 0, 0.97) 72%),
    linear-gradient(180deg, rgba(104, 223, 255, 0.06), transparent 42%);
  backdrop-filter: none;
  contain: paint;
  will-change: opacity;
  animation: cinematicFadeSmooth 1550ms ease-out forwards;
}

.cinematic-gate::before {
  background:
    radial-gradient(circle at center, rgba(255, 248, 221, 0.14), transparent 22%),
    linear-gradient(90deg, transparent 0 45%, rgba(255, 242, 189, 0.13) 46% 47%, transparent 48% 100%),
    linear-gradient(0deg, transparent 0 48%, rgba(104, 223, 255, 0.08) 49% 50%, transparent 51% 100%);
  background-size: auto, 190px 190px, 190px 190px;
  opacity: 0.34;
}

.cinematic-gate::after {
  background: radial-gradient(circle at center, transparent 0 24%, rgba(0, 0, 0, 0.34) 66%, rgba(0, 0, 0, 0.78));
}

.cinematic-gate img {
  width: min(230px, 44vw);
  filter:
    drop-shadow(0 0 18px rgba(255, 242, 189, 0.46))
    drop-shadow(0 0 34px rgba(104, 223, 255, 0.16));
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform, opacity;
  animation: cinematicLogoLuxury 1450ms cubic-bezier(0.16, 0.86, 0.22, 1) forwards;
}

.cinematic-gate span {
  border-color: rgba(255, 242, 189, 0.7);
  box-shadow:
    0 0 34px rgba(216, 185, 106, 0.28),
    0 0 52px rgba(104, 223, 255, 0.08),
    inset 0 0 24px rgba(255, 242, 189, 0.13);
  animation: cinematicRingLuxury 1420ms ease-out forwards;
}

.accessibility-toggle {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  overflow: hidden;
  color: var(--champagne);
}

@keyframes luxuryIconGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 7px rgba(255, 242, 189, 0.22));
    box-shadow:
      0 0 12px rgba(216, 185, 106, 0.12),
      inset 0 0 10px rgba(255, 242, 189, 0.06);
  }
  50% {
    filter: drop-shadow(0 0 15px rgba(255, 242, 189, 0.56));
    box-shadow:
      0 0 24px rgba(216, 185, 106, 0.28),
      inset 0 0 16px rgba(255, 242, 189, 0.12);
  }
}

@keyframes luxuryMapGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 8px rgba(255, 242, 189, 0.22));
    box-shadow:
      0 0 14px rgba(216, 185, 106, 0.13),
      inset 0 0 12px rgba(255, 242, 189, 0.07);
  }
  50% {
    filter:
      drop-shadow(0 0 14px rgba(255, 242, 189, 0.52))
      drop-shadow(0 0 14px rgba(104, 223, 255, 0.16));
    box-shadow:
      0 0 26px rgba(216, 185, 106, 0.28),
      0 0 16px rgba(104, 223, 255, 0.1),
      inset 0 0 16px rgba(255, 242, 189, 0.12);
  }
}

@keyframes cinematicFadeSmooth {
  0%,
  74% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes cinematicLogoLuxury {
  0% {
    opacity: 0;
    transform: translate3d(0, 10px, 0) scale(0.9);
  }
  22% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  72% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1.025);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, -4px, 0) scale(1.045);
  }
}

@keyframes cinematicRingLuxury {
  0% {
    opacity: 0;
    transform: translateZ(0) scale(0.72);
  }
  58% {
    opacity: 0.95;
    transform: translateZ(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateZ(0) scale(1.22);
  }
}

@media (max-width: 760px) {
  .antigravity-field {
    opacity: 0.48;
  }

  .cinematic-gate img {
    width: min(188px, 50vw);
  }
}

/* More cinematic intro: the logo travels toward the viewer. */
.cinematic-gate {
  perspective: 820px;
  transform-style: preserve-3d;
  animation: cinematicFadeForward 1900ms ease-out forwards;
}

.cinematic-gate img {
  animation: cinematicLogoForward 1800ms cubic-bezier(0.16, 0.86, 0.16, 1) forwards;
}

.cinematic-gate span {
  animation: cinematicRingForward 1720ms cubic-bezier(0.16, 0.86, 0.16, 1) forwards;
}

@keyframes cinematicFadeForward {
  0%,
  78% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes cinematicLogoForward {
  0% {
    opacity: 0;
    filter:
      blur(5px)
      drop-shadow(0 0 8px rgba(255, 242, 189, 0.18));
    transform: translate3d(0, 16px, -420px) scale(0.42) rotateX(9deg);
  }
  18% {
    opacity: 1;
    filter:
      blur(1px)
      drop-shadow(0 0 18px rgba(255, 242, 189, 0.42))
      drop-shadow(0 0 30px rgba(104, 223, 255, 0.13));
    transform: translate3d(0, 0, -180px) scale(0.72) rotateX(0deg);
  }
  58% {
    opacity: 1;
    filter:
      blur(0)
      drop-shadow(0 0 24px rgba(255, 242, 189, 0.58))
      drop-shadow(0 0 42px rgba(104, 223, 255, 0.18));
    transform: translate3d(0, 0, 0) scale(1.04) rotateX(0deg);
  }
  82% {
    opacity: 1;
    transform: translate3d(0, -2px, 82px) scale(1.28) rotateX(0deg);
  }
  100% {
    opacity: 0;
    filter:
      blur(1px)
      drop-shadow(0 0 36px rgba(255, 242, 189, 0.62))
      drop-shadow(0 0 54px rgba(104, 223, 255, 0.18));
    transform: translate3d(0, -6px, 185px) scale(1.66) rotateX(0deg);
  }
}

@keyframes cinematicRingForward {
  0% {
    opacity: 0;
    transform: translateZ(-320px) scale(0.34);
  }
  48% {
    opacity: 1;
    transform: translateZ(-30px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateZ(130px) scale(1.82);
  }
}

/* Homepage 4D strategy mind map */
.hero-art::before {
  display: none !important;
}

.hero-art,
.hero-ring {
  translate: 0 0 !important;
}

.hero-ring {
  filter: none !important;
  animation: none !important;
  clip-path: ellipse(49% 50% at 50% 50%) !important;
  -webkit-mask-image: radial-gradient(ellipse 62% 74% at 52% 48%, #000 62%, rgba(0, 0, 0, 0.8) 76%, transparent 100%) !important;
  mask-image: radial-gradient(ellipse 62% 74% at 52% 48%, #000 62%, rgba(0, 0, 0, 0.8) 76%, transparent 100%) !important;
}

.mindmap-4d {
  position: relative;
  display: block;
  width: min(1120px, 100%);
  min-height: 840px;
  margin: 84px auto 118px;
  padding: 0;
  overflow: visible;
  perspective: 1250px;
  transform-style: preserve-3d;
  isolation: isolate;
}

.mindmap-4d::before {
  position: absolute;
  inset: 9% 7%;
  height: auto;
  z-index: -2;
  content: "";
  border: 1px solid rgba(255, 242, 189, 0.12);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 242, 189, 0.13), transparent 18%),
    repeating-radial-gradient(ellipse at 50% 50%, rgba(104, 223, 255, 0.11) 0 1px, transparent 2px 58px);
  box-shadow: inset 0 0 56px rgba(104, 223, 255, 0.08), 0 0 52px rgba(216, 185, 106, 0.08);
  opacity: 0.95;
  transform: rotateX(58deg) translateZ(-120px);
  animation: none;
}

.mindmap-depth {
  inset: 4% 2%;
  z-index: -3;
  opacity: 0.9;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 242, 189, 0.17), transparent 11rem),
    radial-gradient(circle at 78% 20%, rgba(104, 223, 255, 0.12), transparent 13rem),
    radial-gradient(circle at 22% 78%, rgba(216, 185, 106, 0.12), transparent 14rem);
  animation: mindDepthShift 9s ease-in-out infinite;
}

.mindmap-links {
  position: absolute;
  inset: 7% 3%;
  z-index: 1;
  width: 94%;
  height: 86%;
  overflow: visible;
  filter:
    drop-shadow(0 0 10px rgba(104, 223, 255, 0.35))
    drop-shadow(0 0 18px rgba(216, 185, 106, 0.12));
  pointer-events: none;
}

.mindmap-links path {
  fill: none;
  stroke: url("#mindmapGradient");
  stroke-dasharray: 9 15;
  stroke-linecap: round;
  stroke-width: 1.6;
  animation: mindLinkFlow 7s linear infinite;
}

.mindmap-links path:nth-child(2n) {
  animation-duration: 8.5s;
  animation-direction: reverse;
}

.mindmap-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: clamp(184px, 22vw, 248px);
  aspect-ratio: 1;
  padding: 24px;
  border: 1px solid rgba(255, 242, 189, 0.54);
  border-radius: 50%;
  color: var(--champagne);
  text-align: center;
  background:
    radial-gradient(circle at 48% 34%, rgba(255, 255, 255, 0.18), transparent 24%),
    radial-gradient(circle at center, rgba(216, 185, 106, 0.18), rgba(4, 6, 8, 0.86) 62%);
  box-shadow:
    inset 0 0 28px rgba(255, 242, 189, 0.16),
    0 0 36px rgba(216, 185, 106, 0.22),
    0 0 58px rgba(104, 223, 255, 0.12);
  transform: translate(-50%, -50%) translateZ(96px);
}

.mindmap-core::before,
.mindmap-core::after {
  position: absolute;
  inset: -15px;
  content: "";
  border-radius: inherit;
  pointer-events: none;
}

.mindmap-core::before {
  border: 1px solid rgba(104, 223, 255, 0.34);
  background: conic-gradient(from 0deg, transparent, rgba(104, 223, 255, 0.3), transparent 34%, rgba(255, 242, 189, 0.36), transparent 72%);
  -webkit-mask: radial-gradient(circle, transparent 63%, #000 64%);
  mask: radial-gradient(circle, transparent 63%, #000 64%);
  animation: mindCoreSpin 12s linear infinite;
}

.mindmap-core::after {
  inset: 18px;
  border: 1px solid rgba(255, 242, 189, 0.24);
  animation: mindCorePulse 3.8s ease-in-out infinite;
}

.mindmap-core span,
.mindmap-core small {
  color: rgba(255, 248, 221, 0.76);
  font-weight: 800;
}

.mindmap-core strong {
  display: block;
  margin: 6px 0;
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  line-height: 1;
}

.mindmap-core small {
  max-width: 170px;
  line-height: 1.55;
}

.mindmap-4d .mind-node,
.mindmap-4d .mind-node:nth-of-type(odd),
.mindmap-4d .mind-node:nth-of-type(even) {
  position: absolute;
  top: var(--y);
  left: var(--x);
  z-index: 3;
  width: clamp(220px, 22vw, 286px);
  min-height: 190px;
  padding: 42px 20px 18px;
  overflow: hidden;
  border-color: rgba(255, 242, 189, 0.34);
  background:
    radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 242, 189, 0.14), transparent 45%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.025) 54%, rgba(104, 223, 255, 0.055)),
    rgba(8, 10, 10, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 221, 0.16),
    0 18px 38px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(216, 185, 106, 0.1);
  transform: translate(-50%, -50%) translateZ(var(--z)) rotateX(var(--rx)) rotateY(var(--ry)) !important;
  transform-style: preserve-3d;
  will-change: transform;
}

.mindmap-4d .mind-node::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, transparent 0 40%, rgba(255, 255, 255, 0.14) 48%, transparent 56% 100%);
  opacity: 0;
  transform: translateX(-36%);
  transition: opacity 180ms ease, transform 420ms ease;
  pointer-events: none;
}

.mindmap-4d .mind-node:hover {
  border-color: rgba(255, 242, 189, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 221, 0.22),
    0 22px 42px rgba(0, 0, 0, 0.38),
    0 0 30px rgba(216, 185, 106, 0.2),
    0 0 22px rgba(104, 223, 255, 0.11);
  transform: translate(-50%, calc(-50% - 10px)) translateZ(calc(var(--z) + 40px)) rotateX(var(--rx)) rotateY(var(--ry)) !important;
}

.mindmap-4d .mind-node:hover::after {
  opacity: 1;
  transform: translateX(36%);
}

.mind-node-rail {
  position: absolute;
  top: 13px;
  left: 16px;
  color: rgba(255, 242, 189, 0.58);
  font-size: 0.72rem;
  font-weight: 900;
}

.mind-node-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.mind-node-meta span {
  padding: 4px 8px;
  border: 1px solid rgba(255, 242, 189, 0.22);
  border-radius: 999px;
  color: rgba(255, 248, 221, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(255, 242, 189, 0.05);
}

.mind-step-1 { --x: 82%; --y: 25%; --z: 78px; --rx: -7deg; --ry: -11deg; }
.mind-step-2 { --x: 81%; --y: 73%; --z: 42px; --rx: 6deg; --ry: -8deg; }
.mind-step-3 { --x: 50%; --y: 10%; --z: 64px; --rx: -9deg; --ry: 0deg; }
.mind-step-4 { --x: 18%; --y: 26%; --z: 50px; --rx: -6deg; --ry: 11deg; }
.mind-step-5 { --x: 18%; --y: 73%; --z: 80px; --rx: 6deg; --ry: 9deg; }
.mind-step-6 { --x: 50%; --y: 93%; --z: 38px; --rx: 8deg; --ry: 0deg; }

@keyframes mindLinkFlow {
  0% {
    stroke-dashoffset: 120;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

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

@keyframes mindCorePulse {
  0%,
  100% {
    opacity: 0.38;
    transform: scale(0.94);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes mindDepthShift {
  0%,
  100% {
    transform: translate3d(0, 0, -60px) scale(1);
  }
  50% {
    transform: translate3d(0, -12px, -60px) scale(1.035);
  }
}

@media (max-width: 980px) {
  .mindmap-4d {
    display: grid;
    gap: 16px;
    min-height: auto;
    margin: 28px auto 64px;
    padding: 18px 0;
    perspective: none;
  }

  .mindmap-4d::before,
  .mindmap-links,
  .mindmap-depth {
    display: none;
  }

  .mindmap-core,
  .mindmap-4d .mind-node,
  .mindmap-4d .mind-node:nth-of-type(odd),
  .mindmap-4d .mind-node:nth-of-type(even),
  .mindmap-4d .mind-node:hover {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    min-height: 0;
    transform: none !important;
  }

  .mindmap-core {
    justify-self: center;
    width: min(260px, 72vw);
    margin-bottom: 6px;
  }
}

/* Interactive 3D portfolio grid physics */
.portfolio-3d-wrapper {
  perspective: 1000px;
  perspective-origin: center;
}

.portfolio-3d-card {
  transform: rotateX(0deg) rotateY(0deg) scale(1);
  transform-style: preserve-3d;
  transform-origin: center;
  transition-property: transform;
  transition-duration: 520ms;
  transition-timing-function: cubic-bezier(0.16, 0.84, 0.22, 1);
  will-change: transform;
}

.portfolio-3d-overlay {
  transform: translateZ(50px);
  transform-style: preserve-3d;
  pointer-events: none;
}

/* Concave portfolio wall */
.site-header .nav-link,
.site-header .quote-button {
  color: #ffffff !important;
}

.site-header .nav-link:hover,
.site-header .nav-link.is-active,
.site-header .quote-button:hover {
  color: #ffffff !important;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.42);
}

.portfolio-3d-grid {
  position: relative;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(4rem, 6vw, 6rem) clamp(3.4rem, 5.4vw, 5.4rem) !important;
  max-width: min(1420px, calc(100vw - 28px)) !important;
  margin-inline: auto;
  padding: clamp(8px, 1.4vw, 18px);
  overflow: visible;
  perspective: 980px;
  perspective-origin: 50% 46%;
  transform-style: preserve-3d;
}

.portfolio-3d-section {
  width: min(1420px, 100%);
  max-width: min(1420px, calc(100vw - 18px)) !important;
  margin: 48px auto;
  padding-inline: clamp(4px, 1.4vw, 14px);
  text-align: right;
}

.portfolio-3d-head {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(780px, 100%);
  margin: 0 auto 46px;
  text-align: center;
}

.portfolio-3d-head span {
  color: rgba(255, 242, 189, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.portfolio-3d-head h2 {
  margin: 0;
  color: var(--champagne);
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  line-height: 0.96;
}

.portfolio-3d-head p {
  max-width: 680px;
  margin: 0;
  color: rgba(214, 201, 170, 0.82);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.8;
}

.portfolio-3d-grid::before {
  display: none !important;
  content: none !important;
}

.portfolio-3d-wrapper {
  --base-rotate-x: 0;
  --base-rotate-y: 0;
  --base-x: 0px;
  --base-z: 0px;
  --base-y: 0px;
  --base-scale: 1;
  perspective: 980px;
  perspective-origin: center;
  overflow: visible;
  display: block;
  width: 100%;
  cursor: pointer;
  outline: none;
}

.portfolio-3d-wrapper:focus-visible {
  border-radius: 18px;
  box-shadow: 0 0 0 2px rgba(255, 242, 189, 0.7);
}

.portfolio-3d-wrapper:nth-child(3n + 1) {
  --base-rotate-y: -30;
  --base-x: 44px;
  --base-z: 76px;
  --base-y: -4px;
  --base-scale: 1.065;
  z-index: 3;
}

.portfolio-3d-wrapper:nth-child(3n + 1) .portfolio-3d-card {
  transform-origin: left center;
}

.portfolio-3d-wrapper:nth-child(3n + 2) {
  --base-rotate-y: 0;
  --base-x: 0px;
  --base-z: -142px;
  --base-y: 22px;
  --base-scale: 1.02;
  z-index: 1;
}

.portfolio-3d-wrapper:nth-child(3n) {
  --base-rotate-y: 30;
  --base-x: -44px;
  --base-z: 76px;
  --base-y: -4px;
  --base-scale: 1.065;
  z-index: 3;
}

.portfolio-3d-wrapper:nth-child(3n) .portfolio-3d-card {
  transform-origin: right center;
}

.portfolio-3d-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px !important;
  background: #030303 !important;
  box-shadow:
    0 34px 76px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(255, 242, 189, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}

.portfolio-3d-image,
.portfolio-3d-card > img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0;
  opacity: 1 !important;
  filter: none !important;
  object-fit: contain !important;
  background: #030303;
}

.portfolio-3d-empty {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ffffff, #f4f5f0 54%, #dceceb);
}

.portfolio-3d-empty-bar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding-inline: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.82);
}

.portfolio-3d-empty-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.portfolio-3d-empty-bar span:nth-child(1) { background: #e86868; }
.portfolio-3d-empty-bar span:nth-child(2) { background: #e7bd54; }
.portfolio-3d-empty-bar span:nth-child(3) { background: #73c988; }

.portfolio-3d-shade {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.16) 46%, rgba(0, 0, 0, 0.86) 100%);
  opacity: 0;
  transition: opacity 500ms ease;
  pointer-events: none;
}

.portfolio-3d-wrapper:hover .portfolio-3d-shade,
.portfolio-3d-wrapper:focus-visible .portfolio-3d-shade {
  opacity: 1;
}

.portfolio-3d-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 16%, transparent 84%, rgba(255, 255, 255, 0.06)),
    radial-gradient(420px circle at 50% 0%, rgba(255, 242, 189, 0.12), transparent 48%);
  pointer-events: none;
}

.portfolio-3d-overlay {
  position: absolute !important;
  right: 20px !important;
  bottom: 20px !important;
  left: 20px !important;
  z-index: 3;
  display: grid !important;
  gap: 8px !important;
  padding: 18px !important;
  border: 1px solid rgba(255, 242, 189, 0.22) !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  text-align: right !important;
  background: rgba(0, 0, 0, 0.52) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  opacity: 0;
  backdrop-filter: blur(12px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.portfolio-3d-wrapper:hover .portfolio-3d-overlay,
.portfolio-3d-wrapper:focus-visible .portfolio-3d-overlay {
  opacity: 1;
}

.portfolio-3d-overlay span {
  color: rgba(255, 242, 189, 0.78);
  font-size: 0.75rem;
  font-weight: 900;
}

.portfolio-3d-overlay strong {
  color: #fff8dd;
  font-size: clamp(1.05rem, 1.45vw, 1.45rem);
  line-height: 1.08;
}

.portfolio-3d-overlay small {
  color: rgba(239, 231, 208, 0.82);
  font-size: 0.86rem;
  line-height: 1.55;
}

.portfolio-3d-wrapper:nth-child(3n + 1) .portfolio-3d-overlay,
.portfolio-3d-wrapper:nth-child(3n) .portfolio-3d-overlay {
  inset-inline: 16px;
}

@media (max-width: 1080px) {
  .portfolio-3d-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 2rem !important;
  }

  .portfolio-3d-wrapper,
  .portfolio-3d-wrapper:nth-child(3n + 1),
  .portfolio-3d-wrapper:nth-child(3n + 2),
  .portfolio-3d-wrapper:nth-child(3n) {
    --base-rotate-y: 0;
    --base-x: 0px;
    --base-z: 0px;
    --base-y: 0px;
    --base-scale: 1;
    z-index: 1;
  }

  .portfolio-3d-wrapper:nth-child(3n + 1) .portfolio-3d-card,
  .portfolio-3d-wrapper:nth-child(3n) .portfolio-3d-card {
    transform-origin: center;
  }
}

@media (max-width: 680px) {
  .portfolio-3d-grid {
    grid-template-columns: 1fr !important;
    gap: 1.1rem !important;
    padding-inline: 0;
  }

  .portfolio-3d-grid::before {
    display: none;
  }
}

/* Portfolio popup with black caption bar */
.lightbox[hidden] {
  display: none !important;
}

.lightbox {
  position: fixed !important;
  inset: 0 !important;
  z-index: 150 !important;
  display: grid !important;
  place-items: center !important;
  padding: clamp(14px, 3vw, 36px) !important;
  background: rgba(0, 0, 0, 0.88) !important;
  backdrop-filter: blur(8px) !important;
}

.lightbox figure {
  position: relative !important;
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto !important;
  width: min(1180px, 94vw) !important;
  max-height: 90vh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 242, 189, 0.32) !important;
  border-radius: 14px !important;
  background: #030303 !important;
  box-shadow:
    0 44px 140px rgba(0, 0, 0, 0.96),
    0 0 0 9999px rgba(0, 0, 0, 0.2),
    0 0 42px rgba(255, 242, 189, 0.12) !important;
}

.lightbox-media,
.lightbox-placeholder,
.lightbox-media img {
  min-height: 0 !important;
  border-radius: 0 !important;
}

.lightbox-media {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  max-height: calc(90vh - 150px) !important;
  background: #030303 !important;
}

.lightbox-media img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: calc(90vh - 150px) !important;
  object-fit: contain !important;
}

.lightbox figcaption {
  position: relative !important;
  z-index: 3 !important;
  display: grid !important;
  gap: 5px !important;
  width: 100% !important;
  padding: clamp(16px, 2.4vw, 26px) clamp(18px, 3vw, 34px) !important;
  text-align: right !important;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 1)),
    #000000 !important;
  border-top: 1px solid rgba(255, 242, 189, 0.24) !important;
}

.lightbox figcaption span {
  color: rgba(255, 242, 189, 0.78) !important;
  font-size: 0.82rem !important;
  font-weight: 900 !important;
}

.lightbox figcaption strong {
  color: #ffffff !important;
  font-size: clamp(1.35rem, 3vw, 2.35rem) !important;
  line-height: 1.05 !important;
}

.lightbox figcaption small {
  max-width: 76ch !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
}

.lightbox-actions {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  left: 16px !important;
  z-index: 4 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  pointer-events: none !important;
}

.lightbox-actions button {
  pointer-events: auto !important;
}

.lightbox-nav,
.lightbox-close {
  border-color: rgba(255, 255, 255, 0.55) !important;
  color: #ffffff !important;
  background: rgba(0, 0, 0, 0.72) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.58) !important;
}

.lightbox-close {
  min-height: 42px !important;
}

@media (max-width: 680px) {
  .lightbox {
    padding: 10px !important;
  }

  .lightbox figcaption {
    position: relative !important;
  }

  .lightbox-media img {
    max-height: 58vh !important;
  }
}

/* Final cinematic entry polish */
.cinematic-gate {
  perspective: 1200px !important;
  transform-style: preserve-3d !important;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 242, 189, 0.26), transparent 13%),
    radial-gradient(circle at 50% 50%, rgba(104, 223, 255, 0.18), rgba(0, 0, 0, 0.92) 43%, rgba(0, 0, 0, 0.985) 100%) !important;
  backdrop-filter: blur(14px) brightness(0.28) saturate(1.18) !important;
  animation: cinematicGatePremiere 2550ms cubic-bezier(0.18, 0.72, 0.12, 1) forwards !important;
}

.cinematic-gate::before,
.cinematic-gate::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.cinematic-gate::before {
  z-index: 0;
  background:
    linear-gradient(90deg, transparent 0 41%, rgba(255, 242, 189, 0.18) 47%, rgba(104, 223, 255, 0.22) 50%, rgba(255, 242, 189, 0.18) 53%, transparent 59% 100%),
    repeating-linear-gradient(90deg, rgba(255, 242, 189, 0.1) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(0deg, rgba(104, 223, 255, 0.08) 0 1px, transparent 1px 92px);
  opacity: 0;
  transform: translateZ(-360px) scale(0.6);
  animation: cinematicGateLines 2250ms cubic-bezier(0.18, 0.72, 0.12, 1) forwards !important;
}

.cinematic-gate::after {
  z-index: 1;
  background:
    radial-gradient(circle at center, transparent 0 18%, rgba(0, 0, 0, 0.26) 46%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 18%, transparent 82%, rgba(255, 242, 189, 0.11));
  opacity: 0.92;
  animation: cinematicGateIris 2550ms cubic-bezier(0.18, 0.72, 0.12, 1) forwards !important;
}

.cinematic-gate img {
  width: min(285px, 48vw) !important;
  filter:
    drop-shadow(0 0 22px rgba(255, 242, 189, 0.58))
    drop-shadow(0 0 46px rgba(104, 223, 255, 0.28)) !important;
  animation: cinematicLogoPremiere 2450ms cubic-bezier(0.14, 0.88, 0.12, 1) forwards !important;
}

.cinematic-gate span {
  width: min(430px, 72vw) !important;
  border-color: rgba(255, 242, 189, 0.72) !important;
  box-shadow:
    0 0 48px rgba(255, 242, 189, 0.34),
    0 0 86px rgba(104, 223, 255, 0.18),
    inset 0 0 36px rgba(255, 242, 189, 0.18) !important;
  animation: cinematicRingPremiere 2380ms cubic-bezier(0.14, 0.88, 0.12, 1) forwards !important;
}

.cinematic-gate span::before,
.cinematic-gate span::after {
  position: absolute;
  inset: -18%;
  content: "";
  border-radius: 50%;
  border: 1px solid rgba(104, 223, 255, 0.25);
}

.cinematic-gate span::after {
  inset: 18%;
  border-color: rgba(255, 242, 189, 0.34);
  box-shadow: inset 0 0 28px rgba(104, 223, 255, 0.16);
}

@keyframes cinematicGatePremiere {
  0%,
  86% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes cinematicGateLines {
  0% {
    opacity: 0;
    transform: translateZ(-460px) scale(0.5) rotateX(12deg);
  }
  22% {
    opacity: 0.72;
  }
  72% {
    opacity: 0.56;
    transform: translateZ(-40px) scale(1.06) rotateX(0deg);
  }
  100% {
    opacity: 0;
    transform: translateZ(180px) scale(1.34) rotateX(0deg);
  }
}

@keyframes cinematicGateIris {
  0% {
    opacity: 1;
    transform: scale(1.08);
  }
  72% {
    opacity: 0.86;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.14);
  }
}

@keyframes cinematicLogoPremiere {
  0% {
    opacity: 0;
    filter:
      blur(8px)
      drop-shadow(0 0 10px rgba(255, 242, 189, 0.22));
    transform: translate3d(0, 24px, -720px) scale(0.28) rotateX(14deg) rotateZ(-4deg);
  }
  18% {
    opacity: 1;
    filter:
      blur(2px)
      drop-shadow(0 0 22px rgba(255, 242, 189, 0.52))
      drop-shadow(0 0 42px rgba(104, 223, 255, 0.22));
    transform: translate3d(0, 0, -360px) scale(0.54) rotateX(8deg) rotateZ(0deg);
  }
  48% {
    opacity: 1;
    filter:
      blur(0)
      drop-shadow(0 0 34px rgba(255, 242, 189, 0.72))
      drop-shadow(0 0 68px rgba(104, 223, 255, 0.28));
    transform: translate3d(0, 0, -80px) scale(0.9) rotateX(0deg) rotateZ(0deg);
  }
  72% {
    opacity: 1;
    transform: translate3d(0, -4px, 96px) scale(1.18) rotateX(0deg) rotateZ(0deg);
  }
  100% {
    opacity: 0;
    filter:
      blur(2px)
      drop-shadow(0 0 44px rgba(255, 242, 189, 0.72))
      drop-shadow(0 0 82px rgba(104, 223, 255, 0.24));
    transform: translate3d(0, -12px, 420px) scale(2.08) rotateX(0deg) rotateZ(0deg);
  }
}

@keyframes cinematicRingPremiere {
  0% {
    opacity: 0;
    transform: translateZ(-520px) scale(0.28) rotate(18deg);
  }
  22% {
    opacity: 1;
  }
  58% {
    opacity: 0.92;
    transform: translateZ(-40px) scale(1.02) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translateZ(270px) scale(2.45) rotate(-10deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cinematic-gate {
    display: none !important;
  }
}

/* Latest refinement: clean intro, tighter concave gallery, and instant pointer aura */
.portfolio-3d-grid {
  gap: clamp(2.2rem, 3vw, 2.8rem) clamp(2.15rem, 3vw, 2.7rem) !important;
  max-width: min(1320px, calc(100vw - 24px)) !important;
  perspective: 1020px !important;
}

.portfolio-3d-section {
  width: min(1320px, 100%) !important;
  max-width: min(1320px, calc(100vw - 16px)) !important;
}

.portfolio-3d-wrapper:nth-child(3n + 1) {
  --base-rotate-y: -28;
  --base-x: 20px;
  --base-z: 64px;
  --base-y: -2px;
  --base-scale: 1.045;
}

.portfolio-3d-wrapper:nth-child(3n + 2) {
  --base-z: -118px;
  --base-y: 18px;
  --base-scale: 1.01;
}

.portfolio-3d-wrapper:nth-child(3n) {
  --base-rotate-y: 28;
  --base-x: -20px;
  --base-z: 64px;
  --base-y: -2px;
  --base-scale: 1.045;
}

.cinematic-gate {
  display: grid !important;
  background: rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: blur(18px) brightness(0.58) saturate(1.05) !important;
  animation: cinematicFocusReturn 1850ms cubic-bezier(0.2, 0.76, 0.2, 1) forwards !important;
}

.cinematic-gate::before,
.cinematic-gate::after,
.cinematic-gate span {
  display: none !important;
}

.cinematic-gate img {
  width: min(230px, 46vw) !important;
  filter:
    drop-shadow(0 0 20px rgba(255, 242, 189, 0.36))
    drop-shadow(0 0 34px rgba(104, 223, 255, 0.18)) !important;
  animation: cinematicLogoOnly 1700ms cubic-bezier(0.2, 0.76, 0.2, 1) forwards !important;
}

@keyframes cinematicFocusReturn {
  0% {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(20px) brightness(0.5) saturate(1.05);
  }
  70% {
    opacity: 1;
    backdrop-filter: blur(16px) brightness(0.68) saturate(1.04);
  }
  100% {
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(0) brightness(1) saturate(1);
  }
}

@keyframes cinematicLogoOnly {
  0% {
    opacity: 0;
    transform: translate3d(0, 8px, -80px) scale(0.82);
  }
  22% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  68% {
    opacity: 1;
    transform: translate3d(0, 0, 20px) scale(1.04);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, -4px, 70px) scale(1.16);
  }
}

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

.typewriter-line {
  min-height: 1em;
}

.typewriter-copy {
  min-height: calc(2em * 2);
}

.typewriter-caret {
  display: inline-block;
  width: 0.12em;
  min-width: 4px;
  height: 0.92em;
  margin-inline-start: 0.08em;
  vertical-align: -0.08em;
  background: #ffd56a;
  box-shadow:
    0 0 10px rgba(255, 213, 106, 0.78),
    0 0 22px rgba(255, 213, 106, 0.38);
}

.typewriter-copy .typewriter-caret {
  height: 1.1em;
  vertical-align: -0.18em;
}

.typewriter-caret[hidden] {
  display: none !important;
}

.typewriter-caret.is-blinking,
.typewriter-caret.is-done {
  animation: typewriterCaretBlink 360ms steps(1, end) infinite !important;
}

.typewriter-caret.is-typing {
  opacity: 1;
  animation: none;
}

@keyframes typewriterCaretBlink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

/* Home hero refinement: text-only hero, softer carets, no cursor shadow trail */

.quote-button,
.ghost-button,
.hero-cta,
.contact-form .ghost-button,
.premium-contact-form .ghost-button {
  background:
    linear-gradient(180deg, rgba(216, 185, 106, 0.24), rgba(59, 48, 22, 0.18)),
    rgba(10, 11, 10, 0.82) !important;
}

.hero-home {
  grid-template-columns: 1fr !important;
  min-height: min(620px, calc(100vh - 98px)) !important;
  direction: rtl !important;
  justify-items: center !important;
  text-align: center !important;
}

.hero-copy {
  width: min(920px, 100%) !important;
  justify-self: center !important;
  text-align: center !important;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 242, 189, 0.42);
  border-radius: 999px;
  color: rgba(255, 248, 221, 0.92);
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  font-weight: 900;
  letter-spacing: 0;
  background: rgba(8, 7, 4, 0.48);
  box-shadow: 0 0 18px rgba(216, 185, 106, 0.14), inset 0 1px 0 rgba(255, 248, 221, 0.12);
  backdrop-filter: blur(10px);
}

.hero-copy h1 {
  max-width: 900px !important;
  margin-inline: auto !important;
}

.hero-copy p {
  max-width: 760px !important;
  margin: 28px auto 0 !important;
}

.typewriter-caret {
  width: 2px !important;
  min-width: 2px !important;
  height: 0.88em !important;
  margin-inline-start: 0.075em !important;
  border-radius: 999px !important;
  background: #f2c95f !important;
  box-shadow:
    0 0 7px rgba(242, 201, 95, 0.88),
    0 0 16px rgba(216, 185, 106, 0.46),
    0 0 28px rgba(216, 185, 106, 0.22) !important;
}

.typewriter-copy .typewriter-caret {
  height: 1em !important;
  vertical-align: -0.16em !important;
}

.typewriter-caret.is-blinking,
.typewriter-caret.is-done {
  animation-duration: 480ms !important;
}

/* Architectural logo build sequence */
.cinematic-gate {
  display: grid !important;
  place-items: center !important;
  perspective: 1400px !important;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 242, 189, 0.16), transparent 18%),
    rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: blur(20px) brightness(0.44) saturate(1.08) !important;
  animation: architectGateFocus 2650ms cubic-bezier(0.18, 0.72, 0.12, 1) forwards !important;
}

.cinematic-gate::before,
.cinematic-gate::after,
.cinematic-gate span {
  display: block !important;
}

.cinematic-gate::before,
.cinematic-gate::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.cinematic-gate::before {
  z-index: 0;
  background:
    linear-gradient(90deg, transparent 49.85%, rgba(255, 242, 189, 0.34) 50%, transparent 50.15%),
    linear-gradient(0deg, transparent 49.85%, rgba(104, 223, 255, 0.22) 50%, transparent 50.15%),
    repeating-linear-gradient(90deg, rgba(255, 242, 189, 0.1) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(104, 223, 255, 0.09) 0 1px, transparent 1px 72px);
  opacity: 0;
  transform: translateZ(-220px) scale(0.76);
  animation: architectBlueprintGrid 2380ms cubic-bezier(0.18, 0.72, 0.12, 1) forwards !important;
}

.cinematic-gate::after {
  z-index: 4;
  background:
    linear-gradient(90deg, transparent 0 38%, rgba(255, 242, 189, 0.12) 44%, rgba(255, 255, 255, 0.42) 50%, rgba(104, 223, 255, 0.18) 56%, transparent 62% 100%);
  opacity: 0;
  transform: translateX(48vw) skewX(-10deg);
  animation: architectScanLine 2300ms cubic-bezier(0.16, 0.82, 0.18, 1) forwards !important;
}

.cinematic-gate span {
  position: absolute !important;
  z-index: 1;
  width: min(650px, 84vw) !important;
  aspect-ratio: 1315 / 984;
  border: 1px solid rgba(255, 242, 189, 0.52) !important;
  border-radius: 14px !important;
  box-shadow:
    0 0 0 1px rgba(104, 223, 255, 0.18),
    0 0 34px rgba(216, 185, 106, 0.16),
    inset 0 0 42px rgba(104, 223, 255, 0.08) !important;
  opacity: 0;
  transform: translateZ(-90px) scale(0.78);
  animation: architectFrameBuild 2450ms cubic-bezier(0.18, 0.72, 0.12, 1) forwards !important;
}

.cinematic-gate span::before,
.cinematic-gate span::after {
  position: absolute;
  content: "";
  pointer-events: none;
  border-radius: 8px;
}

.cinematic-gate span::before {
  inset: 10%;
  border: 1px dashed rgba(104, 223, 255, 0.34);
  box-shadow: inset 0 0 22px rgba(255, 242, 189, 0.08);
  animation: architectInnerFrame 2100ms ease-out forwards !important;
}

.cinematic-gate span::after {
  top: 50%;
  right: -8%;
  left: -8%;
  height: 1px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 242, 189, 0.82), rgba(104, 223, 255, 0.68), transparent);
  box-shadow: 0 0 18px rgba(255, 242, 189, 0.35);
  transform-origin: center;
  animation: architectMeasureLine 2200ms cubic-bezier(0.16, 0.82, 0.18, 1) forwards !important;
}

.cinematic-gate img {
  z-index: 2 !important;
  width: min(560px, 78vw) !important;
  max-height: min(74vh, 520px) !important;
  aspect-ratio: 1315 / 984 !important;
  object-fit: contain !important;
  filter:
    grayscale(1)
    brightness(1.82)
    contrast(0.88)
    drop-shadow(0 0 14px rgba(104, 223, 255, 0.28)) !important;
  clip-path: inset(50% 50% 50% 50%);
  transform-origin: center;
  animation: architectLogoBuild 2580ms cubic-bezier(0.14, 0.86, 0.14, 1) forwards !important;
}

@keyframes architectGateFocus {
  0% {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(22px) brightness(0.38) saturate(1.05);
  }
  76% {
    opacity: 1;
    backdrop-filter: blur(14px) brightness(0.62) saturate(1.05);
  }
  100% {
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(0) brightness(1) saturate(1);
  }
}

@keyframes architectBlueprintGrid {
  0% {
    opacity: 0;
    transform: translateZ(-320px) scale(0.68) rotateX(8deg);
  }
  18%,
  68% {
    opacity: 0.82;
  }
  100% {
    opacity: 0;
    transform: translateZ(80px) scale(1.1) rotateX(0deg);
  }
}

@keyframes architectFrameBuild {
  0% {
    opacity: 0;
    clip-path: inset(50% 50% 50% 50%);
    transform: translateZ(-140px) scale(0.72);
  }
  26% {
    opacity: 0.95;
    clip-path: inset(0 44% 0 44%);
  }
  52% {
    clip-path: inset(0);
    transform: translateZ(-10px) scale(1);
  }
  82% {
    opacity: 0.86;
  }
  100% {
    opacity: 0;
    transform: translateZ(160px) scale(1.18);
  }
}

@keyframes architectInnerFrame {
  0%,
  18% {
    opacity: 0;
    transform: scaleX(0.18);
  }
  48%,
  76% {
    opacity: 1;
    transform: scaleX(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.06);
  }
}

@keyframes architectMeasureLine {
  0% {
    opacity: 0;
    transform: rotate(0deg) scaleX(0);
  }
  24% {
    opacity: 0.86;
    transform: rotate(0deg) scaleX(1);
  }
  50% {
    opacity: 0.8;
    transform: rotate(90deg) scaleX(1);
  }
  82% {
    opacity: 0.58;
  }
  100% {
    opacity: 0;
    transform: rotate(90deg) scaleX(1.1);
  }
}

@keyframes architectScanLine {
  0%,
  14% {
    opacity: 0;
    transform: translateX(48vw) skewX(-10deg);
  }
  28%,
  62% {
    opacity: 0.78;
  }
  82%,
  100% {
    opacity: 0;
    transform: translateX(-58vw) skewX(-10deg);
  }
}

@keyframes architectLogoBuild {
  0% {
    opacity: 0;
    clip-path: inset(50% 50% 50% 50%);
    filter: blur(4px) grayscale(1) brightness(2.2) contrast(0.72) drop-shadow(0 0 8px rgba(104, 223, 255, 0.18));
    transform: translate3d(0, 12px, -180px) scale(0.78);
  }
  18% {
    opacity: 0.34;
    clip-path: inset(6% 36% 70% 36%);
    filter: blur(2px) grayscale(1) brightness(2) contrast(0.82) drop-shadow(0 0 18px rgba(104, 223, 255, 0.28));
  }
  42% {
    opacity: 0.74;
    clip-path: inset(0 0 34% 0);
    transform: translate3d(0, 0, -40px) scale(0.94);
  }
  62% {
    opacity: 1;
    clip-path: inset(0);
    filter: grayscale(0.45) brightness(1.32) contrast(0.96) drop-shadow(0 0 22px rgba(255, 242, 189, 0.28));
    transform: translate3d(0, 0, 0) scale(1);
  }
  80% {
    opacity: 1;
    filter:
      grayscale(0)
      brightness(1.08)
      contrast(1.04)
      drop-shadow(0 0 26px rgba(255, 242, 189, 0.36))
      drop-shadow(0 0 38px rgba(104, 223, 255, 0.18));
    transform: translate3d(0, -2px, 28px) scale(1.025);
  }
  100% {
    opacity: 0;
    clip-path: inset(0);
    filter:
      blur(1px)
      grayscale(0)
      brightness(1.22)
      contrast(1.04)
      drop-shadow(0 0 34px rgba(255, 242, 189, 0.42))
      drop-shadow(0 0 52px rgba(104, 223, 255, 0.22));
    transform: translate3d(0, -6px, 115px) scale(1.16);
  }
}

@media (max-width: 760px) {
  .cinematic-gate img {
    width: min(82vw, 430px) !important;
  }

  .cinematic-gate span {
    width: min(88vw, 480px) !important;
  }
}

/* Premium architectural logo reveal component.
   Place the final logo PNG/SVG in assets/lior-web-services-logo-full.webp. */
.architectural-logo-reveal {
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  perspective: 1500px !important;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 242, 189, 0.14), transparent 18%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.16)) !important;
  backdrop-filter: blur(22px) brightness(0.42) saturate(1.06) !important;
  animation: premiumArchitectGate 3420ms cubic-bezier(0.18, 0.72, 0.12, 1) forwards !important;
}

.architectural-logo-reveal::before {
  z-index: 0 !important;
  background:
    linear-gradient(90deg, transparent 49.92%, rgba(255, 242, 189, 0.34) 50%, transparent 50.08%),
    linear-gradient(0deg, transparent 49.92%, rgba(104, 223, 255, 0.22) 50%, transparent 50.08%),
    repeating-linear-gradient(90deg, rgba(255, 242, 189, 0.09) 0 1px, transparent 1px 74px),
    repeating-linear-gradient(0deg, rgba(104, 223, 255, 0.075) 0 1px, transparent 1px 74px),
    radial-gradient(circle at center, rgba(104, 223, 255, 0.08), transparent 48%) !important;
  opacity: 0;
  transform: translateZ(-260px) scale(0.74);
  animation: premiumArchitectGrid 3180ms cubic-bezier(0.18, 0.72, 0.12, 1) forwards !important;
}

.architectural-logo-reveal::after {
  z-index: 6 !important;
  background:
    linear-gradient(90deg, transparent 0 38%, rgba(255, 242, 189, 0.1) 44%, rgba(255, 255, 255, 0.48) 50%, rgba(104, 223, 255, 0.18) 56%, transparent 62% 100%) !important;
  opacity: 0;
  transform: translateX(54vw) skewX(-11deg);
  animation: premiumArchitectScan 2700ms cubic-bezier(0.16, 0.82, 0.18, 1) forwards !important;
}

.architect-stage {
  position: relative;
  z-index: 2;
  width: min(760px, 86vw);
  aspect-ratio: 1315 / 984;
  transform-style: preserve-3d;
  animation: premiumArchitectStage 3420ms cubic-bezier(0.18, 0.72, 0.12, 1) forwards;
}

.architect-grid,
.architect-frame,
.architect-strokes,
.architect-logo,
.architect-readout {
  position: absolute;
}

.architect-grid {
  inset: 0;
  z-index: 0;
  border-radius: 18px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 242, 189, 0.08) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(104, 223, 255, 0.075) 0 1px, transparent 1px 72px);
  opacity: 0;
  mask-image: radial-gradient(ellipse at center, #000 0 64%, transparent 82%);
  animation: premiumArchitectLocalGrid 2760ms ease-out forwards;
}

.architect-frame {
  inset: 7%;
  z-index: 1;
  border: 1px solid rgba(255, 242, 189, 0.48);
  border-radius: 15px;
  box-shadow:
    0 0 0 1px rgba(104, 223, 255, 0.18),
    0 0 38px rgba(216, 185, 106, 0.16),
    inset 0 0 38px rgba(104, 223, 255, 0.07);
  opacity: 0;
  clip-path: inset(50% 50% 50% 50%);
  animation: premiumArchitectFrame 3000ms cubic-bezier(0.18, 0.72, 0.12, 1) forwards;
}

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

.architect-frame::before {
  inset: 9%;
  border: 1px dashed rgba(104, 223, 255, 0.32);
  border-radius: 9px;
}

.architect-frame::after {
  top: 50%;
  right: -7%;
  left: -7%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 242, 189, 0.78), rgba(104, 223, 255, 0.64), transparent);
  box-shadow: 0 0 18px rgba(255, 242, 189, 0.28);
  animation: premiumArchitectMeasure 2600ms cubic-bezier(0.16, 0.82, 0.18, 1) forwards;
}

.architect-strokes {
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  pointer-events: none;
}

.architect-strokes path {
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.architect-guides path {
  stroke: rgba(255, 242, 189, 0.38);
  stroke-width: 1.1;
}

.architect-logo-lines path {
  stroke: rgba(220, 246, 255, 0.72);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 7px rgba(104, 223, 255, 0.28));
}

.draw {
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  opacity: 0;
  animation: premiumArchitectDraw 1550ms cubic-bezier(0.2, 0.78, 0.2, 1) forwards;
}

.draw-1 { animation-delay: 130ms; }
.draw-2 { animation-delay: 280ms; }
.draw-3 { animation-delay: 470ms; }
.draw-4 { animation-delay: 650ms; }
.draw-5 { animation-delay: 850ms; }
.draw-6 { animation-delay: 1040ms; }
.draw-7 { animation-delay: 1180ms; }

.node-dot {
  fill: rgba(104, 223, 255, 0.86);
  stroke: rgba(255, 242, 189, 0.58);
  stroke-width: 1.5;
  opacity: 0;
  filter: drop-shadow(0 0 8px rgba(104, 223, 255, 0.44));
  transform-box: fill-box;
  transform-origin: center;
  animation: premiumArchitectNode 1900ms ease-out forwards;
}

.node-1 { animation-delay: 520ms; }
.node-2 { animation-delay: 760ms; }
.node-3 { animation-delay: 880ms; }
.node-4 { animation-delay: 1080ms; }
.node-5 { animation-delay: 1220ms; }
.node-6 { animation-delay: 1360ms; }

.architect-logo {
  inset: 0;
  z-index: 4;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  transform-origin: center;
  will-change: clip-path, opacity, transform, filter;
}

.cinematic-gate .architect-logo {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  aspect-ratio: 1315 / 984 !important;
  object-fit: contain !important;
}

.cinematic-gate .architect-logo-wire {
  opacity: 0;
  mix-blend-mode: screen;
  filter:
    grayscale(1)
    brightness(2.2)
    contrast(0.62)
    drop-shadow(0 0 18px rgba(104, 223, 255, 0.24)) !important;
  clip-path: inset(54% 54% 54% 54%);
  animation: premiumArchitectWire 2550ms cubic-bezier(0.16, 0.84, 0.18, 1) forwards !important;
}

.cinematic-gate .architect-logo-final {
  opacity: 0;
  filter:
    grayscale(0.62)
    brightness(1.34)
    contrast(0.94)
    drop-shadow(0 0 18px rgba(255, 242, 189, 0.18)) !important;
  clip-path: inset(44% 44% 44% 44%);
  animation: premiumArchitectMaterial 3420ms cubic-bezier(0.14, 0.86, 0.14, 1) forwards !important;
}

.architect-readout {
  z-index: 5;
  padding: 5px 9px;
  border: 1px solid rgba(255, 242, 189, 0.28);
  border-radius: 999px;
  color: rgba(255, 248, 221, 0.78);
  font-size: clamp(0.55rem, 1.15vw, 0.76rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  direction: ltr;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 0 16px rgba(216, 185, 106, 0.08);
  opacity: 0;
  animation: premiumArchitectReadout 2900ms ease-out forwards;
}

.readout-a {
  top: 8%;
  right: 4%;
  animation-delay: 360ms;
}

.readout-b {
  top: 54%;
  left: 1%;
  animation-delay: 820ms;
}

.readout-c {
  right: 7%;
  bottom: 9%;
  animation-delay: 1450ms;
}

@keyframes premiumArchitectGate {
  0% {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(24px) brightness(0.34) saturate(1.04);
  }
  78% {
    opacity: 1;
    backdrop-filter: blur(15px) brightness(0.58) saturate(1.04);
  }
  100% {
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(0) brightness(1) saturate(1);
  }
}

@keyframes premiumArchitectGrid {
  0% {
    opacity: 0;
    transform: translateZ(-360px) scale(0.68) rotateX(7deg);
  }
  18%,
  72% {
    opacity: 0.76;
  }
  100% {
    opacity: 0;
    transform: translateZ(90px) scale(1.12) rotateX(0deg);
  }
}

@keyframes premiumArchitectScan {
  0%,
  12% {
    opacity: 0;
    transform: translateX(54vw) skewX(-11deg);
  }
  24%,
  62% {
    opacity: 0.72;
  }
  84%,
  100% {
    opacity: 0;
    transform: translateX(-58vw) skewX(-11deg);
  }
}

@keyframes premiumArchitectStage {
  0% {
    opacity: 1;
    transform: translate3d(0, 10px, -130px) scale(0.88);
  }
  68% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  86% {
    opacity: 1;
    transform: translate3d(0, -2px, 34px) scale(1.025);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, -8px, 145px) scale(1.1);
  }
}

@keyframes premiumArchitectLocalGrid {
  0% {
    opacity: 0;
    transform: scale(0.84);
  }
  22%,
  74% {
    opacity: 0.56;
  }
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

@keyframes premiumArchitectFrame {
  0% {
    opacity: 0;
    clip-path: inset(50% 50% 50% 50%);
    transform: translateZ(-80px) scale(0.78);
  }
  26% {
    opacity: 0.92;
    clip-path: inset(0 46% 0 46%);
  }
  52% {
    clip-path: inset(0);
    transform: translateZ(-8px) scale(1);
  }
  80% {
    opacity: 0.86;
  }
  100% {
    opacity: 0;
    transform: translateZ(120px) scale(1.14);
  }
}

@keyframes premiumArchitectMeasure {
  0% {
    opacity: 0;
    transform: rotate(0deg) scaleX(0);
  }
  24% {
    opacity: 0.86;
    transform: rotate(0deg) scaleX(1);
  }
  52% {
    opacity: 0.74;
    transform: rotate(90deg) scaleX(1);
  }
  100% {
    opacity: 0;
    transform: rotate(90deg) scaleX(1.12);
  }
}

@keyframes premiumArchitectDraw {
  0% {
    opacity: 0;
    stroke-dashoffset: 1600;
  }
  16% {
    opacity: 1;
  }
  72% {
    opacity: 0.96;
    stroke-dashoffset: 0;
  }
  100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@keyframes premiumArchitectNode {
  0% {
    opacity: 0;
    transform: scale(0.2);
  }
  24%,
  72% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}

@keyframes premiumArchitectWire {
  0% {
    opacity: 0;
    clip-path: inset(54% 54% 54% 54%);
    transform: scale(0.94);
  }
  28% {
    opacity: 0.26;
    clip-path: inset(0 34% 70% 34%);
  }
  54% {
    opacity: 0.52;
    clip-path: inset(0 0 26% 0);
    transform: scale(1);
  }
  76% {
    opacity: 0.24;
    clip-path: inset(0);
  }
  100% {
    opacity: 0;
    clip-path: inset(0);
    transform: scale(1.035);
  }
}

@keyframes premiumArchitectMaterial {
  0%,
  34% {
    opacity: 0;
    clip-path: inset(44% 44% 44% 44%);
    transform: translateZ(-24px) scale(0.96);
  }
  56% {
    opacity: 0.78;
    clip-path: inset(0 0 28% 0);
    filter:
      grayscale(0.42)
      brightness(1.28)
      contrast(0.96)
      drop-shadow(0 0 22px rgba(104, 223, 255, 0.16)) !important;
  }
  74% {
    opacity: 1;
    clip-path: inset(0);
    transform: translateZ(0) scale(1);
    filter:
      grayscale(0)
      brightness(1.06)
      contrast(1.04)
      drop-shadow(0 0 24px rgba(255, 242, 189, 0.26))
      drop-shadow(0 0 32px rgba(104, 223, 255, 0.14)) !important;
  }
  88% {
    opacity: 1;
    transform: translateZ(32px) scale(1.02);
  }
  100% {
    opacity: 0;
    clip-path: inset(0);
    transform: translate3d(0, -5px, 120px) scale(1.08);
    filter:
      blur(0.8px)
      grayscale(0)
      brightness(1.16)
      contrast(1.04)
      drop-shadow(0 0 32px rgba(255, 242, 189, 0.38))
      drop-shadow(0 0 48px rgba(104, 223, 255, 0.18)) !important;
  }
}

@keyframes premiumArchitectReadout {
  0%,
  18% {
    opacity: 0;
    transform: translateY(6px);
  }
  32%,
  72% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-4px);
  }
}

@media (max-width: 760px) {
  .architect-stage {
    width: min(92vw, 520px);
  }

  .architect-readout {
    display: none;
  }
}

/* Final override for the custom architectural intro. Older intro experiments remain in
   the stylesheet, so this scoped block gives the current reveal deterministic priority. */
body .cinematic-gate.architectural-logo-reveal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 110 !important;
  display: grid !important;
  place-items: center !important;
  pointer-events: none !important;
  overflow: hidden !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform-style: preserve-3d !important;
  animation: premiumArchitectGate 3420ms cubic-bezier(0.18, 0.72, 0.12, 1) forwards !important;
}

body .cinematic-gate.architectural-logo-reveal::before,
body .cinematic-gate.architectural-logo-reveal::after {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  content: "" !important;
  pointer-events: none !important;
}

body .cinematic-gate.architectural-logo-reveal .architect-stage {
  display: block !important;
  opacity: 1;
}

body .cinematic-gate.architectural-logo-reveal .architect-logo {
  position: absolute !important;
  inset: 0 !important;
}

body .cinematic-gate.architectural-logo-reveal.is-complete {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 420ms ease, visibility 0s linear 420ms !important;
}

@media (prefers-reduced-motion: reduce) {
  body .cinematic-gate.architectural-logo-reveal {
    display: none !important;
    animation: none !important;
  }
}

/* Current requested refinements */
.site-header {
  width: min(96vw, 1040px) !important;
  min-height: 76px !important;
}

.brand-mark {
  width: clamp(108px, 12vw, 132px) !important;
  height: 66px !important;
  border-radius: 16px !important;
  padding: 4px 8px !important;
  overflow: hidden !important;
}

.brand-mark img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1315 / 984 !important;
  object-fit: contain !important;
  border-radius: 0 !important;
}

.typewriter-caret {
  background: var(--gold) !important;
  box-shadow:
    0 0 8px rgba(216, 185, 106, 0.9),
    0 0 18px rgba(216, 185, 106, 0.48),
    0 0 30px rgba(216, 185, 106, 0.22) !important;
}

body[data-route="contact"] .site-footer {
  display: block !important;
}

body[data-route="contact"] {
  overflow-y: auto !important;
}

body[data-route="contact"] .app-shell {
  min-height: auto !important;
}

.contact-compact {
  grid-template-columns: minmax(170px, 220px) minmax(390px, 1fr) minmax(430px, 520px) !important;
  width: min(1240px, 100%) !important;
  align-items: stretch !important;
}

.contact-logo {
  width: min(190px, 100%) !important;
}

.contact-copy {
  align-self: stretch;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid rgba(255, 242, 189, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(240px circle at 18% 18%, rgba(255, 242, 189, 0.1), transparent 58%),
    rgba(10, 11, 10, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 248, 221, 0.12), 0 16px 34px rgba(0, 0, 0, 0.22);
}

.contact-copy p {
  max-width: none !important;
}

.about-faq {
  width: min(980px, 100%);
  margin: 0 auto 76px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(255, 242, 189, 0.28);
  border-radius: var(--radius);
  padding: 0;
  background:
    radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 242, 189, 0.1), transparent 48%),
    rgba(10, 11, 10, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 248, 221, 0.12), 0 14px 30px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--champagne);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  font-weight: 900;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: 10px;
  border: 1px solid rgba(255, 242, 189, 0.42);
  border-radius: 50%;
  color: var(--gold-strong);
  font-weight: 900;
}

.faq-item[open] summary::before {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 56px 20px 20px;
  color: rgba(230, 222, 198, 0.84);
  line-height: 1.78;
}

.legal-modal[hidden] {
  display: none;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(12px) brightness(0.58);
}

.legal-modal-card {
  position: relative;
  width: min(860px, calc(100vw - 34px));
  max-height: min(82vh, 760px);
  overflow: auto;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(255, 242, 189, 0.36);
  border-radius: var(--radius);
  color: rgba(230, 240, 244, 0.9);
  background:
    radial-gradient(360px circle at 80% 0%, rgba(255, 242, 189, 0.12), transparent 58%),
    rgba(8, 9, 8, 0.92);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.64), inset 0 1px 0 rgba(255, 248, 221, 0.14);
}

.legal-modal-close,
.legal-page-close {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 242, 189, 0.48);
  border-radius: 50%;
  color: #fff8dd;
  font-size: 1.65rem;
  line-height: 1;
  background: rgba(10, 10, 9, 0.82);
  box-shadow: 0 0 18px rgba(216, 185, 106, 0.2);
  cursor: pointer;
}

.legal-modal-content h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.legal-modal-content h3 {
  margin: 26px 0 10px;
  color: var(--gold-strong);
}

.legal-modal-content p,
.legal-modal-content li {
  line-height: 1.82;
}

.legal-modal-open {
  overflow: hidden;
}

.legal-page {
  position: relative;
}

@media (max-width: 1120px) {
  .contact-compact {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 520px) !important;
  }

  .contact-logo-wrap {
    display: none;
  }
}

@media (max-width: 860px) {
  .site-header {
    width: min(94vw, 720px) !important;
  }

  .brand-mark {
    width: 78px !important;
    height: 52px !important;
    padding: 3px 6px !important;
  }

  .contact-compact {
    grid-template-columns: 1fr !important;
  }

  .contact-copy {
    padding: 20px;
  }

  .faq-item p {
    padding: 0 20px 18px;
  }
}

/* Final QA corrections: full header logo + clearer contact layout */
.site-header {
  min-height: 94px !important;
}

.brand-mark {
  width: clamp(126px, 13vw, 150px) !important;
  height: 86px !important;
  padding: 4px 6px !important;
}

.brand-mark img {
  object-position: center center !important;
}

body[data-route="contact"] .contact-logo-wrap {
  display: none !important;
}

body[data-route="contact"] .contact-compact {
  grid-template-columns: minmax(430px, 1fr) minmax(430px, 520px) !important;
  width: min(1120px, 100%) !important;
}

@media (max-width: 900px) {
  body[data-route="contact"] .contact-compact {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 72px !important;
  }

  .brand-mark {
    width: 84px !important;
    height: 60px !important;
    padding: 3px 4px !important;
  }
}

/* Header brand treatment for the latest full logo asset */
.brand-mark {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: auto !important;
  min-width: 188px !important;
  height: 64px !important;
  padding: 7px 12px !important;
  border-radius: 18px !important;
  background:
    radial-gradient(90px circle at 78% 42%, rgba(255, 242, 189, 0.12), transparent 68%),
    rgba(8, 10, 10, 0.62) !important;
}

.brand-mark img {
  width: 46px !important;
  height: 46px !important;
  flex: 0 0 46px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: 50% 18% !important;
  filter: drop-shadow(0 0 10px rgba(255, 242, 189, 0.24)) !important;
}

.brand-wordmark {
  display: grid;
  gap: 0;
  text-align: right;
  direction: ltr;
  line-height: 1;
  color: #f8f3df;
  text-shadow: 0 0 10px rgba(216, 185, 106, 0.26);
}

.brand-wordmark strong {
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand-wordmark small {
  margin-top: 4px;
  color: rgba(255, 242, 189, 0.76);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

@media (max-width: 700px) {
  .app-shell {
    width: 100% !important;
    max-width: 100vw !important;
    padding-right: 14px !important;
    padding-left: 14px !important;
    overflow-x: hidden !important;
  }

  .page {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .site-header {
    width: calc(100vw - 12px) !important;
    margin-right: 6px !important;
    margin-left: 6px !important;
    padding: 6px 8px !important;
    gap: 6px !important;
  }

  .brand-mark {
    min-width: 44px !important;
    width: 44px !important;
    height: 42px !important;
    padding: 4px !important;
    border-radius: 13px !important;
  }

  .brand-mark img {
    width: 34px !important;
    height: 34px !important;
    flex-basis: 34px !important;
  }

  .brand-wordmark {
    display: none;
  }

  .quote-button {
    min-height: 34px !important;
    padding: 0 9px !important;
    font-size: 0.74rem !important;
  }

  .menu-toggle {
    width: 38px !important;
    height: 36px !important;
  }

  .page-about,
  .page-about .simple-hero,
  .page-about .about-layout,
  .page-about .about-panel,
  .page-about .about-story,
  .page-about .about-signals,
  .page-about .about-faq,
  .page-about .faq-list {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  .page-about .about-layout {
    margin-right: 0 !important;
    margin-left: 0 !important;
    justify-items: center !important;
  }

  .page-about .about-panel,
  .page-about .about-signal,
  .page-about .faq-item {
    width: calc(100vw - 44px) !important;
    max-width: calc(100vw - 44px) !important;
  }

  .about-kicker {
    justify-self: stretch !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
    overflow-wrap: anywhere !important;
  }

  .about-quote,
  .about-panel p,
  .about-signal h3,
  .about-signal p,
  .faq-item summary,
  .faq-item p {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
  }

  .about-quote {
    font-size: clamp(1.55rem, 8vw, 2.05rem) !important;
    line-height: 1.28 !important;
  }

  .about-micro-grid span,
  .about-signal {
    min-width: 0 !important;
  }
}

@media (max-width: 480px) {
  .site-header {
    width: calc(100vw - 24px) !important;
    margin-right: 12px !important;
    margin-left: 12px !important;
    justify-content: space-between !important;
  }

  .site-header .brand-mark {
    display: none !important;
  }

  .site-header .quote-button {
    width: 108px !important;
    max-width: 108px !important;
    min-height: 38px !important;
    padding: 0 6px !important;
    font-size: 0.62rem !important;
    white-space: normal !important;
    line-height: 1.08 !important;
    text-align: center !important;
  }

  .page-about .about-panel,
  .page-about .about-signal,
  .page-about .faq-item {
    width: calc(100vw - 72px) !important;
    max-width: calc(100vw - 72px) !important;
  }

  .page-about .about-panel {
    padding-right: 12px !important;
    padding-left: 12px !important;
    text-align: center !important;
  }

  .about-quote {
    font-size: clamp(1.2rem, 6.4vw, 1.62rem) !important;
    max-width: 210px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
    overflow-wrap: anywhere !important;
  }

  .about-panel p {
    text-align: center !important;
    font-size: 0.94rem !important;
    line-height: 1.72 !important;
  }
}

/* Absolute last mobile guardrails */
@media (max-width: 700px) {
  .site-header .quote-button {
    width: 108px !important;
    max-width: 108px !important;
    min-height: 38px !important;
    padding: 0 6px !important;
    font-size: 0.62rem !important;
    white-space: normal !important;
    line-height: 1.08 !important;
    text-align: center !important;
  }

  .page-about .about-panel,
  .page-about .about-signal,
  .page-about .faq-item {
    width: min(318px, calc(100vw - 72px)) !important;
    max-width: min(318px, calc(100vw - 72px)) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .page-about .about-panel {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  .about-quote {
    max-width: 210px !important;
    font-size: clamp(1.2rem, 6.4vw, 1.62rem) !important;
    line-height: 1.3 !important;
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
    overflow-wrap: anywhere !important;
  }

  .about-panel p {
    font-size: 0.94rem !important;
    line-height: 1.72 !important;
    text-align: center !important;
  }
}

/* Current final overrides - placed after all legacy blocks. */
@media (max-width: 760px) {
  .site-header .brand-mark {
    display: block !important;
  }
}

@media (max-width: 760px) {
  *,
  *::before,
  *::after {
    max-width: 100vw;
  }

  html,
  body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .main-nav {
    display: none !important;
  }

  .main-nav.is-open {
    display: flex !important;
  }

  .hero-copy,
  .hero-copy > *,
  .simple-hero,
  .simple-hero > *,
  .section-title,
  .typing-title,
  .typing-subtitle,
  .hero-kicker,
  .guides-kicker,
  .about-kicker,
  .guides-intro {
    width: 100% !important;
    max-width: calc(100vw - 32px) !important;
    min-width: 0 !important;
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }

  .hero-kicker,
  .guides-kicker,
  .about-kicker {
    display: inline-flex !important;
    justify-content: center !important;
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  .cta-row,
  .hero-actions {
    width: 100% !important;
    max-width: calc(100vw - 32px) !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
  }

  .stat-card,
  .neon-card,
  .service-detail-card,
  .trust-card,
  .guide-card,
  .about-signal,
  .faq-item,
  .portfolio-3d-wrapper,
  .portfolio-3d-card,
  .contact-form,
  .contact-copy {
    width: 100% !important;
    max-width: calc(100vw - 32px) !important;
    min-width: 0 !important;
  }
}

.site-header {
  width: calc(100vw - 48px) !important;
  max-width: none !important;
  min-height: 92px !important;
  margin: 16px 24px 0 !important;
  padding: 10px 20px !important;
  gap: clamp(14px, 2vw, 28px) !important;
  border-color: rgba(255, 242, 189, 0.32) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 42%, rgba(10, 10, 10, 0.66)),
    linear-gradient(90deg, rgba(255, 242, 189, 0.075), rgba(255, 255, 255, 0.035), rgba(104, 223, 255, 0.05)),
    rgba(5, 7, 8, 0.76) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 242, 189, 0.16),
    0 22px 60px rgba(0, 0, 0, 0.36),
    0 0 34px rgba(216, 185, 106, 0.1) !important;
  backdrop-filter: blur(26px) saturate(150%) !important;
}

.brand-mark {
  display: block !important;
  flex: 0 0 clamp(230px, 21vw, 330px) !important;
  width: clamp(230px, 21vw, 330px) !important;
  min-width: clamp(230px, 21vw, 330px) !important;
  height: clamp(74px, 7vw, 98px) !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 14px !important;
  border-color: rgba(255, 242, 189, 0.26) !important;
  background: rgba(0, 0, 0, 0.46) !important;
}

.brand-mark img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  flex: 0 0 auto !important;
  object-fit: cover !important;
  object-position: center bottom !important;
  border-radius: 0 !important;
  filter: drop-shadow(0 0 14px rgba(255, 242, 189, 0.22)) !important;
}

.brand-wordmark {
  display: none !important;
}

.main-nav {
  justify-content: center !important;
  gap: clamp(24px, 4.2vw, 66px) !important;
}

.site-header .nav-link,
.site-header .quote-button {
  color: #ffffff !important;
}

.site-header .nav-link.is-active,
.site-header .nav-link:hover {
  color: #fff8dd !important;
  text-shadow: 0 0 16px rgba(255, 242, 189, 0.42) !important;
}

.accessibility-widget {
  right: auto !important;
  left: 18px !important;
  justify-items: start !important;
}

.accessibility-toggle {
  border-radius: 50% !important;
}

.accessibility-panel {
  right: auto !important;
  left: 0 !important;
}

.architect-readout,
.readout-a,
.readout-b,
.readout-c,
.cinematic-gate .architect-logo-wire {
  display: none !important;
}

.architect-text-lines path {
  stroke: rgba(255, 242, 189, 0.72) !important;
  stroke-width: 2.2 !important;
  filter:
    drop-shadow(0 0 6px rgba(255, 242, 189, 0.34))
    drop-shadow(0 0 14px rgba(104, 223, 255, 0.14)) !important;
}

.intro-panel,
.about-panel,
.contact-form,
.contact-copy,
.neon-card,
.stat-card,
.map-step,
.mindmap-4d .mind-node,
.service-detail-card,
.timeline-step,
.trust-card,
.about-signal,
.faq-item,
.guide-card,
.portfolio-3d-card,
.legal-page {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.025) 54%, rgba(216, 185, 106, 0.035)),
    rgba(8, 10, 10, 0.78) !important;
}

.portfolio-3d-card::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.045)) !important;
}

.mindmap-4d .mind-node::after,
.about-panel::after,
.service-detail-card::after {
  background: linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.12) 50%, transparent 58% 100%) !important;
}

.mind-step-1 { --x: 50% !important; --y: 9% !important; --z: 82px !important; --rx: -9deg !important; --ry: 0deg !important; }
.mind-step-2 { --x: 82% !important; --y: 25% !important; --z: 70px !important; --rx: -7deg !important; --ry: -11deg !important; }
.mind-step-3 { --x: 82% !important; --y: 73% !important; --z: 44px !important; --rx: 6deg !important; --ry: -8deg !important; }
.mind-step-4 { --x: 50% !important; --y: 93% !important; --z: 38px !important; --rx: 8deg !important; --ry: 0deg !important; }
.mind-step-5 { --x: 18% !important; --y: 73% !important; --z: 78px !important; --rx: 6deg !important; --ry: 9deg !important; }
.mind-step-6 { --x: 18% !important; --y: 25% !important; --z: 54px !important; --rx: -6deg !important; --ry: 11deg !important; }

.guides-hero {
  align-content: start !important;
}

.guide-card {
  min-height: 330px !important;
}

@media (max-width: 1120px) {
  .brand-mark {
    flex-basis: 180px !important;
    width: 180px !important;
    min-width: 180px !important;
    height: 66px !important;
  }

  .main-nav {
    gap: clamp(14px, 2.2vw, 28px) !important;
  }
}

@media (max-width: 760px) {
  html,
  body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .site-header {
    top: 8px !important;
    width: calc(100vw - 16px) !important;
    min-height: 62px !important;
    margin: 8px 8px 0 !important;
    padding: 7px 8px !important;
    gap: 7px !important;
    border-radius: 14px !important;
  }

  .brand-mark {
    display: block !important;
    flex: 0 0 112px !important;
    width: 112px !important;
    min-width: 112px !important;
    height: 42px !important;
    border-radius: 10px !important;
  }

  .site-header .quote-button {
    flex: 0 1 128px !important;
    width: auto !important;
    max-width: 128px !important;
    min-height: 38px !important;
    padding: 0 8px !important;
    font-size: 0.68rem !important;
    line-height: 1.12 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  .menu-toggle {
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 38px !important;
  }

  .main-nav {
    top: calc(100% + 10px) !important;
    right: 0 !important;
    left: 0 !important;
    max-height: calc(100vh - 92px) !important;
    overflow-y: auto !important;
  }

  .app-shell {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 46px 16px 72px !important;
  }

  .hero-copy,
  .simple-hero,
  .home-centered-hero,
  .page-guides,
  .page-portfolio,
  .page-about,
  .page-contact {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .hero-copy h1,
  .page-title {
    max-width: 100% !important;
    font-size: clamp(2.2rem, 11vw, 3.4rem) !important;
    line-height: 1.08 !important;
    overflow-wrap: break-word !important;
  }

  .hero-copy p,
  .guides-intro,
  .about-panel p,
  .contact-copy p {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
  }

  .stats-grid,
  .service-grid,
  .service-detail-grid,
  .trust-grid,
  .guides-grid,
  .contact-promises,
  .compact-metrics,
  .about-signals {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 430px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .premium-intake-map,
  .mindmap-4d {
    display: grid !important;
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    padding: 22px 0 !important;
    perspective: none !important;
  }

  .mindmap-links,
  .mindmap-core,
  .map-orbit {
    display: none !important;
  }

  .mindmap-4d .mind-node,
  .mindmap-4d .mind-node:nth-of-type(odd),
  .mindmap-4d .mind-node:nth-of-type(even),
  .mindmap-4d .mind-node:hover {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 430px !important;
    min-height: auto !important;
    margin: 0 auto 16px !important;
    transform: none !important;
  }

  .portfolio-3d-section,
  .portfolio-3d-grid {
    width: 100% !important;
    max-width: 430px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .portfolio-3d-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    padding: 0 !important;
    perspective: none !important;
  }

  .portfolio-3d-wrapper,
  .portfolio-3d-wrapper:nth-child(3n + 1),
  .portfolio-3d-wrapper:nth-child(3n + 2),
  .portfolio-3d-wrapper:nth-child(3n) {
    --base-rotate-y: 0 !important;
    --base-x: 0px !important;
    --base-z: 0px !important;
    --base-y: 0px !important;
    --base-scale: 1 !important;
  }

  .portfolio-3d-card {
    border-radius: 12px !important;
  }

  .contact-compact {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 430px !important;
  }

  .accessibility-widget {
    right: auto !important;
    left: 12px !important;
    bottom: 12px !important;
  }
}

@media (max-width: 420px) {
  .brand-mark {
    flex-basis: 96px !important;
    width: 96px !important;
    min-width: 96px !important;
    height: 38px !important;
  }

  .site-header .quote-button {
    max-width: 112px !important;
    font-size: 0.62rem !important;
    padding: 0 5px !important;
  }

  .app-shell {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }
}

/* === OBSIDIAN GRADIENT MESH BACKGROUND === */
html, body {
  background: #05080F !important;
}
body {
  background:
    radial-gradient(60% 55% at 88% 8%, rgba(22, 42, 78, 0.55), transparent 62%),
    radial-gradient(55% 50% at 12% 92%, rgba(74, 48, 28, 0.38), transparent 65%),
    radial-gradient(45% 45% at 50% 50%, rgba(14, 24, 44, 0.40), transparent 70%),
    #05080F !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
  min-height: 100vh !important;
}
body::before,
body::after,
.decor-layers,
.decor-layers::before,
.decor-layers::after,
.decor,
.neuron-bg,
.ambient-bg,
.bg-decor,
.background-decor {
  display: none !important;
  background: none !important;
  animation: none !important;
}
