* { box-sizing: border-box; }
:root { --page-gutter: clamp(22px, 3vw, 42px); }
html { scrollbar-width: none; scroll-behavior: smooth; }
body { margin: 0; background: #a5b6e0; color: #fff; font: 400 16px "DM Sans", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #211b6c; outline-offset: 4px; }
.landscape {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: #a2aedd url("/assets/soft-water.svg?v=2") center / 100% 100% no-repeat;
}
.satellite {
  position: absolute;
  width: clamp(35px, 7.6vw, 105px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(ellipse at 53% 72%, #17408a8c, transparent 62%),
    linear-gradient(159deg, #7d97c56b 30%, #e2ccdf9c 48%, #456fbb9e 65%);
  box-shadow: inset 2px -2px 4px #fdf5ffe0, inset -2px 2px 5px #38487288;
  transform: translate3d(var(--drift-x, 0px), var(--drift-y, 0px), 0);
}
.satellite::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  box-shadow: inherit;
  transform: translateY(var(--reflection-offset)) scaleY(-.9);
  opacity: .43;
  filter: blur(.65px);
}
.satellite-east { left: 80%; top: 45%; --reflection-offset: calc(38svh - 100%); }
.satellite-west { left: 11%; top: 58%; width: clamp(36px, 9vw, 125px); --reflection-offset: calc(12svh - 100%); opacity: .72; }
.top {
  position: fixed;
  z-index: 5;
  top: 20px;
  inset-inline: var(--page-gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.top nav {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: clamp(15px, 2.3vw, 32px);
  padding: 7px 24px;
  min-height: 54px;
  border: 1px solid #ffffff61;
  border-radius: 99px;
  background: #34377649;
  box-shadow: inset 0 1px 6px #ffffff45, 0 5px 24px #26337618;
  backdrop-filter: blur(14px);
}
.brand { justify-self: start; font-size: clamp(18px, 2.1vw, 27px); font-weight: 800; letter-spacing: -.055em; white-space: nowrap; }
.brand span { font-weight: 500; }
.chapter {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding: 90px var(--page-gutter) 38px;
}
.hero { align-items: end; }
.hero-copy { max-width: 730px; text-shadow: 0 2px 24px #29276691; }
h1, h2 { margin: 0; font-weight: 400; letter-spacing: -.055em; line-height: .99; }
h1 { font-size: clamp(42px, 5.6vw, 100px); }
h1 strong { font-weight: 800; }
h2 { font-size: clamp(38px, 5vw, 72px); }
.action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 48px;
  padding: 0 22px;
  margin-top: 25px;
  border-radius: 99px;
  background: #161253;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-shadow: none;
  transition: background .2s, transform .2s;
}
.action:hover { background: #2c227f; transform: translateY(-2px); }
.action:active { transform: scale(.97); }
.action span { font-size: 22px; font-weight: 400; }
.panel {
  width: min(100%, 480px);
  padding: clamp(22px, 3vw, 42px);
  border: 1px solid #ffffff91;
  border-radius: 34px;
  background: #f5f2ffb8;
  backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 4px #fff9, 0 22px 75px #283b8228;
  color: #231d54;
}
.panel p { max-width: 29ch; margin: 18px 0 0; font-size: 18px; }
.work .panel { justify-self: end; }
.projects { display: grid; gap: 10px; margin-top: 20px; }
.projects a { display: flex; justify-content: space-between; padding: 14px 16px; border-radius: 14px; background: #ffffffa8; }
.projects a:hover { background: #fff; }
.orb-stage {
  --orb-x: 0px;
  --orb-y: 0px;
  --orb-scale: 1;
  position: fixed;
  z-index: 1;
  top: 48.5%;
  left: 50%;
  width: min(70vw, 43svh, 500px);
  aspect-ratio: 1;
  pointer-events: none;
  transform: translate(-50%, -50%) translate3d(var(--orb-x), var(--orb-y), 0) scale(var(--orb-scale));
}
.orb, .orb-reflection {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  isolation: isolate;
  background: #abb3df65;
  box-shadow: inset 0 0 10px #fff8;
}
.orb { z-index: 1; display: grid; place-items: center; }
.orb-lens {
  position: absolute;
  inset: 0;
  background: url("/assets/soft-water.svg?v=2") no-repeat;
  background-size: var(--lens-w, 100vw) var(--lens-h, 100vh);
  background-position: calc(50% - var(--lens-x, 0px)) calc(50% - var(--lens-y, var(--lens-rest-y, -1.5vh)) - min(7vh, 13vw));
  transform: scale(1.12, 1.07);
}
.orb-light {
  position: absolute;
  inset: -14%;
  background:
    radial-gradient(ellipse at 34% 23%, #fff9, #e9e3ff3b 25%, transparent 44%),
    radial-gradient(ellipse at 34% 70%, #8370df41, transparent 37%),
    linear-gradient(165deg, transparent 40%, #d8c7ff37 53%, transparent 68%);
  transform: translate(var(--light-x, 0px), var(--light-y, 0px)) rotate(var(--light-angle, 0deg));
}
.orb::after, .orb-reflection::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 45% 42%, transparent 42%, #e8c9ff26 65%, #fffc 84%),
    linear-gradient(170deg, #fffc 0%, #fff1 23%, transparent 72%, #fffd 100%);
  box-shadow: inset -4px 1px 10px #f3a5df67, inset 0 -7px 14px #fff9;
}
.orb-mark {
  position: relative;
  z-index: 2;
  width: 60%;
  filter: drop-shadow(0 3px 10px #3b31877d);
  opacity: .96;
  transform: perspective(500px) rotateY(var(--tilt, 0deg));
}
.orb-reflection {
  transform: translateY(var(--mirror-y, 31svh)) scaleY(-.94);
  opacity: .70;
  filter: blur(.65px);
  mask-image: linear-gradient(to top, #000 8%, #000c 47%, transparent 98%);
}
@media (max-width: 820px) { .top { grid-template-columns: 1fr auto; } }
@media (max-width: 650px) {
  .top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
  .top nav { gap: clamp(9px, 2.5vw, 15px); min-height: 44px; padding: 5px 12px; font-size: 13px; }
  .chapter { min-height: 100svh; align-items: end; }
  .hero-copy { padding-bottom: 8px; }
  .orb-stage { top: 40%; width: min(66vw, 38svh); }
  .landscape { background-size: auto 100%; }
  .orb-lens { --lens-rest-y: -10vh; background-size: var(--lens-w, 160vh) var(--lens-h, 100vh); }
  .work .panel { justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .action { transition: none; }
}







@media (prefers-reduced-motion: no-preference) {
  .orb-reflection { animation: reflected-light 13s ease-in-out infinite; }
  .satellite::after { animation: reflected-light 17s ease-in-out -6s infinite; }
  @keyframes reflected-light {
    0%, 100% { translate: 0 0; }
    36% { translate: 2px 1px; }
    72% { translate: -2px -1px; }
  }
}


body { background: color-mix(in srgb, #ededf8, white calc(var(--paper, 0) * 100%)); }
.landscape {
  transform: translate3d(0, var(--camera-y, 0px), 0) scale(var(--camera-scale, 1));
  transform-origin: center 0;
  opacity: var(--ice, 1);
}
.scene-sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: var(--sky, 0);
  background:
    radial-gradient(ellipse at 82% 80%, #f1eeffb5, transparent 62%),
    linear-gradient(150deg, #8198d4, #bcc9e6 64%, #9bb0df);
}
.hero {
  min-height: 135svh;
  padding-bottom: calc(35svh + 38px);
}
.orb-stage { opacity: var(--orb-alpha, 1); }
.orb-reflection { opacity: var(--water-alpha, .7); }
.orb-lens { opacity: var(--ice, 1); }
.orb { background: radial-gradient(ellipse at 30% 70%, #7864d9, #acacf0 53%, #dedcf4); }
.top nav {
  background: rgb(37 44 98 / calc(.23 + var(--nav-ink, 0) * .54));
  text-shadow: 0 1px 6px #1b245f5e;
}
.brand { color: color-mix(in srgb, white, #252759 calc(var(--nav-ink, 0) * 100%)); }
.services .panel, .studio .panel, .contact .panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.services .panel, .studio .panel, .contact .panel {
  width: min(100%, 760px);
  justify-self: center;
  text-align: center;
}
.services .panel p, .studio .panel p { margin-inline: auto; }
.contact .panel { color: white; text-shadow: 0 2px 20px #363e7f80; }
@media (prefers-reduced-motion: reduce) {
  .hero { min-height: 100svh; padding-bottom: 38px; }
  .chapter:not(.hero) { background: #ededf8; }
  .chapter.contact { background: #9fb3db; }
}


@media (prefers-reduced-motion: no-preference) {
  .orb-expression {
    transform-origin: 120px 73px;
    animation: orb-blink 9s ease-in-out infinite;
  }
  @keyframes orb-blink {
    0%, 61%, 65%, 100% { transform: scaleY(1); }
    63% { transform: scaleY(.14); }
  }
}

.orb-pupils {
  opacity: .92;
  transform: translate(var(--gaze-x, 0px), var(--gaze-y, 0px));
}


.top nav {
  position: relative;
  isolation: isolate;
}
.top nav a { position: relative; }
.top nav::before {
  content: "";
  position: absolute;
  inset: 5px auto 5px 0;
  width: var(--highlight-width, 0px);
  transform: translateX(var(--highlight-x, 0px));
  border-radius: 99px;
  background: linear-gradient(165deg, #ffffff38, #ffffff12);
  box-shadow: inset 0 1px 1px #ffffff55, 0 2px 8px #20275918;
  opacity: var(--highlight-opacity, 0);
  pointer-events: none;
  transition: transform .32s cubic-bezier(.2,.75,.25,1), width .32s cubic-bezier(.2,.75,.25,1), opacity .17s ease;
}
.top nav[data-highlight="enter"]::before { transition: opacity .17s ease; }
@media (prefers-reduced-motion: reduce) {
  .top nav::before, .top nav[data-highlight="enter"]::before { transition: none; }
}


.language-option {
  justify-self: end;
  border: 1px solid #ffffff61;
  border-radius: 99px;
  padding: 9px 13px;
  background: #3437766b;
  font-size: 13px;
}
.language-option:hover { background: #343776a0; }
.services .panel p, .studio .panel p { max-width: 51ch; }
.mini-faq {
  max-width: 32rem;
  margin: 28px auto 0;
  text-align: start;
  scroll-margin-top: 126px;
}
.mini-faq details {
  margin-top: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #ffffffc9;
}
.mini-faq summary { cursor: pointer; }
.mini-faq details p { margin: 8px 0 0; font-size: 15px; }
@media (max-width: 1040px) {
  .top { grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 10px; }
  .top nav { gap: clamp(9px, 1.6vw, 18px); padding-inline: 14px; }
}
@media (max-width: 650px) {
  .top { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .top nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    font-size: clamp(11px, 3.25vw, 13px);
  }
  .language-option { grid-column: 2; grid-row: 1; }
  .chapter:not(.hero) { padding-top: 120px; }
}


/* Match the desktop reference independently of the translated line count. */
@media (min-width: 1000px) and (min-height: 600px) {
  .hero {
    align-items: start;
    padding-top: 36svh;

    padding-bottom: 38px;
  }
  .hero-copy { max-width: min(730px, 39vw); }
}

.hero-lead, .hero h1 strong { display: block; }
.hero h1 strong { margin-top: .1em; }
@media (min-width: 1000px) and (min-height: 600px) {
  .hero-lead { font-size: .84em; line-height: 1.02; }
  .hero-lead > span { display: block; }
  .hero h1 strong { font-size: .86em; white-space: nowrap; }
}
@media (max-width: 999px) {
  .hero h1 { text-wrap: balance; }
}


@media (min-width: 1000px) {
  .landscape { background-size: 121.4% 100%; background-position: left center; }
  .orb-stage { --orb-x: 10.7vw; }
  .hero-copy { max-width: 49vw; }
  .hero-lead { font-size: clamp(30px, 3.2vw, 66px); }
  .hero-lead > span { display: inline; }
}

.satellite-west {
  left: 11%;
  top: 57%;
  width: clamp(32px, 6.8vw, 95px);
  --reflection-offset: calc(100% + 2svh);
  opacity: .66;
}
.satellite-west::after {
  opacity: .24;
  mask-image: linear-gradient(to top, #000, transparent);
}
.brand { transition: opacity .18s ease, visibility .18s; }
.brand-out .brand { opacity: 0; visibility: hidden; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .brand { transition: none; }
}

.hero .action { margin-top: clamp(38px, 7svh, 76px); }
@media (max-width: 650px), (max-height: 599px) {
  .hero .action { margin-top: 36px; }
}

@media (min-width: 1000px) and (min-height: 600px) {
  .hero .action {
    position: absolute;
    top: calc(86svh - 24px);
    inset-inline-start: var(--page-gutter);
    margin-top: 0;
  }
}

.scene-viewport { position: fixed; height: 100svh; width: 0; visibility: hidden; pointer-events: none; }
