:root {
  color-scheme: dark;
  --bg-deep: #031226;
  --bg-mid: #072844;
  --bg-light: #0c4f80;
  --ink-strong: #f2fcff;
  --ink-main: rgba(236, 250, 255, 0.92);
  --ink-soft: rgba(215, 241, 255, 0.74);
  --line-soft: rgba(196, 239, 255, 0.22);
  --line-strong: rgba(206, 246, 255, 0.44);
  --glass-surface: rgba(8, 29, 49, 0.45);
  --glass-border: rgba(217, 245, 255, 0.14);
  --shadow-soft: 0 24px 68px rgba(0, 0, 0, 0.3);
  --shadow-hard: 0 18px 45px rgba(0, 0, 0, 0.36);

  --ease-fluid: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-fade: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-morph: 820ms;
  --duration-dock: 1120ms;
  --duration-reveal: 900ms;

  --dock-left: clamp(1rem, 2.5vw, 2.2rem);
  --dock-top: clamp(0.95rem, 2.4vh, 1.55rem);
  --controls-right: clamp(0.9rem, 2.8vw, 2.45rem);
  --claim-main-top: clamp(6.6rem, 12vh, 9.2rem);
  --claim-secondary-left: clamp(1rem, 2.7vw, 2.35rem);
  --claim-secondary-bottom: clamp(1rem, 2.6vh, 2.1rem);
  --contact-bottom: clamp(1rem, 2.6vh, 2.1rem);

  --pointer-x: 0;
  --pointer-y: 0;
  --map-drag-x: 0px;
  --map-drag-y: 0px;
}

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

html {
  background:
    radial-gradient(circle at 14% 8%, rgba(146, 220, 255, 0.14), transparent 42%),
    linear-gradient(180deg, #06223c 0%, #031427 100%);
}

body {
  margin: 0;
  min-height: 100svh;
  overflow: hidden;
  font-family: "Aptos", "Segoe UI Variable Text", "Trebuchet MS", sans-serif;
  color: var(--ink-main);
  background:
    radial-gradient(circle at 17% 18%, rgba(152, 228, 255, 0.11), transparent 35%),
    radial-gradient(circle at 86% 14%, rgba(56, 156, 224, 0.22), transparent 28%),
    linear-gradient(180deg, #061f35 0%, #031425 100%);
}

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

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

.experience {
  position: relative;
  width: 100%;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
}

.background,
.background__waves,
.background__grain,
.background__halo {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.background {
  z-index: -2;
}

.background__halo {
  filter: blur(72px);
  opacity: 0.8;
}

.background__halo--north {
  inset: -14rem auto auto 10%;
  width: min(38rem, 44vw);
  height: min(29rem, 32vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 236, 255, 0.24), transparent 68%);
}

.background__halo--east {
  inset: auto 2% 3% auto;
  width: min(39rem, 52vw);
  height: min(31rem, 38vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 132, 203, 0.36), transparent 74%);
}

.background__grain {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(112deg,
      rgba(255, 255, 255, 0.012) 0,
      rgba(255, 255, 255, 0.012) 1px,
      transparent 1px,
      transparent 9px);
  mix-blend-mode: soft-light;
  opacity: 0.34;
}

.background__waves {
  width: 100%;
  height: 100%;
  opacity: 0.94;
  transform: translate3d(calc(var(--pointer-x) * -7px),
      calc(var(--pointer-y) * -5px),
      0) scale(1.02);
  transition: transform 760ms var(--ease-fade);
}

.wave {
  transform-box: view-box;
  transform-origin: center;
  will-change: transform;
}

.wave-path--mobile {
  display: none;
}

.wave--a {
  animation: waveTideA 58s var(--ease-fluid) infinite;
}

.wave--b {
  animation: waveTideB 72s var(--ease-fluid) infinite;
}

.wave--c {
  animation: waveTideC 54s var(--ease-fluid) infinite;
}

.wave--d {
  animation: waveTideD 78s var(--ease-fluid) infinite;
}

.top-ui {
  position: fixed;
  inset: 0;
  z-index: 22;
  pointer-events: none;
}

.brand-orbit {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: min(94vw, 72rem);
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  transform: translate3d(-50%, -50%, 0);
  transition:
    top var(--duration-dock) var(--ease-fluid),
    left var(--duration-dock) var(--ease-fluid),
    transform var(--duration-dock) var(--ease-fluid),
    gap var(--duration-dock) var(--ease-fluid),
    padding var(--duration-dock) var(--ease-fluid),
    background-color var(--duration-dock) var(--ease-fluid),
    border-color var(--duration-dock) var(--ease-fluid),
    box-shadow var(--duration-dock) var(--ease-fluid);
  pointer-events: none;
}

.brand-orbit__logo {
  width: 0;
  height: 0;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.62);
  transition:
    width 620ms var(--ease-fluid),
    height 620ms var(--ease-fluid),
    opacity 620ms var(--ease-fade),
    transform 620ms var(--ease-fluid);
}

.brand-orbit__text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.72rem;
  min-width: 0;
}

.brand-orbit__word-stack {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-height: 1.06em;
  line-height: 0.98;
  opacity: 0;
  transform: translate3d(0, 0.62rem, 0);
  transition:
    opacity 620ms var(--ease-fade),
    transform 620ms var(--ease-fluid);
}

.is-ready .brand-orbit__word-stack {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.brand-orbit__word {
  grid-area: 1 / 1;
  max-width: min(88vw, 22ch);
  font-family: "Aptos Display", "Segoe UI Variable Display", "Bahnschrift",
    sans-serif;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  text-align: center;
  text-wrap: balance;
  font-size: clamp(2.1rem, 8.7vw, 7.8rem);
  background: linear-gradient(180deg, #fefeff 0%, #ddf6ff 50%, #addff8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 14px 36px rgba(3, 11, 20, 0.36),
    0 0 26px rgba(180, 238, 255, 0.21);
}

.brand-orbit__word--current {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.brand-orbit__word--next {
  opacity: 0;
  transform: translate3d(0, 0.46em, 0) scale(0.98);
  filter: blur(9px);
}

.brand-orbit.is-morphing .brand-orbit__word--current {
  opacity: 0;
  transform: translate3d(0, -0.44em, 0) scale(1.02);
  filter: blur(11px);
  transition:
    opacity var(--duration-morph) var(--ease-fade),
    transform var(--duration-morph) var(--ease-fluid),
    filter var(--duration-morph) var(--ease-fade);
}

.brand-orbit.is-morphing .brand-orbit__word--next {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  transition:
    opacity var(--duration-morph) var(--ease-fade),
    transform var(--duration-morph) var(--ease-fluid),
    filter var(--duration-morph) var(--ease-fade);
}

.brand-orbit__studio {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(226, 246, 255, 0.76);
  opacity: 0;
  transform: translate3d(-0.3rem, 0, 0);
  transition:
    opacity 620ms var(--ease-fade),
    transform 620ms var(--ease-fluid);
}

body.phase-docked .brand-orbit {
  top: var(--dock-top);
  left: var(--dock-left);
  gap: 0.72rem;
  padding: 0.43rem 0.8rem 0.43rem 0.42rem;
  border-color: var(--glass-border);
  background: linear-gradient(135deg,
      rgba(8, 33, 56, 0.7),
      rgba(6, 19, 32, 0.24));
  box-shadow: var(--shadow-hard);
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

body.phase-docked .brand-orbit__logo {
  width: 2.25rem;
  height: 2.25rem;
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.22);
}

body.phase-docked .brand-orbit__word {
  max-width: 24ch;
  letter-spacing: 0.17em;
  font-size: clamp(1rem, 1.5vw, 1.24rem);
  text-shadow:
    0 6px 16px rgba(3, 11, 20, 0.27),
    0 0 18px rgba(182, 241, 255, 0.14);
}

body.phase-docked .brand-orbit__studio {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.top-controls {
  position: fixed;
  top: var(--dock-top);
  right: var(--controls-right);
  z-index: 26;
  display: inline-flex;
  align-items: center;
  gap: 0.66rem;
  opacity: 0;
  transform: translate3d(0, -0.56rem, 0);
  transition:
    opacity 640ms var(--ease-fade),
    transform 640ms var(--ease-fluid);
  pointer-events: none;
}

body.phase-content .top-controls {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.client-pill,
.language-switch {
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass-surface);
  backdrop-filter: blur(14px);
}

.client-pill {
  border: 1px solid var(--glass-border);
  min-height: 2.4rem;
  padding: 0.6rem 0.82rem;
  color: var(--ink-main);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.client-pill:hover,
.client-pill:focus-visible {
  border-color: rgba(224, 250, 255, 0.36);
  background: rgba(11, 42, 70, 0.72);
  color: var(--ink-strong);
  transform: translate3d(0, -1px, 0);
  outline: none;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem;
}

.language-switch__button {
  border: 0;
  min-width: 2.85rem;
  padding: 0.6rem 0.82rem;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.19em;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.language-switch__button:hover,
.language-switch__button:focus-visible {
  color: var(--ink-main);
  outline: none;
}

.language-switch__button[aria-pressed="true"] {
  color: var(--ink-strong);
  background: rgba(213, 246, 255, 0.14);
}

.main-stage {
  position: relative;
  width: 100%;
  min-height: 100svh;
  transition: filter 420ms var(--ease-fade);
}

.claim-main {
  position: absolute;
  top: var(--claim-main-top);
  left: 50%;
  width: min(44rem, 75vw);
  opacity: 0;
  transform: translate3d(-50%, 0.9rem, 0);
  transition:
    opacity var(--duration-reveal) var(--ease-fade),
    transform var(--duration-reveal) var(--ease-fluid);
}

body.phase-content .claim-main {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}

.claim-main__text {
  margin: 0;
  text-align: center;
  text-wrap: balance;
  line-height: 1.04;
  font-size: clamp(1.7rem, 4vw, 3.1rem);
  font-family: "Aptos Display", "Segoe UI Variable Display", "Bahnschrift",
    sans-serif;
  font-weight: 900;
  color: var(--ink-strong);
  letter-spacing: 0.01em;
  text-shadow:
    0 12px 28px rgba(3, 11, 20, 0.32),
    0 0 24px rgba(169, 234, 255, 0.14);
}

.map-cluster {
  position: absolute;
  top: 53%;
  left: 50%;
  width: min(74vw, 68rem);
  aspect-ratio: 900 / 620;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.96);
  transition:
    opacity 980ms var(--ease-fade),
    transform 980ms var(--ease-fluid);
}

.mobile-country-indicator {
  position: absolute;
  left: 50%;
  bottom: 11.8rem;
  z-index: 12;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, 0.6rem, 0) scale(0.98);
  transition:
    opacity 320ms var(--ease-fade),
    transform 320ms var(--ease-fluid);
}

.mobile-country-indicator span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8rem;
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(216, 248, 255, 0.22);
  background: linear-gradient(135deg,
      rgba(8, 30, 50, 0.74),
      rgba(4, 18, 31, 0.46));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  color: var(--ink-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mobile-country-indicator.is-visible {
  opacity: 1;
  transform: translate3d(-50%, 0, 0) scale(1);
}

.mobile-country-indicator.is-swapping {
  opacity: 0;
  transform: translate3d(-50%, 0.42rem, 0) scale(0.985);
}

body.phase-map .map-cluster {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1);
}

.map-cluster__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform: translate3d(calc(var(--pointer-x) * 8px + var(--map-drag-x)),
      calc(var(--pointer-y) * 6px + var(--map-drag-y)),
      0);
  transition: transform 460ms var(--ease-fade);
  cursor: grab;
  touch-action: none;
}

.map-cluster.is-dragging .map-cluster__inner {
  cursor: grabbing;
}

.map-cluster__glow {
  position: absolute;
  inset: 18% 7% 12% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 228, 255, 0.15), transparent 72%);
  filter: blur(62px);
}

.europe-trace {
  --trace-scale-x: 1.08;
  position: absolute;
  top: 52%;
  left: 50.5%;
  z-index: 1;
  height: 88%;
  width: auto;
  opacity: 0.78;
  pointer-events: none;
  will-change: transform, opacity, filter;
  transform: translate3d(-50%, -50%, 0) scaleX(var(--trace-scale-x));
  transform-origin: 50% 50%;
  filter: drop-shadow(0 0 22px rgba(168, 232, 255, 0.22));
  animation: europeTraceFloat 26s cubic-bezier(0.42, 0, 0.18, 1) infinite;
}

.europe-map {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.continent-mass {
  fill: url(#continentFill);
  stroke: rgba(226, 248, 255, 0.22);
  stroke-width: 1.1;
  opacity: 0.34;
  animation: continentMorph 24s ease-in-out infinite;
  transform-origin: 50% 50%;
}

.continent-shape--main {
  animation: continentFloatA 19s ease-in-out infinite;
}

.continent-shape--italy {
  animation: continentFloatB 17s ease-in-out infinite;
}

.continent-shape--balkans {
  animation: continentFloatC 22s ease-in-out infinite;
}

.continent-shape--north {
  animation: continentFloatD 20s ease-in-out infinite;
}

.continent-outline {
  fill: none;
  stroke: rgba(235, 249, 255, 0.5);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.continent-outline path {
  animation: outlineDrift 24s linear infinite;
}

.continent-outline__main {
  stroke-width: 1.55;
}

.continent-outline__uk,
.continent-outline__ireland,
.continent-outline__italy,
.continent-outline__north {
  stroke-width: 1.18;
}

.mesh-lines {
  fill: none;
  stroke: url(#meshStroke);
  stroke-linecap: round;
  stroke-width: 1.42;
}

.mesh-line {
  stroke-dasharray: 7 11;
  opacity: 0.44;
  animation: meshFlow 14s linear infinite;
}

.mesh-line--cross {
  opacity: 0.34;
  animation-duration: 16s;
}

.geo-node-wrap {
  transform-box: fill-box;
  transition: transform 320ms var(--ease-fade);
}

.geo-node {
  --float-range: 3px;
  --float-delay: 0s;
  --float-duration: 9s;
  transform-box: fill-box;
  animation: nodeFloat var(--float-duration) ease-in-out infinite;
  animation-delay: var(--float-delay);
}

.geo-node__halo {
  fill: rgba(190, 240, 255, 0.08);
  stroke: rgba(230, 250, 255, 0.42);
  stroke-width: 0.95;
  transition:
    stroke 220ms ease,
    fill 220ms ease,
    transform 220ms ease;
}

.geo-node__core {
  fill: #e8fbff;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 0.78;
  transition:
    fill 220ms ease,
    transform 220ms ease,
    filter 220ms ease;
}

.geo-node__label {
  fill: rgba(232, 248, 255, 0.84);
  font-family: "Aptos", "Segoe UI Variable Text", "Trebuchet MS", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: fill 220ms ease;
}

.geo-node--spain {
  filter: url(#nodeGlow);
}

.geo-node--spain .geo-node__pulse {
  fill: url(#spainGlow);
  animation: spainPulse 6.2s ease-out infinite;
}

.geo-node--spain .geo-node__halo {
  fill: rgba(206, 251, 255, 0.2);
  stroke: rgba(224, 252, 255, 0.52);
}

.geo-node--spain .geo-node__label {
  fill: rgba(247, 253, 255, 0.96);
}

.geo-node-wrap.is-focus .geo-node__halo {
  fill: rgba(214, 250, 255, 0.18);
  stroke: rgba(236, 254, 255, 0.78);
}

.geo-node-wrap.is-focus .geo-node__core {
  transform: scale(1.18);
  filter: drop-shadow(0 0 7px rgba(216, 248, 255, 0.95));
}

.geo-node-wrap.is-focus .geo-node__label {
  fill: rgba(246, 252, 255, 0.98);
}

.geo-node-wrap.is-pressed .geo-node__halo {
  transform: scale(1.08);
}

.claim-secondary {
  position: absolute;
  left: var(--claim-secondary-left);
  bottom: var(--claim-secondary-bottom);
  width: min(31rem, 42vw);
  opacity: 0;
  transform: translate3d(0, 0.9rem, 0);
  transition:
    opacity var(--duration-reveal) var(--ease-fade),
    transform var(--duration-reveal) var(--ease-fluid);
}

body.phase-content .claim-secondary {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 120ms;
}

.claim-secondary__text {
  margin: 0;
  font-size: clamp(0.86rem, 1.02vw, 1.02rem);
  line-height: 1.64;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(225, 248, 255, 0.82);
  text-wrap: pretty;
}

.contact-pill {
  position: absolute;
  right: var(--controls-right);
  bottom: var(--contact-bottom);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.62rem;
  width: auto;
  min-width: 0;
  padding: 0.82rem 0.9rem;
  border: 1px solid rgba(214, 246, 255, 0.16);
  border-radius: 999px;
  color: var(--ink-strong);
  background: linear-gradient(135deg,
      rgba(8, 31, 52, 0.64),
      rgba(4, 17, 30, 0.34));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translate3d(0, 0.86rem, 0);
  transition:
    opacity var(--duration-reveal) var(--ease-fade),
    transform var(--duration-reveal) var(--ease-fluid),
    border-color 200ms ease;
}

.contact-pill>span {
  white-space: nowrap;
}

body.phase-content .contact-pill {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 240ms;
}

.contact-pill:hover,
.contact-pill:focus-visible {
  border-color: rgba(228, 251, 255, 0.3);
  outline: none;
}

.contact-pill__label {
  color: rgba(210, 246, 255, 0.56);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.17em;
}

.client-modal-layer[hidden] {
  display: none !important;
}

.client-modal-layer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
}

.client-modal-layer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  margin: 0;
  background: rgba(2, 12, 22, 0.44);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.client-modal {
  position: relative;
  z-index: 2;
  width: min(30rem, calc(100vw - 2rem));
  padding: 1.2rem 1.2rem 1rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(220, 249, 255, 0.24);
  background: linear-gradient(140deg,
      rgba(7, 33, 56, 0.9),
      rgba(4, 17, 29, 0.72));
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.48);
  color: var(--ink-main);
  transform: translate3d(0, 0.8rem, 0) scale(0.98);
  opacity: 0;
  transition:
    transform 360ms var(--ease-fluid),
    opacity 360ms var(--ease-fade);
}

.client-modal-layer.is-open .client-modal {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.client-modal__close {
  position: absolute;
  top: 0.42rem;
  right: 0.44rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(218, 246, 255, 0.08);
  color: var(--ink-main);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.client-modal__title {
  margin: 0 1.8rem 0.95rem 0.1rem;
  font-family: "Aptos Display", "Segoe UI Variable Display", "Bahnschrift",
    sans-serif;
  font-weight: 900;
  font-size: clamp(1.26rem, 2.1vw, 1.76rem);
  letter-spacing: 0.02em;
  color: var(--ink-strong);
}

.client-modal__form {
  display: grid;
  gap: 0.82rem;
}

.client-modal__field {
  display: grid;
  gap: 0.34rem;
}

.client-modal__field span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(211, 243, 255, 0.76);
}

.client-modal__field input {
  width: 100%;
  border: 1px solid rgba(202, 240, 255, 0.2);
  border-radius: 0.72rem;
  padding: 0.76rem 0.84rem;
  background: rgba(5, 21, 36, 0.54);
  color: var(--ink-strong);
}

.client-modal__field input:focus {
  outline: none;
  border-color: rgba(222, 250, 255, 0.56);
}

.client-modal__submit {
  margin-top: 0.2rem;
  border: 1px solid rgba(217, 247, 255, 0.3);
  border-radius: 0.75rem;
  padding: 0.76rem 0.88rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #022239;
  background: linear-gradient(180deg, #d7f7ff 0%, #9edfff 100%);
  cursor: pointer;
}

.client-modal__error {
  margin: 0.9rem 0.1rem 0;
  padding: 0.72rem 0.78rem;
  border: 1px solid rgba(255, 190, 184, 0.46);
  border-radius: 0.7rem;
  background: rgba(93, 24, 30, 0.38);
  color: #ffd9d6;
  line-height: 1.53;
  font-size: 0.9rem;
}

body.modal-open .main-stage,
body.modal-open .top-ui {
  filter: blur(7px) saturate(0.78);
  pointer-events: none;
}

.js .claim-main,
.js .map-cluster,
.js .claim-secondary,
.js .contact-pill,
.js .top-controls {
  will-change: opacity, transform;
}

@keyframes waveTideA {
  0% {
    transform: translate3d(-1.08%, -0.26%, 0) scale(1.032, 1.01);
  }

  24% {
    transform: translate3d(-0.28%, -0.84%, 0) scale(1.039, 1.018);
  }

  48% {
    transform: translate3d(0.78%, -0.46%, 0) scale(1.044, 1.014);
  }

  72% {
    transform: translate3d(1.2%, 0.36%, 0) scale(1.04, 1.008);
  }

  100% {
    transform: translate3d(-1.08%, -0.26%, 0) scale(1.032, 1.01);
  }
}

@keyframes waveTideB {
  0% {
    transform: translate3d(0.94%, -0.22%, 0) scale(1.038, 1.012);
  }

  26% {
    transform: translate3d(1.46%, 0.52%, 0) scale(1.044, 1.02);
  }

  52% {
    transform: translate3d(-0.24%, 0.86%, 0) scale(1.047, 1.018);
  }

  76% {
    transform: translate3d(-1.22%, 0.2%, 0) scale(1.041, 1.011);
  }

  100% {
    transform: translate3d(0.94%, -0.22%, 0) scale(1.038, 1.012);
  }
}

@keyframes waveTideC {
  0% {
    transform: translate3d(-0.72%, 0.24%, 0) scale(1.026, 1.008);
  }

  22% {
    transform: translate3d(0.32%, -0.34%, 0) scale(1.032, 1.014);
  }

  50% {
    transform: translate3d(1.14%, 0.16%, 0) scale(1.036, 1.01);
  }

  76% {
    transform: translate3d(0.36%, 0.74%, 0) scale(1.03, 1.015);
  }

  100% {
    transform: translate3d(-0.72%, 0.24%, 0) scale(1.026, 1.008);
  }
}

@keyframes waveTideD {
  0% {
    transform: translate3d(0.64%, 0.42%, 0) scale(1.028, 1.01);
  }

  28% {
    transform: translate3d(-0.22%, 0.92%, 0) scale(1.034, 1.017);
  }

  54% {
    transform: translate3d(-1.04%, 0.46%, 0) scale(1.037, 1.015);
  }

  82% {
    transform: translate3d(-0.3%, -0.18%, 0) scale(1.031, 1.01);
  }

  100% {
    transform: translate3d(0.64%, 0.42%, 0) scale(1.028, 1.01);
  }
}

@keyframes waveTideAMobile {
  0% {
    transform: translate3d(-0.42%, -0.08%, 0) scale(1.012, 0.86);
  }

  33% {
    transform: translate3d(0.18%, -0.18%, 0) scale(1.016, 0.88);
  }

  66% {
    transform: translate3d(0.34%, 0.1%, 0) scale(1.018, 0.87);
  }

  100% {
    transform: translate3d(-0.42%, -0.08%, 0) scale(1.012, 0.86);
  }
}

@keyframes waveTideBMobile {
  0% {
    transform: translate3d(0.38%, -0.1%, 0) scale(1.014, 0.87);
  }

  34% {
    transform: translate3d(0.52%, 0.14%, 0) scale(1.018, 0.89);
  }

  68% {
    transform: translate3d(-0.18%, 0.18%, 0) scale(1.02, 0.88);
  }

  100% {
    transform: translate3d(0.38%, -0.1%, 0) scale(1.014, 0.87);
  }
}

@keyframes waveTideCMobile {
  0% {
    transform: translate3d(-0.26%, 0.08%, 0) scale(1.01, 0.85);
  }

  35% {
    transform: translate3d(0.2%, -0.12%, 0) scale(1.014, 0.87);
  }

  70% {
    transform: translate3d(0.34%, 0.1%, 0) scale(1.016, 0.86);
  }

  100% {
    transform: translate3d(-0.26%, 0.08%, 0) scale(1.01, 0.85);
  }
}

@keyframes waveTideDMobile {
  0% {
    transform: translate3d(0.22%, 0.1%, 0) scale(1.012, 0.86);
  }

  36% {
    transform: translate3d(-0.12%, 0.22%, 0) scale(1.016, 0.88);
  }

  72% {
    transform: translate3d(-0.36%, 0.12%, 0) scale(1.018, 0.87);
  }

  100% {
    transform: translate3d(0.22%, 0.1%, 0) scale(1.012, 0.86);
  }
}

@keyframes continentMorph {

  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1, 1);
  }

  50% {
    transform: translate3d(0.6%, -0.9%, 0) scale(1.012, 1.022);
  }
}

@keyframes continentFloatA {

  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0.8%, -0.8%, 0);
  }
}

@keyframes continentFloatB {

  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-0.6%, 0.55%, 0);
  }
}

@keyframes continentFloatC {

  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0.5%, 0.5%, 0);
  }
}

@keyframes continentFloatD {

  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-0.4%, -0.7%, 0);
  }
}

@keyframes europeTraceFloat {

  0%,
  100% {
    opacity: 0.74;
    transform: translate3d(-50%, -50%, 0) scaleX(var(--trace-scale-x)) scale(1);
    filter: drop-shadow(0 0 18px rgba(168, 232, 255, 0.18));
  }

  24% {
    opacity: 0.82;
    transform: translate3d(-49.6%, -50.7%, 0) scaleX(var(--trace-scale-x)) scale(1.01);
    filter: drop-shadow(0 0 24px rgba(168, 232, 255, 0.24));
  }

  52% {
    opacity: 0.88;
    transform: translate3d(-50.3%, -49.5%, 0) scaleX(var(--trace-scale-x)) scale(1.015);
    filter: drop-shadow(0 0 26px rgba(168, 232, 255, 0.28));
  }

  76% {
    opacity: 0.8;
    transform: translate3d(-49.8%, -50.35%, 0) scaleX(var(--trace-scale-x)) scale(1.008);
    filter: drop-shadow(0 0 22px rgba(168, 232, 255, 0.22));
  }
}

@keyframes outlineDrift {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: 172;
  }
}

@keyframes meshFlow {
  from {
    stroke-dashoffset: 0;
    opacity: 0.24;
  }

  45% {
    opacity: 0.72;
  }

  to {
    stroke-dashoffset: -156;
    opacity: 0.24;
  }
}

@keyframes nodeFloat {

  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, calc(var(--float-range) * -1), 0);
  }
}

@keyframes spainPulse {
  0% {
    transform: scale(0.72);
    opacity: 0.74;
  }

  68% {
    transform: scale(1.12);
    opacity: 0;
  }

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

@media (max-width: 1180px) {
  :root {
    --claim-main-top: clamp(6rem, 11vh, 7.6rem);
    --claim-secondary-bottom: clamp(0.95rem, 2.2vh, 1.6rem);
  }

  .claim-main__text {
    font-size: clamp(1.46rem, 3.9vw, 2.56rem);
  }

  .map-cluster {
    width: min(84vw, 60rem);
    top: 54%;
  }

  .contact-pill {
    min-width: 0;
  }
}

@media (max-width: 920px) {
  :root {
    --dock-left: 0.88rem;
    --dock-top: 0.88rem;
    --controls-right: 0.86rem;
    --claim-main-top: 6.2rem;
    --claim-secondary-left: 0.9rem;
    --claim-secondary-bottom: 3.9rem;
    --contact-bottom: 0.9rem;
  }

  .brand-orbit__word {
    font-size: clamp(1.9rem, 11vw, 5.5rem);
    letter-spacing: 0.13em;
  }

  body.phase-docked .brand-orbit {
    padding: 0.36rem 0.62rem 0.36rem 0.36rem;
  }

  body.phase-docked .brand-orbit__logo {
    width: 2rem;
    height: 2rem;
  }

  .brand-orbit__studio {
    font-size: 0.88rem;
    letter-spacing: 0.1em;
  }

  .client-pill {
    min-height: 2.08rem;
    padding: 0.52rem 0.7rem;
    font-size: 0.68rem;
    letter-spacing: 0.15em;
  }

  .language-switch {
    padding: 0.22rem;
  }

  .language-switch__button {
    min-width: 2.54rem;
    padding: 0.52rem 0.61rem;
  }

  .claim-main {
    width: min(86vw, 35rem);
  }

  .claim-main__text {
    font-size: clamp(1.18rem, 6vw, 1.98rem);
  }

  .map-cluster {
    width: min(95vw, 37rem);
    top: 56%;
  }

  .geo-node__label {
    display: none;
  }

  .claim-secondary {
    width: min(62vw, 24rem);
  }

  .claim-secondary__text {
    font-size: clamp(0.73rem, 1.8vw, 0.88rem);
    line-height: 1.55;
  }

  .contact-pill {
    min-width: 0;
    padding: 0.72rem 0.86rem;
  }
}

@media (max-width: 640px) {
  :root {
    --dock-left: max(0.55rem, env(safe-area-inset-left));
    --controls-right: max(0.55rem, env(safe-area-inset-right));
    --claim-main-top: 5.8rem;
    --claim-secondary-bottom: 5.1rem;
    --contact-bottom: 0.72rem;
  }

  .claim-main {
    width: min(95vw, 26.5rem);
  }

  .claim-main__text {
    font-size: clamp(1.06rem, 7.4vw, 1.66rem);
    line-height: 1.06;
  }

  .map-cluster {
    width: min(112vw, 30rem);
    top: 54%;
  }

  .europe-trace {
    --trace-scale-x: 1.05;
    top: 52.5%;
    left: 50%;
    height: 85%;
    opacity: 0.76;
  }

  .background__waves {
    opacity: 0.86;
    transform: translate3d(
        calc(var(--pointer-x) * -1px),
        calc(var(--pointer-y) * -0.6px),
        0
      )
      scale(1.002);
    transition: transform 1400ms var(--ease-fade);
    filter: saturate(0.9) brightness(0.97);
  }

  .wave-path--desktop {
    display: none;
  }

  .wave-path--mobile {
    display: block;
  }

  .wave--a {
    animation-name: waveTideAMobile;
    animation-duration: 120s;
    opacity: 0.62;
  }

  .wave--b {
    animation-name: waveTideBMobile;
    animation-duration: 138s;
    opacity: 0.58;
  }

  .wave--c {
    animation-name: waveTideCMobile;
    animation-duration: 112s;
    opacity: 0.54;
  }

  .wave--d {
    animation-name: waveTideDMobile;
    animation-duration: 150s;
    opacity: 0.64;
  }

  .mobile-country-indicator {
    bottom: 12.8rem;
  }

  .claim-secondary {
    left: 0.55rem;
    right: 0.55rem;
    width: auto;
  }

  .claim-secondary__text {
    font-size: 0.71rem;
    letter-spacing: 0.075em;
    text-align: center;
    text-justify: inter-word;
  }

  .contact-pill {
    left: 50%;
    right: auto;
    width: auto;
    max-width: calc(100vw - 1.1rem);
    min-width: 0;
    padding: 0.68rem 0.88rem;
    gap: 0.56rem;
    justify-content: center;
    font-size: 0.84rem;
    transform: translate3d(-50%, 0.86rem, 0);
  }

  body.phase-content .contact-pill {
    transform: translate3d(-50%, 0, 0);
  }

  .contact-pill__label {
    font-size: 0.61rem;
    letter-spacing: 0.15em;
  }

  .client-modal-layer {
    place-items: start center;
    padding: max(0.6rem, env(safe-area-inset-top)) 0.6rem 0.8rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .client-modal {
    width: min(25rem, calc(100vw - 1.2rem));
    padding: 1rem 0.95rem 0.9rem;
    margin-top: 0;
    max-height: calc(100dvh - max(1.2rem, env(safe-area-inset-top)) - 0.8rem);
    overflow-y: auto;
  }

  body.phase-docked .brand-orbit {
    padding: 0.31rem 0.5rem 0.31rem 0.31rem;
    gap: 0.44rem;
  }

  body.phase-docked .brand-orbit__logo {
    width: 1.8rem;
    height: 1.8rem;
  }

  body.phase-docked .brand-orbit__word {
    font-size: 0.9rem;
    letter-spacing: 0.12em;
  }

  body.phase-docked .brand-orbit__studio {
    display: none;
  }

  .top-controls {
    gap: 0.3rem;
  }

  .client-pill {
    min-height: 1.96rem;
    padding: 0.46rem 0.55rem;
    font-size: 0.66rem;
    letter-spacing: 0.15em;
  }

  .language-switch__button {
    min-width: 2.12rem;
    padding: 0.46rem 0.48rem;
    letter-spacing: 0.15em;
  }
}

@media (pointer: coarse) and (max-width: 900px) {
  :root {
    --dock-left: max(0.7rem, env(safe-area-inset-left));
    --controls-right: max(0.7rem, env(safe-area-inset-right));
  }

  .claim-main {
    width: min(92vw, 25rem);
  }

  .claim-main__text {
    text-wrap: balance;
  }

  .map-cluster {
    width: min(104vw, 29rem);
    top: 53.8%;
  }

  .europe-trace {
    top: 51.8%;
    height: 76%;
    opacity: 0.68;
  }

  .mobile-country-indicator {
    bottom: 10.2rem;
  }

  .mobile-country-indicator span {
    min-width: 9rem;
    padding: 0.52rem 1rem;
  }

  .claim-secondary {
    left: 0.8rem;
    right: 0.8rem;
  }

  .contact-pill {
    max-width: min(calc(100vw - 1.4rem), 22rem);
  }
}

@media (pointer: coarse) and (orientation: landscape) and (max-height: 560px) {
  :root {
    --dock-left: max(0.65rem, env(safe-area-inset-left));
    --dock-top: max(0.6rem, env(safe-area-inset-top));
    --controls-right: max(0.65rem, env(safe-area-inset-right));
    --claim-main-top: max(0.95rem, calc(env(safe-area-inset-top) + 0.7rem));
    --claim-secondary-left: max(0.8rem, env(safe-area-inset-left));
    --claim-secondary-bottom: 0.95rem;
    --contact-bottom: 0.9rem;
  }

  body.phase-docked .brand-orbit {
    padding: 0.3rem 0.54rem 0.3rem 0.3rem;
    gap: 0.42rem;
  }

  body.phase-docked .brand-orbit__logo {
    width: 1.85rem;
    height: 1.85rem;
  }

  body.phase-docked .brand-orbit__word {
    font-size: 0.88rem;
    letter-spacing: 0.12em;
  }

  body.phase-docked .brand-orbit__studio {
    display: none;
  }

  .top-controls {
    gap: 0.28rem;
  }

  .client-pill {
    min-height: 2rem;
    padding: 0.44rem 0.68rem;
    font-size: 0.64rem;
    letter-spacing: 0.14em;
  }

  .language-switch {
    padding: 0.2rem;
  }

  .language-switch__button {
    min-width: 2.16rem;
    padding: 0.44rem 0.48rem;
    letter-spacing: 0.14em;
  }

  .claim-main {
    width: min(42vw, 18rem);
    left: 50%;
    transform: translate3d(-50%, 0.4rem, 0);
  }

  .claim-main__text {
    font-size: clamp(0.92rem, 2.8vw, 1.26rem);
    line-height: 1.02;
  }

  body.phase-content .claim-main {
    transform: translate3d(-50%, 0, 0);
  }

  .map-cluster {
    width: min(55vw, 25rem);
    top: 59%;
    left: 57%;
  }

  .map-cluster__glow {
    inset: 18% 10% 14% 12%;
  }

  .europe-trace {
    --trace-scale-x: 1.02;
    top: 53%;
    left: 51%;
    height: 70%;
    opacity: 0.62;
  }

  .claim-secondary {
    left: max(0.8rem, env(safe-area-inset-left));
    right: auto;
    width: min(36vw, 18rem);
  }

  .claim-secondary__text {
    font-size: 0.6rem;
    line-height: 1.42;
    letter-spacing: 0.08em;
    text-align: left;
  }

  .contact-pill {
    left: auto;
    right: max(0.8rem, env(safe-area-inset-right));
    width: auto;
    max-width: min(40vw, 18.5rem);
    padding: 0.58rem 0.74rem;
    gap: 0.5rem;
    justify-content: flex-start;
    font-size: 0.78rem;
    transform: translate3d(0, 0.76rem, 0);
  }

  body.phase-content .contact-pill {
    transform: translate3d(0, 0, 0);
  }

  .contact-pill__label {
    font-size: 0.56rem;
    letter-spacing: 0.14em;
  }

  .mobile-country-indicator {
    bottom: 4.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
