/* ==========================================================================
   Bikash Roy — portfolio
   Design system, layout, components and motion.
   --------------------------------------------------------------------------
   1.  Tokens
   2.  Reset & base
   3.  Layout primitives
   4.  Type & utilities
   5.  Buttons, tags, chips
   6.  Navbar + drawer
   7.  Hero
   8.  About
   9.  Selected work (sticky deck)
   10. Services (accordion)
   11. Process + marquees
   12. Results / stat slider
   13. Pricing
   14. Testimonials
   15. FAQ
   16. CTA band
   17. Footer
   18. Inner pages
   19. Motion system
   20. Responsive
   ========================================================================== */

@import url('/assets/fonts/fonts.css');

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
  /* palette */
  --primary: #ff1a05;
  --primary-soft: #ff6a56;
  --primary-ink: #d31200;
  --black: #000000;
  --ink: #0b0b0b;
  --page-bg: #f2f2f1;
  --white: #ffffff;
  --smoke: #f7f7f6;

  --text: #0b0b0b;
  --text-soft: rgba(0, 0, 0, 0.7);
  --text-muted: rgba(0, 0, 0, 0.42);
  --text-faint: rgba(0, 0, 0, 0.26);
  --text-on-dark: rgba(255, 255, 255, 0.74);
  --text-on-dark-soft: rgba(255, 255, 255, 0.55);
  --text-on-dark-faint: rgba(255, 255, 255, 0.3);

  --line: rgba(0, 0, 0, 0.09);
  --line-strong: rgba(0, 0, 0, 0.16);
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-dark-strong: rgba(255, 255, 255, 0.24);

  /* type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --fs-hero: clamp(3.35rem, 10.1vw, 9.8rem);
  --fs-h1: clamp(2.5rem, 6vw, 5.5rem);
  --fs-h2: clamp(1.9rem, 3.4vw, 3.25rem);
  --fs-h3: clamp(1.45rem, 2.1vw, 2.125rem);
  --fs-h4: clamp(1.25rem, 1.7vw, 1.75rem);
  --fs-h5: clamp(1.0625rem, 1.35vw, 1.375rem);
  --fs-h6: 1.0625rem;
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;
  --fs-2xs: 0.6875rem;

  /* spacing */
  --container: 1200px;
  --gutter: clamp(18px, 4vw, 32px);
  --sp-section: 128px;
  --sp-block: clamp(28px, 4vw, 48px);

  /* shape */
  --radius: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --pill: 999px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --dur-fast: 0.28s;
  --dur: 0.6s;
  --dur-slow: 0.9s;
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  letter-spacing: -0.011em;
  color: var(--text);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* clip, not hidden: hidden makes body a scroll container and kills position: sticky */
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }

::selection { background: var(--primary); color: #fff; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* thin scrollbar for the horizontal rails */
.process__rail { scrollbar-width: none; }
.process__rail::-webkit-scrollbar { display: none; }

/* ==========================================================================
   3. Layout primitives
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 2;
}

.section {
  position: relative;
  padding-block: calc(var(--sp-section) / 2);
}

.section--light { background: var(--page-bg); color: var(--text); }
.section--dark { background: var(--black); color: var(--white); }
.section--white { background: var(--white); color: var(--text); }
.section--flush { padding-block: 0; }

.pad-l { padding-block: var(--sp-section); }
.pad-m { padding-block: calc(var(--sp-section) * 0.7); }

/* hairline frame decoration */
.hairlines { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hairlines::before,
.hairlines::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.hairlines::before { left: calc(50% - var(--container) / 2); }
.hairlines::after { right: calc(50% - var(--container) / 2); }
.hairlines > i {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.hairlines > i:first-child { top: 0; }
.hairlines > i:last-child { bottom: 0; }

/* section heading block */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.section-head .h2 { max-width: 25ch; }
.section-head .muted { color: var(--text-faint); }
.section-head--dark .muted { color: var(--text-on-dark-faint); }

/* ==========================================================================
   4. Type & utilities
   ========================================================================== */
.h1, h1 {
  font-size: var(--fs-hero);
  line-height: 0.86;
  font-weight: 600;
  letter-spacing: -0.062em;
}
.h2, h2 {
  font-size: var(--fs-h2);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -0.032em;
}
.h3 { font-size: var(--fs-h3); line-height: 1.15; font-weight: 600; letter-spacing: -0.028em; }
.h4 { font-size: var(--fs-h4); line-height: 1.2; font-weight: 600; letter-spacing: -0.022em; }
.h5 { font-size: var(--fs-h5); line-height: 1.3; font-weight: 500; letter-spacing: -0.02em; }
.h6 { font-size: var(--fs-h6); line-height: 1.5; font-weight: 500; }
.body-s { font-size: var(--fs-sm); line-height: 1.6; }
.muted { color: var(--text-faint); }

/* accent palettes — used by metric cards, tiles and stat panels */
.accent-amber { --a1: #ff9a3d; --a2: #ff2d55; --a3: #ffd166; }
.accent-blue { --a1: #2f6bff; --a2: #00c2ff; --a3: #7dd3fc; }
.accent-green { --a1: #00b884; --a2: #a3e635; --a3: #34d399; }
.accent-violet { --a1: #8b5cf6; --a2: #ec4899; --a3: #c4b5fd; }

/* ==========================================================================
   5. Buttons, tags, chips
   ========================================================================== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: var(--fs-2xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}
.tag img { width: 12px; height: 12px; }
.tag--dark { color: rgba(255, 255, 255, 0.82); }
.tag--light { color: var(--text-soft); }

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-border: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding-inline: 26px;
  border-radius: var(--pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-border);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  isolation: isolate;
  transition: background var(--dur-fast) var(--ease-soft),
              color var(--dur-fast) var(--ease-soft),
              border-color var(--dur-fast) var(--ease-soft),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: currentColor;
  opacity: 0;
  z-index: -1;
  transition: opacity var(--dur-fast) var(--ease-soft);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.985); }
.btn__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease-soft);
}
.btn:hover .btn__dot { transform: translate(2px, -2px) scale(1.2); opacity: 1; }

.btn--dark { --btn-bg: var(--black); --btn-fg: var(--white); }
.btn--dark:hover { --btn-bg: #1c1c1c; box-shadow: 0 10px 28px -12px rgba(0, 0, 0, 0.5); }

.btn--light { --btn-bg: var(--white); --btn-fg: var(--black); }
.btn--light:hover { --btn-bg: #fff; box-shadow: 0 10px 28px -12px rgba(0, 0, 0, 0.45); }

.btn--outline-light { --btn-fg: var(--white); --btn-border: rgba(255, 255, 255, 0.42); }
.btn--outline-light:hover { --btn-bg: rgba(255, 255, 255, 0.1); --btn-border: rgba(255, 255, 255, 0.7); }

.btn--outline-dark { --btn-fg: var(--black); --btn-border: rgba(0, 0, 0, 0.22); }
.btn--outline-dark:hover { --btn-bg: rgba(0, 0, 0, 0.05); --btn-border: rgba(0, 0, 0, 0.4); }

.btn--sm { height: 42px; padding-inline: 20px; font-size: var(--fs-xs); }

.chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--pill);
  padding: 6px 13px;
  font-size: var(--fs-xs);
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.86);
  transition: border-color var(--dur-fast) var(--ease-soft), color var(--dur-fast) var(--ease-soft);
}
.chip:hover { border-color: rgba(255, 255, 255, 0.55); color: #fff; }

.stars { display: flex; gap: 3px; color: var(--primary); }
.stars svg { width: 13px; height: 13px; }

/* ==========================================================================
   6. Navbar + drawer
   ========================================================================== */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-block: 16px;
  color: #fff;
  transition: transform 0.55s var(--ease), background 0.4s var(--ease-soft),
              padding 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft),
              color 0.3s var(--ease-soft);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.navbar.is-hidden { transform: translateY(-115%); }
.navbar.is-solid {
  background: rgba(6, 6, 6, 0.6);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  padding-block: 10px;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}
.navbar.theme-light { color: var(--text); }
.navbar.theme-light.is-solid {
  background: rgba(242, 242, 241, 0.78);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.07);
}
.navbar.theme-light .nav-pill { background: rgba(0, 0, 0, 0.045); border-color: rgba(0, 0, 0, 0.06); }
.navbar.theme-light .nav-pill a { color: rgba(0, 0, 0, 0.66); }
.navbar.theme-light .nav-pill a:hover { color: #000; background: rgba(0, 0, 0, 0.05); }
.navbar.theme-light .nav-pill a.is-active { background: #0b0b0b; color: #fff; }
.navbar.theme-light .btn--outline-light { --btn-fg: var(--text); --btn-border: rgba(0, 0, 0, 0.18); }
.navbar.theme-light .btn--outline-light:hover { --btn-bg: rgba(0, 0, 0, 0.05); }
.navbar.theme-light .burger { border-color: rgba(0, 0, 0, 0.18); }

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 1.3125rem;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  color: currentColor;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: var(--pill);
  background: rgba(16, 16, 16, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.3s var(--ease-soft), border-color 0.3s var(--ease-soft);
}
.nav-pill a {
  display: block;
  padding: 8px 17px;
  border-radius: var(--pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.84);
  transition: background 0.3s var(--ease-soft), color 0.3s var(--ease-soft);
}
.nav-pill a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.nav-pill a.is-active { background: rgba(255, 255, 255, 0.16); color: #fff; }

.navbar__right { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-dark-strong);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: border-color var(--dur-fast) var(--ease-soft), background var(--dur-fast) var(--ease-soft);
}
.burger:hover { background: rgba(255, 255, 255, 0.08); }
.burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.25s var(--ease-soft);
}
.burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0.2); }
.burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: #080808;
  color: #fff;
  padding: 120px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.7s var(--ease-io), visibility 0s linear 0.7s;
}
.drawer.is-open {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.7s var(--ease-io), visibility 0s;
}
.drawer a {
  font-size: clamp(1.9rem, 7vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  padding-block: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.drawer.is-open a { opacity: 1; transform: none; }
.drawer.is-open a:nth-child(1) { transition-delay: 0.16s; }
.drawer.is-open a:nth-child(2) { transition-delay: 0.21s; }
.drawer.is-open a:nth-child(3) { transition-delay: 0.26s; }
.drawer.is-open a:nth-child(4) { transition-delay: 0.31s; }
.drawer.is-open a:nth-child(5) { transition-delay: 0.36s; }
.drawer.is-open a:nth-child(6) { transition-delay: 0.41s; }
.drawer.is-open a:nth-child(7) { transition-delay: 0.46s; }
.drawer__foot {
  margin-top: auto;
  font-size: var(--fs-sm);
  color: var(--text-on-dark-soft);
  padding-top: 24px;
}

/* ==========================================================================
   7. Hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  min-height: clamp(660px, 92svh, 940px);
  padding: 132px 0 44px;
  background: #050505;
  color: var(--white);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__bg video,
.hero__bg img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1.02);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(110% 80% at 50% 0%, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.7) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.1) 32%, rgba(0, 0, 0, 0.72) 100%);
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(36px, 6vw, 64px);
  flex: 1;
}
.hero__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.hero__title {
  color: var(--white);
  position: relative;
  font-size: var(--fs-hero);
  line-height: 0.84;
  font-weight: 600;
  letter-spacing: -0.058em;
  padding-bottom: 0.04em;
}
.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 56px);
}
.hero__lead {
  max-width: 30rem;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero__lead p {
  font-size: var(--fs-h6);
  line-height: 1.62;
  font-weight: 450;
  color: rgba(255, 255, 255, 0.88);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__stats { display: flex; gap: clamp(26px, 3vw, 46px); }
.hero__stat strong {
  display: block;
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}
.hero__stat span {
  display: block;
  margin-top: 8px;
  font-size: var(--fs-2xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.hero-media {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex: 0 0 auto;
}
.hero-card {
  position: relative;
  flex: 0 0 186px;
  height: 232px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #141414;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  will-change: transform;
}
.hero-card--photo { background: #f4f4f4; }
.hero-card--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease);
}
.hero-card--photo:hover img { transform: scale(1.06); }
.hero-card--metric {
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--a1) 62%, transparent), transparent 62%),
    radial-gradient(120% 90% at 10% 100%, color-mix(in srgb, var(--a2) 52%, transparent), transparent 60%),
    #0b0b0b;
  color: #fff;
}
.hero-card--metric::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(90% 80% at 70% 20%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(90% 80% at 70% 20%, #000 20%, transparent 100%);
  opacity: 0.5;
}
.hero-card__label {
  position: relative;
  z-index: 2;
  font-size: var(--fs-2xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
  max-width: 9ch;
  line-height: 1.4;
}
.hero-card__value {
  position: relative;
  z-index: 2;
  display: block;
  font-size: 2.625rem;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}
.hero-card__client {
  position: relative;
  z-index: 2;
  display: block;
  font-size: var(--fs-2xs);
  color: rgba(255, 255, 255, 0.58);
  margin-top: 6px;
}

/* ==========================================================================
   8. About
   ========================================================================== */
.about__tag { margin-bottom: clamp(28px, 4vw, 44px); }
.about__grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.about__aside {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.about__portrait {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  aspect-ratio: 4 / 4.6;
}
.about__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 8%; }
.about__portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, 0.42) 100%);
}
.about__portrait-cap {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: var(--fs-xs);
}
.about__portrait-cap strong { display: block; font-weight: 600; }
.about__portrait-cap span { color: rgba(255, 255, 255, 0.66); font-size: var(--fs-2xs); }
.about__facts { display: flex; flex-direction: column; }
.about__fact {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs);
}
.about__fact:last-child { border-bottom: 1px solid var(--line); }
.about__fact span { color: var(--text-muted); }
.about__fact strong { font-weight: 500; text-align: right; }

.about__right { display: flex; flex-direction: column; gap: 30px; }
.about__headline {
  font-size: clamp(1.5rem, 2.6vw, 2.35rem);
  line-height: 1.28;
  font-weight: 500;
  letter-spacing: -0.032em;
  max-width: 100%;
  text-wrap: balance;
}
.about__cards {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 16px;
}
.card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.045);
  border-radius: var(--radius);
  padding: 22px;
  min-height: 218px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.28); }
.quote-card { display: flex; flex-direction: column; gap: 14px; }
.quote-card__text { font-size: var(--fs-sm); line-height: 1.6; color: var(--text-soft); }
.quote-card__author { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.quote-card__author img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.quote-card__name { font-size: var(--fs-xs); font-weight: 600; line-height: 1.35; }
.quote-card__role { font-size: var(--fs-2xs); color: var(--text-muted); }

.clients-card { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.clients-card__num { display: flex; flex-direction: column; gap: 8px; }
.clients-card__num strong { font-size: 3rem; font-weight: 600; letter-spacing: -0.055em; line-height: 1; }
.clients-card__num span { font-size: var(--fs-xs); color: var(--text-muted); max-width: 26ch; }
.clients-card__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.clients-card__foot img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  background: #eee;
}
.clients-card__foot div { display: flex; flex-direction: column; gap: 1px; }
.clients-card__foot strong { font-size: var(--fs-xs); }
.clients-card__foot span { font-size: var(--fs-2xs); color: var(--text-muted); }

/* ==========================================================================
   9. Selected work — sticky deck
   ========================================================================== */
.work__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: clamp(40px, 5vw, 64px);
}
.case-card {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 560px;
  padding: 30px 34px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a0a0a;
  color: #fff;
  isolation: isolate;
  transform-origin: 50% 0;
  will-change: transform;
  backface-visibility: hidden;
  /* the upward shadow is what makes an arriving card read as sitting on top */
  box-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.07),
    0 -22px 48px -26px rgba(0, 0, 0, 0.75),
    0 30px 60px -40px rgba(0, 0, 0, 0.6);
}
/* the deck drives transform itself — drop the reveal transform so it can't fight it */
@media (min-width: 721px) {
  .work__list [data-reveal].case-card {
    transform: none;
    transition: opacity 0.7s var(--ease);
  }
}
/* deck state: as the next card covers this one, its content fades out and the
   surface darkens — so you never see a line of text sliced by the card above */
.case-card__top,
.case-card__metric,
.case-card__body {
  opacity: calc(1 - var(--fade, 0) * 0.92);
}
.case-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  background: #000;
  opacity: calc(var(--fade, 0) * 0.45);
  pointer-events: none;
}
.case-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(95% 75% at 82% 8%, color-mix(in srgb, var(--a1) 66%, transparent), transparent 60%),
    radial-gradient(85% 70% at 8% 96%, color-mix(in srgb, var(--a2) 50%, transparent), transparent 62%),
    linear-gradient(160deg, #101010 0%, #070707 100%);
  transform: scale(1.02);
  transition: transform 1.4s var(--ease), filter 0.8s var(--ease-soft);
}
.case-card:hover .case-card__bg { transform: scale(1.06); filter: saturate(1.12); }
.case-card__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 85%);
  opacity: 0.7;
}
.case-card__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.case-card__num {
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  flex: 0 0 auto;
}
.case-card__tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.case-card__tag {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--pill);
  padding: 6px 12px;
  font-size: var(--fs-2xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  white-space: nowrap;
}
.case-card__metric {
  position: absolute;
  right: 34px;
  bottom: 122px;
  z-index: 2;
  text-align: right;
  pointer-events: none;
}
.case-card__metric strong {
  display: block;
  font-size: clamp(5rem, 11.5vw, 10rem);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.82;
  color: #fff;
  transition: transform 1s var(--ease);
}
.case-card:hover .case-card__metric strong { transform: translateY(-6px); }
.case-card__metric span {
  display: block;
  margin-top: 12px;
  font-size: var(--fs-2xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}
.case-card__body { position: relative; z-index: 2; max-width: 30rem; }
.case-card__industry {
  font-size: var(--fs-2xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
  margin-bottom: 10px;
}
.case-card__title {
  font-size: clamp(1.5rem, 2.4vw, 2.125rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 8px;
}
.case-card__desc { font-size: var(--fs-sm); line-height: 1.6; color: rgba(255, 255, 255, 0.7); }
.case-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: var(--fs-2xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.case-card:hover .case-card__cta,
.case-card:focus-visible .case-card__cta { opacity: 1; transform: none; }

.work__foot { display: flex; justify-content: center; margin-top: 48px; }

/* ==========================================================================
   10. Services — accordion
   ========================================================================== */
.services__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.services__head .h2 { max-width: 24ch; }
.services__head .dim { color: rgba(255, 255, 255, 0.42); }
.services__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: clamp(40px, 5vw, 64px);
}
.service {
  --svc-num: 200px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 6px 24px;
  transition: background 0.4s var(--ease-soft), border-color 0.4s var(--ease-soft);
}
.service:hover,
.service.is-open { background: rgba(255, 255, 255, 0.075); border-color: rgba(255, 255, 255, 0.1); }
.service__top {
  width: 100%;
  display: grid;
  grid-template-columns: var(--svc-num) minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding-block: 20px;
  text-align: left;
}
.service__num {
  font-size: 5.75rem;
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.13);
  transition: color 0.4s var(--ease-soft), transform 0.6s var(--ease);
}
.service:hover .service__num,
.service.is-open .service__num { color: rgba(255, 255, 255, 0.3); transform: translateX(4px); }
.service__title { font-size: var(--fs-h4); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.service__head { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.service__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.service__plus {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  position: relative;
  flex: 0 0 auto;
  transition: background 0.3s var(--ease-soft), transform 0.5s var(--ease);
}
.service__plus::before,
.service__plus::after {
  content: '';
  position: absolute;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease-soft);
}
.service__plus::before { width: 11px; height: 1.4px; }
.service__plus::after { width: 1.4px; height: 11px; }
.service.is-open .service__plus { background: var(--primary); transform: rotate(180deg); }
.service.is-open .service__plus::after { opacity: 0; }

.service__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease);
}
.service.is-open .service__panel { grid-template-rows: 1fr; }
.service__panel-inner { overflow: hidden; }
.service__panel-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 8px 0 26px calc(var(--svc-num) + 24px);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s var(--ease-soft) 0.08s, transform 0.5s var(--ease) 0.08s;
}
.service.is-open .service__panel-grid { opacity: 1; transform: none; }
.service__img { width: 240px; height: 160px; border-radius: var(--radius-sm); object-fit: cover; }
.service__desc { font-size: var(--fs-sm); line-height: 1.65; color: rgba(255, 255, 255, 0.7); max-width: 46ch; }
.service__panel-cta { margin-top: 20px; }

/* ==========================================================================
   11. Process + marquees
   ========================================================================== */
.process__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.process__title {
  font-size: clamp(1.6rem, 3.1vw, 2.9rem);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.038em;
  max-width: 24ch;
  margin-top: 18px;
  text-wrap: balance;
}
.process__stage {
  position: relative;
  margin-top: clamp(40px, 5vw, 64px);
  padding-bottom: 96px;
  overflow: hidden;
}
.process__watermark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  text-align: center;
  font-size: clamp(7rem, 17vw, 15.5rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.8;
  color: rgba(0, 0, 0, 0.045);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
}
.process__rail {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 20px;
}
.process-card {
  flex: 1 1 0;
  min-width: 0;
  height: 288px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.process-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -32px rgba(0, 0, 0, 0.4); }
.process-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(255, 26, 5, 0.22);
  background: rgba(255, 26, 5, 0.04);
  display: grid;
  place-items: center;
  transition: background 0.4s var(--ease-soft);
}
.process-card:hover .process-card__icon { background: rgba(255, 26, 5, 0.1); }
.process-card__icon img { width: 24px; height: 24px; }
.process-card__title {
  font-size: var(--fs-h5);
  font-weight: 500;
  letter-spacing: -0.028em;
  margin-bottom: 8px;
  line-height: 1.25;
}
.process-card__desc { font-size: var(--fs-sm); line-height: 1.6; color: var(--text-muted); }

/* marquee shell shared by brand loop + testimonials */
.marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.marquee__track {
  display: flex;
  flex: 0 0 auto;
  width: max-content;
  animation: marquee var(--marquee-dur, 40s) linear infinite;
}
.marquee:hover .marquee__track,
.marquee__track:hover { animation-play-state: paused; }
/* two identical groups sit side by side so -50% loops seamlessly */
.marquee__group { display: flex; flex: 0 0 auto; align-items: center; }
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.brand-loop {
  display: flex;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--page-bg);
  padding-block: 26px;
  margin-top: clamp(32px, 4vw, 56px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
}
.brand-loop .marquee__track { --marquee-dur: 30s; }
.brand-loop__group { display: flex; flex: 0 0 auto; }
.brand-loop__word {
  display: inline-flex;
  align-items: center;
  padding-right: 48px;
  font-size: clamp(1.75rem, 3.2vw, 2.875rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.16;
  color: rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  transition: color 0.4s var(--ease-soft);
}
.brand-loop__word:hover { color: rgba(0, 0, 0, 0.5); }
.brand-loop__word img { width: 16px; height: 16px; flex: 0 0 auto; opacity: 0.9; margin-left: 48px; }

/* ==========================================================================
   12. Results / stat slider
   ========================================================================== */
.choose__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  margin-top: clamp(40px, 5vw, 64px);
  align-items: start;
}
.choose__media {
  position: relative;
  height: 620px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e6e6e4;
}
.choose__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transition: transform 1.2s var(--ease);
}
.choose__media:hover img { transform: scale(1.05); }
.choose__right { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 36px); }
.choose__headline {
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  line-height: 1.34;
  font-weight: 450;
  letter-spacing: -0.028em;
}
.choose__rule { height: 1px; background: var(--line); }
.choose__trust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.choose__trust-left { display: flex; align-items: center; gap: 11px; }
.choose__trust-left img { width: 20px; height: 20px; }
.choose__trust-left div { font-size: var(--fs-xs); line-height: 1.4; }
.choose__trust-left strong { display: block; font-weight: 500; }
.choose__trust-left span { color: var(--text-muted); }

.avatars { display: flex; align-items: center; }
.avatars img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--page-bg);
  margin-left: -8px;
}
.avatars img:first-child { margin-left: 0; }
.avatars .count {
  min-width: 30px;
  height: 30px;
  padding-inline: 8px;
  border-radius: var(--pill);
  background: #111;
  color: #fff;
  font-size: var(--fs-2xs);
  display: grid;
  place-items: center;
  margin-left: -8px;
  border: 2px solid var(--page-bg);
}

.stat-slider { position: relative; }
.stat-slider__viewport { overflow: hidden; border-radius: var(--radius); }
.stat-slider__track {
  display: flex;
  transition: transform 0.75s var(--ease);
  will-change: transform;
}
.stat-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-panel {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 404px;
}
.stat-panel--dark {
  color: #fff;
  position: relative;
  overflow: hidden;
  border: 0;
  background:
    radial-gradient(110% 90% at 88% 6%, color-mix(in srgb, var(--a1) 66%, transparent), transparent 62%),
    radial-gradient(100% 80% at 4% 100%, color-mix(in srgb, var(--a2) 50%, transparent), transparent 62%),
    #070707;
}
.stat-panel--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.04) 42%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
  z-index: 1;
}
.stat-panel--dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(80% 70% at 75% 15%, #000 10%, transparent 90%);
  -webkit-mask-image: radial-gradient(80% 70% at 75% 15%, #000 10%, transparent 90%);
  opacity: 0.6;
  pointer-events: none;
}
.stat-panel__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
}
.stat-panel__label { font-size: var(--fs-xs); font-weight: 500; max-width: 12ch; line-height: 1.4; }
.stat-panel__value { font-size: clamp(2.75rem, 4vw, 3.5rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.stat-panel__desc { font-size: var(--fs-xs); line-height: 1.55; color: var(--text-muted); }
.stat-panel--dark .stat-panel__desc { color: rgba(255, 255, 255, 0.7); }
.stat-panel__logos { display: flex; flex-direction: column; margin: 2px 0 8px; }
.stat-panel__logos div {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-soft);
  padding-block: 9px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  line-height: 1.35;
}
.stat-panel__logos div span {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.625rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.stat-panel__counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: var(--fs-2xs);
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.68);
}
.stat-slider__nav { display: flex; align-items: center; gap: 8px; justify-content: flex-end; margin-top: 16px; }
.stat-slider__nav button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: background 0.3s var(--ease-soft), color 0.3s var(--ease-soft),
              border-color 0.3s var(--ease-soft), transform 0.3s var(--ease);
}
.stat-slider__nav button:hover { background: #000; color: #fff; border-color: #000; }
.stat-slider__nav button:active { transform: scale(0.94); }
.stat-slider__nav svg { width: 14px; height: 14px; }
.stat-dots { display: flex; gap: 6px; margin-right: auto; }
.stat-dots button {
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.14);
  transition: background 0.35s var(--ease-soft), width 0.35s var(--ease);
}
.stat-dots button.is-active { background: #0b0b0b; width: 34px; }

/* ==========================================================================
   13. Pricing
   ========================================================================== */
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: clamp(40px, 5vw, 56px);
}
.plan {
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  min-height: 500px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.35); }
.plan--light { background: var(--white); border: 1px solid rgba(0, 0, 0, 0.04); }
.plan--dark { background: #000; color: #fff; }
.plan__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 0, 0, 0.045);
  border-radius: var(--pill);
  padding: 7px 14px;
  font-size: var(--fs-xs);
  font-weight: 500;
}
.plan--dark .plan__badge { background: #fff; color: #000; }
.plan__badge i { width: 5px; height: 5px; border-radius: 50%; background: var(--primary); display: block; }
.plan__title { font-size: clamp(2.25rem, 3.4vw, 3.125rem); line-height: 1; letter-spacing: -0.045em; }
.plan__title span { display: block; font-weight: 400; font-size: 0.6em; letter-spacing: -0.02em; margin-bottom: 6px; opacity: 0.65; }
.plan__title strong { font-weight: 600; }
.plan__desc { font-size: var(--fs-sm); line-height: 1.6; max-width: 30ch; color: var(--text-soft); }
.plan--dark .plan__desc { color: rgba(255, 255, 255, 0.76); }
.plan__price {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  background: #000;
  color: #fff;
  border-radius: var(--pill);
  padding: 15px 30px;
  margin-top: 4px;
}
.plan--dark .plan__price { background: #fff; color: #000; }
.plan__price small { font-size: var(--fs-xs); font-weight: 400; opacity: 0.7; }
.plan__price strong { font-size: clamp(2rem, 3vw, 2.75rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.plan__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 6px;
  text-align: left;
}
.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--text-soft);
}
.plan--dark .plan__features li { color: rgba(255, 255, 255, 0.76); }
.plan__features svg { width: 13px; height: 13px; flex: 0 0 auto; margin-top: 3px; color: var(--primary); }
.plan__foot {
  margin-top: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.plan--dark .plan__foot { border-color: rgba(255, 255, 255, 0.14); }
.plan__avail { display: flex; align-items: center; gap: 7px; font-size: var(--fs-xs); }
.plan--dark .plan__avail { color: rgba(255, 255, 255, 0.7); }
.plan__avail img { width: 15px; height: 15px; }
.plan__go {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  display: grid;
  place-items: center;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease-soft);
}
.plan--dark .plan__go { background: #fff; color: #000; }
.plan__go:hover { transform: rotate(45deg); }
.plan__go svg { width: 16px; height: 16px; }

/* ==========================================================================
   14. Testimonials
   ========================================================================== */
.testimonials { overflow: hidden; }
.testimonials__head { display: flex; flex-direction: column; gap: 18px; }
.testimonials__title {
  font-size: clamp(1.9rem, 3.4vw, 3.25rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.testimonials__title .line-2 { display: block; color: var(--text-faint); }
.testimonials .marquee { margin-top: clamp(36px, 4vw, 56px); }
.testimonials .marquee__track { --marquee-dur: 56s; }
.testimonials .marquee__group { gap: 16px; padding-right: 16px; }

.tcard {
  flex: 0 0 344px;
  height: 312px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 14px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.tcard:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -34px rgba(0, 0, 0, 0.35); }
.tcard__head { display: flex; align-items: center; gap: 9px; }
.tcard__head img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.tcard__who { font-size: var(--fs-xs); line-height: 1.4; }
.tcard__who strong { display: block; font-weight: 600; }
.tcard__who span { color: var(--text-muted); }
.tcard__social {
  margin-left: auto;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.05);
  display: grid;
  place-items: center;
  color: rgba(0, 0, 0, 0.5);
}
.tcard__social svg { width: 13px; height: 13px; }
.tcard__quote { font-size: var(--fs-h6); font-weight: 500; line-height: 1.42; letter-spacing: -0.02em; }
.tcard__body { font-size: var(--fs-xs); line-height: 1.6; color: var(--text-muted); }
.tcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-2xs);
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   15. FAQ
   ========================================================================== */
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: clamp(36px, 4vw, 56px);
  align-items: start;
}
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__grid--single { grid-template-columns: minmax(0, 1fr); }
.faq__grid--single .faq__list { max-width: 820px; }
.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: background 0.35s var(--ease-soft), border-color 0.35s var(--ease-soft);
}
.faq-item:hover { background: rgba(255, 255, 255, 0.08); }
.faq-item.is-open { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.1); }
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 21px 18px;
  font-size: var(--fs-sm);
  font-weight: 500;
  text-align: left;
  color: #fff;
}
.faq-item__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  position: relative;
  flex: 0 0 auto;
  transition: transform 0.45s var(--ease), background 0.3s var(--ease-soft);
}
.faq-item.is-open .faq-item__icon { transform: rotate(135deg); background: var(--primary); }
.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background: #fff;
  border-radius: 2px;
}
.faq-item__icon::before { width: 9px; height: 1.2px; }
.faq-item__icon::after { width: 1.2px; height: 9px; }
.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }
.faq-item__a > div { overflow: hidden; }
.faq-item__a p {
  padding: 0 18px 18px;
  font-size: var(--fs-xs);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  max-width: 60ch;
}
.faq__media {
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  min-height: 480px;
  position: sticky;
  top: 104px;
  background: #111;
}
.faq__media img { width: 100%; height: 100%; object-fit: cover; }

/* light variant (pricing page) */
.faq-item--light { background: var(--white); border-color: rgba(0, 0, 0, 0.05); }
.faq-item--light:hover { background: #fff; }
.faq-item--light.is-open { background: #fff; border-color: rgba(0, 0, 0, 0.1); }
.faq-item--light .faq-item__q { color: var(--text); }
.faq-item--light .faq-item__icon { background: rgba(0, 0, 0, 0.06); }
.faq-item--light.is-open .faq-item__icon { background: var(--primary); }
.faq-item--light .faq-item__icon::before,
.faq-item--light .faq-item__icon::after { background: #000; }
.faq-item--light.is-open .faq-item__icon::before,
.faq-item--light.is-open .faq-item__icon::after { background: #fff; }
.faq-item--light .faq-item__a p { color: var(--text-soft); }

/* ==========================================================================
   16. CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  padding-block: clamp(72px, 9vw, 120px);
  background: #000;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: -60% -10%;
  background: radial-gradient(46% 46% at 50% 50%, rgba(255, 26, 5, 0.26), transparent 70%);
  pointer-events: none;
}
.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 90% at 50% 50%, #000 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 90% at 50% 50%, #000 10%, transparent 80%);
  pointer-events: none;
}
.cta-band .container { display: flex; flex-direction: column; align-items: center; }
.cta-band h2 {
  position: relative;
  font-size: clamp(1.9rem, 4.2vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 18ch;
  margin-bottom: 18px;
  text-wrap: balance;
}
.cta-band p {
  position: relative;
  color: rgba(255, 255, 255, 0.6);
  max-width: 44ch;
  margin-bottom: 32px;
  font-size: var(--fs-sm);
}
.cta-band .btn { position: relative; }

/* ==========================================================================
   17. Footer
   ========================================================================== */
.footer { background: var(--white); color: var(--text); padding-top: 0; }
.text-loop {
  display: flex;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--page-bg);
  padding-block: 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
}
.text-loop .marquee__track { --marquee-dur: 34s; }
.text-loop__group { display: flex; flex: 0 0 auto; align-items: center; }
.text-loop__word {
  display: inline-flex;
  align-items: center;
  padding-right: 40px;
  white-space: nowrap;
  font-size: clamp(2rem, 4.4vw, 3.875rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.1;
  color: var(--text);
}
.text-loop__word img { width: 22px; height: 22px; flex: 0 0 auto; margin-left: 40px; }

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding-block: 56px;
}
.footer__left { max-width: 420px; display: flex; flex-direction: column; gap: 18px; }
.footer__slides {
  width: 280px;
  height: 180px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  background: #eee;
}
.footer__slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.9s var(--ease-soft), transform 1.2s var(--ease);
}
.footer__slides img.is-active { opacity: 1; transform: scale(1); }
.footer__contact { display: flex; align-items: center; gap: 12px; font-size: var(--fs-xs); flex-wrap: wrap; }
.footer__contact img { width: 12px; height: 12px; }
.footer__contact span { color: var(--text-muted); }
.footer__contact a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0, 0, 0, 0.28);
  transition: text-decoration-color 0.3s var(--ease-soft);
}
.footer__contact a:hover { text-decoration-color: #000; }

.footer__cols { display: flex; gap: clamp(36px, 6vw, 92px); }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { font-size: var(--fs-xs); font-weight: 400; color: var(--text-muted); margin-bottom: 4px; }
.footer__col a {
  font-size: var(--fs-xs);
  font-weight: 500;
  width: fit-content;
  transition: opacity 0.3s var(--ease-soft), transform 0.3s var(--ease);
}
.footer__col a:hover { opacity: 0.55; transform: translateX(2px); }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-block: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: var(--fs-2xs);
  color: rgba(0, 0, 0, 0.5);
}
.footer__big {
  display: block;
  text-align: center;
  font-size: clamp(2.6rem, 12.4vw, 10.5rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 1;
  padding: 6px 0 60px;
  white-space: nowrap;
  color: #000;
}

/* ==========================================================================
   18. Inner pages
   ========================================================================== */
.page-hero {
  background: #000;
  color: #fff;
  padding: 176px 0 84px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 90% at 85% -10%, rgba(255, 26, 5, 0.16), transparent 62%);
  pointer-events: none;
}
.page-hero .container { display: flex; flex-direction: column; align-items: flex-start; }
.page-hero__title {
  font-size: var(--fs-h1);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 600;
  max-width: 18ch;
  margin-top: 20px;
}
.page-hero__lead {
  max-width: 46ch;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.68);
  font-size: var(--fs-h6);
  line-height: 1.65;
}
.page-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 52px);
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  width: 100%;
  max-width: 620px;
}
.page-hero__stats .hero__stat strong { font-size: 2.125rem; }

/* --- about / story --- */
.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.story__aside { position: sticky; top: 116px; display: flex; flex-direction: column; gap: 22px; }
.story__portrait {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  aspect-ratio: 4 / 5;
}
.story__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 8%; }
.story__facts { display: flex; flex-direction: column; }
.story__fact {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: var(--fs-xs);
  padding-block: 12px;
  border-top: 1px solid var(--line);
}
.story__fact:last-child { border-bottom: 1px solid var(--line); }
.story__fact span { color: var(--text-muted); }
.story__fact strong { font-weight: 500; text-align: right; }
.story__fact a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0,0,0,.25); }

.prose { display: flex; flex-direction: column; gap: 20px; }
.prose h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  letter-spacing: -0.03em;
  line-height: 1.22;
  margin-top: 22px;
}
.prose h3 { font-size: 1.25rem; letter-spacing: -0.02em; margin-top: 12px; }
.prose p { font-size: 1rem; line-height: 1.78; color: var(--text-soft); }
.prose p strong { font-weight: 600; color: #000; }
.prose__lead {
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem) !important;
  line-height: 1.6 !important;
  color: var(--text) !important;
  letter-spacing: -0.02em;
}

.timeline { margin-top: 16px; display: flex; flex-direction: column; }
.tl-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 26px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
  position: relative;
  transition: background 0.35s var(--ease-soft);
}
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-year { font-size: var(--fs-sm); font-weight: 600; letter-spacing: -0.02em; }
.tl-body h4 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 4px; }
.tl-org { font-size: var(--fs-xs); color: var(--primary); margin-bottom: 8px; }
.tl-body p { font-size: var(--fs-sm); line-height: 1.65; color: var(--text-muted); max-width: 60ch; }

.skills { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.skill-block {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.skill-block:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -30px rgba(0, 0, 0, 0.4); }
.skill-block h4 {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 500;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.skill-tags span {
  font-size: var(--fs-xs);
  padding: 6px 11px;
  border-radius: var(--pill);
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-soft);
  transition: background 0.3s var(--ease-soft), color 0.3s var(--ease-soft);
}
.skill-tags span:hover { background: #0b0b0b; color: #fff; }

.edu-list { display: flex; flex-direction: column; margin-top: 18px; }
.edu-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.edu-item:last-child { border-bottom: 1px solid var(--line); }
.edu-item span { color: var(--text-muted); font-size: var(--fs-xs); white-space: nowrap; }

.clients-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 32px;
}
.client-cell { background: var(--page-bg); padding: 20px 22px; transition: background 0.4s var(--ease-soft); }
.client-cell:hover { background: var(--white); }
.client-cell--empty { pointer-events: none; }
.client-cell h5 {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 500;
}
.client-cell li { font-size: var(--fs-xs); line-height: 1.75; color: var(--text-soft); }

/* --- work index --- */
.work-index { padding-top: 72px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter {
  padding: 9px 18px;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  font-size: var(--fs-xs);
  font-weight: 500;
  transition: background 0.3s var(--ease-soft), color 0.3s var(--ease-soft),
              border-color 0.3s var(--ease-soft), transform 0.3s var(--ease);
}
.filter:hover { background: rgba(0, 0, 0, 0.04); }
.filter.is-active { background: #000; color: #fff; border-color: #000; }

.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.case-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a0a0a;
  color: #fff;
  min-height: 348px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  isolation: isolate;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.case-tile:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.5); }
.case-tile__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(90% 80% at 85% 10%, color-mix(in srgb, var(--a1) 58%, transparent), transparent 60%),
    radial-gradient(80% 70% at 5% 100%, color-mix(in srgb, var(--a2) 46%, transparent), transparent 62%),
    #080808;
  transition: transform 0.9s var(--ease);
}
.case-tile:hover .case-tile__bg { transform: scale(1.05); }
.case-tile__top { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.case-tile__metric { position: relative; z-index: 2; }
.case-tile__metric strong {
  font-size: clamp(2.75rem, 4.4vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
  display: block;
}
.case-tile__metric span {
  display: block;
  margin-top: 8px;
  font-size: var(--fs-2xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.case-tile__title { position: relative; z-index: 2; font-size: 1.3125rem; font-weight: 600; letter-spacing: -0.028em; margin-top: 14px; }
.case-tile__industry { position: relative; z-index: 2; font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.55); margin-top: 4px; }

.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.proj {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--radius-sm);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 118px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), opacity 0.35s var(--ease-soft);
}
.proj:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -26px rgba(0, 0, 0, 0.35); }
.proj h4 { font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.02em; }
.proj span { font-size: var(--fs-xs); color: var(--text-muted); margin-top: 4px; display: block; }
.proj__cat {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
}

/* --- case study --- */
.cs-hero {
  position: relative;
  background: #070707;
  color: #fff;
  padding: 168px 0 72px;
  overflow: hidden;
}
.cs-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 90% at 85% 0%, color-mix(in srgb, var(--a1) 48%, transparent), transparent 62%),
    radial-gradient(70% 80% at 0% 100%, color-mix(in srgb, var(--a2) 34%, transparent), transparent 60%);
  opacity: 0.85;
}
.cs-hero .container { position: relative; z-index: 2; }
.cs-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.cs-hero__title {
  font-size: clamp(2.25rem, 5.6vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.048em;
  font-weight: 600;
  max-width: 20ch;
}
.cs-hero__sub { margin-top: 18px; font-size: var(--fs-h6); color: rgba(255, 255, 255, 0.68); max-width: 54ch; line-height: 1.65; }
.cs-hero__results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 52px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.cs-result strong { display: block; font-size: clamp(2rem, 3.4vw, 2.875rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.cs-result span {
  display: block;
  margin-top: 10px;
  font-size: var(--fs-2xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.cs-body { padding-top: 72px; }
.cs-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.cs-facts h5 {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.cs-facts p { font-size: var(--fs-sm); }
.cs-sections { display: flex; flex-direction: column; margin-top: 12px; }
.cs-section {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 40px;
  padding-block: 38px;
  border-bottom: 1px solid var(--line);
}
.cs-section h3 {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 500;
}
.cs-section p { font-size: 1.0625rem; line-height: 1.72; color: var(--text-soft); max-width: 66ch; }
.cs-next { padding-block: 56px; }
.cs-next__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: #000;
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.cs-next__card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.55); }
.cs-next__card h3 { font-size: clamp(1.35rem, 2.2vw, 1.875rem); letter-spacing: -0.035em; }
.cs-next__meta { display: block; font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.55); }
.cs-next__meta--label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.625rem;
  margin-bottom: 10px;
}

/* --- service detail --- */
.svc-hero {
  padding: 168px 0 72px;
  background: #070707;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.svc-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 90% at 80% 0%, rgba(255, 26, 5, 0.28), transparent 60%),
    radial-gradient(60% 70% at 5% 100%, rgba(255, 106, 86, 0.12), transparent 60%);
}
.svc-hero .container { position: relative; z-index: 2; }
.svc-hero__title {
  font-size: clamp(2.4rem, 6.4vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 600;
  margin-top: 20px;
  max-width: 18ch;
}
.svc-hero__intro {
  margin-top: 22px;
  font-size: var(--fs-h6);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 58ch;
}
.svc-body { padding-top: 72px; }
.svc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.deliverables { display: flex; flex-direction: column; }
.deliverable {
  display: flex;
  gap: 16px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.deliverable:last-child { border-bottom: 1px solid var(--line); }
.deliverable i {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 26, 5, 0.09);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 0.625rem;
  font-weight: 600;
  margin-top: 1px;
}
.svc-aside { position: sticky; top: 116px; display: flex; flex-direction: column; gap: 16px; }
.svc-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--radius);
  padding: 24px;
}
.svc-card h4 {
  font-size: var(--fs-2xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 500;
}
.svc-card ul { display: flex; flex-direction: column; gap: 10px; }
.svc-card li { font-size: var(--fs-sm); display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.svc-card li::before { content: '→'; color: var(--primary); font-size: var(--fs-xs); line-height: 1.6; }
.svc-card a:hover { text-decoration: underline; text-underline-offset: 3px; }
.svc-cta { background: #000; color: #fff; border-radius: var(--radius); padding: 24px; }
.svc-cta p { font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.64); margin-bottom: 18px; line-height: 1.6; }

/* services index tiles */
.svc-tiles { display: flex; flex-direction: column; gap: 14px; }
.svc-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 260px;
  padding: 28px 30px;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}
.svc-tile:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.5); }
.svc-tile__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(85% 80% at 88% 6%, color-mix(in srgb, var(--a1) 54%, transparent), transparent 62%),
    radial-gradient(70% 70% at 2% 100%, color-mix(in srgb, var(--a2) 40%, transparent), transparent 64%),
    #080808;
  transition: transform 1s var(--ease);
}
.svc-tile:hover .svc-tile__bg { transform: scale(1.04); }
.svc-tile__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.svc-tile__num { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.55); }
.svc-tile__body { position: relative; z-index: 2; margin-top: auto; }
.svc-tile__title {
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.06;
  margin-bottom: 10px;
}
.svc-tile__desc { font-size: var(--fs-sm); line-height: 1.6; color: rgba(255, 255, 255, 0.7); max-width: 56ch; }
.svc-tile__cta {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-2xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.84);
}
.svc-tile__cta svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease); }
.svc-tile:hover .svc-tile__cta svg { transform: translateX(5px); }

/* --- contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact-grid h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.15; letter-spacing: -0.035em; margin-bottom: 18px; }
.contact-grid > div > p { color: var(--text-soft); max-width: 44ch; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.contact-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--radius-sm);
  padding: 18px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.contact-card:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -28px rgba(0, 0, 0, 0.35); }
.contact-card span {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.contact-card strong { font-size: var(--fs-sm); font-weight: 500; }
.contact-card a:hover { text-decoration: underline; text-underline-offset: 3px; }

.form {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: var(--fs-xs); font-weight: 500; color: var(--text-soft); }
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: var(--fs-sm);
  background: #fafafa;
  transition: border-color 0.25s var(--ease-soft), background 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft);
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: #0b0b0b;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}
.field input.is-invalid,
.field textarea.is-invalid { border-color: var(--primary); background: #fff6f5; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__note { font-size: var(--fs-2xs); color: var(--text-muted); }
.form__msg {
  font-size: var(--fs-xs);
  padding: 11px 14px;
  border-radius: 9px;
  display: none;
}
.form__msg.is-ok { display: block; background: rgba(0, 128, 0, 0.07); color: #0a6b2a; }
.form__msg.is-err { display: block; background: rgba(255, 26, 5, 0.07); color: #b31300; }

/* --- 404 --- */
.notfound {
  min-height: 100svh;
  background: #000;
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 140px 24px;
}
.notfound h1 { font-size: clamp(4rem, 14vw, 9rem); letter-spacing: -0.06em; }
.notfound p { color: rgba(255, 255, 255, 0.6); margin: 16px 0 30px; }

/* ==========================================================================
   19. Motion system
   ========================================================================== */
/* scroll progress */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  z-index: 120;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--primary), #ff8a72);
  pointer-events: none;
}

/* page veil */
.veil {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #050505;
  pointer-events: none;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease-io);
}
.veil.is-out { transform: scaleY(1); }
html.is-loading .veil { transform: scaleY(1); }
html.is-loading.is-ready .veil {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.8s var(--ease-io) 0.05s;
}

/* cursor follower (pointer: fine only) */
.cursor,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 150;
  opacity: 0;
  transition: opacity 0.3s var(--ease-soft), width 0.35s var(--ease), height 0.35s var(--ease),
              background 0.35s var(--ease-soft), border-color 0.35s var(--ease-soft);
}
.cursor {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  mix-blend-mode: difference;
}
.cursor-dot { width: 4px; height: 4px; background: var(--primary); z-index: 151; }
.cursor.is-on, .cursor-dot.is-on { opacity: 1; }
.cursor.is-grow { width: 46px; height: 46px; background: rgba(255, 255, 255, 0.08); }

/* word-by-word heading reveal */
.split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.split .w > i {
  display: inline-block;
  font-style: normal;
  transform: translateY(110%) rotate(2deg);
  opacity: 0;
  transition: transform 0.85s var(--ease), opacity 0.6s var(--ease-soft);
  transition-delay: var(--d, 0s);
}
.split.is-in .w > i { transform: none; opacity: 1; }

/* generic reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* image clip reveal */
[data-clip] > * {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.06);
  transition: clip-path 1.1s var(--ease), transform 1.4s var(--ease);
  will-change: clip-path, transform;
}
[data-clip].is-in > * { clip-path: inset(0 0 0 0); transform: none; }

[data-parallax] { will-change: transform; }

/* hero entrance — plays once on load, independent of scroll */
.hero__top .tag,
.hero__title,
.hero__lead > *,
.hero__actions,
.hero__stats,
.hero-media {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
html.is-ready .hero__top .tag { opacity: 1; transform: none; transition-delay: 0.18s; }
html.is-ready .hero__title { opacity: 1; transform: none; transition-delay: 0.26s; }
html.is-ready .hero__lead > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.4s; }
html.is-ready .hero__lead > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.48s; }
html.is-ready .hero__lead > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.56s; }
html.is-ready .hero-media { opacity: 1; transform: none; transition-delay: 0.5s; }

/* hero title itself is split — keep the container visible, animate the words */
html.is-ready .hero__title.split { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal], [data-clip] > *, .split .w > i,
  .hero__top .tag, .hero__title, .hero__lead > *, .hero__actions, .hero__stats, .hero-media {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  .cursor, .cursor-dot { display: none; }
}

/* ==========================================================================
   20. Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .about__grid { grid-template-columns: 280px minmax(0, 1fr); }
  .choose__media { height: 540px; }
  .service { --svc-num: 160px; }
  .service__num { font-size: 4.5rem; }
  .service__panel-grid { grid-template-columns: 200px minmax(0, 1fr); }
  .service__img { width: 200px; height: 140px; }
}

@media (max-width: 960px) {
  :root { --sp-section: 104px; }

  .nav-pill { display: none; }
  .burger { display: flex; }
  .navbar__right .btn { display: none; }

  .hero { padding-top: 116px; min-height: auto; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .hero__lead { max-width: 100%; }
  .hero-media { width: 100%; }
  .hero-card { flex: 1 1 0; height: 200px; }

  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .about__aside { position: static; display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: start; }
  .about__portrait { aspect-ratio: 1 / 1.1; }
  .about__cards { grid-template-columns: 1fr 1fr; }

  .case-card { height: 480px; padding: 24px; }
  .case-card__metric { right: 24px; bottom: 130px; }

  .service { --svc-num: 92px; }
  .service__top { gap: 16px; }
  .service__num { font-size: 3rem; }
  .service__panel-grid { grid-template-columns: minmax(0, 1fr); padding-left: 0; gap: 20px; }
  .service__img { width: 100%; max-width: 360px; height: 180px; }

  .process__rail {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }
  .process-card { flex: 0 0 272px; scroll-snap-align: start; }

  .choose__grid { grid-template-columns: minmax(0, 1fr); }
  .choose__media { height: 460px; }

  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan { min-height: auto; }

  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__media { min-height: 320px; position: static; order: -1; }

  .story__grid { grid-template-columns: minmax(0, 1fr); }
  .story__aside { position: static; display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; }
  .skills { grid-template-columns: minmax(0, 1fr); }
  .clients-wall { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: minmax(0, 1fr); }
  .proj-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-aside { position: static; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .cs-facts { grid-template-columns: 1fr 1fr; }
  .cs-section { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .page-hero { padding: 148px 0 68px; }
  .cs-hero, .svc-hero { padding: 140px 0 60px; }
  .cursor, .cursor-dot { display: none; }
}

@media (max-width: 720px) {
  :root { --sp-section: 84px; --gutter: 20px; }

  .section-head { gap: 14px; }
  .section-head .h2 { max-width: 100%; }

  .hero { padding: 108px 0 32px; }
  .hero__top { gap: 16px; }
  .hero__bottom { gap: 32px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero-card { height: 168px; }
  .hero-card__value { font-size: 2rem; }
  .hero-card--metric { padding: 14px; }
  .hero__stats { gap: 22px; flex-wrap: wrap; }

  .about__aside { grid-template-columns: 132px 1fr; gap: 16px; }
  .about__portrait-cap { display: none; }
  .about__cards { grid-template-columns: minmax(0, 1fr); }
  .card { min-height: 0; }
  .about__headline { max-width: 100%; }

  .case-card { position: relative; top: auto; height: auto; min-height: 380px; gap: 72px; padding: 22px; }
  .case-card__metric { position: static; text-align: left; margin-top: 4px; }
  .case-card__metric strong { font-size: 4.25rem; }
  .case-card__metric span { margin-top: 8px; }
  .case-card__top { flex-direction: column; align-items: flex-start; gap: 12px; }
  .case-card__tags { justify-content: flex-start; }
  .case-card__title { font-size: 1.5rem; }
  .case-card__cta { opacity: 1; transform: none; }
  .case-card__body { max-width: 100%; }

  .service { padding-inline: 18px; }
  .service__top {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "num plus" "head head";
    row-gap: 12px;
    column-gap: 16px;
    padding-block: 18px;
    align-items: center;
  }
  .service__num {
    grid-area: num;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
    transform: none !important;
  }
  .service__head { grid-area: head; }
  .service__plus { grid-area: plus; width: 30px; height: 30px; }
  .service__title { font-size: 1.15rem; }
  .service__tags { margin-top: 10px; gap: 6px; }
  .chip { padding: 5px 10px; font-size: 0.6875rem; }

  .process__head { align-items: flex-start; }
  .process-card { flex: 0 0 250px; height: 268px; }

  .choose__media { height: 360px; }
  .stat-slide { grid-template-columns: minmax(0, 1fr); }
  .stat-panel:not(.stat-panel--dark) { display: none; }
  .stat-panel--dark { min-height: 300px; }

  .tcard { flex: 0 0 280px; height: 330px; }

  .faq-item__q { font-size: var(--fs-xs); padding: 18px 16px; }

  .footer__top { flex-direction: column; padding-block: 40px; gap: 32px; }
  .footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; width: 100%; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 6px; }

  .page-hero__stats { gap: 22px; }
  .page-hero__stats .hero__stat strong { font-size: 1.75rem; }
  .cs-hero__results { grid-template-columns: 1fr 1fr; gap: 20px; }
  .cs-facts { grid-template-columns: 1fr 1fr; gap: 16px; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .proj-grid { grid-template-columns: minmax(0, 1fr); }
  .clients-wall { grid-template-columns: minmax(0, 1fr); }
  .story__aside { grid-template-columns: minmax(0, 1fr); }
  .story__portrait { max-width: 240px; }
  .cs-next__card { flex-direction: column; align-items: flex-start; }
  .tl-item { grid-template-columns: 62px 1fr; gap: 16px; }
  .drawer a { padding-block: 12px; }
}

@media (max-width: 420px) {
  .hero__stats { gap: 18px; }
  .hero__stat strong { font-size: 1.5rem; }
  .about__aside { grid-template-columns: 110px 1fr; }
  .plan__price { padding: 13px 22px; }
  .cs-hero__results { grid-template-columns: minmax(0, 1fr); }
  .footer__cols { grid-template-columns: minmax(0, 1fr); }
}
