@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #06101d;
  --bg-2: #0a1727;
  --panel: rgba(13, 29, 46, .70);
  --panel-strong: rgba(11, 24, 39, .92);
  --line: rgba(255,255,255,.11);
  --text: #f6fbff;
  --muted: #a9bccd;
  --ice: #9ddce9;
  --ice-2: #dff8fb;
  --berry: #ef545c;
  --gold: #efca79;
  --shadow: 0 30px 90px rgba(0, 0, 0, .35);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max: 1240px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(59, 130, 159, .18), transparent 34%),
    linear-gradient(180deg, #07111f 0%, #06101d 48%, #081321 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body::selection {
  background: var(--ice);
  color: var(--bg);
}

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

img, svg { max-width: 100%; }

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

#snowCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 20;
  opacity: .68;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 19;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.ambient {
  position: fixed;
  width: 45vw;
  height: 45vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .12;
  pointer-events: none;
  z-index: 0;
}

.ambient-one {
  top: -22vw;
  right: -8vw;
  background: #3ab6d3;
}

.ambient-two {
  left: -20vw;
  top: 48vh;
  background: #8f2f54;
}

.section-shell,
.site-header {
  width: min(calc(100% - 72px), var(--max));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.site-header {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 7px 20px rgba(126, 219, 238, .2));
}

.brand-copy {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: -.03em;
}

.brand-copy strong {
  font-weight: 800;
  font-size: 18px;
}

.brand-copy span {
  font-size: 18px;
  color: #c1d1dc;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #c8d6df;
  font-size: 14px;
}

.nav a {
  position: relative;
  padding: 10px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 6px;
  height: 1px;
  background: var(--ice);
  transition: right .25s ease;
}

.nav a:hover::after {
  right: 0;
}

.header-cta {
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.055);
  padding: 12px 16px;
  border-radius: 999px;
  backdrop-filter: blur(12px);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.2);
}

.header-cta span { color: var(--ice); margin-left: 5px; }

.hero {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 38px;
  padding: 62px 0 100px;
}

.hero-copy {
  min-width: 0;
  padding-left: 6px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  color: #b7cad6;
  letter-spacing: .16em;
  font-size: 11px;
  font-weight: 700;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--berry);
  box-shadow: 0 0 0 5px rgba(239, 84, 92, .1), 0 0 22px rgba(239,84,92,.75);
}

.hero h1,
.section-heading h2,
.studio-copy h2,
.contact h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: -.055em;
  margin: 0;
}

.hero h1 {
  max-width: 700px;
  margin-top: 22px;
  font-size: clamp(52px, 6vw, 88px);
  line-height: 1.02;
  font-weight: 700;
}

.gradient-text {
  display: block;
  width: fit-content;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background:
    linear-gradient(90deg, #dff9fb 0%, #9edfeb 38%, #f4dfac 78%, #f4a3a3 100%);
  background-clip: text;
  -webkit-background-clip: text;

  /* Extra paint area prevents Safari/WebKit from clipping the "g" descender. */
  line-height: 1.08;
  padding: 0 .025em .16em .025em;
  margin: 0 -.025em -.16em -.025em;
  overflow: visible;

  filter: drop-shadow(0 10px 35px rgba(106, 200, 219, .08));
}

.hero-lede {
  max-width: 650px;
  margin: 28px 0 0;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease, border-color .24s ease;
}

.button:hover { transform: translateY(-3px); }

.button-primary {
  gap: 14px;
  color: #06101d;
  background: linear-gradient(135deg, #eafcfe, #9ddce9);
  box-shadow: 0 12px 40px rgba(89, 177, 199, .20);
}

.button-primary:hover {
  box-shadow: 0 18px 55px rgba(89, 177, 199, .29);
}

.button-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(6,16,29,.12);
}

.button-ghost {
  border: 1px solid var(--line);
  color: #d6e3eb;
  background: rgba(255,255,255,.035);
  backdrop-filter: blur(10px);
}

.button-ghost:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.18);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero-tags span,
.pill-row span {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  color: #9eb2c0;
  padding: 7px 11px;
  font-size: 11px;
  letter-spacing: .03em;
}

.hero-art {
  position: relative;
  perspective: 1200px;
  min-height: 580px;
  min-width: 0;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  overflow: visible;
  isolation: isolate;
}

.studio-card {
  position: relative;
  z-index: 3;
  width: min(100%, 500px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  background: rgba(10, 24, 39, .88);
  box-shadow:
    0 55px 120px rgba(0,0,0,.52),
    inset 0 1px 0 rgba(255,255,255,.08);
  overflow: hidden;
  backdrop-filter: blur(16px);
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform .18s ease-out;
}

.window-bar {
  height: 58px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 0 17px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.025);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
}

.window-dots span:first-child { background: var(--berry); }
.window-dots span:nth-child(2) { background: var(--gold); }
.window-dots span:last-child { background: var(--ice); }

.window-label {
  font-size: 10px;
  color: #78909e;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
}

.window-badge {
  justify-self: end;
  padding: 5px 8px;
  border: 1px solid rgba(157,220,233,.18);
  border-radius: 999px;
  color: #bceaf2;
  background: rgba(157,220,233,.08);
  font-size: 8px;
  letter-spacing: .13em;
  font-weight: 700;
}

.scene {
  position: relative;
  height: 390px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 20%, rgba(239,202,121,.10), transparent 21%),
    linear-gradient(180deg, #0e2940 0%, #17364d 48%, #10283c 100%);
}

.scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(157,220,233,.08), transparent 25%),
    linear-gradient(120deg, transparent 35%, rgba(255,255,255,.035) 50%, transparent 64%);
  pointer-events: none;
}

.moon {
  position: absolute;
  right: 70px;
  top: 55px;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff9df, #efca79);
  box-shadow: 0 0 55px rgba(239,202,121,.22);
}

.moon::after {
  content: "";
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  left: -15px;
  top: -10px;
  background: #102a40;
}

.scene-star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 10px rgba(255,255,255,.9);
  animation: twinkle 2.4s ease-in-out infinite alternate;
}

.s1 { left: 12%; top: 17%; animation-delay: .1s; }
.s2 { left: 38%; top: 12%; animation-delay: 1.1s; }
.s3 { left: 61%; top: 24%; animation-delay: .7s; }
.s4 { left: 85%; top: 13%; animation-delay: 1.6s; }

@keyframes twinkle {
  from { opacity: .25; transform: scale(.7); }
  to { opacity: 1; transform: scale(1.5); }
}

.mountains {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 87%;
}

.scene-floor {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -55px;
  height: 150px;
  border-radius: 50% 50% 0 0;
  background:
    linear-gradient(180deg, rgba(233,249,251,.94), rgba(130,183,199,.72));
  box-shadow: inset 0 14px 40px rgba(255,255,255,.22);
}

.scene-console {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  background: rgba(7, 17, 31, .70);
  backdrop-filter: blur(15px);
  box-shadow: 0 12px 35px rgba(0,0,0,.18);
}

.console-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #07111f;
  background: linear-gradient(135deg, #e9fbfd, #93d6e3);
}

.scene-console small,
.floating-card small {
  display: block;
  margin-bottom: 3px;
  color: #88a0af;
  font-size: 8px;
  letter-spacing: .16em;
  font-weight: 700;
  line-height: 1.35;
  overflow: visible;
}

.scene-console strong {
  font-size: 12px;
  font-weight: 600;
  color: #edf8fb;
}

.card-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.08);
}

.mini-stat {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 17px 18px;
  color: #a9bac6;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.mini-stat:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,.08);
}

.mini-label { color: #5f7a8d; }

.floating-card {
  position: absolute;
  z-index: 50 !important;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  background: rgba(12, 28, 44, .94);
  box-shadow: 0 22px 55px rgba(0,0,0,.34);
  backdrop-filter: blur(14px);
  animation: float 5.5s ease-in-out infinite;
  overflow: visible !important;
  transform-style: preserve-3d;
  pointer-events: none;
}

.floating-card strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  overflow: visible;
}

.floating-card-one {
  left: 4px;
  top: 92px;
  width: 235px;
}

.floating-card-two {
  right: 74px;
  top: 255px;
  bottom: auto;
  width: 235px;
  animation-delay: -2.5s;
}

.float-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: #ffdae0;
  background: rgba(239,84,92,.16);
}

.sparkline {
  width: 44px;
  height: 34px;
  display: flex;
  align-items: end;
  gap: 3px;
}

.sparkline i {
  flex: 1;
  border-radius: 3px;
  background: linear-gradient(180deg, #c1edf4, #6eb7c7);
  opacity: .88;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.floating-snowflake {
  position: absolute;
  z-index: 2;
  color: rgba(220, 247, 250, .55);
  text-shadow: 0 0 20px rgba(157,220,233,.22);
  animation: slowSpin 14s linear infinite;
}

.flake-a { right: 2%; top: 18%; font-size: 24px; }
.flake-b { left: 5%; bottom: 12%; font-size: 17px; animation-direction: reverse; }

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

.orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(157,220,233,.11);
  border-radius: 50%;
  animation: orbitPulse 5s ease-in-out infinite alternate;
}

.orbit-one { width: 560px; height: 560px; }
.orbit-two { width: 430px; height: 430px; animation-delay: -2s; }

@keyframes orbitPulse {
  from { transform: scale(.96); opacity: .45; }
  to { transform: scale(1.02); opacity: .95; }
}

.scroll-note {
  position: absolute;
  left: 0;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #6e8798;
  text-transform: uppercase;
  font-size: 8px;
  letter-spacing: .25em;
}

.scroll-line {
  width: 45px;
  height: 1px;
  background: #486274;
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 1px;
  background: var(--ice);
  animation: scan 1.8s ease-in-out infinite;
}

@keyframes scan {
  0% { left: -18px; }
  100% { left: 45px; }
}

.services {
  padding: 120px 0 90px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin-top: 14px;
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: 1.03;
}

.section-heading > p {
  margin: 0;
  max-width: 420px;
  justify-self: end;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  box-shadow: 0 30px 90px rgba(0,0,0,.16);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 25px 0;
}

.service-number {
  color: #658091;
  font-size: 10px;
  letter-spacing: .15em;
}

.service-chip {
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: #bcd0dc;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.service-visual {
  position: relative;
  flex: 1;
  min-height: 370px;
  margin: 18px;
  border-radius: 24px;
  overflow: hidden;
}

.game-visual {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 15%, rgba(140, 219, 233, .20), transparent 31%),
    linear-gradient(180deg, #0d2940, #0a1e31);
}

.game-grid {
  position: absolute;
  inset: 0;
  opacity: .15;
  background-image:
    linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 70%, transparent);
}

.game-device {
  position: relative;
  width: 205px;
  height: 315px;
  border: 6px solid #0a141e;
  border-radius: 34px;
  background: #0b1a28;
  box-shadow:
    0 28px 60px rgba(0,0,0,.40),
    0 0 0 1px rgba(255,255,255,.16),
    inset 0 0 0 1px rgba(255,255,255,.05);
  overflow: hidden;
  transform: rotate(-6deg);
  transition: transform .35s ease;
}

.service-card:hover .game-device { transform: rotate(-2deg) translateY(-8px); }

.device-notch {
  position: absolute;
  z-index: 3;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 75px;
  height: 18px;
  border-radius: 0 0 12px 12px;
  background: #08111b;
}

.device-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #173d58 0%, #28667a 51%, #d8f2f4 52%, #b5dce2 100%);
}

.tiny-moon {
  position: absolute;
  width: 36px;
  height: 36px;
  right: 27px;
  top: 56px;
  border-radius: 50%;
  background: #f4d988;
  box-shadow: 0 0 28px rgba(244,217,136,.22);
}

.tiny-hills {
  position: absolute;
  left: -15%;
  right: -15%;
  bottom: 45px;
  height: 140px;
  background:
    radial-gradient(ellipse at 22% 100%, #e4f6f7 0 30%, transparent 31%),
    radial-gradient(ellipse at 66% 100%, #c1e3e7 0 43%, transparent 44%),
    radial-gradient(ellipse at 98% 100%, #effbfc 0 35%, transparent 36%);
}

.tiny-character {
  position: absolute;
  z-index: 4;
  left: 42%;
  bottom: 78px;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  color: #07111f;
  background: #ed6870;
  box-shadow: 0 10px 20px rgba(71, 16, 27, .25);
  animation: tinyJump 2.7s ease-in-out infinite;
}

@keyframes tinyJump {
  0%,100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-17px) rotate(3deg); }
}

.pixel {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: rgba(157,220,233,.6);
  box-shadow: 0 0 18px rgba(157,220,233,.22);
  animation: pixelFloat 4s ease-in-out infinite;
}

.p1 { left: 15%; top: 25%; }
.p2 { right: 13%; top: 40%; width: 7px; height: 7px; animation-delay: -1.8s; }
.p3 { left: 22%; bottom: 16%; width: 6px; height: 6px; animation-delay: -3s; }

@keyframes pixelFloat {
  0%,100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-18px) rotate(45deg); }
}

.marketing-visual {
  background:
    radial-gradient(circle at 20% 25%, rgba(239,84,92,.20), transparent 27%),
    radial-gradient(circle at 85% 80%, rgba(239,202,121,.14), transparent 33%),
    linear-gradient(145deg, #24172a, #101d2e 48%, #0b1c2d);
}

.marketing-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .65;
}

.orb-a {
  width: 170px;
  height: 170px;
  left: -35px;
  top: -20px;
  background: radial-gradient(circle at 35% 30%, #ff8d91, #712b4d 65%, transparent 66%);
}

.orb-b {
  width: 135px;
  height: 135px;
  right: -20px;
  bottom: -15px;
  background: radial-gradient(circle at 35% 30%, #f5d996, #76613a 60%, transparent 61%);
}

.content-tile {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 180px;
  height: 205px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0,0,0,.30);
  backdrop-filter: blur(14px);
  transition: transform .35s ease;
}

.content-tile span {
  color: rgba(255,255,255,.56);
  font-size: 9px;
  letter-spacing: .15em;
}

.content-tile strong {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: -.04em;
  font-size: 28px;
}

.content-tile-a {
  left: 10%;
  top: 20%;
  background: linear-gradient(160deg, rgba(239,84,92,.75), rgba(117,43,78,.50));
  transform: rotate(-11deg);
}

.content-tile-b {
  left: 37%;
  top: 9%;
  z-index: 2;
  background: linear-gradient(160deg, rgba(71,116,142,.75), rgba(20,42,61,.73));
  transform: rotate(3deg);
}

.content-tile-c {
  right: 7%;
  top: 31%;
  z-index: 3;
  background: linear-gradient(160deg, rgba(235,203,125,.70), rgba(80,67,45,.58));
  transform: rotate(12deg);
}

.service-card:hover .content-tile-a { transform: rotate(-15deg) translate(-8px,-6px); }
.service-card:hover .content-tile-b { transform: rotate(0deg) translateY(-10px); }
.service-card:hover .content-tile-c { transform: rotate(16deg) translate(7px,-4px); }

.service-content {
  padding: 0 28px 30px;
}

.service-content h3 {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 28px;
  letter-spacing: -.035em;
}

.service-content p {
  margin: 12px 0 18px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.studio {
  padding: 65px 0 120px;
}

.studio-panel {
  position: relative;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 90px;
  padding: 70px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 4% 100%, rgba(239,84,92,.10), transparent 24%),
    radial-gradient(circle at 88% 0%, rgba(157,220,233,.12), transparent 28%),
    rgba(255,255,255,.025);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.studio-panel::before {
  content: "✦";
  position: absolute;
  right: -30px;
  top: -80px;
  color: rgba(255,255,255,.025);
  font-size: 350px;
  line-height: 1;
  transform: rotate(12deg);
}

.studio-copy h2 {
  margin-top: 16px;
  font-size: clamp(41px, 4.7vw, 64px);
  line-height: 1.02;
}

.studio-copy h2 span {
  color: var(--ice);
}

.studio-copy p {
  max-width: 440px;
  margin: 25px 0 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
}

.principles {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
}

.principle {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.principle-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  color: #ceeef3;
  font-size: 19px;
}

.principle span {
  display: block;
  margin-bottom: 5px;
  color: #6f8797;
  font-size: 9px;
  letter-spacing: .14em;
}

.principle h3 {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 19px;
  letter-spacing: -.02em;
}

.principle p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.marquee-wrap {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.018);
}

.marquee {
  overflow: hidden;
  padding: 24px 0;
}

.marquee-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 28px;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  color: #7f96a5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .13em;
}

.marquee-track i {
  color: var(--berry);
  font-style: normal;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.contact {
  padding: 120px 0 50px;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 70px 30px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 40px;
  background:
    radial-gradient(circle at 50% 15%, rgba(111, 195, 213, .16), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  box-shadow: var(--shadow);
}

.contact-panel::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.045);
  border-radius: 30px;
  pointer-events: none;
}

.contact-glow {
  position: absolute;
  width: 450px;
  height: 450px;
  left: 50%;
  top: -260px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #66c4d7;
  filter: blur(80px);
  opacity: .10;
}

.contact-mark {
  width: 54px;
  margin-bottom: 25px;
  filter: drop-shadow(0 10px 30px rgba(157,220,233,.20));
}

.contact-kicker {
  color: #8299a8;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 10px;
  font-weight: 700;
}

.contact h2 {
  margin-top: 15px;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 1.06;
  overflow: visible;
  padding-bottom: .08em;
}

.contact h2 span {
  display: inline-block;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(90deg, #dff8fb, #8ed3e2 50%, #f2c97a);
  background-clip: text;
  -webkit-background-clip: text;
  line-height: 1.08;
  padding: 0 .10em .14em .02em;
  margin: 0 -.10em -.14em -.02em;
  overflow: visible;
}

.contact-panel > p {
  max-width: 570px;
  margin: 22px auto 30px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-email {
  position: relative;
  z-index: 2;
  min-width: min(100%, 520px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 16px 15px 20px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(14px);
  font-size: 14px;
  transition: transform .25s ease, background .25s ease;
}

.contact-email:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.075);
}

.contact-arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: #07111f;
  background: linear-gradient(135deg, #e9fbfd, #9edce9);
  font-size: 16px;
}

.contact-meta {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #708797;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.contact-meta i { color: var(--berry); font-style: normal; }

.site-footer {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid rgba(255,255,255,.07);
  color: #728898;
  font-size: 11px;
}

.footer-brand img {
  width: 29px;
  height: 29px;
}

.footer-brand span {
  color: #a9bbc7;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-right a:hover { color: #d7e8ef; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}

.reveal-delay { transition-delay: .15s; }

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


@media (max-width: 1280px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 52px;
  }

  .hero-copy {
    padding-left: 0;
    max-width: 790px;
  }

  .hero-art {
    justify-self: center;
    width: min(100%, 620px);
    min-height: 540px;
  }
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 52px;
  }

  .hero-copy {
    max-width: 790px;
  }

  .hero-art {
    min-height: 590px;
  }

  .studio-card {
    transform: none;
  }

  .section-heading,
  .studio-panel {
    grid-template-columns: 1fr;
  }

  .studio-panel { gap: 55px; }

  .section-heading > p {
    justify-self: start;
  }
}

@media (max-width: 820px) {
  .section-shell,
  .site-header {
    width: min(calc(100% - 32px), var(--max));
  }

  .site-header { height: 82px; }

  .nav { display: none; }

  .hero {
    min-height: auto;
    gap: 25px;
    padding: 55px 0 95px;
  }

  .hero h1 { font-size: clamp(52px, 14vw, 78px); }

  .hero-art {
    min-height: 520px;
    transform: scale(.94);
    margin-inline: -12px;
  }

  .scroll-note { display: none; }

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

  .studio-panel {
    padding: 48px 28px;
  }

  .contact {
    padding-top: 90px;
  }

  .contact-panel {
    border-radius: 30px;
  }
}

@media (max-width: 590px) {
  .section-shell,
  .site-header {
    width: min(calc(100% - 24px), var(--max));
  }

  .brand-copy span { display: none; }
  .brand-copy strong { font-size: 16px; }
  .brand-mark { width: 35px; height: 35px; }

  .header-cta {
    padding: 10px 12px;
    font-size: 11px;
  }

  .hero {
    padding-top: 38px;
  }

  .hero h1 { font-size: clamp(47px, 15vw, 68px); }

  .hero-lede { font-size: 16px; }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button { width: 100%; }

  .hero-art {
    min-height: 430px;
    transform: none;
    margin-inline: 0;
  }

  .studio-card { border-radius: 22px; }

  .scene { height: 285px; }
  .window-bar { height: 48px; }
  .scene-console { left: 16px; bottom: 16px; }
  .moon { width: 50px; height: 50px; right: 44px; top: 38px; }
  .moon::after { width: 52px; height: 52px; }
  .floating-card { display: none; }
  .orbit-one { width: 390px; height: 390px; }
  .orbit-two { width: 315px; height: 315px; }

  .mini-stat {
    padding: 13px 7px;
    justify-content: center;
    font-size: 8px;
  }

  .services { padding-top: 85px; }

  .section-heading {
    gap: 25px;
  }

  .section-heading h2 {
    font-size: 42px;
  }

  .service-card { min-height: 630px; }
  .service-visual { min-height: 335px; margin: 13px; }
  .content-tile { width: 145px; height: 175px; }
  .content-tile-a { left: 3%; }
  .content-tile-b { left: 31%; }
  .content-tile-c { right: 1%; }
  .content-tile strong { font-size: 22px; }

  .studio { padding-bottom: 90px; }
  .studio-panel { padding: 42px 22px; }
  .studio-copy h2 { font-size: 44px; }

  .principle {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-panel {
    min-height: 520px;
    padding: 60px 18px;
  }

  .contact h2 {
    font-size: 48px;
  }

  .contact-email {
    min-width: 0;
    width: 100%;
    font-size: 12px;
  }

  .site-footer {
    padding: 30px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-right {
    justify-content: flex-start;
    gap: 15px;
  }
}

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

  #snowCanvas { display: none; }
}


/* Company / organization identity section */
.company {
  padding: 30px 0 120px;
  scroll-margin-top: 24px;
}

.company-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 90% 5%, rgba(157,220,233,.12), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  box-shadow: var(--shadow);
  padding: 64px;
}

.company-panel::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -130px;
  top: -130px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 50%;
  box-shadow:
    0 0 0 35px rgba(255,255,255,.012),
    0 0 0 70px rgba(255,255,255,.008);
}

.company-intro {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.company-intro h2 {
  margin: 15px 0 0;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1;
  letter-spacing: -.055em;
  font-weight: 700;
}

.company-intro p {
  margin: 22px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.company-details {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 42px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.company-detail {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.018);
}

.detail-label {
  color: #6f8797;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 9px;
  font-weight: 700;
}

.company-detail strong,
.company-detail a {
  color: #e5f2f6;
  font-size: 14px;
  line-height: 1.45;
}

.company-detail a {
  color: var(--ice);
}

.company-detail a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.company-services {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.company-services > div {
  min-height: 205px;
  padding: 25px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: rgba(255,255,255,.024);
}

.company-services span {
  display: block;
  color: var(--berry);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
}

.company-services h3 {
  margin: 30px 0 8px;
  font-size: 18px;
  letter-spacing: -.025em;
}

.company-services p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

#services,
#studio,
#company,
#contact {
  scroll-margin-top: 24px;
}

@media (max-width: 820px) {
  .company-panel {
    padding: 45px 28px;
  }

  .company-services {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 590px) {
  .company {
    padding-bottom: 90px;
  }

  .company-panel {
    padding: 40px 20px;
  }

  .company-details {
    grid-template-columns: 1fr;
  }

  .company-intro h2 {
    font-size: 44px;
  }
}




/* v3 — Safari text + floating label hardening */
.hero h1,
.hero h1 * {
  overflow: visible;
}

.floating-card-one,
.floating-card-two {
  min-width: 235px;
  max-width: none;
  overflow: visible !important;
}

.floating-card > div:last-child {
  min-width: 0;
  flex: 1 1 auto;
  overflow: visible;
}

.floating-card small,
.floating-card strong {
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}

.floating-card-two .sparkline {
  flex: 0 0 44px;
}

/* Keep the labels floating above the card on normal desktop widths. */
@media (min-width: 821px) {
  .floating-card {
    display: flex;
  }
}
