/* =========================================================
   Virtuopify — site styles
   Deep Navy stage, Royal Blue, Fresh Green and Warm Ivory.
   Big slab-serif display type, pill controls, one green accent.
   (Variable names are older: --espresso = navy, --mocha = blue, --gold/--amber = green, --cream = ivory.)
   ========================================================= */

@font-face { font-family: "Alfa Slab One"; src: url("../fonts/alfa-slab-one-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Roboto Slab"; src: url("../fonts/roboto-slab-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --espresso: #071b35;
  --espresso-2: #0b2445;
  --espresso-3: #12315c;
  --footer: #04122a;
  --mocha: #2864f0;
  --mocha-2: #5b8bf7;
  --gold: #46d994;
  --gold-2: #2fb97a;
  --amber: #46d994;
  --amber-2: #6be3aa;
  --cream: #f6f1e7;
  --cream-2: #b9c3d3;
  --cream-3: #7d8ba3;
  --line: rgba(246, 241, 231, 0.12);
  --line-2: rgba(246, 241, 231, 0.24);
  --gold-grad: linear-gradient(100deg, #f6f1e7 0%, #f6f1e7 32%, #a6ecc9 72%, #46d994 100%);

  --slab: "Alfa Slab One", "Rockwell", "Roboto Slab", Georgia, serif;
  --thin: "Roboto Slab", "Rockwell", Georgia, serif;
  --body: "Outfit", "Segoe UI", system-ui, sans-serif;

  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: clamp(1.75rem, 1.3rem + 1.6vw, 2.4rem);
  --step-4: clamp(2.2rem, 1.3rem + 3.2vw, 3.6rem);
  --step-5: clamp(2.8rem, 1.2rem + 5.4vw, 6rem);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --nav-h: 76px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, html body { background: var(--espresso); color: var(--cream); }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--espresso); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; font-weight: 400; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
::selection { background: var(--amber); color: var(--cream); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--cream); color: var(--espresso); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 16px; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

.slab { font-family: var(--slab); font-weight: 400; letter-spacing: -0.01em; line-height: 1; }
.display { font-family: var(--slab); font-weight: 400; font-size: var(--step-4); line-height: 1.04; letter-spacing: -0.01em; color: var(--gold); text-wrap: balance; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .display, .finale-shake h2, .outro-title {
    width: fit-content; max-width: 100%;
    background-image: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
    padding-bottom: 0.1em; margin-bottom: -0.1em;
  }
}

/* ---------- pills ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 500 0.95rem/1 var(--body); letter-spacing: 0.01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}
.pill:active { transform: translateY(1px); }
.pill-amber { background: var(--amber); color: var(--espresso); }
.pill-amber:hover { background: var(--amber-2); }
.pill-dark { background: rgba(11, 36, 69, 0.82); color: var(--cream); border-color: var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pill-dark:hover { border-color: var(--gold-2); }
.pill-line { background: transparent; color: var(--cream); border-color: var(--cream); }
.pill-line:hover { background: var(--cream); color: var(--espresso); }
.pill-lg { min-height: 54px; padding: 0 30px; font-size: 1.02rem; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 var(--gutter);
  transition: background 0.3s, opacity 0.6s, transform 0.6s;
}
.nav.is-solid { background: linear-gradient(180deg, rgba(7, 27, 53, 0.92), rgba(7, 27, 53, 0.6) 70%, rgba(7, 27, 53, 0)); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-word { width: 150px; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.menu-wrap { position: relative; }
.menu-btn { gap: 12px; }
.menu-icon { display: inline-grid; gap: 3px; width: 16px; }
.menu-icon i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.25s, opacity 0.25s; }
.menu-btn[aria-expanded="true"] { background: var(--amber); border-color: var(--amber); color: var(--espresso); }
.menu-btn[aria-expanded="true"] .menu-icon i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-icon i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 210px; padding: 10px;
  display: grid; gap: 2px; border-radius: 18px; background: rgba(5, 18, 38, 0.96); border: 1px solid var(--line);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8); transform-origin: top right; animation: menu-in 0.25s ease;
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px) scale(0.97); } }
.menu-panel a { padding: 10px 14px; border-radius: 12px; text-decoration: none; color: var(--cream-2); font-weight: 500; }
.menu-panel a:hover { background: var(--espresso-3); color: var(--cream); }
.js .is-loading .nav, .js .is-loading .wa-float { opacity: 0; transform: translateY(-12px); pointer-events: none; }

/* =========================================================
   THE ISLAND
   ========================================================= */
.world { position: relative; height: calc(100vh + 11 * 80vh + 80vh); height: calc(100svh + 11 * 80svh + 80svh); }
.world-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--espresso); }
#world { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.world-still { display: none; }
.world-anchor { position: absolute; left: 0; top: calc(100vh + 80vh - 40px); top: calc(100svh + 80svh - 40px); width: 1px; height: 1px; }
.world-fallback { display: none; }
.tour-shade { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; background: linear-gradient(90deg, rgba(7, 27, 53, 0.95) 0%, rgba(7, 27, 53, 0.8) 30%, rgba(7, 27, 53, 0) 48%); }

.world-labels { position: absolute; inset: 0; pointer-events: none; z-index: 6; }
.station-label {
  position: absolute; left: 0; top: 0; pointer-events: auto; opacity: 0;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 11px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(7, 27, 53, 0.86); color: var(--cream);
  font: 500 0.82rem/1 var(--body); white-space: nowrap; cursor: pointer;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.9);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.station-label::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 1px; height: 8px; background: var(--line-2); }
.sl-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mocha-2); }
.station-label:nth-child(even) .sl-dot { background: var(--amber); }
.station-label.is-active, .station-label:hover { background: var(--amber); border-color: var(--amber); color: var(--espresso); }
.station-label.is-active .sl-dot, .station-label:hover .sl-dot { background: var(--espresso); }

.hero-copy { position: absolute; z-index: 5; left: 0; right: 0; bottom: max(26px, 3vh); padding: 0 var(--gutter); pointer-events: none; text-align: center; will-change: opacity, transform; }
.hero-title { margin: 0; }
.hero-word { width: min(860px, 64vw); margin: 0 auto; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55)); }
.hero-sub { margin-top: 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-tag { margin-top: 12px; font: 600 clamp(0.72rem, 0.66rem + 0.25vw, 0.88rem)/1 var(--body); letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold); padding-left: 0.34em; }
.hero-line { font-family: var(--thin); font-weight: 300; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.7rem); letter-spacing: 0.02em; color: var(--cream); }
.hero-hint { display: inline-flex; align-items: center; gap: 10px; color: var(--cream-3); font-size: 0.9rem; }
.hero-hint::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(70, 217, 148, 0.25); }
.hint-touch { display: none; }
@media (hover: none) { .hint-pointer { display: none; } .hint-touch { display: inline; } }
.js .hero-word { clip-path: inset(0 0 100% 0); transform: translateY(30px); transition: clip-path 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .hero-sub, .js .hero-tag { opacity: 0; transition: opacity 0.9s ease 0.4s; }
.js .hero-tag { transition-delay: 0.25s; }
.js .is-revealed .hero-word { clip-path: inset(-30% -12% -45% -12%); transform: none; }
.js .is-revealed .hero-sub, .js .is-revealed .hero-tag { opacity: 1; }

.tour-copy { position: absolute; z-index: 10; left: var(--gutter); top: calc(var(--nav-h) + 2vh); width: min(430px, 36vw); opacity: 0; visibility: hidden; }
.tour-heading { font-family: var(--thin); font-weight: 300; font-size: 1.05rem; letter-spacing: 0.04em; color: var(--cream-2); }
.tour-count { margin-top: 4px; font-family: var(--slab); font-size: 2.6rem; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.tour-count span:last-child { color: var(--cream-3); font-size: 1.4rem; }

.tour-nav { position: absolute; z-index: 10; right: calc(var(--gutter) + 72px); bottom: 30px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; max-width: 60vw; opacity: 0; visibility: hidden; }
.tour-nav button { min-width: 42px; min-height: 34px; padding: 0 11px; font-variant-numeric: tabular-nums; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(7, 27, 53, 0.8); font: 500 0.8rem/1 var(--body); color: var(--cream-2); cursor: pointer; transition: all 0.2s; }
.tour-nav button:hover { color: var(--cream); border-color: var(--gold-2); }
.tour-nav button[aria-current="true"] { background: var(--amber); color: var(--espresso); border-color: var(--amber); }

.outro-copy { position: absolute; z-index: 10; left: var(--gutter); top: 50%; transform: translateY(-50%); width: min(460px, 38vw); opacity: 0; visibility: hidden; }
.outro-title { font-family: var(--slab); font-size: var(--step-4); line-height: 1.04; color: var(--gold); text-wrap: balance; }
.outro-text { margin: 16px 0 26px; color: var(--cream-2); font-size: 1.1rem; }

/* ---------- service card (opens on hover / tap, docked in the tour) ---------- */
.notepad {
  position: absolute; z-index: 30; left: 0; top: 0; width: min(380px, calc(100vw - 32px));
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(14px) scale(0.97);
  transition: transform 0.35s ease, opacity 0.25s ease, visibility 0s linear 0.35s;
}
.notepad.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: transform 0.55s cubic-bezier(0.2, 0.9, 0.2, 1.05), opacity 0.25s ease, visibility 0s; }
.np-page {
  position: relative; overflow: hidden; padding: 22px 22px 18px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(16, 44, 82, 0.97), rgba(9, 30, 58, 0.97));
  border: 1px solid rgba(126, 162, 247, 0.22);
  box-shadow: 0 34px 70px -30px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.np-page::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--mocha), var(--amber)); transform-origin: left; transform: scaleX(0); }
.notepad.is-writing .np-page::before { transform: scaleX(1); transition: transform 0.9s cubic-bezier(0.3, 0.7, 0.2, 1) 0.1s; }
.np-close { display: none; position: absolute; z-index: 3; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--espresso); cursor: pointer; place-items: center; }
.np-close svg { width: 15px; height: 15px; stroke: var(--cream); stroke-width: 2; stroke-linecap: round; fill: none; }
.np-head { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; }
.np-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--mocha), #1fae6e); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.np-icon svg { width: 22px; height: 22px; fill: none; stroke: #ffffff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.np-title { font-family: var(--slab); font-size: 1.45rem; line-height: 1.1; color: var(--cream); }
.np-intro { margin-top: 5px; color: var(--cream-2); font-size: 0.92rem; line-height: 1.45; }
.np-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.np-steps li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 1px 12px; }
.np-steps li:not(:last-child)::before { content: ""; position: absolute; left: 13.5px; top: 30px; bottom: -12px; width: 1px; background: var(--line-2); transform-origin: top; transform: scaleY(0); }
.np-mark { grid-row: span 2; position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(126, 162, 247, 0.45); display: grid; place-items: center; font: 600 0.72rem/1 var(--body); color: var(--gold); background: var(--espresso); transition: background-color 0.3s, border-color 0.3s; }
.np-mark svg { position: absolute; width: 14px; height: 14px; fill: none; stroke: var(--espresso); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; }
.np-step-t { font-weight: 600; font-size: 0.98rem; line-height: 1.3; color: var(--cream); padding-top: 4px; }
.np-step-d { color: var(--cream-2); font-size: 0.85rem; line-height: 1.45; }
.np-tools { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px; }
.np-tools span { padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(126, 162, 247, 0.3); color: var(--gold); font-size: 0.76rem; font-weight: 500; }

/* items arrive one after another, then each step gets its tick */
.np-head, .np-steps li, .np-tools { opacity: 0; transform: translateY(8px); }
.notepad.is-writing .np-head, .notepad.is-writing .np-steps li, .notepad.is-writing .np-tools { opacity: 1; transform: none; transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1); }
.notepad.is-writing .np-head { transition-delay: 0.08s; }
.notepad.is-writing .np-steps li { transition-delay: calc(0.22s + var(--i) * 0.1s); }
.notepad.is-writing .np-tools { transition-delay: calc(0.35s + var(--n) * 0.1s); }
.notepad.is-writing .np-steps li::before { transform: scaleY(1); transition: transform 0.4s ease calc(0.6s + var(--i) * 0.18s); }
.notepad.is-writing .np-mark { background: var(--amber); border-color: var(--amber); color: transparent; transition-delay: calc(0.55s + var(--i) * 0.18s); }
.notepad.is-writing .np-mark svg { stroke-dashoffset: 0; transition: stroke-dashoffset 0.35s ease calc(0.6s + var(--i) * 0.18s); }

.notepad.is-docked { left: var(--gutter); top: calc(var(--nav-h) + 2vh + 92px); width: min(420px, 36vw); }
.notepad.is-docked .np-page { max-height: calc(100vh - var(--nav-h) - 2vh - 92px - 32px); overflow: auto; }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { position: relative; padding: clamp(88px, 12vw, 150px) 0; }
.section-head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head p { margin-top: 16px; color: var(--cream-2); font-size: 1.1rem; max-width: 58ch; }

/* about: text on the left, the 3D logo on the right, over soft light, drifting dust and an endless tunnel of frames */
.about { position: relative; overflow: hidden; isolation: isolate; padding: clamp(80px, 10vw, 140px) 0; background: linear-gradient(180deg, var(--espresso) 0%, #0d2a52 48%, var(--espresso-2) 100%); }
.about-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.about-bg::before, .about-bg::after { content: ""; position: absolute; left: 0; right: 0; height: 22%; z-index: 1; }
.about-bg::before { top: 0; background: linear-gradient(180deg, var(--espresso), rgba(7, 27, 53, 0)); }
.about-bg::after { bottom: 0; background: linear-gradient(0deg, var(--espresso-2), rgba(11, 36, 69, 0)); }
.blob { position: absolute; border-radius: 50%; opacity: 0.55; }
.blob-1 { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: radial-gradient(circle, rgba(70, 217, 148, 0.6), rgba(70, 217, 148, 0.18) 40%, rgba(70, 217, 148, 0) 70%); animation: drift-1 19s ease-in-out infinite alternate; }
.blob-2 { width: 52vw; height: 52vw; right: -16vw; bottom: -20vw; background: radial-gradient(circle, rgba(40, 100, 240, 0.85), rgba(40, 100, 240, 0) 70%); animation: drift-2 23s ease-in-out infinite alternate; }
.blob-3 { width: 30vw; height: 30vw; left: 38%; top: 30%; background: radial-gradient(circle, rgba(126, 162, 247, 0.45), rgba(126, 162, 247, 0) 70%); opacity: 0.35; animation: drift-3 17s ease-in-out infinite alternate; }
@keyframes drift-1 { to { transform: translate(22vw, 18vw) scale(1.15); } }
@keyframes drift-2 { to { transform: translate(-20vw, -14vw) scale(0.9); } }
@keyframes drift-3 { 0% { transform: translate(-10vw, -6vw) scale(0.9); } 100% { transform: translate(12vw, 10vw) scale(1.2); } }
.about-dust { position: absolute; inset: 0; width: 100%; height: 100%; }
.tunnel { position: absolute; inset: 0; z-index: -1; pointer-events: none; perspective: 800px; }
.tunnel span { position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; border: 1px solid rgba(126, 162, 247, 0.3); border-radius: 36px; opacity: 0; transform: translate(-50%, -50%) scale(0.04); animation: tunnel 15s linear infinite; animation-delay: calc(var(--k) * -1.25s); }
.tunnel span:nth-child(1) { --k: 0; } .tunnel span:nth-child(2) { --k: 1; } .tunnel span:nth-child(3) { --k: 2; } .tunnel span:nth-child(4) { --k: 3; }
.tunnel span:nth-child(5) { --k: 4; } .tunnel span:nth-child(6) { --k: 5; } .tunnel span:nth-child(7) { --k: 6; } .tunnel span:nth-child(8) { --k: 7; }
.tunnel span:nth-child(9) { --k: 8; } .tunnel span:nth-child(10) { --k: 9; } .tunnel span:nth-child(11) { --k: 10; } .tunnel span:nth-child(12) { --k: 11; }
@keyframes tunnel {
  0% { transform: translate(-50%, -50%) scale(0.04); opacity: 0; }
  12% { opacity: 0.9; }
  70% { opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.25); opacity: 0; }
}
.about-mark { position: absolute; left: 50%; top: 50%; width: min(300px, 60%); transform: translate(-50%, -50%); opacity: 0.9; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 60px rgba(70, 217, 148, 0.25)); animation: float 8s ease-in-out infinite; pointer-events: none; }
@keyframes float { 0%, 100% { transform: translate(-50%, -52%) rotate(-4deg); } 50% { transform: translate(-50%, -46%) rotate(3deg); } }
.about-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px clamp(32px, 5vw, 80px); align-items: center; }
.about-visual { position: relative; aspect-ratio: 1 / 0.92; pointer-events: none; }
.about-3d { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.about.is-3d .about-mark { display: none; }
.about-rows { position: relative; display: grid; gap: clamp(44px, 6vw, 80px); }
.about-row { display: grid; gap: 18px; }
.about-row .slab { font-size: clamp(2.4rem, 0.9rem + 3.8vw, 4.6rem); text-transform: uppercase; color: var(--cream); }
.slab-v { display: inline-block; height: 1.02em; width: auto; margin-right: 0.04em; vertical-align: -0.12em; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45)); }
.about-row p { color: var(--cream-2); font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.2rem); max-width: 48ch; }

/* process */
.process { background: var(--espresso-2); }
.legend { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; color: var(--cream-2); }
.legend-item { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.key { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.key-you { background: var(--mocha-2); }
.key-us { background: var(--amber); }
.steps-line { height: 2px; background: var(--line); border-radius: 2px; margin-bottom: 40px; overflow: hidden; }
.steps-line span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--progress, 0)); background: linear-gradient(90deg, var(--mocha-2), var(--amber) 35%, var(--gold) 70%, var(--mocha-2)); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step-n { font-family: var(--slab); font-size: 2.6rem; line-height: 1; color: var(--c); font-variant-numeric: tabular-nums; }
.step-you { --c: var(--mocha-2); }
.step-us { --c: var(--amber); }
.step h3 { margin-top: 18px; font-family: var(--body); font-weight: 600; font-size: var(--step-1); color: var(--cream); }
.step p { margin-top: 10px; color: var(--cream-2); font-size: 0.98rem; }

/* coverage */
.coverage-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px clamp(40px, 6vw, 80px); grid-template-areas: "copy globe"; align-items: center; }
.coverage-copy { grid-area: copy; }
.coverage-copy p { margin-top: 18px; color: var(--cream-2); font-size: 1.1rem; max-width: 52ch; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.facts li { padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--espresso-2); color: var(--cream-2); font-size: 0.95rem; }
.facts strong { color: var(--gold); font-weight: 600; margin-right: 4px; }
.globe-wrap { grid-area: globe; align-self: center; aspect-ratio: 1; max-width: 100%; }
.globe-wrap canvas { width: 100%; height: 100%; display: block; }
.clocks { grid-area: clocks; list-style: none; margin: 0; padding: 0; border-radius: 22px; border: 1px solid var(--line); background: var(--espresso-2); overflow: hidden; }
.clock { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "city time" "who status"; gap: 2px 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.clock:last-child { border-bottom: 0; }
.clock .city { grid-area: city; font-weight: 600; font-size: 1.05rem; color: var(--cream); }
.clock .who { grid-area: who; color: var(--cream-3); font-size: 0.88rem; }
.clock time { grid-area: time; font-family: var(--slab); font-size: 1.5rem; font-variant-numeric: tabular-nums; text-align: right; line-height: 1.1; color: var(--cream); }
.clock .status { grid-area: status; justify-self: end; font-size: 0.82rem; color: var(--cream-3); display: inline-flex; align-items: center; gap: 7px; }
.clock .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #33476a; }
.clock.is-open .status { color: var(--cream-2); }
.clock.is-open .status::before { background: var(--amber); }
.clock-home { background: linear-gradient(90deg, rgba(70, 217, 148, 0.18), transparent 75%); }
.clock-home .city { color: var(--gold); }

/* work */
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.work-title { display: grid; line-height: 0.95; }
.work-title .thin { font-family: var(--thin); font-weight: 300; font-size: clamp(3rem, 1.2rem + 6vw, 6.2rem); text-transform: uppercase; color: var(--cream); letter-spacing: 0.01em; }
.work-title .thick { font-family: var(--slab); font-size: clamp(1.3rem, 0.9rem + 1.6vw, 2.2rem); text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.badge-plus { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px; border: 1px solid rgba(126, 162, 247, 0.4); background: rgba(70, 217, 148, 0.12); color: var(--cream-2); }
.badge-plus svg { width: 22px; height: 22px; fill: var(--gold); }
.badge-plus strong { color: var(--gold); font-weight: 600; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter { min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--cream-2); font: 500 0.9rem/1 var(--body); cursor: pointer; transition: all 0.2s; }
.filter:hover { color: var(--cream); }
.filter[aria-pressed="true"] { background: var(--amber); color: var(--espresso); border-color: var(--amber); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.work-card { display: flex; flex-direction: column; text-align: left; padding: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--espresso-2); color: inherit; font: inherit; cursor: pointer; transition: border-color 0.3s, transform 0.3s; }
.work-card:hover { border-color: rgba(126, 162, 247, 0.4); transform: translateY(-4px); }
.cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: radial-gradient(120% 90% at 20% 10%, var(--c1), transparent 60%), radial-gradient(90% 90% at 100% 100%, var(--c2), transparent 60%), #0e2647; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-art { position: absolute; inset: 0; display: grid; place-items: center; }
.cover-art svg { width: 58px; height: 58px; fill: none; stroke: var(--cream); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.85; }
.work-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.work-cat { font-size: 0.82rem; color: var(--amber-2); font-weight: 600; }
.work-card h3 { font-family: var(--body); font-weight: 600; font-size: 1.12rem; line-height: 1.25; color: var(--cream); }
.work-client { color: var(--cream-3); font-size: 0.9rem; }
.work-summary { color: var(--cream-2); font-size: 0.95rem; }
.cta-card { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 32px; border-radius: 20px; background: var(--cream); color: var(--espresso); }
.cta-card h3 { font-family: var(--body); font-weight: 600; font-size: 1.6rem; line-height: 1.15; color: var(--espresso); }
.cta-card p { color: #3d4b63; }
.cta-card .pill { align-self: flex-start; margin-top: 8px; border-color: var(--espresso); color: var(--espresso); }
.cta-card .pill:hover { background: var(--espresso); color: var(--cream); }
.empty-note { color: var(--cream-3); padding: 32px 0; }
.work-dialog { width: min(640px, calc(100% - 32px)); padding: 0; border: 1px solid var(--line-2); border-radius: 22px; background: var(--espresso-2); color: var(--cream); overflow: hidden; }
.work-dialog::backdrop { background: rgba(2, 8, 20, 0.7); backdrop-filter: blur(4px); }
.wd-cover { aspect-ratio: 16 / 7; }
.wd-body { padding: 24px 26px 28px; display: grid; gap: 12px; }
.wd-meta { color: var(--amber-2); font-size: 0.88rem; font-weight: 600; }
.wd-body h3 { font-family: var(--slab); font-size: var(--step-2); line-height: 1.15; }
.wd-body p:not(.wd-meta) { color: var(--cream-2); }
.wd-tags { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wd-tags li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.85rem; color: var(--gold); }
.wd-body .pill { justify-self: start; margin-top: 8px; }
.wd-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(7, 27, 53, 0.85); cursor: pointer; display: grid; place-items: center; }
.wd-close svg { width: 18px; height: 18px; stroke: var(--cream); stroke-width: 2; stroke-linecap: round; }

/* marquee: one straight band of services */
.marquee { position: relative; overflow: hidden; padding: clamp(40px, 5vw, 64px) 0; }
.band { position: relative; padding: 16px 0; overflow: hidden; background: var(--cream); color: var(--espresso); border-block: 1px solid rgba(255, 255, 255, 0.08); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; will-change: transform; }
.marquee-track span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-family: var(--thin); font-weight: 300; font-size: clamp(1.6rem, 1rem + 2.2vw, 2.8rem); text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; line-height: 1.15; }
.marquee-track span::before { content: ""; width: 0.45em; height: 0.45em; border-radius: 50%; border: 2px solid var(--mocha); flex: none; }
.marquee-track span:nth-child(2n)::before { border-color: var(--amber); background: var(--amber); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* handshake CTA */
.finale-shake { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 10px 0 20px; }
.finale-shake h2 { font-size: clamp(2rem, 0.9rem + 2.2vw, 3.1rem); color: var(--gold); }
.shake { position: relative; width: min(380px, 74vw); aspect-ratio: 720 / 611; margin: 44px 0 36px; }
.shake-grip { position: absolute; inset: 0; transform-origin: 44.7% 74.5%; }
.shake-3d { position: absolute; left: -70%; top: -30%; width: 240%; height: 160%; pointer-events: none; }
.shake.is-3d .shake-grip, .shake.is-3d .shake-spark { display: none; }
.shake-hand { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform, opacity; opacity: 0; transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease, filter 0.8s ease; }
/* the two hands start apart, each reaching in from its own side */
.shake-blue { transform-origin: 10% 30%; transform: translate(-68%, 18%) rotate(-24deg); }
.shake-teal { transform-origin: 90% 5%; transform: translate(68%, -16%) rotate(22deg); }
.shake.is-in .shake-hand { opacity: 1; transform: none; }
/* they meet, grip, and pump three times around the clasp */
.shake.is-joined .shake-grip { animation: pump 1.5s cubic-bezier(0.45, 0, 0.3, 1) 1; }
@keyframes pump {
  0% { transform: none; }
  14% { transform: translateY(12px) rotate(4deg); }
  30% { transform: translateY(-10px) rotate(-3.5deg); }
  46% { transform: translateY(10px) rotate(3deg); }
  62% { transform: translateY(-7px) rotate(-2deg); }
  78% { transform: translateY(5px) rotate(1deg); }
  100% { transform: none; }
}
.shake.is-joined .shake-hand { filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.5)); }
.shake.is-done .shake-hand { filter: drop-shadow(0 0 26px rgba(70, 217, 148, 0.35)) drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45)); }
/* a soft flash where the hands lock */
.shake-spark { position: absolute; left: 44.7%; top: 74.5%; width: 60%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%) scale(0.2); opacity: 0; background: radial-gradient(circle, rgba(214, 255, 236, 0.85) 0%, rgba(70, 217, 148, 0.45) 30%, rgba(70, 217, 148, 0) 68%); mix-blend-mode: screen; }
.shake.is-joined .shake-spark { animation: spark 0.9s ease-out 1; }
@keyframes spark { 0% { opacity: 0; transform: translate(-50%, -50%) scale(0.2); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.6); } }
.finale-shake p { max-width: 42ch; color: var(--cream-2); font-size: 1.08rem; }
.finale-shake .pill { margin-top: 26px; }

/* contact */
.contact { background: var(--espresso-2); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-copy p { margin-top: 16px; color: var(--cream-2); font-size: 1.08rem; max-width: 44ch; }
.direct { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.direct li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.direct span { color: var(--cream-3); }
.direct a, .direct strong { font-weight: 600; text-decoration: none; color: var(--cream); }
.direct a:hover { color: var(--gold); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(22px, 3vw, 34px); border-radius: 24px; border: 1px solid var(--line); background: var(--espresso); }
.field { display: grid; gap: 8px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .chips legend { font-weight: 500; font-size: 0.93rem; color: var(--cream); }
.opt { color: var(--cream-3); font-weight: 400; margin-left: 4px; }
.field input, .field textarea { width: 100%; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--espresso-2); color: var(--cream); font: 400 1rem/1.4 var(--body); transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #6c7c96; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(70, 217, 148, 0.25); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #e0573f; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { margin-bottom: 10px; padding: 0; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.9rem; color: var(--cream-2); transition: all 0.2s; }
.chips input:checked + span { color: var(--espresso); background: var(--amber); border-color: var(--amber); }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form-status { font-size: 0.95rem; color: var(--cream-3); }
.form-status.is-ok { color: var(--gold); }
.form-status.is-error { color: #ef8a6f; }
.form.is-sending button[type="submit"] { opacity: 0.6; pointer-events: none; }

/* footer: "Let's shake on it" on the left, the logo and "Let's have a Chat" on the right */
.footer { background: var(--footer); padding: clamp(70px, 9vw, 110px) 0 28px; }
.finale { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px clamp(32px, 6vw, 90px); }
.finale-brand { display: grid; justify-items: start; gap: 10px; padding-left: clamp(24px, 5vw, 70px); border-left: 1px solid var(--line); }
.finale-logo { width: min(340px, 80%); }
.finale-tag { font: 600 0.8rem/1 var(--body); letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); padding-left: 2px; }
.footer-chat { display: grid; justify-items: start; text-decoration: none; line-height: 0.9; margin: 22px 0 18px; }
.footer-chat .thin { font-family: var(--slab); font-size: clamp(1.5rem, 1rem + 1.6vw, 2.4rem); color: var(--cream-2); }
.footer-chat .slab { font-size: clamp(4rem, 2rem + 6vw, 8rem); color: var(--cream); transition: color 0.3s; }
.footer-chat:hover .slab { color: var(--amber-2); }
.finale-links { display: flex; flex-wrap: wrap; gap: 18px 48px; }
.footer-links, .footer-social { display: grid; gap: 10px; align-content: start; }
.footer-links a, .footer-social a { color: var(--cream-2); text-decoration: none; font-size: 0.95rem; }
.footer-social span { color: var(--cream-3); font-size: 0.9rem; }
.footer-links a:hover, .footer-social a:hover { color: var(--gold); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; margin-top: 54px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--cream-3); font-size: 0.88rem; }

/* WhatsApp */
.wa-float { position: fixed; z-index: 70; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.8); transition: transform 0.25s, background-color 0.25s, opacity 0.6s; }
.wa-float:hover { transform: scale(1.06); background: var(--amber-2); }
.wa-away .wa-float { opacity: 0; transform: scale(0.7); pointer-events: none; }
.wa-float svg { width: 28px; height: 28px; fill: var(--espresso); }

/* =========================================================
   NO 3D: a still of the island and every service as an open card
   ========================================================= */
.no-webgl .world { height: auto; }
.no-webgl .world-sticky { position: relative; height: auto; overflow: visible; padding: calc(var(--nav-h) + 30px) var(--gutter) 30px; display: grid; justify-items: center; gap: 10px; }
.no-webgl #world, .no-webgl .world-labels, .no-webgl .tour-copy, .no-webgl .tour-nav, .no-webgl #notepad, .no-webgl .outro-copy, .no-webgl .tour-shade { display: none; }
.no-webgl .world-still { display: block; width: min(900px, 100%); border-radius: 24px; }
.no-webgl .hero-copy { position: static; }
.no-webgl .hero-word { clip-path: none; transform: none; }
.no-webgl .hero-sub, .no-webgl .hero-tag { opacity: 1; }
.no-webgl .hero-hint { display: none; }
.no-webgl .world-fallback { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; padding: 30px var(--gutter) 90px; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.world-fallback .notepad { position: relative; opacity: 1; visibility: visible; transform: none; width: auto; pointer-events: auto; }
.world-fallback .np-head, .world-fallback .np-steps li, .world-fallback .np-tools { opacity: 1; transform: none; }
.world-fallback .np-page::before { transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1020px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  :root { --nav-h: 66px; }
  .nav-cta { display: none; }
  .brand-word { width: 132px; }
  .world { height: calc(100vh + 11 * 70vh + 70vh); height: calc(100svh + 11 * 70svh + 70svh); }
  .world-anchor { top: calc(100svh + 70svh - 40px); }
  .hero-word { width: 92vw; }
  .tour-copy { top: calc(var(--nav-h) + 4px); width: auto; }
  .tour-heading { display: none; }
  .tour-count { display: inline-block; padding: 7px 14px 6px; border-radius: 999px; background: rgba(7, 27, 53, 0.86); border: 1px solid var(--line-2); font-size: 1.15rem; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .tour-count span:last-child { font-size: 0.9rem; }
  .notepad.is-docked .np-step-d, .notepad.is-docked .np-tools { display: none; }
  .notepad.is-docked .np-steps { gap: 8px; margin-top: 14px; }
  .notepad.is-docked .np-steps li { align-items: center; }
  .notepad.is-docked .np-mark { grid-row: auto; }
  .notepad.is-docked .np-step-t { padding-top: 0; font-size: 0.93rem; }
  .tour-nav { display: none; }
  .tour-shade { background: linear-gradient(0deg, rgba(7, 27, 53, 0.96) 0%, rgba(7, 27, 53, 0.8) 42%, rgba(7, 27, 53, 0) 60%); }
  .outro-copy { top: auto; bottom: 28px; transform: none; width: auto; right: var(--gutter); }
  .notepad { left: var(--gutter) !important; right: var(--gutter); top: auto !important; bottom: 14px; width: auto; }
  .notepad.is-docked { width: auto; }
  .notepad .np-page { max-height: 50vh; max-height: 50svh; overflow: auto; padding: 18px 18px 14px; }
  .notepad:not(.is-docked) .np-close { display: grid; }
  .notepad:not(.is-docked) .np-head { padding-right: 34px; }
  .np-step-d { font-size: 0.82rem; }
  .about-layout { grid-template-columns: 1fr; }
  .about-visual { width: min(100%, 440px); justify-self: center; }
  .blob-1 { width: 90vw; height: 90vw; }
  .blob-2 { width: 100vw; height: 100vw; }
  .blob-3 { width: 60vw; height: 60vw; left: 20%; }
  .coverage-grid, .contact-grid { grid-template-columns: 1fr; }
  .finale { grid-template-columns: 1fr; }
  .finale-brand { justify-items: center; text-align: center; padding: 36px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .footer-chat { justify-items: center; }
  .finale-links { justify-content: center; text-align: center; }
  .coverage-grid { grid-template-areas: "copy" "globe"; }
  .globe-wrap { width: min(100%, 420px); justify-self: center; }
  .no-webgl .world-sticky { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .work-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .clock { padding: 14px 18px; }
  .footer-base { flex-direction: column; align-items: center; }
}
@media (max-height: 720px) and (min-width: 861px) {
  .notepad.is-docked { top: calc(var(--nav-h) + 80px); }
  .notepad.is-docked .np-page { max-height: calc(100vh - var(--nav-h) - 110px); }
  .np-step-d { display: none; }
}

