/* ===========================================================
   AGUIRRE’S AUTOMATIONS — by Aguirre’s Automations
   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; overflow-x: clip; }

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

::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%, #6f6f72 0%, rgba(111,111,114,0) 60%),
    radial-gradient(44% 58% at 96% 58%, #9b9a98 0%, rgba(155,154,152,0) 60%),
    radial-gradient(50% 64% at 80% 104%, #55555a 0%, rgba(85,85,90,0) 62%),
    radial-gradient(44% 56% at 8% 80%, #c9c8c4 0%, rgba(201,200,196,0) 60%),
    radial-gradient(40% 52% at 30% 112%, #8d8c8a 0%, rgba(141,140,138,0) 60%),
    linear-gradient(125deg, #f6f5f3 0%, #f1f0ee 40%, #ececeb 66%, #e8e8e7 100%);
  filter: blur(34px) grayscale(1) contrast(1.08);
  /* 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; }

/* One continuous sheet — sections run edge to edge, no floating cards */
.shell {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 0;
}

.panel {
  background: transparent;
  border-radius: 0;
  position: relative;
  overflow: clip; /* clips like hidden but doesn't create a scroll container, so position:sticky works inside */
}
.panel + .panel { margin-top: 0; }

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

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

/* ---------- 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.74 0 0 / .9), transparent 70%);
}
.aura::after {
  width: 55%; height: 340px; top: -90px; right: 4%;
  background: radial-gradient(circle at 60% 50%, oklch(0.86 0 0 / .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.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); }
.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: #E5703A; }
.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;
  background: #f4f3ee; box-shadow: inset 0 0 0 1px var(--line); color: var(--text-soft);
}
.b-step-ico svg { width: 26px; height: 26px; }
.b-step.s-purple .b-step-ico,
.b-step.s-blue   .b-step-ico,
.b-step.s-cyan   .b-step-ico,
.b-step.s-amber  .b-step-ico { background: #f4f3ee; color: var(--text-soft); }

@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: #fff;
  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 { color: var(--text); }
.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: #0071e3; font-size: 0.92rem; font-weight: 500; text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px; align-self: flex-start;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.plan2-foot::after { content: "\203A"; font-size: 1.18em; line-height: 0; transform: translateY(-1px); }
.plan2-foot:hover { gap: 8px; color: #0a84ff; }

/* 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: 0; }


/* minimalist plan cards — left-aligned name + short line + CTA, travelling colour strip on hover */
@property --pang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.plan-grid { max-width: 1060px; margin-left: auto; margin-right: auto; align-items: stretch; gap: clamp(14px, 1.8vw, 22px); }
.plan2 > .plan2-feats, .plan2 > .plan2-foot { display: none; }
.plan2 {
  min-height: 0; border-radius: 22px; overflow: visible; isolation: isolate;
  border: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: none;
}
.plan2, .plan2.featured { transform: none; }
.plan2.featured, .plan2.featured:hover { background: transparent; box-shadow: none; }
.plan2::before, .plan2::after { content: ""; position: absolute; border-radius: inherit; pointer-events: none; }
.plan2::before {
  inset: -2px; z-index: 0; opacity: 0;
  background: conic-gradient(from var(--pang), transparent 0 48%, #7fb3f0 56%, #a855f7 66%, #f0a6d0 74%, #f26b1d 84%, #38bdf8 93%, transparent 99%);
  filter: blur(9px) saturate(1.15);
  transition: opacity .45s var(--ease);
}
.plan2::after { inset: 0; z-index: 1; background: #fdfdfc; box-shadow: 0 1px 2px rgba(24,22,16,.05); transition: box-shadow .5s var(--ease); }
.plan2:hover::before, .plan2:focus-within::before { opacity: 1; animation: plan-strip 3.2s linear infinite; }
.plan2:hover::after { box-shadow: 0 24px 50px -30px rgba(30,28,60,.3); }
@keyframes plan-strip { to { --pang: 360deg; } }
@media (prefers-reduced-motion: reduce) { .plan2:hover::before { animation: none; } }

.plan2-top { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; text-align: left; height: 100%; padding: clamp(28px, 2.8vw, 38px) clamp(26px, 2.4vw, 32px) clamp(26px, 2.6vw, 34px); }
.plan2-head { width: 100%; }
.plan2-name { font-size: clamp(1.55rem, 2.3vw, 2.05rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; }
.plan2-title { justify-content: flex-start; gap: 10px; }
.plan2-tag { margin: 16px 0 0; max-width: 30ch; min-height: 2.84em; font-size: .9rem; line-height: 1.5; }
.plan2-cta {
  width: auto; margin-top: clamp(26px, 3vw, 40px); padding: 0; min-height: 0;
  background: none; border: 0; box-shadow: none; border-radius: 0;
  font-size: .95rem; font-weight: 600; letter-spacing: 0; color: var(--text);
  display: inline-flex; align-items: baseline; gap: 5px;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.plan2-cta::after { content: "\203A"; font-size: 1.18em; }
.plan2-cta:hover { transform: none; box-shadow: none; gap: 9px; color: #0071e3; }
.plan2 .plan2-wash { display: none; }
.plan2.featured::after { background: #fff; }
.plan2.featured .plan2-cta { background: none; color: var(--text); box-shadow: none; }
.plan2.featured .plan2-cta:hover { box-shadow: none; color: #0071e3; }
.plan2 .best { background: rgba(24,22,16,.07); color: var(--text); }

/* plan detail modal */
.plan-detail .pd-card { max-width: 500px; text-align: left; }
.pd-titlerow { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.pd-name { font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -0.03em; color: var(--text); line-height: 1.05; }
.pd-titlerow .best { position: static; margin: 0; }
.pd-titlerow .best[hidden] { display: none; }
.pd-tag { color: var(--text-soft); margin-top: 10px; font-size: 1rem; line-height: 1.5; max-width: 42ch; }
.pd-feats { margin: 22px 0 0 !important; padding: 22px 0 4px !important; border-top: 1px solid var(--line) !important; }
.pd-cta { width: 100%; margin-top: 24px; padding: 14px; justify-content: center; }

/* ---------- "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 { display: none; }
.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 — clean 2×2 cards (Apple "Imprescindibles" style) ---------- */
.automations-sec, #autoModal .am-card {
  font-family: -apple-system, "SF Pro Display", "SF Pro Text", BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
}
.autos-head { text-align: left; }
.automations-sec .eyebrow { color: var(--text-faint); }
.autos-h {
  font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.1rem);
  letter-spacing: -0.035em; line-height: 1.04; margin-top: 12px; color: #1d1d1f; text-wrap: balance;
}

.auto-grid {
  margin-top: clamp(34px, 4vw, 52px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 1.8vw, 22px);
}
/* lone last card (odd count) centered so it doesn't hug the left */
.auto-grid > .auto-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc((100% - clamp(16px, 1.8vw, 22px)) / 2);
}

/* per-category accent (drives the modal tint) */
.auto-card[data-group="g1"] { --tint: oklch(0.64 0.14 33);  --tint-ink: oklch(0.55 0.15 33); }
.auto-card[data-group="g2"] { --tint: oklch(0.60 0.11 248); --tint-ink: oklch(0.52 0.13 248); }
.auto-card[data-group="g3"] { --tint: oklch(0.72 0.12 78);  --tint-ink: oklch(0.55 0.12 78); }
.auto-card[data-group="g4"] { --tint: oklch(0.66 0.10 158); --tint-ink: oklch(0.52 0.11 158); }

.auto-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border-radius: 22px;
  padding: clamp(36px, 3.6vw, 52px) clamp(24px, 3vw, 44px) clamp(28px, 3vw, 40px);
  min-height: clamp(440px, 42vw, 560px);
  cursor: pointer; position: relative; overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.auto-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(20,20,50,0.24); }
.auto-card:focus-visible { outline: 2px solid #1d1d1f; outline-offset: 3px; }

.ac-info { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.ac-title { font-size: clamp(1.5rem, 2vw, 2rem); font-weight: 700; letter-spacing: -0.03em; color: #1d1d1f; line-height: 1.08; text-wrap: balance; }
.ac-sub { font-size: clamp(0.98rem, 1.15vw, 1.14rem); color: #6e6e73; line-height: 1.4; max-width: 32ch; text-wrap: pretty; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ac-more { margin-top: 3px; font-size: clamp(0.95rem, 1.1vw, 1.06rem); color: #0071e3; display: inline-flex; align-items: center; }
.ac-more::after { content: "\203A"; margin-left: 5px; font-size: 1.2em; line-height: 0; transform: translateY(-1px); transition: transform .3s var(--ease); }
.auto-card:hover .ac-more::after { transform: translate(3px, -1px); }

/* ---------- Automations — each card behind its own light frosted veil ---------- */
.auto-card.is-uc { position: relative; overflow: hidden; cursor: pointer; }
.auto-card.is-uc > .ac-info, .auto-card.is-uc > .ac-media { filter: blur(7px); }
.uc-veil {
  position: absolute; inset: 0; z-index: 3; border-radius: inherit;
  background: rgba(255,255,255,0.28);
  -webkit-backdrop-filter: blur(20px) saturate(1.04);
  backdrop-filter: blur(20px) saturate(1.04);
}

/* Under-construction popup — minimal */
.plan-modal-card.uc-modal-card { max-width: 440px; text-align: left; padding: 40px 36px 34px; }
.uc-modal-title { font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.15rem); letter-spacing: -0.03em; color: var(--text); }
.uc-modal-sub { margin-top: 10px; color: var(--text-soft); font-size: 1rem; line-height: 1.55; }
.uc-svc-list { list-style: none; margin: 26px 0 2px; }
.uc-svc { padding: 15px 0; border-top: 1px solid var(--line); }
.uc-svc:first-child { border-top: none; }
.uc-svc strong { display: block; font-weight: 600; font-size: 1.06rem; letter-spacing: -0.015em; color: var(--text); }
.uc-svc span { display: block; margin-top: 3px; font-weight: 400; font-size: 0.92rem; color: var(--text-soft); }
.uc-modal-cta { display: inline-block; margin-top: 26px; font-weight: 600; font-size: 1rem; color: #0071e3; letter-spacing: -0.01em; transition: opacity .2s var(--ease); }
.uc-modal-cta:hover { opacity: 0.7; }

/* ---------- Caution tape — matte 3D hazard bands that trespass the card ---------- */
.has-tape { position: relative; }
.automations-sec.has-tape { overflow: visible; z-index: 2; --tape-y: 50%; --tape-y2: 57%; }
.caution-tape {
  --tape-yellow: oklch(0.84 0.14 92);
  --tape-black: #18170f;
  --period: 90px;
  --sw: calc(var(--period) / 2.8284271);
  position: absolute; left: -80%; right: -80%;
  height: clamp(92px, 10.6vw, 138px);
  pointer-events: none; transform-origin: 50% 50%; overflow: hidden;
  filter: drop-shadow(0 16px 18px rgba(24,20,8,0.30));
}
.caution-tape::before {
  content: ""; position: absolute; top: 0; bottom: 0;
  left: calc(var(--period) * -2); right: calc(var(--period) * -2);
  background: repeating-linear-gradient(45deg, var(--tape-black) 0 var(--sw), var(--tape-yellow) var(--sw) calc(var(--sw) * 2));
  will-change: transform; backface-visibility: hidden;
}
@keyframes tape-run-fwd { from { transform: translate3d(0,0,0); } to { transform: translate3d(var(--period),0,0); } }
@keyframes tape-run-back { from { transform: translate3d(0,0,0); } to { transform: translate3d(calc(var(--period) * -1),0,0); } }
.tape-a { top: var(--tape-y, 50%); z-index: 9; transform: translateY(-50%) perspective(1200px) rotateX(7deg) rotate(19deg); }
.tape-b { top: var(--tape-y2, 57%); z-index: 8; transform: translateY(-50%) perspective(1200px) rotateX(7deg) rotate(-16deg); }
.tape-a::before { animation: tape-run-fwd 2.4s linear infinite; }
.tape-b::before { animation: tape-run-back 2.9s linear infinite; }
.caution-tape.tape-m { display: none; }
@media (prefers-reduced-motion: reduce) { .caution-tape::before { animation: none; } }
@media (max-width: 720px) {
  .caution-tape { --period: 62px; height: 82px; left: -70%; right: -70%; }
  .tape-a { transform: translateY(-50%) perspective(900px) rotateX(6deg) rotate(21deg); }
  .tape-b { transform: translateY(-50%) perspective(900px) rotateX(6deg) rotate(-18deg); }
  /* the stacked column is tall — more bands so the hazard reads all the way down */
  .caution-tape.tape-m { display: block; height: 70px; }
  .tape-c { top: 17%; z-index: 7; transform: translateY(-50%) perspective(900px) rotateX(6deg) rotate(-15deg); }
  .tape-d { top: 74%; z-index: 7; transform: translateY(-50%) perspective(900px) rotateX(6deg) rotate(17deg); }
  .tape-e { top: 88%; z-index: 6; transform: translateY(-50%) perspective(900px) rotateX(6deg) rotate(-13deg); }
  .tape-c::before { animation: tape-run-back 3.4s linear infinite; }
  .tape-d::before { animation: tape-run-fwd 3.1s linear infinite; }
  .tape-e::before { animation: tape-run-back 3.7s linear infinite; }
  /* all three veiled cards identical in size */
  .auto-grid { grid-auto-rows: 1fr; }
  .auto-card { height: 100%; }
}

/* free image area — real imagery drops in here later */
.ac-media {
  margin-top: clamp(26px, 3vw, 40px); flex: 1; width: 100%;
  border-radius: 16px; min-height: 190px;
  display: grid; place-items: center;
  background: #f5f5f7; color: #cfced3;
}
.ac-media-ph { width: 44px; height: 44px; }
.ac-media img, .ac-media video { width: 100%; height: 100%; object-fit: contain; border-radius: 16px; }

/* picker modal */
/* automations modal — automation cards spread side-by-side on the backdrop */
.auto-modal .plan-modal-card {
  max-width: min(1120px, 94vw);
  background: transparent; box-shadow: none; padding: 16px 4px;
}
.auto-modal .pm-close {
  top: -4px; right: 4px;
  color: rgba(255,255,255,.85); background: rgba(255,255,255,.16);
}
.auto-modal .pm-close:hover { color: #fff; }
.am-panel { display: none; }
.am-panel.act { display: block; text-align: center; }
.auto-modal .pm-kicker { color: rgba(255,255,255,.55); }
.am-title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; letter-spacing: -0.03em; margin-top: 8px; color: #fff; }
.am-desc { color: rgba(255,255,255,.72); font-size: 1rem; margin: 8px auto 0; line-height: 1.5; max-width: 54ch; }
.am-panel .auto-items {
  margin-top: 30px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px; align-items: stretch;
}
.auto-item {
  position: relative; text-align: left;
  display: flex; flex-direction: column;
  background: #fff; border-radius: 22px; overflow: hidden;
  box-shadow: 0 44px 90px -42px rgba(0,0,0,.6);
  animation: aiRise .5s var(--ease) both;
}
.auto-item:nth-child(2) { animation-delay: .09s; }
.auto-item:nth-child(3) { animation-delay: .18s; }
@keyframes aiRise { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.ai-video {
  position: relative; width: 100%; aspect-ratio: 16 / 9; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(160deg, #eef0f3, #dde1e7);
}
.ai-video-ph { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #0071e3; box-shadow: 0 12px 26px -12px rgba(0,0,0,0.4); }
.ai-video-ph svg { width: 21px; height: 21px; margin-left: 3px; }
.ai-soon { position: absolute; bottom: 11px; left: 0; right: 0; text-align: center; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em; color: #7c828c; }
.ai-video video, .ai-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ai-body { padding: 17px 20px 22px; }
.ai-body strong { display: block; font-size: 1.06rem; font-weight: 600; letter-spacing: -0.015em; color: #1d1d1f; }
.ai-body > span { display: block; color: #6e6e73; font-size: 0.9rem; line-height: 1.52; margin-top: 6px; text-wrap: pretty; }
.ai-rec { position: absolute; top: 12px; right: 12px; z-index: 2; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: #0071e3; color: #fff; box-shadow: 0 8px 18px -8px rgba(0,60,140,0.6); }
.am-foot { display: flex; justify-content: center; margin-top: 28px; padding-top: 0; border-top: 0; }
.am-cta { text-decoration: none; padding: 13px 32px; }

.auto-bar {
  margin-top: 32px; padding: 12px 12px 12px 26px; border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 0 0 1px rgba(0,0,0,0.06), 0 24px 50px -34px rgba(20,20,50,0.3);
  display: flex; align-items: center; gap: 20px; justify-content: space-between; flex-wrap: wrap;
  position: sticky; bottom: 16px; z-index: 5;
  transition: box-shadow .45s var(--ease);
}
.auto-bar.active {
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 0 0 1px rgba(0,0,0,0.09), 0 30px 62px -30px rgba(20,20,50,0.42);
}
.auto-bar .ab-count { font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; color: var(--text-faint); white-space: nowrap; transition: color .35s; }
.auto-bar.active .ab-count { color: var(--text); }
.auto-bar .btn-dark:not(:disabled) { background: var(--ink-strong); color: #f6f5f2; }
.auto-bar .btn-dark:disabled { background: #ece9e2; color: #b3afa5; }
.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):hover { box-shadow: 0 12px 30px -10px rgba(0,0,0,.45); }
.auto-bar .btn:disabled { opacity: .6; 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: 14px; grid-auto-rows: 1fr; }
  .auto-card { min-height: 400px; height: 100%; }
  .auto-grid > .auto-card:last-child:nth-child(2n+1) { grid-column: auto; justify-self: stretch; width: auto; }
  .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);
}
/* ---------- Selected work: warped arc gallery (wraps around the section) ---------- */
#work { overflow: visible; }
.work-head-arc {
  flex-direction: column; align-items: center; text-align: center; gap: 0;
  max-width: 720px; margin: 0 auto;
}
.work-head-arc .h1 { margin-top: 12px; }
.work-arc-sub { margin: 16px 0 26px; }
.ugc-belt {
  position: relative;
  width: 100vw; margin-left: calc(50% - 50vw);
  perspective: 1300px; perspective-origin: 50% 42%;
  padding: 34px 0 30px;
  overflow: visible;
}
.ugc-arc {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(12px, 1.6vw, 24px);
  transform-style: preserve-3d;
}
.ugc-card {
  position: relative; flex: 0 0 auto; margin: 0;
  aspect-ratio: 9 / 16;
  border-radius: 22px; overflow: hidden;
  background: #15140f;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.5), inset 0 0 0 1px var(--line);
  backface-visibility: hidden;
  transition: transform .6s var(--ease);
}
/* concave arc: big curved edges, small flat center */
.ugc-arc .ugc-card:nth-child(1) { height: clamp(300px, 32vw, 470px); transform: rotateY(34deg) translateZ(70px); }
.ugc-arc .ugc-card:nth-child(2) { height: clamp(225px, 24vw, 350px); transform: rotateY(20deg) translateZ(28px); }
.ugc-arc .ugc-card:nth-child(3) { height: clamp(185px, 19vw, 285px); transform: rotateY(9deg); }
.ugc-arc .ugc-card:nth-child(4) { height: clamp(160px, 16vw, 240px); }
.ugc-arc .ugc-card:nth-child(5) { height: clamp(185px, 19vw, 285px); transform: rotateY(-9deg); }
.ugc-arc .ugc-card:nth-child(6) { height: clamp(225px, 24vw, 350px); transform: rotateY(-20deg) translateZ(28px); }
.ugc-arc .ugc-card:nth-child(7) { height: clamp(300px, 32vw, 470px); transform: rotateY(-34deg) translateZ(70px); }
.ugc-vid {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* JS conveyor mode: cards absolutely positioned, transforms driven per-frame */
.ugc-arc.is-anim { display: block; position: relative; height: clamp(320px, 34vw, 500px); }
.ugc-arc.is-anim .ugc-card,
.ugc-arc.is-anim .ugc-card:nth-child(n) {
  position: absolute; left: 50%; top: 50%;
  height: auto;
  transform: translate(-50%, -50%);
  transition: none; will-change: transform, opacity;
}
@media (max-width: 720px) {
  .ugc-belt { perspective: none; overflow: hidden; padding: 20px 0 26px; }
  .ugc-arc.is-marquee {
    display: flex; flex-wrap: nowrap; width: max-content;
    justify-content: flex-start; align-items: center;
    gap: 14px; padding: 0 7px;
    animation: ugc-marquee 34s linear infinite;
  }
  .ugc-arc.is-marquee .ugc-card,
  .ugc-arc.is-marquee .ugc-card:nth-child(1), .ugc-arc.is-marquee .ugc-card:nth-child(2),
  .ugc-arc.is-marquee .ugc-card:nth-child(3), .ugc-arc.is-marquee .ugc-card:nth-child(5),
  .ugc-arc.is-marquee .ugc-card:nth-child(6), .ugc-arc.is-marquee .ugc-card:nth-child(7) {
    flex: 0 0 auto;
    width: clamp(150px, 44vw, 210px);
    height: clamp(267px, 78vw, 373px);
    transform: none;
  }
  @keyframes ugc-marquee {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
  }
}
@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .ugc-belt { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
  .ugc-arc { justify-content: flex-start; padding: 0 20px; gap: 12px; }
  .ugc-arc .ugc-card,
  .ugc-arc .ugc-card:nth-child(1), .ugc-arc .ugc-card:nth-child(2), .ugc-arc .ugc-card:nth-child(3),
  .ugc-arc .ugc-card:nth-child(5), .ugc-arc .ugc-card:nth-child(6), .ugc-arc .ugc-card:nth-child(7) {
    height: clamp(300px, 78vw, 420px); transform: none;
  }
}

/* ---------- Invite: scroll-driven envelope ---------- */
.scrub { position: relative; margin-top: 0; }
.scrub + .panel { margin-top: 0; }
.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.82 0 0 / 0.85), transparent 70%),
    radial-gradient(62% 50% at 50% 52%, oklch(0.68 0 0 / 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; }
}

/* ---------- Reviews wall (vertical, upward conveyor) ---------- */
.rv-head .chip {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; font-weight: 600;
  color: var(--text-faint); background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong);
}
.rv-title {
  font-family: "Lora", Georgia, "Times New Roman", serif;
  font-weight: 600; font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.05;
  letter-spacing: -0.02em; color: var(--text);
}
.rv-title .dim { color: var(--text); }
.rv-head .lead { max-width: 600px; color: var(--text-soft); }
.rv-cta-wrap { margin-top: 30px; display: flex; justify-content: center; }

.rv-wall {
  position: relative; margin-top: 58px;
  display: grid; gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: 660px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 86%, transparent 100%);
}
.rv-col { min-height: 0; }
.rv-track {
  display: flex; flex-direction: column;
  will-change: transform; backface-visibility: hidden;
  animation: rvUp 54s linear infinite;
}
@keyframes rvUp {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, -50%, 0); }
}
.rv-wall:hover .rv-track,
.rv-track:focus-within { animation-play-state: paused; }

.rv-card {
  background: var(--surface-2); border-radius: 22px; padding: 24px 24px 22px;
  margin-bottom: 22px; /* equal gap on every card keeps the -50% loop seamless */
  box-shadow: 0 18px 40px -26px rgba(0,0,0,.30), inset 0 0 0 1px var(--line);
}
.rv-card-you { box-shadow: 0 20px 46px -24px rgba(0,0,0,.34), inset 0 0 0 1px var(--line); }

.rv-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.rv-stars .rv-star { width: 17px; height: 17px; color: var(--line-strong); }
.rv-stars .rv-star.on { color: #4a4a45; }
.rv-star svg { width: 100%; height: 100%; display: block; fill: currentColor; }

.rv-quote { font-size: 1.04rem; line-height: 1.52; color: var(--text); letter-spacing: 0; }

.rv-imgs { margin-top: 16px; display: grid; gap: 6px; border-radius: 14px; overflow: hidden; }
.rv-imgs-1 { grid-template-columns: 1fr; }
.rv-imgs-2, .rv-imgs-3, .rv-imgs-4 { grid-template-columns: 1fr 1fr; }
.rv-imgs img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; display: block; }
.rv-imgs-3 img:first-child { grid-column: span 2; }

.rv-by { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.rv-avatar {
  width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: none;
  box-shadow: inset 0 0 0 1px var(--line); background: var(--surface);
}
.rv-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rv-avatar-mono { display: grid; place-items: center; font-weight: 700; font-size: 0.95rem; color: #fff; background: var(--ink-strong); }
.rv-byinfo { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.rv-name { font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em; display: flex; align-items: center; gap: 7px; }
.rv-youtag {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); box-shadow: inset 0 0 0 1px currentColor; padding: 2px 7px; border-radius: 999px;
}
.rv-meta { font-size: 0.86rem; color: var(--text-faint); }
.rv-ig { display: inline-flex; align-items: center; gap: 5px; font-size: 0.84rem; color: var(--text-soft); margin-top: 3px; width: max-content; transition: color .2s; }
.rv-ig svg { width: 14px; height: 14px; }
.rv-ig:hover { color: var(--accent); }

@media (max-width: 979px) { .rv-wall { grid-template-columns: 1fr 1fr; height: 620px; } }
@media (max-width: 619px) { .rv-wall { grid-template-columns: 1fr; height: 560px; margin-top: 44px; } }

/* reduced motion: static, naturally-tall column(s), no marquee */
.rv-wall.rv-static { height: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; }
.rv-wall.rv-static .rv-track { animation: none; }

/* ---------- Reviews: 3D fan carousel (auto-advances left every 2s) ---------- */
.rv-wall.rv-fan {
  display: block; overflow: visible;
  height: clamp(420px, 52vw, 480px); margin-top: clamp(40px, 5vw, 60px);
  -webkit-mask-image: none; mask-image: none;
}
.rv-stage { position: relative; width: 100%; height: 100%; perspective: 1900px; transform-style: preserve-3d; }
.rv-fcard {
  position: absolute; left: 50%; top: 50%;
  width: min(440px, 84vw); box-sizing: border-box;
  display: flex; flex-direction: column;
  background: #fff; border-radius: 26px; padding: 32px 32px 28px;
  box-shadow: 0 44px 90px -46px rgba(20,20,45,.42), inset 0 0 0 1px rgba(0,0,0,.05);
  transform-style: preserve-3d; backface-visibility: hidden;
  transition: transform 1.05s cubic-bezier(.62,.05,.2,1), opacity 1.05s ease, box-shadow .6s var(--ease);
  transform: translate(-50%, -50%);
}
.rv-fcard.is-active { box-shadow: 0 70px 120px -46px rgba(20,20,45,.5), inset 0 0 0 1px rgba(0,0,0,.05); }
.rv-fcard .rv-stars { margin-bottom: 14px; }
.rv-fcard .rv-quote {
  font-size: clamp(1.05rem, 1.4vw, 1.28rem); line-height: 1.5; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; flex: 1;
}
.rv-fcard .rv-by { margin-top: 22px; }
@media (prefers-reduced-motion: reduce) {
  .rv-fcard { transition: none; }
}

/* ---------- Leave-a-review modal extras ---------- */
.rv-modal-card { max-width: 520px; }
#reviewForm { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
#reviewForm textarea {
  font-family: var(--sans); font-size: 0.96rem; color: var(--text); line-height: 1.5;
  padding: 12px 14px; border-radius: 13px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-strong); border: none; resize: vertical;
  min-height: 96px; width: 100%; box-sizing: border-box;
}
#reviewForm textarea::placeholder { color: #b6b3aa; }
#reviewForm textarea:focus { box-shadow: inset 0 0 0 1.5px var(--text-faint); outline: none; }

.rv-stars-input { display: flex; gap: 6px; }
.rv-star-btn { width: 34px; height: 34px; padding: 3px; color: var(--line-strong); transition: color .15s, transform .15s var(--ease); }
.rv-star-btn svg { width: 100%; height: 100%; display: block; fill: currentColor; }
.rv-star-btn.on { color: #4a4a45; }
.rv-star-btn:hover { transform: translateY(-2px); }
.rv-star-err { color: oklch(0.62 0.18 25); font-size: 0.8rem; margin-top: 2px; }

.rv-ig-input {
  display: flex; align-items: center; background: var(--surface);
  border-radius: 13px; box-shadow: inset 0 0 0 1px var(--line-strong); padding-left: 13px;
}
.rv-ig-input:focus-within { box-shadow: inset 0 0 0 1.5px var(--text-faint); }
.rv-ig-input span { color: var(--text-faint); font-size: 0.96rem; }
.rv-ig-input input { box-shadow: none !important; background: transparent; padding-left: 4px; }

.rv-drop {
  display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%;
  padding: 13px; border-radius: 13px; color: var(--text-soft); font-size: 0.92rem; font-weight: 500;
  background: var(--surface); border: 1.5px dashed var(--line-strong);
  transition: border-color .2s, color .2s;
}
.rv-drop:hover { border-color: var(--text-faint); color: var(--text); }
.rv-drop svg { width: 18px; height: 18px; }
.rv-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.rv-thumbs:empty { display: none; }
.rv-thumb { position: relative; width: 62px; height: 62px; border-radius: 11px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.rv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rv-thumb-x {
  position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(20,19,15,.72); color: #fff; display: grid; place-items: center;
}
.rv-thumb-x svg { width: 11px; height: 11px; }

/* ---------- 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: minmax(0, 1fr); gap: 50px; align-items: center; max-width: 820px; }
.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 { 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%; }
/* modal scroll-lock that preserves the scroll position */
body.modal-lock { overflow: hidden; }

.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-block: 56px 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, #2c2c30 0%, #6e6e73 30%, #a9a8a6 52%, #6e6e73 76%, #2c2c30 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-block: 60px; }
  .section-pad-sm { padding-block: 48px; }

  /* 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:not(.work-head-arc) { flex-direction: column; align-items: flex-start; gap: 22px; }
  .work-head:not(.work-head-arc) .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: tidy rail cards, same spirit */
  .autos { margin-top: 76px; }
  .auto-railwrap { margin-top: 34px; }
  .auto-card { padding: 22px 18px 18px; border-radius: 22px; min-height: 332px; }
  .ac-head { font-size: 1.12rem; }
  .ac-sub { font-size: 0.86rem; -webkit-line-clamp: 4; max-width: none; }
  .best, .ai-rec { font-size: 0.66rem; letter-spacing: 0.08em; }
  .auto-bar { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; border-radius: 22px; }
  .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; }
}

/* ---- plan cards on phones: comfortable taps, no equal-height padding, calm strip ---- */
@media (max-width: 880px) {
  .plan-grid { max-width: 460px; }
  .plan2-tag { min-height: 0; max-width: none; }
}
@media (max-width: 720px) {
  .plan2 { border-radius: 20px; }
  .plan2-top { padding: 26px 22px 22px; }
  .plan2-name { font-size: 1.6rem; }
  .plan2-cta { margin-top: 22px; min-height: 44px; align-items: center; padding-right: 6px; }
}
/* touch devices can't hover: drop the colour strip entirely, keep a clean hairline card */
@media (hover: none) {
  .plan2::before { display: none; }
  .plan2::after { box-shadow: 0 1px 2px rgba(24,22,16,.06), inset 0 0 0 1px rgba(24,22,16,.06); }
}

/* ---- 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) grayscale(1) contrast(1.06); }
  .aura::before, .aura::after { filter: blur(46px); }
  .plan-modal { backdrop-filter: blur(8px) saturate(.95); -webkit-backdrop-filter: blur(8px) saturate(.95); }
  .auto-bar { background: #fff; }
}

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

/* ===========================================================
   TOP NAV — arrives once the opening line finishes typing
   =========================================================== */
.topnav { position: absolute; top: clamp(18px, 3.2vh, 34px); left: 50%; transform: translateX(-50%); display: flex; gap: clamp(20px, 3.4vw, 46px); z-index: 50; pointer-events: none; }
.topnav.is-in { pointer-events: auto; }
.topnav-link {
  position: relative; display: inline-block;
  font-family: var(--sf-text); font-size: clamp(0.92rem, 1.15vw, 1.04rem); font-weight: 500; letter-spacing: -0.012em;
  color: #b4b0a8; text-decoration: none; padding: 2px 1px 7px;
  opacity: 0; transform: translateY(-9px) scale(0.965); filter: blur(3px);
  transition: color 0.42s var(--ease);
}
/* each link lands on its own beat, settling out of a slight rise */
.topnav.is-in .topnav-link { animation: navPop 0.78s cubic-bezier(0.19, 1, 0.24, 1) forwards; }
.topnav.is-in .topnav-link:nth-child(1) { animation-delay: 0s; }
.topnav.is-in .topnav-link:nth-child(2) { animation-delay: 0.085s; }
.topnav.is-in .topnav-link:nth-child(3) { animation-delay: 0.17s; }
.topnav.is-in .topnav-link:nth-child(4) { animation-delay: 0.255s; }
@keyframes navPop {
  0% { opacity: 0; transform: translateY(-9px) scale(0.965); filter: blur(3px); }
  62% { opacity: 1; transform: translateY(1.5px) scale(1.006); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
/* the rule draws itself from the centre out, and retracts the same way */
.topnav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; border-radius: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: 50% 50%;
  transition: transform 0.46s cubic-bezier(0.19, 1, 0.24, 1), opacity 0.46s var(--ease);
  opacity: 0.55;
}
.topnav-link.is-here { color: #6f6b63; }
.topnav-link.is-here::after { transform: scaleX(1); opacity: 0.45; }
.topnav-link:hover { color: #6f6b63; }
.topnav-link:hover::after { transform: scaleX(1); opacity: 0.8; }
.topnav-link:focus-visible { outline: none; color: #4a4741; }
.topnav-link:focus-visible::after { transform: scaleX(1); }
body.is-inverted .topnav-link { color: #7c776e; }
body.is-inverted .topnav-link:hover { color: #e8e4da; }
@media (prefers-reduced-motion: reduce) {
  .topnav.is-in .topnav-link { animation: none; opacity: 1; transform: none; filter: none; }
}
@media (max-width: 560px) { .topnav { gap: 18px; } .topnav-link { font-size: 0.86rem; } }

/* page turn: the shell slides, a veil covers the swap */
.pt-lock, .pt-lock body { overflow: hidden; }
.pt-veil { position: fixed; inset: 0; z-index: 90; pointer-events: none; background: #f6f5f2; opacity: 1; transition: opacity 0.34s ease-out; }
.pt-veil.is-out { opacity: 0; }
.shell { will-change: auto; }
/* the still-empty section pages */
.blank-page { min-height: 100svh; display: grid; place-items: center; padding: 18vh 24px 12vh; }
.blank-page h1 { font-family: var(--sf-display); font-size: clamp(1.8rem, 5vw, 3.2rem); font-weight: 500; letter-spacing: -0.03em; color: #16150f; }

/* ===========================================================
   SAN FRANCISCO — story text + closing statement
   =========================================================== */
@font-face { font-family: "SF UI Text"; src: url("fonts/SFUIText-Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "SF UI Text"; src: url("fonts/SFUIText-Italic.otf") format("opentype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "SF UI Text"; src: url("fonts/SFUIText-Medium.otf") format("opentype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "SF UI Text"; src: url("fonts/SFUIText-Semibold.otf") format("opentype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "SF UI Display"; src: url("fonts/SFUIDisplay-Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "SF UI Display"; src: url("fonts/SFUIDisplay-Medium.otf") format("opentype"); font-weight: 500; font-style: normal; font-display: swap; }
:root { --sf-text: "SF UI Text", -apple-system, BlinkMacSystemFont, "Poppins", system-ui, sans-serif; --sf-display: "SF UI Display", -apple-system, BlinkMacSystemFont, "Poppins", system-ui, sans-serif; }

/* ===========================================================
   JOIN — big closing statement + glass waitlist bar
   =========================================================== */
.join-panel { position: relative; padding-block: 16vh max(18vh, calc(50svh - 150px)); }
/* the section's tint rides on an overlay so it can fade out with the page */
/* no tint of its own: cross-fading a light overlay against a darkening body
   never matches, and the mismatch reads as a hard edge at the section top */
.join-h, .join-input, .join-note, .join-btn { transition: color 1.25s cubic-bezier(0.4, 0, 0.2, 1); }
body.is-inverted .join-btn { color: #f6f4ee; }
body.is-inverted .join-input::placeholder { color: #a9a59b; }
body.is-inverted .join-h { color: #f6f4ee; }
body.is-inverted .join-input { color: #f2f0ea; }
body.is-inverted .join-note { color: #9a968c; }
.join-inner { position: relative; width: 100%; max-width: 64rem; margin: 0 auto; padding: 0 28px; text-align: center; }
/* something for the glass to actually bend — two whisper-soft tints behind the bar */
.join-inner::before {
  content: ""; position: absolute; left: 50%; bottom: 8%; width: min(520px, 82%); height: 132px;
  transform: translateX(-50%); pointer-events: none; z-index: 0;
  background:
    radial-gradient(48% 64% at 30% 48%, oklch(0.82 0.05 250 / 0.16) 0%, transparent 72%),
    radial-gradient(46% 60% at 74% 56%, oklch(0.86 0.06 70 / 0.14) 0%, transparent 74%);
  filter: blur(30px);
  transition: opacity 1.25s cubic-bezier(0.4, 0, 0.2, 1);
}
body.is-inverted .join-inner::before { opacity: 0; }
.join-h { position: relative; z-index: 1; font-family: var(--sf-display); font-size: clamp(2.2rem, 7vw, 5rem); line-height: 1.1; letter-spacing: -0.035em; font-weight: 500; color: #16150f; }
.join-h span { display: block; white-space: nowrap; }
.join-bar { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: clamp(28px, 4vw, 46px); max-height: 240px; transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), max-height 0.7s var(--ease) 0.15s, margin-top 0.7s var(--ease) 0.15s; }
.join-bar.is-done { opacity: 0; transform: translateY(6px); max-height: 0; margin-top: 0; overflow: hidden; pointer-events: none; }
.join-bar.is-bad { animation: joinShake 0.42s ease; }
@keyframes joinShake { 25% { transform: translateX(-5px); } 55% { transform: translateX(5px); } 80% { transform: translateX(-2px); } }
/* liquid glass — a thin lens: clear centre, refracted rim,
   two-tone specular edge and an ambient cast shadow.
   Only ONE node may carry backdrop-filter, or the rim samples nothing. */
.glass {
  position: relative;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 1px 1.4px 0.5px -0.5px rgba(255,255,255,0.95),
    inset -1px -1.6px 0.5px -0.5px rgba(255,255,255,0.75),
    inset 0 0 0 0.5px rgba(255,255,255,0.45),
    inset 0 0 22px -6px rgba(255,255,255,0.5),
    0 1px 1px rgba(30,27,22,0.04),
    0 6px 14px -4px rgba(30,27,22,0.07),
    0 20px 40px -12px rgba(30,27,22,0.16);
  transition: box-shadow 0.45s var(--ease), transform 0.45s var(--ease), background 0.45s var(--ease);
}
.glass::before, .glass::after { content: ""; position: absolute; border-radius: inherit; pointer-events: none; }
/* the lens: blur ramps up toward the rim, so what sits behind bends there */
.glass::before {
  inset: 0; z-index: -1;
  -webkit-backdrop-filter: blur(13px) saturate(1.8) brightness(1.05);
  backdrop-filter: blur(13px) saturate(1.8) brightness(1.05);
  -webkit-mask-image: radial-gradient(118% 150% at 50% 50%, transparent 30%, #000 78%);
  mask-image: radial-gradient(118% 150% at 50% 50%, transparent 30%, #000 78%);
}
/* diagonal specular — bright top-left falling to a faint bottom-right catch */
.glass::after {
  inset: 0;
  background: linear-gradient(128deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.06) 24%, rgba(255,255,255,0) 52%, rgba(255,255,255,0.08) 78%, rgba(255,255,255,0.34) 100%);
  opacity: 0.8;
}
.join-field { display: inline-flex; align-items: center; width: min(322px, 74vw); padding: 0 24px; }
.join-input { position: relative; z-index: 1; width: 100%; font: inherit; font-family: var(--sf-text); border: 0; background: none; padding: 16px 0; color: var(--text); letter-spacing: -0.01em; }
.join-input:focus { outline: none; }
.join-input::placeholder { color: #86837c; }
.join-field:focus-within { background: rgba(255,255,255,0.18); box-shadow: inset 1px 1.4px 0.5px -0.5px rgba(255,255,255,1), inset -1px -1.6px 0.5px -0.5px rgba(255,255,255,0.85), inset 0 0 0 0.5px rgba(255,255,255,0.6), inset 0 0 26px -6px rgba(255,255,255,0.6), 0 0 0 3px rgba(22,21,15,0.06), 0 22px 44px -12px rgba(30,27,22,0.2); }
.join-btn { font: inherit; font-family: var(--sf-text); border: 0; padding: 16px 34px; font-weight: 500; letter-spacing: -0.01em; color: #16150f; cursor: pointer; }
.join-btn > * { position: relative; z-index: 1; }
.join-btn:hover { transform: translateY(-1.5px); background: rgba(255,255,255,0.2); box-shadow: inset 1px 1.6px 0.5px -0.5px rgba(255,255,255,1), inset -1px -1.8px 0.5px -0.5px rgba(255,255,255,0.9), inset 0 0 0 0.5px rgba(255,255,255,0.62), inset 0 0 28px -6px rgba(255,255,255,0.65), 0 10px 20px -6px rgba(30,27,22,0.12), 0 28px 54px -14px rgba(30,27,22,0.22); }
.join-btn:active { transform: translateY(0); }
.join-contact { position: absolute; left: 0; right: 0; bottom: clamp(18px, 3vh, 34px); z-index: 1; text-align: center; font-family: var(--sf-text); font-size: 0.8rem; letter-spacing: -0.005em; }
.join-contact a { color: #8e8a81; text-decoration: none; border-bottom: 1px solid transparent; transition: color 0.35s var(--ease), border-color 0.35s var(--ease); }
.join-contact a:hover { color: var(--text); border-bottom-color: currentColor; }
body.is-inverted .join-contact a { color: #cfcabf; }
body.is-inverted .join-contact a:hover { color: #f6f4ee; }
.join-note { position: relative; z-index: 1; margin-top: 0; font-family: var(--sf-text); font-size: 0.86rem; color: var(--text-faint); transition: color 0.5s var(--ease), margin-top 0.7s var(--ease) 0.15s, font-size 0.5s var(--ease); }
.join-note.is-good { color: var(--text-soft); font-weight: 500; font-size: 0.98rem; margin-top: clamp(28px, 4vw, 46px); }
@media (max-width: 460px) { .join-h span { white-space: normal; } }
@media (max-width: 720px) {
  .join-panel { padding-block: 12vh max(14vh, calc(50svh - 170px)); }
  .join-inner { padding: 0 24px; }
  .join-field { width: 100%; }
  .join-btn { width: 100%; }
}

.app-layer { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
/* pop-ups in the black stretch — empty cards waiting for artwork */
.pop-layer { position: fixed; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
.pop-card { position: absolute; opacity: 0; border-radius: 15px; overflow: hidden; will-change: opacity, transform; background: #191713; box-shadow: 0 1px 1px rgba(0,0,0,0.3), 0 8px 18px rgba(0,0,0,0.3), 0 26px 52px rgba(0,0,0,0.34), inset 0 0 0 1px rgba(255,255,255,0.08); }
.pop-card image-slot { display: block; width: 100%; height: 100%; color: rgba(255,255,255,0.62); }
/* they only ever show on the black page now, so the empty card needs its own
   light edge and lift to read at all */
body.is-inverted .pop-card { background: #1f1c17; box-shadow: 0 1px 1px rgba(0,0,0,0.5), 0 10px 26px rgba(0,0,0,0.55), 0 34px 66px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.22), inset 0 1px 0 rgba(255,255,255,0.3); }
.app-tile { position: absolute; width: var(--s); height: var(--s); opacity: 0; will-change: opacity, transform; border-radius: 23%; }
.app-tile img { display: block; width: 100%; height: 100%; border-radius: 23%; filter: drop-shadow(0 0.5px 0.5px rgba(38,33,26,0.05)) drop-shadow(0 3px 5px rgba(38,33,26,0.06)) drop-shadow(0 9px 16px rgba(38,33,26,0.07)) drop-shadow(0 22px 36px rgba(38,33,26,0.08)) drop-shadow(0 46px 70px rgba(38,33,26,0.07)); }
/* glass body: a lit top edge, a darker sitting edge and a broad specular
   sweep across the upper third — the gloss real app tiles carry */
.app-tile::before, .app-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.app-tile::before {
  box-shadow:
    inset 0 1px 0.5px rgba(255,255,255,0.55),
    inset 0 -1.2px 1.4px rgba(20,17,12,0.15),
    inset 0 0 0 0.5px rgba(255,255,255,0.1);
}
.app-tile::after {
  background:
    linear-gradient(198deg, rgba(255,255,255,0.34) 0%, rgba(255,255,255,0.09) 30%, rgba(255,255,255,0) 50%),
    radial-gradient(130% 84% at 30% -18%, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0) 62%),
    linear-gradient(0deg, rgba(20,17,12,0.09) 0%, rgba(20,17,12,0) 30%);
  opacity: 0.8;
}
@media (max-width: 620px) { .app-layer { display: none; } }

/* ===========================================================
   STORY — journal page, annotated by hand as you scroll
   =========================================================== */
/* overflow must stay visible: the app tiles ride above the panel top */
.tale-panel { position: relative; padding-block: 90px 24vh; isolation: isolate; background: transparent; overflow: visible; }
/* the flip belongs to the whole page, not one panel — otherwise the panel's
   edge shows as a seam against the sections above and below it */
body { transition: background-color 1.25s cubic-bezier(0.4, 0, 0.2, 1); }
body.is-inverted { background: #0f0e0c; }
/* panels never paint their own colour — the body owns the page, so nothing
   can lag behind it during the flip and show as a seam */
/* the hero has to travel with the page, or a fast scroll back to the top
   lands on near-black text over a near-black page */
.opening-text, .opening-caret { transition: color 1.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 1.25s cubic-bezier(0.4, 0, 0.2, 1); }
body.is-inverted .opening-text { color: #f6f4ee; }
body.is-inverted .opening-caret { background-color: #f6f4ee; }
.tale {
  width: 100%; max-width: 38rem;
  margin: 0 auto; padding: 0 28px;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}
.tale.is-lit { opacity: 1; }
.tale-p {
  position: relative;
  font-family: var(--sf-text);
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.78;
  letter-spacing: -0.006em;
  color: var(--text);
  transition: color 1.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-wrap: pretty;
}
body.is-inverted .tale-p { color: #f6f4ee; }
.tale-p + .tale-p { margin-top: 4.4em; }
.tale-p em { font-style: italic; }
.ann { position: relative; }
.ann-layer { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.ann-under { z-index: -1; }
.ann-over { z-index: 1; }
.ann-hl-stroke {
  fill: none;
  stroke: #ffe45c;
  stroke-linecap: round;
  opacity: 0.78;
  mix-blend-mode: multiply;
}
.ann-pen-stroke {
  fill: none;
  transition: stroke 1.25s cubic-bezier(0.4, 0, 0.2, 1);
  stroke: #23201a;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.82;
}
body.is-inverted .ann-pen-stroke { stroke: #f4f2ec; }
/* circled phrases stay on one line so the ring is a single loop */
.ann-ci { white-space: nowrap; }
/* the highlighter keeps its colour through the flip — on black each word
   darkens exactly as the ink front passes over it */
.ann-w { font-style: inherit; font-weight: inherit; }
body.is-inverted .ann-w {
  background-image: linear-gradient(90deg, #15140f 0 calc(var(--paint, 0) * 100%), #f6f4ee calc(var(--paint, 0) * 100%) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.tale-gap { display: block; height: 0.5em; }
/* the mark sits inline at the end of the line, riding a little high */
.tale-mark { display: inline-block; width: 2.1em; height: 2.1em; object-fit: contain; vertical-align: 0.34em; margin-left: 0.3em; margin-right: -0.5em; transform-origin: 50% 78%; opacity: 0; animation: taleMarkRock 0.78s steps(1, end) infinite; transition: filter 1.25s cubic-bezier(0.4, 0, 0.2, 1); }
/* three hand-drawn frames, held and cut — a flip-book wobble, not a tween */
@keyframes taleMarkRock {
  0%, 16% { transform: rotate(14deg) scale(calc(var(--pop, 1) * 0.86)) translateY(0.6px); }
  17%, 32% { transform: rotate(18deg) scale(calc(var(--pop, 1) * 0.97)) translateY(0); }
  33%, 49% { transform: rotate(16deg) scale(calc(var(--pop, 1) * 1.1)) translateY(-0.8px); }
  50%, 65% { transform: rotate(20deg) scale(calc(var(--pop, 1) * 1.02)) translateY(-0.4px); }
  66%, 82% { transform: rotate(15deg) scale(calc(var(--pop, 1) * 0.92)) translateY(0.4px); }
  83%, 100% { transform: rotate(18deg) scale(calc(var(--pop, 1) * 1.04)) translateY(-0.5px); }
}
@media (prefers-reduced-motion: reduce) { .tale-mark { animation: none; } }
body.is-inverted .tale-mark { filter: invert(1); }
body.is-inverted .ann-hl-stroke { mix-blend-mode: normal; }
.tale-lede { font-weight: 600; }
@media (max-width: 720px) {
  .tale { padding: 0 24px; }
  .tale-p + .tale-p { margin-top: 3.4em; }
}
@media (prefers-reduced-motion: reduce) { .tale { opacity: 1; } }

/* ===========================================================
   OPENING — blank paper, one typed line
   =========================================================== */
.opening {
  min-height: 76svh;
  display: grid; place-items: center;
  padding-block: 9vh 0;
}
.opening-inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; text-align: center; will-change: opacity; }
.opening-line {
  display: inline-flex; align-items: baseline; gap: 4px;
  font-family: "Lora", Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 8vw, 5.4rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: var(--text);
}
.opening-text { white-space: pre; }
.opening-caret {
  width: 2px; height: 1em; flex: none; align-self: center;
  background: var(--text); opacity: 0.9;
}
.opening-caret.is-blink { animation: openBlink 1.15s steps(1, end) infinite; }
@keyframes openBlink { 0%, 52% { opacity: 0.9; } 53%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .opening-caret { animation: none; opacity: 0; } }
@media (max-width: 720px) { .opening-inner { padding: 0 20px; } }

/* ===========================================================
   LOADER — the studio name types itself in, holds,
   then types away and the veil lifts.
   =========================================================== */
.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; }

.ld-type {
  display: flex; align-items: center; gap: 3px;
  font-family: "Lora", Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 4.8vw, 3rem);
  letter-spacing: -0.018em;
  color: var(--text, #1a1916);
  padding: 0 24px;
  opacity: 0;
  animation: ldIn 0.6s var(--ease) 0.08s forwards;
}
@keyframes ldIn { to { opacity: 1; } }
.loader.ld-done .ld-type { opacity: 0; transform: translateY(-6px); transition: opacity 0.6s var(--ease), transform 0.72s var(--ease); }
.ld-name { white-space: pre; }
.ld-caret {
  width: 1px; height: 1.08em; flex: none;
  background: var(--text, #1a1916);
  opacity: 0.85;
}
.ld-caret.ld-blink { animation: ldBlink 1.05s steps(1, end) infinite; }
@keyframes ldBlink { 0%, 49% { opacity: 0.85; } 50%, 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .ld-type { animation: none; opacity: 1; }
  .ld-caret { display: none; }
}

/* 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))),
      #6b6b70 0%, rgba(107,107,112,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))),
      #3f3f45 0%, rgba(63,63,69,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))),
      #a3a2a0 0%, rgba(163,162,160,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))),
      #58585e 0%, rgba(88,88,94,0) 60%),
    radial-gradient(70% 100% at 118% 64%, #4a4a50 0%, rgba(74,74,80,0) 56%);
  filter: blur(20px) grayscale(1) contrast(1.12);
  -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(214,213,210,0.7) 0%, rgba(214,213,210,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(150,150,156,0.7) 0%, rgba(150,150,156,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.6 0 0);
  animation: tagFloat 7s ease-in-out infinite;
}
.orb-tag.t1 .orb-tag-pill { background: oklch(0.6 0 0); color: #f6f5f3; }
.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 { /* light silver — lower left */
  left: -12%; top: 38%; width: 58vw; height: 58vw;
  background: radial-gradient(closest-side, rgba(206,206,208,0.95), rgba(206,206,208,0) 72%);
}
.svc-blob.bl2 { /* charcoal — dominant core */
  left: 22%; top: 14%; width: 60vw; height: 60vw;
  background: radial-gradient(closest-side, rgba(84,84,90,0.82), rgba(84,84,90,0) 72%);
}
.svc-blob.bl3 { /* mid grey — top centre, takes over from the orb */
  left: 28%; top: -6%; width: 48vw; height: 48vw;
  background: radial-gradient(closest-side, rgba(126,126,132,0.85), rgba(126,126,132,0) 70%);
}
.svc-blob.bl4 { /* pale grey — right */
  right: -10%; top: 24%; width: 54vw; height: 54vw;
  background: radial-gradient(closest-side, rgba(196,195,196,0.9), rgba(196,195,196,0) 70%);
}
.svc-blob.bl5 { /* near-white — lower centre glow */
  left: 6%; top: 56%; width: 46vw; height: 46vw;
  background: radial-gradient(closest-side, rgba(238,238,238,0.8), rgba(238,238,238,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%; }
}




/* ---------- Process: trio cards (Apple-style) ---------- */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
  align-items: stretch;
}
.trio-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  border-radius: 30px;
  padding: clamp(28px, 2.6vw, 40px) clamp(24px, 2.2vw, 34px) clamp(24px, 2.2vw, 30px);
  min-height: clamp(380px, 34vw, 470px);
  background: #16150f;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(244, 241, 234, 0.07);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.trio-card:hover { transform: translateY(-6px); box-shadow: 0 46px 80px -34px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(244, 241, 234, 0.1); }
.trio-copy { text-align: center; max-width: 34ch; margin: 0 auto; }
.trio-copy h3 {
  font-weight: 700; letter-spacing: -0.025em;
  font-size: clamp(1.35rem, 1.75vw, 1.75rem);
  color: #f4f1ea; text-wrap: balance;
}
.trio-copy p {
  margin-top: 12px; color: rgba(244, 241, 234, 0.62);
  font-size: 0.96rem; line-height: 1.55; text-wrap: pretty;
}
.trio-tan { background: #16150f; }
.trio-media.loss {
  position: relative; margin-top: auto; overflow: hidden;
  border-radius: 20px;
  min-height: clamp(190px, 15vw, 230px);
  background: linear-gradient(165deg, #242116, #1c1a12);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(244, 241, 234, 0.06);
}
.trio-media.loss .loss-label { color: rgba(244, 241, 234, 0.5); }
.trio-media.loss .loss-amount { color: #f4f1ea; }
.trio-media.loss .loss-rate { color: #ec8354; background: rgba(229, 112, 58, 0.14); }
.trio-media.loss .loss-head circle { fill: #1c1a12; }
.trio-copy + .trio-media.loss { margin-top: clamp(20px, 2vw, 28px); }
.trio-media.loss { margin-top: auto; }
.trio-stats { margin-top: auto; display: flex; flex-direction: column; }
.trio-stat {
  display: flex; align-items: baseline; gap: 14px;
  padding: clamp(12px, 1.2vw, 16px) 2px;
}
.trio-stat + .trio-stat { border-top: 1px solid rgba(244, 241, 234, 0.1); }
.trio-stat strong {
  font-weight: 800; font-size: clamp(1.7rem, 2.2vw, 2.2rem);
  letter-spacing: -0.04em; line-height: 1; color: #E5703A;
  min-width: 3.4ch; font-variant-numeric: tabular-nums;
}
.trio-stat span { color: rgba(244, 241, 234, 0.6); font-size: 0.92rem; line-height: 1.35; }
.trio-dark { background: #16150f; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5); }
.trio-dark:hover { box-shadow: 0 46px 80px -34px rgba(0, 0, 0, 0.6); }
.trio-dark .trio-copy h3 { color: #f4f1ea; }
.trio-dark .trio-copy p { color: rgba(244, 241, 234, 0.62); }
.trio-steps { margin-top: auto; list-style: none; display: flex; flex-direction: column; }
.trio-steps li {
  display: flex; align-items: center; gap: 16px;
  padding: clamp(10px, 1vw, 13px) 2px;
}
.trio-steps li + li { border-top: 1px solid rgba(244, 241, 234, 0.1); }
.trio-steps .ts-num {
  font-weight: 800; font-size: 0.82rem; letter-spacing: 0.06em;
  color: #E5703A; font-variant-numeric: tabular-nums;
}
.trio-steps h5 { font-weight: 700; font-size: 0.98rem; letter-spacing: -0.01em; color: #f4f1ea; }
.trio-steps p { margin-top: 2px; color: rgba(244, 241, 234, 0.55); font-size: 0.85rem; line-height: 1.4; }
@media (prefers-reduced-motion: no-preference) {
  .trio.reveal .trio-card { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .75s var(--ease); }
  .trio.reveal.in .trio-card { opacity: 1; transform: none; }
  .trio.reveal.in .trio-card:nth-child(2) { transition-delay: .12s; }
  .trio.reveal.in .trio-card:nth-child(3) { transition-delay: .24s; }
  .trio.reveal.in .trio-card:hover { transform: translateY(-6px); }
}
@media (max-width: 960px) {
  .trio { grid-template-columns: 1fr; }
  .trio-card { min-height: 0; }
  .trio-media.loss, .trio-stats, .trio-steps { margin-top: 24px; }
}
