:root {
  --bg: #050027;
  --panel: #08003a;
  --ink: #fbfbff;
  --muted: rgba(235, 238, 255, 0.74);
  --blue: #194bff;
  --cyan: #29d8ff;
  --violet: #7e42ff;
  --pink: #ff3ebd;
  --green: #8df34c;
  --yellow: #ffd94f;
  --mx: 50%;
  --my: 46%;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Lexend", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
}

body.is-cube-open {
  height: 100svh;
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(57, 217, 255, 0.22), transparent 20%),
    radial-gradient(circle at 18% 82%, rgba(90, 45, 255, 0.36), transparent 24%),
    linear-gradient(145deg, #020015 0%, #050027 44%, #020013 100%);
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

.experience {
  min-height: 100svh;
}

.panel {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  padding: max(34px, env(safe-area-inset-top)) 20px max(34px, env(safe-area-inset-bottom));
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(125deg, transparent 0 36%, rgba(35, 79, 255, 0.28) 36.2%, transparent 37.2%),
    repeating-linear-gradient(146deg, transparent 0 52px, rgba(35, 79, 255, 0.55) 53px, transparent 56px),
    repeating-linear-gradient(148deg, transparent 0 105px, rgba(41, 216, 255, 0.34) 106px, transparent 108px);
  opacity: 0.62;
  transform: translateZ(0);
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 0, 39, 0.68), rgba(5, 0, 39, 0.22) 38%, rgba(5, 0, 39, 0.88)),
    radial-gradient(ellipse at center, transparent 12%, rgba(0, 0, 0, 0.42) 78%);
  pointer-events: none;
}

.hero-panel {
  display: grid;
  place-items: center;
}

.hero-shell {
  width: min(100%, 1120px);
  display: grid;
  gap: 30px;
  align-items: center;
  justify-items: center;
}

.hero-copy,
.section-heading,
.app-copy,
.contact-actions,
.hero-logo-wrap,
.language-card,
.service-card,
.identity-card {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 660px;
  margin-inline: auto;
  text-align: center;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 900ms ease, transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.is-ready .hero-copy {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow,
.section-kicker,
.section-heading p {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  font-size: 2.75rem;
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow:
    0 0 18px rgba(41, 216, 255, 0.44),
    0 0 32px rgba(126, 66, 255, 0.42),
    0 18px 56px rgba(0, 0, 0, 0.76);
}

h2 {
  margin-bottom: 0;
  font-size: 2.25rem;
  line-height: 0.98;
  font-weight: 860;
  letter-spacing: 0;
}

h3 {
  font-size: 1.06rem;
  line-height: 1.2;
}

.lead {
  color: rgba(251, 251, 255, 0.86);
  font-size: 1.04rem;
  line-height: 1.6;
}

.cta {
  position: relative;
  width: min(100%, 290px);
  min-height: 58px;
  margin-top: 16px;
  border: 1px solid rgba(251, 251, 255, 0.72);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(41, 216, 255, 0.34), rgba(255, 62, 189, 0.26)),
    rgba(5, 0, 39, 0.44);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow:
    0 0 0 1px rgba(41, 216, 255, 0.16) inset,
    0 0 24px rgba(41, 216, 255, 0.28),
    0 0 42px rgba(255, 62, 189, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.cta:active {
  transform: scale(0.98);
}

.cta:focus-visible,
.contact-link:focus-visible,
.nav-dot:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}

.hero-logo-wrap {
  width: min(100%, 360px);
  aspect-ratio: 840 / 664;
  margin-inline: auto;
  filter:
    drop-shadow(0 0 22px rgba(41, 216, 255, 0.2))
    drop-shadow(0 22px 42px rgba(0, 0, 0, 0.42));
}

.hero-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 54%, rgba(0, 0, 0, 0.72) 68%, transparent 82%);
  mask-image: radial-gradient(ellipse at center, #000 54%, rgba(0, 0, 0, 0.72) 68%, transparent 82%);
}

.section-heading {
  width: min(100%, 850px);
  margin: 0 auto 30px;
  text-align: center;
}

.compact {
  margin-bottom: 26px;
}

.section-kicker {
  width: min(100%, 760px);
  margin: 0 auto 18px;
  color: rgba(255, 62, 189, 0.94);
  text-align: center;
}

.language-grid,
.service-grid,
.identity-grid {
  width: min(100%, 1120px);
  margin-inline: auto;
  display: grid;
  gap: 16px;
}

.language-card,
.service-card,
.identity-card {
  border: 1px solid rgba(120, 170, 255, 0.22);
  border-radius: 8px;
  background: rgba(4, 0, 31, 0.68);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.language-card {
  padding: 22px;
}

.language-card p,
.service-card p {
  color: rgba(251, 251, 255, 0.82);
  line-height: 1.55;
}

.language-badge {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
}

.fr .language-badge { background: linear-gradient(135deg, #ff4ebd, #9d50ff); }
.nl .language-badge { background: linear-gradient(135deg, #29d8ff, #7e42ff); }
.en .language-badge { background: linear-gradient(135deg, #8df34c, #29d8ff); }

.service-card {
  min-height: 238px;
  padding: 22px;
}

.service-card h3 {
  text-transform: uppercase;
}

.translation {
  color: rgba(191, 209, 255, 0.7) !important;
  font-size: 0.9rem;
}

.corner-glow {
  display: block;
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
  border-top: 3px solid rgba(41, 216, 255, 0.9);
  border-left: 3px solid rgba(255, 255, 255, 0.8);
  filter: drop-shadow(0 0 16px rgba(41, 216, 255, 0.8));
}

.service-card:nth-child(2) .corner-glow {
  margin-left: auto;
  border-color: rgba(120, 136, 255, 0.92);
}

.service-card:nth-child(3) .corner-glow {
  border-top-color: rgba(255, 62, 189, 0.88);
  border-left-color: rgba(255, 220, 86, 0.88);
}

.app-panel {
  display: grid;
  align-items: center;
}

.app-copy {
  width: min(100%, 720px);
  margin-inline: auto;
}

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

.feature-list li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border: 1px solid rgba(41, 216, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(251, 251, 255, 0.88);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 21px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(141, 243, 76, 0.78);
}

.app-orbit {
  position: absolute;
  inset: auto 0 max(54px, env(safe-area-inset-bottom));
  z-index: 1;
  display: flex;
  gap: 10px;
  padding-inline: 18px;
  overflow: hidden;
  opacity: 0.72;
}

.app-orbit span {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(251, 251, 255, 0.8);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.identity-card {
  padding: 18px;
}

.identity-card h3 {
  color: #9d72ff;
  text-align: center;
}

.identity-card ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.identity-card li {
  border-radius: 999px;
  padding: 12px 14px;
  text-align: center;
  font-weight: 800;
}

.identity-card.dark {
  background: #111726;
}

.identity-card.dark li {
  color: rgba(219, 228, 244, 0.76);
  text-align: left;
}

.identity-card.light {
  background: #f8f7ff;
  color: #403b45;
}

.identity-card.light li {
  background: #fff7cf;
}

.identity-card.snapshot {
  background: rgba(255, 255, 255, 0.92);
  color: #111726;
}

.identity-card.snapshot img {
  display: block;
  width: 100%;
  border-radius: 6px;
}

.source-strip {
  width: min(100%, 1180px);
  margin-inline: auto;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 28%);
  gap: 14px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(41, 216, 255, 0.7) transparent;
}

.source-strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  scroll-snap-align: center;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
}

.contact-panel {
  display: grid;
  place-items: center;
  text-align: center;
}

.brand-mini {
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(41, 216, 255, 0.42);
  color: var(--ink);
  font-weight: 950;
  font-size: 2.2rem;
  text-shadow: 0 0 18px rgba(41, 216, 255, 0.82), 0 0 30px rgba(255, 62, 189, 0.58);
  box-shadow: 0 0 52px rgba(41, 216, 255, 0.26), inset 0 0 28px rgba(255, 62, 189, 0.16);
}

.contact-actions {
  width: min(100%, 520px);
  display: grid;
  gap: 14px;
}

.contact-link {
  min-height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(41, 216, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.contact-link.whatsapp {
  color: var(--cyan);
}

.contact-link.mail {
  color: var(--yellow);
}

.cube-stage {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: none;
  overflow: hidden;
  padding: max(22px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.82)),
    url("assets/doc-template.png") center / cover no-repeat,
    #ffffff;
}

.cube-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 50% 54%, rgba(121, 186, 255, 0.18), transparent 34%);
  opacity: 1;
}

.cube-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, transparent 28%, rgba(255, 255, 255, 0.62) 82%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(232, 248, 255, 0.24));
  pointer-events: none;
}

.is-cube-open .cube-stage {
  position: fixed;
  inset: 0;
  z-index: 40;
  width: 100%;
  height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
}

.is-cube-open .nav-dots {
  display: none;
}

.is-cube-open .panel:not(.hero-panel) {
  display: none;
}

.experience > .panel:not(.hero-panel) {
  display: none;
}

.cube-topbar {
  position: relative;
  z-index: 5;
  width: min(100%, 1120px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cube-topbar .eyebrow {
  margin: 0;
  color: #226ca2;
  text-shadow: none;
}

.cube-close {
  min-width: 84px;
  min-height: 40px;
  border: 1px solid rgba(251, 251, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #133358;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}

.cube-scene {
  --cube-size: min(68vmin, 540px);
  --cube-depth: calc(var(--cube-size) / 2);
  width: min(100%, 920px);
  min-height: min(74svh, 720px);
  margin-inline: auto;
  display: grid;
  place-items: center;
  perspective: 980px;
  perspective-origin: 50% 48%;
  touch-action: pan-y;
}

.cube {
  position: relative;
  width: var(--cube-size);
  height: var(--cube-size);
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--cube-depth) * -1)) rotateX(var(--cube-x, -12deg)) rotateY(var(--cube-y, -24deg));
  transition: transform 760ms cubic-bezier(0.2, 0.82, 0.18, 1);
  animation: cubeFloat 6200ms ease-in-out infinite;
}

.cube-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(104, 194, 255, 0.34);
  border-radius: 10px;
  background:
    repeating-linear-gradient(146deg, transparent 0 42px, rgba(29, 87, 255, 0.34) 43px, transparent 46px),
    repeating-linear-gradient(148deg, transparent 0 86px, rgba(41, 216, 255, 0.22) 87px, transparent 90px),
    linear-gradient(145deg, rgba(12, 8, 70, 0.93), rgba(7, 1, 43, 0.82)),
    url("assets/source/slide-01.png") center / cover no-repeat;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 30px 80px rgba(39, 112, 180, 0.26),
    0 0 44px rgba(41, 216, 255, 0.22);
  backface-visibility: hidden;
}

.cube-face::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 0, 39, 0.56), rgba(5, 0, 39, 0.86)),
    radial-gradient(circle at 22% 20%, rgba(41, 216, 255, 0.24), transparent 26%);
}

.cube-face-right,
.cube-face-left {
  filter: brightness(0.86);
}

.cube-face-top,
.cube-face-bottom {
  filter: brightness(1.08);
}

.cube-face-front { transform: rotateY(0deg) translateZ(var(--cube-depth)); }
.cube-face-right { transform: rotateY(90deg) translateZ(var(--cube-depth)); }
.cube-face-back { transform: rotateY(180deg) translateZ(var(--cube-depth)); }
.cube-face-left { transform: rotateY(-90deg) translateZ(var(--cube-depth)); }
.cube-face-top { transform: rotateX(90deg) translateZ(var(--cube-depth)); }
.cube-face-bottom { transform: rotateX(-90deg) translateZ(var(--cube-depth)); }

.cube-face-cover .face-inner {
  place-items: center;
}

.cube-cover-logo {
  width: min(72%, 360px);
  opacity: 0.78;
  filter: drop-shadow(0 0 18px rgba(41, 216, 255, 0.22));
}

.face-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 38px, 470px);
  max-height: calc(var(--cube-size) - 38px);
  display: grid;
  gap: 14px;
  align-content: center;
  color: var(--ink);
  text-align: left;
}

.face-index {
  margin: 0;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.face-inner h2 {
  font-size: clamp(1.72rem, 7vmin, 3.1rem);
  line-height: 1;
  text-shadow: 0 0 24px rgba(41, 216, 255, 0.34);
}

.face-inner p {
  margin: 0;
  color: rgba(251, 251, 255, 0.82);
  font-size: clamp(0.9rem, 2.2vmin, 1.06rem);
  line-height: 1.5;
}

.face-chips,
.mini-nav,
.identity-mini,
.cube-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.face-chips span,
.face-chips button,
.mini-nav span,
.identity-mini span,
.cube-contact a {
  display: inline-grid;
  place-items: center;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid rgba(41, 216, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 800;
  text-decoration: none;
}

.face-chips button {
  cursor: pointer;
  font-family: inherit;
}

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

.cube-list li {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(251, 251, 255, 0.88);
  font-weight: 700;
}

.cube-controls {
  position: relative;
  z-index: 6;
  width: min(100%, 920px);
  margin-inline: auto;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 8px;
  scrollbar-width: none;
}

.cube-controls::-webkit-scrollbar {
  display: none;
}

.cube-control {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(251, 251, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #17375a;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
}

.cube-control.is-active {
  border-color: rgba(41, 216, 255, 0.68);
  background: linear-gradient(90deg, rgba(191, 239, 255, 0.86), rgba(243, 231, 255, 0.82));
  color: #0b2c4a;
  box-shadow: 0 0 24px rgba(41, 216, 255, 0.18);
}

.prism-detail {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  padding: max(22px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 50% 48%, rgba(41, 216, 255, 0.18), transparent 28%),
    repeating-linear-gradient(146deg, transparent 0 58px, rgba(35, 79, 255, 0.34) 59px, transparent 62px),
    repeating-linear-gradient(148deg, transparent 0 112px, rgba(41, 216, 255, 0.22) 113px, transparent 116px),
    linear-gradient(145deg, #020015 0%, #050027 48%, #020013 100%);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98);
  transition: opacity 360ms ease, transform 360ms ease;
}

.is-prism-open .prism-detail {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.is-prism-open .cube-scene,
.is-prism-open .cube-controls {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
}

.prism-topbar,
.prism-controls {
  position: relative;
  z-index: 3;
  width: min(100%, 1120px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.prism-topbar .eyebrow {
  margin: 0;
}

.prism-close,
.prism-control {
  min-height: 40px;
  border: 1px solid rgba(251, 251, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 800;
}

.prism-close {
  padding-inline: 16px;
}

.prism-scene {
  --prism-w: min(76vmin, 640px);
  --prism-h: min(62svh, 560px);
  --prism-depth: calc(var(--prism-w) * 0.288);
  --prism-photo-depth: calc(var(--prism-h) / 2 - 26px);
  width: min(100%, 980px);
  margin-inline: auto;
  display: grid;
  place-items: center;
  perspective: 900px;
  perspective-origin: 50% 38%;
}

.prism {
  position: relative;
  width: var(--prism-w);
  height: var(--prism-h);
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--prism-depth) * -1)) rotateX(-23deg) rotateY(var(--prism-y, 0deg));
  transition: transform 760ms cubic-bezier(0.2, 0.82, 0.18, 1);
  animation: prismFloat 6400ms ease-in-out infinite;
}

.prism-face,
.prism-photo {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--prism-w);
  height: var(--prism-h);
  overflow: hidden;
  border: 1px solid rgba(94, 157, 211, 0.24);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.92)),
    url("assets/doc-template.png") center / cover no-repeat,
    #ffffff;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  backface-visibility: hidden;
}

.prism-face::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='88' height='88' viewBox='0 0 88 88' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23d8e3fb' d='M44 10l7.5 20.4 21.5 1-16.8 13.8 5.9 20.6L44 53.8 25.9 65.8l5.9-20.6L15 31.4l21.5-1z'/%3E%3C/svg%3E");
  background-size: 34px 34px;
  opacity: 0.54;
  mask-image: radial-gradient(circle, #000 0 48%, rgba(0, 0, 0, 0.68) 70%, transparent 92%);
  -webkit-mask-image: radial-gradient(circle, #000 0 48%, rgba(0, 0, 0, 0.68) 70%, transparent 92%);
  pointer-events: none;
}

.prism-fr { transform: rotateY(0deg) translateZ(var(--prism-depth)); }
.prism-nl { transform: rotateY(120deg) translateZ(var(--prism-depth)); }
.prism-en { transform: rotateY(240deg) translateZ(var(--prism-depth)); }

.prism-photo {
  height: calc(var(--prism-w) * 0.62);
  top: auto;
  bottom: calc(var(--prism-w) * -0.34);
  transform: rotateX(-90deg) translateZ(calc(var(--prism-photo-depth) * -1));
  transform-origin: 50% 100%;
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.42) inset,
    0 0 46px rgba(255, 177, 96, 0.18);
}

.prism-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(1.04) contrast(1.02);
}

.prism-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: clamp(22px, 4.4vmin, 40px);
  color: #17375a;
}

.prism-content .face-index {
  color: #226ca2;
}

.prism-content h2 {
  color: #15294a;
  font-size: clamp(1.35rem, 4.1vmin, 2.5rem);
  line-height: 1.03;
  text-shadow: none;
}

.prism-content p {
  margin: 0;
  color: rgba(23, 55, 90, 0.88);
  font-size: clamp(0.76rem, 1.58vmin, 0.95rem);
  line-height: 1.36;
}

.closing-line {
  color: #266fa4 !important;
  font-weight: 800;
}

.prism-controls {
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.prism-controls::-webkit-scrollbar {
  display: none;
}

.prism-control {
  flex: 0 0 auto;
  padding-inline: 14px;
}

.prism-control.is-active {
  border-color: rgba(41, 216, 255, 0.72);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 24px rgba(41, 216, 255, 0.22);
}

.prism-scene {
  --pyramid-w: min(84vmin, 720px);
  --pyramid-h: min(68svh, 640px);
  --pyramid-depth: calc(var(--pyramid-w) * 0.27);
  --prism-w: var(--pyramid-w);
  --prism-h: var(--pyramid-h);
  --prism-depth: var(--pyramid-depth);
  position: relative;
  perspective: 980px;
  perspective-origin: 50% 44%;
}

.prism {
  width: var(--pyramid-w);
  height: var(--pyramid-h);
  transform: translateZ(calc(var(--pyramid-depth) * -0.9)) rotateX(7deg) rotateY(var(--prism-y, -28deg));
  transform-origin: 50% 58%;
}

.prism-face {
  left: 0;
  top: 0;
  width: var(--pyramid-w);
  height: var(--pyramid-h);
  display: grid;
  place-items: start center;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(250, 253, 255, 0.96)),
    url("assets/doc-template.png") center / cover no-repeat,
    #ffffff;
  transform-origin: 50% 58%;
  filter: drop-shadow(0 26px 72px rgba(0, 0, 0, 0.26));
  backface-visibility: visible;
}

.prism-face::after {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: inherit;
  border: 2px solid rgba(54, 126, 188, 0.22);
  pointer-events: none;
}

.prism-fr { transform: rotateY(0deg) translateZ(var(--pyramid-depth)); }
.prism-nl { transform: rotateY(118deg) translateZ(var(--pyramid-depth)); filter: brightness(0.95) drop-shadow(0 26px 72px rgba(0, 0, 0, 0.25)); }
.prism-en { transform: rotateY(242deg) translateZ(var(--pyramid-depth)); filter: brightness(0.91) drop-shadow(0 26px 72px rgba(0, 0, 0, 0.25)); }

.prism-content {
  width: min(76%, 500px);
  max-height: 58%;
  align-content: start;
  overflow: auto;
  padding: clamp(28px, 5.4vmin, 56px) 0 0;
  scrollbar-width: thin;
}

.prism-content h2 {
  font-size: clamp(1.16rem, 3vmin, 2rem);
}

.prism-content p {
  font-size: clamp(0.7rem, 1.32vmin, 0.88rem);
  line-height: 1.32;
}

.prism-photo {
  position: absolute;
  left: 50%;
  top: 58%;
  z-index: 5;
  width: min(52vmin, 460px);
  height: min(31vmin, 270px);
  clip-path: polygon(8% 0, 92% 0, 50% 100%);
  border: 0;
  border-radius: 0;
  transform: translateX(-50%) rotateX(10deg) rotateZ(-0.6deg);
  transform-origin: 50% 8%;
  backface-visibility: visible;
  background: #ffffff;
  box-shadow:
    0 24px 74px rgba(0, 0, 0, 0.34),
    0 0 0 2px rgba(255, 255, 255, 0.48) inset,
    0 0 46px rgba(255, 177, 96, 0.2);
  pointer-events: none;
}

.prism-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
}

.star-orb {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: min(78vmin, 760px);
  aspect-ratio: 1;
  transform: translate(-50%, -48%);
  border-radius: 50%;
  opacity: 0.92;
  animation: starOrbSpin 48000ms linear infinite;
  pointer-events: none;
}

.star-field {
  position: absolute;
  left: 50%;
  top: 53%;
  z-index: 0;
  width: min(92vmin, 860px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: 0.88;
  background-image: url("data:image/svg+xml,%3Csvg width='96' height='96' viewBox='0 0 96 96' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23d8e3fb' d='M48 12l8.5 23.2L81 36.3 61.8 51.8 68.5 75 48 61.5 27.5 75l6.7-23.2L15 36.3l24.5-1.1z'/%3E%3C/svg%3E");
  background-size: 34px 34px;
  mask-image: radial-gradient(circle, #000 0 43%, rgba(0, 0, 0, 0.8) 56%, rgba(0, 0, 0, 0.35) 72%, transparent 84%);
  -webkit-mask-image: radial-gradient(circle, #000 0 43%, rgba(0, 0, 0, 0.8) 56%, rgba(0, 0, 0, 0.35) 72%, transparent 84%);
  animation: starFieldSpin 76000ms linear infinite;
  pointer-events: none;
}

.star-orb span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(12px + (var(--i, 1) * 1px));
  aspect-ratio: 1;
  background: #d6e3ff;
  clip-path: polygon(50% 0%, 61% 34%, 98% 35%, 68% 56%, 79% 91%, 50% 70%, 21% 91%, 32% 56%, 2% 35%, 39% 34%);
  opacity: 0.92;
  transform:
    rotate(var(--angle))
    translateX(var(--radius))
    rotate(calc(var(--angle) * -1));
}

.star-orb span:nth-child(1) { --angle: 0deg; --radius: 6vmin; --i: 2; }
.star-orb span:nth-child(2) { --angle: 24deg; --radius: 12vmin; --i: 4; }
.star-orb span:nth-child(3) { --angle: 48deg; --radius: 19vmin; --i: 1; }
.star-orb span:nth-child(4) { --angle: 72deg; --radius: 25vmin; --i: 6; }
.star-orb span:nth-child(5) { --angle: 96deg; --radius: 32vmin; --i: 3; }
.star-orb span:nth-child(6) { --angle: 120deg; --radius: 15vmin; --i: 5; }
.star-orb span:nth-child(7) { --angle: 144deg; --radius: 27vmin; --i: 1; }
.star-orb span:nth-child(8) { --angle: 168deg; --radius: 34vmin; --i: 6; }
.star-orb span:nth-child(9) { --angle: 192deg; --radius: 10vmin; --i: 3; }
.star-orb span:nth-child(10) { --angle: 216deg; --radius: 21vmin; --i: 5; }
.star-orb span:nth-child(11) { --angle: 240deg; --radius: 29vmin; --i: 2; }
.star-orb span:nth-child(12) { --angle: 264deg; --radius: 36vmin; --i: 4; }
.star-orb span:nth-child(13) { --angle: 288deg; --radius: 17vmin; --i: 6; }
.star-orb span:nth-child(14) { --angle: 312deg; --radius: 24vmin; --i: 2; }
.star-orb span:nth-child(15) { --angle: 336deg; --radius: 31vmin; --i: 5; }
.star-orb span:nth-child(16) { --angle: 15deg; --radius: 38vmin; --i: 1; }
.star-orb span:nth-child(17) { --angle: 63deg; --radius: 8vmin; --i: 4; }
.star-orb span:nth-child(18) { --angle: 133deg; --radius: 39vmin; --i: 2; }
.star-orb span:nth-child(19) { --angle: 203deg; --radius: 33vmin; --i: 6; }
.star-orb span:nth-child(20) { --angle: 303deg; --radius: 13vmin; --i: 3; }

.signal-readout {
  position: absolute;
  right: 18px;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(251, 251, 255, 0.58);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.signal-readout span:first-child {
  color: var(--cyan);
}

.nav-dots {
  position: fixed;
  right: 14px;
  top: 50%;
  z-index: 20;
  display: none;
  gap: 9px;
  transform: translateY(-50%);
}

.nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.nav-dot.is-active {
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(41, 216, 255, 0.82);
  transform: scale(1.55);
}

.intro-layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: #050027;
  transition: opacity 850ms ease 700ms, visibility 850ms ease 700ms;
}

.intro-mark {
  color: var(--ink);
  font-size: 2.6rem;
  font-weight: 950;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-shadow: 0 0 22px rgba(41, 216, 255, 0.82), 0 0 30px rgba(255, 62, 189, 0.6);
  animation: markIgnition 1100ms ease both;
}

.intro-line {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--pink), transparent);
  transform: scaleX(0);
  animation: lineSweep 1100ms ease 160ms both;
}

.is-ready .intro-layer {
  visibility: hidden;
  opacity: 0;
}

.speed-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.speed-lines span {
  position: absolute;
  right: -10%;
  width: 46%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(41, 216, 255, 0.95));
  transform: rotate(31deg);
  animation: streak 2600ms linear infinite;
}

.speed-lines span:nth-child(1) { top: 22%; animation-delay: -400ms; }
.speed-lines span:nth-child(2) { top: 34%; width: 58%; animation-delay: -900ms; }
.speed-lines span:nth-child(3) { top: 48%; width: 70%; animation-delay: -1200ms; }
.speed-lines span:nth-child(4) { top: 62%; animation-delay: -1600ms; }
.speed-lines span:nth-child(5) { top: 76%; width: 62%; animation-delay: -2100ms; }

@keyframes markIgnition {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
    filter: blur(8px);
  }

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

@keyframes lineSweep {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }

  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes streak {
  0% {
    opacity: 0;
    transform: translateX(-12%) translateY(-26px) rotate(31deg);
  }

  16% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(-86vw) translateY(46vw) rotate(31deg);
  }
}

@keyframes cubeFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -14px;
  }
}

@keyframes prismFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -12px;
  }
}

@keyframes starOrbSpin {
  0% {
    rotate: 0deg;
  }

  100% {
    rotate: 360deg;
  }
}

@keyframes starFieldSpin {
  0% {
    rotate: 0deg;
  }

  100% {
    rotate: -360deg;
  }
}

@keyframes identityFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -14px;
  }
}

@keyframes identityHexTurn {
  0%,
  100% {
    rotate: 0deg;
  }

  50% {
    rotate: 3deg;
  }
}

@keyframes identityImageFade {
  0%,
  14% {
    opacity: 1;
    transform: scale(1);
  }

  22%,
  100% {
    opacity: 0;
    transform: scale(1.06);
  }
}

@media (min-width: 760px) {
  .panel {
    padding-inline: 48px;
  }

  .hero-shell {
    grid-template-columns: minmax(250px, 380px) minmax(0, 1fr);
    gap: 44px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-logo-wrap {
    width: min(34vw, 380px);
    justify-self: end;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 3.1rem;
  }

  .language-grid,
  .service-grid,
  .identity-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-card.audit {
    grid-column: 1 / -1;
  }

  .service-card.audit p {
    width: min(100%, 920px);
  }
}

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

  h2 {
    font-size: 4rem;
  }

  .service-card.audit {
    grid-column: auto;
  }
}

@media (max-width: 759px) {
  .hero-panel {
    align-content: center;
  }

  .hero-shell {
    gap: 14px;
  }

  .hero-logo-wrap {
    width: min(82vw, 330px);
  }

  .prism-scene {
    --pyramid-w: min(72vmin, 310px);
    --pyramid-h: min(52svh, 430px);
  }

  .prism {
    transform: translateZ(calc(var(--pyramid-depth) * -0.92)) rotateX(6deg) rotateY(calc(var(--prism-y, -20deg) * 0.62));
  }

  .prism-content {
    width: min(80%, 250px);
    max-height: 57%;
    padding: 20px 0 0;
    gap: 4px;
  }

  .prism-content h2 {
    font-size: 0.95rem;
    line-height: 1.02;
  }

  .prism-content p {
    font-size: 0.53rem;
    line-height: 1.18;
  }

  .prism-photo {
    top: 62%;
    width: min(52vmin, 230px);
    height: min(31vmin, 150px);
  }
}

@media (max-width: 390px) {
  .panel {
    padding-inline: 16px;
  }

  .lead {
    font-size: 0.98rem;
  }

  h1 {
    font-size: 2.35rem;
  }

  .nav-dots {
    right: 9px;
  }
}

.prism-detail {
  overflow: hidden;
}

.prism-scene {
  --object-w: min(32vmin, 300px);
  --object-h: min(43vmin, 390px);
  --object-depth: calc(var(--object-w) * 0.44);
  position: relative;
  z-index: 2;
  width: min(100%, 1120px);
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: center;
  place-items: center;
  perspective: 1000px;
  perspective-origin: 42% 44%;
}

.prism-object {
  position: relative;
  width: min(100%, 360px);
  min-height: min(58svh, 460px);
  display: grid;
  place-items: center;
  perspective: 920px;
}

.prism-object::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: min(62%, 240px);
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(41, 216, 255, 0.28), transparent 66%);
  filter: blur(10px);
  transform: translateX(-50%);
}

.prism {
  position: relative;
  width: var(--object-w);
  height: var(--object-h);
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--object-depth) * -1)) rotateX(-9deg) rotateY(var(--prism-y, -20deg));
  transform-origin: 50% 52%;
  transition: transform 760ms cubic-bezier(0.2, 0.82, 0.18, 1);
  animation: prismFloat 6400ms ease-in-out infinite;
}

.prism-face,
.prism-photo {
  position: absolute;
  inset: 0;
  width: var(--object-w);
  height: var(--object-h);
  overflow: hidden;
  border: 1px solid rgba(104, 194, 255, 0.34);
  border-radius: 18px;
  clip-path: polygon(50% 0, 100% 22%, 100% 78%, 50% 100%, 0 78%, 0 22%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(244, 250, 255, 0.96)),
    url("assets/doc-template.png") center / cover no-repeat,
    #ffffff;
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.58) inset,
    0 0 48px rgba(41, 216, 255, 0.18);
  backface-visibility: visible;
}

.prism-face {
  display: grid;
  place-items: center;
  color: #17375a;
  font-size: clamp(2.2rem, 7vmin, 4.6rem);
  font-weight: 950;
  letter-spacing: 0.06em;
  text-shadow: 0 8px 28px rgba(41, 216, 255, 0.18);
}

.prism-face::before {
  opacity: 0.68;
  mask-image: radial-gradient(circle, #000 0 62%, rgba(0, 0, 0, 0.55) 82%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle, #000 0 62%, rgba(0, 0, 0, 0.55) 82%, transparent 100%);
}

.prism-face::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(54, 126, 188, 0.18);
  clip-path: inherit;
  pointer-events: none;
}

.prism-face span {
  position: relative;
  z-index: 1;
}

.prism-fr {
  transform: rotateY(0deg) translateZ(var(--object-depth));
}

.prism-nl {
  transform: rotateY(120deg) translateZ(var(--object-depth));
  filter: brightness(0.94);
}

.prism-en {
  transform: rotateY(240deg) translateZ(var(--object-depth));
  filter: brightness(0.9);
}

.prism-photo {
  left: 50%;
  top: 61%;
  z-index: 4;
  width: min(calc(var(--object-w) * 0.94), 280px);
  height: min(calc(var(--object-h) * 0.36), 150px);
  clip-path: none;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 22px;
  transform: translateX(-50%) rotate(-3deg);
  transform-origin: 50% 50%;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.34),
    0 0 0 6px rgba(255, 255, 255, 0.18),
    0 0 46px rgba(255, 177, 96, 0.2);
  pointer-events: none;
}

.prism-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 36%, rgba(41, 216, 255, 0.16));
  pointer-events: none;
}

.prism-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.prism-reading {
  position: relative;
  width: min(100%, 640px);
  min-height: min(62svh, 560px);
  display: grid;
}

.prism-card {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: clamp(10px, 1.8vmin, 15px);
  overflow: auto;
  padding: clamp(26px, 5vmin, 52px);
  border: 1px solid rgba(91, 150, 201, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(250, 254, 255, 0.96)),
    url("assets/doc-template.png") center / cover no-repeat,
    #ffffff;
  color: #17375a;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.56) inset,
    0 0 48px rgba(41, 216, 255, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.985);
  transition: opacity 260ms ease, transform 360ms cubic-bezier(0.2, 0.82, 0.18, 1);
  scrollbar-width: thin;
}

.prism-card.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.is-prism-open .prism-card.is-active {
  pointer-events: auto;
}

.prism-card .face-index {
  color: #226ca2;
}

.prism-card h2 {
  color: #15294a;
  font-size: clamp(1.55rem, 4.1vmin, 3rem);
  line-height: 1.02;
  text-shadow: none;
}

.prism-card p {
  margin: 0;
  color: rgba(23, 55, 90, 0.88);
  font-size: clamp(0.9rem, 1.65vmin, 1.04rem);
  line-height: 1.48;
}

.services-detail {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  padding: max(22px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 30% 34%, rgba(41, 216, 255, 0.2), transparent 28%),
    radial-gradient(circle at 78% 68%, rgba(255, 62, 189, 0.13), transparent 30%),
    repeating-linear-gradient(146deg, transparent 0 58px, rgba(35, 79, 255, 0.34) 59px, transparent 62px),
    repeating-linear-gradient(148deg, transparent 0 112px, rgba(41, 216, 255, 0.22) 113px, transparent 116px),
    linear-gradient(145deg, #020015 0%, #050027 48%, #020013 100%);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98);
  transition: opacity 360ms ease, transform 360ms ease;
}

.is-services-open .services-detail {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.is-services-open .cube-scene,
.is-services-open .cube-controls {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
}

.services-topbar,
.services-controls {
  position: relative;
  z-index: 3;
  width: min(100%, 1180px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.services-topbar .eyebrow {
  margin: 0;
}

.services-close,
.services-control {
  min-height: 40px;
  border: 1px solid rgba(251, 251, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 800;
}

.services-close {
  padding-inline: 16px;
}

.services-showcase {
  position: relative;
  z-index: 2;
  width: min(100%, 1180px);
  min-height: 0;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(210px, 0.32fr) minmax(0, 1fr);
  gap: clamp(18px, 3.4vw, 42px);
  align-items: stretch;
}

.services-signature {
  align-self: center;
  display: grid;
  gap: 12px;
  padding: clamp(22px, 3.8vmin, 42px);
  border: 1px solid rgba(104, 194, 255, 0.24);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(18, 31, 86, 0.94), rgba(9, 18, 59, 0.98)),
    #101d54;
  color: var(--ink);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.34),
    0 0 46px rgba(41, 216, 255, 0.12);
}

.services-signature h2 {
  font-size: clamp(1.45rem, 3.8vmin, 2.8rem);
  line-height: 1;
  text-shadow: 0 0 22px rgba(41, 216, 255, 0.24);
}

.services-signature p {
  margin: 0;
  color: rgba(251, 251, 255, 0.78);
  font-size: clamp(0.82rem, 1.5vmin, 0.98rem);
  line-height: 1.45;
}

.services-cards {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
}

.services-card {
  position: relative;
  min-height: 0;
  height: min(62svh, 520px);
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 10px;
  overflow: hidden;
  padding: clamp(18px, 2.6vmin, 30px);
  border: 1px solid rgba(91, 150, 201, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(250, 254, 255, 0.97)),
    url("assets/doc-template.png") center / cover no-repeat,
    #ffffff;
  color: #17375a;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.56) inset,
    0 0 48px rgba(41, 216, 255, 0.14);
}

.services-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #29d8ff, #ff3ebd);
}

.service-number {
  margin: 0;
  color: #226ca2;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.services-card h3 {
  color: #15294a;
  font-size: clamp(1.2rem, 2.4vmin, 1.72rem);
  line-height: 1;
  text-shadow: none;
}

.service-copy {
  display: none;
  overflow: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}

.service-copy.is-active {
  display: grid;
  align-content: start;
  gap: 10px;
}

.service-copy p {
  margin: 0;
  color: rgba(23, 55, 90, 0.88);
  font-size: clamp(0.78rem, 1.25vmin, 0.92rem);
  line-height: 1.42;
}

.services-card-audit .service-copy p {
  font-size: clamp(0.72rem, 1.1vmin, 0.86rem);
  line-height: 1.34;
}

.services-controls {
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.services-controls::-webkit-scrollbar {
  display: none;
}

.services-control {
  flex: 0 0 auto;
  padding-inline: 14px;
}

.services-control.is-active {
  border-color: rgba(41, 216, 255, 0.72);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 24px rgba(41, 216, 255, 0.22);
}

.app-detail {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  padding: max(22px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 34% 42%, rgba(41, 216, 255, 0.18), transparent 30%),
    radial-gradient(circle at 76% 62%, rgba(255, 62, 189, 0.12), transparent 28%),
    repeating-linear-gradient(146deg, transparent 0 58px, rgba(35, 79, 255, 0.34) 59px, transparent 62px),
    repeating-linear-gradient(148deg, transparent 0 112px, rgba(41, 216, 255, 0.22) 113px, transparent 116px),
    linear-gradient(145deg, #020015 0%, #050027 48%, #020013 100%);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98);
  transition: opacity 360ms ease, transform 360ms ease;
}

.is-app-open .app-detail {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.is-app-open .cube-scene,
.is-app-open .cube-controls {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
}

.app-topbar,
.app-controls {
  position: relative;
  z-index: 3;
  width: min(100%, 1120px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.app-topbar .eyebrow {
  margin: 0;
}

.app-close,
.app-control {
  min-height: 40px;
  border: 1px solid rgba(251, 251, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 800;
}

.app-close {
  padding-inline: 16px;
}

.app-detail-scene {
  position: relative;
  z-index: 2;
  width: min(100%, 1120px);
  min-height: 0;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: center;
}

.app-object {
  width: min(100%, 360px);
  min-height: min(58svh, 460px);
  display: grid;
  place-items: center;
}

.app-device {
  width: min(100%, 330px);
  aspect-ratio: 0.72;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(104, 194, 255, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(18, 31, 86, 0.96), rgba(9, 18, 59, 0.98)),
    #101d54;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.3),
    0 0 46px rgba(41, 216, 255, 0.14);
  transform: rotateY(-18deg) rotateX(8deg);
  transform-style: preserve-3d;
  animation: prismFloat 6400ms ease-in-out infinite;
}

.app-device-bar {
  display: flex;
  gap: 7px;
}

.app-device-bar span {
  width: 9px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(41, 216, 255, 0.78);
  box-shadow: 0 0 14px rgba(41, 216, 255, 0.42);
}

.app-device-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.app-device-grid strong,
.app-device-grid span {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid rgba(151, 188, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(251, 251, 255, 0.88);
  font-size: 0.68rem;
  font-weight: 850;
  text-align: center;
}

.app-device-grid strong {
  grid-column: 1 / -1;
  min-height: 70px;
  background: linear-gradient(90deg, rgba(41, 216, 255, 0.18), rgba(255, 62, 189, 0.14));
  color: #ffffff;
  font-size: 1.15rem;
}

.app-reading {
  position: relative;
  width: min(100%, 680px);
  min-height: min(64svh, 590px);
  display: grid;
}

.app-card {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: clamp(9px, 1.45vmin, 13px);
  overflow: auto;
  padding: clamp(24px, 4.6vmin, 48px);
  border: 1px solid rgba(91, 150, 201, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(250, 254, 255, 0.97)),
    url("assets/doc-template.png") center / cover no-repeat,
    #ffffff;
  color: #17375a;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.56) inset,
    0 0 48px rgba(41, 216, 255, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.985);
  transition: opacity 260ms ease, transform 360ms cubic-bezier(0.2, 0.82, 0.18, 1);
  scrollbar-width: thin;
}

.app-card.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.is-app-open .app-card.is-active {
  pointer-events: auto;
}

.app-card .face-index {
  color: #226ca2;
}

.app-card h2 {
  color: #15294a;
  font-size: clamp(1.35rem, 3.7vmin, 2.55rem);
  line-height: 1.02;
  text-shadow: none;
}

.app-card p {
  margin: 0;
  color: rgba(23, 55, 90, 0.88);
  font-size: clamp(0.82rem, 1.43vmin, 0.98rem);
  line-height: 1.38;
}

.app-controls {
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.app-controls::-webkit-scrollbar {
  display: none;
}

.app-control {
  flex: 0 0 auto;
  padding-inline: 14px;
}

.app-control.is-active {
  border-color: rgba(41, 216, 255, 0.72);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 24px rgba(41, 216, 255, 0.22);
}

.contact-open {
  width: fit-content;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid rgba(41, 216, 255, 0.42);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(41, 216, 255, 0.2), rgba(255, 62, 189, 0.18));
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 0 28px rgba(41, 216, 255, 0.18);
}

.contact-stage-open,
.identity-stage-open {
  position: absolute;
  left: 50%;
  bottom: clamp(22px, 6svh, 56px);
  z-index: 9;
  min-height: 46px;
  padding: 13px 20px;
  border: 1px solid rgba(41, 216, 255, 0.48);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(41, 216, 255, 0.82), rgba(255, 62, 189, 0.74));
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 18px 46px rgba(41, 216, 255, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 240ms ease, transform 280ms ease;
}

.is-contact-face:not(.is-contact-open) .contact-stage-open,
.is-services-face:not(.is-services-open) .services-stage-open,
.is-identity-face:not(.is-identity-open) .identity-stage-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.meet-stage-open,
.services-stage-open,
.app-stage-open {
  position: absolute;
  left: 50%;
  bottom: clamp(22px, 6svh, 56px);
  z-index: 9;
  display: flex;
  gap: 9px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 240ms ease, transform 280ms ease;
}

.meet-stage-open button,
.services-stage-open button,
.app-stage-open button {
  min-height: 44px;
  min-width: 54px;
  padding: 11px 16px;
  border: 1px solid rgba(41, 216, 255, 0.48);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(41, 216, 255, 0.78), rgba(255, 62, 189, 0.62));
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16) inset,
    0 16px 40px rgba(41, 216, 255, 0.24);
}

.is-meet-face:not(.is-prism-open) .meet-stage-open,
.is-services-face:not(.is-services-open) .services-stage-open,
.is-app-face:not(.is-app-open) .app-stage-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.identity-detail {
  position: absolute;
  inset: 0;
  z-index: 13;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  padding: max(22px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 50% 52%, rgba(41, 216, 255, 0.16), transparent 34%),
    radial-gradient(circle at 84% 22%, rgba(255, 62, 189, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(250, 254, 255, 0.98)),
    url("assets/doc-template.png") center / cover no-repeat,
    #ffffff;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98);
  transition: opacity 360ms ease, transform 360ms ease;
}

.is-identity-open .identity-detail {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.is-identity-open .cube-scene,
.is-identity-open .cube-controls {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
}

.identity-topbar {
  position: relative;
  z-index: 3;
  width: min(100%, 1160px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.identity-topbar .eyebrow {
  margin: 0;
  color: #226ca2;
}

.identity-close {
  min-height: 40px;
  padding-inline: 16px;
  border: 1px solid rgba(34, 108, 162, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: #17375a;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 900;
}

.identity-showcase {
  position: relative;
  z-index: 2;
  width: min(100%, 1260px);
  min-height: 0;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
}

.identity-intro {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(34, 108, 162, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  color: #17375a;
  box-shadow:
    0 24px 70px rgba(34, 108, 162, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

.identity-intro h2 {
  color: #15294a;
  font-size: clamp(1.55rem, 3.4vmin, 2.55rem);
  line-height: 1;
  text-shadow: none;
}

.identity-intro p {
  margin: 0;
  color: rgba(23, 55, 90, 0.84);
  font-size: clamp(0.86rem, 1.6vmin, 1rem);
  line-height: 1.45;
}

.identity-orbits {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3.2vw, 46px);
  align-items: center;
  perspective: 1100px;
}

.identity-orbit {
  display: grid;
  justify-items: center;
  gap: 14px;
  transform-style: preserve-3d;
  filter: drop-shadow(0 28px 38px rgba(34, 108, 162, 0.2));
  animation: identityFloat 6200ms ease-in-out infinite;
}

.identity-orbit:nth-child(2) {
  animation-delay: -1800ms;
}

.identity-orbit:nth-child(3) {
  animation-delay: -3200ms;
}

.identity-hex {
  position: relative;
  width: min(31vw, 380px);
  min-width: 230px;
  aspect-ratio: 1;
  overflow: hidden;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
  background: #08113d;
  box-shadow:
    0 28px 78px rgba(19, 58, 112, 0.24),
    0 0 0 1px rgba(41, 216, 255, 0.22) inset,
    0 0 48px rgba(41, 216, 255, 0.16);
  transform: rotateX(10deg) rotateY(-17deg) rotateZ(-3deg);
  transform-style: preserve-3d;
  animation: identityHexTurn 7600ms ease-in-out infinite;
}

.identity-orbit-crazylook .identity-hex {
  transform: rotateX(-8deg) rotateY(13deg) rotateZ(3deg);
  animation-delay: -1200ms;
}

.identity-orbit-custom .identity-hex {
  transform: rotateX(12deg) rotateY(-10deg) rotateZ(5deg);
  animation-delay: -2600ms;
}

.identity-hex::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.06), transparent 32%),
    radial-gradient(circle at 78% 24%, rgba(41, 216, 255, 0.08), transparent 30%);
  pointer-events: none;
  opacity: 0.22;
}

.identity-rail,
.identity-rail img {
  position: absolute;
  inset: 0;
}

.identity-rail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: transparent;
  opacity: 0;
  transform: scale(1.06);
  filter: saturate(1.2) contrast(1.12) brightness(0.98);
  animation: identityImageFade 18s linear infinite;
}

.identity-orbit-classic .identity-rail img {
  animation-duration: 18s;
}

.identity-orbit-crazylook .identity-rail img {
  animation-duration: 24s;
}

.identity-orbit-custom .identity-rail img {
  animation-duration: 20s;
}

.identity-orbit-classic .identity-rail img:nth-child(2) { animation-delay: 3s; }
.identity-orbit-classic .identity-rail img:nth-child(3) { animation-delay: 6s; }
.identity-orbit-classic .identity-rail img:nth-child(4) { animation-delay: 9s; }
.identity-orbit-classic .identity-rail img:nth-child(5) { animation-delay: 12s; }
.identity-orbit-classic .identity-rail img:nth-child(6) { animation-delay: 15s; }

.identity-orbit-crazylook .identity-rail img:nth-child(2) { animation-delay: 2s; }
.identity-orbit-crazylook .identity-rail img:nth-child(3) { animation-delay: 4s; }
.identity-orbit-crazylook .identity-rail img:nth-child(4) { animation-delay: 6s; }
.identity-orbit-crazylook .identity-rail img:nth-child(5) { animation-delay: 8s; }
.identity-orbit-crazylook .identity-rail img:nth-child(6) { animation-delay: 10s; }
.identity-orbit-crazylook .identity-rail img:nth-child(7) { animation-delay: 12s; }
.identity-orbit-crazylook .identity-rail img:nth-child(8) { animation-delay: 14s; }
.identity-orbit-crazylook .identity-rail img:nth-child(9) { animation-delay: 16s; }
.identity-orbit-crazylook .identity-rail img:nth-child(10) { animation-delay: 18s; }
.identity-orbit-crazylook .identity-rail img:nth-child(11) { animation-delay: 20s; }
.identity-orbit-crazylook .identity-rail img:nth-child(12) { animation-delay: 22s; }

.identity-orbit-custom .identity-rail img:nth-child(2) { animation-delay: 2.5s; }
.identity-orbit-custom .identity-rail img:nth-child(3) { animation-delay: 5s; }
.identity-orbit-custom .identity-rail img:nth-child(4) { animation-delay: 7.5s; }
.identity-orbit-custom .identity-rail img:nth-child(5) { animation-delay: 10s; }
.identity-orbit-custom .identity-rail img:nth-child(6) { animation-delay: 12.5s; }
.identity-orbit-custom .identity-rail img:nth-child(7) { animation-delay: 15s; }
.identity-orbit-custom .identity-rail img:nth-child(8) { animation-delay: 17.5s; }

.identity-orbit h3 {
  color: #17375a;
  font-size: clamp(1rem, 2vmin, 1.2rem);
  text-align: center;
  text-shadow: 0 10px 28px rgba(34, 108, 162, 0.16);
}

.contact-detail {
  position: absolute;
  inset: 0;
  z-index: 13;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  padding: max(22px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 34% 42%, rgba(41, 216, 255, 0.2), transparent 30%),
    radial-gradient(circle at 72% 62%, rgba(255, 62, 189, 0.14), transparent 28%),
    repeating-linear-gradient(146deg, transparent 0 58px, rgba(35, 79, 255, 0.34) 59px, transparent 62px),
    repeating-linear-gradient(148deg, transparent 0 112px, rgba(41, 216, 255, 0.22) 113px, transparent 116px),
    linear-gradient(145deg, #020015 0%, #050027 48%, #020013 100%);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98);
  transition: opacity 360ms ease, transform 360ms ease;
}

.is-contact-open .contact-detail {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.is-contact-open .cube-scene,
.is-contact-open .cube-controls {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
}

.contact-topbar {
  position: relative;
  z-index: 3;
  width: min(100%, 1120px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.contact-topbar .eyebrow {
  margin: 0;
}

.contact-close {
  min-height: 40px;
  padding-inline: 16px;
  border: 1px solid rgba(251, 251, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 800;
}

.contact-landing {
  position: relative;
  z-index: 2;
  width: min(100%, 980px);
  min-height: 0;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 70px);
  align-items: center;
}

.contact-logo {
  width: min(100%, 330px);
  justify-self: center;
  filter:
    drop-shadow(0 0 24px rgba(41, 216, 255, 0.28))
    drop-shadow(0 0 42px rgba(255, 62, 189, 0.18));
  animation: prismFloat 6400ms ease-in-out infinite;
}

.contact-card {
  display: grid;
  gap: 16px;
  padding: clamp(28px, 5vmin, 54px);
  border: 1px solid rgba(91, 150, 201, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(250, 254, 255, 0.97)),
    url("assets/doc-template.png") center / cover no-repeat,
    #ffffff;
  color: #17375a;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.58) inset,
    0 0 48px rgba(41, 216, 255, 0.16);
}

.contact-card .face-index {
  color: #226ca2;
}

.contact-card h2 {
  color: #15294a;
  font-size: clamp(2rem, 5vmin, 3.7rem);
  line-height: 0.98;
  text-shadow: none;
}

.contact-card p {
  margin: 0;
  color: rgba(23, 55, 90, 0.86);
  font-size: clamp(0.98rem, 1.8vmin, 1.1rem);
  line-height: 1.48;
}

.contact-primary {
  width: fit-content;
  min-height: 48px;
  display: inline-grid;
  place-items: center;
  padding: 13px 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, #29d8ff, #ff3ebd);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 18px 44px rgba(41, 216, 255, 0.26);
}

.contact-soft-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-soft-links a {
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  padding: 9px 12px;
  border: 1px solid rgba(34, 108, 162, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  color: #17375a;
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 759px) {
  .services-detail {
    gap: 10px;
  }

  .services-topbar {
    align-items: flex-start;
  }

  .services-close {
    min-width: 118px;
  }

  .services-showcase {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    overflow: hidden;
  }

  .services-signature {
    width: min(100%, 430px);
    justify-self: center;
    gap: 8px;
    padding: 16px;
    border-radius: 18px;
  }

  .services-signature h2 {
    font-size: 1.32rem;
  }

  .services-signature p {
    font-size: 0.74rem;
    line-height: 1.32;
  }

  .services-cards {
    min-height: 0;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 7vw 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .services-cards::-webkit-scrollbar {
    display: none;
  }

  .services-card {
    flex: 0 0 min(82vw, 330px);
    height: auto;
    min-height: 260px;
    max-height: min(35svh, 320px);
    scroll-snap-align: center;
    padding: 18px;
    border-radius: 18px;
  }

  .services-card h3 {
    font-size: 1.22rem;
  }

  .service-copy p,
  .services-card-audit .service-copy p {
    font-size: 0.76rem;
    line-height: 1.32;
  }

  .app-detail {
    gap: 10px;
  }

  .app-topbar {
    align-items: flex-start;
  }

  .app-close {
    min-width: 118px;
  }

  .app-detail-scene {
    grid-template-columns: 1fr;
    grid-template-rows: 170px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
  }

  .app-object {
    min-height: 170px;
    width: 100%;
  }

  .app-device {
    width: min(72vw, 260px);
    aspect-ratio: 1.45;
    gap: 8px;
    padding: 12px;
    border-radius: 18px;
    transform: rotateY(-12deg) rotateX(6deg);
  }

  .app-device-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
  }

  .app-device-grid strong,
  .app-device-grid span {
    min-height: 36px;
    padding: 6px;
    border-radius: 9px;
    font-size: 0.52rem;
  }

  .app-device-grid strong {
    grid-column: 1 / -1;
    min-height: 42px;
    font-size: 0.86rem;
  }

  .app-reading {
    width: min(100%, 430px);
    min-height: 0;
    height: min(50svh, 430px);
  }

  .app-card {
    align-content: start;
    gap: 8px;
    padding: 20px;
    border-radius: 18px;
  }

  .app-card h2 {
    font-size: 1.16rem;
  }

  .app-card p {
    font-size: 0.72rem;
    line-height: 1.28;
  }

  .identity-detail {
    gap: 10px;
  }

  .identity-topbar {
    align-items: flex-start;
  }

  .identity-close {
    min-width: 118px;
  }

  .identity-showcase {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr);
    gap: 8px;
    align-items: center;
  }

  .identity-orbits {
    width: 100%;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 8px 7vw 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .identity-orbits::-webkit-scrollbar {
    display: none;
  }

  .identity-orbit {
    flex: 0 0 min(84vw, 330px);
    scroll-snap-align: center;
  }

  .identity-hex {
    width: min(84vw, 320px);
    min-width: 0;
  }

  .prism-detail {
    gap: 10px;
  }

  .prism-topbar {
    align-items: flex-start;
  }

  .prism-close {
    min-width: 118px;
  }

  .prism-scene {
    --object-w: min(38vmin, 150px);
    --object-h: min(46vmin, 190px);
    grid-template-columns: 1fr;
    grid-template-rows: 170px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    perspective-origin: 50% 24%;
  }

  .prism-object {
    min-height: 170px;
    width: 100%;
  }

  .prism-object::after {
    bottom: 4px;
    width: 150px;
  }

  .prism-reading {
    width: min(100%, 430px);
    min-height: 0;
    height: min(46svh, 390px);
  }

  .prism-card {
    align-content: start;
    gap: 8px;
    padding: 20px;
    border-radius: 18px;
  }

  .prism-card h2 {
    font-size: 1.28rem;
  }

  .prism-card p {
    font-size: 0.78rem;
    line-height: 1.34;
  }

  .prism-photo {
    top: 58%;
    width: min(46vmin, 180px);
    height: min(25vmin, 98px);
    border-radius: 16px;
    transform: translateX(-50%) rotate(-2deg);
  }

  .contact-detail {
    gap: 10px;
  }

  .contact-topbar {
    align-items: flex-start;
  }

  .contact-close {
    min-width: 118px;
  }

  .contact-landing {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 14px;
    align-content: start;
  }

  .contact-logo {
    width: min(52vw, 210px);
  }

  .contact-card {
    gap: 12px;
    padding: 22px;
    border-radius: 18px;
  }

  .contact-card h2 {
    font-size: 2rem;
  }

  .contact-card p {
    font-size: 0.9rem;
    line-height: 1.42;
  }

  .contact-primary {
    width: 100%;
  }

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

.contact-landing {
  width: min(100%, 520px);
  min-height: 0;
  grid-template-columns: 1fr;
  place-items: center;
}

.contact-card.contact-card {
  width: min(100%, 420px);
  max-height: calc(100svh - 106px);
  align-self: center;
  display: grid;
  gap: 7px;
  overflow: auto;
  padding: 12px;
  border: 1px solid rgba(104, 194, 255, 0.2);
  border-radius: 18px;
  background:
    linear-gradient(180deg, #12245f, #07123f),
    #101d54;
  color: var(--ink);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 44px rgba(41, 216, 255, 0.12);
  scrollbar-width: thin;
}

.contact-card.contact-card .contact-brand {
  margin: 0;
  color: #b8ff7a;
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-phone-logo {
  width: min(100%, 220px);
  aspect-ratio: 1 / 0.6;
  justify-self: center;
  object-fit: contain;
  object-position: center;
  background: rgba(4, 10, 42, 0.78);
  filter: drop-shadow(0 0 20px rgba(41, 216, 255, 0.14));
}

.contact-card.contact-card h2 {
  color: var(--ink);
  font-size: clamp(1.9rem, 5vmin, 2.45rem);
  line-height: 0.92;
  text-shadow: 0 0 18px rgba(41, 216, 255, 0.2);
}

.contact-card.contact-card .contact-intro {
  margin: 0;
  color: rgba(251, 251, 255, 0.86);
  font-size: 0.74rem;
  line-height: 1.34;
}

.contact-action-list {
  display: grid;
  gap: 8px;
}

.contact-action {
  display: grid;
  gap: 3px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid rgba(151, 188, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
  text-decoration: none;
}

.contact-action span,
.contact-visual span {
  color: rgba(251, 251, 255, 0.72);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-action strong {
  color: #ffffff;
  font-size: 0.76rem;
  line-height: 1.2;
}

.contact-visual {
  display: grid;
  gap: 9px;
  margin-top: 2px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(4, 10, 42, 0.34);
}

.contact-visual img {
  width: 100%;
  aspect-ratio: 16 / 5;
  object-fit: cover;
  border-radius: 9px;
  filter: saturate(1.06) contrast(1.04);
}

@media (min-width: 760px) {
  .contact-card.contact-card {
    transform: translateY(4px);
  }
}

@media (max-width: 759px) {
  .contact-landing {
    width: 100%;
    place-items: start center;
  }

  .contact-card.contact-card {
    width: min(100%, 360px);
    max-height: calc(100svh - 112px);
    border-radius: 18px;
  }

  .contact-phone-logo {
    width: min(100%, 210px);
    aspect-ratio: 1 / 0.58;
  }

  .contact-card.contact-card h2 {
    font-size: 1.86rem;
  }

  .contact-card.contact-card .contact-intro {
    font-size: 0.72rem;
    line-height: 1.32;
  }

  .contact-action-list { gap: 6px; }

  .contact-action { border-radius: 10px; }

  .contact-action span,
  .contact-visual span {
    font-size: 0.56rem;
  }

  .contact-action strong {
    font-size: 0.74rem;
  }

  .contact-visual {
    gap: 7px;
    padding: 8px;
  }

  .contact-visual img {
    aspect-ratio: 16 / 7;
  }
}

.prism-detail,
.services-detail,
.app-detail,
.identity-detail,
.contact-detail {
  position: fixed;
}

@media (hover: hover) {
  .cta:hover,
  .contact-link:hover {
    transform: translateY(-2px);
    box-shadow:
      0 0 0 1px rgba(41, 216, 255, 0.22) inset,
      0 0 34px rgba(41, 216, 255, 0.32),
      0 0 52px rgba(255, 62, 189, 0.24);
  }
}

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