/* ==========================================================================
   Vetrik Private Limited — site stylesheet
   White-first design system with brand green accents
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f8f3;
  --bg-tint: #eef5e3;
  --ink: #0e1410;
  --ink-2: #2c3530;
  --muted: #66706a;
  --line: #e5e9e1;
  --line-2: #d6ddd1;

  --brand: #9ac456;
  --brand-400: #aed275;
  --brand-600: #7fa93c;
  --brand-700: #5e8526;
  --brand-50: #f4f9ec;
  --brand-100: #e6f2d4;

  --dark: #111412;
  --dark-2: #1a1f1c;

  --ok: #3aa55d;
  --warn: #e7a53a;
  --bad: #e05a4f;
  --blue: #4f7cf0;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(14, 20, 16, .06), 0 1px 1px rgba(14, 20, 16, .04);
  --shadow: 0 10px 30px -12px rgba(14, 20, 16, .18), 0 2px 6px rgba(14, 20, 16, .05);
  --shadow-lg: 0 40px 80px -30px rgba(14, 20, 16, .28), 0 12px 24px -12px rgba(14, 20, 16, .12);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--brand); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: clamp(56px, 8vw, 96px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-700);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--brand);
}
.eyebrow--pill {
  padding: 8px 14px 8px 10px; border-radius: 999px;
  background: var(--brand-50); border: 1px solid var(--brand-100);
  letter-spacing: .06em; font-size: 12px;
}
.eyebrow--pill::before { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(154, 196, 86, .25); animation: pulse 2.4s ease-in-out infinite; }

.h-display {
  font-size: clamp(42px, 7.4vw, 104px);
  line-height: .98; letter-spacing: -.045em; font-weight: 800;
}
.h1 { font-size: clamp(38px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; }
.h2 { font-size: clamp(32px, 4.4vw, 58px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.02em; }
.accent { color: var(--brand-600); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); line-height: 1.6; max-width: 620px; }
.muted { color: var(--muted); }

.section-head { display: grid; gap: 20px; margin-bottom: clamp(48px, 6vw, 80px); max-width: 780px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; justify-items: center; }
.section-head--split {
  max-width: none; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px;
}
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--ink); --fg-btn: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px;
  background: var(--bg-btn); color: var(--fg-btn);
  font-weight: 700; font-size: 15px; letter-spacing: -.01em; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .4s var(--ease), background .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--brand); border-radius: inherit;
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink); box-shadow: 0 14px 30px -12px rgba(126, 169, 60, .7); }
.btn .arrow { transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--brand { --bg-btn: var(--brand); --fg-btn: var(--ink); }
.btn--brand::before { background: var(--ink); }
.btn--brand:hover { color: #fff; }
.btn--ghost { --bg-btn: transparent; --fg-btn: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: #fff; box-shadow: none; }
.btn--light { --bg-btn: #fff; --fg-btn: var(--ink); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .5s var(--ease);
}
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow svg { transition: transform .45s var(--ease); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

/* ---------- Header ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120;
  background: linear-gradient(90deg, var(--brand), var(--brand-600));
  transform-origin: 0 50%; transform: scaleX(0);
}
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: transform .5s var(--ease), background .4s, box-shadow .4s, height .4s var(--ease);
}
.header.is-scrolled {
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 var(--line);
  height: 66px;
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav__link, .nav__trigger {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2);
  transition: background .3s, color .3s;
}
.nav__link:hover, .nav__trigger:hover, .nav__item:focus-within > .nav__trigger { background: var(--bg-soft); color: var(--ink); }
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--brand); transform: translateX(-50%);
}
.nav__item { position: relative; }
.nav__trigger svg { transition: transform .4s var(--ease); }
.nav__item:hover .nav__trigger svg, .nav__item:focus-within .nav__trigger svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 560px;
  transform: translate(-50%, 10px) scale(.98); transform-origin: top center;
  opacity: 0; visibility: hidden; pointer-events: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s;
}
.mega::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav__item:hover .mega, .nav__item:focus-within .mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0) scale(1);
}
.mega__link { display: flex; gap: 14px; padding: 14px; border-radius: 14px; transition: background .25s; }
.mega__link:hover { background: var(--bg-soft); }
.mega__icon {
  flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100);
}
.mega__title { font-weight: 700; font-size: 15px; }
.mega__desc { font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.header__cta { display: flex; align-items: center; gap: 10px; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--bg-soft); position: relative; }
.burger span {
  position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .45s var(--ease), opacity .3s;
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: #fff;
  padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
  clip-path: circle(0% at calc(100% - 44px) 38px);
  transition: clip-path .8s var(--ease-in-out);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; }
.mobile-menu a {
  font-size: 30px; font-weight: 800; letter-spacing: -.03em; padding: 10px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.mobile-menu a small { display: block; font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.menu-open .mobile-menu a { opacity: 1; transform: none; }
.menu-open .mobile-menu a:nth-child(1) { transition-delay: .15s; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: .2s; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: .25s; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: .3s; }
.menu-open .mobile-menu a:nth-child(5) { transition-delay: .35s; }
.menu-open .mobile-menu a:nth-child(6) { transition-delay: .4s; }
.menu-open .mobile-menu a:nth-child(7) { transition-delay: .45s; }
.mobile-menu .btn { margin-top: 24px; align-self: flex-start; }
.menu-open { overflow: hidden; }

@media (max-width: 980px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: block; }
  .brand img { height: 32px; }
}

/* ---------- Background textures ---------- */
.dots {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(14, 20, 16, .12) 1px, transparent 1.3px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.orb {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  filter: blur(70px); opacity: .55;
  background: radial-gradient(circle at 30% 30%, var(--brand-400), transparent 65%);
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding: calc(var(--header-h) + clamp(48px, 9vw, 120px)) 0 0; overflow: hidden; }
.hero__content { position: relative; z-index: 2; text-align: center; display: grid; justify-items: center; gap: 28px; }
.hero__title { max-width: 1050px; }
.hero__title .serif { color: var(--brand-600); }
.hero .lead { margin: 0 auto; }
.hero__visual {
  position: relative; z-index: 1; margin-top: clamp(56px, 7vw, 90px); padding-bottom: 60px;
  perspective: 1600px;
}
.hero__stage {
  position: relative; max-width: 1080px; margin: 0 auto;
  transform-style: preserve-3d; will-change: transform;
}
.hero__float { position: absolute; z-index: 3; will-change: transform; }
.hero__float--a { left: -3%; top: 18%; }
.hero__float--b { right: -4%; top: 6%; }
.hero__float--c { right: 6%; bottom: -6%; }
@media (max-width: 860px) { .hero__float { display: none; } }

/* ---------- Split text ---------- */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span {
  display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: 0 100%;
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms + var(--d, 0ms));
}
.is-in .split-word > span, .split-word.is-in > span { transform: none; }

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0; transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease);
  transition-delay: var(--delay, 0ms);
}
[data-reveal="up"] { transform: translateY(48px); }
[data-reveal="down"] { transform: translateY(-30px); }
[data-reveal="left"] { transform: translateX(-60px); }
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal="scale"] { transform: scale(.92); }
[data-reveal="blur"] { filter: blur(14px); transform: translateY(20px); }
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Cards / generic ---------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; overflow: hidden; isolation: isolate;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}
.card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(154, 196, 86, .16), transparent 45%);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.card:hover::after { opacity: 1; }
.icon-box {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); margin-bottom: 22px;
  transition: transform .6s var(--ease), background .3s, color .3s;
}
.card:hover .icon-box { transform: rotate(-8deg) scale(1.06); background: var(--brand); color: var(--ink); }
.card h3 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } .card { padding: 26px; } }

/* ---------- Client logo carousel ---------- */
.clients { padding: clamp(70px, 9vw, 120px) 0 clamp(56px, 7vw, 90px); }
.clients__title {
  text-align: center; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 34px;
}
#clients .clients { padding-top: clamp(24px, 4vw, 56px); }
.client-wall {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius-xl); background: #fff; overflow: hidden;
}
.client {
  position: relative; display: grid; grid-template-rows: auto auto; align-content: start; justify-items: center; gap: 14px;
  padding: 34px 16px 26px; text-align: center; transition: background .4s var(--ease);
}
.client + .client { border-left: 1px solid var(--line); }
.client::after {
  content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: var(--brand); transform: scaleX(0); transition: transform .5s var(--ease);
}
.client__logo { height: 84px; width: 100%; display: grid; place-items: center; }
.client__logo img { max-height: 84px; max-width: 170px; width: auto; height: auto; object-fit: contain; transition: transform .6s var(--ease); }
.client__what { font-size: 13px; font-weight: 600; color: var(--muted); line-height: 1.35; transition: color .3s; }
.client:hover { background: var(--bg-soft); }
.client:hover::after { transform: scaleX(1); }
.client:hover .client__logo img { transform: translateY(-4px) scale(1.04); }
.client:hover .client__what { color: var(--brand-700); }
@media (max-width: 980px) {
  .client-wall { grid-template-columns: repeat(6, 1fr); }
  .client { grid-column: span 2; }
  .client:nth-child(4), .client:nth-child(5) { grid-column: span 3; border-top: 1px solid var(--line); }
  .client:nth-child(4) { border-left: 0; }
}
@media (max-width: 640px) {
  .client-wall { grid-template-columns: 1fr 1fr; }
  .client, .client:nth-child(4) { grid-column: auto; }
  .client:nth-child(5) { grid-column: 1 / -1; }
  .client { border-left: 0 !important; border-top: 1px solid var(--line); padding: 24px 12px 20px; }
  .client:nth-child(1), .client:nth-child(2) { border-top: 0; }
  .client:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .client__logo { height: 64px; }
  .client__logo img { max-height: 64px; max-width: 130px; }
}

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; padding: 28px 0; border-block: 1px solid var(--line); background: #fff; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, #fff, transparent); }
.marquee__track { display: flex; width: max-content; gap: 56px; padding-right: 56px; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 14px; white-space: nowrap;
  font-size: clamp(18px, 2vw, 24px); font-weight: 700; letter-spacing: -.02em; color: var(--ink-2);
}
.marquee__item svg { color: var(--brand-600); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Scroll-lit statement ---------- */
.statement { font-size: clamp(28px, 4vw, 54px); line-height: 1.18; letter-spacing: -.035em; font-weight: 700; max-width: 1050px; }
.statement .w { color: var(--line-2); transition: color .3s; }
.statement .w.on { color: var(--ink); }
.statement .w.on.hl { color: var(--brand-600); }

/* ---------- Horizontal product scroller ---------- */
.hscroll { position: relative; }
.hscroll__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; }
.hscroll__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 40px; }
.hscroll__track {
  --edge: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  display: flex; gap: 28px; width: max-content; padding: 0 var(--edge); will-change: transform;
}
.hscroll__counter { font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.hscroll__counter b { color: var(--ink); font-size: 28px; }
.hscroll__bar { height: 3px; background: var(--line); border-radius: 3px; margin-top: 40px; overflow: hidden; }
.hscroll__bar span { display: block; height: 100%; background: var(--brand); transform-origin: 0 50%; transform: scaleX(0); }

.pcard {
  flex: none; width: min(80vw, 1000px); min-height: min(62vh, 540px);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center;
  padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-xl);
  background: var(--bg-soft); border: 1px solid var(--line); position: relative; overflow: hidden;
}
.pcard--dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.pcard--dark .muted, .pcard--dark p { color: rgba(255, 255, 255, .66); }
.pcard--tint { background: var(--bg-tint); border-color: var(--brand-100); }
.pcard__num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--brand-600); margin-bottom: 14px; }
.pcard h3 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.035em; line-height: 1.05; margin-bottom: 16px; font-weight: 800; }
.pcard p { color: var(--muted); margin-bottom: 26px; max-width: 420px; }
.pcard__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tag {
  font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
}
.pcard--dark .tag { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #fff; }
.pcard__visual { position: relative; }
.pcard .app { grid-template-columns: 1fr; min-height: 0; }
.pcard .app__side { display: none; }

@media (max-width: 860px) {
  .hscroll__sticky { position: relative; height: auto; padding: 90px 0; }
  .hscroll { height: auto !important; }
  .hscroll__track { flex-direction: column; transform: none !important; }
  .pcard { width: 100%; grid-template-columns: 1fr; min-height: 0; }
  .hscroll__bar, .hscroll__counter { display: none; }
}

/* ---------- Stacking cards ---------- */
.stack { display: grid; gap: 28px; }
.stack__item {
  position: sticky; top: calc(var(--header-h) + 30px + var(--i, 0) * 22px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  min-height: 420px; padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-xl);
  background: #fff; border: 1px solid var(--line); box-shadow: 0 -20px 50px -30px rgba(14, 20, 16, .25);
  transform-origin: 50% 0; will-change: transform;
}
.stack__item:nth-child(2) { background: var(--bg-tint); border-color: var(--brand-100); }
.stack__item:nth-child(3) { background: var(--dark); color: #fff; border-color: var(--dark); }
.stack__item:nth-child(3) p { color: rgba(255, 255, 255, .66); }
.stack__item:nth-child(4) { background: var(--brand); border-color: var(--brand); }
.stack__item:nth-child(4) p { color: rgba(14, 20, 16, .72); }
.stack__num { justify-self: end; font-size: clamp(80px, 12vw, 160px); font-weight: 800; line-height: .85; letter-spacing: -.06em; opacity: .12; }
.stack__item h3 { font-size: clamp(26px, 3vw, 40px); letter-spacing: -.035em; line-height: 1.08; margin-bottom: 16px; font-weight: 800; }
.stack__item p { color: var(--muted); font-size: 17px; max-width: 460px; }
.stack__list { display: grid; gap: 12px; margin-top: 24px; }
.stack__list li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
@media (max-width: 860px) { .stack__item { grid-template-columns: 1fr; min-height: 0; } .stack__num { justify-self: end; font-size: 72px; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 36px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__value { font-size: clamp(40px, 5vw, 68px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.stat__value em { font-style: normal; color: var(--brand-600); }
.stat__label { margin-top: 12px; color: var(--muted); font-weight: 500; }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ---------- Process timeline ---------- */
.process { position: relative; display: grid; gap: 0; }
.process__line { position: absolute; left: 27px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.process__line span { position: absolute; inset: 0; background: linear-gradient(var(--brand), var(--brand-600)); transform-origin: 0 0; transform: scaleY(0); }
.process__step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 28px; padding: 26px 0 46px; }
.process__dot {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; z-index: 1;
  background: #fff; border: 2px solid var(--line); font-weight: 800; color: var(--muted);
  transition: background .5s var(--ease), border-color .5s, color .5s, transform .6s var(--ease), box-shadow .5s;
}
.process__step.is-active .process__dot {
  background: var(--brand); border-color: var(--brand); color: var(--ink); transform: scale(1.08);
  box-shadow: 0 0 0 8px rgba(154, 196, 86, .18);
}
.process__step h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.03em; margin: 10px 0 10px; font-weight: 800; }
.process__step p { color: var(--muted); max-width: 560px; }
.process__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.process-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; }
.process-wrap .section-head { position: sticky; top: calc(var(--header-h) + 60px); align-self: start; }
@media (max-width: 860px) { .process-wrap { grid-template-columns: 1fr; gap: 20px; } .process-wrap .section-head { position: static; } }

/* ---------- Industries ---------- */
.industry {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 0; border-bottom: 1px solid var(--line); cursor: default;
  transition: padding .5s var(--ease), color .3s;
}
.industry:first-child { border-top: 1px solid var(--line); }
.industry h3 { font-size: clamp(24px, 3.4vw, 44px); letter-spacing: -.035em; font-weight: 800; transition: transform .6s var(--ease); }
.industry span { color: var(--muted); font-weight: 500; text-align: right; }
.industry:hover { padding-left: 20px; padding-right: 20px; background: linear-gradient(90deg, var(--brand-50), transparent); }
.industry:hover h3 { color: var(--brand-700); }
@media (max-width: 640px) { .industry { flex-direction: column; align-items: flex-start; gap: 4px; } .industry span { text-align: left; } }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  background: var(--dark); color: #fff; padding: clamp(48px, 8vw, 110px) clamp(24px, 6vw, 80px);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.cta .dots { background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.3px); -webkit-mask-image: none; mask-image: none; opacity: .6; }
.cta h2 { position: relative; z-index: 1; }
.cta p { color: rgba(255, 255, 255, .7); margin-top: 18px; position: relative; z-index: 1; max-width: 520px; }
.cta .btn-row { position: relative; z-index: 1; justify-content: flex-end; }
.cta .btn--ghost { --fg-btn: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); }
.cta .btn--ghost::before { background: #fff; }
.cta .btn--ghost:hover { color: var(--ink); }
.cta__mark { position: absolute; right: -60px; bottom: -80px; width: 380px; opacity: .08; z-index: 0; transform: rotate(-12deg); }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta .btn-row { justify-content: flex-start; } }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(255, 255, 255, .7); padding: 90px 0 36px; margin-top: clamp(80px, 10vw, 140px); position: relative; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__logo img { height: 64px; width: auto; }
.footer__about { margin-top: 20px; max-width: 320px; font-size: 15px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--brand); }
.footer__big {
  font-size: clamp(64px, 17vw, 260px); font-weight: 800; letter-spacing: -.06em; line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .14); text-align: center; margin: 50px 0 10px;
  user-select: none;
}
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__top > :first-child { grid-column: 1 / -1; } }

/* ==========================================================================
   Product mockups (pure HTML/CSS UI illustrations)
   ========================================================================== */
.window {
  position: relative; background: #fff; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  font-size: 12px; line-height: 1.4; color: var(--ink);
}
.window__bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fbfcfa; }
.window__bar i { width: 10px; height: 10px; border-radius: 50%; background: #e3e6e1; }
.window__bar i:nth-child(1) { background: #f0746a; }
.window__bar i:nth-child(2) { background: #f3c14c; }
.window__bar i:nth-child(3) { background: #7cc864; }
.window__url { margin-left: 14px; flex: 1; max-width: 320px; height: 24px; border-radius: 7px; background: #f0f2ee; font-size: 11px; color: var(--muted); display: flex; align-items: center; padding: 0 10px; }
.app { display: grid; grid-template-columns: 180px 1fr; min-height: 400px; }
.app__side { border-right: 1px solid var(--line); padding: 16px 12px; background: #fcfdfb; display: grid; align-content: start; gap: 4px; }
.app__logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; margin: 0 6px 16px; }
.app__logo img { width: 20px; }
.app__nav { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; color: var(--muted); font-weight: 600; }
.app__nav.on { background: var(--brand-50); color: var(--brand-700); }
.app__nav b { width: 14px; height: 14px; border-radius: 4px; background: currentColor; opacity: .35; }
.app__main { padding: 18px; display: grid; gap: 14px; align-content: start; }
.app__top { display: flex; justify-content: space-between; align-items: center; }
.app__title { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.chip { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-weight: 700; font-size: 11px; background: var(--bg-soft); border: 1px solid var(--line); }
.chip--ok { background: #eaf6ed; color: #267a42; border-color: #cfe9d7; }
.chip--warn { background: #fdf4e3; color: #9a6614; border-color: #f4e0b9; }
.chip--bad { background: #fdecea; color: #b33a30; border-color: #f6cfcb; }
.chip--brand { background: var(--brand); color: var(--ink); border-color: var(--brand); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.kpi small { color: var(--muted); font-weight: 600; }
.kpi strong { display: block; font-size: 18px; letter-spacing: -.02em; margin-top: 4px; }
.kpi .up { color: var(--ok); font-weight: 700; font-size: 11px; }
.panel { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.panel__h { display: flex; justify-content: space-between; align-items: center; font-weight: 700; margin-bottom: 10px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.bars span {
  flex: 1; border-radius: 6px 6px 3px 3px; background: var(--brand-100);
  height: var(--h); transform-origin: 50% 100%; transform: scaleY(0);
  transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 70ms + 200ms);
}
.bars span.hi { background: var(--brand); }
.is-in .bars span, .bars.is-in span { transform: scaleY(1); }
.rows { display: grid; }
.row { display: grid; grid-template-columns: 1.4fr 1fr .8fr .8fr; gap: 10px; align-items: center; padding: 9px 2px; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; color: var(--muted); font-weight: 700; font-size: 11px; }
.row b { font-weight: 700; }
.avatar { width: 22px; height: 22px; border-radius: 50%; background: var(--brand-100); display: inline-grid; place-items: center; font-weight: 800; font-size: 10px; color: var(--brand-700); margin-right: 6px; vertical-align: middle; }
.line-chart path.stroke { fill: none; stroke: var(--brand-600); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2s var(--ease) .3s; }
.line-chart path.area { fill: url(#gArea); opacity: 0; transition: opacity 1s .9s; }
.line-chart line { stroke: var(--line); stroke-dasharray: 3 4; }
.line-chart .limit { stroke: var(--bad); stroke-dasharray: 5 4; opacity: .6; }
.is-in .line-chart path.stroke { stroke-dashoffset: 0; }
.is-in .line-chart path.area { opacity: 1; }

.float-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px;
  box-shadow: var(--shadow-lg); font-size: 12px; min-width: 200px;
  animation: bob 6s ease-in-out infinite;
}
.float-card--dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.float-card__row { display: flex; align-items: center; gap: 12px; }
.float-card__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); flex: none; }
.float-card small { color: var(--muted); display: block; font-weight: 600; }
.float-card strong { font-size: 16px; letter-spacing: -.02em; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.row > .chip { justify-self: start; }
@media (max-width: 640px) {
  .window { font-size: 11px; }
  .app { grid-template-columns: 1fr; min-height: 0; }
  .app__side { display: none; }
  .row { grid-template-columns: 1.3fr .9fr .9fr; }
  .row > :nth-child(2) { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis .kpi:nth-child(3) { display: none; }
  .temp strong { font-size: 17px; }
}

/* Phone mockup */
.phone {
  width: 250px; border-radius: 38px; padding: 10px; background: var(--dark);
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2b302d; position: relative;
}
.phone__screen { color: var(--ink); border-radius: 30px; overflow: hidden; background: #fff; height: 500px; position: relative; font-size: 11px; }
.phone__notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 80px; height: 22px; border-radius: 20px; background: var(--dark); z-index: 2; }
.store { padding: 42px 14px 14px; display: grid; gap: 12px; }
.store__top { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 14px; }
.store__search { height: 32px; border-radius: 10px; background: var(--bg-soft); display: flex; align-items: center; padding: 0 10px; color: var(--muted); }
.store__banner { border-radius: 14px; padding: 14px; background: var(--brand); color: var(--ink); font-weight: 800; font-size: 15px; line-height: 1.15; position: relative; overflow: hidden; }
.store__banner small { display: block; font-weight: 600; font-size: 10px; margin-top: 6px; opacity: .75; }
.store__banner::after { content: ""; position: absolute; right: -20px; top: -20px; width: 90px; height: 90px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.store__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.product { border-radius: 12px; border: 1px solid var(--line); overflow: hidden; }
.product__img { height: 60px; background: linear-gradient(135deg, var(--c1, #f2f5ee), var(--c2, #e2ebd6)); display: grid; place-items: center; }
.product__img i { width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .7); box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .25); }
.product__body { padding: 8px; }
.product__body b { display: block; font-size: 11px; }
.product__body span { color: var(--brand-700); font-weight: 800; }
.store__cart { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 42px; border-radius: 12px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-weight: 700; }

/* Real product screenshots in a browser frame */
.shot img { display: block; width: 100%; height: auto; background: #fff; }
.pcard .shot { box-shadow: var(--shadow); }

/* Food delivery (Home2Local) phone mockups */
.h2l { gap: 10px; }
.h2l__logo { height: 34px; width: auto; }
.h2l__loc { font-size: 10px; font-weight: 700; color: #36140f; }
.h2l .store__search { background: #fbf3ee; }
.h2l__cats { display: flex; gap: 6px; overflow: hidden; }
.h2l__cats span { flex: none; padding: 5px 10px; border-radius: 999px; background: #fbf3ee; font-weight: 700; font-size: 10px; color: #36140f; }
.h2l__cats span.on { background: #a82c07; color: #fff; }
.h2l__shop { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; }
.h2l__shop i { width: 40px; height: 40px; border-radius: 10px; flex: none; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.h2l__shop div { flex: 1; min-width: 0; }
.h2l__shop b, .h2l__shop small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h2l__shop b { font-size: 11.5px; color: #36140f; }
.h2l__shop small { color: var(--muted); font-size: 10px; }
.h2l__shop > span { font-weight: 800; font-size: 10px; color: #a82c07; }
.h2l__cta { background: #a82c07; }
.rider { background: #f3f1ec; }
.rider__map { position: absolute; inset: 0; width: 100%; height: 100%; }
.rider__route { animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.rider__sheet { position: absolute; left: 10px; right: 10px; bottom: 10px; background: #fff; border-radius: 18px; padding: 14px; display: grid; gap: 6px; box-shadow: 0 -10px 30px -10px rgba(0,0,0,.2); }
.rider__sheet b { font-size: 12px; }
.rider__btns { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; margin-top: 6px; }
.rider__btns span { height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; background: var(--bg-soft); }
.rider__btns span.on { background: #36140f; color: #fff; }
.brand-badge { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.brand-badge img { height: 44px; width: auto; }
.brand-badge small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.brand-badge b { font-size: 15px; }

/* Receipt mockup */
.receipt {
  width: 220px; background: #fff; padding: 18px 16px 22px; font-size: 11px; box-shadow: var(--shadow-lg);
  border-radius: 6px 6px 0 0; position: relative; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.receipt::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px;
  background: radial-gradient(circle at 6px 0, transparent 6px, #fff 6.5px) 0 0 / 12px 10px repeat-x;
}
.receipt h5 { margin: 0 0 4px; text-align: center; font-size: 13px; font-family: var(--font); }
.receipt .c { text-align: center; color: var(--muted); }
.receipt hr { border: 0; border-top: 1px dashed var(--line-2); margin: 10px 0; }
.receipt .r { display: flex; justify-content: space-between; padding: 2px 0; }
.receipt .t { font-weight: 800; font-size: 13px; }

/* ==========================================================================
   Product pages
   ========================================================================== */
.p-hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 7vw, 90px)) 0 0; overflow: hidden; }
.p-hero__grid { position: relative; z-index: 2; display: grid; gap: 26px; justify-items: center; text-align: center; }
.p-hero__title { max-width: 980px; }
.p-hero__title .serif { color: var(--brand-600); }
.p-hero .lead { margin: 0 auto; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--ink); }
.p-hero__visual { position: relative; z-index: 1; margin-top: clamp(50px, 6vw, 80px); padding-bottom: 60px; perspective: 1800px; }
.p-hero__stage { max-width: 1100px; margin: 0 auto; transform-origin: 50% 0; will-change: transform; position: relative; }
.p-hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.p-hero__points li { display: flex; align-items: center; gap: 8px; }
.check { width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: var(--ink); display: inline-grid; place-items: center; flex: none; }

/* Sticky storytelling */
.story { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); }
.story__steps { display: grid; }
.story__step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .28; transition: opacity .6s var(--ease); }
.story__step.is-active { opacity: 1; }
.story__step .pcard__num { margin-bottom: 10px; }
.story__step h3 { font-size: clamp(26px, 3vw, 40px); letter-spacing: -.035em; line-height: 1.08; margin-bottom: 16px; font-weight: 800; }
.story__step p { color: var(--muted); font-size: 17px; max-width: 460px; }
.story__step ul { margin-top: 22px; display: grid; gap: 10px; }
.story__step li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.story__visual { position: sticky; top: calc(50vh - 240px); height: 480px; align-self: start; }
.story__screen {
  position: absolute; inset: 0; opacity: 0; transform: translateY(30px) scale(.97);
  transition: opacity .7s var(--ease), transform .9s var(--ease); pointer-events: none;
}
.story__screen.is-active { opacity: 1; transform: none; pointer-events: auto; }
.story__screen .window { height: 100%; }
.story__screen .window.shot { height: auto; }
.story__progress { position: absolute; left: -28px; top: 20px; bottom: 20px; width: 3px; border-radius: 3px; background: var(--line); }
.story__progress span { position: absolute; inset: 0; background: var(--brand); transform-origin: 0 0; transform: scaleY(0); border-radius: inherit; }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story__visual { position: sticky; top: calc(var(--header-h) + 10px); height: 340px; z-index: 2; order: -1; }
  .story__progress { display: none; }
  .story__step { min-height: 60vh; opacity: .35; justify-content: flex-end; padding-bottom: 6vh; }
}

.screen-pad { padding: 18px; display: grid; gap: 12px; align-content: start; height: calc(100% - 49px); background: #fff; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.field small { display: block; color: var(--muted); font-weight: 600; font-size: 10px; }
.field b { font-size: 13px; }
.field.focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(154, 196, 86, .2); }
.progress-row { display: grid; gap: 6px; }
.progress-row .track { height: 8px; border-radius: 8px; background: var(--bg-soft); overflow: hidden; }
.progress-row .track span { display: block; height: 100%; width: var(--w); background: var(--brand); border-radius: inherit; }
.list-check { display: grid; gap: 8px; }
.list-check div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; }
.list-check .box { width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--line-2); display: grid; place-items: center; flex: none; }
.list-check .done .box { background: var(--brand); border-color: var(--brand); }
.list-check .done { color: var(--muted); }
.list-check .done span { text-decoration: line-through; }
.temp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.temp { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 6px; }
.temp strong { font-size: 22px; letter-spacing: -.03em; }
.temp small { color: var(--muted); font-weight: 600; }

/* Modules / feature list */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.module { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .4s; }
.module:hover { background: var(--bg-soft); }
.module h4 { font-size: 17px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; letter-spacing: -.01em; }
.module h4::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); transform: rotate(45deg); transition: transform .5s var(--ease); }
.module:hover h4::before { transform: rotate(225deg) scale(1.3); }
.module p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 860px) { .modules { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .modules { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; max-width: 860px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; text-align: left; font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; letter-spacing: -.01em;
}
.faq__icon { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; transition: transform .5s var(--ease), background .3s, border-color .3s; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--brand); border-color: var(--brand); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { color: var(--muted); padding-bottom: 26px; max-width: 720px; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

/* Tech pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; transition: transform .4s var(--ease), background .3s, border-color .3s; }
.pill:hover { transform: translateY(-3px); background: var(--brand-50); border-color: var(--brand-100); }

/* Engagement models */
.plan { display: flex; flex-direction: column; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan ul { display: grid; gap: 10px; margin: 20px 0 30px; }
.plan li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--ink-2); }
.plan--featured { background: var(--dark); color: #fff; border-color: var(--dark); }
.plan--featured p, .plan--featured li { color: rgba(255, 255, 255, .72); }
.plan--featured .icon-box { background: rgba(154, 196, 86, .15); border-color: rgba(154, 196, 86, .3); color: var(--brand); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 14px; }
.contact-info a, .contact-info div.ci { display: flex; gap: 16px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, transform .5s var(--ease), box-shadow .5s; }
.contact-info a:hover { border-color: var(--brand); transform: translateX(6px); box-shadow: var(--shadow); }
.contact-info small { display: block; color: var(--muted); font-weight: 600; }
.contact-info strong { font-size: 17px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.input { position: relative; }
.input input, .input textarea, .input select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 14px; background: #fff;
  padding: 24px 16px 10px; font-size: 16px; outline: none; transition: border-color .3s, box-shadow .3s; appearance: none;
}
.input textarea { min-height: 140px; resize: vertical; }
.input label { position: absolute; left: 17px; top: 17px; color: var(--muted); font-size: 16px; pointer-events: none; transition: transform .3s var(--ease), font-size .3s, color .3s; transform-origin: 0 0; }
.input input:focus, .input textarea:focus, .input select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(154, 196, 86, .18); }
.input input:focus + label, .input input:not(:placeholder-shown) + label,
.input textarea:focus + label, .input textarea:not(:placeholder-shown) + label,
.input select + label { transform: translateY(-10px); font-size: 12px; color: var(--brand-700); font-weight: 700; }
.choice { display: flex; flex-wrap: wrap; gap: 10px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; cursor: pointer; transition: all .3s var(--ease); }
.choice input:checked + label { background: var(--ink); color: #fff; border-color: var(--ink); }
.choice input:focus-visible + label { outline: 2px solid var(--brand-600); outline-offset: 2px; }
.form__note { font-size: 13px; color: var(--muted); }
.form__success { display: none; padding: 16px; border-radius: 14px; background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-700); font-weight: 600; }
.form.is-sent .form__success { display: block; }

/* ---------- Misc ---------- */
.divider-title { display: flex; align-items: center; gap: 20px; color: var(--muted); font-weight: 600; font-size: 14px; }
.divider-title::before, .divider-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.magnetic { will-change: transform; }
.page-transition {
  position: fixed; inset: 0; z-index: 200; background: var(--brand); pointer-events: none;
  transform: scaleY(0); transform-origin: 50% 100%;
}
.page-transition.is-leaving { transform: scaleY(1); transition: transform .5s var(--ease-in-out); }
.page-transition.is-entering { transform: scaleY(1); transform-origin: 50% 0; }
.page-transition.is-entered { transform: scaleY(0); transform-origin: 50% 0; transition: transform .7s var(--ease-in-out); }

@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(154, 196, 86, .25); } 50% { box-shadow: 0 0 0 8px rgba(154, 196, 86, .08); } }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-hint { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.scroll-hint span { width: 22px; height: 36px; border-radius: 12px; border: 1.5px solid var(--line-2); position: relative; }
.scroll-hint span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 3px; background: var(--brand-600); transform: translateX(-50%); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- Reduced motion ---------- */
@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: 0ms !important; }
  [data-reveal], .split-word > span { opacity: 1 !important; transform: none !important; filter: none !important; }
  .bars span { transform: none; }
  .line-chart path.stroke { stroke-dashoffset: 0; }
  .line-chart path.area { opacity: 1; }
  .statement .w { color: var(--ink); }
}

/* ==========================================================================
   Story-led home sections
   ========================================================================== */
.hero--story { padding-bottom: clamp(40px, 6vw, 80px); }
.hero__facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; width: 100%; max-width: 980px;
  margin-top: clamp(30px, 5vw, 56px); text-align: left;
}
.hero__facts li {
  background: rgba(255, 255, 255, .75); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 4px;
}
.hero__facts b { font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.hero__facts li:nth-child(3) b, .hero__facts li:nth-child(4) b { color: var(--brand-600); }
.hero__facts span { color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.4; }
.hero--story .scroll-hint { margin-top: 30px; }
@media (max-width: 860px) { .hero__facts { grid-template-columns: 1fr 1fr; } }

/* Milestones teaser */
.milestones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; padding-top: 34px; margin: 0; list-style: none; }
.milestones::before {
  content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.8s var(--ease) .2s;
}
.milestones.is-in::before { transform: scaleX(1); }
.milestones::after { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--line); z-index: -1; }
.milestones li { position: relative; }
.milestones__dot { position: absolute; top: -34px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.milestones b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px; }
.milestones p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) {
  .milestones { grid-template-columns: 1fr; padding: 0 0 0 34px; gap: 28px; }
  .milestones::before, .milestones::after { top: 0; bottom: 0; left: 9px; right: auto; width: 2px; height: auto; transform-origin: 50% 0; }
  .milestones::before { transform: scaleY(0); }
  .milestones.is-in::before { transform: scaleY(1); }
  .milestones__dot { top: 4px; left: -34px; }
}

/* ==========================================================================
   About page: story scenes
   ========================================================================== */
.about-hero { position: relative; padding: calc(var(--header-h) + clamp(60px, 10vw, 140px)) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.about-hero__year {
  position: absolute; left: 0; right: 0; text-align: center; bottom: -0.18em; z-index: 0;
  font-size: clamp(140px, 30vw, 420px); font-weight: 800; letter-spacing: -.06em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--brand-100); user-select: none; white-space: nowrap;
}
.about-hero .hero__content { position: relative; z-index: 2; }

.story--about .story__step { min-height: 80vh; }
.chapter-year {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--brand-600);
}
.chapter-year em { font-style: normal; font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.scene {
  position: relative; height: 100%; border-radius: var(--radius-xl); overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  display: grid; place-items: center; padding: 28px; isolation: isolate;
}
.scene--tint { background: var(--bg-tint); border-color: var(--brand-100); }
.scene--dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.scene__bg-year {
  position: absolute; inset: auto 0 -0.12em 0; text-align: center; z-index: -1;
  font-size: clamp(110px, 14vw, 190px); font-weight: 800; letter-spacing: -.06em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--line-2); opacity: .8;
}
.scene--dark .scene__bg-year { -webkit-text-stroke-color: rgba(255, 255, 255, .12); }
.scene__caption { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.scene .tag { box-shadow: var(--shadow-sm); display: inline-flex; align-items: center; gap: 6px; }
.scene--dark .tag { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #fff; }

/* pop-in helper for scene parts */
.pop { opacity: 0; transform: translateY(18px) scale(.94); transition: opacity .6s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.story__screen.is-active .pop { opacity: 1; transform: none; }

/* Scene 1: team of one */
.solo { position: relative; display: grid; place-items: center; gap: 18px; text-align: center; }
.solo__avatar {
  position: relative; width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--brand-400), var(--brand-600)); color: var(--ink);
}
.solo__avatar::before, .solo__avatar::after {
  content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid var(--brand);
  opacity: 0; animation: ripple 2.6s var(--ease) infinite;
}
.solo__avatar::after { animation-delay: 1.3s; }
@keyframes ripple { 0% { transform: scale(.85); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
.solo__label { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.solo__label small { display: block; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }

/* Scene 2: India -> Ireland flight */
.flight { position: absolute; left: 0; right: 0; top: 0; height: 76%; width: 100%; }
.flight__path { fill: none; stroke: var(--brand-600); stroke-width: 2.5; stroke-dasharray: 6 8; }
.flight__draw { fill: none; stroke: var(--brand-100); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset 2s var(--ease) .2s; }
.story__screen.is-active .flight__draw { stroke-dashoffset: 0; }
.flight text { font-family: var(--font); font-weight: 700; font-size: 15px; fill: var(--ink); }
.flight text.sub { font-weight: 600; font-size: 12px; fill: var(--muted); }
.order-card {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: min(88%, 380px);
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff;
  border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
}
.story__screen.is-active .order-card.pop { transform: translateX(-50%); }
.order-card.pop { transform: translate(-50%, 18px) scale(.94); }
.order-card img { height: 46px; width: auto; flex: none; }
.order-card b { display: block; font-size: 15px; }
.order-card small { color: var(--muted); font-weight: 600; }

/* Scene 3: 1000 Vibes modules */
.modules-scene { display: grid; gap: 22px; justify-items: center; width: 100%; }
.modules-scene__logo { height: 54px; width: auto; }
.mod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; max-width: 440px; }
.mod-grid span {
  display: grid; justify-items: center; gap: 8px; text-align: center; padding: 14px 8px; border-radius: 14px;
  background: var(--bg-soft); border: 1px solid var(--line); font-weight: 700; font-size: 13px;
}
.mod-grid span svg { color: var(--brand-700); }

/* Scene 4: partnership */
.partner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; width: 100%; max-width: 520px; }
.co {
  background: #fff; color: var(--ink); border-radius: 18px; padding: 18px 14px; text-align: center; display: grid; gap: 10px; justify-items: center;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5);
}
.co b { font-size: 14px; line-height: 1.25; }
.co small { color: var(--muted); font-weight: 600; font-size: 12px; }
.flag { display: flex; width: 42px; height: 28px; border-radius: 5px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.flag i { flex: 1; }
.flag--in { flex-direction: column; }
.link-line { position: relative; width: 60px; height: 2px; background: rgba(255, 255, 255, .2); }
.link-line span { position: absolute; inset: 0; background: var(--brand); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--ease) .5s; }
.story__screen.is-active .link-line span { transform: scaleX(1); }
.link-line i {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand); color: var(--ink); font-style: normal;
}

.co__logo { height: 38px; width: auto; max-width: 100%; object-fit: contain; }

/* Scene 6: Tulasi Foundation */
.scene--gold { background: radial-gradient(circle at 50% 0%, #fffaf0, #f6efdc); border-color: #eadfbf; }
.tulasi { display: grid; gap: 16px; justify-items: center; width: 100%; }
.tulasi__logo { width: min(50%, 230px); height: auto; }
.tulasi__done { display: flex; gap: 8px; justify-content: center; }
.tulasi__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 440px; }
.tcard { position: relative; overflow: hidden; display: grid; gap: 4px; justify-items: start; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid #eadfbf; box-shadow: var(--shadow); }
.tcard__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #1f4d36; color: #f0d58a; margin-bottom: 6px; }
.tcard b { font-size: 15px; }
.tcard small { color: var(--muted); font-weight: 600; font-size: 12px; margin-bottom: 6px; }
.tcard__build { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: #f3ead2; overflow: hidden; }
.tcard__build i { position: absolute; top: 0; bottom: 0; width: 40%; background: #c9a24a; animation: building 1.8s var(--ease-in-out) infinite; }
@keyframes building { 0% { left: -40%; } 100% { left: 100%; } }

/* Scene 8: team of nine */
.team9 { display: grid; gap: 18px; justify-items: center; text-align: center; }
.team9__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.member {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px dashed rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .3);
  transition: background .5s var(--ease), color .5s, border-color .5s, transform .6s var(--ease); transition-delay: var(--d);
}
.member:first-child { background: var(--brand); border: 1.5px solid var(--brand); color: var(--ink); }
.story__screen.is-active .member { background: var(--brand); border: 1.5px solid var(--brand); color: var(--ink); transform: scale(1.04); }
.grow__title span { display: block; font-size: .55em; font-weight: 700; color: rgba(255, 255, 255, .7); margin-top: 6px; letter-spacing: -.01em; }

/* Scene 5: Thenkadal */
.sea { position: absolute; left: 0; right: 0; bottom: 0; height: 38%; z-index: -1; overflow: hidden; }
.sea svg { position: absolute; left: 0; bottom: 0; width: 200%; max-width: none; height: 100%; animation: wave 9s linear infinite; }
.sea svg + svg { opacity: .55; animation-duration: 14s; animation-direction: reverse; bottom: 8px; }
@keyframes wave { to { transform: translateX(-50%); } }
.thenkadal-logo { width: min(72%, 340px); height: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .18)); }

/* Scene 6: kitchens onboarded */
.kitchens { display: grid; gap: 22px; justify-items: center; text-align: center; width: 100%; }
.kitchens__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; width: 100%; max-width: 460px; }
.kitchen {
  aspect-ratio: 1; border-radius: 16px; border: 1.5px dashed var(--line-2); display: grid; place-items: center; color: var(--line-2);
  transition: background .5s var(--ease), border-color .5s, color .5s, transform .6s var(--ease); transition-delay: var(--d);
}
.story__screen.is-active .kitchen { background: var(--brand); border: 1.5px solid var(--brand); color: var(--ink); transform: translateY(-4px); }
.kitchens__count { font-size: clamp(64px, 8vw, 96px); font-weight: 800; letter-spacing: -.06em; line-height: .9; }
.kitchens__count small { display: block; font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: 8px; }

/* Scene 7: growing in India */
.grow { display: grid; gap: 18px; justify-items: center; text-align: center; }
.grow > svg { width: min(260px, 70%); height: auto; }
.grow__arrow { fill: none; stroke: var(--brand); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.6s var(--ease) .2s; }
.story__screen.is-active .grow__arrow { stroke-dashoffset: 0; }
.grow__title { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.zero-ads { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--brand); color: var(--ink); font-weight: 800; }

/* "No ads" band */
.zero { text-align: center; display: grid; justify-items: center; gap: 18px; }
.zero__num { font-size: clamp(120px, 22vw, 300px); font-weight: 800; letter-spacing: -.07em; line-height: .85; background: linear-gradient(180deg, var(--ink), var(--brand-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.zero__label { font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.03em; }

@media (max-width: 900px) {
  .story--about .story__visual { height: 360px; }
  .story--about .story__step { min-height: 75vh; }
  .scene { padding: 18px; }
  .solo__avatar { width: 88px; height: 88px; }
  .mod-grid span { padding: 10px 6px; font-size: 11.5px; }
  .partner { gap: 8px; }
  .co { padding: 12px 8px; }
  .co b { font-size: 12px; }
  .link-line { width: 34px; }
  .link-line i { width: 30px; height: 30px; }
  .kitchens__grid { gap: 6px; }
  .member { width: 40px; height: 40px; }
  .team9 { gap: 12px; }
  .tcard { padding: 12px; }
  .tcard b { font-size: 13px; }
  .tcard small { display: none; }
  .tcard__icon { width: 30px; height: 30px; margin-bottom: 2px; }
  .tulasi__logo { width: min(46%, 170px); }
  .order-card { bottom: 14px; padding: 10px 12px; }
  .order-card img { height: 36px; }
}
