/* ============================================================
   Aidra — AI Agent Services
   Design language inspired by wayve.ai · Font: Work Sans
   ============================================================ */

:root {
  --ink: #0a0a0b;
  --ink-soft: #1a1a1d;
  --paper: #ffffff;
  --paper-dim: #f4f3f0;
  --line: #e4e2dd;
  --muted: #6b6b70;
  --muted-dark: #a2a2ab;
  --accent: #4f46e5;      /* electric indigo */
  --accent-2: #d6ff3f;    /* signal lime */
  --purple: #a855f7;      /* send button */
  --purple-d: #9333ea;
  --radius: 999px;

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

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

/* Brand wordmark font. Drop the licensed Calima font at the path below
   and the logo wordmark switches to it automatically; until then it
   falls back to Work Sans. */
@font-face {
  font-family: "Calima";
  src: url("assets/fonts/Calima.woff2") format("woff2"),
       url("assets/fonts/Calima.woff") format("woff");
  font-weight: 400 700;
  font-display: swap;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Work Sans", system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .01em;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), background .35s var(--ease),
              color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--pill { background: var(--ink); color: var(--paper); }
.btn--pill:hover { background: var(--accent); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--accent-2); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.4); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); background: rgba(255,255,255,.08); }
.btn--outline { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn--outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.nav.is-scrolled .btn--outline, .nav--solid .btn--outline { border-color: var(--line); color: var(--ink); }
.nav.is-scrolled .btn--outline:hover, .nav--solid .btn--outline:hover { border-color: var(--ink); background: transparent; }
.btn--lg { padding: 18px 34px; font-size: 16px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease),
              border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 10px 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}
/* slim contact button so the header sits at ~60% of its old height */
.nav__actions .btn { padding: 9px 20px; font-size: 14px; }
.nav.is-scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}

.nav__logo { display: inline-flex; align-items: center; gap: 11px; color: var(--paper); transition: color .4s var(--ease); }
.nav.is-scrolled .nav__logo { color: var(--ink); }
.nav__logo-mark { height: 30px; width: auto; display: block; }
.nav__logo-word { font-family: "Calima", "Work Sans", sans-serif; font-weight: 700; font-size: 19px; letter-spacing: .01em; text-transform: uppercase; color: currentColor; white-space: nowrap; }
.nav__logo-img { height: 28px; width: auto; display: block; }
.nav__logo-img--dark { display: none; }
.nav.is-scrolled .nav__logo-img--light { display: none; }
.nav.is-scrolled .nav__logo-img--dark { display: block; }

.nav__links {
  display: flex;
  gap: 34px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
}
.nav__links a { color: rgba(255,255,255,.82); position: relative; transition: color .3s var(--ease); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1.5px; background: currentColor; transition: width .35s var(--ease);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { width: 100%; }
.nav.is-scrolled .nav__links a { color: var(--muted); }
.nav.is-scrolled .nav__links a:hover { color: var(--ink); }

.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__mobonly { display: none; }

/* mobile toggle */
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 2px; background: #fff; transition: .35s var(--ease); }
.nav.is-scrolled .nav__toggle span { background: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__scrim {
  position: absolute; inset: 0;
  /* uniform black layer for legibility + gradient for depth at top/bottom */
  background:
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.1) 32%, rgba(0,0,0,.2) 58%, rgba(0,0,0,.75) 100%),
    rgba(0,0,0,.38);
}

.hero__content {
  position: relative;
  max-width: var(--shell);
  width: 100%;
  margin: 0 auto;
  padding: 0 32px 52px;
}
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 22px;
}
.hero__title {
  font-weight: 400;            /* Work Sans Regular */
  font-size: 56px;
  line-height: 56.3px;
  letter-spacing: -3.4px;
  color: #FFFFFF;
  max-width: 18ch;
  margin-bottom: 28px;
}
.hero__btn { padding: 13px 24px; font-size: 14.5px; }
.hero__btn svg { width: 16px; height: 16px; }

.hero__scroll {
  position: absolute;
  right: 44px; bottom: 44px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 11px; text-transform: uppercase; letter-spacing: .2em;
  color: rgba(255,255,255,.7);
}
.hero__scroll-line { width: 1px; height: 46px; background: linear-gradient(rgba(255,255,255,.7), transparent); animation: scrollpulse 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollpulse { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ============================================================
   STATEMENT
   ============================================================ */
.statement { padding: clamp(90px, 14vh, 180px) 0; }
.statement__label {
  font-size: 13px; text-transform: uppercase; letter-spacing: .18em;
  color: var(--muted); font-weight: 600; margin-bottom: 34px;
}
.statement__text {
  font-weight: 500;
  font-size: clamp(1.7rem, 3.9vw, 3.4rem);
  line-height: 1.16;
  letter-spacing: -.02em;
  max-width: 24ch;
}
.statement__text span { color: var(--accent); }

/* ============================================================
   SECTION HEAD (shared)
   ============================================================ */
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head__label {
  font-size: 13px; text-transform: uppercase; letter-spacing: .18em;
  color: var(--muted); font-weight: 600; margin-bottom: 20px;
}
.section-head__label--light { color: var(--muted-dark); }
.section-head__title {
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -.025em;
}
.section-head__lead {
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--muted);
  font-weight: 300;
  max-width: 60ch;
}

/* ============================================================
   PILLARS (Technology)
   ============================================================ */
.pillars { padding: clamp(70px, 9vh, 120px) 0 clamp(90px, 12vh, 150px); }
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pillar {
  border-top: 2px solid var(--ink);
  padding: 34px 0 0;
}
.pillar__num { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: .05em; }
.pillar h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 600; letter-spacing: -.02em;
  margin: 20px 0 16px;
  line-height: 1.05;
}
.pillar p { color: var(--muted); font-size: 1.02rem; }

/* ============================================================
   SOLUTIONS (dark)
   ============================================================ */
.solutions {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(90px, 13vh, 160px) 0;
}
.solutions .section-head__title { color: var(--paper); }
.section-head__lead--light { color: rgba(255,255,255,.62); }

/* ---------- Accordion ---------- */
.acc { border-top: 1px solid rgba(255,255,255,.14); }
.acc__item { border-bottom: 1px solid rgba(255,255,255,.14); }

.acc__head {
  width: 100%;
  display: grid;
  grid-template-columns: 56px 1fr auto 34px;
  gap: 28px;
  align-items: center;
  background: none;
  border: none;
  color: var(--paper);
  text-align: left;
  padding: 30px 8px 30px 0;
  cursor: pointer;
  font-family: inherit;
  transition: padding-left .5s var(--ease);
}
.acc__head:hover { padding-left: 12px; }
.acc__index { font-size: 15px; font-weight: 600; color: var(--muted-dark); align-self: start; padding-top: 6px; }
.acc__titles { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.acc__title {
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  font-weight: 600; letter-spacing: -.025em; line-height: 1.04;
}
.acc__sub { color: rgba(255,255,255,.58); font-weight: 300; font-size: 1.02rem; line-height: 1.4; max-width: 46ch; }
.acc__tag {
  font-size: 12px; text-transform: uppercase; letter-spacing: .12em;
  color: var(--accent-2); font-weight: 500; white-space: nowrap; align-self: start; padding-top: 8px;
}

/* chevron (V) toggle icon */
.acc__icon { position: relative; width: 22px; height: 22px; align-self: start; margin-top: 9px; }
.acc__icon::before {
  content: ""; position: absolute; top: 38%; left: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--paper);
  border-bottom: 2px solid var(--paper);
  transform: translate(-50%, -50%) rotate(45deg);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.acc__item.is-open .acc__icon::before {
  transform: translate(-50%, -10%) rotate(225deg);
  border-color: var(--accent-2);
}

/* expanding panel (grid-rows animation, no JS measuring) */
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .55s var(--ease);
}
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel-inner { overflow: hidden; min-height: 0; }
.acc__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 8px 0 52px 84px;
}
.acc__copy p { color: rgba(255,255,255,.72); font-weight: 300; font-size: 1.08rem; max-width: 46ch; margin-bottom: 26px; }
.acc__points { display: flex; flex-direction: column; gap: 14px; }
.acc__points li { position: relative; padding-left: 30px; color: rgba(255,255,255,.86); font-size: 1rem; }
.acc__points li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- Demo canvases ---------- */
.acc__demo { display: flex; justify-content: center; }
.demo {
  width: 100%;
  max-width: 380px;
  background: linear-gradient(160deg, #17171c, #0e0e12);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 24px 60px -30px rgba(0,0,0,.9);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease) .1s, transform .5s var(--ease) .1s;
}
.acc__item.is-open .demo { opacity: 1; transform: none; }

/* Looping chat (canvas 01 & 03) */
.chat { display: flex; flex-direction: column; gap: 8px; }
.chat .msg {
  opacity: 0;
  animation-duration: 11s;
  animation-timing-function: ease;
  animation-iteration-count: infinite;
  animation-play-state: paused;
}
.acc__item.is-open .chat .msg { animation-play-state: running; }
.chat .m1 { animation-name: m1; }
.chat .m2 { animation-name: m2; }
.chat .m3 { animation-name: m3; }
.chat .m4 { animation-name: m4; }
.chat .m5 { animation-name: m5; }
.chat .m6 { animation-name: m6; }
@keyframes m1 { 0%,4%{opacity:0;transform:translateY(9px)} 8%,90%{opacity:1;transform:none} 96%,100%{opacity:0;transform:translateY(-5px)} }
@keyframes m2 { 0%,17%{opacity:0;transform:translateY(9px)} 21%,90%{opacity:1;transform:none} 96%,100%{opacity:0;transform:translateY(-5px)} }
@keyframes m3 { 0%,30%{opacity:0;transform:translateY(9px)} 34%,90%{opacity:1;transform:none} 96%,100%{opacity:0;transform:translateY(-5px)} }
@keyframes m4 { 0%,43%{opacity:0;transform:translateY(9px)} 47%,90%{opacity:1;transform:none} 96%,100%{opacity:0;transform:translateY(-5px)} }
@keyframes m5 { 0%,56%{opacity:0;transform:translateY(9px)} 60%,90%{opacity:1;transform:none} 96%,100%{opacity:0;transform:translateY(-5px)} }
@keyframes m6 { 0%,69%{opacity:0;transform:translateY(9px)} 73%,90%{opacity:1;transform:none} 96%,100%{opacity:0;transform:translateY(-5px)} }
.msg { font-size: .92rem; line-height: 1.4; padding: 9px 13px; border-radius: 13px; max-width: 84%; }
.msg--user { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.msg--bot { align-self: flex-start; background: rgba(255,255,255,.08); color: rgba(255,255,255,.9); border-bottom-left-radius: 4px; }

/* Demo: shop / bargain (01) */
.shop__card { display: flex; gap: 14px; align-items: center; background: rgba(255,255,255,.05); border-radius: 12px; padding: 12px; margin-bottom: 14px; }
.shop__img { width: 54px; height: 54px; border-radius: 10px; display: grid; place-items: center; font-size: 28px; background: linear-gradient(135deg, #3a2a1a, #1c1712); }
.shop__info { display: flex; flex-direction: column; gap: 3px; }
.shop__name { font-weight: 600; font-size: .95rem; }
.shop__price { color: var(--accent-2); font-weight: 600; font-size: 1.05rem; }
.demo--shop .chat { min-height: 188px; }

/* Demo: IVR voice agent (02) */
.demo--ivr { text-align: center; }
.ivr__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ivr__live { display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; letter-spacing: .12em; color: #ff6b6b; font-weight: 600; }
.ivr__live i { width: 7px; height: 7px; border-radius: 50%; background: #ff6b6b; animation: pulse 1.4s ease-in-out infinite; }
.ivr__time { font-size: .74rem; color: rgba(255,255,255,.5); font-variant-numeric: tabular-nums; }
.ivr__orb { position: relative; width: 92px; height: 92px; margin: 12px auto 14px; display: grid; place-items: center; }
.ivr__core { position: relative; z-index: 2; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 40% 34%, #7c72ff, #4f46e5); box-shadow: 0 0 34px -6px rgba(79,70,229,.8); }
.ivr__core svg { width: 26px; height: 26px; fill: #fff; }
.ivr__ring { position: absolute; inset: 4px; border-radius: 50%; border: 2px solid rgba(124,114,255,.55); animation: ring 2.4s ease-out infinite; }
.ivr__ring:nth-of-type(2) { animation-delay: 1.2s; }
.ivr__who strong { display: block; font-size: .95rem; }
.ivr__who span { font-size: .78rem; color: rgba(255,255,255,.5); }
.ivr__caption { position: relative; height: 46px; margin: 12px 0; }
.ivr__caption .cap { position: absolute; inset: 0; display: grid; place-items: center; font-size: .92rem; color: rgba(255,255,255,.92); padding: 0 4px; opacity: 0; animation: 9s linear infinite; animation-play-state: paused; }
.acc__item.is-open .ivr__caption .cap { animation-play-state: running; }
.ivr__caption .c1 { animation-name: cap1; }
.ivr__caption .c2 { animation-name: cap2; }
.ivr__caption .c3 { animation-name: cap3; }
.ivr__keys { display: flex; gap: 8px; justify-content: center; margin-bottom: 14px; }
.ivr__keys span { font-size: .78rem; color: rgba(255,255,255,.82); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: 7px 11px; }
.ivr__keys b { color: var(--accent-2); margin-right: 6px; }
.ivr__ctrls { display: flex; gap: 16px; justify-content: center; margin-bottom: 16px; }
.ivr__ctrls i { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.ivr__ctrls i svg { width: 18px; height: 18px; fill: rgba(255,255,255,.82); }
.ivr__ctrls .k-end { background: #e5484d; }
.ivr__ctrls .k-end svg { fill: #fff; }
.call__chip { font-size: .8rem; color: #7ee0a8; background: rgba(126,224,168,.1); border: 1px solid rgba(126,224,168,.25); border-radius: 8px; padding: 8px 12px; }

/* Demo: whatsapp (03) */
.demo--wa { background: linear-gradient(160deg, #0f1512, #0b0f0d); }
.wa__top { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.wa__ava { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .82rem; background: #25d366; color: #05231a; }
.wa__meta { display: flex; flex-direction: column; line-height: 1.3; }
.wa__meta strong { font-size: .95rem; }
.wa__meta span { font-size: .78rem; color: #25d366; }
.demo--wa .chat { min-height: 296px; }
.msg.wa { max-width: 88%; border-radius: 12px; }
.wa--out { align-self: flex-end; background: #075e54; color: #eafff8; border-bottom-right-radius: 4px; }
.wa--in { align-self: flex-start; background: rgba(255,255,255,.07); color: rgba(255,255,255,.9); border-bottom-left-radius: 4px; }
.wa--in strong { color: #4ee89b; }

/* Demo: ChatGPT interface (04) */
.demo--gpt { padding: 0; overflow: hidden; background: #212121; }
.gpt__bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .95rem; font-weight: 600; color: #ececec; }
.gpt__bar .spark { width: 20px; height: 20px; fill: #ececec; }
.gpt__model { margin-left: 2px; font-size: .72rem; color: rgba(255,255,255,.4); font-weight: 500; }
.gpt__thread { padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.gpt__row { display: flex; gap: 11px; align-items: flex-start; }
.gpt__ava { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: .66rem; font-weight: 600; }
.gpt__ava--user { background: #4f46e5; color: #fff; }
.gpt__ava--ai { background: #000; }
.gpt__ava--ai svg { width: 17px; height: 17px; fill: #fff; }
.gpt__row p { font-size: .9rem; line-height: 1.5; color: #ececec; padding-top: 4px; }
.gpt__row--ai strong { color: #fff; font-weight: 600; }
.gpt__caret { display: inline-block; width: 7px; height: 15px; background: #ececec; margin-left: 3px; vertical-align: -3px; animation: caret 1.1s steps(1) infinite; }
.gpt__input { display: flex; align-items: center; justify-content: space-between; margin: 4px 16px 16px; padding: 11px 16px; background: #2f2f2f; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; }
.gpt__input span { font-size: .86rem; color: rgba(255,255,255,.45); }
.gpt__send { width: 26px; height: 26px; border-radius: 50%; background: #ececec; color: #212121; display: grid; place-items: center; font-size: .95rem; font-weight: 700; line-height: 1; }

/* Demo: live site iframe (05) */
.demo--iframe { padding: 0; overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.08); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.22); }
.browser__bar i:nth-child(1) { background: #ff5f57; }
.browser__bar i:nth-child(2) { background: #febc2e; }
.browser__bar i:nth-child(3) { background: #28c840; }
.browser__bar span { margin-left: 8px; font-size: .76rem; color: rgba(255,255,255,.55); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame { position: relative; height: 320px; background: #0c0c10; }
.frame iframe { position: relative; z-index: 1; width: 100%; height: 100%; border: 0; display: block; }
.frame__link { position: absolute; z-index: 2; right: 10px; bottom: 10px; font-size: .72rem; color: #fff; background: rgba(0,0,0,.62); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 5px 12px; }
.frame__loading { position: absolute; z-index: 0; inset: 0; display: grid; place-items: center; font-size: .8rem; color: rgba(255,255,255,.45); pointer-events: none; }
.frame.is-loaded .frame__loading { opacity: 0; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes ring { 0% { transform: scale(.68); opacity: .75; } 100% { transform: scale(1.3); opacity: 0; } }
@keyframes caret { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
@keyframes cap1 { 0%{opacity:0} 3%,28%{opacity:1} 33%,100%{opacity:0} }
@keyframes cap2 { 0%,33%{opacity:0} 36%,61%{opacity:1} 66%,100%{opacity:0} }
@keyframes cap3 { 0%,66%{opacity:0} 69%,94%{opacity:1} 97%,100%{opacity:0} }

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: clamp(90px, 13vh, 160px) 0; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service {
  background: var(--paper);
  padding: 40px 34px;
  transition: background .4s var(--ease);
}
.service:hover { background: var(--paper-dim); }
.service__num { display: block; font-size: 40px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); margin-bottom: 30px; }
.service h3 { font-size: 1.4rem; font-weight: 600; letter-spacing: -.02em; margin-bottom: 12px; }
.service p { color: var(--muted); font-size: .98rem; max-width: 34ch; }

/* ============================================================
   RESULTS (dark)
   ============================================================ */
.results { background: var(--ink); color: var(--paper); padding: clamp(90px, 13vh, 160px) 0; }
.results .section-head__title { color: var(--paper); }
.results__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.stat { border-top: 2px solid var(--accent-2); padding: 34px 0 0; }
.stat__num {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 500; letter-spacing: -.03em; line-height: 1;
  margin-bottom: 20px;
}
.stat__desc { color: rgba(255,255,255,.66); font-weight: 300; max-width: 30ch; font-size: 1.05rem; }

/* ============================================================
   CLIENTS / TESTIMONIALS
   ============================================================ */
.clients { padding: clamp(90px, 13vh, 160px) 0; }
.logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 72px;
}
.logo_cell {
  background: var(--paper);
  display: grid; place-items: center;
  padding: 16px 20px; min-height: 132px;
  transition: background .3s var(--ease);
}
.logo_cell:hover { background: var(--paper-dim); }
.logo_cell img {
  max-height: 72px; max-width: 82%; width: auto; object-fit: contain;
  opacity: .95;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.logo_cell:hover img { opacity: 1; transform: scale(1.05); }
.tstm__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tstm { border-top: 2px solid var(--ink); padding: 30px 0 0; margin: 0; }
.tstm__quote { font-size: 1.18rem; font-weight: 500; line-height: 1.45; letter-spacing: -.01em; margin-bottom: 26px; }
.tstm__who { display: flex; flex-direction: column; gap: 3px; }
.tstm__name { font-weight: 600; font-size: .96rem; }
.tstm__role { color: var(--muted); font-size: .86rem; }

/* ============================================================
   CONTACT (black)
   ============================================================ */
.contact { background: #000; color: var(--paper); padding: clamp(90px, 14vh, 170px) 0; }
.contact__head { max-width: 760px; margin-bottom: 46px; }
.contact__title {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 500; letter-spacing: -.025em; line-height: 1.05;
  margin: 14px 0 16px;
}
.contact__sub { color: rgba(255,255,255,.6); font-weight: 300; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.cform { display: flex; flex-direction: column; gap: 18px; }
.cform__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cform__row--send { grid-template-columns: 1fr auto; }
.cinput {
  width: 100%;
  height: 64px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 0 22px;
  color: var(--paper); font-family: inherit; font-size: 1rem;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.cinput::placeholder { color: rgba(255,255,255,.4); }
.cinput:focus { outline: none; border-color: var(--purple); background: rgba(255,255,255,.05); }
.cform__send {
  height: 64px;
  background: var(--purple); color: #fff; border: none; border-radius: 14px;
  padding: 0 46px; font-family: inherit; font-weight: 700; font-size: 1.15rem;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  white-space: nowrap; transition: background .3s var(--ease), transform .2s var(--ease);
}
.cform__send:hover { background: var(--purple-d); transform: translateY(-2px); }
.cform__note { font-size: .92rem; color: var(--accent-2); min-height: 1.2em; }
.cform__note.is-error { color: #ff8080; }
.contact__alt { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 6px; }
.contact__card {
  display: flex; flex-direction: column; gap: 5px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 18px 22px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.contact__card:hover { border-color: var(--purple); background: rgba(255,255,255,.05); }
.contact__card-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.45); }
.contact__card-val { font-size: 1.12rem; font-weight: 500; color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(180deg, #09090f 0%, #100e1a 20%, #191527 38%, #2a2440 55%, #43395f 70%, #5f5484 82%, #7d6fa4 92%, #9385ba 100%);
  color: var(--paper);
  padding: 84px 0 34px;
}
.footer__top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 64px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; margin-bottom: 22px; }
.footer__contact a, .footer__contact p { display: block; color: rgba(255,255,255,.82); padding: 5px 0; transition: color .3s var(--ease); }
.footer__contact a:hover { color: #fff; }
.footer__loc { color: rgba(255,255,255,.55) !important; margin-top: 10px; }
.footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding-left: 60px; border-left: 1px solid rgba(255,255,255,.16); }
.footer__col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.7); font-weight: 600; margin-bottom: 18px; }
.footer__col a { display: block; color: rgba(255,255,255,.8); padding: 6px 0; transition: color .3s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__brandrow { padding: 26px 0; }
.footer__brandrow .nav__logo-img { height: 30px; }
.footer__base { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.18); }
.footer__legal span { display: block; font-size: 13.5px; color: rgba(28,18,52,.72); line-height: 1.5; }
.footer__meta { display: flex; align-items: center; gap: 22px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(26,16,48,.16); transition: background .3s var(--ease); }
.footer__social a:hover { background: rgba(26,16,48,.32); }
.footer__social svg { width: 16px; height: 16px; fill: #2a1f45; }
.footer__top-btn { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); transition: transform .3s var(--ease); color: #1a1330; }
.footer__top-btn:hover { transform: translateY(-3px); }
.footer__top-btn svg { width: 20px; height: 20px; }

/* ============================================================
   LEGAL / PRIVACY PAGE
   ============================================================ */
.legal-hero { background: var(--ink); color: var(--paper); padding: clamp(130px, 20vh, 200px) 0 clamp(48px, 7vh, 80px); }
.legal-hero__kicker { color: var(--accent-2); font-size: 13px; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; margin-bottom: 20px; }
.legal-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.legal-hero__meta { color: rgba(255,255,255,.55); margin-top: 18px; font-size: .98rem; }
.legal { padding: clamp(56px, 9vh, 96px) 0 clamp(80px, 12vh, 140px); }
.legal__body { max-width: 760px; }
.legal__body h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 600; letter-spacing: -.02em; margin: 44px 0 14px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p { color: var(--muted); font-size: 1.05rem; margin-bottom: 16px; }
.legal__body ul { margin: 0 0 16px; padding-left: 4px; }
.legal__body li { position: relative; padding-left: 24px; color: var(--muted); font-size: 1.05rem; margin-bottom: 10px; }
.legal__body li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.legal__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal__body strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   OUR WORK / SHOWCASE PAGE
   ============================================================ */
.owork-hero { background: var(--ink); color: var(--paper); padding: clamp(140px, 22vh, 220px) 0 clamp(56px, 9vh, 90px); }
.owork-hero__kicker { color: var(--accent-2); font-size: 13px; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; margin-bottom: 22px; }
.owork-hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 500; letter-spacing: -.03em; line-height: .98; }
.owork-hero h1 span { color: var(--muted-dark); }
.owork-hero__intro { color: rgba(255,255,255,.6); font-weight: 300; font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 58ch; margin: 26px 0 32px; }
.sc-meta { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; color: rgba(255,255,255,.7); font-size: 1rem; }
.sc-meta b { color: var(--paper); font-size: 1.3rem; font-weight: 600; margin-right: 6px; }
.sc-meta i { color: rgba(255,255,255,.3); font-style: normal; }

.owork-body { padding: 0 0 clamp(20px, 4vh, 40px); }
.sc-filter { display: flex; flex-wrap: wrap; gap: 10px; padding: 46px 0 6px; }
.sc-filter button { font-family: inherit; font-size: 14px; font-weight: 500; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--muted); cursor: pointer; transition: color .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease); }
.sc-filter button:hover { border-color: var(--ink); color: var(--ink); }
.sc-filter button.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.sc-cat { padding: 46px 0; border-bottom: 1px solid var(--line); }
.sc-cat:last-of-type { border-bottom: none; }
.sc-cat__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 34px; }
.sc-cat__head h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 600; letter-spacing: -.025em; }
.sc-cat__kicker { color: var(--muted); font-size: 1rem; margin-top: 6px; }
.sc-count { font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); white-space: nowrap; }

.sc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sc-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--paper); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.sc-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -34px rgba(0,0,0,.3); border-color: var(--ink); }
.sc-thumb { position: relative; aspect-ratio: 16 / 10; background: var(--paper-dim); display: grid; place-items: center; overflow: hidden; }
.sc-thumb__fallback { position: absolute; font-size: 2rem; font-weight: 700; color: var(--muted-dark); letter-spacing: .05em; }
.sc-thumb img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.sc-thumb img.is-broken { display: none; }
.sc-card:hover .sc-thumb img { transform: scale(1.04); }
.sc-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sc-card__body h3 { font-size: 1.14rem; font-weight: 600; letter-spacing: -.01em; }
.sc-card__body p { color: var(--muted); font-size: .92rem; flex: 1; }
.sc-visit { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .85rem; color: var(--ink); margin-top: 6px; }
.sc-visit svg { width: 15px; height: 15px; }

.sc-cta { text-align: center; padding: clamp(80px, 12vh, 130px) 0; }
.sc-cta h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 500; letter-spacing: -.025em; }
.sc-cta p { color: var(--muted); max-width: 48ch; margin: 16px auto 30px; font-size: 1.08rem; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.pillar.reveal, .acc__item.reveal, .service.reveal, .stat.reveal, .logos span.reveal, .tstm.reveal { transition-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero__scroll-line { animation: none; }
  .ivr__live i, .ivr__ring, .ivr__caption .cap, .gpt__caret, .chat .msg { animation: none; }
  .ivr__caption .c1 { opacity: 1; }
  .chat .msg { opacity: 1; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .pillars__grid, .services__grid, .results__grid { grid-template-columns: 1fr 1fr; }
  .tstm__grid { grid-template-columns: 1fr; gap: 20px; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .acc__head { grid-template-columns: 44px 1fr 30px; }
  .acc__tag { display: none; }
  .acc__grid { grid-template-columns: 1fr; gap: 30px; padding: 8px 0 44px 60px; }
  .acc__demo { justify-content: flex-start; }
  .footer__top { grid-template-columns: 1fr; gap: 44px; }
  .footer__links { padding-left: 0; border-left: none; }
  .sc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .container, .nav__inner, .hero__content { padding-left: 22px; padding-right: 22px; }
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: flex; margin-left: auto; }
  .nav__links.is-open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); padding: 14px 22px 26px;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.25);
  }
  .nav__links.is-open a { color: var(--ink); font-size: 1.05rem; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav__links.is-open a:last-child { border-bottom: none; }
  .nav__links.is-open a::after { display: none; }
  .nav__links.is-open .nav__mobonly { display: block; }
  /* solid header while the mobile menu is open */
  .nav.is-menu-open { background: var(--paper); border-bottom-color: var(--line); }
  .nav.is-menu-open .nav__logo { color: var(--ink); }
  .nav.is-menu-open .nav__toggle span { background: var(--ink); }
  .nav.is-menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero__content { padding-bottom: 58px; }
  .hero__title { font-size: 40px; line-height: 40px; letter-spacing: -2.2px; }
  .hero__scroll { display: none; }
  .pillars__grid, .services__grid, .results__grid { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .acc__head { grid-template-columns: 34px 1fr 26px; gap: 16px; padding: 24px 0; }
  .acc__head:hover { padding-left: 0; }
  .acc__title { font-size: 1.5rem; }
  .acc__grid { padding: 4px 0 36px; }
  .acc__demo { justify-content: center; }
  .demo { max-width: 100%; }
  .cform__row { grid-template-columns: 1fr; }
  .cform__row--send { grid-template-columns: 1fr; }
  .contact__alt { grid-template-columns: 1fr; }
  .footer__links { grid-template-columns: 1fr; gap: 28px; }
  .footer__base { flex-direction: column; align-items: flex-start; gap: 22px; }
  .sc-grid { grid-template-columns: 1fr; }
  .sc-cat__head { flex-direction: column; align-items: flex-start; gap: 10px; }
}
