/* ==========================================================================
   The B Stack by Brenda: "Light + Violet Stage"
   Light lilac-white canvas, deep violet stages for depth, lavender accent,
   one small lime highlight. Instrument Sans + Instrument Serif italic.
   --------------------------------------------------------------------------
   1. Tokens  2. Base  3. Layout  4. Type  5. Header  6. Buttons & pills
   7. Cards & mockups  8. Home  9. Inner pages  10. Footer  11. Motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --bg: #FBFAFE;          /* lilac-white canvas */
  --tint: #F3EFFD;        /* tinted sections */
  --tint-2: #EAE3FC;
  --white: #FFFFFF;
  --ink: #160F26;         /* text */
  --ink-2: #4E4762;       /* muted text (AA on bg) */
  --ink-3: #7C7591;       /* faint labels (large/UI only) */
  --line: rgba(22, 15, 38, .09);
  --line-2: rgba(22, 15, 38, .16);

  --violet: #7A55F0;      /* brand accent */
  --violet-ink: #5B37D6;  /* accent for small text on light */
  --lilac: #C9B6FF;       /* accent on deep */
  --deep: #22133F;        /* violet stage */
  --deep-2: #170C2C;
  --deep-3: #2E1B55;
  --plum: #2A1A4A;        /* primary button */
  --lime: #C8F169;        /* tiny highlight */
  --on-deep: #F5F1FF;
  --on-deep-2: #BDB3D6;

  --sans: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --script: "Marck Script", cursive;

  --fs-hero: clamp(2.25rem, 1rem + 4vw, 4.5rem);
  --fs-h2: clamp(2.1rem, 1.2rem + 3vw, 3.9rem);
  --fs-h3: clamp(1.35rem, 1.1rem + .9vw, 1.85rem);
  --fs-lead: clamp(1.06rem, 1rem + .3vw, 1.22rem);
  --fs-body: 1.0625rem;
  --fs-sm: .92rem;
  --fs-xs: .78rem;

  --gutter: clamp(1rem, 4vw, 3rem);
  --section: clamp(5rem, 3.2rem + 6vw, 9rem);
  --maxw: 1240px;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 36px;

  --shadow-card: 0 1px 0 rgba(255,255,255,.9) inset, 0 2px 6px rgba(22,15,38,.04), 0 30px 60px -28px rgba(42,26,74,.35);
  --shadow-float: 0 40px 80px -30px rgba(42,26,74,.55);
  --shadow-stage: 0 50px 100px -40px rgba(42,26,74,.7);

  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: 180ms;
  --t-med: 420ms;
  --t-slow: 900ms;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: var(--fs-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 300; background: var(--plum); color: #fff; padding: .75rem 1rem; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 1rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 3. Layout ---------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .55); }
.section--tint { background: var(--tint); }
.section--deep {
  background: radial-gradient(110% 80% at 85% 0%, var(--deep-3) 0%, var(--deep) 45%, var(--deep-2) 100%);
  color: var(--on-deep); --ink: var(--on-deep); --ink-2: var(--on-deep-2); --ink-3: #9C91B8; --line: rgba(255,255,255,.1); --line-2: rgba(255,255,255,.2); --violet-ink: var(--lilac);
  overflow: hidden;
}
.section--deep::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 70% 20%, #000, transparent); mask-image: radial-gradient(70% 60% at 70% 20%, #000, transparent);
}
.section--deep > * { position: relative; }
.head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.75rem, 2rem + 3vw, 4.5rem); max-width: 46rem; }
.head--center { margin-inline: auto; text-align: center; justify-items: center; }
.head--split { max-width: none; align-items: end; }
@media (min-width: 900px) { .head--split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 4rem; } }

/* 4. Type ------------------------------------------------------------------ */
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; }
p { margin: 0; }
.display, .h2, .h3 { letter-spacing: -0.04em; text-wrap: balance; }
.display { font-size: var(--fs-hero); line-height: .98; letter-spacing: -0.045em; }
.h2 { font-size: var(--fs-h2); line-height: 1.02; }
.h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -0.03em; }
.display em, .h2 em, .h3 em, .serif {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--violet);
}
.section--deep .display em, .section--deep .h2 em, .section--deep .h3 em, .stage em { color: var(--lilac); }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-2); }
.sm { font-size: var(--fs-sm); }
.prose { display: grid; gap: 1em; color: var(--ink-2); max-width: 36em; }
.prose strong { color: var(--ink); font-weight: 600; }
.signature { font-family: var(--script); color: var(--violet); line-height: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; justify-self: start;
  padding: .38rem .85rem .38rem .45rem; border-radius: 999px;
  background: #F1ECFE; color: #4A2EB5; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .01em;
}
.eyebrow i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: #fff; font-style: normal; font-size: .66rem; font-weight: 700; }
.head--center .eyebrow { justify-self: center; }
.section--deep .eyebrow { background: rgba(255,255,255,.08); color: var(--lilac); border: 1px solid rgba(255,255,255,.1); }
.section--deep .eyebrow i { background: var(--lilac); color: var(--deep-2); }

/* 5. Header ---------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; transition: background var(--t-med), box-shadow var(--t-med), transform var(--t-med) var(--ease); }
.site-header.is-scrolled { background: rgba(251,250,254,.82); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; height: 80px; }
.brand { display: inline-flex; align-items: center; margin-right: auto; text-decoration: none; }
/* Live logo is white; until a dark version is uploaded, render it in ink */
.brand img { height: 30px; width: auto; filter: brightness(0) saturate(100%); }
.site-footer .brand img { filter: none; }
.nav { display: none; }
.nav__list { display: flex; gap: .2rem; list-style: none; margin: 0; padding: .3rem; border-radius: 999px; }
.nav__list a { display: block; padding: .5rem .95rem; border-radius: 999px; text-decoration: none; font-size: .93rem; font-weight: 500; color: var(--ink-2); transition: color var(--t-fast), background var(--t-fast); }
.nav__list a:hover { color: var(--ink); background: rgba(122,85,240,.08); }
.nav__list a[aria-current="page"] { color: var(--ink); background: #fff; box-shadow: 0 1px 2px rgba(22,15,38,.08), 0 0 0 1px var(--line); }
.site-header .nav__cta { display: none; }
.menu-toggle { width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; background: #fff; display: grid; place-items: center; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform var(--t-med) var(--ease); }
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; } .menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 80px 0 0 0; z-index: 99; background: var(--bg); padding: 1.5rem var(--gutter) 2rem; display: flex; flex-direction: column; gap: 2rem; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; }
.mobile-menu li a { display: flex; justify-content: space-between; align-items: baseline; padding-block: .6rem; border-bottom: 1px solid var(--line); text-decoration: none; font-size: clamp(1.9rem, 8vw, 2.6rem); font-weight: 600; letter-spacing: -0.04em; }
.mobile-menu li a span { font-size: .75rem; font-weight: 600; color: var(--violet-ink); letter-spacing: .04em; }
.mobile-menu li a[aria-current="page"] { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--violet); }
.mobile-menu__foot { margin-top: auto; display: grid; gap: 1rem; }
body.menu-open { overflow: hidden; }
@media (min-width: 960px) {
  .nav { display: block; }
  .site-header .nav__cta { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* 6. Buttons & pills ------------------------------------------------------- */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.btn {
  --bg: var(--plum); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.5rem; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: .96rem; text-decoration: none; white-space: nowrap;
  box-shadow: 0 14px 30px -14px rgba(42,26,74,.65);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), background var(--t-fast);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -14px rgba(42,26,74,.7); }
.btn:active { transform: translateY(0); }
.btn .arrow { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: -.6rem; border-radius: 50%; background: rgba(255,255,255,.14); transition: transform var(--t-med) var(--ease); }
.btn .arrow svg { width: 12px; height: 12px; }
.btn:hover .arrow { transform: translateX(3px); }
.btn--violet { --bg: var(--violet); box-shadow: 0 14px 34px -12px rgba(122,85,240,.7); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn--light { --bg: var(--on-deep); --fg: var(--deep-2); box-shadow: 0 14px 40px -12px rgba(201,182,255,.55); }
.btn--light .arrow { background: rgba(23,12,44,.08); }
.btn--outline-light { --bg: transparent; --fg: var(--on-deep); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.btn--outline-light:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.btn--sm { min-height: 44px; padding: .55rem 1.15rem; font-size: .9rem; }
.link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; color: var(--ink); }
.link::after { content: "\2192"; transition: transform var(--t-med) var(--ease); }
.link:hover::after { transform: translateX(4px); }
.link:hover { color: var(--violet-ink); }
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .75rem; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.section--deep .pill, .stage .pill { background: rgba(255,255,255,.06); color: var(--on-deep-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.pills { display: flex; flex-wrap: wrap; gap: .4rem; }

/* 7. Cards & mockups ------------------------------------------------------- */
.card { position: relative; background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow-card); color: var(--ink); }
.ui { padding: 1rem; font-size: .8rem; }
.ui__head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .6rem; font-weight: 600; font-size: .82rem; }
.ui__head small { font-weight: 500; color: var(--ink-3); }
.ui-row { display: flex; align-items: center; gap: .55rem; padding: .55rem .65rem; border-radius: 10px; background: #F6F3FE; margin-top: .4rem; }
.ui-row b { font-weight: 600; }
.ui-row em { margin-left: auto; font-style: normal; color: var(--ink-3); font-size: .72rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); flex: none; }
.dot--green { background: #2FB37E; } .dot--lime { background: #9BC93A; } .dot--pink { background: #F06AA3; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .62rem 1rem; border-radius: 999px; background: var(--lime); color: var(--deep-2); font-size: .8rem; font-weight: 600; white-space: nowrap; box-shadow: 0 16px 30px -14px rgba(0,0,0,.45); }
.chip--dark { background: var(--plum); color: #fff; }
.pipeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.pipeline div { display: grid; gap: .4rem; align-content: start; }
.pipeline small { font-size: .6rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.pipeline span { height: 30px; border-radius: 8px; background: #F1ECFE; }
.pipeline span.hot { background: #fff; box-shadow: inset 0 0 0 1.5px var(--violet); }

/* Violet stage: the deep rounded panel that gives sections depth */
.stage {
  position: relative; border-radius: var(--r-xl); overflow: hidden; color: var(--on-deep);
  background: radial-gradient(120% 90% at 80% 0%, #4B2C8F 0%, var(--deep) 55%, var(--deep-2) 100%);
  box-shadow: var(--shadow-stage);
}
.stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(80% 80% at 60% 30%, #000, transparent); mask-image: radial-gradient(80% 80% at 60% 30%, #000, transparent);
}
.stage > * { position: relative; }

.media { position: relative; overflow: hidden; background: var(--tint-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.is-empty img { visibility: hidden; position: absolute; }
.media.is-empty { background: radial-gradient(120% 90% at 20% 0%, rgba(122,85,240,.18), transparent 60%), var(--tint-2); }
.media.is-empty::after { content: attr(data-label); position: absolute; left: 1rem; bottom: 1rem; right: 1rem; font-size: .72rem; font-weight: 600; color: var(--ink-3); }

/* 8. Home ------------------------------------------------------------------ */

/* Hero */
.hero { position: relative; padding-top: clamp(2rem, 1rem + 3vw, 4rem); padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -15%; top: -30%; width: 75%; height: 120%; background: radial-gradient(closest-side, rgba(122,85,240,.14), transparent); pointer-events: none; }
.hero__grid { position: relative; display: grid; gap: 3.5rem; align-items: center; }
.hero__copy { display: grid; gap: 1.4rem; }
.hero__title .line { display: block; }
.hero__copy .lead { max-width: 31em; }
.hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.6rem; margin-top: .6rem; font-size: var(--fs-sm); color: var(--ink-2); }
.hero__proof strong { color: var(--ink); font-weight: 600; }
.hero__proof .sep { width: 1px; height: 28px; background: var(--line-2); }
.stat-inline { display: flex; align-items: center; gap: .7rem; }
.stat-inline b { font-size: 1.9rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.stat-inline b sup { color: var(--violet); font-size: .55em; }
.stat-inline span { line-height: 1.35; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3.5rem; } .hero { min-height: calc(100svh - 80px); display: flex; align-items: center; } .hero > .wrap { width: 100%; } }

.scene { position: relative; height: clamp(440px, 36vw + 140px, 600px); }
.scene .layer { position: absolute; transition: transform .6s var(--ease-out); will-change: transform; }
.scene__stage { inset: 0 0 0 7%; }
.scene__portrait { left: 30%; top: 9%; width: 46%; height: 68%; border-radius: 26px; overflow: hidden; border: 6px solid rgba(255,255,255,.12); }
.scene__portrait img { width: 100%; height: 100%; object-fit: cover; }
.scene__card-a { left: 0; top: 56%; width: min(52%, 290px); }
.scene__card-b { right: -1%; top: 15%; width: min(42%, 240px); }
.scene__chip { right: 7%; bottom: 7%; }
.scene__sig { left: 12%; top: 8%; font-size: clamp(2.2rem, 1.6rem + 1.5vw, 3rem); color: var(--lilac); transform: rotate(-8deg); }
@media (max-width: 560px) { .scene__card-b { top: 4%; } .scene__sig { display: none; } }

/* Tools marquee */
.marquee { padding-block: 1.6rem; margin-top: 1rem; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__label { text-align: center; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-3); margin-bottom: 1rem; letter-spacing: .02em; }
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee ul { display: flex; gap: 3rem; list-style: none; margin: 0; padding: 0 1.5rem; }
.marquee li { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; color: #9A93AE; white-space: nowrap; }
.marquee li:nth-child(3n+2) { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.3rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Before / after */
.shift { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .shift { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4.5rem; } }
.shift__copy { display: grid; gap: 1.25rem; }
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); justify-self: start; }
.toggle button { min-height: 42px; padding: .45rem 1.1rem; border: 0; border-radius: 999px; background: transparent; font-weight: 600; font-size: .9rem; color: var(--ink-2); transition: background var(--t-med) var(--ease), color var(--t-med); }
.toggle button[aria-pressed="true"] { background: var(--plum); color: #fff; }
.shift__board { position: relative; height: 420px; padding: 0; }
.shift__board .tile {
  position: absolute; left: 0; top: 0; width: 44%; display: flex; align-items: center; gap: .6rem;
  padding: .8rem 1rem; border-radius: 14px; background: #fff; color: var(--ink); font-size: .86rem; font-weight: 600;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
  transition: transform 1s var(--ease-out), background .6s, color .6s;
}
.shift__board .tile i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-size: .8rem; background: #F1ECFE; color: var(--violet-ink); flex: none; }
.shift__board .tile small { margin-left: auto; font-weight: 500; color: var(--ink-3); font-size: .72rem; opacity: 0; transition: opacity .5s; }
/* "Before": scattered */
.shift__board .tile:nth-of-type(1) { transform: translate(8%, 30px) rotate(-7deg); }
.shift__board .tile:nth-of-type(2) { transform: translate(118%, 70px) rotate(6deg); }
.shift__board .tile:nth-of-type(3) { transform: translate(30%, 170px) rotate(4deg); }
.shift__board .tile:nth-of-type(4) { transform: translate(105%, 230px) rotate(-5deg); }
.shift__board .tile:nth-of-type(5) { transform: translate(14%, 300px) rotate(-3deg); }
.shift__board .tile:nth-of-type(6) { transform: translate(80%, 340px) rotate(8deg); }
/* "After": one ordered stack */
.shift.is-after .tile { width: 72%; }
.shift.is-after .tile small { opacity: 1; }
.shift.is-after .tile:nth-of-type(1) { transform: translate(var(--ax), 34px); }
.shift.is-after .tile:nth-of-type(2) { transform: translate(var(--ax), 92px); }
.shift.is-after .tile:nth-of-type(3) { transform: translate(var(--ax), 150px); }
.shift.is-after .tile:nth-of-type(4) { transform: translate(var(--ax), 208px); }
.shift.is-after .tile:nth-of-type(5) { transform: translate(var(--ax), 266px); }
.shift.is-after .tile:nth-of-type(6) { transform: translate(var(--ax), 324px); background: var(--lime); }
.shift.is-after .tile:nth-of-type(6) i { background: var(--deep-2); color: var(--lime); }
.shift__board .tile:nth-of-type(2) { transition-delay: .04s; } .shift__board .tile:nth-of-type(3) { transition-delay: .08s; }
.shift__board .tile:nth-of-type(4) { transition-delay: .12s; } .shift__board .tile:nth-of-type(5) { transition-delay: .16s; } .shift__board .tile:nth-of-type(6) { transition-delay: .2s; }
.shift__rail { position: absolute; left: calc(var(--ax) + 26px); top: 60px; bottom: 90px; width: 2px; background: linear-gradient(var(--lilac), rgba(201,182,255,0)); transform: scaleY(0); transform-origin: top; transition: transform 1s var(--ease-out) .3s; }
.shift.is-after .shift__rail { transform: scaleY(1); }
.shift { --ax: 19%; }
@media (max-width: 560px) { .shift { --ax: 6%; } .shift__board .tile { width: 58%; font-size: .78rem; } .shift.is-after .tile { width: 88%; } }

/* Services: sticky stacking cards */
.stack-cards { display: grid; gap: 1.5rem; }
.scard {
  position: sticky; top: calc(100px + var(--i, 0) * 18px);
  display: grid; gap: 2rem; padding: clamp(1.5rem, 1rem + 2.4vw, 3rem); border-radius: var(--r-xl);
  background: #fff; box-shadow: 0 1px 0 #fff inset, 0 30px 70px -40px rgba(42,26,74,.45), 0 0 0 1px var(--line);
  transform-origin: 50% 0; transition: transform .2s linear, filter .2s linear;
}
.scard--deep { background: radial-gradient(120% 90% at 85% 0%, #4B2C8F 0%, var(--deep) 55%, var(--deep-2) 100%); color: var(--on-deep); --ink: var(--on-deep); --ink-2: var(--on-deep-2); --ink-3: #9C91B8; --line: rgba(255,255,255,.1); box-shadow: var(--shadow-stage); }
.scard--deep em { color: var(--lilac); }
.scard__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.scard__num { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--violet); }
.scard--deep .scard__num { color: var(--lilac); }
.scard__body { display: grid; gap: 1.1rem; align-content: start; }
.scard__list { list-style: none; margin: .3rem 0 .5rem; padding: 0; display: grid; gap: .55rem; }
.scard__list li { display: flex; gap: .7rem; align-items: baseline; color: var(--ink-2); }
.scard__list li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); transform: translateY(-2px); }
.scard--deep .scard__list li::before { background: var(--lime); }
.scard__visual { display: grid; place-items: center; min-height: 260px; border-radius: var(--r-lg); background: var(--tint); padding: 1.5rem; }
.scard--deep .scard__visual { background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.scard__visual .card { width: min(100%, 360px); }
@media (min-width: 900px) { .scard { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 3.5rem; } .scard__top { grid-column: 1 / -1; } }

/* Integration hub mini */
.hub { position: relative; width: min(100%, 360px); aspect-ratio: 1 / .8; }
.hub svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub path { stroke: var(--violet); stroke-opacity: .45; stroke-width: 1.2; fill: none; stroke-dasharray: 4 6; animation: dash 12s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -200; } }
.hub__core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 30%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--plum); color: #fff; font-weight: 700; font-size: .85rem; box-shadow: 0 0 0 10px rgba(122,85,240,.12), 0 20px 40px -16px rgba(42,26,74,.6); }
.hub__node { position: absolute; transform: translate(-50%, -50%); }
.hub__node .pill { background: #fff; box-shadow: 0 10px 20px -12px rgba(42,26,74,.4), inset 0 0 0 1px var(--line); color: var(--ink); }

/* Featured work */
.feature { display: grid; gap: 2.5rem; align-items: center; padding: clamp(1.25rem, .8rem + 2.5vw, 3rem); }
@media (min-width: 960px) { .feature { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 3.5rem; } }
.feature__img { border-radius: var(--r-lg); overflow: hidden; background: #0E0818; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); transform-style: preserve-3d; transition: transform .5s var(--ease-out); }
.feature__img img { width: 100%; }
.feature__copy { display: grid; gap: 1.1rem; }
.feature__client { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lilac); }
.feature__copy p { color: var(--on-deep-2); }
.more-work { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 760px) { .more-work { grid-template-columns: 1fr 1fr; } }
.ghost-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 1.6rem; border-radius: var(--r-lg); border: 1.5px dashed var(--line-2); color: var(--ink-2); font-size: var(--fs-sm); }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { position: relative; display: grid; gap: .7rem; align-content: start; padding: 1.6rem; border-radius: var(--r-md); background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform var(--t-med) var(--ease), box-shadow var(--t-med); }
.step:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 24px 40px -24px rgba(42,26,74,.4); }
.step__num { font-family: var(--serif); font-style: italic; font-size: 2.4rem; line-height: 1; color: var(--violet); }
.step h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
.step p { color: var(--ink-2); font-size: var(--fs-sm); }
@media (min-width: 900px) {
  .steps::before { content: ""; position: absolute; left: 1.6rem; right: 1.6rem; top: 3.1rem; height: 1px; background: linear-gradient(90deg, var(--violet), transparent); opacity: .25; }
  .steps { position: relative; }
}

/* About */
.about { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .about { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 5rem; } }
.about__photo { position: relative; max-width: 500px; width: 100%; }
.about__photo .frame { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow-float); }
.about__photo .frame img { width: 100%; height: 100%; object-fit: cover; }
.about__photo .chip { position: absolute; left: -4%; bottom: 10%; }
.about__photo .note { position: absolute; right: -4%; top: 8%; padding: .7rem 1rem; border-radius: 14px; background: #fff; box-shadow: var(--shadow-card); font-size: .82rem; font-weight: 600; transform: rotate(3deg); }
.about__photo .signature { position: absolute; right: 6%; bottom: -1.4rem; font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); transform: rotate(-6deg); }
.about__copy { display: grid; gap: 1.4rem; }
.likes { display: flex; flex-wrap: wrap; gap: .45rem; }

/* Why me */
.why { display: grid; gap: 1rem; }
@media (min-width: 900px) { .why { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.why__item { display: grid; gap: .8rem; align-content: start; padding: 2rem; border-radius: var(--r-lg); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: background var(--t-med); }
.why__item:hover { background: rgba(255,255,255,.08); }
.why__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(201,182,255,.14); color: var(--lilac); }
.why__icon svg { width: 22px; height: 22px; }
.why__item h3 { font-size: 1.3rem; letter-spacing: -0.025em; }
.why__item p { color: var(--on-deep-2); font-size: var(--fs-sm); }

/* FAQ */
.faq { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: 5rem; } .faq__aside { position: sticky; top: 120px; align-self: start; } }
.faq__aside { display: grid; gap: 1.2rem; }
.faq-list { display: grid; gap: .6rem; }
.faq-item { border-radius: var(--r-md); background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow var(--t-med); }
.faq-item[open] { box-shadow: 0 0 0 1px var(--line), 0 20px 40px -26px rgba(42,26,74,.4); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; font-weight: 600; font-size: 1.04rem; letter-spacing: -0.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--violet-ink); font-size: 1.1rem; transition: transform var(--t-med) var(--ease), background var(--t-fast); }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--violet); color: #fff; }
.faq-item__a { padding: 0 1.4rem 1.3rem; color: var(--ink-2); max-width: 40rem; }

/* Final CTA */
.cta { padding-block: var(--section); }
.cta__panel { display: grid; gap: 2rem; padding: clamp(2rem, 1rem + 5vw, 5rem); align-items: center; }
@media (min-width: 960px) { .cta__panel { grid-template-columns: minmax(0, 1.4fr) auto; gap: 3rem; } }
.cta__panel .h2 { color: var(--on-deep); max-width: 15ch; }
.cta__panel .lead { color: var(--on-deep-2); margin-top: 1rem; }
.cta__side { display: grid; justify-items: center; gap: 1rem; text-align: center; }
.cta__avatar { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; border: 4px solid rgba(255,255,255,.15); }
.cta__avatar img { width: 100%; height: 100%; object-fit: cover; }
.cta__side p { font-size: var(--fs-sm); color: var(--on-deep-2); }
.cta__side .chip { font-size: .75rem; padding: .45rem .8rem; }

/* 9. Inner pages ----------------------------------------------------------- */
.page-hero { position: relative; padding-top: clamp(3rem, 2rem + 4vw, 6rem); padding-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 140%; background: radial-gradient(closest-side, rgba(122,85,240,.13), transparent); pointer-events: none; }
.page-hero__grid { position: relative; display: grid; gap: 1.5rem 4rem; align-items: end; }
.page-hero .display { font-size: clamp(2.6rem, 1.2rem + 4.4vw, 5rem); margin-top: 1.2rem; }
@media (min-width: 960px) { .page-hero__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.jump { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.5rem; }
.jump a { text-decoration: none; }
.jump .pill:hover { color: var(--violet-ink); box-shadow: inset 0 0 0 1px var(--violet); }

.svc { display: grid; gap: 2.5rem; padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); border-top: 1px solid var(--line); }
@media (min-width: 960px) { .svc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4.5rem; align-items: start; } .svc:nth-of-type(even) .svc__visual { order: -1; } }
.svc__body { display: grid; gap: 1.3rem; }
.svc__visual { position: sticky; top: 110px; display: grid; place-items: center; min-height: 360px; padding: 2rem; }
.svc__visual .card { width: min(100%, 360px); }
.svc__cols { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .svc__cols { grid-template-columns: 1fr 1fr; } }
.svc__cols h3 { font-size: .95rem; margin-bottom: .6rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; color: var(--ink-2); font-size: var(--fs-sm); }
.ticks li { display: flex; gap: .6rem; align-items: baseline; }
.ticks li::before { content: ""; flex: none; width: 15px; height: 15px; border-radius: 50%; transform: translateY(3px); background: #F1ECFE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.5l2.2 2.2L11.5 6' fill='none' stroke='%237A55F0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.ticks--x li::before { background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 5.5l5 5M10.5 5.5l-5 5' fill='none' stroke='%237C7591' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 13px no-repeat; }

.callout { display: grid; gap: 1.25rem; padding: clamp(1.75rem, 1rem + 3vw, 3rem); border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-card); }
@media (min-width: 860px) { .callout { grid-template-columns: 1fr auto; align-items: center; gap: 3rem; } }

/* Portfolio grid */
.filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 2.5rem; }
.filter { min-height: 44px; padding: .5rem 1.1rem; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; font-size: .88rem; color: var(--ink-2); transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast); }
.filter:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.filter[aria-pressed="true"] { background: var(--plum); color: #fff; box-shadow: none; }
.work-grid { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pcard { display: grid; gap: 1rem; align-content: start; padding: .9rem .9rem 1.4rem; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); transition: transform var(--t-med) var(--ease), box-shadow var(--t-med); }
.pcard[hidden] { display: none; }
.pcard:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(42,26,74,.45); }
.pcard__img { aspect-ratio: 800 / 585; border-radius: var(--r-md); overflow: hidden; background: var(--deep); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__meta { display: flex; justify-content: space-between; gap: 1rem; padding-inline: .5rem; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-3); }
.pcard h2, .pcard h3 { padding-inline: .5rem; font-size: 1.35rem; letter-spacing: -0.03em; line-height: 1.2; }
.pcard p { padding-inline: .5rem; color: var(--ink-2); font-size: var(--fs-sm); }
.pcard--placeholder { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); border: 0; }
.pcard--placeholder .pcard__img { background: var(--tint); }
.pcard--placeholder .media.is-empty { background: var(--tint); }

/* Case study */
.cs-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; padding: 1.5rem; border-radius: var(--r-md); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.cs-meta dt { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-3); margin-bottom: .2rem; }
.cs-meta dd { margin: 0; font-weight: 600; }
@media (min-width: 860px) { .cs-meta { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cs-hero-media { padding: clamp(1rem, .5rem + 3vw, 3rem); }
.cs-hero-media img { width: 100%; border-radius: var(--r-md); }
.cs-section { display: grid; gap: 1rem; padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .cs-section { grid-template-columns: 15rem minmax(0, 1fr); gap: 4rem; } }
.cs-section h2 { font-size: 1.3rem; letter-spacing: -0.025em; }
.cs-gallery { display: grid; gap: 1.25rem; padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.cs-gallery .media { aspect-ratio: 4 / 3; border-radius: var(--r-md); }
@media (min-width: 760px) { .cs-gallery { grid-template-columns: 1.3fr 1fr; } .cs-gallery .media:first-child { grid-row: span 2; aspect-ratio: auto; } }
.cs-outcome { padding: 1.4rem; border-radius: var(--r-md); border: 1.5px dashed var(--line-2); color: var(--ink-2); }

/* About page */
.values { display: grid; gap: 1rem; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.value { padding: 1.8rem; border-radius: var(--r-lg); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); display: grid; gap: .6rem; }
.value h3 { font-size: 1.25rem; letter-spacing: -0.025em; }
.value p { color: var(--on-deep-2); font-size: var(--fs-sm); }
.toolkit { display: grid; gap: 1rem; }
@media (min-width: 760px) { .toolkit { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.toolkit > div { padding: 1.6rem; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.toolkit h3 { font-size: 1rem; margin-bottom: .9rem; }

/* Contact */
.contact { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .contact { grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: 4rem; } .contact__aside { position: sticky; top: 110px; } }
.contact__aside { display: grid; gap: 1.5rem; }
.book { display: grid; gap: 1rem; padding: 2rem; }
.book p { color: var(--on-deep-2); }
.book__who { display: flex; align-items: center; gap: .9rem; }
.book__who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.2); }
.book__who b { display: block; color: var(--on-deep); }
.book__who span { font-size: var(--fs-xs); color: var(--on-deep-2); }
.expect { list-style: none; margin: 0; padding: 0; counter-reset: e; display: grid; gap: .9rem; }
.expect li { counter-increment: e; display: grid; grid-template-columns: 28px 1fr; gap: .8rem; color: var(--ink-2); font-size: var(--fs-sm); }
.expect li::before { content: counter(e); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #F1ECFE; color: var(--violet-ink); font-weight: 700; font-size: .78rem; }
.expect strong { display: block; color: var(--ink); }
.inquiry { padding: clamp(1.5rem, 1rem + 3vw, 3rem); border-radius: var(--r-xl); background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-card); }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; margin-bottom: .8rem; }
.progress span { height: 4px; border-radius: 4px; background: var(--tint-2); transition: background var(--t-med); }
.progress span.is-done { background: var(--violet); }
.progress-label { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-3); margin-bottom: 1.8rem; }
.fstep { border: 0; padding: 0; margin: 0; display: grid; gap: 1.4rem; min-width: 0; }
.fstep[hidden] { display: none; }
.fstep legend { padding: 0; margin-bottom: .2rem; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; }
.fstep__intro { color: var(--ink-2); margin-top: -.6rem; }
.field { display: grid; gap: .45rem; }
.field label, .field .label { font-weight: 600; font-size: .94rem; }
.field .optional { font-weight: 500; color: var(--ink-3); }
.field input, .field textarea { width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg); font-size: 1rem; transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast); }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(122,85,240,.15); }
.field .hint { font-size: .85rem; color: var(--ink-3); }
.field .error { display: none; font-size: .85rem; font-weight: 600; color: #C2255C; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #C2255C; }
.field.is-invalid .error { display: block; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 46px; padding: .6rem 1rem; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); font-size: .92rem; font-weight: 500; transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast); }
.choice:hover span { box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:checked + span { background: var(--plum); color: #fff; box-shadow: none; }
.choice input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.form-nav .btn[hidden] { display: none; }
.form-micro { margin-top: 1rem; font-size: .85rem; color: var(--ink-3); }
.form-status { margin-top: 1rem; font-weight: 600; color: #C2255C; }
.success { display: grid; gap: 1.2rem; }
.success[hidden] { display: none; }
.success__mark { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--deep-2); }
.success__mark svg { width: 26px; height: 26px; }
.success .signature { font-size: 2.6rem; }

/* Insights */
.featured { display: grid; gap: 2rem; padding: clamp(1.5rem, 1rem + 3vw, 3rem); margin-bottom: 3rem; }
@media (min-width: 900px) { .featured { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 3rem; } }
.featured p { color: var(--on-deep-2); }
.articles { display: grid; gap: .6rem; }
.article { display: grid; gap: .4rem; padding: 1.4rem 1.6rem; border-radius: var(--r-md); background: #fff; box-shadow: 0 0 0 1px var(--line); }
@media (min-width: 860px) { .article { grid-template-columns: 9rem minmax(0, 1fr) auto; gap: 2rem; align-items: center; } }
.article h3 { font-size: 1.15rem; letter-spacing: -0.02em; }
.article p { color: var(--ink-2); font-size: var(--fs-sm); }
.article__cat { font-size: var(--fs-xs); font-weight: 600; color: var(--violet-ink); }
.soon { font-size: var(--fs-xs); font-weight: 600; padding: .25rem .6rem; border-radius: 999px; background: var(--tint); color: var(--ink-2); white-space: nowrap; justify-self: start; }

/* 10. Footer --------------------------------------------------------------- */
.site-footer { background: var(--deep-2); color: var(--on-deep); padding-top: clamp(3.5rem, 3rem + 3vw, 5.5rem); padding-bottom: 2rem; --ink: var(--on-deep); --ink-2: var(--on-deep-2); }
.footer__top { display: grid; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 900px) { .footer__top { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.footer__motto { margin-top: 1.5rem; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.08; max-width: 18ch; }
.footer__motto em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--lilac); }
.footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
@media (min-width: 600px) { .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer__cols h2 { font-size: var(--fs-xs); font-weight: 600; color: var(--lilac); margin-bottom: .9rem; }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer__cols a { color: var(--on-deep-2); text-decoration: none; font-size: .93rem; overflow-wrap: anywhere; }
.footer__cols a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; font-size: .82rem; color: var(--on-deep-2); }

/* 11. Motion --------------------------------------------------------------- */
/* Hero entrance (the one orchestrated moment) */
.js .hero__title .line { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.js .hero__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.js .is-loaded .hero__title .line > span { transform: none; }
.js .is-loaded .hero__title .line:nth-child(2) > span { transition-delay: .08s; }
.js .is-loaded .hero__title .line:nth-child(3) > span { transition-delay: .16s; }
.js .is-loaded .hero__title .line:nth-child(4) > span { transition-delay: .24s; }
.js .hero__fade { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease) .45s, transform .9s var(--ease) .45s; }
.js .is-loaded .hero__fade { opacity: 1; transform: none; }
.js .scene .layer { opacity: 0; }
.js .is-loaded .scene .layer { opacity: 1; transition: opacity 1s var(--ease) var(--d, .5s), transform .6s var(--ease-out); }
/* Scroll reveals */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease-out); transition-delay: var(--delay, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Gentle float */
@keyframes float { 50% { translate: 0 -10px; } }
.float { animation: float 7s ease-in-out infinite; }
.float--2 { animation-delay: -2.3s; } .float--3 { animation-delay: -4.6s; }

.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .marquee__track { animation: none; }
  .js .hero__title .line > span, .js .hero__fade, .js [data-reveal], .js .scene .layer { transform: none; opacity: 1; }
  .scard { position: relative; top: auto; }
}
.shift__board .tile .a { display: none; }
.shift.is-after .tile .a { display: inline; }
.shift.is-after .tile .b { display: none; }
.head .head { margin-bottom: 0; }
/* Light cards keep light-theme ink even inside deep panels */
.card, .hub__node .pill { --ink: #160F26; --ink-2: #4E4762; --ink-3: #7C7591; color: var(--ink); }
.scard--deep .hub__node .pill { background: #fff; }
@media (max-width: 560px) { .hero__proof .sep { display: none; } }

/* Logo marquee */
.marquee li { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink-2); font-family: var(--sans) !important; font-style: normal !important; font-weight: 600 !important; font-size: 1rem !important; }
.marquee li img { width: 32px; height: 32px; border-radius: 8px; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px var(--line); }

/* Toolkit logo grid */
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 600px) { .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .logos { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.logo { display: grid; justify-items: center; gap: .7rem; padding: 1.5rem .75rem 1.25rem; border-radius: var(--r-md); background: #fff; box-shadow: 0 0 0 1px var(--line); text-align: center; transition: transform var(--t-med) var(--ease), box-shadow var(--t-med); }
.logo:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 20px 34px -20px rgba(42,26,74,.4); }
.logo img { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; }
.logo span { font-size: .85rem; font-weight: 600; color: var(--ink); }
.section--tint .logo { background: #fff; }

/* Ways to work together */
.plans { display: grid; gap: 1.25rem; align-items: stretch; }
@media (min-width: 960px) { .plans { grid-template-columns: 1fr 1.15fr 1fr; align-items: center; } }
.plan { position: relative; display: grid; gap: 1rem; align-content: start; padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.plan .btn { justify-self: start; margin-top: .4rem; }
.plan__name { font-weight: 600; font-size: .95rem; color: var(--violet-ink); }
.plan__price { font-size: clamp(2.2rem, 1.8rem + 1.5vw, 3rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.plan__price small { font-size: .95rem; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.plan--featured { padding-block: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); color: var(--on-deep); --ink: var(--on-deep); --ink-2: var(--on-deep-2); --ink-3: var(--on-deep-2); }
.plan--featured .plan__name { color: var(--lilac); }
.plan__hours { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--lilac); margin-top: -.3rem; }
.plan__badge { position: absolute; top: 1.4rem; right: 1.4rem; font-size: .72rem; padding: .4rem .75rem; }
.ticks--light li { color: var(--on-deep-2); }
.ticks--light li::before { background-color: rgba(201,182,255,.18); }
.plans__note { margin-top: 1.75rem; text-align: center; color: var(--ink-2); font-size: var(--fs-sm); }
.plans__note a { color: var(--violet-ink); font-weight: 600; }
.plan.plan--featured { background: radial-gradient(120% 90% at 80% 0%, #4B2C8F 0%, var(--deep) 55%, var(--deep-2) 100%); box-shadow: var(--shadow-stage); }

/* ==== Type: Satoshi headlines, Bespoke Serif italic accents ==== */
h1, h2, h3, .display, .h2, .h3 { font-weight: 700; }
.display { letter-spacing: -0.045em; }
.display em, .h2 em, .h3 em, .serif { font-weight: 400; letter-spacing: -0.02em; }

/* ==== Hero: full-bleed photo, alive ==== */
.hero { padding: 0 clamp(.5rem, 1vw, 1rem) 0; min-height: 0; display: block; overflow: visible; }
.hero::before { display: none; }
.hero__frame {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: clamp(20px, 2.5vw, 36px);
  min-height: min(860px, calc(100svh - 96px));
  display: flex; align-items: center; color: var(--on-deep);
  background: var(--deep-2);
  --ink: var(--on-deep); --ink-2: var(--on-deep-2); --ink-3: #A79CC4;
}
.hero__bg { position: absolute; inset: -5%; z-index: -3; transition: transform .8s var(--ease-out); }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; animation: kenburns 28s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -1.5%); } }
.hero__shade { position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(23,12,44,.94) 0%, rgba(30,16,58,.82) 38%, rgba(34,19,63,.45) 70%, rgba(34,19,63,.25) 100%),
    linear-gradient(0deg, rgba(23,12,44,.75) 0%, transparent 35%);
}
.hero__shade::after { /* film grain */
  content: ""; position: absolute; inset: 0; opacity: .14; 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none; animation: orb 16s ease-in-out infinite alternate; }
.hero__orb--1 { width: 520px; height: 520px; left: -140px; top: -180px; background: rgba(122,85,240,.55); }
.hero__orb--2 { width: 380px; height: 380px; right: 8%; bottom: -200px; background: rgba(201,182,255,.35); animation-delay: -8s; }
@keyframes orb { to { transform: translate(60px, 40px) scale(1.12); } }
.hero__inner { position: relative; width: 100%; max-width: var(--maxw); margin-inline: auto; padding: clamp(5rem, 4rem + 4vw, 7rem) clamp(1.25rem, 4vw, 3.5rem) clamp(2rem, 1.5rem + 2vw, 3rem); display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero__inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } }
.hero__copy { display: grid; gap: 1.5rem; }
.hero .display { color: #fff; font-size: clamp(2.4rem, 1rem + 4.4vw, 5rem); }
.hero .display em { color: var(--lilac); }
.hero .lead { color: rgba(245,241,255,.82); max-width: 32em; }
.hero .eyebrow { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero .eyebrow i { background: var(--lilac); color: var(--deep-2); }
.hero .btn--ghost { --fg: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero .btn--ghost:hover { box-shadow: inset 0 0 0 1px #fff; }
.hero__proof { color: rgba(245,241,255,.75); }
.hero__proof strong, .hero .stat-inline b { color: #fff; }
.hero__proof .sep { background: rgba(255,255,255,.25); }
.hero .stat-inline b sup { color: var(--lilac); }

/* Floating system cards over the photo */
.hero__float { position: relative; height: 420px; }
.hero__float .layer { position: absolute; transition: transform .6s var(--ease-out); }
.hero__float .card { box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); }
.hero__float .f1 { left: 0; top: 4%; width: min(100%, 280px); }
.hero__float .f2 { right: 0; top: 40%; width: min(92%, 260px); }
.hero__float .f3 { left: 8%; bottom: 2%; }
.glass { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-radius: var(--r-md); }
.glass .ui__head small, .glass .ui-row em { color: rgba(255,255,255,.65); }
.glass .ui-row { background: rgba(255,255,255,.1); }
@media (max-width: 1023px) { .hero__float { height: 300px; } .hero__float .f2 { top: 34%; } }
@media (max-width: 560px) { .hero__float { height: 250px; } .hero__float .f1 { width: 78%; } .hero__float .f2 { width: 74%; top: 38%; } .hero__float .f3 { left: 0; } }
.scroll-hint { position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%); width: 24px; height: 38px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.4); display: none; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }
@media (min-width: 1024px) { .scroll-hint { display: block; } }
.js .hero__float .layer { opacity: 0; }
.js .is-loaded .hero__float .layer { opacity: 1; transition: opacity 1s var(--ease) var(--d, .6s), transform .6s var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .hero__bg img, .hero__orb { animation: none; } .js .hero__float .layer { opacity: 1; } }

/* Toolkit "not limited to these" note */
.tools-note { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1rem; padding: 1.25rem 1.5rem; border-radius: var(--r-md); border: 1.5px dashed rgba(122,85,240,.35); background: rgba(255,255,255,.6); }
.tools-note__plus { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--violet); color: #fff; font-size: 1.5rem; font-weight: 500; line-height: 1; }
.tools-note p { flex: 1 1 20rem; color: var(--ink-2); }
.tools-note strong { color: var(--ink); }

/* ==== Serif accents: tighter so Bespoke Serif italic sits with Satoshi ==== */
.display em, .h2 em, .h3 em, .serif, .hero .display em { letter-spacing: -0.045em; word-spacing: -0.04em; font-weight: 400; }
.display em { letter-spacing: -0.05em; }
.mobile-menu li a[aria-current="page"], .footer__motto em, .plan__hours, .step__num, .scard__num { letter-spacing: -0.03em; }

/* ==== Hero photo: beach workspace (subject on the right) ==== */
.hero__bg img { object-position: 72% 40%; }
.hero__shade {
  background:
    linear-gradient(90deg, rgba(23,12,44,.9) 0%, rgba(30,16,58,.72) 32%, rgba(34,19,63,.28) 58%, rgba(34,19,63,0) 78%),
    linear-gradient(0deg, rgba(23,12,44,.6) 0%, transparent 30%);
}
.hero__orb--2 { display: none; }
/* Cards float over the sea, clear of the person */
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .hero__float { height: 520px; }
  .hero__float .f1 { left: -6%; top: 6%; width: 260px; }
  .hero__float .f2 { display: none; }
  .hero__float .f3 { left: -2%; top: 46%; bottom: auto; }
}
/* Hero headline: keep "Your website, CRM," on one line on desktop */
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); }
  .hero .display { font-size: clamp(3rem, 1rem + 3.6vw, 4.5rem); }
}

/* ==== Serif accents: Newsreader italic (natural spacing) ==== */
.display em, .h2 em, .h3 em, .serif, .hero .display em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; word-spacing: normal; font-optical-sizing: auto; }
.display em { letter-spacing: -0.025em; }
.mobile-menu li a[aria-current="page"], .footer__motto em, .plan__hours, .step__num, .scard__num { letter-spacing: -0.01em; }

/* ==== Hero: second card back, floating beside her (not over her) ==== */
@media (min-width: 1024px) {
  .hero__float .f2 { display: block; left: -16%; right: auto; top: 58%; width: 250px; }
  .hero__float .f3 { left: 6%; top: 42%; }
}

/* Footer motto: two rows, one sentence each */
.footer__motto { font-size: clamp(1.25rem, 1rem + 1.1vw, 1.85rem); max-width: none; line-height: 1.2; }
.footer__motto em { display: block; }
@media (min-width: 600px) { .footer__motto, .footer__motto em { white-space: nowrap; } }
