/* Vaakam design system v2 (21 Nov 2026): black, white, hairlines, one light gradient (lilac -> magenta -> coral -> gold)
   used only as light: the home journey, the dotted rings, focus and the footer wordmark. Loaded after site.css + app.css,
   it re-points their tokens and restyles the shared furniture. Font: Bricolage Grotesque (self-hosted, variable 500-700)
   for display, Anek Latin for body, JetBrains Mono for small labels. */
:root {
  --paper: #ffffff;
  --paper-2: #f5f4f2;
  --ink: #000000;
  --ink-2: #1c1c1c;
  --stone: #5b5b5b;
  --rule: #e4e2df;
  --rule-dark: #2a2a2a;
  --signal: #000000;
  --signal-dark: #1c1c1c;
  --note: #aaaaaa;
  --focus: #ff98e7;
  --grad: linear-gradient(90deg, #b6adff 0%, #ff35e3 34%, #ff4e52 66%, #ffb923 100%);
  --wrap: 1240px;
}
@media (min-width: 1800px) { :root { --wrap: 1480px; } }

html, body { background: #fff; }
body, .site-head, .mobile-nav, .alt { background-image: none !important; }
body { color: var(--ink); }
::selection { background: #ff98e7; color: #000; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 7px; border-radius: 2px; }
input:focus-visible, select:focus-visible, textarea:focus-visible, .vc-form textarea:focus-visible { outline-offset: 2px; }
.dark :focus-visible, .site-foot :focus-visible { outline-color: var(--focus); }

h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.04em; }
h1 { font-weight: 500; letter-spacing: -0.045em; line-height: .98; }
h2 { line-height: 1.02; }
h3 { letter-spacing: -0.025em; }
.label { color: var(--stone); }
.label::before { content: "\2022\00a0"; color: #ff35e3; }
.lede { color: var(--ink-2); }

/* links fade, they do not jump */
a { transition: opacity .2s; }
.nav a:hover, .site-foot a:hover, .link-arrow:hover, .foot-top a:hover { opacity: .65; text-decoration: none; }

/* ---------- header ---------- */
.site-head { background: rgba(255,255,255,1); border-bottom: 1px solid transparent; transition: background-color .3s, color .3s, border-color .3s, opacity .2s; }
.site-head .wrap { height: 72px; max-width: none; padding: 0 30px; }
@media (max-width: 760px) { .site-head .wrap { height: 64px; padding: 0 16px; } }
.nav { gap: 32px; }
.nav a { font-size: 16px; font-weight: 400; border-bottom: 0; padding: 6px 0; }
.nav a[aria-current="page"] { opacity: 1; box-shadow: inset 0 -1px 0 currentColor; }
.brand .logo-white { display: none; }
.head-cta.btn { border-radius: 999px; }
.scrolled .site-head, .site-head.scrolled { border-bottom-color: var(--rule); }

/* home: the header floats over the journey in white, then turns ink on the white page */
.pg-index .site-head { position: fixed; left: 0; right: 0; top: 0; background: transparent; color: #fff; }
.pg-index .site-head .logo-ink { display: none; }
.pg-index .site-head .logo-white { display: block; }
.pg-index .site-head .head-cta { background: #fff; color: #000; border-color: #fff; }
.pg-index .site-head .menu-btn { color: #fff; }
.pg-index .site-head.on-light { background: #fff; color: #000; border-bottom-color: var(--rule); }
.pg-index .site-head.on-light .logo-ink { display: block; }
.pg-index .site-head.on-light .logo-white { display: none; }
.pg-index .site-head.on-light .head-cta { background: #000; color: #fff; border-color: #000; }
.pg-index .site-head.on-light .menu-btn { color: #000; }
.pg-index .mobile-nav { background: #fff; color: #000; }

/* ---------- buttons ---------- */
.btn { border-radius: 999px; font-weight: 500; transition: background .25s, color .25s, border-color .25s, box-shadow .25s; }
.btn-primary, .btn-ink { background: #000; border-color: #000; color: #fff; }
.btn-primary:hover, .btn-ink:hover { background: #000; color: #fff; box-shadow: 0 0 0 1px #000, 0 10px 30px -12px rgba(255, 53, 227, .65), 0 6px 18px -10px rgba(255, 78, 82, .7); }
.btn:not(.btn-primary):not(.btn-ink):hover { background: #000; color: #fff; }
.dark .btn-primary { background: #fff; border-color: #fff; color: #000; }
.dark .btn-primary:hover { background: #fff; color: #000; }
.link-arrow { text-decoration: none; box-shadow: inset 0 -1px 0 currentColor; }

/* ---------- sections ---------- */
.alt { background-color: var(--paper-2); }
.dark { background: #000; color: #fff; }
.dark .label, .dark .muted { color: var(--note); }
.page-head { border-bottom: 1px solid #222; }
.page-head h1 { font-size: clamp(44px, 7.4vw, 120px); max-width: 14ch; }
.art, .foot-frieze { display: none !important; }
.tier, .card { border-radius: 0; }

/* white page lifts off the sticky black footer */
main { position: relative; z-index: 2; background: #fff; }
.site-foot { position: sticky; bottom: 0; z-index: 0; }
.foot-tall .site-foot { position: relative; }
@media (prefers-reduced-motion: reduce) { .site-foot { position: relative; } }

/* ---------- footer ---------- */
.site-foot { background: #000; color: #fff; padding: 30px 0 0; overflow: hidden; }
.foot-in { padding: 0 30px; max-width: none; }
.foot-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 24px; font-size: 13px; line-height: 1.45; color: #fff; }
.foot-top p { margin: 0; }
.foot-top .r { text-align: right; }
.foot-top a { text-decoration: none; }
.foot-mark { color: #fff; display: block; }
.site-foot .foot-grid { margin-top: 72px; display: grid; gap: 32px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.site-foot h4 { font: 400 13px/1.2 var(--f-body); color: var(--note); margin-bottom: 14px; letter-spacing: 0; }
.site-foot li { margin-bottom: 6px; font-size: 15px; }
.foot-base { margin-top: 48px; border-top: 1px solid #222; font-size: 13px; color: var(--note); }
.foot-note { font-size: 13px; color: var(--note); }
.foot-word { display: block; width: calc(100% + 40px); height: calc((100vw + 40px) * .25); margin: 28px -20px -5px; }
.fw-t { font: 600 300px/1 var(--f-display); letter-spacing: -0.04em; }
@media (max-width: 760px) {
  .foot-in { padding: 0 16px; }
  .foot-top { grid-template-columns: 1fr auto; }
  .foot-top .foot-mark { grid-row: 1; grid-column: 2; }
  .foot-top .r { grid-column: 1 / -1; text-align: left; }
  .site-foot .foot-grid { margin-top: 56px; grid-template-columns: 1fr 1fr; }
}

/* ---------- home journey ---------- */
.journey { position: relative; height: 720vh; background: #000; padding: 0; }
@media (max-width: 760px) { .journey { height: 650vh; } }
.j-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #000; color: #fff; }
.j-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.journey[data-webgl="off"] .j-canvas { display: none; }
.journey[data-webgl="off"] .j-stage { background: radial-gradient(ellipse at 50% 50%, #ffb342, #ff4a65 35%, #ec4dcd 65%, #000); }
.j-intro { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none;
  font: 500 clamp(90px, 11vw, 190px)/.77 var(--f-display); letter-spacing: -0.04em; text-align: center; will-change: filter, opacity, transform; }
.j-line { display: block; padding: .06em 0; will-change: filter, transform; }
.j-note { position: absolute; left: 0; right: 0; bottom: 34px; margin: 0; text-align: center; font-size: 13px; color: var(--note); display: flex; justify-content: center; align-items: center; gap: 8px; }
.j-note svg { animation: j-bob 1.8s ease-in-out infinite; }
@keyframes j-bob { 50% { transform: translateY(4px); } }
.j-hero { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; visibility: hidden; }
.j-word { font: 600 calc(78vw / 3.3) var(--f-display); letter-spacing: -0.04em; line-height: 1; color: #fff; opacity: 0; }
.journey[data-webgl="off"] .j-word { opacity: .3; }
.j-tag { position: absolute; left: 0; right: 0; bottom: 34px; margin: 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.8); }
.j-door { position: absolute; left: 0; right: 0; bottom: 34px; margin: 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.85); visibility: hidden; }
.j-portal { position: absolute; inset: 0; pointer-events: none; visibility: hidden; }
.j-big { position: absolute; left: 0; right: 0; top: 11vh; margin: 0; text-align: center; color: #fff; mix-blend-mode: difference;
  font: 500 clamp(52px, 6vw, 112px)/.94 var(--f-display); letter-spacing: -0.04em; }
.j-side { position: absolute; top: 47%; margin: 0; font-size: 13px; line-height: 1.45; color: rgba(255,255,255,.9); }
.j-left { left: 30px; } .j-right { right: 30px; text-align: right; }
@media (max-width: 760px) {
  .j-intro { font-size: clamp(64px, 19vw, 96px); }
  .j-big { top: 13%; font-size: clamp(44px, 12.5vw, 64px); }
  .j-side { top: auto; left: 16px; right: 84px; text-align: left; } .j-side br { display: none; }
  .j-left { bottom: 84px; } .j-right { bottom: 34px; left: 16px; right: 84px; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .j-note svg { animation: none; } }

/* ---------- studio (white section over the stage) ---------- */
.studio { position: relative; z-index: 2; background: #fff; padding: 0 0 120px; border-top: 1px solid #222; }
.wrap-wide { padding: 0 30px; max-width: 1800px; margin: 0 auto; }
@media (max-width: 760px) { .wrap-wide { padding: 0 16px; } }
.dot-label { font-size: 13px; margin: 22px 0 0; }
.dot-label::before { content: "\2022\00a0"; color: #ff35e3; }
.rings { display: block; width: 100%; height: auto; margin-top: 34px; }
.ring-names { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); font-size: 13px; text-align: center; color: var(--stone); }
.studio-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 45px; margin-top: 155px; align-items: start; }
.studio-grid h2 { font-size: clamp(42px, 5.4vw, 85px); line-height: 1.02; }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 45px 35px; }
.feats h3 { font: 500 20px/1.2 var(--f-display); letter-spacing: -0.02em; margin: 0 0 10px; }
.feats p { font-size: 14px; line-height: 1.38; max-width: 36ch; margin: 0; color: var(--ink-2); }
@media (max-width: 760px) {
  .rings { width: 170%; max-width: none; margin-left: -20%; }
  .ring-names { grid-template-columns: 1fr 1fr; text-align: left; gap: 6px 16px; }
  .studio-grid { grid-template-columns: 1fr; margin-top: 72px; }
  .feats { grid-template-columns: 1fr; gap: 28px; }
}
.pg-index .hero { padding-top: 96px; }

/* ---------- chat widget + checkout, same system ---------- */
.vc-launch { border-radius: 999px; background: #000; border-color: #000; color: #fff; }
.vc-launch:hover { background: #000; box-shadow: 0 10px 30px -12px rgba(255, 53, 227, .65), 0 6px 18px -10px rgba(255, 78, 82, .7); }
.vc-panel { border-color: #d9d7d3; border-radius: 14px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.35); }
.vc-head { background: #fff; }
.vc-msg.bot { background: var(--paper-2); border-color: transparent; }
.vc-form { border-color: #c9c6c1; border-radius: 12px; }
.plan-opt, .consent { border-color: #c9c6c1; border-radius: 10px; }
.tpay, .rv, .adm-card { border-color: #d9d7d3; }
.rv { background: #fff; }
.vc-launch { border-color: rgba(255,255,255,.28); }

.studio { overflow: hidden; }

/* the "what we build" stage: black with the brand light instead of six flat pigments */
.xp-stage, .xp-stage[data-c] { background: radial-gradient(120% 90% at 88% 112%, rgba(255, 78, 82, .55), transparent 55%), radial-gradient(90% 80% at 8% -12%, rgba(182, 173, 255, .38), transparent 60%), #0a0a0a; }
.print-band { display: none; }
.ticker span::after, .ticker span:nth-child(3n+2)::after, .ticker span:nth-child(3n)::after { background: #ff35e3; }
.ticker span:nth-child(3n+2)::after { background: #ffb923; } .ticker span:nth-child(3n)::after { background: #b6adff; }
