/* Waychangers — marketing site (v2, "aurora glass")
   Plain CSS, no build step. Brand: navy #000C3C + pink #FC1E5A. */

@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root {
  --bg: #050816;
  --ink: #f5f7ff;
  --muted: #b4bad6;
  --faint: #868daf;
  --pink: #ff2d6f;
  --pink-soft: #ff7aa2;
  --magenta: #d946ef;
  --violet: #8b5cf6;
  --grad: linear-gradient(110deg, #ff5a86 0%, #ff2d6f 28%, #d946ef 62%, #8b5cf6 100%);
  --grad-btn: linear-gradient(115deg, #e0124f 0%, #b3186f 55%, #7c3aed 100%);
  --stroke: rgba(255, 255, 255, .11);
  --stroke-2: rgba(255, 255, 255, .22);
  --radius: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.02em; }
button { font: inherit; color: inherit; }

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }

:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 8px; }
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 12px; background: #fff; color: #050816; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.grad-text {
  background: var(--grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

/* ---------- Aurora background ---------- */
.aurora {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(1100px 700px at 85% -10%, rgba(37, 52, 160, .45), transparent 60%),
    radial-gradient(900px 700px at -10% 110%, rgba(20, 30, 110, .5), transparent 60%),
    var(--bg);
}
.blob {
  position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%;
  opacity: .5; will-change: transform;
  animation: drift 26s ease-in-out infinite alternate;
}
.b1 { background: radial-gradient(circle, rgba(255, 45, 111, .75), transparent 62%); top: -18vmax; left: -12vmax; }
.b2 { background: radial-gradient(circle, rgba(124, 58, 237, .7), transparent 62%); top: 8vh; right: -18vmax; animation-duration: 32s; animation-delay: -8s; }
.b3 { background: radial-gradient(circle, rgba(37, 99, 235, .6), transparent 62%); bottom: -22vmax; left: 18vw; animation-duration: 38s; animation-delay: -14s; }
.b4 { width: 30vmax; height: 30vmax; background: radial-gradient(circle, rgba(217, 70, 239, .55), transparent 62%); top: 45vh; left: 45vw; animation-duration: 30s; animation-delay: -20s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(7vw, 5vh, 0) scale(1.12); }
  100% { transform: translate3d(-5vw, 9vh, 0) scale(.94); }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- Glass ---------- */
.glass {
  background: linear-gradient(145deg, rgba(255, 255, 255, .095), rgba(255, 255, 255, .03));
  border: 1px solid var(--stroke);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 24px 60px -28px rgba(0, 0, 0, .65);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(18, 22, 58, .92); }
}

/* Cursor spotlight (position set by main.js) */
.spot { position: relative; isolation: isolate; overflow: hidden; }
.spot::before, .spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .35s;
}
.spot::before {
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 45, 111, .16), transparent 45%);
}
.spot::after {
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .55), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.spot:hover::before, .spot:hover::after { opacity: 1; }

/* Animated gradient border */
.glow-border { position: relative; isolation: isolate; }
.glow-border::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--angle), rgba(255, 255, 255, .12) 0 55%, #ff2d6f 72%, #d946ef 82%, #8b5cf6 88%, rgba(255, 255, 255, .12) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 6s linear infinite;
}
@keyframes spin { to { --angle: 360deg; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: 1rem; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s;
}
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn-lg { min-height: 54px; padding: 0 26px; }
.btn-primary {
  color: #fff; background: var(--grad-btn);
  box-shadow: 0 12px 32px -12px rgba(255, 45, 111, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(255, 45, 111, .95), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-glass {
  color: var(--ink);
  background: rgba(255, 255, 255, .07); border: 1px solid var(--stroke-2);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.btn-glass:hover { background: rgba(255, 255, 255, .13); transform: translateY(-2px); }

/* ---------- Navigation ---------- */
.nav-wrap {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; padding: 0 14px; pointer-events: none;
}
.nav {
  pointer-events: auto; position: relative;
  width: min(1160px, 100%); display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  transition: background-color .3s, box-shadow .3s;
}
.nav.scrolled { background: rgba(10, 14, 40, .72); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 38px; height: auto; --mark-ink: #ffffff; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a {
  display: block; padding: 10px 14px; border-radius: 999px;
  color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, .08); }
.nav-links-cta { display: none; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--stroke-2); background: rgba(255, 255, 255, .06); cursor: pointer;
  place-items: center;
}
.nav-toggle .i-close { display: none; }
.nav.open .nav-toggle .i-open { display: none; }
.nav.open .nav-toggle .i-close { display: block; }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 0; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  font-size: .85rem; font-weight: 500; color: var(--muted);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(255, 45, 111, .7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 45, 111, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 45, 111, 0); } }
.hero h1 {
  margin: 22px 0 22px;
  font-size: clamp(2.15rem, 3.6vw + 1rem, 4rem); line-height: 1.06; font-weight: 700; letter-spacing: -.035em;
}
.rotator { display: block; height: 1.22em; overflow: hidden; margin-top: .04em; }
.rotator-track { display: block; transition: transform .75s var(--ease); }
.rotator-track > span {
  display: block; height: 1.22em; line-height: 1.22; white-space: nowrap;
  background: var(--grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 8s linear infinite;
}
.lead { font-size: clamp(1.05rem, .4vw + 1rem, 1.2rem); line-height: 1.7; color: var(--muted); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--muted); font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { width: 18px; height: 18px; color: var(--pink-soft); stroke-width: 2.4; }

.hero-visual { position: relative; perspective: 1400px; }
.tilt {
  position: relative;
  transform: rotateX(var(--rx, 7deg)) rotateY(var(--ry, -12deg));
  transition: transform .5s var(--ease);
}
.panel { border-radius: 28px; padding: 18px; }
.panel-head { display: flex; align-items: center; gap: 12px; padding: 2px 4px 14px; border-bottom: 1px solid var(--stroke); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f7e; }
.dots i:nth-child(2) { background: #ffbd4a; }
.dots i:nth-child(3) { background: #3ddc97; }
.panel-title { font-size: .9rem; font-weight: 600; color: var(--muted); }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(61, 220, 151, .12); color: #6af5bb; font-size: .75rem; font-weight: 600; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.chart { margin-top: 14px; padding: 14px 16px 16px; border-radius: 18px; background: rgba(255, 255, 255, .045); border: 1px solid var(--stroke); }
.chart-head { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }
.chart-up { color: #6af5bb; font-size: .7rem; }
.bars { height: 96px; margin-top: 12px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; }
.bars i {
  height: var(--h); border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #ff5a86, rgba(139, 92, 246, .55));
  transform-origin: bottom; animation: grow 1.1s var(--ease) both; animation-delay: calc(var(--i) * 70ms + .6s);
}
.bars i:last-child { box-shadow: 0 0 18px rgba(255, 45, 111, .6); }
@keyframes grow { from { transform: scaleY(0); } }
.modules { margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.module {
  display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 14px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--stroke);
  font-size: .8rem; font-weight: 500; white-space: nowrap;
}
.module .icon { width: 17px; height: 17px; color: var(--pink-soft); }
.core-strip {
  margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px;
  border-radius: 16px; background: linear-gradient(120deg, rgba(255, 45, 111, .16), rgba(139, 92, 246, .14));
  border: 1px solid rgba(255, 90, 134, .3);
}
.core-label { display: inline-flex; align-items: center; gap: 6px; margin-right: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.core-label .icon { width: 16px; height: 16px; }
.chip { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: .75rem; color: #e6e8f5; }

.float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 10px; border-radius: 18px; font-size: .85rem; line-height: 1.3;
  background: linear-gradient(145deg, rgba(30, 34, 80, .72), rgba(20, 24, 64, .55));
  animation: bob 6s ease-in-out infinite;
  translate: calc(var(--px, 0) * var(--depth, 20px)) calc(var(--py, 0) * var(--depth, 20px));
  transition: translate .5s var(--ease);
}
.float strong { display: block; font-weight: 600; }
.float small { color: var(--muted); font-size: .75rem; }
.float-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-btn); box-shadow: 0 8px 20px -6px rgba(255, 45, 111, .7); }
.float-icon .icon { width: 18px; height: 18px; }
.fi-green { background: linear-gradient(135deg, #16a34a, #0d9488); box-shadow: 0 8px 20px -6px rgba(22, 163, 74, .7); }
.fi-violet { background: linear-gradient(135deg, #7c3aed, #4f46e5); box-shadow: 0 8px 20px -6px rgba(124, 58, 237, .7); }
.float-a { top: -28px; right: -22px; --depth: 34px; }
.float-b { top: 44%; left: -46px; --depth: 26px; animation-delay: -2s; }
.float-c { bottom: -26px; right: 30px; --depth: 18px; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* Marquee */
.marquee {
  margin-top: 96px; overflow: hidden;
  border-block: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .025);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 36px; padding: 22px 36px 22px 0; }
.marquee-group span { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: rgba(255, 255, 255, .75); white-space: nowrap; }
.marquee-group i { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(84px, 10vw, 140px) 0 0; }
#contact { padding-bottom: clamp(84px, 10vw, 140px); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { text-align: center; margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--pink-soft); background: rgba(255, 45, 111, .1); border: 1px solid rgba(255, 45, 111, .28);
}
.eyebrow .icon { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.section h2 { text-wrap: balance; margin: 18px 0 16px; font-size: clamp(1.9rem, 3.6vw + .5rem, 3.3rem); line-height: 1.12; font-weight: 700; letter-spacing: -.03em; }
.section-lead { color: var(--muted); font-size: clamp(1.02rem, .3vw + 1rem, 1.15rem); line-height: 1.7; }
.section-head.center .section-lead { max-width: 640px; margin-inline: auto; }

.icon-chip {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, rgba(255, 45, 111, .3), rgba(139, 92, 246, .3));
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 10px 24px -12px rgba(255, 45, 111, .8);
}
.icon-chip .icon { width: 22px; height: 22px; }
.icon-chip.sm { width: 42px; height: 42px; border-radius: 12px; }
.icon-chip.sm .icon { width: 20px; height: 20px; }
.icon-chip.lg { width: 56px; height: 56px; border-radius: 16px; }
.icon-chip.lg .icon { width: 26px; height: 26px; }

/* ---------- Solutions bento ---------- */
.bento {
  display: grid; gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "st st wh lg"
    "st st ps hr"
    "in in cu cu";
}
.b-storage { grid-area: st; } .b-wh { grid-area: wh; } .b-log { grid-area: lg; } .b-pos { grid-area: ps; }
.b-hr { grid-area: hr; } .b-inv { grid-area: in; } .b-custom { grid-area: cu; }
.card {
  border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .45s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-5px); border-color: var(--stroke-2); }
.card-top { display: flex; align-items: center; gap: 14px; }
.card h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
.card p { color: var(--muted); line-height: 1.65; font-size: .98rem; }

.unit-map { margin-top: auto; padding-top: 8px; display: grid; grid-template-columns: repeat(10, 1fr); gap: 7px; }
.unit-map i { aspect-ratio: 1; border-radius: 7px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .09); }
.unit-map i:nth-child(3n+1), .unit-map i:nth-child(5n) { background: linear-gradient(135deg, #ff4d7d, #d9467f); border-color: transparent; }
.unit-map i:nth-child(7n+3) { background: linear-gradient(135deg, #8b5cf6, #6d28d9); border-color: transparent; }
.unit-map i:nth-child(11n+6) { background: #f59e0b; border-color: transparent; animation: due 2s ease-in-out infinite; }
.unit-map i:nth-child(9) , .unit-map i:nth-child(23), .unit-map i:nth-child(32) { animation: flip 7s ease-in-out infinite; }
.unit-map i:nth-child(23) { animation-delay: -2.3s; }
.unit-map i:nth-child(32) { animation-delay: -4.6s; }
@keyframes due { 50% { box-shadow: 0 0 14px 2px rgba(245, 158, 11, .6); } }
@keyframes flip { 0%, 40% { background: rgba(255, 255, 255, .07); } 50%, 90% { background: linear-gradient(135deg, #ff4d7d, #d9467f); } }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .78rem; color: var(--faint); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.l-free { background: rgba(255, 255, 255, .18); } .l-occ { background: #ff4d7d; } .l-res { background: #8b5cf6; } .l-due { background: #f59e0b; }

.inv-list { display: grid; gap: 8px; margin-top: auto; }
.inv-list li {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--stroke); font-size: .8rem;
}
.inv-no { font-weight: 600; font-variant-numeric: tabular-nums; }
.inv-bar { flex: 1; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); }
.pill { padding: 3px 10px; border-radius: 999px; font-weight: 600; font-size: .72rem; white-space: nowrap; }
.pill-paid { background: rgba(61, 220, 151, .14); color: #6af5bb; }
.pill-due { background: rgba(245, 158, 11, .15); color: #fbbf24; }
.pill-sent { background: rgba(255, 45, 111, .16); color: var(--pink-soft); }

.b-custom {
  background: linear-gradient(135deg, rgba(255, 45, 111, .16), rgba(139, 92, 246, .14) 60%, rgba(37, 99, 235, .12));
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.b-custom .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work {
  border-radius: var(--radius); display: flex; flex-direction: column;
  transition: transform .45s var(--ease), border-color .3s;
}
.work:hover { transform: translateY(-5px); border-color: var(--stroke-2); }
.work-cover {
  position: relative; height: 150px; margin: 8px 8px 0; border-radius: 18px; overflow: hidden;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  background:
    radial-gradient(120% 90% at 15% 10%, color-mix(in srgb, var(--c1) 75%, transparent), transparent 60%),
    radial-gradient(110% 100% at 90% 100%, color-mix(in srgb, var(--c2) 70%, transparent), transparent 60%),
    #0b1030;
}
.work-cover::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
}
.cover-icon {
  position: relative; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 16px 30px -12px rgba(0, 0, 0, .5);
  transition: transform .6s var(--ease);
}
.cover-icon .icon { width: 30px; height: 30px; }
.work:hover .cover-icon { transform: scale(1.08) rotate(-4deg); }
.work-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work-cat { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pink-soft); }
.work h3 { font-size: 1.35rem; font-weight: 600; }
.work-body > p:not(.work-cat) { color: var(--muted); font-size: .96rem; line-height: 1.65; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.tags li { padding: 4px 10px; border-radius: 999px; font-size: .75rem; color: #dfe2f2; background: rgba(255, 255, 255, .07); border: 1px solid var(--stroke); }
.work-link { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; color: var(--pink-soft); font-weight: 600; font-size: .95rem; }
.work-link .icon { width: 16px; height: 16px; }
.work-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.work-feature { grid-column: span 2; flex-direction: row; }
.work-feature .work-cover { height: auto; flex: 1 1 46%; margin: 8px 0 8px 8px; place-items: center; align-content: center; gap: 18px; padding: 24px; }
.work-feature .work-body { flex: 1 1 54%; padding: 28px; }
.work-feature h3 { font-size: 1.7rem; }
.cover-chips { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 340px; }
.cover-chips span {
  padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 500;
  background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .24);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: chip-in .6s var(--ease) both; animation-delay: calc(var(--n, 0) * 80ms);
}
.cover-chips span:nth-child(2) { --n: 1; } .cover-chips span:nth-child(3) { --n: 2; } .cover-chips span:nth-child(4) { --n: 3; }
.cover-chips span:nth-child(5) { --n: 4; } .cover-chips span:nth-child(6) { --n: 5; } .cover-chips span:nth-child(7) { --n: 6; } .cover-chips span:nth-child(8) { --n: 7; }
.js .work-feature:not(.in) .cover-chips span { animation: none; opacity: 0; }
@keyframes chip-in { from { opacity: 0; transform: translateY(10px) scale(.9); } }

.work-next {
  border-radius: var(--radius); padding: 32px 28px; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, rgba(255, 45, 111, .14), rgba(139, 92, 246, .14));
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.next-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-btn); margin-bottom: 6px; box-shadow: 0 12px 28px -10px rgba(255, 45, 111, .8); }
.next-icon .icon { fill: #fff; stroke: none; width: 24px; height: 24px; }
.next-title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; }
.next-text { color: var(--muted); }
.next-cta { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--pink-soft); }
.next-cta .icon { transition: transform .3s var(--ease); }
.work-next:hover .next-cta .icon { transform: translateX(5px); }

/* ---------- Platform / core ---------- */
.core-layout { display: grid; grid-template-columns: 1fr minmax(260px, 340px) 1fr; gap: 26px; align-items: center; }
.core-col { display: grid; gap: 14px; }
.feature {
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; align-items: center;
  padding: 16px 18px; border-radius: 20px; transition: transform .45s var(--ease), border-color .3s;
}
.feature:hover { transform: translateY(-3px); border-color: var(--stroke-2); }
.feature .icon-chip { grid-row: span 2; }
.feature h3 { font-size: 1.02rem; font-weight: 600; }
.feature p { color: var(--muted); font-size: .9rem; line-height: 1.5; }

.core-orb { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.ring { position: absolute; border-radius: 50%; }
.ring-dash { inset: 4%; border: 1px dashed rgba(255, 255, 255, .2); animation: rotate 60s linear infinite; }
.ring-glow {
  inset: 13%; padding: 2px;
  background: conic-gradient(from var(--angle), transparent 0 60%, #ff2d6f 78%, #d946ef 88%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 5s linear infinite;
}
.orbit { position: absolute; inset: 4%; animation: rotate 14s linear infinite; }
.orbit i { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #ff5a86; box-shadow: 0 0 16px 4px rgba(255, 45, 111, .7); }
@keyframes rotate { to { transform: rotate(360deg); } }
.orb {
  position: relative; width: 66%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 0 90px -10px rgba(255, 45, 111, .55), 0 0 160px -30px rgba(139, 92, 246, .6);
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe { 50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 0 120px -6px rgba(255, 45, 111, .7), 0 0 200px -20px rgba(139, 92, 246, .7); } }
.orb-mark { width: 64px; height: auto; --mark-ink: #fff; margin-bottom: 4px; }
.orb strong { font-family: var(--font-display); font-size: 1.15rem; }
.orb small { color: var(--muted); font-size: .8rem; }

/* ---------- Process timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.timeline::before, .timeline::after {
  content: ""; position: absolute; top: 19px; left: 20px; right: 20px; height: 2px; border-radius: 2px;
}
.timeline::before { background: rgba(255, 255, 255, .1); }
.timeline::after { background: var(--grad); transform-origin: left; transform: scaleX(0); transition: transform 1.8s var(--ease) .2s; }
.timeline.in::after, .no-js .timeline::after { transform: scaleX(1); }
.step { display: flex; flex-direction: column; gap: 22px; }
.step-node {
  position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  background: #0b1030; border: 1.5px solid rgba(255, 255, 255, .25);
  transition: background .5s, border-color .5s, box-shadow .5s; transition-delay: calc(var(--d) * .4s + .3s);
}
.timeline.in .step-node, .no-js .step-node { background: var(--grad-btn); border-color: transparent; box-shadow: 0 0 22px rgba(255, 45, 111, .6); }
.step-card { flex: 1; padding: 24px; border-radius: 22px; transition: transform .45s var(--ease), border-color .3s; }
.step-card:hover { transform: translateY(-4px); border-color: var(--stroke-2); }
.step-card h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: .95rem; line-height: 1.65; }
.js .timeline .step { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d) * .15s); }
.js .timeline.in .step { opacity: 1; transform: none; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why { padding: 30px 28px; border-radius: var(--radius); transition: transform .45s var(--ease), border-color .3s; }
.why:hover { transform: translateY(-5px); border-color: var(--stroke-2); }
.why h3 { margin: 20px 0 10px; font-size: 1.25rem; font-weight: 600; }
.why p { color: var(--muted); line-height: 1.65; }

/* ---------- Contact ---------- */
.cta { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(36px, 6vw, 76px) clamp(20px, 5vw, 64px); text-align: center; }
.cta-glow {
  position: absolute; z-index: -1; left: 50%; top: -40%; width: 70%; height: 90%; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(255, 45, 111, .35), transparent);
  pointer-events: none; animation: breathe-glow 6s ease-in-out infinite;
}
@keyframes breathe-glow { 50% { opacity: .55; transform: scale(1.1); } }
.cta h2 { max-width: 820px; margin-inline: auto; }
.cta .section-lead { max-width: 560px; margin-inline: auto; }
.contact-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; }
.contact-card {
  display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 20px; min-width: 0;
  transition: transform .4s var(--ease), border-color .3s, background-color .3s;
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--stroke-2); }
.contact-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--grad-btn); box-shadow: 0 10px 24px -10px rgba(255, 45, 111, .9); }
.ci-green { background: linear-gradient(135deg, #16a34a, #0d9488); box-shadow: 0 10px 24px -10px rgba(22, 163, 74, .9); }
.ci-violet { background: linear-gradient(135deg, #7c3aed, #4f46e5); box-shadow: 0 10px 24px -10px rgba(124, 58, 237, .9); }
.contact-text { display: grid; min-width: 0; }
.contact-label { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.contact-value { font-weight: 600; font-size: 1.02rem; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--stroke); background: rgba(5, 8, 22, .55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 30px 0; font-size: .92rem; color: var(--muted); }
.footer-tag { margin-right: auto; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-contact a:hover { color: var(--ink); }
.footer-copy { width: 100%; font-size: .85rem; color: var(--faint); }

/* ---------- Floating WhatsApp ---------- */
.fab {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #052e16; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .7);
  transition: transform .4s var(--ease), opacity .4s;
}
.fab .icon { width: 28px; height: 28px; stroke-width: 2; }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); animation: ring 2.6s infinite; }
@keyframes ring { 70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.fab:hover { transform: scale(1.08); }
.js .fab { opacity: 0; transform: translateY(24px) scale(.85); pointer-events: none; }
.js .fab.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal]:not(.timeline) {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), border-color .3s;
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].in:not(.timeline) { opacity: 1; transform: none; }
.js .card.in:hover, .js .work.in:hover, .js .why.in:hover { transform: translateY(-5px); transition-delay: 0s; }
.js .feature.in:hover { transform: translateY(-3px); transition-delay: 0s; }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; padding: 24px; }
.notfound-card { max-width: 520px; padding: 44px 36px; border-radius: 28px; text-align: center; display: grid; justify-items: center; gap: 16px; }
.notfound-card h1 { font-size: clamp(2rem, 6vw, 2.8rem); }
.notfound-card p { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 72px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 600px; width: 100%; margin-inline: auto; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-areas: "st st" "wh lg" "ps hr" "in in" "cu cu"; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .core-layout { grid-template-columns: 1fr 1fr; }
  .core-orb { grid-column: 1 / -1; grid-row: 1; width: min(300px, 80%); margin-inline: auto; }
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; gap: 2px; padding: 10px; border-radius: 22px;
    background: linear-gradient(160deg, #1a1650, #0b0f2e 70%); border: 1px solid var(--stroke-2);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top center;
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; color: var(--ink); border-radius: 14px; }
  .nav-links-cta { display: block; }
  .nav-cta { margin-left: auto; }
  .js .nav-toggle { display: grid; }
  .no-js .nav-links { display: none; }

  .timeline { grid-template-columns: 1fr; gap: 16px; }
  .timeline::before, .timeline::after { top: 20px; bottom: 20px; left: 19px; right: auto; width: 2px; height: auto; }
  .timeline::after { transform: scaleY(0); transform-origin: top; }
  .timeline.in::after, .no-js .timeline::after { transform: scaleY(1); }
  .step { flex-direction: row; gap: 16px; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .container { width: min(var(--container), 100% - 32px); }
  .hero { padding-top: 120px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-visual { perspective: none; }
  .tilt { transform: none; }
  .panel { padding: 14px; border-radius: 22px; }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .bars { height: 72px; }
  .float { font-size: .78rem; padding: 8px 12px 8px 8px; border-radius: 14px; }
  .float-icon { width: 32px; height: 32px; border-radius: 10px; }
  .float-a { top: -30px; right: -6px; }
  .float-b { display: none; }
  .float-c { bottom: -28px; right: auto; left: -6px; }
  .marquee { margin-top: 80px; }
  .marquee-group span { font-size: .98rem; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "st" "wh" "lg" "ps" "hr" "in" "cu"; gap: 14px; }
  .card { padding: 22px; }
  .unit-map { gap: 5px; }
  .work-grid { grid-template-columns: 1fr; gap: 14px; }
  .work-feature { grid-column: auto; flex-direction: column; }
  .work-feature .work-cover { margin: 8px 8px 0; padding: 26px 16px; }
  .work-feature .work-body { padding: 20px 24px 24px; }
  .work-feature h3 { font-size: 1.45rem; }
  .core-layout { grid-template-columns: 1fr; gap: 14px; }
  .core-orb { width: min(280px, 82%); margin-bottom: 8px; }
  .orb { width: 74%; }
  .orb-mark { width: 52px; }
  .orb small { font-size: .74rem; }
  .site-footer { padding-bottom: 76px; }
}

@media (max-width: 380px) {
  .brand-name { font-size: 1.02rem; }
  .brand-mark { width: 32px; }
  .nav { padding-left: 14px; gap: 8px; }
  .nav-cta { padding: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .timeline .step { opacity: 1 !important; transform: none !important; }
  .timeline::after { transform: none !important; }
  .marquee-track { animation: none !important; }
}
