:root {
  --bg: #030713;
  --bg-2: #071126;
  --surface: rgba(10, 18, 40, .72);
  --surface-strong: rgba(8, 14, 33, .96);
  --surface-soft: rgba(255, 255, 255, .045);
  --text: #f7f8fc;
  --muted: #9aa7bd;
  --muted-strong: #cbd3e1;
  --line: rgba(255, 255, 255, .11);
  --line-strong: rgba(255, 255, 255, .2);
  --gold: #eac266;
  --gold-light: #ffe7a5;
  --gold-rgb: 234, 194, 102;
  --accent: #62dff7;
  --accent-2: #7c6fff;
  --accent-rgb: 98, 223, 247;
  --accent-2-rgb: 124, 111, 255;
  --danger: #ff8d96;
  --success: #8ee8c7;
  --header-h: 84px;
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 38px;
  --max-width: 1440px;
  --shadow: 0 30px 90px rgba(0, 0, 0, .43);
  --ease: cubic-bezier(.2, .75, .25, 1);
}

html[data-theme="aurora"] {
  --bg: #031018;
  --bg-2: #062532;
  --surface: rgba(6, 29, 37, .74);
  --surface-strong: rgba(4, 25, 34, .96);
  --gold: #c9eba6;
  --gold-light: #edffd8;
  --gold-rgb: 201, 235, 166;
  --accent: #69e3d2;
  --accent-2: #6aa9ff;
  --accent-rgb: 105, 227, 210;
  --accent-2-rgb: 106, 169, 255;
}

html[data-theme="solar"] {
  --bg: #110705;
  --bg-2: #28120b;
  --surface: rgba(38, 18, 12, .76);
  --surface-strong: rgba(31, 14, 10, .96);
  --gold: #ffc66d;
  --gold-light: #ffe5ad;
  --gold-rgb: 255, 198, 109;
  --accent: #ff8e70;
  --accent-2: #d86aff;
  --accent-rgb: 255, 142, 112;
  --accent-2-rgb: 216, 106, 255;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); max-width: 100%; overflow-x: clip; }
body {
  margin: 0;
  min-width: 320px;
  max-width: 100%;
  overflow-x: clip;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
svg { display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
[hidden] { display: none !important; }
::selection { color: #050816; background: var(--gold-light); }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: fixed;
  z-index: 3000;
  top: 12px;
  left: 14px;
  padding: .78rem 1rem;
  transform: translateY(-170%);
  border-radius: 12px;
  color: #050816;
  background: var(--gold-light);
  font-weight: 850;
  text-decoration: none;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.section-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

/* Ambient universe */
.ambient-canvas,
.cosmic-backdrop,
.cosmic-noise,
.pointer-glow {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.ambient-canvas { z-index: -5; opacity: .88; }
.cosmic-backdrop {
  z-index: -8;
  background:
    radial-gradient(circle at 12% 18%, rgba(var(--accent-rgb), .14), transparent 30%),
    radial-gradient(circle at 84% 17%, rgba(var(--gold-rgb), .1), transparent 25%),
    radial-gradient(circle at 74% 76%, rgba(var(--accent-2-rgb), .09), transparent 32%),
    linear-gradient(180deg, var(--bg), var(--bg-2) 52%, var(--bg));
  transition: background .5s ease;
}
.cosmic-noise {
  z-index: -4;
  opacity: .065;
  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='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.pointer-glow {
  z-index: 0;
  width: 420px;
  height: 420px;
  left: -210px;
  top: -210px;
  border-radius: 50%;
  opacity: .62;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .13), transparent 69%);
  transform: translate3d(var(--pointer-x, 50vw), var(--pointer-y, 40vh), 0);
  transition: opacity .25s ease;
  will-change: transform;
}
.shooting-star {
  position: fixed;
  z-index: 1;
  top: var(--star-y, 24vh);
  left: -18vw;
  width: clamp(90px, 12vw, 190px);
  height: 1px;
  border-radius: 99px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.96));
  filter: drop-shadow(0 0 8px rgba(var(--accent-rgb), .85));
  transform: rotate(-25deg);
  animation: shooting-star var(--star-speed, 1.4s) var(--ease) forwards;
}
.shooting-star::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 13px 4px rgba(var(--accent-rgb), .62);
}
@keyframes shooting-star {
  0% { opacity: 0; transform: translate3d(-8vw, 0, 0) rotate(-25deg); }
  12% { opacity: .9; }
  100% { opacity: 0; transform: translate3d(140vw, 0, 0) rotate(-25deg); }
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: transform .35s var(--ease), background .3s ease, border-color .3s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(3, 7, 19, .82);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
}
html[data-theme="aurora"] .site-header.is-scrolled { background: rgba(3, 16, 24, .84); }
html[data-theme="solar"] .site-header.is-scrolled { background: rgba(17, 7, 5, .84); }
.site-header.is-hidden { transform: translateY(-110%); }
.header-inner {
  width: min(calc(100% - 48px), var(--max-width));
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand picture { width: 124px; height: 62px; display: grid; place-items: center; }
.brand img { width: 124px; height: 62px; object-fit: contain; }
.desktop-nav { justify-self: center; display: flex; align-items: center; gap: clamp(18px, 2.3vw, 38px); }
.desktop-nav a {
  position: relative;
  padding: 10px 0;
  color: var(--muted-strong);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 1px;
  background: var(--gold);
  transition: right .3s var(--ease);
}
.desktop-nav a:hover { color: var(--text); }
.desktop-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.language-switch {
  display: flex;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
}
.language-switch a,
.language-switch span {
  min-width: 34px;
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 900;
  text-decoration: none;
}
.language-switch span { color: #070914; background: var(--gold); }
.language-switch a { color: var(--muted); }
.language-switch a:hover { color: var(--text); }
.icon-button {
  width: 43px;
  height: 43px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: rgba(255,255,255,.035);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}
.icon-button svg { width: 20px; height: 20px; }
.icon-button:hover { transform: translateY(-2px); color: var(--accent); border-color: rgba(var(--accent-rgb), .5); background: rgba(var(--accent-rgb), .08); }
.header-cta,
.button {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.header-cta { min-height: 44px; padding-inline: 18px; color: #070914; background: linear-gradient(120deg, var(--gold-light), var(--gold)); }
.header-cta svg,
.button svg { width: 18px; height: 18px; }
.header-cta:hover,
.button--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(var(--gold-rgb), .22); }
.button--primary { color: #070914; background: linear-gradient(120deg, var(--gold-light), var(--gold)); }
.button--ghost { color: var(--text); border-color: var(--line-strong); background: rgba(255,255,255,.025); }
.button--ghost:hover { transform: translateY(-2px); border-color: rgba(var(--accent-rgb), .52); background: rgba(var(--accent-rgb), .075); }
.mobile-menu-button { display: none; }

.mobile-menu { position: fixed; inset: 0; z-index: 1300; }
.mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(7px); }
.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(88vw, 430px);
  height: 100%;
  padding: 100px 30px 42px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: -30px 0 90px rgba(0,0,0,.5);
  animation: panel-in .35s var(--ease);
}
.mobile-menu__panel > a {
  padding: 17px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 1.12rem;
  font-weight: 850;
  text-decoration: none;
}
.mobile-menu__panel > a:hover { color: var(--gold); }
.mobile-menu__close { position: absolute; top: 24px; right: 24px; }
.mobile-menu__lang { margin-top: 24px; display: flex; gap: 10px; }
.mobile-menu__lang > * { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; text-decoration: none; }
.mobile-menu__lang span { color: #070914; background: var(--gold); border-color: transparent; font-weight: 850; }
@keyframes panel-in { from { transform: translateX(100%); } to { transform: translateX(0); } }

main { position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: .7rem;
  font-weight: 950;
  letter-spacing: .18em;
  line-height: 1.45;
  text-transform: uppercase;
}
.eyebrow > span { width: 34px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }

/* Hero */
.hero {
  min-height: 100svh;
  padding-top: calc(var(--header-h) + clamp(44px, 7vh, 82px));
  padding-bottom: clamp(72px, 9vh, 112px);
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(470px, .97fr);
  align-items: center;
  gap: clamp(45px, 7vw, 108px);
}
.hero-copy { position: relative; z-index: 5; max-width: 820px; }
.hero h1,
.section-heading h2,
.route-intro h2,
.promise-card h2,
.contact-copy h2,
.faq-heading h2 {
  margin: 0;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-weight: 950;
  letter-spacing: -.055em;
  line-height: .94;
  text-wrap: balance;
}
.hero h1 { max-width: 850px; font-size: clamp(3.7rem, 6.15vw, 7.25rem); }
.hero h1 span { display: block; }
.hero h1 em { display: block; color: var(--gold); font-style: normal; }
.hero-lead { max-width: 700px; margin: 28px 0 0; color: var(--muted-strong); font-size: clamp(1.02rem, 1.35vw, 1.25rem); }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 13px; }
.hero-signals { margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; list-style: none; }
.hero-signals li {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.022);
  font-size: .75rem;
  font-weight: 720;
}
.hero-signals li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(var(--accent-rgb), .85); }
.hero-visual { position: relative; min-height: 680px; perspective: 1200px; }
.hero-visual::before {
  content: "";
  position: absolute;
  top: 25px;
  right: -90px;
  width: 525px;
  height: 525px;
  border: 1px solid rgba(var(--accent-rgb), .16);
  border-radius: 50%;
  box-shadow: 0 0 110px rgba(var(--accent-rgb), .055);
}
.studio-frame {
  position: absolute;
  z-index: 1;
  top: 6px;
  right: 0;
  width: min(79%, 478px);
  height: 655px;
  overflow: hidden;
  border: 1px solid rgba(var(--gold-rgb), .42);
  border-radius: 40px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform .35s var(--ease);
}
.studio-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,5,15,.02) 15%, rgba(2,5,15,.15) 53%, rgba(2,5,15,.94)); pointer-events: none; }
.studio-frame picture,
.studio-frame img { width: 100%; height: 100%; }
.studio-frame img { object-fit: cover; object-position: 52% 50%; }
.studio-frame__grid {
  position: absolute;
  z-index: 2;
  inset: 0;
  opacity: .2;
  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: 58px 58px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}
.studio-frame__badge {
  position: absolute;
  z-index: 4;
  top: 22px;
  right: 22px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(4,7,20,.66);
  backdrop-filter: blur(15px);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .07em;
}
.studio-frame__badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 14px rgba(142,232,199,.85); animation: status-pulse 2s ease-in-out infinite; }
@keyframes status-pulse { 50% { opacity: .45; transform: scale(.72); } }
.studio-frame__caption { position: absolute; z-index: 4; left: 26px; right: 26px; bottom: 25px; padding-top: 18px; border-top: 1px solid var(--line); }
.studio-frame__caption strong { display: block; font-size: 1.03rem; }
.studio-frame__caption span { display: block; margin-top: 5px; color: var(--muted); font-size: .79rem; }

.service-orbit {
  position: absolute;
  z-index: 6;
  left: -30px;
  top: 184px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: drop-shadow(0 24px 50px rgba(0,0,0,.35));
}
.orbit-ring { position: absolute; inset: 20px; border: 1px solid rgba(var(--accent-rgb), .23); border-radius: 50%; }
.orbit-ring--two { inset: 54px; border-color: rgba(var(--gold-rgb), .28); }
.orbit-ring::before,
.orbit-ring::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px rgba(var(--accent-rgb), .9); }
.orbit-ring::before { left: 7%; top: 28%; }
.orbit-ring::after { right: 4%; bottom: 30%; background: var(--gold); box-shadow: 0 0 14px rgba(var(--gold-rgb), .9); }
.orbit-ring--one { animation: orbit-spin 20s linear infinite; }
.orbit-ring--two { animation: orbit-spin 16s linear infinite reverse; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.orbit-core {
  position: absolute;
  z-index: 3;
  inset: 101px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--gold-rgb), .38);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(var(--gold-rgb), .18), transparent 42%), rgba(7,11,27,.91);
  box-shadow: 0 0 70px rgba(var(--accent-rgb), .13), inset 0 0 35px rgba(255,255,255,.04);
  backdrop-filter: blur(18px);
}
.orbit-core img { width: 74px; height: auto; }
.orbit-status {
  position: absolute;
  z-index: 7;
  left: 50%;
  top: calc(100% + 28px);
  width: 260px;
  padding: 9px 13px;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(6,10,24,.78);
  backdrop-filter: blur(14px);
  text-align: center;
  white-space: nowrap;
}
.orbit-status span { margin-right: 8px; color: var(--gold); font-size: .56rem; font-weight: 950; letter-spacing: .14em; }
.orbit-status strong { color: var(--text); font-size: .66rem; }
.orbit-node {
  position: absolute;
  z-index: 5;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 19px;
  color: var(--text);
  background: rgba(7,11,27,.85);
  box-shadow: 0 16px 30px rgba(0,0,0,.24);
  backdrop-filter: blur(15px);
  text-decoration: none;
  transition: transform .25s var(--ease), color .2s ease, border-color .2s ease, background .2s ease;
}
.orbit-node svg { width: 22px; height: 22px; }
.orbit-node span {
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  padding: 2px 5px;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: .55rem;
  font-weight: 850;
  white-space: nowrap;
}
.orbit-node:hover,
.orbit-node:focus-visible { transform: translateY(-4px) scale(1.06); color: var(--accent); border-color: rgba(var(--accent-rgb), .58); background: rgba(var(--accent-rgb), .12); }
.orbit-node--1 { left: 139px; top: -2px; }
.orbit-node--2 { right: 16px; top: 43px; }
.orbit-node--3 { right: -2px; top: 138px; }
.orbit-node--4 { right: 36px; bottom: 27px; }
.orbit-node--5 { left: 139px; bottom: -2px; }
.orbit-node--6 { left: 31px; bottom: 27px; }
.orbit-node--7 { left: -4px; top: 138px; }
.orbit-node--8 { left: 15px; top: 43px; }

/* Services ticker */
.capability-marquee { position: relative; z-index: 2; overflow: hidden; border-block: 1px solid var(--line); background: rgba(255,255,255,.018); }
.capability-marquee__track { width: max-content; min-height: 62px; display: flex; align-items: center; gap: 24px; color: var(--muted-strong); animation: marquee 36s linear infinite; }
.capability-marquee__track span { font-size: .7rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.capability-marquee__track i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(var(--gold-rgb), .8); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Shared section headings */
.services,
.route,
.promise,
.process,
.faq,
.contact { padding-block: clamp(96px, 10.5vw, 158px); }
.section-heading {
  margin-bottom: 50px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 470px);
  align-items: end;
  gap: 50px;
}
.section-heading h2,
.route-intro h2,
.contact-copy h2,
.faq-heading h2 { font-size: clamp(3rem, 5vw, 6rem); }
.section-heading > p { margin: 0 0 7px; color: var(--muted); font-size: 1.01rem; }

/* Eight-service visual atlas */
.service-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.service-tile {
  --tile-accent: var(--accent);
  position: relative;
  min-height: 390px;
  padding: 27px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background:
    radial-gradient(circle at var(--mx, 82%) var(--my, 15%), rgba(var(--accent-rgb), .14), transparent 34%),
    linear-gradient(150deg, rgba(255,255,255,.058), rgba(255,255,255,.014));
  box-shadow: 0 24px 60px rgba(0,0,0,.19);
  text-decoration: none;
  transform-style: preserve-3d;
  transition: transform .28s var(--ease), border-color .25s ease, box-shadow .25s ease;
}
.service-tile::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(125deg, transparent 10%, rgba(var(--accent-rgb), .55), transparent 55%, rgba(var(--gold-rgb), .4));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .25s ease;
}
.service-tile::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -110px;
  bottom: -130px;
  border: 1px solid rgba(var(--accent-rgb), .15);
  border-radius: 50%;
  box-shadow: 0 0 65px rgba(var(--accent-rgb), .05);
}
.service-tile:hover { transform: translateY(-7px); border-color: rgba(var(--accent-rgb), .4); box-shadow: 0 32px 90px rgba(0,0,0,.32), 0 0 55px rgba(var(--accent-rgb), .055); }
.service-tile:hover::before { opacity: 1; }
.service-tile--graphic,
.service-tile--web { grid-column: span 6; min-height: 430px; }
.service-tile--app,
.service-tile--marketing,
.service-tile--print { grid-column: span 4; }
.service-tile--video { grid-column: span 6; min-height: 420px; }
.service-tile--photo,
.service-tile--edit { grid-column: span 3; min-height: 420px; }
.service-tile--graphic { background-color: rgba(30, 20, 49, .32); }
.service-tile--web { background-color: rgba(7, 29, 51, .34); }
.service-tile--app { background-color: rgba(9, 38, 46, .3); }
.service-tile--marketing { background-color: rgba(35, 25, 48, .3); }
.service-tile--print { background-color: rgba(48, 28, 16, .27); }
.service-tile--video { background-color: rgba(8, 26, 49, .3); }
.service-tile--photo { background-color: rgba(39, 25, 23, .28); }
.service-tile--edit { background-color: rgba(22, 24, 47, .3); }
.service-tile__head { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; }
.service-tile__head > span { color: var(--muted); font-size: .68rem; font-weight: 950; letter-spacing: .17em; }
.service-tile__head > svg {
  width: 48px;
  height: 48px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--gold);
  background: rgba(var(--gold-rgb), .07);
  transition: transform .25s var(--ease), color .25s ease, background .25s ease;
}
.service-tile:hover .service-tile__head > svg { transform: rotate(-5deg) scale(1.06); color: var(--accent); background: rgba(var(--accent-rgb), .1); }
.service-tile__copy { position: relative; z-index: 3; max-width: 75%; margin-top: auto; }
.service-tile--app .service-tile__copy,
.service-tile--marketing .service-tile__copy,
.service-tile--print .service-tile__copy,
.service-tile--photo .service-tile__copy,
.service-tile--edit .service-tile__copy { max-width: 100%; }
.service-tile h3 { margin: 54px 0 13px; font-size: clamp(1.55rem, 2.2vw, 2.55rem); line-height: 1; letter-spacing: -.045em; }
.service-tile--photo h3,
.service-tile--edit h3 { font-size: clamp(1.45rem, 1.8vw, 2rem); }
.service-tile__copy > p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.65; }
.service-tile__copy ul { margin: 20px 0 0; padding: 0; display: grid; gap: 7px; color: var(--muted-strong); font-size: .77rem; list-style: none; }
.service-tile__copy li { display: flex; align-items: center; gap: 8px; }
.service-tile__copy li svg { width: 14px; height: 14px; flex: 0 0 auto; color: var(--accent); }
.service-tile__cta { position: relative; z-index: 3; margin-top: 24px; padding-top: 17px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted-strong); font-size: .78rem; font-weight: 900; }
.service-tile__cta svg { width: 17px; height: 17px; transition: transform .22s ease; }
.service-tile:hover .service-tile__cta { color: var(--gold); }
.service-tile:hover .service-tile__cta svg { transform: translateX(5px); }
.service-art { position: absolute; z-index: 1; right: 20px; top: 72px; width: 36%; height: 42%; opacity: .8; pointer-events: none; transition: transform .35s var(--ease), opacity .3s ease; }
.service-tile:hover .service-art { transform: translateY(-5px) scale(1.035); opacity: 1; }
.service-tile--app .service-art,
.service-tile--marketing .service-art,
.service-tile--print .service-art,
.service-tile--photo .service-art,
.service-tile--edit .service-art { right: 16px; top: 72px; width: 44%; height: 31%; opacity: .64; }

/* CSS illustrations */
.art-graphic { display: grid; place-items: center; }
.art-graphic span { position: absolute; width: 72%; height: 72%; border: 1px solid rgba(var(--accent-rgb), .5); border-radius: 22px; transform: rotate(9deg); }
.art-graphic span:nth-child(2) { width: 58%; height: 58%; transform: rotate(-15deg); border-color: rgba(var(--gold-rgb), .58); }
.art-graphic span:nth-child(3) { width: 34%; height: 34%; border-radius: 50%; transform: none; background: radial-gradient(circle, rgba(var(--gold-rgb),.22), transparent 67%); }
.art-graphic span:nth-child(4) { width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--accent); box-shadow: 44px -34px 0 var(--gold), -48px 30px 0 rgba(255,255,255,.6); transform: none; }
.art-graphic i { width: 1px; height: 105%; background: linear-gradient(transparent, rgba(255,255,255,.28), transparent); transform: rotate(40deg); }
.art-web { display: grid; place-items: center; }
.art-web > div { position: relative; width: 94%; height: 72%; border: 1px solid rgba(var(--accent-rgb), .46); border-radius: 17px; background: rgba(6,12,29,.75); box-shadow: 0 18px 45px rgba(0,0,0,.25); }
.art-web > div::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: rgba(255,255,255,.12); }
.art-web i { position: absolute; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.art-web i:nth-child(1) { left: 11px; }
.art-web i:nth-child(2) { left: 21px; background: var(--gold); }
.art-web i:nth-child(3) { left: 31px; background: rgba(255,255,255,.5); }
.art-web span { position: absolute; left: 15px; height: 8px; border-radius: 5px; background: rgba(var(--accent-rgb), .2); }
.art-web span:nth-of-type(1) { top: 44px; width: 50%; }
.art-web span:nth-of-type(2) { top: 61px; width: 70%; background: rgba(var(--gold-rgb), .15); }
.art-web b { position: absolute; right: 15px; bottom: 15px; width: 38%; height: 42%; border: 1px solid rgba(var(--gold-rgb), .4); border-radius: 9px; }
.art-app { display: flex; justify-content: center; gap: 9px; }
.art-app > span { position: relative; width: 44%; height: 100%; border: 1px solid rgba(var(--accent-rgb), .42); border-radius: 18px; background: rgba(5,11,27,.72); }
.art-app > span:nth-child(2) { transform: translateY(16px); border-color: rgba(var(--gold-rgb), .42); }
.art-app i { position: absolute; left: 16%; right: 16%; top: 18%; height: 38%; border-radius: 10px; background: linear-gradient(135deg, rgba(var(--accent-rgb), .28), rgba(var(--accent-2-rgb), .12)); }
.art-app b { position: absolute; left: 28%; right: 28%; bottom: 12%; height: 4px; border-radius: 99px; background: rgba(255,255,255,.3); }
.art-marketing { display: flex; align-items: end; justify-content: space-around; padding: 15px 8px 4px; }
.art-marketing span { width: 12%; border-radius: 6px 6px 0 0; background: linear-gradient(var(--accent), rgba(var(--accent-rgb), .16)); }
.art-marketing span:nth-child(1) { height: 22%; }
.art-marketing span:nth-child(2) { height: 44%; }
.art-marketing span:nth-child(3) { height: 65%; background: linear-gradient(var(--gold), rgba(var(--gold-rgb), .16)); }
.art-marketing span:nth-child(4) { height: 88%; }
.art-marketing i { position: absolute; inset: 10% 7% 25%; border-top: 1px dashed rgba(255,255,255,.28); transform: rotate(-23deg); }
.art-print { display: grid; place-items: center; }
.art-print::before,
.art-print::after { content: ""; position: absolute; width: 72%; height: 72%; border: 1px solid rgba(var(--gold-rgb), .5); border-radius: 7px; background: rgba(255,255,255,.03); transform: rotate(-7deg); }
.art-print::after { width: 55%; height: 60%; border-color: rgba(var(--accent-rgb), .48); transform: rotate(10deg) translate(18px,-7px); }
.art-video { display: grid; place-items: center; }
.art-video::before { content: ""; width: 84%; height: 62%; border: 1px solid rgba(var(--accent-rgb), .5); border-radius: 20px; background: linear-gradient(140deg, rgba(var(--accent-rgb),.16), rgba(var(--accent-2-rgb),.1)); }
.art-video::after { content: ""; position: absolute; border-left: 32px solid var(--gold); border-top: 20px solid transparent; border-bottom: 20px solid transparent; filter: drop-shadow(0 0 16px rgba(var(--gold-rgb),.45)); }
.art-photo { display: grid; place-items: center; }
.art-photo::before { content: ""; width: 86%; height: 66%; border: 1px solid rgba(var(--gold-rgb), .48); border-radius: 18px; background: rgba(4,9,22,.62); }
.art-photo::after { content: ""; position: absolute; width: 38%; aspect-ratio: 1; border: 7px solid rgba(var(--accent-rgb),.48); border-radius: 50%; box-shadow: inset 0 0 20px rgba(var(--accent-rgb),.2); }
.art-edit { display: grid; place-items: center; }
.art-edit::before { content: ""; width: 90%; height: 48%; border-block: 1px solid rgba(var(--accent-rgb), .45); background: repeating-linear-gradient(90deg, rgba(var(--accent-rgb),.18) 0 8px, transparent 8px 14px); }
.art-edit::after { content: ""; position: absolute; left: 48%; top: 5%; width: 1px; height: 90%; background: var(--gold); box-shadow: 0 0 12px rgba(var(--gold-rgb),.72); }

/* Goal-first recommender */
.route { position: relative; }
.route::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 53%; width: min(86vw, 1120px); height: 420px; transform: translate(-50%,-50%); background: radial-gradient(ellipse, rgba(var(--accent-rgb), .08), transparent 70%); filter: blur(12px); }
.route-intro { max-width: 980px; }
.route-intro h2 { font-size: clamp(3.1rem, 5.7vw, 6.5rem); }
.route-intro > p:last-child { max-width: 720px; margin: 25px 0 0; color: var(--muted); font-size: 1.02rem; }
.route-tool {
  margin-top: 54px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255,255,255,.052), rgba(255,255,255,.013));
  box-shadow: var(--shadow);
}
.goal-buttons { padding: 7px; display: grid; align-content: start; gap: 8px; }
.goal-button {
  width: 100%;
  min-height: 72px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 17px;
  color: var(--muted-strong);
  background: transparent;
  text-align: left;
  font-size: .9rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform .22s ease, color .2s ease, border-color .2s ease, background .2s ease;
}
.goal-button svg { width: 17px; height: 17px; flex: 0 0 auto; opacity: .55; }
.goal-button:hover { color: var(--text); transform: translateX(4px); background: rgba(255,255,255,.035); }
.goal-button[aria-pressed="true"] { color: #070914; border-color: transparent; background: linear-gradient(120deg, var(--gold-light), var(--gold)); box-shadow: 0 12px 34px rgba(var(--gold-rgb), .17); }
.goal-button[aria-pressed="true"] svg { opacity: 1; }
.goal-results {
  min-height: 430px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), .22);
  border-radius: 26px;
  background:
    radial-gradient(circle at 84% 16%, rgba(var(--accent-rgb), .16), transparent 31%),
    radial-gradient(circle at 18% 85%, rgba(var(--gold-rgb), .1), transparent 34%),
    rgba(5,10,25,.66);
}
.goal-results::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 52px 52px; mask-image: radial-gradient(circle at 75% 30%, #000, transparent 78%); }
.goal-result { position: relative; z-index: 2; min-height: 430px; padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; animation: result-in .4s var(--ease); }
@keyframes result-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.goal-result > p:first-child { margin: 0 0 12px; color: var(--accent); font-size: .66rem; font-weight: 950; letter-spacing: .17em; }
.goal-result h3 { max-width: 720px; margin: 0; font-size: clamp(2.2rem, 4.3vw, 5rem); line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.goal-result__chips { margin-top: 23px; display: flex; flex-wrap: wrap; gap: 8px; }
.goal-result__chips span { padding: 7px 11px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted-strong); background: rgba(255,255,255,.035); font-size: .72rem; font-weight: 780; }
.goal-result__description { max-width: 650px; margin: 22px 0 28px; color: var(--muted); font-size: .94rem; }
.goal-result .button { align-self: flex-start; }

/* Honest promise */
.promise { padding-top: 20px; }
.promise-card {
  position: relative;
  min-height: 620px;
  padding: clamp(34px, 6vw, 86px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, .75fr);
  align-items: center;
  gap: clamp(50px, 7vw, 110px);
  overflow: hidden;
  border: 1px solid rgba(var(--gold-rgb), .28);
  border-radius: 44px;
  background:
    radial-gradient(circle at 10% 15%, rgba(var(--accent-rgb),.13), transparent 33%),
    radial-gradient(circle at 90% 86%, rgba(var(--gold-rgb),.1), transparent 36%),
    linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.014));
  box-shadow: var(--shadow);
}
.promise-card::before { content: ""; position: absolute; left: 58%; top: 50%; width: 520px; height: 520px; transform: translate(-50%,-50%); border: 1px solid rgba(var(--accent-rgb),.13); border-radius: 50%; box-shadow: 0 0 90px rgba(var(--accent-rgb),.05), inset 0 0 90px rgba(var(--gold-rgb),.025); }
.promise-card__copy { position: relative; z-index: 2; }
.promise-card h2 { max-width: 860px; font-size: clamp(3.2rem, 5.6vw, 6.5rem); }
.promise-card__copy > p:not(.eyebrow) { max-width: 680px; margin: 25px 0 0; color: var(--muted); font-size: 1.03rem; }
.text-link { margin-top: 30px; display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-size: .84rem; font-weight: 900; text-decoration: none; }
.text-link svg { width: 17px; height: 17px; transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(5px); }
.promise-card__points { position: relative; z-index: 2; display: grid; gap: 12px; }
.promise-card__points article { min-height: 128px; padding: 22px 23px; border: 1px solid var(--line); border-radius: 20px; background: rgba(4,9,22,.58); backdrop-filter: blur(14px); }
.promise-card__points article > span { color: var(--accent); font-size: .64rem; font-weight: 950; letter-spacing: .16em; }
.promise-card__points h3 { margin: 14px 0 5px; font-size: 1.06rem; }
.promise-card__points p { margin: 0; color: var(--muted); font-size: .83rem; }
.promise-star { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 18px 5px rgba(var(--accent-rgb),.45); }
.promise-star--one { left: 48%; top: 13%; }
.promise-star--two { right: 8%; bottom: 10%; width: 4px; height: 4px; box-shadow: 0 0 15px 4px rgba(var(--gold-rgb),.45); }

/* Process */
.process { position: relative; }
.process::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 52%; width: min(80vw, 1000px); height: 330px; transform: translate(-50%,-50%); background: radial-gradient(ellipse, rgba(var(--accent-rgb),.07), transparent 70%); filter: blur(20px); }
.process-grid { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; }
.process-step { position: relative; min-height: 242px; padding: 31px 28px 25px; border-block: 1px solid var(--line); }
.process-step + .process-step { border-left: 1px solid var(--line); }
.process-step::before { content: ""; position: absolute; top: -4px; left: 28px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 15px rgba(var(--gold-rgb),.8); }
.process-step > span { color: var(--gold); font-size: .66rem; font-weight: 950; letter-spacing: .17em; }
.process-step h3 { margin: 48px 0 11px; font-size: 1.2rem; }
.process-step p { margin: 0; color: var(--muted); font-size: .87rem; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(300px, .68fr) minmax(0, 1.32fr); gap: clamp(50px, 8vw, 120px); align-items: start; }
.faq-heading { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-heading h2 { font-size: clamp(3rem, 5.2vw, 5.8rem); }
.faq-heading > p:last-child { max-width: 430px; margin: 23px 0 0; color: var(--muted); }
.faq-list { display: grid; gap: 12px; }
.faq-item { overflow: hidden; border: 1px solid var(--line); border-radius: 21px; background: linear-gradient(155deg, rgba(255,255,255,.05), rgba(255,255,255,.014)); transition: border-color .25s ease, background .25s ease; }
.faq-item[open] { border-color: rgba(var(--accent-rgb), .42); background: rgba(var(--accent-rgb), .052); }
.faq-item summary { min-height: 91px; padding: 21px 23px; display: flex; align-items: center; justify-content: space-between; gap: 22px; list-style: none; cursor: pointer; font-weight: 850; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary > span { position: relative; width: 35px; height: 35px; flex: 0 0 auto; overflow: hidden; color: transparent; border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(255,255,255,.035); }
.faq-item summary > span::before,
.faq-item summary > span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: var(--accent); transform: translate(-50%,-50%); transition: transform .24s ease; }
.faq-item summary > span::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item[open] summary > span::after { transform: translate(-50%,-50%) rotate(0); }
.faq-item > p { margin: 0; padding: 0 23px 24px; color: var(--muted); line-height: 1.72; }

/* Contact */
.contact {
  display: grid;
  grid-template-columns: minmax(350px, .72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(48px, 8vw, 110px);
}
.contact-copy { position: sticky; top: calc(var(--header-h) + 42px); }
.contact-copy h2 { font-size: clamp(3.15rem, 5.35vw, 6rem); }
.contact-copy > p:not(.eyebrow) { max-width: 540px; margin: 24px 0 0; color: var(--muted); font-size: 1rem; }
.contact-direct { margin-top: 32px; display: grid; gap: 11px; }
.contact-direct a { width: fit-content; display: inline-flex; align-items: center; gap: 10px; color: var(--muted-strong); text-decoration: none; font-size: .86rem; }
.contact-direct a:hover { color: var(--gold); }
.contact-direct svg { width: 19px; height: 19px; }
.project-form { padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.015)); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.project-form > label,
.form-row label { display: grid; gap: 8px; margin-bottom: 15px; color: var(--muted-strong); font-size: .74rem; font-weight: 850; letter-spacing: .02em; }
.project-form input,
.project-form select,
.project-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--text);
  background: rgba(3,7,18,.58);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.project-form textarea { min-height: 124px; resize: vertical; }
.project-form input::placeholder,
.project-form textarea::placeholder { color: #758198; }
.project-form select { color-scheme: dark; }
.project-form input:focus,
.project-form select:focus,
.project-form textarea:focus { border-color: rgba(var(--accent-rgb), .57); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .09); }
.project-form [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(255,141,150,.08); }
.service-checks { margin: 6px 0 17px; padding: 0; border: 0; }
.service-checks legend { margin-bottom: 10px; color: var(--muted-strong); font-size: .74rem; font-weight: 850; }
.service-checks { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
.service-checks legend { grid-column: 1 / -1; }
.service-checks label { position: relative; min-width: 0; margin: 0; cursor: pointer; }
.service-checks input { position: absolute; inset: 0; width: 1px; height: 1px; opacity: 0; }
.service-checks span {
  min-height: 52px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--muted);
  background: rgba(255,255,255,.022);
  font-size: .73rem;
  font-weight: 780;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.service-checks span svg { width: 17px; height: 17px; flex: 0 0 auto; color: var(--gold); }
.service-checks label:hover span { color: var(--text); border-color: var(--line-strong); transform: translateY(-1px); }
.service-checks input:checked + span { color: var(--text); border-color: rgba(var(--accent-rgb), .5); background: rgba(var(--accent-rgb), .09); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .08); }
.service-checks input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.service-checks.is-invalid { padding: 8px; border: 1px solid var(--danger); border-radius: 16px; }
.form-error { min-height: 1.3em; margin: 0 0 12px; color: #ffb8bd; font-size: .79rem; }
.form-submit { width: 100%; }
.form-privacy { margin: 12px 0 0; color: var(--muted); text-align: center; font-size: .69rem; }

/* Footer */
.site-footer { position: relative; z-index: 2; border-top: 1px solid var(--line); background: rgba(1,3,10,.35); }
.footer-inner { min-height: 190px; padding-block: 42px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px 60px; }
.footer-brand { display: inline-flex; align-items: center; gap: 18px; text-decoration: none; }
.footer-brand picture { width: 120px; }
.footer-brand img { width: 120px; height: auto; }
.footer-brand span { max-width: 220px; color: var(--muted); font-size: .76rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 24px; }
.footer-inner nav a { color: var(--muted-strong); font-size: .76rem; font-weight: 780; text-decoration: none; }
.footer-inner nav a:hover { color: var(--gold); }
.footer-inner > p { grid-column: 1 / -1; margin: 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .7rem; }

/* Settings */
.settings-float {
  position: fixed;
  z-index: 980;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: 50px;
  height: 50px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--gold-rgb), .42);
  border-radius: 16px;
  color: var(--gold-light);
  background: rgba(9,14,32,.82);
  box-shadow: 0 14px 38px rgba(0,0,0,.36), 0 0 24px rgba(var(--gold-rgb),.08);
  backdrop-filter: blur(16px);
  cursor: pointer;
  transition: transform .22s ease, background .22s ease;
}
.settings-float:hover { transform: translateY(-3px) rotate(7deg); background: rgba(var(--gold-rgb),.13); }
.settings-float svg { width: 22px; height: 22px; }
.settings-dialog {
  width: min(92vw, 455px);
  max-height: min(88dvh, 760px);
  margin: auto 22px auto auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  color: var(--text);
  background: var(--surface-strong);
  box-shadow: -30px 30px 100px rgba(0,0,0,.55);
  animation: dialog-in .32s var(--ease);
}
.settings-dialog::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(7px); }
@keyframes dialog-in { from { opacity: 0; transform: translateX(34px) scale(.97); } to { opacity: 1; transform: none; } }
.settings-dialog__head { position: sticky; z-index: 2; top: 0; padding: 25px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); background: rgba(8,14,33,.94); backdrop-filter: blur(18px); }
.settings-dialog__head > div > span { color: var(--gold); font-size: .62rem; font-weight: 950; letter-spacing: .17em; }
.settings-dialog__head h2 { margin: 4px 0 0; font-size: 1.25rem; }
.settings-section { padding: 23px 25px; border-bottom: 1px solid var(--line); }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.settings-label { display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 10px; }
.settings-label svg { width: 20px; height: 20px; color: var(--gold); }
.settings-label > span { color: var(--muted-strong); font-size: .78rem; font-weight: 820; }
.settings-label strong { grid-column: 2; color: var(--muted); font-size: .68rem; font-weight: 650; }
.settings-languages { margin-top: 14px; display: flex; gap: 9px; }
.settings-languages > * { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted-strong); font-size: .76rem; text-decoration: none; }
.settings-languages span { color: #070914; border-color: transparent; background: var(--gold); font-weight: 850; }
.toggle { width: 49px; height: 29px; padding: 3px; flex: 0 0 auto; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255,255,255,.05); cursor: pointer; }
.toggle span { display: block; width: 21px; height: 21px; border-radius: 50%; background: var(--muted); transition: transform .25s var(--ease), background .2s ease; }
.toggle[aria-checked="true"] { border-color: rgba(var(--accent-rgb), .42); background: rgba(var(--accent-rgb), .16); }
.toggle[aria-checked="true"] span { transform: translateX(20px); background: var(--accent); }
.theme-picker { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.theme-picker button { min-height: 88px; padding: 9px 8px; display: grid; align-content: space-between; gap: 8px; border: 1px solid var(--line); border-radius: 15px; color: var(--muted); background: rgba(255,255,255,.025); font-size: .68rem; font-weight: 800; cursor: pointer; }
.theme-picker button i { width: 100%; height: 47px; border-radius: 10px; background: radial-gradient(circle at 75% 20%, #38c7ef, transparent 35%), linear-gradient(145deg,#071124,#1a0d29); }
.theme-picker button:nth-child(2) i { background: radial-gradient(circle at 70% 20%, #b8f28f, transparent 35%), linear-gradient(145deg,#06211e,#0a3a45); }
.theme-picker button:nth-child(3) i { background: radial-gradient(circle at 70% 20%, #ffbd61, transparent 34%), linear-gradient(145deg,#241007,#5d1914); }
.theme-picker button[aria-pressed="true"] { color: var(--text); border-color: rgba(var(--accent-rgb), .48); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .08); }
.settings-note { margin: 0; padding: 20px 25px 25px; color: var(--muted); font-size: .7rem; }
.toast { position: fixed; z-index: 1700; left: 50%; bottom: 24px; max-width: min(90vw, 470px); padding: 12px 17px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text); background: var(--surface-strong); box-shadow: 0 18px 50px rgba(0,0,0,.42); font-size: .78rem; text-align: center; transition: transform .25s var(--ease), opacity .25s ease; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* Progressive reveal */
.js .reveal { opacity: 0; transform: translateY(27px); transition: opacity .74s ease, transform .74s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1240px) {
  .desktop-nav { gap: 18px; }
  .header-cta { display: none; }
  .hero { grid-template-columns: minmax(0,1fr) minmax(430px,.9fr); gap: 45px; }
  .service-orbit { left: -55px; transform: scale(.9); transform-origin: left center; }
}

@media (max-width: 1050px) {
  :root { --header-h: 78px; }
  .desktop-nav { display: none; }
  .mobile-menu-button { display: grid; }
  .header-inner { grid-template-columns: auto 1fr; }
  .header-actions { justify-self: end; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 80px); }
  .hero-copy { max-width: 900px; }
  .hero-visual { min-height: 710px; width: min(100%, 760px); margin-inline: auto; }
  .studio-frame { width: min(72%, 510px); right: 4%; }
  .service-orbit { left: 4%; top: 185px; transform: scale(1); }
  .service-tile--graphic,
  .service-tile--web,
  .service-tile--app,
  .service-tile--marketing,
  .service-tile--print,
  .service-tile--video,
  .service-tile--photo,
  .service-tile--edit { grid-column: span 6; min-height: 390px; }
  .service-tile__copy { max-width: 100%; }
  .route-tool { grid-template-columns: 1fr; }
  .goal-buttons { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .goal-button:last-child { grid-column: 1 / -1; }
  .goal-results { min-height: 390px; }
  .goal-result { min-height: 390px; }
  .promise-card { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .faq-heading { position: static; max-width: 780px; }
  .faq-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact { grid-template-columns: 1fr; }
  .contact-copy { position: static; max-width: 780px; }
}

@media (max-width: 760px) {
  .section-shell { width: min(calc(100% - 32px), var(--max-width)); }
  .header-inner { width: calc(100% - 28px); gap: 12px; }
  .brand picture,
  .brand img { width: 104px; height: 55px; }
  .language-switch { display: none; }
  .header-actions { gap: 7px; }
  #open-settings { display: none; }
  .hero { padding-top: calc(var(--header-h) + 55px); padding-bottom: 70px; }
  .hero h1 { font-size: clamp(3.2rem, 14.7vw, 5.2rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { flex: 1 1 100%; }
  .hero-signals { gap: 7px; }
  .hero-signals li { font-size: .69rem; }
  .hero-visual { min-height: 610px; }
  .studio-frame { top: 30px; right: 0; width: 78%; height: 560px; border-radius: 30px; }
  .service-orbit { left: -26px; top: 145px; transform: scale(.79); transform-origin: left top; }
  .capability-marquee__track { min-height: 55px; }
  .services,
  .route,
  .promise,
  .process,
  .faq,
  .contact { padding-block: 88px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 34px; }
  .section-heading h2,
  .route-intro h2,
  .contact-copy h2,
  .faq-heading h2 { font-size: clamp(2.8rem, 13vw, 4.6rem); }
  .service-grid { grid-template-columns: 1fr; }
  .service-tile--graphic,
  .service-tile--web,
  .service-tile--app,
  .service-tile--marketing,
  .service-tile--print,
  .service-tile--video,
  .service-tile--photo,
  .service-tile--edit { grid-column: auto; min-height: 360px; }
  .service-art { top: 70px; right: 13px; width: 42%; height: 32%; opacity: .6; }
  .service-tile__copy { max-width: 100%; }
  .service-tile h3 { font-size: clamp(1.8rem, 8vw, 2.7rem); }
  .route-tool { margin-top: 38px; padding: 11px; border-radius: 27px; }
  .goal-buttons { grid-template-columns: 1fr; }
  .goal-button:last-child { grid-column: auto; }
  .goal-button { min-height: 62px; }
  .goal-results,
  .goal-result { min-height: 410px; }
  .goal-result { padding: 28px 24px; }
  .goal-result h3 { font-size: clamp(2.2rem, 10vw, 3.6rem); }
  .promise-card { min-height: auto; padding: 35px 25px; border-radius: 30px; }
  .promise-card h2 { font-size: clamp(2.8rem, 12vw, 4.5rem); }
  .promise-card__points article { min-height: 112px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(3) { border-left: 0; }
  .faq-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .service-checks { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner nav { justify-content: flex-start; }
  .settings-dialog { margin: auto; width: min(calc(100vw - 24px), 455px); max-height: calc(100dvh - 24px); border-radius: 24px; }
}

@media (max-width: 480px) {
  .hero-visual { min-height: 535px; }
  .studio-frame { width: 84%; height: 485px; }
  .service-orbit { left: -44px; top: 122px; transform: scale(.68); }
  .orbit-status { display: none; }
  .service-tile { padding: 23px; min-height: 345px !important; border-radius: 21px; }
  .service-tile__copy ul { font-size: .74rem; }
  .service-art { transform: scale(.86); transform-origin: right top; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step,
  .process-step + .process-step { min-height: 185px; border-left: 0; border-bottom: 0; }
  .process-step:last-child { border-bottom: 1px solid var(--line); }
  .process-step h3 { margin-top: 33px; }
  .footer-brand { align-items: flex-start; flex-direction: column; }
  .footer-inner nav { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (hover: none), (pointer: coarse) {
  .pointer-glow { display: none; }
  .service-tile:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ambient-canvas,
  .pointer-glow,
  .shooting-star { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
html.reduce-motion { scroll-behavior: auto; }
html.reduce-motion .ambient-canvas,
html.reduce-motion .pointer-glow,
html.reduce-motion .shooting-star { display: none !important; }
html.reduce-motion .orbit-ring,
html.reduce-motion .capability-marquee__track,
html.reduce-motion .studio-frame__badge span { animation: none !important; }
html.reduce-motion .js .reveal { opacity: 1; transform: none; }

/* Layout containment for decorative animation. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}
.site-header {
  width: 100%;
  max-width: 100%;
}
.capability-marquee {
  width: 100%;
  max-width: 100vw;
  height: 62px;
  overflow: clip;
  contain: layout paint;
}
.capability-marquee__track {
  position: absolute;
  inset: 0 auto auto 0;
}

/* One settings entry point per viewport: floating on desktop, header control on phones. */
#open-settings { display: none; }

@media (max-width: 760px) {
  .capability-marquee { height: 55px; }
  #open-settings { display: grid; }
  .settings-float { display: none; }
  .orbit-node span { display: none; }
}

/* Keep the orbital interface legible: names appear on deliberate interaction. */
.orbit-node span {
  opacity: 0;
  transform: translate(-50%, 5px);
  transition: opacity .18s ease, transform .22s var(--ease);
  pointer-events: none;
}
.orbit-node:hover span,
.orbit-node:focus-visible span {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 760px) {
  .orbit-node span { display: none; }
}

/* Anchor destinations remain visible below the fixed navigation. */
#servicios,
#ruta,
#proceso,
#preguntas,
#contacto,
[id^="servicio-"] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* Keep the complete capability orbit inside narrow screens. */
@media (max-width: 760px) {
  .service-orbit {
    left: 2px;
    top: 145px;
    transform: scale(.74);
    transform-origin: left top;
  }
}
@media (max-width: 480px) {
  .service-orbit {
    left: 3px;
    top: 122px;
    transform: scale(.66);
  }
}

/* =========================================================
   STAR MARK AGENCY V4 — CREATIVE FIELD, PORTALS & TRUST
   ========================================================= */
@view-transition { navigation: auto; }

main { position: relative; z-index: 2; }

/* Living creative laboratory behind the content. */
.creative-field {
  position: fixed;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: .5;
  contain: strict;
  mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 91%, transparent 100%);
}
.creative-field::before,
.creative-field::after {
  content: "";
  position: absolute;
  width: 46vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .36;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .1), transparent 69%);
  animation: field-drift 19s ease-in-out infinite alternate;
}
.creative-field::before { left: -24vw; top: 20vh; }
.creative-field::after {
  right: -27vw;
  top: 54vh;
  background: radial-gradient(circle, rgba(var(--gold-rgb), .1), transparent 69%);
  animation-delay: -8s;
}
.creative-orbit {
  position: absolute;
  width: 420px;
  aspect-ratio: 1;
  border: 1px solid rgba(var(--accent-rgb), .075);
  border-radius: 50%;
  transform: rotate(-22deg);
  animation: field-orbit 35s linear infinite;
}
.creative-orbit::before,
.creative-orbit::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 15px rgba(var(--accent-rgb), .78);
}
.creative-orbit::before { top: 16%; left: 14%; }
.creative-orbit::after { right: 9%; bottom: 24%; background: var(--gold); box-shadow: 0 0 15px rgba(var(--gold-rgb), .76); }
.creative-orbit--one { top: 17vh; right: -210px; }
.creative-orbit--two { bottom: 7vh; left: -245px; width: 520px; animation-direction: reverse; animation-duration: 46s; }
.creative-artifact {
  position: absolute;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 25px;
  color: rgba(255,255,255,.38);
  background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  box-shadow: inset 0 0 28px rgba(var(--accent-rgb), .025), 0 20px 55px rgba(0,0,0,.14);
  backdrop-filter: blur(8px);
  transform: translate3d(0, var(--field-y, 0), 0) rotate(var(--field-r, 0deg));
  animation: artifact-float var(--field-speed, 13s) ease-in-out infinite alternate;
  opacity: .38;
}
.creative-artifact svg { width: 29px; height: 29px; }
.creative-artifact::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(var(--gold-rgb), .09);
  border-radius: 18px;
}
.creative-artifact--design { top: 21vh; left: 2.4vw; --field-r: -11deg; --field-speed: 14s; color: rgba(255,194,226,.55); }
.creative-artifact--design i,
.creative-artifact--design b { position: absolute; border-radius: 50%; }
.creative-artifact--design i { width: 9px; height: 9px; right: 16px; top: 16px; background: #ff74ac; box-shadow: -12px 5px #70dfff, -4px 18px #eac266; }
.creative-artifact--design b { width: 46px; height: 46px; border: 1px dashed rgba(255,255,255,.18); }
.creative-artifact--code { top: 44vh; right: 1.8vw; width: 126px; height: 78px; --field-r: 7deg; --field-speed: 17s; color: rgba(98,223,247,.5); }
.creative-artifact--code code { position: absolute; bottom: 9px; color: rgba(98,223,247,.35); font-size: .56rem; letter-spacing: .06em; }
.creative-artifact--code i { position: absolute; left: 18px; right: 18px; top: 18px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); box-shadow: 0 11px rgba(255,255,255,.09), 0 22px rgba(255,255,255,.05); }
.creative-artifact--app { top: 71vh; left: 4vw; --field-r: 9deg; --field-speed: 12s; color: rgba(152,139,255,.55); }
.creative-artifact--app span { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 11px rgba(var(--accent-2-rgb), .7); }
.creative-artifact--app span:first-of-type { top: 18px; right: 18px; }
.creative-artifact--app span:last-of-type { bottom: 17px; left: 19px; }
.creative-artifact--chart { top: 113vh; right: 2.6vw; --field-r: -7deg; --field-speed: 16s; color: rgba(255,200,119,.52); }
.creative-artifact--chart i { position: absolute; bottom: 15px; width: 8px; border-radius: 4px 4px 0 0; background: rgba(var(--gold-rgb), .28); }
.creative-artifact--chart i:nth-of-type(1) { left: 18px; height: 16px; }
.creative-artifact--chart i:nth-of-type(2) { left: 32px; height: 27px; }
.creative-artifact--chart i:nth-of-type(3) { left: 46px; height: 38px; }
.creative-artifact--print { top: 154vh; left: 2.7vw; --field-r: -5deg; --field-speed: 18s; color: rgba(244,226,178,.48); }
.creative-artifact--print span { position: absolute; inset: 19px 16px 14px; border: 1px solid rgba(var(--gold-rgb),.18); border-radius: 4px; transform: translate(7px, -7px); }
.creative-artifact--camera { top: 201vh; right: 3.4vw; --field-r: 8deg; --field-speed: 14s; color: rgba(255,255,255,.48); }
.creative-artifact--camera i { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(var(--accent-rgb), .2); box-shadow: inset 0 0 17px rgba(var(--accent-rgb), .08); }
.creative-artifact--timeline { top: 260vh; left: 3vw; width: 128px; height: 74px; --field-r: -6deg; --field-speed: 16s; color: rgba(187,135,255,.5); }
.creative-artifact--timeline span { position: absolute; left: 16px; right: 16px; height: 5px; border-radius: 4px; background: rgba(var(--accent-2-rgb), .15); }
.creative-artifact--timeline span:nth-of-type(1) { top: 17px; right: 36px; }
.creative-artifact--timeline span:nth-of-type(2) { top: 30px; left: 34px; }
.creative-artifact--timeline span:nth-of-type(3) { top: 43px; right: 24px; }
@keyframes field-orbit { to { transform: rotate(338deg); } }
@keyframes field-drift { to { transform: translate3d(8vw, -7vh, 0) scale(1.12); } }
@keyframes artifact-float {
  0% { transform: translate3d(0, -10px, 0) rotate(var(--field-r)); }
  50% { transform: translate3d(10px, 12px, 0) rotate(calc(var(--field-r) + 3deg)); }
  100% { transform: translate3d(-8px, 21px, 0) rotate(calc(var(--field-r) - 2deg)); }
}

/* A cleaner, truly centered core inside the capability orbit. */
.orbit-core {
  --orbit-logo-offset-y: -6px;
  inset: 100px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 0;
}
.orbit-core img {
  width: 86px;
  height: auto;
  max-height: 86px;
  display: block;
  object-fit: contain;
  object-position: center;
  transform: translate3d(0, var(--orbit-logo-offset-y), 0);
  transform-origin: center;
}

/* Arrival from the main universe. */
.arrival-portal,
.service-portal {
  position: fixed;
  z-index: 5000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  color: #fff;
  background: #010207;
  transition: opacity .22s ease, visibility .22s ease;
  isolation: isolate;
}
.arrival-portal.is-active,
.service-portal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.arrival-portal__canvas,
.service-portal__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.arrival-portal::before,
.arrival-portal::after,
.service-portal::before,
.service-portal::after {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -2;
  border-radius: 50%;
  opacity: .55;
  background: conic-gradient(from 180deg, transparent 0 13%, rgba(79,188,255,.22), transparent 28% 52%, rgba(234,194,102,.2), transparent 68% 100%);
  filter: blur(70px);
  animation: portal-ambient 3.4s linear infinite;
}
.arrival-portal::after,
.service-portal::after { animation-direction: reverse; animation-duration: 5.3s; transform: scale(.7); }
.arrival-portal__core,
.service-portal__tunnel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(58vw, 740px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(.18);
  border-radius: 50%;
}
.arrival-portal__core span,
.arrival-portal__core i,
.service-portal__tunnel span,
.service-portal__tunnel i {
  position: absolute;
  inset: var(--portal-inset, 0);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  box-shadow: 0 0 45px rgba(69,184,255,.16), inset 0 0 45px rgba(234,194,102,.07);
}
.arrival-portal__core span:nth-child(1),
.service-portal__tunnel span:nth-child(1) { --portal-inset: 0; }
.arrival-portal__core span:nth-child(2),
.service-portal__tunnel span:nth-child(2) { --portal-inset: 15%; border-color: rgba(234,194,102,.35); }
.arrival-portal__core i,
.service-portal__tunnel span:nth-child(3) { --portal-inset: 30%; border-color: rgba(98,223,247,.42); }
.service-portal__tunnel i { --portal-inset: 41%; background: #000; border-color: rgba(255,255,255,.3); box-shadow: 0 0 100px 33px var(--portal-glow, rgba(98,223,247,.18)); }
.arrival-portal__core i { --portal-inset: 41%; background: radial-gradient(circle, #000 0 45%, rgba(98,223,247,.35) 48%, #000 60%); }
.arrival-portal.is-active .arrival-portal__core { animation: arrival-core 1.75s cubic-bezier(.18,.7,.18,1) both; }
.arrival-portal.is-active .arrival-portal__core span:nth-child(1) { animation: portal-ring 1.35s linear infinite; }
.arrival-portal.is-active .arrival-portal__core span:nth-child(2) { animation: portal-ring 1.05s linear infinite reverse; }
.arrival-portal__brand {
  position: relative;
  z-index: 2;
  width: clamp(118px, 16vw, 230px);
  opacity: 0;
  filter: drop-shadow(0 0 30px rgba(234,194,102,.45));
  transform: scale(.3) rotate(-14deg);
}
.arrival-portal__brand img { width: 100%; height: auto; }
.arrival-portal.is-active .arrival-portal__brand { animation: arrival-brand 1.55s .22s var(--ease) both; }
.arrival-portal__copy,
.service-portal__copy {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: max(9vh, 65px);
  width: min(88vw, 760px);
  transform: translateX(-50%);
  text-align: center;
  opacity: 0;
}
.arrival-portal__copy span,
.service-portal__copy span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: .65rem;
  font-weight: 950;
  letter-spacing: .24em;
}
.arrival-portal__copy strong,
.service-portal__copy strong {
  display: block;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2rem, 4.8vw, 5rem);
  line-height: .95;
  letter-spacing: -.045em;
}
.arrival-portal.is-active .arrival-portal__copy { animation: portal-copy-in .65s .72s ease both; }
.arrival-portal button,
.service-portal button {
  position: absolute;
  z-index: 5;
  right: max(18px, 2.2vw);
  top: max(18px, 2.2vw);
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: #fff;
  background: rgba(4,7,18,.62);
  backdrop-filter: blur(14px);
  cursor: pointer;
  font-size: .7rem;
  font-weight: 850;
}
@keyframes arrival-core {
  0% { transform: translate(-50%, -50%) scale(.06) rotate(-110deg); opacity: 0; }
  30% { opacity: 1; }
  70% { transform: translate(-50%, -50%) scale(1.05) rotate(24deg); }
  100% { transform: translate(-50%, -50%) scale(4.8) rotate(95deg); opacity: 0; }
}
@keyframes arrival-brand {
  0% { opacity: 0; transform: scale(.25) rotate(-14deg); }
  48% { opacity: 1; transform: scale(1.08) rotate(2deg); }
  76% { opacity: 1; transform: scale(1) rotate(0); }
  100% { opacity: 0; transform: scale(1.9); filter: blur(8px) drop-shadow(0 0 45px rgba(234,194,102,.6)); }
}
@keyframes portal-ring { to { transform: rotate(360deg) scale(1.08); } }
@keyframes portal-copy-in { from { opacity: 0; transform: translate(-50%, 18px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes portal-ambient { to { transform: rotate(360deg); } }

/* Theme-aware tunnel used by all eight services and universe shortcuts. */
.service-portal {
  --portal-a: #62dff7;
  --portal-b: #7c6fff;
  --portal-glow: rgba(98,223,247,.24);
  background:
    radial-gradient(circle at 50% 50%, rgba(0,0,0,.15), #010207 52%),
    #010207;
}
.service-portal[data-scene="graphic"] { --portal-a: #ff72b8; --portal-b: #ffc969; --portal-glow: rgba(255,114,184,.26); }
.service-portal[data-scene="web"] { --portal-a: #64f1d7; --portal-b: #4bb7ff; --portal-glow: rgba(100,241,215,.26); }
.service-portal[data-scene="app"] { --portal-a: #8c8cff; --portal-b: #58dcff; --portal-glow: rgba(140,140,255,.28); }
.service-portal[data-scene="marketing"] { --portal-a: #ff8a68; --portal-b: #ffd46c; --portal-glow: rgba(255,138,104,.28); }
.service-portal[data-scene="print"] { --portal-a: #ffe5aa; --portal-b: #dba84c; --portal-glow: rgba(255,229,170,.24); }
.service-portal[data-scene="video"] { --portal-a: #ff5f7e; --portal-b: #557dff; --portal-glow: rgba(255,95,126,.28); }
.service-portal[data-scene="photo"] { --portal-a: #fff4d1; --portal-b: #68cfff; --portal-glow: rgba(255,244,209,.3); }
.service-portal[data-scene="edit"] { --portal-a: #ca70ff; --portal-b: #5de6ff; --portal-glow: rgba(202,112,255,.29); }
.service-portal[data-scene="meteor"] { --portal-a: #fff6c2; --portal-b: #63cfff; --portal-glow: rgba(255,246,194,.34); }
.service-portal[data-scene="vinyl"] { --portal-a: #f1c76b; --portal-b: #936bff; --portal-glow: rgba(241,199,107,.28); }
.service-portal[data-scene="arcade"] { --portal-a: #43ffd2; --portal-b: #ff4fa4; --portal-glow: rgba(67,255,210,.26); }
.service-portal[data-scene="wormhole"] { --portal-a: #72ddff; --portal-b: #eac266; --portal-glow: rgba(114,221,255,.28); }
.service-portal::before { background: conic-gradient(from 20deg, transparent, color-mix(in srgb, var(--portal-a) 33%, transparent), transparent 27% 53%, color-mix(in srgb, var(--portal-b) 28%, transparent), transparent 74%); }
.service-portal__tunnel { width: min(66vw, 880px); transform: translate(-50%, -50%) scale(.15); }
.service-portal.is-active .service-portal__tunnel { animation: service-tunnel 1.25s cubic-bezier(.2,.75,.22,1) both; }
.service-portal.is-active .service-portal__tunnel span:nth-child(1) { animation: service-ring .65s linear infinite; border-color: color-mix(in srgb, var(--portal-a) 65%, transparent); }
.service-portal.is-active .service-portal__tunnel span:nth-child(2) { animation: service-ring .5s linear infinite reverse; border-color: color-mix(in srgb, var(--portal-b) 60%, transparent); }
.service-portal.is-active .service-portal__tunnel span:nth-child(3) { animation: service-ring .42s linear infinite; border-style: dashed; border-color: rgba(255,255,255,.5); }
.service-portal__focus {
  position: relative;
  z-index: 3;
  width: clamp(84px, 10vw, 148px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--portal-a) 65%, transparent);
  border-radius: 31%;
  color: #fff;
  opacity: 0;
  background: radial-gradient(circle at 28% 18%, color-mix(in srgb, var(--portal-a) 25%, transparent), rgba(4,7,18,.92));
  box-shadow: 0 0 80px var(--portal-glow), inset 0 0 35px rgba(255,255,255,.05);
}
.service-portal__focus svg { width: 42%; height: 42%; }
.service-portal.is-active .service-portal__focus { animation: service-focus 1.05s .04s var(--ease) both; }
.service-portal__glyphs { position: absolute; inset: 0; z-index: 1; }
.service-portal__glyphs span {
  position: absolute;
  left: 50%;
  top: 50%;
  min-width: 76px;
  padding: 8px 12px;
  border: 1px solid color-mix(in srgb, var(--portal-a) 35%, transparent);
  border-radius: 12px;
  color: color-mix(in srgb, var(--portal-a) 85%, white);
  background: rgba(3,6,17,.55);
  box-shadow: 0 0 24px color-mix(in srgb, var(--portal-a) 13%, transparent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(.58rem, .8vw, .78rem);
  text-align: center;
  opacity: 0;
}
.service-portal.is-active .service-portal__glyphs span { animation: glyph-flight 1.1s var(--glyph-delay, 0s) cubic-bezier(.16,.8,.28,1) both; }
.service-portal__glyphs span:nth-child(1) { --gx: -42vw; --gy: -31vh; --gr: -14deg; --glyph-delay: .02s; }
.service-portal__glyphs span:nth-child(2) { --gx: 39vw; --gy: -28vh; --gr: 12deg; --glyph-delay: .06s; }
.service-portal__glyphs span:nth-child(3) { --gx: -44vw; --gy: 23vh; --gr: 8deg; --glyph-delay: .1s; }
.service-portal__glyphs span:nth-child(4) { --gx: 43vw; --gy: 27vh; --gr: -9deg; --glyph-delay: .13s; }
.service-portal__glyphs span:nth-child(5) { --gx: -18vw; --gy: -42vh; --gr: 6deg; --glyph-delay: .16s; }
.service-portal__glyphs span:nth-child(6) { --gx: 19vw; --gy: 42vh; --gr: -6deg; --glyph-delay: .2s; }
.service-portal__copy small { display: block; margin-top: 11px; color: rgba(255,255,255,.64); font-size: .76rem; letter-spacing: .05em; }
.service-portal.is-active .service-portal__copy { animation: portal-copy-in .48s .42s ease both; }
@keyframes service-tunnel {
  0% { transform: translate(-50%,-50%) scale(.08) rotate(-85deg); opacity: 0; }
  22% { opacity: 1; }
  72% { transform: translate(-50%,-50%) scale(1.12) rotate(20deg); opacity: 1; }
  100% { transform: translate(-50%,-50%) scale(5.3) rotate(96deg); opacity: 0; }
}
@keyframes service-ring { to { transform: rotate(360deg) scale(1.07); } }
@keyframes service-focus {
  0% { opacity: 0; transform: scale(.25) rotate(-12deg); filter: blur(7px); }
  42% { opacity: 1; transform: scale(1.05) rotate(2deg); filter: blur(0); }
  70% { opacity: 1; transform: scale(.98); }
  100% { opacity: 0; transform: scale(2.4); filter: blur(12px); }
}
@keyframes glyph-flight {
  0% { opacity: 0; transform: translate(-50%,-50%) scale(.2); }
  18% { opacity: .72; }
  74% { opacity: .92; transform: translate(calc(-50% + var(--gx)), calc(-50% + var(--gy))) scale(1) rotate(var(--gr)); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--gx) * 1.25), calc(-50% + var(--gy) * 1.25)) scale(1.35) rotate(var(--gr)); filter: blur(3px); }
}

/* Portfolio case study */
.portfolio,
.about,
.team { padding-block: clamp(96px, 12vw, 170px); }
.case-study {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  border: 1px solid rgba(var(--gold-rgb), .27);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 20% 15%, rgba(var(--gold-rgb), .1), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  box-shadow: var(--shadow);
}
.case-study::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.035) 49%, transparent 61%);
  transform: translateX(-100%);
  animation: case-glint 9s 2s ease-in-out infinite;
}
.case-study__media { position: relative; min-height: 680px; overflow: hidden; background: #050608; }
.case-study__desktop { position: absolute; inset: 0; }
.case-study__desktop img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .92; }
.case-study__desktop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 38%, rgba(2,3,8,.18) 70%, rgba(2,3,8,.72)); }
.case-study__mobile {
  position: absolute;
  z-index: 2;
  right: 5%;
  bottom: -7%;
  width: min(31%, 208px);
  aspect-ratio: 720 / 1354;
  overflow: hidden;
  border: 6px solid #08090c;
  border-radius: 29px;
  box-shadow: 0 26px 70px rgba(0,0,0,.62), 0 0 0 1px rgba(var(--gold-rgb),.26);
  transform: rotate(3deg);
}
.case-study__mobile img { width: 100%; height: 100%; object-fit: cover; }
.case-study__status {
  position: absolute;
  z-index: 4;
  left: 24px;
  top: 24px;
  padding: 9px 13px;
  border: 1px solid rgba(var(--gold-rgb), .35);
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(3,5,12,.72);
  backdrop-filter: blur(14px);
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .06em;
}
.case-study__copy { position: relative; z-index: 4; padding: clamp(38px, 5vw, 76px); display: flex; flex-direction: column; justify-content: center; background: linear-gradient(90deg, rgba(3,5,12,.6), rgba(3,5,12,.94) 24%); }
.case-study__index { margin: 0 0 16px; color: var(--gold); font-size: .67rem; font-weight: 950; letter-spacing: .18em; }
.case-study__copy h3 { margin: 0; font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif; font-size: clamp(2.8rem, 4.2vw, 5.35rem); line-height: .94; letter-spacing: -.05em; }
.case-study__copy > p:not(.case-study__index) { margin: 24px 0 0; color: var(--muted-strong); }
.case-study__facts { margin: 28px 0 0; display: grid; gap: 14px; }
.case-study__facts div { padding: 14px 0; display: grid; grid-template-columns: 112px 1fr; gap: 15px; border-top: 1px solid var(--line); }
.case-study__facts dt { color: var(--gold); font-size: .65rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.case-study__facts dd { margin: 0; color: var(--muted-strong); font-size: .78rem; }
.case-study__stack,
.team-card__skills { margin-top: 25px; display: flex; flex-wrap: wrap; gap: 7px; }
.case-study__stack span,
.team-card__skills span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.02); font-size: .63rem; font-weight: 750; }
.case-study__actions { margin-top: 30px; display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
@keyframes case-glint { 0%, 75%, 100% { transform: translateX(-110%); } 88% { transform: translateX(110%); } }

/* About and real team */
.about { position: relative; }
.about::before { content: ""; position: absolute; z-index: -1; left: -18vw; top: 18%; width: 52vw; height: 52vw; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb), .08), transparent 67%); }
.about-grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(430px,1.05fr); gap: clamp(50px, 8vw, 120px); align-items: center; }
.about-copy h2 { margin: 0; font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif; font-size: clamp(3.2rem, 5.4vw, 6.5rem); line-height: .92; letter-spacing: -.055em; }
.about-copy > p:not(.eyebrow) { max-width: 680px; margin: 25px 0 0; color: var(--muted-strong); }
.about-copy .text-link { margin-top: 27px; }
.about-principles { display: grid; gap: 13px; }
.about-principles article {
  position: relative;
  min-height: 150px;
  padding: 26px 27px 24px 96px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(255,255,255,.038), rgba(255,255,255,.012));
  transition: transform .28s var(--ease), border-color .25s ease;
}
.about-principles article:hover { transform: translateX(-7px); border-color: rgba(var(--gold-rgb), .35); }
.about-principles article > span { position: absolute; left: 25px; top: 23px; width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid rgba(var(--gold-rgb),.3); border-radius: 14px; color: var(--gold); font-size: .68rem; font-weight: 950; }
.about-principles h3 { margin: 0; font-size: 1.25rem; }
.about-principles p { margin: 8px 0 0; color: var(--muted); font-size: .84rem; }

.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.team-card {
  position: relative;
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(250px,.82fr) minmax(0,1.18fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255,255,255,.034), rgba(255,255,255,.012));
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
}
.team-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb),.035); border-radius: inherit; }
.team-card__portrait { position: relative; min-height: 100%; overflow: hidden; background: #080b13; }
.team-card__portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 44%, rgba(4,7,16,.5)), linear-gradient(90deg, transparent 52%, rgba(4,7,16,.68)); }
.team-card__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(.82) contrast(1.05); transition: transform .8s var(--ease), filter .45s ease; }
.team-card:hover .team-card__portrait img { transform: scale(1.035); filter: saturate(1) contrast(1.04); }
.team-card__body { position: relative; z-index: 2; padding: clamp(30px, 3.2vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.team-card__body > p:first-child { margin: 0 0 16px; color: var(--gold); font-size: .63rem; font-weight: 950; letter-spacing: .14em; }
.team-card__body h3 { margin: 0; font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif; font-size: clamp(2.1rem, 3vw, 3.75rem); line-height: .95; letter-spacing: -.045em; }
.team-card__body > p:not(:first-child) { margin: 22px 0 0; color: var(--muted-strong); font-size: .85rem; }
.team-card blockquote { margin: 28px 0 0; padding: 18px 0 0 18px; border-top: 1px solid var(--line); border-left: 1px solid rgba(var(--gold-rgb),.38); color: var(--gold-light); font-family: Georgia, serif; font-size: .92rem; font-style: italic; }

/* Universe navigator — a small spacecraft, not a blocking toy. */
.universe-dock {
  position: fixed;
  z-index: 1450;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  width: 68px;
  height: 68px;
  pointer-events: none;
}
.universe-dock__ship {
  --ship-tilt: 0deg;
  --ship-thrust: 0;
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--gold-rgb), .42);
  border-radius: 24px;
  color: var(--gold-light);
  background: linear-gradient(145deg, rgba(19,29,57,.94), rgba(5,9,23,.96));
  box-shadow: 0 22px 55px rgba(0,0,0,.46), inset 0 0 22px rgba(var(--accent-rgb),.06);
  cursor: pointer;
  pointer-events: auto;
  transform: rotate(var(--ship-tilt));
  transition: transform .28s var(--ease), border-color .2s ease, background .2s ease;
  animation: ship-hover 3.8s ease-in-out infinite;
}
.universe-dock__ship:hover { border-color: rgba(var(--accent-rgb),.65); background: linear-gradient(145deg, rgba(21,41,70,.96), rgba(7,12,29,.98)); }
.universe-dock__ship svg { width: 38px; height: 38px; transform: translateY(-2px); }
.universe-dock__ship > span {
  position: absolute;
  left: 50%;
  top: 53px;
  width: 12px;
  height: calc(12px + var(--ship-thrust) * 13px);
  transform: translateX(-50%);
  border-radius: 50% 50% 70% 70%;
  opacity: calc(.42 + var(--ship-thrust) * .55);
  background: linear-gradient(to bottom, #fff4bd, #ff9a47 42%, transparent);
  filter: blur(1px) drop-shadow(0 5px 8px rgba(255,157,64,.75));
  transition: height .16s ease, opacity .16s ease;
}
.universe-dock__menu {
  position: absolute;
  right: 4px;
  bottom: 82px;
  width: min(330px, calc(100vw - 32px));
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: rgba(5,9,23,.92);
  box-shadow: 0 28px 80px rgba(0,0,0,.58);
  backdrop-filter: blur(24px) saturate(130%);
  transform-origin: right bottom;
  animation: dock-open .28s var(--ease) both;
  pointer-events: auto;
}
.universe-dock__menu > span { display: block; padding: 7px 10px 12px; color: var(--gold); font-size: .61rem; font-weight: 950; letter-spacing: .16em; }
.universe-dock__menu a { min-height: 65px; padding: 10px; display: grid; grid-template-columns: 42px 1fr; align-items: center; column-gap: 12px; border-radius: 16px; text-decoration: none; transition: background .2s ease, transform .2s var(--ease); }
.universe-dock__menu a:hover { background: rgba(var(--accent-rgb),.08); transform: translateX(-3px); }
.universe-dock__menu svg { grid-row: 1 / span 2; width: 24px; height: 24px; justify-self: center; color: var(--gold); }
.universe-dock__menu strong { align-self: end; font-size: .8rem; }
.universe-dock__menu small { align-self: start; color: var(--muted); font-size: .68rem; }
.settings-float { left: max(18px, env(safe-area-inset-left)); right: auto; }
@keyframes ship-hover { 0%,100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes dock-open { from { opacity: 0; transform: translateY(13px) scale(.92); } to { opacity: 1; transform: none; } }

/* Footer with the brand intentionally centered. */
.footer-inner {
  min-height: 300px;
  padding-block: 55px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 23px;
  text-align: center;
}
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-brand picture { width: 164px; height: 82px; display: grid; place-items: center; }
.footer-brand img { width: 164px; height: 82px; object-fit: contain; object-position: center; }
.footer-brand span { max-width: none; color: var(--muted); letter-spacing: .08em; }
.footer-inner nav { justify-content: center; }
.footer-legal { padding-top: 17px; border-top: 1px solid var(--line); }
.footer-inner > p { width: min(100%, 740px); grid-column: auto; padding-top: 0; border-top: 0; text-align: center; }
.footer-inner > p + p { margin-top: -14px; }

/* Preserve clear scroll destinations after adding the new sections. */
#portafolio,
#nosotros,
#equipo { scroll-margin-top: calc(var(--header-h) + 24px); }

/* Full-motion mode can be disabled from both OS preference and the in-page control. */
html.reduce-motion .creative-field,
html.reduce-motion .arrival-portal,
html.reduce-motion .service-portal { display: none !important; }
html.reduce-motion .universe-dock__ship { animation: none; }
html.reduce-motion .case-study::before { animation: none; }

@media (max-width: 1340px) {
  .case-study { grid-template-columns: minmax(0,1.06fr) minmax(360px,.94fr); }
  .team-card { grid-template-columns: minmax(210px,.76fr) minmax(0,1.24fr); }
  .team-card__body { padding: 32px; }
}

@media (max-width: 1120px) {
  .creative-artifact { opacity: .25; }
  .case-study { grid-template-columns: 1fr; }
  .case-study__media { min-height: 580px; }
  .case-study__desktop::after { background: linear-gradient(180deg, transparent 60%, rgba(2,3,8,.84)); }
  .case-study__copy { background: rgba(3,5,12,.94); }
  .about-grid { grid-template-columns: 1fr; }
  .about-copy { max-width: 850px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { min-height: 560px; grid-template-columns: minmax(260px,.72fr) minmax(0,1.28fr); }
}

@media (max-width: 760px) {
  .creative-field { opacity: .32; }
  .creative-orbit { display: none; }
  .creative-artifact { width: 62px; height: 62px; border-radius: 18px; opacity: .25; }
  .creative-artifact--code,
  .creative-artifact--timeline { width: 90px; }
  .creative-artifact--design { left: -18px; }
  .creative-artifact--code { right: -24px; }
  .creative-artifact--app { left: -20px; }
  .creative-artifact--chart { right: -20px; }
  .creative-artifact--print { left: -20px; }
  .creative-artifact--camera { right: -18px; }
  .creative-artifact--timeline { left: -32px; }
  .arrival-portal__core,
  .service-portal__tunnel { width: 110vw; }
  .arrival-portal__copy,
  .service-portal__copy { bottom: 15vh; }
  .arrival-portal__copy strong,
  .service-portal__copy strong { font-size: clamp(2rem, 11vw, 3.5rem); }
  .service-portal__glyphs span { min-width: 56px; padding: 6px 8px; }
  .portfolio,
  .about,
  .team { padding-block: 90px; }
  .case-study { min-height: 0; border-radius: 27px; }
  .case-study__media { min-height: 430px; }
  .case-study__mobile { width: 30%; right: 4%; border-width: 4px; border-radius: 20px; }
  .case-study__status { left: 15px; top: 15px; max-width: calc(100% - 30px); font-size: .58rem; }
  .case-study__copy { padding: 29px 24px 34px; }
  .case-study__copy h3 { font-size: clamp(2.5rem, 12.2vw, 4rem); }
  .case-study__facts div { grid-template-columns: 1fr; gap: 4px; }
  .case-study__actions { align-items: stretch; }
  .case-study__actions .button { width: 100%; }
  .about-copy h2 { font-size: clamp(2.9rem, 13vw, 4.6rem); }
  .about-principles article { padding: 24px 22px 22px 82px; }
  .team-card { min-height: 0; grid-template-columns: 1fr; }
  .team-card__portrait { height: min(108vw, 480px); }
  .team-card__portrait::after { background: linear-gradient(180deg, transparent 50%, rgba(4,7,16,.88)); }
  .team-card__body { padding: 29px 24px 34px; }
  .team-card__body h3 { font-size: clamp(2.35rem, 11vw, 3.65rem); }
  .universe-dock { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); width: 60px; height: 60px; }
  .universe-dock__ship { width: 60px; height: 60px; border-radius: 21px; }
  .universe-dock__ship svg { width: 33px; height: 33px; }
  .universe-dock__ship > span { top: 47px; }
  .universe-dock__menu { right: 0; bottom: 72px; }
  .footer-inner { padding-bottom: 110px; }
  .footer-nav,
  .footer-legal { display: flex !important; }
}

@media (max-width: 480px) {
  .case-study__media { min-height: 360px; }
  .case-study__mobile { width: 31%; bottom: -9%; }
  .about-principles article { min-height: 144px; }
  .footer-inner nav { display: flex; grid-template-columns: none; }
  .footer-brand { align-items: center; }
}

@media (hover: none), (pointer: coarse) {
  .about-principles article:hover,
  .universe-dock__menu a:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .creative-field,
  .arrival-portal,
  .service-portal { display: none !important; }
  .universe-dock__ship,
  .case-study::before { animation: none !important; }
}
body.is-portal-travel { overflow: hidden; }
body.is-portal-travel > :not(.arrival-portal):not(.service-portal):not(.svg-sprite) { transition: filter .55s ease, transform .55s var(--ease), opacity .5s ease; }
body.is-portal-travel.service-departure > :not(.arrival-portal):not(.service-portal):not(.svg-sprite) { filter: blur(6px) saturate(.75); transform: scale(.97); opacity: .42; }
html.expect-arrival body > :not(.arrival-portal):not(.svg-sprite) { opacity: 0; }
html.expect-arrival .arrival-portal { opacity: 1; visibility: visible; }

/* ========================================================================== */
/* Technical profile dialog                                                   */
/* ========================================================================== */
.team-card__details {
  width: fit-content;
  margin-top: 24px;
  gap: 9px;
}
.team-card__details svg { width: 18px; height: 18px; }
.tech-dialog {
  width: min(1050px, calc(100vw - 32px));
  max-height: min(88vh, 920px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(var(--gold-rgb), .26);
  border-radius: 28px;
  color: var(--text);
  background: linear-gradient(150deg, rgba(10,18,40,.985), rgba(3,7,19,.99));
  box-shadow: 0 40px 140px rgba(0,0,0,.72), 0 0 90px rgba(var(--accent-rgb),.08);
}
.tech-dialog::backdrop { background: rgba(0,0,0,.8); backdrop-filter: blur(10px); }
.tech-dialog__head {
  position: sticky;
  z-index: 4;
  top: 0;
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(7,13,30,.94);
  backdrop-filter: blur(18px) saturate(135%);
}
.tech-dialog__head span { color: var(--gold); font-size: .61rem; font-weight: 900; letter-spacing: .14em; }
.tech-dialog__head h2 { margin: 5px 0 0; font-size: clamp(1.35rem, 2.5vw, 2.25rem); }
.tech-dialog__body { padding: clamp(24px, 4vw, 45px); }
.tech-dialog__body > p { max-width: 850px; color: var(--muted-strong); }
.tech-dialog__images { margin: 28px 0; display: grid; grid-template-columns: .82fr 1.18fr; gap: 18px; align-items: start; }
.tech-dialog figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #030712; }
.tech-dialog figure picture { display: block; max-height: 610px; overflow: auto; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.tech-dialog figure img { width: 100%; height: auto; }
.tech-dialog figcaption { padding: 12px 14px; color: var(--muted); font-size: .68rem; }
.tech-dialog .tech-cloud { margin-top: 0; }
.tech-dialog__note { margin-top: 22px; padding: 15px 17px; border-left: 2px solid var(--gold); border-radius: 0 12px 12px 0; background: rgba(var(--gold-rgb),.055); font-size: .75rem; }
@media (max-width: 760px) {
  .tech-dialog { width: calc(100vw - 18px); border-radius: 22px; }
  .tech-dialog__head { padding: 18px; }
  .tech-dialog__body { padding: 18px; }
  .tech-dialog__images { grid-template-columns: 1fr; }
  .tech-dialog figure picture { max-height: 500px; }
}

/* Wormhole de servicios: iconos voladores por categoria (v4.8.0) */
.service-portal__icons{position:absolute;left:50%;top:50%;width:0;height:0;z-index:5;pointer-events:none}
.service-portal__fly{position:absolute;left:0;top:0;display:grid;place-items:center;width:var(--fs,30px);height:var(--fs,30px);margin:calc(var(--fs,30px) / -2) 0 0 calc(var(--fs,30px) / -2);color:var(--fly,#8c8cff);opacity:0;transform:translate3d(0,0,0) scale(.2);filter:drop-shadow(0 0 12px rgba(var(--fly-rgb,140,140,255),.75));animation:service-fly var(--dur,1s) cubic-bezier(.3,.7,.3,1) var(--delay,0s) forwards}
.service-portal__fly svg{width:100%;height:100%}
@keyframes service-fly{0%{opacity:0;transform:translate3d(0,0,0) scale(.15) rotate(0deg)}18%{opacity:1}100%{opacity:0;transform:translate3d(calc(cos(var(--angle)) * var(--dist)),calc(sin(var(--angle)) * var(--dist)),0) scale(1.35) rotate(var(--spin,120deg))}}
@media (prefers-reduced-motion:reduce){.service-portal__fly{display:none!important}}
html.motion-reduced .service-portal__fly,html.reduce-motion .service-portal__fly{display:none!important}
