/* ===========================================================
   PROJECT ARTEMIS — by Project Artemis
   Light, airy, credible. Off-white + warm aura accent.
   =========================================================== */

:root {
  /* Surfaces */
  --bg: #ecebe7;            /* page gutter — slightly darker so cards float */
  --surface: #f6f5f2;       /* main section card */
  --surface-2: #fbfbf9;     /* lighter card / fields */
  --ink-strong: #15140f;    /* near-black ink for dark blocks */

  /* Text */
  --text: #1a1916;
  --text-soft: #5c5a52;
  --text-faint: #908d83;
  --line: #e3e1da;
  --line-strong: #d6d4cc;

  /* Accent — used very sparingly */
  --accent: oklch(0.72 0.13 25);     /* warm coral */
  --accent-2: oklch(0.74 0.12 350);  /* soft pink */
  --accent-3: oklch(0.84 0.14 95);   /* warm citrus (highlight chips) */

  /* Type */
  --sans: "Poppins", system-ui, sans-serif;
  --serif: "Poppins", system-ui, sans-serif;

  /* Geometry */
  --r-card: 40px;
  --r-md: 18px;
  --r-pill: 999px;
  --maxw: 1140px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

::selection { background: oklch(0.84 0.14 95 / 0.55); }

/* ---------- Colour wave: a soft mesh gradient confined to the showcase section ---------- */
:root { --flow: 0; }
.sec-wash {
  position: absolute; inset: -160px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(38% 50% at 84% 26%, #c24bff 0%, rgba(194,75,255,0) 60%),
    radial-gradient(44% 58% at 96% 58%, #ff5ed0 0%, rgba(255,94,208,0) 60%),
    radial-gradient(50% 64% at 80% 104%, #6a3cff 0%, rgba(106,60,255,0) 62%),
    radial-gradient(44% 56% at 8% 80%, #2fe0e8 0%, rgba(47,224,232,0) 60%),
    radial-gradient(40% 52% at 30% 112%, #ff8fd6 0%, rgba(255,143,214,0) 60%),
    linear-gradient(125deg, #f6f5f2 0%, #f2eef0 40%, #efe9f3 66%, #ece8f2 100%);
  filter: blur(34px) saturate(1.18);
  /* scroll-linked drift: --flow advances on scroll-down, rewinds on scroll-up.
     A composited transform (no re-blur per frame), so it stays smooth. */
  transform:
    translate3d(calc(cos(var(--flow)) * 5%), calc(sin(var(--flow)) * 6%), 0)
    rotate(calc(sin(var(--flow) * 0.7) * 6deg))
    scale(1.12);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .sec-wash { transform: scale(1.12); }
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px;
}

/* Stacked rounded cards that "float" on the gutter, like the inspiration */
.panel {
  background: var(--surface);
  border-radius: var(--r-card);
  position: relative;
  overflow: clip; /* clips like hidden but doesn't create a scroll container, so position:sticky works inside */
}
.panel + .panel { margin-top: 14px; }

.section-pad { padding: 104px 0; }
.section-pad-sm { padding: 72px 0; }

@media (max-width: 720px) {
  .section-pad { padding: 68px 0; }
  .section-pad-sm { padding: 52px 0; }
  .wrap { padding: 0 20px; }
  .shell { padding: 8px; }
}

/* ---------- Type scale ---------- */
.display {
  font-weight: 800;
  font-size: clamp(2.8rem, 7.5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.h1 { font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.02; letter-spacing: -0.03em; }
.h2 { font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.08; letter-spacing: -0.025em; }
.h3 { font-weight: 600; font-size: 1.18rem; letter-spacing: -0.02em; }

.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: 0; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--text-soft); line-height: 1.5; }
.eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-faint);
}
.muted { color: var(--text-soft); }

.center { text-align: center; }
.measure { max-width: 620px; }
.measure-sm { max-width: 460px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; white-space: nowrap;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.97rem; letter-spacing: -0.01em;
  transition: transform .35s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), color .3s;
  will-change: transform;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-dark { background: var(--ink-strong); color: #f6f5f2; }
.btn-dark:hover { box-shadow: 0 12px 30px -10px rgba(0,0,0,.45); }
.btn-dark:hover svg { transform: translate(2px,-2px); }

.btn-light { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-light:hover { box-shadow: inset 0 0 0 1px var(--text-faint); }

.btn-ghost { color: var(--text); }
.btn-ghost:hover { color: var(--text-soft); }
.btn.copied { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); }

/* small chip / tag */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px; border-radius: var(--r-pill);
  font-size: 0.82rem; font-weight: 600; letter-spacing: -0.01em;
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-strong);
}
.chip-float {
  background: var(--surface-2);
  box-shadow: 0 6px 22px -10px rgba(0,0,0,.22), inset 0 0 0 1px var(--line);
}

/* ---------- Aura gradient (the only color pop) ---------- */
.aura {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
}
.aura::before, .aura::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: .55;
}
.aura::before {
  width: 60%; height: 360px; top: -120px; left: 8%;
  background: radial-gradient(circle at 30% 50%, oklch(0.8 0.14 350 / .9), transparent 70%);
}
.aura::after {
  width: 55%; height: 340px; top: -90px; right: 4%;
  background: radial-gradient(circle at 60% 50%, oklch(0.84 0.13 60 / .85), transparent 70%);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  padding: 14px 14px 0;
  transition: transform .65s var(--ease), opacity .55s var(--ease);
}
/* hidden while the gate is locked — slides in smoothly once answered */
html.locked .nav { transform: translateY(-130%); opacity: 0; pointer-events: none; }
.nav-inner {
  width: 100%; max-width: 1320px; margin: 0 auto; min-width: 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 11px 14px 11px 22px;
  border-radius: var(--r-pill);
  overflow: hidden;
  background: color-mix(in oklch, var(--surface) 78%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 8px 30px -18px rgba(0,0,0,.3);
  transition: box-shadow .4s var(--ease);
}
.nav-scrolled .nav-inner { box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 14px 40px -20px rgba(0,0,0,.4); }

/* ---- Collapse-to-logo: the pill contracts leftward, sliding shut into a circular logo button ---- */
.nav-links, .nav-right {
  max-width: 680px;
  transition: opacity .28s var(--ease), transform .5s var(--ease), max-width .55s var(--ease);
}
.nav-collapsed .nav-inner {
  width: var(--nav-cw, 56px);
  max-width: var(--nav-cw, 56px);
  height: var(--nav-cw, 56px);
  margin-left: var(--nav-left, 0px);
  margin-right: auto;
  gap: 0;
  padding: 0;
  border-radius: 50%;
  justify-content: center;
  cursor: pointer;
}
.nav-collapsed .nav-links,
.nav-collapsed .nav-right {
  opacity: 0;
  transform: translateX(-26px);
  max-width: 0;
  overflow: hidden;
  pointer-events: none;
}
.nav-collapsed .nav-inner:hover {
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 14px 34px -16px rgba(0,0,0,.55);
}
.nav-collapsed .nav-inner:hover .brand-mark { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) {
  .nav-inner, .nav-links, .nav-right { transition: none; }
}

.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: -0.04em; font-size: 1.18rem; }
.brand-mark { height: 30px; width: auto; display: block; transition: transform .35s var(--ease); }
.brand-word { line-height: 1; }

.nav-links { display: flex; gap: 6px; }
.nav-links a {
  padding: 8px 14px; border-radius: var(--r-pill); font-weight: 500; font-size: 0.94rem;
  color: var(--text-soft); transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }

.nav-right { display: flex; align-items: center; gap: 10px; }

/* language toggle */
.lang {
  display: inline-flex; align-items: center; padding: 3px;
  border-radius: var(--r-pill); background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.lang button {
  padding: 6px 11px; border-radius: var(--r-pill); font-size: 0.8rem; font-weight: 700;
  color: var(--text-faint); letter-spacing: 0.02em; transition: color .25s;
}
.lang button.on { background: var(--ink-strong); color: #f6f5f2; }

/* mobile burger + menu (hidden on desktop) */
.nav-burger { display: none; }
.nav-menu { display: none; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-burger {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    width: 44px; height: 44px; border-radius: 50%; flex: none;
    background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-strong);
  }
  .nav-burger span {
    display: block; width: 16px; height: 2px; border-radius: 2px;
    background: var(--text); transition: transform .35s var(--ease);
  }
  .nav-open .nav-burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-open .nav-burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

  .nav-menu {
    position: absolute; top: calc(100% - 4px); left: 14px; right: 14px;
    display: flex; flex-direction: column; gap: 2px;
    margin: 0; padding: 10px;
    border-radius: 24px;
    background: color-mix(in oklch, var(--surface) 90%, transparent);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: 0 22px 50px -22px rgba(0,0,0,.38), inset 0 0 0 1px var(--line);
    opacity: 0; transform: translateY(-10px); pointer-events: none; visibility: hidden;
    transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s linear .3s;
  }
  .nav-open .nav-menu { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
  .nav-menu a {
    padding: 14px 18px; border-radius: 16px;
    font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em; color: var(--text);
    transition: background .2s;
  }
  .nav-menu a:hover, .nav-menu a:active { background: var(--surface-2); }
  .nav-menu .nav-menu-cta {
    margin-top: 6px; text-align: center;
    background: var(--ink-strong); color: #f6f5f2; border-radius: 999px;
  }
  .nav-menu .nav-menu-cta:hover, .nav-menu .nav-menu-cta:active { background: var(--ink-strong); }
}

@media (max-width: 480px) {
  .nav { padding: 10px 10px 0; }
  .nav-inner { padding: 9px 9px 9px 16px; }
  .brand-mark { height: 26px; }
  .nav-cta { padding: 11px 16px; font-size: 0.88rem; }
}

/* ---------- Hero ---------- */
.hero { padding: 92px 0 104px; }
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.avatar-chip {
  display: inline-flex; align-items: center; gap: 0; margin-bottom: 30px; position: relative;
}
.avatar-chip .ph-avatar {
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, oklch(0.82 0.09 350), oklch(0.85 0.1 60));
  box-shadow: 0 6px 18px -8px rgba(0,0,0,.3), 0 0 0 4px var(--surface);
  display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 1.1rem;
}
.avatar-chip .tag {
  position: absolute; left: 70%; top: -6px;
  font-size: 0.74rem; font-weight: 600; white-space: nowrap;
  padding: 5px 11px; border-radius: var(--r-pill);
  background: var(--surface-2); box-shadow: 0 6px 20px -10px rgba(0,0,0,.3), inset 0 0 0 1px var(--line);
}
.hero h1 { margin: 6px 0 0; max-width: 11ch; }
.hero .hero-sub {
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  line-height: 1.1;
  color: var(--text-soft);
  margin-top: 16px;
}
.hero .lead { margin: 26px auto 0; }
.hero-cta { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }

/* ---------- Value strip ---------- */
.value-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
}
.value-cell { background: var(--surface); padding: 30px 26px; }
.value-cell .n { font-weight: 800; font-size: 1.7rem; letter-spacing: -0.03em; display: flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.value-cell .n .serif { font-size: 1.5rem; }
.value-cell .l { color: var(--text-soft); font-size: 0.95rem; margin-top: 4px; }
@media (max-width: 720px) { .value-strip { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 44px; margin-top: 56px; }
.svc { }
.svc .ico {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-strong);
  margin-bottom: 16px; color: var(--text);
}
.svc .ico svg { width: 20px; height: 20px; }
.svc h4 { font-weight: 700; font-size: 1.02rem; letter-spacing: -0.02em; }
.svc p { color: var(--text-soft); font-size: 0.92rem; margin-top: 6px; line-height: 1.45; }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-head { display: flex; align-items: center; justify-content: center; gap: 14px; }
.divider { height: 1px; background: var(--line); flex: 1; }

/* ---------- How it works (laptop opens to reveal site) ---------- */
.proc-track { position: relative; height: 380vh; }
.proc-sticky {
  position: sticky; top: 0;
  height: 100vh; min-height: 600px;
  overflow: hidden;
  background: radial-gradient(125% 95% at 50% 6%, #f4f3ef 0%, #ebeae4 52%, #e3e2db 100%);
}

.lap-stage {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  perspective: 2200px; perspective-origin: 50% 36%;
  z-index: 2;
}
.laptop {
  position: relative;
  width: min(1060px, 92vw);
  --lid-h: min(56vh, 620px);
  --base-h: clamp(14px, 2vh, 22px);
  height: calc(var(--lid-h) + var(--base-h));
  transform-style: preserve-3d;
}

/* LID (screen assembly) — hinges open from the base */
.lap-lid {
  position: absolute; left: 0; right: 0; bottom: var(--base-h);
  height: var(--lid-h);
  transform-origin: 50% 100%;
  transform: rotateX(-114deg);
  transform-style: preserve-3d;
  will-change: transform;
}
.lid-face {
  position: absolute; inset: 0;
  border-radius: 17px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
/* front: aluminum edge + black bezel + glass screen */
.lid-front {
  background: linear-gradient(150deg, #cbced2 0%, #b0b3b8 50%, #909398 100%);
  padding: 3px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.4), 0 44px 90px -40px rgba(14,17,28,0.72);
}
.lap-cam {
  position: absolute; z-index: 5; top: 7px; left: 50%; transform: translateX(-50%);
  width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #50535b, #16171c 72%);
  box-shadow: 0 0 0 2px #0a0a0c, inset 0 0 2px 1px rgba(90,130,170,0.45);
}
.lap-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 15px;
  overflow: hidden;
  background: #0a0a0c;            /* black bezel framing the site */
  padding: clamp(10px, 1.4vh, 15px) clamp(11px, 1.5vh, 16px) clamp(12px, 1.7vh, 18px);
  box-shadow: inset 0 0 0 1.5px #050506, inset 0 0 16px rgba(0,0,0,0.6);
}
.screen-gloss {
  position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: 15px;
  background: linear-gradient(118deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.05) 16%, transparent 36%, transparent 100%);
  mix-blend-mode: screen;
}
/* back: brushed aluminum + embossed logo */
.lid-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #d5d8dc 0%, #babdc2 38%, #c6c9ce 60%, #a1a4a9 100%);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.45), inset 0 0 70px rgba(0,0,0,0.13);
}
.lid-back::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(102deg, transparent 32%, rgba(255,255,255,0.4) 50%, transparent 68%);
  opacity: 0.55;
}
.lid-logo {
  width: 15%; opacity: 0.45;
  filter: grayscale(1) brightness(1.85) contrast(0.9) drop-shadow(0 1px 1px rgba(255,255,255,0.55));
}

/* the website inside the screen */
.site {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  padding: clamp(12px, 2vh, 22px) clamp(16px, 2.6vh, 30px) clamp(14px, 2.2vh, 24px);
  background: #f4f3f0;
  border-radius: 5px; overflow: hidden;
  font-size: clamp(10px, 1.55vh, 15px);
}
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 2%; }
.site-logo-img { height: 1.5em; width: auto; }
.site-links { display: flex; gap: clamp(10px, 1.6vw, 22px); color: #4b4b47; font-weight: 500; font-size: 0.9em; }
.site-cta {
  background: #1b1c20; color: #fff; font-weight: 600; font-size: 0.88em;
  padding: 0.62em 1.1em; border-radius: 999px; white-space: nowrap;
}
.site-hero { text-align: center; margin: clamp(8px, 1.5vh, 16px) 0 clamp(10px, 1.8vh, 20px); }
.site-kicker {
  display: inline-block; font-family: var(--mono, ui-monospace, monospace);
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.68em; color: #6b6b66;
  border: 1px solid rgba(0,0,0,0.12); border-radius: 999px; padding: 0.38em 0.85em; background: #fff;
}
.site-title { font-weight: 800; letter-spacing: -0.025em; color: #16171b; font-size: 1.95em; margin-top: 0.45em; }

.site-cards { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: minmax(0, 1fr); gap: clamp(8px, 1.1vw, 16px); flex: 1; min-height: 0; }
.scard {
  position: relative;
  background: #fff; border-radius: 16px;
  padding: clamp(11px, 1.5vh, 18px) clamp(11px, 1.4vh, 16px) clamp(12px, 1.6vh, 18px);
  box-shadow: 0 14px 30px -18px rgba(20,20,50,0.25), 0 0 0 1px rgba(0,0,0,0.04);
  display: flex; flex-direction: column; gap: clamp(7px, 1.1vh, 13px);
  min-height: 0; overflow: hidden;
  opacity: 0; will-change: transform, opacity;
}
.sc-step {
  position: absolute; top: clamp(10px, 1.4vh, 16px); right: clamp(11px, 1.4vh, 16px);
  font-family: var(--serif); font-style: italic; color: #c9c8c3; font-size: 1.15em; line-height: 1;
}
.scard h4 { font-weight: 700; font-size: 1.04em; letter-spacing: -0.01em; color: #1b1c20; padding-right: 1.6em; }
.scard p { margin-top: auto; color: #6c6c67; font-size: 0.86em; line-height: 1.45; text-wrap: pretty; }
.sc-mock {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(8px, 1.2vh, 13px); padding: clamp(4px, 0.8vh, 8px) 0;
}

/* --- mock 1: plan + subscribe + A/B/C tree --- */
.mk-win {
  width: 100%; background: #f3f2ef; border-radius: 10px; padding: 0.7em 0.8em;
  display: grid; grid-template-columns: auto 1fr; grid-auto-rows: auto; gap: 0.55em 0.5em; align-items: center;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}
.mk-logo { width: 1.4em; height: 1.4em; border-radius: 6px; background: #d9d8d3; }
.mk-ln { height: 0.55em; border-radius: 4px; background: #d9d8d3; }
.mk-cta {
  grid-column: 1 / -1; text-align: center; background: #1b1c20; color: #fff;
  font-size: 0.86em; font-weight: 600; padding: 0.55em; border-radius: 8px; margin-top: 0.15em;
}
.mk-tree { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(8px, 0.9vw, 14px); }
.mk-leaf { width: 0.5em; height: 0.5em; border: 1px dashed #cfcec9; border-radius: 3px; }
.mk-node {
  position: relative; width: 2.1em; height: 2.1em; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.92em; font-weight: 700; color: #9b9a95;
  background: #f0efeb; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}
.mk-node.act { background: linear-gradient(160deg, #F2A35C, #E5703A); color: #fff; box-shadow: 0 6px 14px -6px rgba(229,112,58,0.7); }
.mk-node.act em {
  position: absolute; top: 108%; left: 50%; transform: translateX(-50%);
  font-style: normal; font-size: 0.62em; font-weight: 600; color: #fff;
  background: #1b1c20; padding: 0.25em 0.6em; border-radius: 6px; white-space: nowrap;
}

/* --- mock 2: design canvas + bars + sparkle --- */
.mk-canvas {
  position: relative; width: 100%; border-radius: 10px; background: #f3f2ef;
  padding: 0.9em 0.9em; display: flex; flex-direction: column; gap: 0.5em;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}
.mk-spark { position: absolute; top: -0.55em; right: -0.4em; width: 1.7em; height: 1.7em; color: #8A5CF0; }
.mk-spark svg { width: 100%; height: 100%; filter: drop-shadow(0 3px 6px rgba(138,92,240,0.4)); }
.mk-bar { height: 0.62em; border-radius: 5px; background: #dddcd7; }
.mk-bar.b1 { width: 90%; background: linear-gradient(90deg, #8A5CF0, #c9a7f4); }
.mk-bar.b2 { width: 66%; }
.mk-bar.b3 { width: 78%; }
.mk-pill {
  font-size: 0.82em; font-weight: 600; color: #fff; padding: 0.5em 0.9em; border-radius: 999px;
}
.mk-pill.violet { background: linear-gradient(120deg, #8A5CF0, #6E58F0); }
.mk-pill.blue { background: linear-gradient(120deg, #3F6FE8, #46C7F2); }

/* --- mock 3: review chat --- */
.mk-chat { width: 100%; display: flex; flex-direction: column; gap: 0.55em; }
.mk-msg { display: flex; align-items: center; gap: 0.5em; justify-content: flex-end; }
.mk-msg.in { justify-content: flex-start; }
.mk-bub { height: 1.6em; border-radius: 999px; background: #ecebe7; }
.mk-bub.w1 { width: 46%; }
.mk-bub.w2 { width: 60%; }
.mk-av { width: 1.7em; height: 1.7em; border-radius: 50%; flex: none; background: linear-gradient(160deg, #d7d6d1, #b9b8b3); }
.mk-av.a1 { background: linear-gradient(160deg, #F2A35C, #E5703A); }
.mk-av.brand { background: linear-gradient(160deg, #46C7F2, #3F6FE8); }

/* --- mock 4: doc + green check --- */
.mk-doc {
  position: relative; width: 56%; aspect-ratio: 4/5; background: #fff;
  border-radius: 10px; box-shadow: 0 10px 24px -12px rgba(0,0,0,0.3), inset 0 0 0 1px rgba(0,0,0,0.06);
  display: flex; flex-direction: column; gap: 0.5em; padding: 1em 0.9em;
}
.mk-dl { height: 0.5em; border-radius: 4px; background: #e2e1dc; }
.mk-dl.w1 { width: 70%; } .mk-dl.w2 { width: 90%; } .mk-dl.w3 { width: 55%; }
.mk-ok {
  position: absolute; right: -0.7em; bottom: -0.7em; width: 2.2em; height: 2.2em; border-radius: 50%;
  background: linear-gradient(160deg, #34D27B, #1FA85C); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 18px -6px rgba(31,168,92,0.7);
}
.mk-ok svg { width: 56%; height: 56%; }

/* laptop hinge + base + contact shadow */
.lap-hinge {
  position: absolute; left: 7%; right: 7%; bottom: calc(var(--base-h) - 3px);
  height: 6px; border-radius: 3px;
  transform: translateZ(8px);
  background: linear-gradient(180deg, #2b2d31 0%, #141519 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,0.55);
  z-index: 1;
}
.lap-base {
  position: absolute; left: -2%; right: -2%; bottom: 0; height: var(--base-h);
  transform: translateZ(10px);
  background: linear-gradient(180deg, #e6e8eb 0%, #c6c9cd 34%, #a8abaf 62%, #d2d5d9 100%);
  border-radius: 6px 6px 13px 13px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.75),
    inset 0 -2px 4px rgba(0,0,0,0.22),
    0 20px 34px -16px rgba(0,0,0,0.5);
}
.lap-base::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 0; height: 36%;
  background: linear-gradient(180deg, rgba(0,0,0,0.2), transparent);
  border-radius: 6px 6px 0 0;
}
.lap-notch {
  position: absolute; top: 4%; left: 50%; transform: translateX(-50%);
  width: 12%; height: 50%;
  background: linear-gradient(180deg, #888b8f, #b8bbbf);
  border-radius: 0 0 11px 11px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.32);
}
.lap-shadow {
  position: absolute; left: -7%; right: -7%; bottom: -7vh; height: 9vh;
  background: radial-gradient(56% 100% at 50% 0%, rgba(18,20,32,0.36), transparent 74%);
  filter: blur(11px); z-index: -1;
}

@media (prefers-reduced-motion: reduce) {
  .lap-lid { transform: rotateX(-3deg) !important; }
  .scard { opacity: 1 !important; transform: none !important; }
}
@media (max-width: 860px) {
  .proc-track { height: auto; }
  .proc-sticky { position: static; height: auto; min-height: 0; overflow: visible; padding: clamp(60px, 12vw, 100px) 0; background: var(--surface, #f6f5f2); }
  .lap-stage { position: static; transform: none; perspective: none; width: 100%; padding: 0 clamp(18px, 5vw, 40px); }
  .laptop { width: 100%; height: auto; transform-style: flat; }
  .lap-lid { position: static; transform: none !important; height: auto; transform-style: flat; }
  .lid-back, .lap-cam, .lap-hinge, .lap-base, .lap-shadow, .screen-gloss { display: none; }
  .lid-face { position: static; backface-visibility: visible; -webkit-backface-visibility: visible; }
  .lid-front { padding: 0; background: none; box-shadow: none; }
  .lap-screen { padding: 0; background: none; border-radius: 20px; box-shadow: 0 22px 54px -30px rgba(0,0,0,0.45), 0 0 0 1px rgba(0,0,0,0.05); }
  .site { font-size: 13px; height: auto; }
  .site-cards { grid-template-columns: 1fr; gap: 14px; }
  .scard { opacity: 1 !important; transform: none !important; min-height: 0; }
}
@media (max-width: 560px) {
  .site-links { display: none; }
}

/* ---------- How it works (bento grid) ---------- */
.bento {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr 1.05fr;
  grid-template-areas:
    "feat int  prod"
    "feat stat prod"
    "steps steps prod2";
  gap: 14px;
  margin-top: clamp(40px, 5vw, 64px);
  background: #ecebe6;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 30px;
  padding: 14px;
}
.bento-card {
  position: relative; overflow: hidden;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 12px 34px -20px rgba(20, 20, 45, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.035);
  padding: clamp(20px, 1.8vw, 30px);
}
/* process section: cards rise in, staggered, the first time it scrolls into view */
@media (prefers-reduced-motion: no-preference) {
  .bento.reveal .bento-card {
    opacity: 0; transform: translateY(22px);
    transition: opacity .55s var(--ease), transform .7s var(--ease);
  }
  .bento.reveal.in .bento-card { opacity: 1; transform: none; }
  .bento.reveal.in .bento-card:nth-child(1) { transition-delay: .04s; }
  .bento.reveal.in .bento-card:nth-child(2) { transition-delay: .12s; }
  .bento.reveal.in .bento-card:nth-child(3) { transition-delay: .20s; }
  .bento.reveal.in .bento-card:nth-child(4) { transition-delay: .28s; }
  .bento.reveal.in .bento-card:nth-child(5) { transition-delay: .36s; }
  .bento.reveal.in .bento-card:nth-child(6) { transition-delay: .44s; }
}
.bento-ico {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(150deg, #8A5CF0, #6E58F0);
  color: #fff; box-shadow: 0 10px 22px -10px rgba(138, 92, 240, 0.6);
}
.bento-ico svg { width: 24px; height: 24px; }
.bento-ico.sm { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(150deg, #46C7F2, #3F6FE8); }
.bento-ico.sm svg { width: 20px; height: 20px; }

.b-feat { grid-area: feat; display: flex; flex-direction: column; }
.b-feat-media {
  position: relative; border-radius: 18px; overflow: hidden;
  min-height: clamp(150px, 15vw, 210px);
  display: grid; place-items: center;
  margin-bottom: clamp(22px, 2.2vw, 32px);
  background:
    radial-gradient(120% 95% at 28% 16%, rgba(138, 92, 240, 0.2), transparent 60%),
    radial-gradient(110% 95% at 86% 92%, rgba(70, 199, 242, 0.16), transparent 62%),
    linear-gradient(160deg, #f5f3fb, #edeff8);
}
/* loss graph variant */
.b-feat-media.loss {
  display: block; place-items: unset;
  min-height: clamp(196px, 17vw, 244px);
  background:
    radial-gradient(120% 90% at 90% 8%, rgba(229, 112, 58, 0.12), transparent 60%),
    linear-gradient(165deg, #fbfaf8, #f4f1ee);
}
.loss-top { position: relative; z-index: 2; padding: clamp(18px, 1.8vw, 24px) clamp(20px, 2vw, 26px) 0; }
.loss-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.01em; color: var(--text-faint); }
.loss-amount {
  margin-top: 4px; font-weight: 800; letter-spacing: -0.035em; line-height: 1;
  font-size: clamp(2rem, 3vw, 2.7rem); color: var(--text, #1a1916);
  font-variant-numeric: tabular-nums;
}
.loss-rate {
  margin-top: 9px; display: inline-flex; align-items: center; gap: 2px;
  font-size: 0.8rem; font-weight: 600; color: #c2511f;
  background: rgba(229, 112, 58, 0.12); padding: 5px 11px; border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.loss-rate svg { width: 14px; height: 14px; margin-left: 4px; }
.loss-chart {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  width: 100%; height: clamp(118px, 11vw, 150px);
}
.loss-area { opacity: 0; transition: opacity .6s var(--ease); }
.loss-chart.in .loss-area { opacity: 1; }
.loss-line {
  stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600);
}
.loss-chart.in .loss-line {
  transition: stroke-dashoffset 1.6s var(--ease);
  stroke-dashoffset: 0;
}
.loss-head { opacity: 0; }
.loss-chart.in .loss-head { opacity: 1; transition: opacity .4s var(--ease) 1.3s; }
.loss-head circle { filter: drop-shadow(0 3px 6px rgba(229, 112, 58, 0.5)); }
@media (prefers-reduced-motion: reduce) {
  .loss-chart.in .loss-line { transition: none; stroke-dashoffset: 0; }
}
.b-feat-art {
  width: clamp(82px, 8vw, 108px); height: clamp(82px, 8vw, 108px);
  display: grid; place-items: center; border-radius: 28px;
  background: linear-gradient(150deg, #8A5CF0, #6E58F0);
  color: #fff; transform: rotate(-6deg);
  box-shadow: 0 26px 46px -18px rgba(110, 88, 240, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.b-feat-art svg { width: 46%; height: 46%; transform: rotate(6deg); }
.b-feat-eyebrow { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.01em; color: #7a4fe0; }
.b-feat h3 { margin-top: 9px; font-weight: 700; font-size: clamp(1.3rem, 1.7vw, 1.7rem); letter-spacing: -0.025em; color: var(--text); }
.b-feat p { margin-top: 13px; color: var(--text-soft); font-size: 0.98rem; line-height: 1.55; text-wrap: pretty; max-width: 36ch; }

.b-int { grid-area: int; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.b-int h4 { font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; color: var(--text); }
.b-int p { margin-top: 5px; color: var(--text-faint); font-size: 0.88rem; }
.b-chips { display: flex; border: 0; background: none; padding: 4px; margin: -4px; cursor: pointer; }
.b-chips .b-chip { transition: transform .4s var(--ease); }
.b-chips:hover .b-chip { transform: translateY(-3px); }
.b-chips:hover .b-chip.more { color: #4a4a46; }
.b-chips:active { transform: scale(.98); }
.b-chip {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; margin-left: -10px; box-shadow: 0 0 0 3px #fff, 0 5px 12px -5px rgba(0,0,0,.28);
  overflow: hidden;
}
.b-chip:first-child { margin-left: 0; }
.b-chip img { width: 21px; height: 21px; object-fit: contain; display: block; }
.b-chip.more {
  background: #ecebe6; color: #6c6c67; font-size: 0.72rem; font-weight: 700;
  box-shadow: 0 0 0 3px #fff, inset 0 0 0 1px rgba(0,0,0,0.06);
}

.b-stat { grid-area: stat; display: flex; flex-direction: column; }
.b-stat-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.b-stat-top h4 { font-weight: 700; font-size: 1.08rem; color: var(--text); }
.b-stat-top p { margin-top: 4px; color: var(--text-faint); font-size: 0.86rem; }
.b-tag { font-size: 0.78rem; font-weight: 600; color: #E5703A; white-space: nowrap; }
.b-bignum { font-weight: 800; font-size: clamp(3.2rem, 5.2vw, 5rem); letter-spacing: -0.04em; line-height: 1; color: var(--text); margin: clamp(10px, 1.4vw, 18px) 0; }
.b-bignum span { font-size: 0.5em; font-weight: 700; color: var(--text-faint); }
.b-stat-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line, rgba(0, 0, 0, 0.08)); padding-top: 14px; }
.b-stat-foot span { color: var(--text-faint); font-size: 0.86rem; }
.b-stat-foot strong { font-weight: 700; font-size: 0.9rem; color: var(--text); }

.b-prod { grid-area: prod; display: flex; flex-direction: column; }
.b-prod2 { grid-area: prod2; display: flex; flex-direction: column; position: relative; }
.b-prod-num { font-weight: 800; font-size: clamp(3.4rem, 5.6vw, 5.6rem); letter-spacing: -0.05em; line-height: 0.9; color: var(--text); }
.b-prod-num span { color: #8A5CF0; }
.b-prod-num.alt span { color: #E5703A; }
.b-prod-body { margin-top: auto; }
.b-prod h3, .b-prod2 h3 { font-weight: 700; font-size: clamp(1.18rem, 1.45vw, 1.45rem); letter-spacing: -0.02em; color: var(--text); }
.b-prod p, .b-prod2 p { margin-top: 10px; color: var(--text-soft); font-size: 0.95rem; line-height: 1.5; text-wrap: pretty; }
.b-dots {
  position: absolute; top: 22px; right: 22px; width: 120px; height: 92px; opacity: 0.5;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.14) 1.4px, transparent 1.6px);
  background-size: 13px 13px;
  -webkit-mask-image: linear-gradient(125deg, #000, transparent); mask-image: linear-gradient(125deg, #000, transparent);
}

.b-steps { grid-area: steps; display: flex; flex-direction: column; gap: clamp(16px, 1.7vw, 22px); }
.b-steps-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.b-steps-text h4 { font-weight: 700; font-size: clamp(1.1rem, 1.4vw, 1.35rem); letter-spacing: -0.02em; color: var(--text); }
.b-steps-text p { margin-top: 6px; color: var(--text-faint); font-size: 0.9rem; }
.b-steps-nav { display: flex; gap: 8px; flex: none; }
.b-steps-arrow {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  border: 1px solid rgba(0, 0, 0, 0.1); background: #fff; color: var(--text-soft);
  display: grid; place-items: center; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.b-steps-arrow svg { width: 16px; height: 16px; }
.b-steps-arrow:first-child { color: var(--text-faint); }
.b-steps-arrow:hover { background: #f4f3ee; color: var(--text); border-color: rgba(0, 0, 0, 0.16); }

.b-steps-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1vw, 14px); }
.b-step {
  display: flex; flex-direction: column; gap: 11px;
  background: #faf9f6; border: 1px solid rgba(0, 0, 0, 0.06); border-radius: 16px;
  padding: 14px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.b-step:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -22px rgba(20, 20, 45, 0.4); border-color: rgba(0, 0, 0, 0.1); }
.b-step-num {
  align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--text-faint); background: #fff; border: 1px solid rgba(0, 0, 0, 0.07);
  padding: 3px 9px; border-radius: 999px;
}
.b-step-info h5 { font-weight: 700; font-size: 0.98rem; letter-spacing: -0.01em; color: var(--text); }
.b-step-info p { margin-top: 5px; color: var(--text-faint); font-size: 0.82rem; line-height: 1.42; text-wrap: pretty; }
.b-step-ico {
  margin-top: auto; height: 56px; border-radius: 12px;
  display: grid; place-items: center;
}
.b-step-ico svg { width: 26px; height: 26px; }
.b-step.s-purple .b-step-ico { background: rgba(138, 92, 240, 0.12); color: #7a4fe0; }
.b-step.s-blue   .b-step-ico { background: rgba(63, 111, 232, 0.12); color: #3f6fe8; }
.b-step.s-cyan   .b-step-ico { background: rgba(70, 199, 242, 0.16); color: #1a9fce; }
.b-step.s-amber  .b-step-ico { background: rgba(229, 112, 58, 0.13); color: #d2632f; }

@media (max-width: 920px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "feat feat" "int stat" "prod prod2" "steps steps"; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "feat" "int" "stat" "prod" "prod2" "steps"; padding: 10px; }
  .b-steps-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Pricing (frosted bento) ---------- */
.plans-stage { position: relative; margin-top: clamp(40px, 5vw, 64px); }
.plans-ghost {
  position: absolute; left: 50%; top: -0.44em; transform: translateX(-50%);
  font-weight: 800; font-size: clamp(3.4rem, 13vw, 12rem); line-height: 1;
  letter-spacing: -0.05em; white-space: nowrap; pointer-events: none; z-index: 0;
  color: rgba(24, 24, 48, 0.045);
}
/* three comparable tiers — reference-style cards: button hero + checklist, no prices */
.plan-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch;
}
.plan2 {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface, #fbfaf7);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 26px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 30px 64px -44px rgba(30, 30, 80, 0.34);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.plan2:hover { transform: translateY(-6px); box-shadow: 0 44px 90px -42px rgba(30, 30, 80, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.75); }

/* top zone: name + tagline + the prominent CTA, with an optional colour wash behind */
.plan2-top { position: relative; padding: clamp(26px, 2.4vw, 34px) clamp(24px, 2.2vw, 32px) clamp(26px, 2.4vw, 32px); }
.plan2-wash { position: absolute; inset: 0; z-index: 0; opacity: 0; pointer-events: none; }
.plan2-head { position: relative; z-index: 1; }
.plan2-name {
  font-weight: 800; font-size: 1.32rem; letter-spacing: -0.03em;
  color: var(--text, #1a1916);
}
.plan2.featured .plan2-name { color: var(--text, #1a1916); }
.plan2:last-child .plan2-name {
  background: linear-gradient(96deg, #f43f5e 0%, #fb5d3a 30%, #f97316 55%, #f43f5e 80%, #fb5d3a 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  animation: plan-name-flow 4s linear infinite;
}
@keyframes plan-name-flow {
  to { background-position: -240% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .plan2:last-child .plan2-name { animation: none; }
}
.plan2-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.plan2-tag { color: var(--text-soft); font-size: 0.93rem; line-height: 1.45; margin-top: 10px; min-height: 2.7em; text-wrap: pretty; max-width: 30ch; }
.best {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 9px; border-radius: var(--r-pill);
  background: var(--ink-strong, #1b1c20); color: #f7f6f2;
}
.plan2-cta {
  position: relative; z-index: 1;
  width: 100%; margin-top: clamp(22px, 2.2vw, 30px);
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em;
  padding: 15px 22px; border-radius: 16px; cursor: pointer;
  background: #eceae4; color: var(--text, #1a1916); border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 10px 22px -14px rgba(0, 0, 0, 0.3);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s var(--ease);
}
.plan2-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.4); }

/* checklist */
.plan2-feats {
  list-style: none; margin: 0; padding: clamp(22px, 2.2vw, 28px) clamp(24px, 2.2vw, 32px) 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex; flex-direction: column; gap: clamp(14px, 1.5vw, 18px); flex: 1;
}
.plan2-feats li { display: flex; align-items: center; gap: 13px; color: var(--text); font-size: 0.95rem; line-height: 1.35; text-wrap: pretty; }
.pf-check {
  flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(52, 199, 123, 0.14); color: #1f9d5e;
}
.pf-check svg { width: 13px; height: 13px; }
.plan2-foot {
  margin: auto clamp(24px, 2.2vw, 32px) clamp(24px, 2.2vw, 30px);
  padding-top: clamp(20px, 2vw, 26px);
  color: var(--text-faint); font-size: 0.92rem; text-decoration: none;
  transition: color .3s var(--ease);
}
.plan2-foot:hover { color: var(--text); }

/* featured tier — colour-wash hero + dark CTA, like the inspiration */
.plan2.featured { transform: translateY(-10px); z-index: 2; border-color: rgba(0, 0, 0, 0.08); }
.plan2.featured:hover { transform: translateY(-16px); }
.plan2.featured .plan2-wash {
  opacity: 1;
  background:
    radial-gradient(120% 78% at 50% -8%, rgba(99, 138, 245, 0.55), rgba(99, 138, 245, 0) 60%),
    radial-gradient(120% 70% at 50% 118%, rgba(229, 112, 58, 0.55), rgba(229, 112, 58, 0) 58%),
    radial-gradient(90% 60% at 50% 92%, rgba(245, 190, 90, 0.6), rgba(245, 190, 90, 0) 62%);
  filter: blur(4px);
}
.plan2.featured .plan2-cta {
  background: var(--ink-strong, #1b1c20); color: #f7f6f2; border-color: transparent;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.55);
}
.plan2.featured .plan2-cta:hover { box-shadow: 0 20px 38px -12px rgba(0, 0, 0, 0.6); }

/* ---------- "Don't know where to start?" CTA block ---------- */
.start-cta {
  position: relative; overflow: hidden;
  margin-top: 16px;
  border-radius: 26px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: var(--surface, #fbfaf7);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 30px 64px -44px rgba(30, 30, 80, 0.34);
}
.start-cta-wash {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(70% 130% at 8% -10%, rgba(99, 138, 245, 0.28), rgba(99, 138, 245, 0) 60%),
    radial-gradient(70% 130% at 100% 120%, rgba(229, 112, 58, 0.26), rgba(229, 112, 58, 0) 58%),
    radial-gradient(60% 110% at 88% -10%, rgba(138, 92, 240, 0.22), rgba(138, 92, 240, 0) 60%);
  filter: blur(6px);
}
.start-cta-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(48px, 6vw, 84px) clamp(24px, 4vw, 48px);
}
.start-cta-h {
  font-weight: 800; letter-spacing: -0.035em; color: var(--text, #1a1916);
  font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.04; text-wrap: balance;
}
.start-cta-p {
  margin-top: clamp(14px, 1.6vw, 20px);
  color: var(--text-soft); font-size: clamp(1rem, 1.3vw, 1.18rem); line-height: 1.55;
  max-width: 46ch; text-wrap: pretty;
}
.start-cta-btn {
  margin-top: clamp(26px, 2.6vw, 34px);
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-weight: 600; font-size: 1rem; letter-spacing: -0.01em;
  padding: 16px 38px; border-radius: 999px; cursor: pointer;
  background: var(--ink-strong, #1b1c20); color: #f7f6f2; border: 0;
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.55);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.start-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 22px 42px -14px rgba(0, 0, 0, 0.62); }

/* ---------- separate options (website-only / content-only) ---------- */
.opt-grid {
  margin-top: 16px;
  display: grid; grid-template-columns: 1.22fr 1fr; gap: 16px;
}
.opt {
  position: relative;
  background: var(--surface-2);
  border-radius: 24px; padding: 30px 30px 28px;
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column;
}
.opt-arrow {
  position: absolute; top: 22px; right: 22px;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: transform .45s var(--ease), background .35s var(--ease);
}
.opt:hover .opt-arrow { transform: rotate(45deg); }
.opt-arrow svg { width: 15px; height: 15px; }
.opt-kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); }
.opt h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.02em; margin-top: 10px; color: var(--text); padding-right: 50px; }
.opt p { color: var(--text-soft); font-size: 0.92rem; margin-top: 10px; line-height: 1.5; text-wrap: pretty; max-width: 46ch; }
.opt .btn { align-self: flex-start; margin-top: 22px; }
.opt-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.opt-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 14px 11px 16px; border-radius: 999px; cursor: pointer;
  background: #fff; border: 0; box-shadow: inset 0 0 0 1px var(--line-strong);
  font: inherit; font-weight: 600; font-size: 0.9rem; color: var(--text);
  transition: box-shadow .18s var(--ease), transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.opt-pill:hover {
  background: var(--ink-strong); color: #f6f5f2;
  box-shadow: inset 0 0 0 1px var(--ink-strong), 0 12px 24px -12px rgba(0, 0, 0, 0.42);
  transform: translateY(-2px);
}
.opt-pill svg { width: 14px; height: 14px; opacity: 0.55; }
.opt-pill:hover svg { opacity: 1; }
.opt-pill:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- automations catalog — dark studio panel ---------- */
.autos {
  margin-top: 96px;
  position: relative;
  background: #121116;
  border-radius: 30px;
  padding: 72px clamp(22px, 5vw, 60px) 28px;
  overflow: clip;
}
/* soft ambient haze behind the cards, like a backlit wall */
.autos::before {
  content: ""; position: absolute; inset: -10% -5%; pointer-events: none;
  background:
    radial-gradient(38% 34% at 18% 52%, oklch(0.62 0.18 20 / 0.13), transparent 70%),
    radial-gradient(40% 36% at 50% 44%, oklch(0.62 0.14 230 / 0.12), transparent 70%),
    radial-gradient(36% 32% at 84% 54%, oklch(0.60 0.17 310 / 0.12), transparent 70%);
}
.autos > * { position: relative; }
.autos .eyebrow { color: #87838f; }
.autos .autos-h { color: #f6f5f2; }
.autos .lead { color: #9d9aa4; }
.autos-h {
  font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: -0.035em; line-height: 1.08; margin-top: 14px; text-wrap: balance;
}
.auto-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  margin-top: 56px; align-items: stretch;
}
/* per-group gradient pairs */
.auto-card[data-group="g1"] { --g1: oklch(0.70 0.19 350); --g2: oklch(0.74 0.17 45); }
.auto-card[data-group="g2"] { --g1: oklch(0.78 0.13 215); --g2: oklch(0.60 0.19 270); }
.auto-card[data-group="g3"] { --g1: oklch(0.82 0.15 90); --g2: oklch(0.71 0.17 45); }
.auto-card[data-group="g4"] { --g1: oklch(0.62 0.20 300); --g2: oklch(0.70 0.19 345); }
.auto-card {
  display: flex; flex-direction: column; text-align: left;
  border-radius: 24px; padding: 22px;
  border: 1.5px solid transparent;
  background:
    linear-gradient(180deg, #1b1a21, #141319) padding-box,
    linear-gradient(135deg, var(--g1), var(--g2)) border-box;
  box-shadow:
    0 0 44px -18px var(--g1),
    0 22px 70px -34px var(--g2);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  min-height: 320px; cursor: pointer;
}
.auto-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 0 64px -14px var(--g1),
    0 30px 90px -30px var(--g2);
}
.auto-card:focus-visible { outline: 2px solid #f6f5f2; outline-offset: 4px; }
.ac-step {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em;
  color: color-mix(in oklab, var(--g1) 70%, white);
  padding: 4px 6px 0;
}
.ac-preview {
  flex: 1; display: flex; flex-wrap: wrap; gap: 9px;
  align-content: center; justify-content: center;
  padding: 22px 12px 26px;
}
.ac-chip {
  display: inline-block; padding: 9px 15px; border-radius: 999px;
  font-size: 0.84rem; font-weight: 600; letter-spacing: -0.01em;
  color: color-mix(in oklab, var(--g1) 50%, #f0eef4);
  background: color-mix(in oklab, var(--g1) 13%, #17161c);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--g1) 26%, transparent);
  transform: rotate(-2deg);
  transition: transform .45s var(--ease);
}
.ac-chip:nth-child(2n) { transform: rotate(1.6deg); }
.ac-chip:nth-child(3n) { transform: rotate(-1deg); }
.auto-card:hover .ac-chip { transform: rotate(0deg); }
/* recommended hero chip — bright fill + brand spark + glow */
.ac-chip.rec {
  color: #0e0d12; font-weight: 700;
  background: linear-gradient(125deg, color-mix(in oklab, var(--g1) 86%, white), var(--g1));
  box-shadow: 0 0 22px -4px var(--g1), inset 0 0 0 1px color-mix(in oklab, var(--g1) 55%, white);
}
.ac-chip.rec::before { content: "\2726"; margin-right: 6px; font-size: 0.82em; }
.ac-folder {
  position: relative; margin-top: auto; display: block;
  padding: 16px 6px 4px;
}
.ac-title { display: block; font-size: 1.18rem; font-weight: 700; letter-spacing: -0.025em; color: #f6f5f2; }
.ac-line {
  display: block; height: 1px; margin: 13px 0;
  background: linear-gradient(90deg,
    color-mix(in oklab, var(--g1) 45%, transparent),
    color-mix(in oklab, var(--g2) 18%, transparent) 70%,
    transparent);
}
.ac-desc { display: block; font-size: 0.9rem; color: #9d9aa4; line-height: 1.5; text-wrap: pretty; }
.ac-meta { display: flex; align-items: center; gap: 10px; margin-top: 15px; min-height: 21px; }
.ag-count {
  width: 21px; height: 21px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: #f6f5f2; color: #15140f;
  font-size: 0.68rem; font-weight: 700;
  transform: scale(0); transition: transform .35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ag-count.show { transform: scale(1); }
.ac-open {
  display: inline-flex; align-items: center; gap: 6px; margin-left: auto;
  font-size: 0.82rem; font-weight: 600; letter-spacing: -0.01em;
  color: color-mix(in oklab, var(--g1) 65%, white);
}
.ac-open svg { width: 13px; height: 13px; transition: transform .35s var(--ease); }
.auto-card:hover .ac-open svg { transform: translateX(3px); }

/* picker modal */
.am-card { max-width: 560px; }
.am-panel { display: none; }
.am-panel.act { display: block; }
.am-title { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.03em; margin-top: 8px; color: var(--tint-ink, var(--text)); }
.am-desc { color: var(--text-soft); font-size: 0.93rem; margin-top: 6px; line-height: 1.5; max-width: 46ch; }
.am-panel .auto-items { margin-top: 12px; }
.am-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line);
}
.am-count { font-size: 0.9rem; font-weight: 600; color: var(--text-soft); }
#amDone { padding: 11px 24px; }
.auto-items { display: flex; flex-direction: column; }
.auto-item {
  display: flex; gap: 15px; align-items: flex-start; text-align: left;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
  transition: opacity .25s var(--ease);
}
.auto-item:last-child { border-bottom: 0; }
.auto-item:hover:not(.on) .ai-check { color: var(--line-strong); box-shadow: inset 0 0 0 1.5px var(--text-faint); }
.auto-item .ai-check {
  width: 21px; height: 21px; border-radius: 50%; flex: none; margin-top: 1px;
  display: grid; place-items: center; color: transparent;
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  transition: background .2s var(--ease), color .2s, box-shadow .2s var(--ease);
}
.auto-item .ai-check svg { width: 12px; height: 12px; }
.auto-item.on .ai-check { background: var(--ink-strong); box-shadow: none; color: #f6f5f2; }
.auto-item.on .ai-check svg { animation: aiPop .4s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes aiPop {
  0% { transform: scale(.3); }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
.auto-item .ai-txt { display: block; }
.auto-item .ai-txt strong { display: block; font-size: 0.95rem; font-weight: 600; letter-spacing: -0.015em; }
.auto-item .ai-txt > span { display: block; color: var(--text-soft); font-size: 0.85rem; line-height: 1.5; margin-top: 3px; text-wrap: pretty; }
/* recommended automation — pill + gentle highlight */
.auto-item.is-rec { background: color-mix(in oklab, var(--accent-3) 12%, transparent); border-radius: 13px; padding-left: 12px; padding-right: 12px; border-bottom-color: transparent; }
.auto-item.is-rec + .auto-item { border-top: 1px solid var(--line); }
.ai-rec {
  flex: none; align-self: flex-start; margin-left: auto; margin-top: 1px; white-space: nowrap;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: var(--r-pill);
  background: var(--accent-3); color: #2a2410;
}

.auto-bar {
  margin-top: 48px; padding: 12px 12px 12px 26px; border-radius: 999px;
  background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; gap: 20px; justify-content: space-between; flex-wrap: wrap;
  position: sticky; bottom: 16px; z-index: 5;
  transition: background .45s var(--ease), box-shadow .45s var(--ease);
}
.auto-bar.active {
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16), 0 28px 60px -26px rgba(0,0,0,.55);
}
.auto-bar .ab-count { font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; color: #8d8a94; white-space: nowrap; transition: color .35s; }
.auto-bar .btn-dark:not(:disabled) { background: #f6f5f2; color: var(--ink-strong); }
.auto-bar .btn-dark:disabled { background: rgba(255,255,255,0.10); color: #c9c7cf; }
.auto-bar.active .ab-count { color: #e9e7ee; }
.auto-bar .ab-count.tick { animation: abTick .35s var(--ease); }
@keyframes abTick {
  0% { transform: translateY(5px); opacity: .3; }
  100% { transform: none; opacity: 1; }
}
.auto-bar.active .btn-dark:not(:disabled) { background: #f6f5f2; color: var(--ink-strong); }
.auto-bar.active .btn-dark:not(:disabled):hover { box-shadow: 0 12px 30px -10px rgba(0,0,0,.6); }
.auto-bar .btn:disabled { opacity: .35; cursor: default; transform: none; box-shadow: none; }
@media (prefers-reduced-motion: reduce) {
  .auto-item.on .ai-check svg, .auto-bar .ab-count.tick, .ag-count { animation: none !important; transition: none !important; }
}

@media (max-width: 880px) {
  .auto-grid { grid-template-columns: 1fr; gap: 18px; }
  .auto-card { min-height: 0; }
  .autos { padding: 56px 18px 20px; border-radius: 26px; }
  .ac-preview { padding: 26px 8px 30px; }
  .auto-bar { border-radius: 24px; padding: 14px 16px 14px 22px; }
  .web-only { padding: 24px 22px; }
}

@media (max-width: 880px) {
  .plan-grid { grid-template-columns: 1fr; }
  .plan2.featured { transform: none; order: -1; }
  .plan2.featured:hover { transform: translateY(-5px); }
  .opt-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact / booking ---------- */
.booking {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 16px;
  margin-top: 54px; align-items: stretch;
}
.bk-cal, .bk-info {
  background: var(--surface-2); border-radius: 26px; padding: 30px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cal-month { font-weight: 700; font-size: 1.06rem; letter-spacing: -0.02em; }
.cal-nav {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: var(--text-soft);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: color .25s, box-shadow .25s var(--ease), transform .3s var(--ease);
}
.cal-nav svg { width: 16px; height: 16px; }
.cal-nav:hover:not(:disabled) { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); transform: translateY(-1px); }
.cal-nav:disabled { opacity: .3; cursor: default; }

.cal-dow {
  display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 20px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-faint); text-align: center;
}
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 8px; }
.cal-day {
  aspect-ratio: 1; min-height: 0; border-radius: 12px; position: relative;
  display: grid; place-items: center; font-size: 0.92rem; font-weight: 500; color: var(--text);
  transition: background .2s var(--ease), box-shadow .2s var(--ease), color .2s;
}
.cal-day.empty { visibility: hidden; }
.cal-day:hover:not(:disabled):not(.sel) { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); }
.cal-day:disabled { color: #c8c5bc; cursor: default; }
.cal-day.today::after {
  content: ""; position: absolute; left: 50%; bottom: 5px; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--accent);
}
.cal-day.sel { background: var(--ink-strong); color: #f6f5f2; font-weight: 600; }
.cal-day.sel.today::after { background: var(--accent-3); }

.cal-sep { height: 1px; background: var(--line); margin: 22px 0 16px; }
.slots-lbl {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-faint);
}
.slots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.slot {
  padding: 9px 17px; border-radius: var(--r-pill);
  font-size: 0.9rem; font-weight: 600; letter-spacing: -0.01em; color: var(--text);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background .2s var(--ease), box-shadow .2s var(--ease), color .2s, transform .3s var(--ease);
}
.slot:hover:not(.sel) { box-shadow: inset 0 0 0 1px var(--text-faint); transform: translateY(-1px); }
.slot.sel { background: var(--ink-strong); color: #f6f5f2; box-shadow: none; }
.slot:disabled {
  opacity: .35; text-decoration: line-through; cursor: default;
  box-shadow: inset 0 0 0 1px var(--line); transform: none;
}
.cal-tz { margin-top: 18px; font-size: 0.78rem; color: var(--text-faint); }

.bk-info { display: flex; flex-direction: column; }
.bk-sel {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-radius: 14px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; color: var(--text-faint);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: color .25s, box-shadow .25s var(--ease);
}
.bk-sel svg { width: 17px; height: 17px; flex: none; }
.bk-sel.ready { color: var(--text); box-shadow: inset 0 0 0 1.5px var(--ink-strong); }
.bk-sel.shake { animation: bkShake .32s ease-in-out; }
.bk-sel[hidden] { display: none; }
#bookForm[hidden] { display: none; }
@keyframes bkShake {
  0%, 100% { transform: none; }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
#bookForm { margin-top: 18px; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.bk-editnote {
  padding: 11px 14px; border-radius: 12px;
  font-size: 0.86rem; font-weight: 600; letter-spacing: -0.01em; color: var(--text-soft);
  background: color-mix(in oklab, var(--accent) 9%, var(--surface));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 35%, var(--line));
}
.bk-editnote[hidden] { display: none; }
.bk-editlink {
  margin-top: 14px; font-size: 0.88rem; font-weight: 600; letter-spacing: -0.01em;
  color: var(--text-soft); text-decoration: underline; text-underline-offset: 3px;
  transition: color .2s;
}
.bk-editlink:hover { color: var(--text); }
.bk-editlink[hidden] { display: none; }
.bk-submit { width: 100%; justify-content: center; margin-top: auto; }
.bk-success { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.bk-success[hidden] { display: none; }
.bk-success p { margin-bottom: 0; }

@media (max-width: 880px) {
  .booking { grid-template-columns: 1fr; }
  .bk-cal, .bk-info { padding: 26px 22px; }
}

/* ---------- Work / portfolio ---------- */
.work-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.work-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; margin-top: 52px; }
.work-card { position: relative; }
.work-shot {
  border-radius: 22px; overflow: hidden; position: relative;
  background: #e9e7e1;
  box-shadow: inset 0 0 0 1px var(--line);
  aspect-ratio: 16/11;
  transition: transform .6s var(--ease);
}
.work-card:hover .work-shot { transform: translateY(-4px); }
.work-tags { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; z-index: 3; }

/* ---------- Website mockup previews (realistic) ---------- */
.mock { position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff; font-family: var(--sans); }
.mock-bar {
  height: 28px; flex: none; display: flex; align-items: center; gap: 5px; padding: 0 12px;
  background: #efeee9; border-bottom: 1px solid var(--line);
}
.mock-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: #cfccc3; }
.mock-bar .url {
  margin-left: 10px; height: 17px; flex: 1; max-width: 210px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); letter-spacing: 0;
  font-size: 9px; color: #8a877e; display: flex; align-items: center; padding: 0 10px;
}
.mock-bar-dark { background: #15140f; border-bottom-color: #2a2823; }
.mock-bar-dark .dot { background: #403d35; }
.mock-bar-dark .url { background: #211f1a; border-color: #2f2c25; color: #8d8a80; }

.site { flex: 1; display: flex; flex-direction: column; overflow: hidden; min-height: 0; }
.site-nav { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 11px 16px; }
.site-nav .logo { font-weight: 800; font-size: 14px; letter-spacing: -0.03em; color: #1a1916; }
.site-nav .links { display: flex; gap: 13px; font-size: 9.5px; font-weight: 500; color: #6b685f; }
.site-nav .nav-cta { font-size: 9px; font-weight: 600; color: #fff; background: #1a1916; padding: 5px 11px; border-radius: 999px; }

/* split hero */
.site .hero { flex: 1; display: flex; gap: 14px; padding: 4px 16px 16px; min-height: 0; }
.hero-txt { flex: 1.2; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.hero-img { flex: 1; border-radius: 12px; position: relative; overflow: hidden; }
.mock-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.eyebrow2 { font-size: 8px; font-weight: 700; letter-spacing: 0.12em; color: var(--accent); }
.hero-txt h3 { font-size: 23px; line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; color: #1a1916; }
.hero-txt p { font-size: 10px; line-height: 1.42; color: #6b685f; max-width: 24ch; }
.hero-btns { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.b-dark { font-size: 9.5px; font-weight: 600; color: #fff; background: #1a1916; padding: 7px 13px; border-radius: 999px; }
.b-line { font-size: 9.5px; font-weight: 600; color: #1a1916; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-strong); }
.b-accent { font-size: 9.5px; font-weight: 600; color: #1a1916; background: var(--accent); padding: 7px 13px; border-radius: 999px; }
.rating { font-size: 9px; font-weight: 600; color: #c0883c; margin-top: 2px; }

/* restaurant */
.site-resto .logo .amp { color: var(--accent); margin: 0 1px; }
.site-resto .hero-img { background: linear-gradient(140deg, oklch(0.72 0.13 48), oklch(0.46 0.11 30)); }

/* fitness (dark) */
.site-fit { background: #15140f; }
.site-fit .logo { color: #fff; letter-spacing: 0.06em; }
.site-fit .links { color: #9b988e; }
.site-fit .nav-cta { background: var(--accent); color: #fff; }
.site-fit .hero-txt h3 { color: #fff; }
.site-fit .hero-txt p { color: #a3a097; }
.site-fit .hero-img { background: linear-gradient(160deg, #45413a, #15140f); }
.site-fit .stats { display: flex; gap: 18px; margin-top: 6px; font-size: 8.5px; color: #a3a097; }
.site-fit .stats b { color: #fff; font-size: 13px; font-weight: 700; display: block; letter-spacing: -0.02em; }
.play2 { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); display: grid; place-items: center; color: #fff; }
.play2 svg { width: 12px; height: 12px; margin-left: 2px; }

/* boutique */
.site-shop .cart { font-size: 9px; font-weight: 600; color: #1a1916; }
.shop-head { flex: none; padding: 2px 16px 0; display: flex; align-items: baseline; justify-content: space-between; }
.shop-head h3 { font-size: 16px; font-weight: 800; letter-spacing: -0.025em; color: #1a1916; }
.shop-head .shop-sub { font-size: 8.5px; color: #8a877e; }
.prod-grid { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; padding: 11px 16px 16px; min-height: 0; }
.prod { display: flex; flex-direction: column; gap: 4px; min-height: 0; }
.prod .prod-img { flex: 1; border-radius: 9px; min-height: 0; position: relative; overflow: hidden; }
.prod .prod-n { font-size: 9.5px; font-weight: 600; color: #1a1916; }
.prod .prod-p { font-size: 8.5px; color: #6b685f; }
.prod:nth-child(1) .prod-img { background: linear-gradient(140deg, oklch(0.8 0.08 350), oklch(0.6 0.1 350)); }
.prod:nth-child(2) .prod-img { background: linear-gradient(140deg, oklch(0.82 0.08 85), oklch(0.64 0.1 60)); }
.prod:nth-child(3) .prod-img { background: linear-gradient(140deg, oklch(0.78 0.07 250), oklch(0.58 0.09 250)); }
.prod:nth-child(4) .prod-img { background: linear-gradient(140deg, oklch(0.8 0.08 30), oklch(0.6 0.1 22)); }

/* real estate */
.site-real .search-bar { flex: none; margin: 2px 16px 0; display: flex; align-items: center; justify-content: space-between; background: #f3f2ef; border: 1px solid var(--line); border-radius: 999px; padding: 5px 5px 5px 14px; }
.site-real .sb-text { font-size: 9.5px; color: #8a877e; }
.site-real .sb-btn { font-size: 9px; font-weight: 600; color: #fff; background: #1a1916; padding: 6px 13px; border-radius: 999px; }
.feat { flex: 1; display: flex; gap: 14px; padding: 12px 16px 16px; min-height: 0; }
.feat-img { flex: 1.25; border-radius: 12px; background: linear-gradient(150deg, oklch(0.72 0.06 230), oklch(0.48 0.07 248)); position: relative; overflow: hidden; }
.feat-badge { position: absolute; top: 9px; left: 9px; font-size: 7.5px; font-weight: 700; letter-spacing: 0.06em; color: #1a1916; background: #fff; padding: 4px 8px; border-radius: 999px; }
.feat-info { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.feat-info h3 { font-size: 15px; font-weight: 800; letter-spacing: -0.025em; color: #1a1916; }
.feat-info .price { font-size: 19px; font-weight: 800; color: #1a1916; letter-spacing: -0.03em; }
.feat-info .specs { font-size: 9.5px; color: #6b685f; }
.feat-info .b-dark { align-self: flex-start; margin-top: 4px; }

.work-meta { display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px; padding: 0 4px; }
.work-meta .nm { font-weight: 700; letter-spacing: -0.02em; }
.work-meta .ty { color: var(--text-faint); font-size: 0.86rem; }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }

/* ---------- UGC content conveyor ---------- */
.ugc { margin-top: 8px; }
.ugc-head { margin-bottom: 24px; }
.ugc-title {
  font-size: clamp(1.3rem, 2.4vw, 1.95rem);
  letter-spacing: -0.03em; margin-top: 8px; font-weight: 700;
  color: var(--ink-strong);
}
.ugc-belt {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.ugc-track {
  display: flex; gap: 16px; width: max-content;
  will-change: transform;
  animation: ugc-belt 64s linear infinite;
}
.ugc-belt:hover .ugc-track { animation-play-state: paused; }
@keyframes ugc-belt {
  /* two identical halves -> -50% to 0 slides the row rightward, seamlessly */
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
.ugc-card {
  position: relative; flex: none; margin: 0;
  height: clamp(400px, 50vh, 500px);
  aspect-ratio: 9 / 16;
  border-radius: 22px; overflow: hidden;
  background: #15140f;
  box-shadow: 0 22px 50px -26px rgba(0,0,0,.55), inset 0 0 0 1px var(--line);
}
.ugc-vid {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.ugc-card figcaption {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font-size: 0.78rem; font-weight: 600; letter-spacing: -0.01em; color: #fff;
  background: rgba(20,19,15,.5); backdrop-filter: blur(8px);
  padding: 5px 11px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
}
@media (prefers-reduced-motion: reduce) { .ugc-track { animation: none; } }
@media (max-width: 720px) { .ugc-card { height: clamp(320px, 64vw, 430px); } }

/* ---------- Invite: scroll-driven envelope ---------- */
.scrub { position: relative; margin-top: 14px; }
.scrub + .panel { margin-top: 14px; }
.scrub-track { position: relative; height: 220vh; }
.scrub-sticky {
  position: sticky; top: 0;
  height: 100vh; min-height: 540px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 30px; padding: 24px 16px;
}
.env-scene {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  --flap: 0; --rise: 0; --glow: 0; --hint: 1;
}
.envelope {
  position: relative;
  width: min(84vw, 520px);
  aspect-ratio: 10 / 7;
  perspective: 1300px;
}
.env-back {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, #d8d4c9 0%, #e7e5dd 40%, #f2f1ec 70%);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 34px 70px -34px rgba(31, 26, 18, .38);
  overflow: hidden;
}
/* side flaps folded in — the paper you see at the top corners */
.env-back::before, .env-back::after {
  content: ""; position: absolute; inset: 0;
}
.env-back::before {
  background: linear-gradient(105deg, #f7f6f1, #e9e7df 80%);
  clip-path: polygon(0 0, 54% 52%, 0 100%);
  filter: drop-shadow(2px 0 2px rgba(31, 26, 18, .12));
}
.env-back::after {
  background: linear-gradient(-105deg, #f7f6f1, #e9e7df 80%);
  clip-path: polygon(100% 0, 46% 52%, 100% 100%);
  filter: drop-shadow(-2px 0 2px rgba(31, 26, 18, .12));
}
.env-glow {
  position: absolute; inset: -28% -18%; z-index: 3; pointer-events: none;
  background:
    radial-gradient(36% 28% at 50% 54%, oklch(0.78 0.16 55 / 0.85), transparent 70%),
    radial-gradient(62% 50% at 50% 52%, oklch(0.72 0.17 45 / 0.42), transparent 72%);
  filter: blur(18px);
  opacity: var(--glow);
  transform: scale(calc(0.72 + 0.38 * var(--glow)));
}
.env-flap {
  position: absolute; left: 0.8%; right: 0.8%; top: 0.6%; height: 54%; z-index: 6;
  background: linear-gradient(180deg, #fbfaf7 0%, #efede6 70%, #e4e1d8 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: 50% 0;
  transform: rotateX(calc(var(--flap) * -178deg));
  will-change: transform;
  filter:
    drop-shadow(0 1px 0 rgba(31, 26, 18, .10))
    drop-shadow(0 9px 14px rgba(31, 26, 18, .14));
}
.envelope.opened .env-flap {
  z-index: 2;
  background: linear-gradient(0deg, #f4f3ee 0%, #ddd9ce 100%);
  filter: drop-shadow(0 1px 0 rgba(31, 26, 18, .07));
}
.env-clip {
  position: absolute; left: 5%; right: 5%; top: -85%; bottom: 39%;
  z-index: 4; overflow: hidden; pointer-events: none;
}
.env-card {
  position: absolute; left: 4%; right: 4%; bottom: 0; height: 65%;
  border-radius: 14px;
  background:
    radial-gradient(120% 88% at 50% 132%, oklch(0.92 0.13 84 / 0.95), transparent 50%),
    radial-gradient(150% 130% at 50% 108%, oklch(0.78 0.19 52 / 0.9), transparent 62%),
    linear-gradient(168deg, oklch(0.59 0.21 30) 0%, oklch(0.64 0.21 38) 44%, oklch(0.71 0.20 50) 100%);
  box-shadow:
    0 16px 50px -16px oklch(0.62 0.19 45 / calc(0.8 * var(--glow))),
    inset 0 0 0 1px rgba(255, 255, 255, .1);
  transform: translateY(calc((1 - var(--rise)) * 99%)) scale(calc(0.96 + 0.04 * var(--rise)));
  will-change: transform;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 7.5% 9% 0;
  color: #fff5e6;
}
.ec-logo {
  width: clamp(26px, 6%, 40px); height: auto; margin-top: 1.5%;
  filter: brightness(0) invert(1) drop-shadow(0 1px 8px rgba(255, 210, 150, .45));
}
.ec-tick { position: absolute; top: 6%; width: 15px; height: 15px; border: 2px solid rgba(255, 245, 230, .45); }
.ec-tick.tl { left: 5%; border-right: 0; border-bottom: 0; border-top-left-radius: 5px; }
.ec-tick.tr { right: 5%; border-left: 0; border-bottom: 0; border-top-right-radius: 5px; }
.ec-h {
  font-size: clamp(1.35rem, 3.7vw, 2.05rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.12; margin-top: 10%;
  text-wrap: balance; color: #fff;
  text-shadow: 0 1px 14px oklch(0.45 0.16 35 / 0.45);
}
.ec-p {
  font-size: clamp(0.78rem, 1.7vw, 0.95rem); line-height: 1.55;
  color: rgba(255, 244, 230, .82); margin-top: 14px; max-width: 34ch; text-wrap: pretty;
}
.env-front {
  position: absolute; inset: 0; z-index: 5;
  background: linear-gradient(180deg, #fbfaf7 0%, #f0eee8 100%);
  clip-path: polygon(0 30%, 50% 58%, 100% 30%, 100% 100%, 0 100%);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px var(--line);
}
/* fold shadow under the front's V seam — sells the paper depth */
.env-front::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31, 26, 18, .22), rgba(31, 26, 18, 0) 72%);
  clip-path: polygon(0 30%, 50% 58%, 100% 30%, 100% 34.5%, 50% 62.5%, 0 34.5%);
  opacity: .55;
}
.env-spark {
  position: absolute; left: -24%; top: -64%; width: 148%; height: 178%;
  z-index: 7;
  pointer-events: none;
}
.env-hint {
  font-size: 0.85rem; font-weight: 600; color: var(--text-faint);
  opacity: var(--hint);
}

/* ---------- Invite card, standalone (envelope retired for now) ---------- */
.invite-wrap { display: grid; place-items: center; }
.invite-card {
  position: relative; left: auto; right: auto; bottom: auto; height: auto;
  width: min(88vw, 560px);
  border-radius: 18px;
  transform: none;
  padding: 52px 38px 60px;
  box-shadow:
    0 34px 80px -30px oklch(0.62 0.19 45 / 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.invite-card .ec-logo { width: clamp(30px, 7%, 44px); margin-top: 4px; }
.invite-card .ec-h { margin-top: 36px; }
@media (max-width: 720px) {
  .invite-card { padding: 42px 26px 48px; }
  .invite-card .ec-h { margin-top: 28px; }
}
@media (max-width: 720px) {
  /* Mobile: no pinning — the envelope opens as it crosses the viewport. */
  .scrub-track { height: auto; }
  .scrub-sticky { position: static; height: auto; min-height: 0; padding: 52px 16px; gap: 20px; }
  .envelope { width: min(88vw, 430px); }
}
@media (prefers-reduced-motion: reduce) {
  .scrub-track { height: auto; }
  .scrub-sticky { position: static; height: auto; min-height: 0; padding: 56px 16px; }
  .env-scene { --flap: 1; --rise: 1; --glow: 1; --hint: 0; }
  .env-flap { z-index: 2; }
}

/* ---------- Testimonials wall ---------- */
.tw { position: relative; }
.tw-belt {
  position: relative; z-index: 1; overflow: hidden; height: 300px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.tw-cluster {
  display: flex; justify-content: flex-start; align-items: flex-start; gap: 18px;
  width: max-content; margin-top: 18px;
  will-change: transform; backface-visibility: hidden;
}
.tw-ph {
  flex: none; display: block; box-shadow: 0 20px 44px -22px rgba(0,0,0,.4), inset 0 0 0 1px var(--line);
  background: linear-gradient(150deg, #e6e4dd, #f1efe9);
  border-radius: 22px;
  transform: translateY(var(--baseY, 0px));
  backface-visibility: hidden;
}
.tw-ph::part(frame) { border-radius: 22px; }
.tw-cluster .tw-ph:nth-child(1) { --baseY: 58px; }
.tw-cluster .tw-ph:nth-child(2) { --baseY: 8px; }
.tw-cluster .tw-ph:nth-child(3) { --baseY: 96px; }
.tw-cluster .tw-ph:nth-child(4) { --baseY: 0px; }
.tw-cluster .tw-ph:nth-child(5) { --baseY: 46px; }
.tw-cluster .tw-ph:nth-child(6) { --baseY: 0px; }
.tw-cluster .tw-ph:nth-child(7) { --baseY: 94px; }
.tw-cluster .tw-ph:nth-child(8) { --baseY: 10px; }
.tw-cluster .tw-ph:nth-child(9) { --baseY: 56px; }

.tw-lines { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.tw-lines span {
  position: absolute; top: 38%; bottom: 0; width: 1px;
  background: linear-gradient(var(--line-strong), transparent);
}
.tw-lines span::before {
  content: ""; position: absolute; top: 0; left: -2px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--accent);
}
.tw-lines span:nth-child(1) { left: 18%; }
.tw-lines span:nth-child(2) { left: 40%; }
.tw-lines span:nth-child(3) { left: 60%; }
.tw-lines span:nth-child(4) { left: 82%; }

.tw-content { position: relative; z-index: 2; text-align: center; margin-top: 40px; }
.tw-content .chip { margin-bottom: 22px; }
.tw-title { letter-spacing: -0.03em; }
.tw-title .dim { color: var(--text-faint); }

@media (max-width: 900px) {
  /* keep the conveyor belt on mobile too — same as desktop, just a touch shorter */
  .tw-belt { height: 262px; }
  .tw-content { margin-top: 30px; }
}

/* ---------- Testimonials (legacy scatter, unused) ---------- */
.reviews-stage {
  position: relative; margin-top: 30px; min-height: 430px;
  display: flex; align-items: center; justify-content: center;
}
.review {
  width: 270px; border-radius: 22px; padding: 24px 22px 26px;
  box-shadow: 0 24px 50px -26px rgba(0,0,0,.4);
  position: absolute; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.review:hover { transform: rotate(0deg) translateY(-6px) scale(1.02) !important; z-index: 10; box-shadow: 0 34px 60px -24px rgba(0,0,0,.5); }
.review .stars { display: flex; gap: 3px; margin-bottom: 14px; }
.review .stars svg { width: 15px; height: 15px; }
.review p { font-size: 0.93rem; line-height: 1.46; }
.review .who { margin-top: 18px; padding-top: 14px; border-top: 1px solid currentColor; font-weight: 700; font-size: 0.9rem; opacity: .92; }
.review .who span { border-color: inherit; }

.r1 { background: var(--ink-strong); color: #ecebe6; transform: rotate(-9deg) translate(-300px, 14px); }
.r1 .stars svg { color: var(--accent-2); }
.r2 { background: oklch(0.72 0.1 285); color: #fff; transform: rotate(-2deg) translate(-150px, -40px); z-index: 3; }
.r2 .stars svg { color: #fff; }
.r3 { background: var(--surface-2); color: var(--text); transform: rotate(7deg) translate(290px, -10px); box-shadow: 0 24px 50px -28px rgba(0,0,0,.3), inset 0 0 0 1px var(--line); }
.r3 .stars svg { color: oklch(0.7 0.12 285); }
.r4 { background: var(--surface-2); color: var(--text); transform: rotate(-5deg) translate(-30px, 60px); z-index: 2; box-shadow: 0 24px 50px -28px rgba(0,0,0,.3), inset 0 0 0 1px var(--line); }
.r4 .stars svg { color: oklch(0.7 0.12 285); }
.r5 { background: var(--accent-3); color: #2a2410; transform: rotate(6deg) translate(160px, 30px); z-index: 4; }
.r5 .stars svg { color: #2a2410; }

@media (max-width: 880px) {
  .reviews-stage { flex-direction: column; min-height: 0; gap: 16px; }
  .review { position: relative; transform: none !important; width: 100%; max-width: 360px; }
  .review:hover { transform: translateY(-4px) !important; }
}

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 50px; align-items: center; }
.about-photo {
  border-radius: 26px; aspect-ratio: 4/5; position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, #e8e6df 0 12px, #efeee9 12px 24px);
  box-shadow: inset 0 0 0 1px var(--line);
  display: grid; place-items: end center;
}
.about-photo .ph-label {
  font-family: ui-monospace, Menlo, monospace; font-size: 0.72rem; color: var(--text-faint);
  background: var(--surface); padding: 7px 13px; border-radius: var(--r-pill); margin-bottom: 20px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.about .sig { font-family: var(--serif); font-style: italic; font-size: 1.6rem; margin-top: 24px; }
.about .sig-role { color: var(--text-faint); font-size: 0.9rem; margin-top: 2px; }
@media (max-width: 780px) { .about { grid-template-columns: 1fr; gap: 30px; } .about-photo { max-width: 320px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 44px auto 0; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; text-align: left; font-weight: 600; font-size: 1.1rem; letter-spacing: -0.02em;
}
.faq-q .pm { width: 22px; height: 22px; position: relative; flex: none; }
.faq-q .pm::before, .faq-q .pm::after {
  content: ""; position: absolute; background: var(--text); border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s;
}
.faq-q .pm::before { width: 2px; height: 16px; left: 10px; top: 3px; }
.faq-q .pm::after { width: 16px; height: 2px; left: 3px; top: 10px; }
.faq-item.open .pm::before { transform: rotate(90deg); opacity: 0; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .5s var(--ease); }
.faq-a p { padding: 0 4px 26px; color: var(--text-soft); max-width: 640px; }

/* ---------- Final CTA ---------- */
.cta-final {
  text-align: center; position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 44vh;
}
.cta-final .hand {
  width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 26px;
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-strong);
  display: grid; place-items: center;
}
.cta-final .hand svg { width: 30px; height: 30px; }
.cta-final .hero-cta { margin-top: 30px; }

/* ---------- Footer ---------- */
.foot {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 28px 4px 4px; color: var(--text-faint); font-size: 0.88rem;
}
.foot-links { display: flex; gap: 22px; }
.foot-links a:hover { color: var(--text); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .06s; }
.reveal.d2 { transition-delay: .12s; }
.reveal.d3 { transition-delay: .18s; }
.reveal.d4 { transition-delay: .24s; }

/* ===========================================================
   GATE / SEARCH INTRO
   =========================================================== */
html.locked, html.locked body { overflow: hidden; height: 100%; }

.gate .gate-inner {
  position: relative; z-index: 2;
  min-height: calc(100svh - 150px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 56px 0 64px;
}
.gate-tag {
  display: inline-flex; align-items: center; padding: 7px 15px; border-radius: var(--r-pill);
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.04em; color: var(--text-soft);
  background: var(--surface-2); box-shadow: 0 6px 22px -12px rgba(0,0,0,.25), inset 0 0 0 1px var(--line);
}
.gate-title { margin: 0; max-width: 16ch; }

.ask { width: 100%; max-width: 620px; margin: 42px auto 0; }
.ask-wrap {
  position: relative; display: flex; align-items: center;
  background: var(--surface-2); border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 16px 44px -24px rgba(0,0,0,.4);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.ask-wrap:focus-within { box-shadow: inset 0 0 0 1.5px var(--text-faint), 0 22px 56px -26px rgba(0,0,0,.45); }
.ask-input {
  flex: 1 1 auto; min-width: 0; border: none; background: none; outline: none;
  font-family: var(--sans); font-size: 1.12rem; font-weight: 500; color: var(--text);
  padding: 21px 6px 21px 28px; letter-spacing: -0.01em;
}
/* light grey question text */
.ask-ph {
  position: absolute; left: 28px; right: 80px; top: 50%; transform: translateY(-50%);
  text-align: left; pointer-events: none; color: #b6b3aa;
  font-size: 1.12rem; font-weight: 400; letter-spacing: -0.01em;
  transition: opacity .4s var(--ease);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ask-ph.hide { opacity: 0; }
.ask-go {
  flex: none; width: 52px; height: 52px; margin: 6px; border-radius: 50%;
  background: var(--ink-strong); color: #f6f5f2; display: grid; place-items: center;
  transition: transform .35s var(--ease), opacity .3s;
}
.ask-go svg { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.ask-go:hover:not(:disabled) { transform: scale(1.06); }
.ask-go:hover:not(:disabled) svg { transform: translateX(2px); }
.ask-go:disabled { opacity: .3; cursor: not-allowed; }

.gate-hint { margin-top: 24px; color: var(--text-faint); font-size: 0.92rem; transition: color .35s; }
.gate.answered .gate-hint { color: var(--text-soft); font-weight: 500; }

.scroll-cue {
  margin-top: 30px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; color: var(--text-soft);
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line);
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity .5s var(--ease) .2s, transform .5s var(--ease) .2s;
}
.scroll-cue svg { width: 20px; height: 20px; }
.gate.answered .scroll-cue { opacity: 1; transform: none; animation: cueBounce 1.8s var(--ease) infinite .8s; }
@keyframes cueBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

@media (max-width: 560px) {
  .ask-input { font-size: 1rem; padding: 18px 6px 18px 22px; }
  .ask-ph { font-size: 1rem; left: 22px; right: 70px; }
}

/* ===========================================================
   TRANSLATE NOTIFICATION
   =========================================================== */
.lang-toast {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px;
  background: rgba(22,21,17,.32); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  opacity: 0; animation: toastFade .4s var(--ease) forwards;
}
.lang-toast[hidden] { display: none; }
.lang-toast-card {
  background: var(--surface-2); border-radius: 26px; padding: 36px 34px 30px;
  max-width: 380px; width: 100%; text-align: center;
  box-shadow: 0 44px 90px -34px rgba(0,0,0,.55), inset 0 0 0 1px var(--line);
  transform: translateY(12px) scale(.97); animation: cardRise .5s var(--ease) .05s forwards;
}
.lt-globe {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 18px; color: var(--text);
  display: grid; place-items: center; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong);
}
.lt-globe svg { width: 26px; height: 26px; }
.lt-title { font-weight: 600; font-size: 1.22rem; letter-spacing: -0.02em; }
.lt-sub { color: var(--text-soft); font-size: 0.95rem; margin-top: 8px; line-height: 1.45; }
.lt-actions { display: flex; gap: 10px; justify-content: center; margin-top: 24px; }
.lt-actions .btn { padding: 11px 18px; }
@keyframes toastFade { to { opacity: 1; } }
@keyframes cardRise { to { transform: none; } }

/* ===========================================================
   PLAN SIGN-UP MODAL
   =========================================================== */
.plan-modal {
  position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 24px;
  background: rgba(20,19,15,.62); backdrop-filter: blur(14px) saturate(.9); -webkit-backdrop-filter: blur(14px) saturate(.9);
  opacity: 0; animation: toastFade .35s var(--ease) forwards;
  overflow-y: auto;
}
.plan-modal[hidden] { display: none; }
.plan-modal-card {
  position: relative; background: var(--surface-2); border-radius: 28px;
  padding: 38px 36px 32px; max-width: 460px; width: 100%;
  box-shadow: 0 50px 100px -36px rgba(0,0,0,.6), inset 0 0 0 1px var(--line);
  transform: translateY(14px) scale(.97); animation: cardRise .45s var(--ease) .04s forwards;
}
.pm-close {
  position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; color: var(--text-soft);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: color .25s, transform .3s var(--ease);
}
.pm-close:hover { color: var(--text); transform: rotate(90deg); }
.pm-close svg { width: 17px; height: 17px; }

.pm-kicker { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }
.pm-plan-row { display: flex; align-items: baseline; gap: 12px; margin-top: 8px; }
.pm-plan { font-weight: 700; font-size: 1.7rem; letter-spacing: -0.03em; }
.pm-price { font-weight: 600; font-size: 0.98rem; color: var(--accent); }
.pm-sub { color: var(--text-soft); font-size: 0.95rem; margin-top: 8px; line-height: 1.45; }

#planForm { margin-top: 24px; display: flex; flex-direction: column; gap: 13px; }
.pm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.pm-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pm-field span { font-size: 0.82rem; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.pm-field input {
  font-family: var(--sans); font-size: 0.96rem; color: var(--text);
  padding: 12px 14px; border-radius: 13px; background: var(--surface);
  border: none; box-shadow: inset 0 0 0 1px var(--line-strong); outline: none;
  transition: box-shadow .25s var(--ease); width: 100%; min-width: 0; box-sizing: border-box;
}
.pm-field input::placeholder { color: #b6b3aa; }
.pm-field input:focus { box-shadow: inset 0 0 0 1.5px var(--text-faint); }
.pm-field input:user-invalid { box-shadow: inset 0 0 0 1.5px oklch(0.7 0.16 25); }
.pm-submit { width: 100%; justify-content: center; margin-top: 6px; }
.pm-fine { font-size: 0.78rem; color: var(--text-faint); text-align: center; line-height: 1.4; }

.pm-success { text-align: center; padding: 16px 6px 8px; }
.pm-check {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 18px; color: #fff;
  background: oklch(0.62 0.15 150); display: grid; place-items: center;
  box-shadow: 0 14px 30px -12px oklch(0.62 0.15 150 / .7);
}
.pm-check svg { width: 30px; height: 30px; }
.pm-success h3 { font-weight: 700; font-size: 1.4rem; letter-spacing: -0.025em; }
.pm-success p { color: var(--text-soft); margin: 10px auto 22px; max-width: 32ch; line-height: 1.5; }

@media (max-width: 480px) {
  .plan-modal-card { padding: 32px 24px 26px; }
  .pm-grid { grid-template-columns: 1fr; }
}

/* ---------- Work-in-progress toast ---------- */
.wip-toast {
  position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%);
  z-index: 240; pointer-events: none;
}
.wip-toast[hidden] { display: none; }
.wip-bubble {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink-strong); color: #f6f5f2;
  padding: 13px 22px; border-radius: var(--r-pill);
  font-size: 0.95rem; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
  box-shadow: 0 22px 50px -20px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(14px);
  animation: wipIn .4s var(--ease) forwards, wipOut .4s var(--ease) 2.2s forwards;
}
.wip-dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--accent-3); box-shadow: 0 0 0 0 oklch(0.84 0.14 95 / .6);
  animation: wipPulse 1.4s ease-in-out infinite;
}
@keyframes wipIn { to { opacity: 1; transform: none; } }
@keyframes wipOut { to { opacity: 0; transform: translateY(14px); } }
@keyframes wipPulse {
  0%, 100% { box-shadow: 0 0 0 0 oklch(0.84 0.14 95 / .55); }
  50% { box-shadow: 0 0 0 6px oklch(0.84 0.14 95 / 0); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .gate.answered .scroll-cue { animation: none; }
  .wip-dot { animation: none; }
  .next-overlay, .next-inner { transition: none; }
  .next-dot { animation: none; }
}

/* ---------- Tools / integrations overlay ---------- */
.tools-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: radial-gradient(130% 120% at 50% 36%, rgba(247,246,243,0.72), rgba(232,229,238,0.82));
  backdrop-filter: blur(40px) saturate(1.4);
  -webkit-backdrop-filter: blur(40px) saturate(1.4);
  display: grid; place-items: center;
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.tools-overlay.in { opacity: 1; }
.tools-overlay[hidden] { display: none; }
.tools-close {
  position: absolute; top: 22px; right: 22px; z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.7); color: #1a1916;
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 10px 26px -14px rgba(0,0,0,0.4);
  transition: transform .35s var(--ease), background .3s var(--ease);
}
.tools-close:hover { transform: rotate(90deg); background: #fff; }
.tools-close svg { width: 19px; height: 19px; }

.tools-stage {
  position: relative;
  width: min(92vw, 900px); height: min(82vh, 600px);
  display: grid; place-items: center;
}
.tools-orbs { position: absolute; inset: 0; z-index: 1; }
.t-orb {
  position: absolute;
  left: var(--x); top: var(--y);
  width: var(--s); height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(160deg, #ffffff, #f1f0ec);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 18px 34px -16px rgba(30,28,52,0.42),
    0 3px 8px -4px rgba(30,28,52,0.3);
  opacity: 0;
  left: 50%; top: 50%;
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  --R: clamp(165px, 33vw, 320px);
  animation:
    orbIn .7s var(--ease) forwards,
    lap 40s linear infinite;
  animation-delay: var(--delay, 0s), 0s;
}
.t-orb img {
  width: 48%; height: 48%; object-fit: contain; display: block;
  transform: scale(.4); animation: orbImgIn .7s var(--ease) var(--delay, 0s) forwards;
}
/* evenly distribute the 12 orbs around the shared ring via phase offset (negative delay) */
.t-orb:nth-child(1)  { animation-delay: var(--delay,0s), 0s; --R: clamp(140px, 27vw, 250px); }
.t-orb:nth-child(2)  { animation-delay: var(--delay,0s), -3.33s; --R: clamp(190px, 38vw, 360px); }
.t-orb:nth-child(3)  { animation-delay: var(--delay,0s), -6.66s; --R: clamp(160px, 31vw, 290px); }
.t-orb:nth-child(4)  { animation-delay: var(--delay,0s), -10s; --R: clamp(205px, 41vw, 390px); }
.t-orb:nth-child(5)  { animation-delay: var(--delay,0s), -13.33s; --R: clamp(150px, 29vw, 270px); }
.t-orb:nth-child(6)  { animation-delay: var(--delay,0s), -16.66s; --R: clamp(195px, 39vw, 370px); }
.t-orb:nth-child(7)  { animation-delay: var(--delay,0s), -20s; --R: clamp(135px, 26vw, 240px); }
.t-orb:nth-child(8)  { animation-delay: var(--delay,0s), -23.33s; --R: clamp(210px, 42vw, 400px); }
.t-orb:nth-child(9)  { animation-delay: var(--delay,0s), -26.66s; --R: clamp(165px, 32vw, 300px); }
.t-orb:nth-child(10) { animation-delay: var(--delay,0s), -30s; --R: clamp(185px, 36vw, 345px); }
.t-orb:nth-child(11) { animation-delay: var(--delay,0s), -33.33s; --R: clamp(145px, 28vw, 260px); }
.t-orb:nth-child(12) { animation-delay: var(--delay,0s), -36.66s; --R: clamp(200px, 40vw, 380px); }
@keyframes orbIn { to { opacity: 1; } }
@keyframes orbImgIn { to { transform: scale(1); } }
/* one shared lap around the text — the inner counter-rotation keeps each logo upright */
@keyframes lap {
  from { transform: rotate(0deg) translateX(var(--R)) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(var(--R)) rotate(-360deg); }
}

.tools-text { position: relative; z-index: 2; text-align: center; padding: 0 24px; max-width: 540px; }
.tools-h {
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.04;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem); color: var(--text, #1a1916);
  text-wrap: balance;
}
.tools-h span {
  background: linear-gradient(96deg, #8A5CF0 0%, #4f7ef0 30%, #46c7f2 52%, #ff5ed0 76%, #E5703A 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  animation: nextDotFlow 5s linear infinite;
}
.tools-p {
  margin-top: 16px; color: var(--text-soft); text-wrap: pretty;
  font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.5;
}
.tools-overlay.in .tools-h { animation: toolsRise .7s var(--ease) .15s both; }
.tools-overlay.in .tools-p { animation: toolsRise .7s var(--ease) .28s both; }
@keyframes toolsRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
  .tools-stage { width: 94vw; height: 78vh; }
  .t-orb { width: calc(var(--s) * 0.74); height: calc(var(--s) * 0.74); }
}
@media (prefers-reduced-motion: reduce) {
  .t-orb {
    left: var(--x); top: var(--y); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
    transform: none;
    animation: orbIn .7s var(--ease) var(--delay, 0s) forwards;
  }
  .t-orb img { animation: orbImgIn .7s var(--ease) var(--delay, 0s) forwards; }
  .tools-h span { animation: none; }
}

/* ---------- "You're next" overlay ---------- */
.next-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: radial-gradient(120% 120% at 50% 40%, rgba(28,26,40,0.62), rgba(14,13,20,0.78));
  backdrop-filter: blur(34px) saturate(1.5);
  -webkit-backdrop-filter: blur(34px) saturate(1.5);
  display: grid; place-items: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity .5s ease;
}
.next-overlay.show { opacity: 1; }
.next-overlay[hidden] { display: none; }
.next-inner {
  text-align: center; padding: 24px; cursor: default;
  transform: translateY(16px); opacity: 0;
  transition: opacity .7s ease .12s, transform .8s cubic-bezier(.2,.7,.2,1) .12s;
}
.next-overlay.show .next-inner { opacity: 1; transform: none; }
.next-text {
  margin: 0; color: #fff;
  font-size: clamp(3rem, 13vw, 9.5rem);
  font-weight: 800; letter-spacing: -0.045em; line-height: 0.92;
}
.next-dot { color: #fff; }
.next-hint {
  margin: 30px 0 0; color: rgba(255,255,255,.42);
  font-size: .9rem; letter-spacing: .01em;
}
.next-cta { margin-top: 38px; }
.next-close {
  position: absolute; top: 22px; right: 22px; z-index: 2;
  width: 44px; height: 44px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: #fff; cursor: pointer; display: grid; place-items: center;
  transition: background .18s ease;
}
.next-close svg { width: 20px; height: 20px; }
.next-close:hover { background: rgba(255,255,255,.18); }


/* ===========================================================
   MOBILE POLISH — comfortable tap targets, stacked layouts
   =========================================================== */
@media (max-width: 720px) {
  /* rhythm: tighter but still airy */
  .section-pad { padding: 60px 0; }
  .section-pad-sm { padding: 48px 0; }

  /* gate / hero — keep title + search bar clear of the RGB wash above */
  .display { font-size: clamp(1.7rem, 7.4vw, 2.5rem); }
  .gate .gate-inner { min-height: calc(100svh - 110px); padding-top: 18px; padding-bottom: 18px; }
  .ask { margin-top: 18px; max-width: 340px; }
  .ask-input { font-size: 0.82rem; padding: 11px 6px 11px 16px; }
  .ask-ph { font-size: 0.82rem; left: 16px; right: 54px; }
  .ask-go { width: 38px; height: 38px; margin: 4px; }
  .ask-go svg { width: 15px; height: 15px; }
  .gate-hint { margin-top: 13px; font-size: 0.76rem; }

  /* value strip: compact editorial rows */
  .value-strip { margin-top: 40px; }
  .value-cell { padding: 24px 22px; }
  .value-cell .n { font-size: 1.7rem; }
  .value-cell .n .serif { font-size: 1.25rem; }
  .value-cell .l { font-size: 0.9rem; }

  /* generic CTAs stack full-width */
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }

  /* section heads with a side button (Work) stack cleanly */
  .work-head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .work-head .btn { align-self: stretch; justify-content: center; }

  /* pricing: compact cards, same hierarchy */
  .plan-grid { margin-top: 40px; gap: 14px; }
  .plan2-top { padding: 24px 22px; }
  .plan2-feats { padding: 22px 22px 6px; }

  /* integrations card: stack head above the logo row so chips never overflow */
  .b-int { flex-direction: column; align-items: flex-start; gap: 16px; }
  .b-chips { flex-wrap: wrap; }
  .opt { padding: 24px 20px; border-radius: 20px; }
  .opt-grid { gap: 14px; }
  .opt .btn { width: 100%; justify-content: center; }
  .opt-pills { flex-direction: column; }
  .opt-pill { justify-content: space-between; padding: 13px 16px; min-height: 48px; }

  /* automations: shorter glow cards, same spirit */
  .autos { margin-top: 72px; padding: 48px 16px 18px; }
  .auto-grid { margin-top: 40px; }
  .auto-card { padding: 18px; border-radius: 22px; }
  .ac-preview { padding: 18px 4px 22px; gap: 7px; }
  .ac-chip { font-size: 0.78rem; padding: 7px 12px; }
  .ac-folder { padding: 12px 4px 2px; }
  .ac-title { font-size: 1.08rem; }
  .ac-desc { font-size: 0.86rem; }
  .auto-bar { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
  .auto-bar .ab-count { text-align: center; white-space: normal; }
  .auto-bar .btn { width: 100%; justify-content: center; }

  /* picker modal: bottom sheet */
  .plan-modal { padding: 10px; align-items: end; }
  .am-card { max-width: 100%; }
  .am-foot { flex-direction: column-reverse; align-items: stretch; gap: 12px; }
  .am-foot .btn { width: 100%; justify-content: center; }
  .am-count { text-align: center; }
  .auto-item { padding: 14px 0; }

  /* booking */
  .booking { margin-top: 40px; }
  .slot { padding: 12px 18px; min-height: 46px; }
  .cal-nav { width: 44px; height: 44px; }
  #bookForm input { min-height: 48px; }

  /* testimonials + about breathe */
  .tw-content { margin-top: 36px; }
  .about { gap: 26px; }
  .about-photo { max-width: none; aspect-ratio: 4/4.4; }

  /* footer */
  .foot { flex-direction: column; text-align: center; gap: 14px; padding: 24px 4px 8px; }
  .foot-links { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .foot-links a { padding: 6px 4px; }
}

@media (max-width: 420px) {
  /* very small phones: brand + burger only; the CTA lives in the menu */
  .nav-cta { display: none; }
  .nav-inner { padding: 9px 9px 9px 18px; }
}

/* ---- phone performance: lighten GPU-heavy blurs so scrolling stays smooth ---- */
@media (max-width: 720px) {
  /* the sticky nav repaints whatever scrolls under it — a big backdrop blur there is costly */
  .nav-inner {
    backdrop-filter: blur(10px) saturate(1.3); -webkit-backdrop-filter: blur(10px) saturate(1.3);
    background: color-mix(in oklch, var(--surface) 90%, transparent);
  }
  .sec-wash { filter: blur(22px) saturate(1.15); }
  .aura::before, .aura::after { filter: blur(46px); }
  .plan-modal { backdrop-filter: blur(8px) saturate(.95); -webkit-backdrop-filter: blur(8px) saturate(.95); }
  .auto-bar { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,0.08); }
}

@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ===========================================================
   BLUEPRINT LOADER
   =========================================================== */
.loader {
  position: fixed; inset: 0; z-index: 4000;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity 0.72s var(--ease), visibility 0.72s;
}
html.loading, html.loading body { overflow: hidden; }
.loader.ld-done { opacity: 0; visibility: hidden; pointer-events: none; }

/* full-screen construction hairlines through the center */
.ld-line { position: absolute; background: rgba(26, 25, 22, 0.12); }
.ld-line-h {
  left: 0; right: 0; top: 50%; height: 1px;
  transform: scaleX(0);
  animation: ldLineX 0.6s var(--ease) 0.05s forwards;
}
.ld-line-v {
  top: 0; bottom: 0; left: 50%; width: 1px;
  transform: scaleY(0);
  animation: ldLineY 0.6s var(--ease) 0.15s forwards;
}
@keyframes ldLineX { to { transform: scaleX(1); } }
@keyframes ldLineY { to { transform: scaleY(1); } }

.ld-stage {
  width: clamp(150px, 24vmin, 230px);
  animation: ldStage 2.1s var(--ease) forwards;
}
@keyframes ldStage {
  0% { transform: scale(0.46); }
  55% { transform: scale(0.94); }
  100% { transform: scale(1); }
}
.ld-svg { display: block; width: 100%; height: auto; overflow: visible; }

/* dashed bounding box */
.ld-box {
  fill: none; stroke: rgba(26, 25, 22, 0.28); stroke-width: 1;
  stroke-dasharray: 3 6; vector-effect: non-scaling-stroke;
  opacity: 0;
  animation: ldIn 0.5s var(--ease) 0.35s forwards;
}

/* the mark draws itself… */
.ld-outline {
  fill: none; stroke: rgba(26, 25, 22, 0.55); stroke-width: 1.4;
  vector-effect: non-scaling-stroke; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  animation: ldDraw 1.05s var(--ease) 0.4s forwards;
}
@keyframes ldDraw { to { stroke-dashoffset: 0; } }

/* …then fills with the brand gradient */
.ld-fill {
  opacity: 0; transform-origin: 100px 98px; transform: scale(0.9);
  animation: ldFill 0.7s var(--ease) 1.45s forwards;
}
@keyframes ldFill { to { opacity: 1; transform: scale(1); } }

/* bezier anchors pop in around the outline */
.ld-anchors rect { fill: var(--bg); stroke: #ef551e; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.ld-anchors circle { fill: #ef551e; stroke: none; }
.ld-anchors rect, .ld-anchors circle {
  opacity: 0;
  animation: ldIn 0.34s var(--ease) forwards;
}
.ld-anchors rect:nth-of-type(1) { animation-delay: 0.85s; }
.ld-anchors rect:nth-of-type(2) { animation-delay: 0.95s; }
.ld-anchors rect:nth-of-type(3) { animation-delay: 1.05s; }
.ld-anchors rect:nth-of-type(4) { animation-delay: 1.15s; }
.ld-anchors circle:nth-of-type(1) { animation-delay: 1.0s; }
.ld-anchors circle:nth-of-type(2) { animation-delay: 1.1s; }
.ld-anchors circle:nth-of-type(3) { animation-delay: 1.2s; }
.ld-anchors circle:nth-of-type(4) { animation-delay: 1.3s; }
@keyframes ldIn { to { opacity: 1; } }

/* construction chrome dissolves once the mark is solid */
.loader:not(.ld-done) .ld-box,
.loader:not(.ld-done) .ld-anchors rect,
.loader:not(.ld-done) .ld-anchors circle,
.loader:not(.ld-done) .ld-outline,
.loader:not(.ld-done) .ld-line { transition: opacity 0.5s var(--ease); }
.loader.ld-dissolve .ld-box,
.loader.ld-dissolve .ld-anchors rect,
.loader.ld-dissolve .ld-anchors circle,
.loader.ld-dissolve .ld-line { opacity: 0; }

.ld-tag {
  position: absolute; bottom: 7vh; left: 50%; transform: translateX(-50%);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--text-faint);
  opacity: 0;
  animation: ldIn 0.8s var(--ease) 0.6s forwards;
}

@media (prefers-reduced-motion: reduce) {
  .ld-line-h, .ld-line-v, .ld-stage, .ld-box, .ld-outline, .ld-fill,
  .ld-anchors rect, .ld-anchors circle, .ld-tag { animation: none; }
  .ld-line-h { transform: none; }
  .ld-line-v { transform: none; }
  .ld-fill, .ld-tag { opacity: 1; }
  .ld-outline { stroke-dashoffset: 0; }
}

/* hero content rises in as the loader lifts */
html.loading .gate .gate-inner,
html.loading .nav .nav-inner {
  opacity: 0; transform: translateY(16px);
}
.gate .gate-inner {
  transition: opacity 0.85s var(--ease) 0.12s, transform 0.85s var(--ease) 0.12s;
}
.nav .nav-inner {
  transition: opacity 0.6s var(--ease) 0.05s, transform 0.6s var(--ease) 0.05s,
              box-shadow .4s var(--ease),
              width 0.66s var(--ease), max-width 0.66s var(--ease), height 0.66s var(--ease),
              margin 0.66s var(--ease), padding 0.66s var(--ease), border-radius 0.66s var(--ease);
}

/* ===========================================================
   GATE AURORA — RGB edge glow
   =========================================================== */
.gate-aurora {
  position: fixed; inset: 0; z-index: 1500;
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
}
.gate-aurora canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.ga-soft { filter: blur(24px) saturate(1.5); }
.ga-line { filter: blur(6px) saturate(1.65); }
@media (max-width: 720px) {
  .ga-soft { filter: blur(16px) saturate(1.5); }
  .ga-line { filter: blur(4px) saturate(1.65); }
}

/* ===========================================================
   INVITE — gradient orb hero
   =========================================================== */
.orb-hero { padding: 96px 0 0; position: relative; z-index: 1; }
.orb-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px 56px;
  align-items: end;
}
.orb-mark { width: 38px; height: auto; }
.orb-h {
  margin-top: 28px;
  font-size: clamp(2.1rem, 4.8vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.orb-h-light { font-weight: 300; color: var(--text-soft); }
.orb-h-bold { font-weight: 700; color: var(--text); }
.orb-p {
  font-size: clamp(0.92rem, 1.5vw, 1.02rem);
  color: var(--text-soft);
  max-width: 42ch;
  text-wrap: pretty;
  justify-self: end;
  padding-bottom: 8px;
}

.orb-stage {
  position: relative;
  z-index: 0;
  height: clamp(380px, 52vw, 660px);
  margin-top: clamp(16px, 3vw, 40px);
  pointer-events: none;
}
.orb-wrap {
  position: absolute; left: 0; right: 0; top: -120px; bottom: -30px;
  opacity: clamp(0, calc(1 - var(--dis, 0) * 1.1), 1);
  filter: blur(calc(var(--dis, 0) * var(--dis, 0) * 46px));
  will-change: filter, opacity;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.55) 10%, #000 22%, #000 66%, rgba(0,0,0,0.5) 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.55) 10%, #000 22%, #000 66%, rgba(0,0,0,0.5) 84%, transparent 100%);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
}
.orb {
  position: absolute; inset: 0;
  border-radius: 0;
  /* full-bleed wave of colour washing in from the right — vivid magenta / violet /
     blue that drift on the scroll phase --flow (down advances, up rewinds) */
  background:
    radial-gradient(46% 72% at calc(80% + 9% * cos(var(--flow))) calc(56% + 14% * sin(var(--flow))),
      #d11aff 0%, rgba(209,26,255,0) 60%),
    radial-gradient(52% 82% at calc(98% + 6% * sin(calc(var(--flow) * 0.85 + 1.7))) calc(88% + 12% * cos(calc(var(--flow) * 1.12 + 0.5))),
      #6a2cff 0%, rgba(106,44,255,0) 62%),
    radial-gradient(40% 60% at calc(64% + 10% * cos(calc(var(--flow) * 1.22 + 3.1))) calc(22% + 14% * sin(calc(var(--flow) * 0.92 + 2.2))),
      #ff5ec4 0%, rgba(255,94,196,0) 58%),
    radial-gradient(46% 70% at calc(78% + 8% * sin(calc(var(--flow) * 1.4 + 4.0))) calc(112% + 10% * cos(calc(var(--flow) * 1.31 + 1.1))),
      #3f5cff 0%, rgba(63,92,255,0) 60%),
    radial-gradient(70% 100% at 118% 64%, #b016ff 0%, rgba(176,22,255,0) 56%);
  filter: blur(20px) saturate(1.22);
  -webkit-mask: linear-gradient(102deg, transparent 0%, rgba(0,0,0,0.22) 24%, #000 54%);
  mask: linear-gradient(102deg, transparent 0%, rgba(0,0,0,0.22) 24%, #000 54%);
  will-change: filter;
}
.orb::before {
  /* a second flowing layer at a different phase for organic depth */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(48% 64% at calc(72% + 9% * sin(calc(var(--flow) * 1.1 + 0.8))) calc(46% + 16% * cos(calc(var(--flow) * 0.95 + 2.6))),
      rgba(255,120,220,0.7) 0%, rgba(255,120,220,0) 60%),
    radial-gradient(54% 70% at calc(92% + 6% * cos(calc(var(--flow) * 0.8 + 3.7))) calc(70% + 16% * sin(calc(var(--flow) * 1.25 + 1.4))),
      rgba(120,70,255,0.7) 0%, rgba(120,70,255,0) 64%);
  mix-blend-mode: screen;
  opacity: 0.85;
}
.orb::after { content: none; }

/* cursor tags */
.orb-tag {
  position: absolute; z-index: 2;
  display: flex; align-items: flex-start;
  pointer-events: none;
  opacity: clamp(0, calc(1 - var(--dis, 0) * 2.4), 1);
}
.orb-tag svg { width: 17px; height: 17px; flex: none; }
.orb-tag-pill {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0;
  padding: 3px 9px; border-radius: 4px;
  margin-top: 13px; margin-left: -3px;
  white-space: nowrap;
}
.orb-tag.t1 {
  left: clamp(12px, 13%, 170px); bottom: 24%;
  color: oklch(0.74 0.12 350);
  animation: tagFloat 7s ease-in-out infinite;
}
.orb-tag.t1 .orb-tag-pill { background: oklch(0.74 0.12 350); color: #2b1020; }
.orb-tag.t2 {
  right: clamp(12px, 15%, 190px); top: 16%;
  color: var(--ink-strong);
  animation: tagFloat 8s ease-in-out 1.2s infinite reverse;
  flex-direction: row-reverse;
}
.orb-tag.t2 .orb-tag-pill { background: var(--ink-strong); color: #fff; margin-left: 0; margin-right: -3px; }
@keyframes tagFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (max-width: 720px) {
  .orb-hero { padding-top: 64px; }
  .orb-head { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .orb-h { margin-top: 20px; }
  .orb-p { justify-self: start; padding-bottom: 0; }
  .orb-tag.t1 { bottom: 16%; }
  .orb-tag.t2 { top: 10%; }
}

@media (prefers-reduced-motion: reduce) {
  .orb, .orb::after, .orb-sheen, .orb-tag { animation: none !important; transition: none !important; }
}

/* ===========================================================
   SERVICES — orb dissolves into blurred color field (biolab ref)
   =========================================================== */
.svc-hero {
  position: relative;
  z-index: 1;
  padding: 0 0 110px;
}
.svc-blobs {
  display: none;
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: clamp(0, calc(var(--dis, 0) * 1.08), 1);
}
.svc-blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
  transform: scale(calc(0.62 + var(--dis, 0) * 0.38));
}
.svc-blob.bl1 { /* cyan — lower left */
  left: -12%; top: 38%; width: 58vw; height: 58vw;
  background: radial-gradient(closest-side, rgba(64, 229, 243, 0.95), rgba(64, 229, 243, 0) 72%);
}
.svc-blob.bl2 { /* blue — dominant core */
  left: 22%; top: 14%; width: 60vw; height: 60vw;
  background: radial-gradient(closest-side, rgba(63, 84, 238, 0.82), rgba(63, 84, 238, 0) 72%);
}
.svc-blob.bl3 { /* violet — top centre, takes over from the orb */
  left: 28%; top: -6%; width: 48vw; height: 48vw;
  background: radial-gradient(closest-side, rgba(126, 88, 242, 0.85), rgba(126, 88, 242, 0) 70%);
}
.svc-blob.bl4 { /* pink — right */
  right: -10%; top: 24%; width: 54vw; height: 54vw;
  background: radial-gradient(closest-side, rgba(236, 167, 236, 0.9), rgba(236, 167, 236, 0) 70%);
}
.svc-blob.bl5 { /* bright cyan-white — lower centre glow */
  left: 6%; top: 56%; width: 46vw; height: 46vw;
  background: radial-gradient(closest-side, rgba(170, 245, 250, 0.8), rgba(170, 245, 250, 0) 70%);
}
.svc-blobs::after {
  /* grain over the color field */
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.45;
  mix-blend-mode: soft-light;
}

.svc-hero-inner { position: relative; z-index: 2; padding-top: clamp(20px, 3vw, 40px); }
.svc-big {
  font-size: clamp(2.4rem, 6.4vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--text);
}
.svc-big span { display: block; }
.svc-big-l2 { margin-left: clamp(34px, 13vw, 240px); }
.svc-sub {
  margin: 34px 0 0 clamp(34px, 13vw, 240px);
  max-width: 480px;
  display: grid; gap: 24px; justify-items: start;
}
.svc-sub p {
  color: var(--text-soft);
  font-size: 0.96rem; line-height: 1.55;
  text-wrap: pretty;
}
.svc-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 0.95rem;
  color: var(--text); text-decoration: none;
}
.svc-link svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.svc-link:hover svg { transform: translateX(5px); }

.svc-hero .svc-grid { margin-top: clamp(70px, 9vw, 110px); gap: 28px; }
.svc-hero .svc {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(290px, 27vw, 360px);
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(26px) saturate(1.12);
  -webkit-backdrop-filter: blur(26px) saturate(1.12);
  border-radius: 26px;
  padding: clamp(28px, 2.3vw, 40px);
  box-shadow: 0 26px 64px rgba(30, 30, 90, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.5s var(--ease);
}
.svc-hero .svc::after {
  /* faint grain over the frosted panel, like the reference coaster */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  opacity: 0.5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.svc-hero .svc:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 36px 80px rgba(30, 30, 90, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
.svc-hero .svc .svc-t {
  position: relative; z-index: 1;
  font-weight: 800;
  font-size: clamp(1.22rem, 1.55vw, 1.62rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--text);
  max-width: 12ch;
}
.svc-hero .svc .svc-foot {
  position: relative; z-index: 1;
  margin-top: auto;
  display: grid;
  justify-items: end;
}
.svc-hero .svc .svc-rule {
  width: 100%; height: 0;
  border-top: 2px dotted rgba(38, 40, 78, 0.32);
  margin-bottom: clamp(20px, 2vw, 30px);
}
.svc-hero .svc .svc-foot p {
  margin: 0;
  text-align: right;
  max-width: 24ch;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  text-wrap: pretty;
}

@media (max-width: 720px) {
  .svc-hero { padding-top: 70px; }
  .svc-big-l2 { margin-left: 24px; }
  .svc-sub { margin-left: 24px; }
  .svc-blob.bl1 { width: 95vw; height: 95vw; left: -30%; }
  .svc-blob.bl2 { width: 105vw; height: 105vw; left: 0; }
  .svc-blob.bl3 { width: 80vw; height: 80vw; }
  .svc-blob.bl4 { width: 90vw; height: 90vw; right: -34%; }
}


