/* Clean static Tailwind-style build for Arteveliz Studio. */

/* Local heading font — Antipol (WOFF2) */
@font-face {
  font-family: "Antipol";
  src: url("../fonts/Antipol-Medium-iF666b9e4037744.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Antipol";
  src: url("../fonts/Antipol-Bold-iF666b9e3fded63.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Antipol Extended";
  src: url("../fonts/Antipol-Extended-Medium-iF666b9e4008ede.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Base / Design Tokens */
:root {
  --ink: #080a0c;
  --ink-soft: rgba(8, 10, 12, 0.78);
  --ink-muted: rgba(8, 10, 12, 0.62);
  --muted: #4f534f;
  --paper: #ffffff;
  --cream: #fff1d6;
  --aqua: #e9fbfb;
  --teal: #49aeca;
  --teal-text: #1a6d80;
  --teal-on-dark: #72d4ea;
  --on-dark-muted: rgba(255, 255, 255, 0.82);
  --on-dark-soft: rgba(255, 255, 255, 0.72);
  --shadow: 0 14px 38px rgba(8, 10, 12, 0.14);
  --radius-xl: 72px;
  --radius-lg: 46px;
  --radius-md: 24px;
  --max-page: 1680px;
  --font-heading: "Antipol", ui-sans-serif, sans-serif;
  --font-display: "Antipol Extended", "Antipol", ui-sans-serif, sans-serif;
  --font-body: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;

  /* Marketplace cards  customize per brand */
  --logo-envato-bg: #e3f2f8;
  --logo-envato-border: rgba(59, 130, 168, 0.16);
  --logo-graphicriver-bg: #e8f3ee;
  --logo-graphicriver-border: rgba(56, 128, 96, 0.14);
  --logo-behance-bg: #e9eef8;
  --logo-behance-border: rgba(64, 96, 176, 0.14);
  --logo-dribbble-bg: #fce8ef;
  --logo-dribbble-border: rgba(180, 72, 112, 0.14);
  --logo-freepik-bg: #fff4e8;
  --logo-freepik-border: rgba(200, 120, 48, 0.14);
  --logo-gumroad-bg: #f0ebfc;
  --logo-gumroad-border: rgba(120, 88, 176, 0.14);
  /* Card spacing: negative = overlap, positive = gap (e.g. 12px), 0 = flush */
  --logo-card-space: 3px;

  /* Type scale  mobile-first, 16px base */
  --text-xs: clamp(0.6875rem, 0.66rem + 0.15vw, 0.75rem);
  --text-sm: clamp(0.8125rem, 0.79rem + 0.15vw, 0.875rem);
  --text-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --text-md: clamp(1.0625rem, 1.02rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.06rem + 0.35vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.12rem + 0.6vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.55rem + 1.6vw, 2.75rem);
  --text-4xl: clamp(2.125rem, 1.65rem + 2.2vw, 3.75rem);
  --text-5xl: clamp(2.5rem, 1.9rem + 2.8vw, 5rem);
  --text-hero: clamp(2.35rem, 1.05rem + 7.2vw, 7.125rem);
  --text-intro: clamp(1.5rem, 1.2rem + 2.2vw, 3.125rem);

  --leading-tight: 1.08;
  --leading-snug: 1.22;
  --leading-normal: 1.5;
  --leading-relaxed: 1.62;

  /* Vertical rhythm between sections */
  --section-space: clamp(72px, 9vw, 120px);
  --section-space-tight: clamp(40px, 5vw, 64px);
  --section-intro-gap: clamp(40px, 5vw, 56px);

  /* Hero spacing */
  --hero-pad-top: clamp(96px, 8vw, 120px);
  --hero-title-collage-gap: clamp(48px, 8vh, 96px);
  --hero-collage-trusted-gap: clamp(40px, 6vw, 64px);
  --bg-soft: #f8f8f6;
  --scroll-bg: var(--paper);

  font-family: var(--font-body);
  font-size: 100%;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--scroll-bg-stack, var(--scroll-bg));
  color: var(--ink);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  transition: background 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  letter-spacing: 0;
  line-height: var(--leading-normal);
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--scroll-bg-stack, var(--scroll-bg));
  transition: background 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

body.is-dark-bg .tornado-nav {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
}

button,
input,
textarea,
select {
  font-family: inherit;
}

/* Headings  Antipol */
h1,
h2,
h3,
h4,
.hero-title,
.top-text,
.main-text,
.section-intro h2,
.services-head h2,
.about-grid h2,
.help-panel h2,
.case-copy h3,
.mini-work-grid h3,
.process-step h3,
.why-card h4,
.team-name,
.pricing-amount,
.stat-num,
.platform-score,
.tornado-brand-text,
.faq-item summary,
.section-heading-row h2,
#testimonials-title,
#stats-title,
#platform-title,
#pricing-title,
#services-title,
#process-title,
#why-title,
#team-title,
#about-title,
#faq-title,
.careers-detail-block h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-title,
.top-text,
.main-text {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.service-name {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Typography  shared body copy */
p,
li,
blockquote,
.service-desc,
.section-intro p,
.services-head p,
.about-grid p,
.case-copy p,
.careers-detail-prose p,
.careers-detail-list li,
.mini-work-grid p,
.pricing-sub,
.pricing-list li,
.faq-item p,
.form-step-label,
.t-text,
.stat-label,
.platform-name,
.process-step p,
.why-card p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}

/* Typography  shared section titles (Antipol) */
.section-intro h2,
.services-head h2,
.about-grid h2,
.section-heading-row h2,
#testimonials-title,
#stats-title,
#platform-title,
#pricing-title,
#services-title,
#process-title,
#why-title,
#team-title,
#about-title,
#faq-title {
  font-size: var(--text-4xl);
  line-height: var(--leading-tight);
}

.section-intro p,
.services-head p {
  font-size: var(--text-md);
  color: var(--muted);
}

.section-eyebrow,
.trusted-label,
.case-meta,
.process-step-num {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

img {
  display: block;
  max-width: 100%;
}

/* CMS picture wrapper — keep original layout slots (flex/grid/aspect-ratio) */
picture.cms-media {
  display: contents;
}

/* Aspect-ratio frames — picture must not use display:contents or img escapes the box */
.case-media picture.cms-media,
.team-card-media picture.cms-media,
.team-card-media > img.cms-media {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  max-width: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

/* Tiny Tailwind-like Utility Layer */
.bg-white { background: var(--paper); }
.text-ink { color: var(--ink); }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Shared Layout */
.section {
  position: relative;
  width: 100%;
}

.container {
  width: min(var(--max-page), 100%);
  margin-inline: auto;
  padding-inline: clamp(28px, 4vw, 72px);
}

/* Section Divider */
.section-divider {
  width: min(var(--max-page), calc(100% - clamp(56px, 8vw, 144px)));
  height: 1px;
  margin: 0 auto;
  background: rgba(8, 10, 12, 0.12);
  transform-origin: center center;
}

.scroll-reveal-line {
  transform: scaleX(0);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal-line.is-revealed {
  transform: scaleX(1);
}

/* Navigation */
.tornado-nav {
  position: sticky;
  top: 12px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
  margin-top: 16px;
  padding: 14px 20px;
  border: 1px solid rgba(8, 10, 12, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 16px rgba(8, 10, 12, 0.06);
  transform: translate3d(0, 0, 0);
  transition:
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 240ms ease,
    box-shadow 240ms ease,
    background 240ms ease,
    opacity 360ms cubic-bezier(0.22, 1, 0.36, 1);
  animation: nav-enter 0.45s ease both;
}

.tornado-nav.is-hidden {
  transform: translate3d(0, calc(-100% - 28px), 0);
  opacity: 0;
  pointer-events: none;
}

@keyframes nav-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

.tornado-nav.is-scrolled {
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 6px 20px rgba(8, 10, 12, 0.1);
}

.tornado-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.tornado-logo-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid rgba(8, 10, 12, 0.1);
  border-radius: 8px;
  background: rgba(8, 10, 12, 0.04);
  color: var(--ink);
}

.tornado-logo-mark svg {
  width: 20px;
  height: 20px;
}

.tornado-logo-mark.has-image {
  border: none;
  background: transparent;
  overflow: hidden;
}

.tornado-logo-mark .tornado-logo-image,
.tornado-logo-mark .cms-media,
.tornado-logo-mark picture,
.tornado-logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.tornado-brand-text {
  color: var(--ink);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.tornado-menu {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 4px;
  border: 1px solid rgba(8, 10, 12, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
}

.tornado-menu-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.2;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.tornado-menu-link:hover {
  color: var(--ink);
}

.tornado-menu-link.is-active {
  border-color: rgba(8, 10, 12, 0.1);
  background: #ffffff;
  color: var(--ink);
  box-shadow: none;
}

.tornado-menu-link.is-active .tornado-menu-dot {
  opacity: 1;
  transform: scale(1);
}

.tornado-menu-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #df6726;
  opacity: 0;
  transform: scale(0);
  transition: opacity 220ms ease, transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tornado-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border: 1px solid rgba(8, 10, 12, 0.08);
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 10px 24px rgba(8, 10, 12, 0.18);
  transition: background 180ms ease, transform 180ms ease;
}

.tornado-cta:hover {
  background: #1a1d21;
  transform: translateY(-1px);
}

.tornado-availability {
  flex: 0 1 auto;
  max-width: 12rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(8, 10, 12, 0.04);
  color: var(--muted);
  font-size: var(--text-xs);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile-first nav: compact bar + drawer (desktop pill restored at 810px+) */
.tornado-menu--desktop,
.tornado-cta--desktop,
.tornado-availability--desktop {
  display: none;
}

.tornado-nav-mobile {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.tornado-cta--mobile {
  padding: 8px 14px;
  font-size: var(--text-xs);
}

.tornado-nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(8, 10, 12, 0.1);
  border-radius: 12px;
  background: rgba(8, 10, 12, 0.04);
  color: var(--ink);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.tornado-nav-toggle:hover {
  background: rgba(8, 10, 12, 0.08);
}

.tornado-nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

.tornado-nav-toggle.is-open .tornado-nav-toggle-bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

.tornado-nav-toggle.is-open .tornado-nav-toggle-bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.tornado-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}

.tornado-nav-drawer[hidden] {
  display: none !important;
}

.tornado-nav-drawer:not([hidden]) {
  display: block;
  pointer-events: auto;
}

.tornado-nav-drawer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(8, 10, 12, 0.56);
  opacity: 0;
  transition: opacity 280ms ease;
  cursor: pointer;
}

.tornado-nav-drawer:not([hidden]) .tornado-nav-drawer-backdrop {
  opacity: 1;
}

.tornado-nav-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 100dvh;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 24px calc(24px + env(safe-area-inset-bottom, 0px));
  background: #ffffff;
  box-shadow: none;
  transform: translate3d(100%, 0, 0);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 1;
}

.tornado-nav-drawer:not([hidden]) .tornado-nav-drawer-panel {
  transform: translate3d(0, 0, 0);
}

.tornado-nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tornado-nav-drawer-label {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tornado-nav-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(8, 10, 12, 0.1);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.tornado-nav-drawer-links {
  display: grid;
  gap: 8px;
}

.tornado-nav-drawer-link {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(8, 10, 12, 0.08);
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.tornado-nav-drawer-link.is-active {
  color: var(--teal-text);
}

.tornado-nav-drawer-meta {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(8, 10, 12, 0.04);
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.45;
}

.tornado-cta--drawer {
  width: 100%;
  margin-top: auto;
  padding: 14px 20px;
  text-align: center;
}

body.nav-drawer-open {
  overflow: hidden;
  touch-action: none;
}

.tornado-nav.is-menu-open {
  z-index: 210;
}

@media (prefers-reduced-motion: reduce) {
  .tornado-nav-drawer-panel,
  .tornado-nav-drawer-backdrop,
  .tornado-nav-toggle-bar {
    transition: none;
  }
}

@media (min-width: 810px) {
  .tornado-menu--desktop {
    display: flex;
  }

  .tornado-cta--desktop {
    display: inline-flex;
  }

  .tornado-availability--desktop {
    display: block;
  }

  .tornado-nav-mobile,
  .tornado-nav-drawer {
    display: none;
  }
}

/* Hero Section */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--hero-pad-top) 0 var(--hero-collage-trusted-gap);
  overflow: hidden;
}

.hero-title {
  width: min(1400px, 92vw);
  max-width: 22ch;
  margin: 0 auto;
  color: var(--ink);
  font-size: var(--text-hero);
  font-weight: 500;
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  text-align: center;
}

.hero-title-line {
  display: block;
  overflow: hidden;
  opacity: 0;
  transform: translate3d(0, 72px, 0);
  filter: blur(10px);
  transition:
    opacity 1.15s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.15s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1s ease;
}

.hero-title.is-animated .hero-title-line:nth-child(1) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 0.2s;
}

.hero-title.is-animated .hero-title-line:nth-child(2) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 0.55s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-title-line {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

.hero-copy {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: var(--hero-title-collage-gap);
}

.hero-collage {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.1s,
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.hero-collage.is-revealed {
  opacity: 1;
  transform: none;
}

.hero-collage-track {
  display: flex;
  gap: 0;
  width: max-content;
  visibility: hidden;
  will-change: transform;
  animation: hero-collage-drift 240s linear infinite;
  animation-play-state: paused;
}

.hero-collage-track.is-ready {
  visibility: visible;
  animation-play-state: running;
}

.hero-collage-track img {
  width: clamp(960px, 125vw, 1920px);
  height: auto;
  max-width: none;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@keyframes hero-collage-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(var(--hero-collage-shift, -50%), 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-collage-track {
    visibility: visible;
    animation: none;
    transform: translate3d(-25%, 0, 0);
  }
}

/* AOS  interaction stays usable after animate */
[data-aos].aos-animate {
  pointer-events: auto;
}

.case-media.aos-animate,
.form-choice.aos-animate,
.tornado-menu-link.aos-animate {
  will-change: auto;
}

.form-choice.aos-animate {
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .logo-carousel-track {
    animation: none !important;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    will-change: auto;
  }

  .logo-carousel:hover .logo-carousel-track {
    animation-play-state: running;
  }

  .testimonials-marquee-track {
    animation: none !important;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    will-change: auto;
  }

  .testimonials-scroll:hover .testimonials-marquee-track {
    animation-play-state: running;
  }

  .logo-card img {
    filter: none;
    opacity: 1;
  }

  .testimonials-scroll {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .team-scroll {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .testimonials-scroll .testimonial-card,
  .testimonials-scroll.is-ready .testimonials-marquee-set .testimonial-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .team-scroll .team-card,
  .team-scroll.is-ready .team-card:not([data-clone]) {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-collage {
    opacity: 1;
    transition: none;
  }

  .scroll-reveal-block .top-text,
  .scroll-reveal-block .main-text,
  .scroll-reveal-block .word-pop,
  .case-copy,
  .quote-panel::before,
  .quote-panel blockquote,
  .quote-panel .person {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    animation: none !important;
  }

  .scroll-reveal-fade .logo-carousel {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .service-row[open] .service-desc,
  .faq-item[open] p {
    max-height: none;
    opacity: 1;
  }

  .stat-item.aos-animate .stat-num {
    animation: none;
  }

  .form-step.is-entering .form-field {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .scroll-reveal-line {
    transform: scaleX(1);
    transition: none;
  }

  .case-media img {
    transform: none !important;
    transition: none !important;
  }

  .why-card:hover,
  .pricing-card:hover,
  .platform-badge:hover,
  .team-card:hover,
  .testimonial-card:hover,
  .footer-cta-btn:hover,
  .case-card:hover .case-media img {
    transform: none !important;
    box-shadow: none;
  }

  .tornado-nav {
    transition: none;
    animation: none;
    transform: none !important;
    opacity: 1 !important;
  }

  html,
  .page-bg {
    transition: none !important;
  }
}

/* Trusted By / Logo Carousel */
.trusted-section {
  padding: var(--hero-collage-trusted-gap) 0 clamp(48px, 7vw, 80px);
}

.trusted-head {
  margin-bottom: clamp(24px, 4vw, 40px);
}

.trusted-label {
  margin: 0;
  text-align: center;
  color: var(--muted);
}

.logo-carousel {
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
}

.logo-carousel:hover .logo-carousel-track {
  animation-play-state: paused;
}

.logo-carousel-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 0;
  animation: logo-carousel-scroll 40s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}

.logo-carousel-track.is-ready {
  animation-play-state: running;
}

.logo-carousel-set {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0;
}

.logo-card {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: clamp(150px, 18vw, 180px);
  height: clamp(116px, 14vw, 140px);
  margin: 0;
  border: 1px solid var(--logo-card-border, rgba(8, 10, 12, 0.1));
  border-radius: var(--radius-md);
  background: var(--logo-card-bg, #f8f8f6);
  transform-origin: center center;
  transition: border-color 180ms ease, transform 180ms ease;
}

.logo-carousel-set .logo-card + .logo-card {
  margin-left: var(--logo-card-space);
}

.logo-carousel-set .logo-card:nth-child(1) {
  --logo-card-bg: var(--logo-envato-bg);
  --logo-card-border: var(--logo-envato-border);
}

.logo-carousel-set .logo-card:nth-child(2) {
  --logo-card-bg: var(--logo-graphicriver-bg);
  --logo-card-border: var(--logo-graphicriver-border);
}

.logo-carousel-set .logo-card:nth-child(3) {
  --logo-card-bg: var(--logo-behance-bg);
  --logo-card-border: var(--logo-behance-border);
}

.logo-carousel-set .logo-card:nth-child(4) {
  --logo-card-bg: var(--logo-dribbble-bg);
  --logo-card-border: var(--logo-dribbble-border);
}

.logo-carousel-set .logo-card:nth-child(5) {
  --logo-card-bg: var(--logo-freepik-bg);
  --logo-card-border: var(--logo-freepik-border);
}

.logo-carousel-set .logo-card:nth-child(6) {
  --logo-card-bg: var(--logo-gumroad-bg);
  --logo-card-border: var(--logo-gumroad-border);
}

.logo-card img {
  display: block;
  max-width: clamp(88px, 10vw, 120px);
  max-height: clamp(28px, 3.5vw, 40px);
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
  transition:
    filter 400ms ease,
    opacity 400ms ease,
    transform 400ms ease;
}

.logo-card:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.logo-carousel-set .logo-card:nth-child(6n+1) { transform: rotate(-3deg); }
.logo-carousel-set .logo-card:nth-child(6n+2) { transform: rotate(2.5deg); }
.logo-carousel-set .logo-card:nth-child(6n+3) { transform: rotate(-1.5deg); }
.logo-carousel-set .logo-card:nth-child(6n+4) { transform: rotate(3deg); }
.logo-carousel-set .logo-card:nth-child(6n+5) { transform: rotate(-2deg); }
.logo-carousel-set .logo-card:nth-child(6n+6) { transform: rotate(1deg); }

.logo-card:hover {
  border-color: rgba(73, 174, 202, 0.45);
}

/* Shift distance set in JS  fallback only */
@keyframes logo-carousel-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* Intro Statement Section */
.popup-text-section {
  --intro-muted: rgba(79, 83, 79, 0.48);
  --intro-accent: #050505;
  min-height: 100vh;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.top-text {
  margin: 0 0 90px;
  text-align: center;
  font-size: var(--text-intro);
  line-height: var(--leading-snug);
  letter-spacing: -0.02em;
  color: #050505;
}

.main-text {
  margin: 0;
  text-align: center;
  font-size: var(--text-intro);
  line-height: var(--leading-snug);
  letter-spacing: -0.02em;
  color: var(--intro-muted, rgba(79, 83, 79, 0.48));
  font-weight: 500;
}

.scroll-reveal-block .top-text,
.scroll-reveal-block .main-text {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  filter: blur(8px);
  transition:
    opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.85s ease;
}

.scroll-reveal-block.is-revealed .top-text {
  opacity: 1;
  transform: none;
  filter: blur(0);
  transition-delay: 0.05s;
}

.scroll-reveal-block.is-revealed .main-text {
  opacity: 1;
  transform: none;
  filter: blur(0);
  transition-delay: 0.28s;
}

.scroll-reveal-block .word-pop {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--word-delay, 0.4s);
}

.scroll-reveal-block.is-revealed .word-pop {
  opacity: 1;
  transform: none;
}

.scroll-reveal-fade .logo-carousel {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.1s,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.scroll-reveal-fade.is-revealed .logo-carousel {
  opacity: 1;
  transform: none;
}

.word-pop {
  position: relative;
  display: inline-block;
  color: var(--intro-accent, #050505);
  cursor: pointer;
  z-index: 5;
  outline: none;
}

.word-pop:hover,
.word-pop:focus-visible {
  z-index: 12;
}

.popup-card {
  position: absolute;
  left: 50%;
  bottom: 105%;
  width: clamp(220px, 28vw, 320px);
  background: transparent;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 28px) scale(0.88);
  transition: opacity 0.35s ease, transform 0.55s cubic-bezier(0.16, 0.84, 0.32, 1);
  z-index: 20;
}

.popup-stack {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(168px, 22vw, 236px);
}

.popup-stack img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 74%;
  height: 80%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 4px 14px rgba(8, 10, 12, 0.08),
    0 18px 40px rgba(8, 10, 12, 0.16);
  object-fit: cover;
  display: block;
  transform-origin: center center;
  transition: transform 0.55s cubic-bezier(0.16, 0.84, 0.32, 1);
}

.popup-stack img:nth-child(1) {
  z-index: 1;
  transform: translate(calc(-50% - 22px), calc(-50% - 12px)) rotate(-7deg) scale(0.9);
}

.popup-stack img:nth-child(2) {
  z-index: 3;
  transform: translate(-50%, -50%) rotate(3deg) scale(0.94);
}

.popup-stack img:nth-child(3) {
  z-index: 2;
  transform: translate(calc(-50% + 22px), calc(-50% + 14px)) rotate(10deg) scale(0.9);
}

.word-pop:hover .popup-card,
.word-pop:focus-within .popup-card {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.word-pop:hover .popup-stack img:nth-child(1),
.word-pop:focus-within .popup-stack img:nth-child(1) {
  transform: translate(calc(-50% - 24px), calc(-50% - 14px)) rotate(-7deg) scale(0.94);
}

.word-pop:hover .popup-stack img:nth-child(2),
.word-pop:focus-within .popup-stack img:nth-child(2) {
  transform: translate(-50%, -50%) rotate(3deg) scale(1);
}

.word-pop:hover .popup-stack img:nth-child(3),
.word-pop:focus-within .popup-stack img:nth-child(3) {
  transform: translate(calc(-50% + 24px), calc(-50% + 16px)) rotate(10deg) scale(0.94);
}

.main-text:has(.word-pop:hover),
.main-text:has(.word-pop:focus-within) {
  color: var(--intro-muted, rgba(79, 83, 79, 0.48));
}

/* Shared back link (case detail + projects index) */
.case-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  width: max-content;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.case-back:hover {
  color: var(--teal-text);
  transform: translateX(-3px);
}

.case-back svg {
  width: 14px;
  height: 14px;
}

/* Featured Work Section */
.work-section {
  padding-block: var(--section-space-tight) var(--section-space);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 36px) clamp(32px, 4vw, 40px);
}

.case-card {
  display: grid;
  gap: clamp(14px, 2vw, 18px);
}

.case-card-large {
  grid-column: span 1;
  grid-template-columns: 1fr;
  align-items: start;
}

.case-media {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: clamp(20px, 2.5vw, var(--radius-md));
  background: #f4f1ea;
}

.case-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.case-card.aos-animate .case-media img {
  transform: scale(1);
}

.case-card:hover .case-media img {
  transform: scale(1.05);
}

.case-card .case-copy {
  display: grid;
  gap: 6px;
  padding-right: clamp(0px, 3vw, 24px);
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 0.7s ease 0.12s,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

.case-card.aos-animate .case-copy {
  opacity: 1;
  transform: none;
}

.case-copy h3,
.case-copy h3 a {
  margin: 0;
  font-size: clamp(1.625rem, 1.4rem + 1vw, 2.25rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.case-copy h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.case-copy h3 a:hover {
  color: var(--teal-text);
}

.case-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.case-copy .case-meta {
  margin: 0;
  color: var(--ink);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.case-copy a,
.section-heading-row a {
  position: relative;
  width: max-content;
  margin-top: 4px;
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: var(--leading-snug);
  border-bottom: none;
  text-decoration: none;
}

.case-copy a::after,
.section-heading-row a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.case-copy a:hover::after,
.section-heading-row a:hover::after {
  transform: scaleX(0.35);
  transform-origin: right center;
}

/* Quote And Help Section */
.quote-help-section {
  padding: var(--section-space) 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}

.quote-panel {
  position: relative;
  min-height: 840px;
  padding: 210px 86px 86px;
  border-radius: var(--radius-xl);
  background: var(--aqua);
  text-align: center;
  overflow: hidden;
}

.quote-panel::before {
  content: "\201C";
  position: absolute;
  top: 72px;
  left: 50%;
  color: rgba(8, 10, 12, 0.08);
  font-family: var(--font-heading);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  transform: translate3d(-50%, 12px, 0) scale(0.72);
  opacity: 0;
  transition:
    opacity 0.8s ease 0.15s,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.quote-panel.aos-animate::before {
  opacity: 1;
  transform: translate3d(-50%, 0, 0) scale(1);
}

.quote-panel blockquote {
  margin: 0 auto 72px;
  max-width: 620px;
  color: var(--muted);
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: var(--leading-relaxed);
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 0.75s ease 0.2s,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.quote-panel.aos-animate blockquote {
  opacity: 1;
  transform: none;
}

.person {
  display: grid;
  justify-items: center;
  gap: 18px;
  color: var(--ink);
  font-size: var(--text-base);
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 0.75s ease 0.38s,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.38s;
}

.quote-panel.aos-animate .person {
  opacity: 1;
  transform: none;
}

.person span {
  color: var(--muted);
}

.person img {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  object-fit: cover;
}

.person p,
.person span {
  margin: 0;
}

/* Contact — rotating project previews (replaces quote panel content) */
.quote-panel--visual {
  padding: 0;
  min-height: 840px;
  background: #eef8f8;
  text-align: left;
}

.quote-panel--visual::before {
  content: none;
  display: none;
}

.contact-visual {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
}

.contact-visual-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.contact-visual picture.cms-media {
  position: absolute;
  inset: 0;
  display: block;
}

.contact-visual-slide.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .contact-visual-slide {
    transition: none;
  }
}

.help-panel {
  min-height: 840px;
  padding: 132px 72px 96px;
  border-radius: var(--radius-xl);
  background: var(--cream);
  overflow: hidden;
}

.help-panel h2 {
  margin: 0 0 72px;
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: var(--leading-tight);
}

.form-step-label {
  margin: 0 0 36px;
  color: var(--muted);
  text-align: right;
}

.contact-form {
  display: grid;
  gap: 24px;
}

.form-steps {
  position: relative;
  min-height: 280px;
}

.form-step {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
  transition: opacity 320ms ease, transform 320ms ease;
}

.form-step.is-active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.form-step.is-leaving {
  position: absolute;
  opacity: 0;
  transform: translateX(-24px);
}

.form-step.is-entering .form-field {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  animation: field-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.form-step.is-entering .form-field:nth-child(1) { animation-delay: 0.05s; }
.form-step.is-entering .form-field:nth-child(2) { animation-delay: 0.12s; }
.form-step.is-entering .form-field:nth-child(3) { animation-delay: 0.19s; }

@keyframes field-in {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.form-choice-list {
  display: grid;
  gap: 12px;
}

.form-choice {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 96px;
  padding: 24px 36px;
  border-radius: 28px;
  background: white;
  color: var(--ink);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: var(--leading-snug);
  text-align: right;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.form-choice:hover {
  transform: translateX(-4px);
}

.form-choice.is-selected {
  justify-content: flex-start;
  text-align: left;
  box-shadow: 0 12px 28px rgba(8, 10, 12, 0.08);
}

.form-fields {
  display: grid;
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field span {
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 18px 22px;
  border: 1px solid rgba(8, 10, 12, 0.12);
  border-radius: 18px;
  background: white;
  color: var(--ink);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  font-family: inherit;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(73, 174, 202, 0.45);
  outline-offset: 2px;
}

.form-nav {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.form-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease;
}

.form-nav-btn[hidden] {
  display: none !important;
}

.form-nav-btn:hover {
  opacity: 0.88;
}

.form-nav-btn.is-back {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(8, 10, 12, 0.16);
}

.form-nav-btn.is-submit {
  background: var(--ink);
}

.form-nav-btn.is-submit:hover {
  background: #1a1d21;
}

@media (prefers-reduced-motion: reduce) {
  .form-step,
  .form-step.is-active,
  .form-step.is-leaving {
    transition: none;
    transform: none;
  }
}

/* Shared Section Intro */
.section-eyebrow {
  margin: 0 0 14px;
  color: var(--teal-text);
  transition: letter-spacing 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-eyebrow.aos-animate {
  letter-spacing: 0.14em;
}

.section-intro {
  display: grid;
  gap: 18px;
  max-width: 720px;
  margin-bottom: var(--section-intro-gap);
}

.section-intro h2 {
  margin: 0;
  font-weight: 500;
}

.section-intro p {
  margin: 0;
}

/* Services Section */
.services-section {
  padding-bottom: var(--section-space);
}

.services-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
}

.services-head h2 {
  margin: 0;
  max-width: 620px;
  font-size: var(--text-5xl);
  font-weight: 500;
  line-height: var(--leading-tight);
}

.services-head p {
  margin: 0;
  max-width: 360px;
  text-align: right;
}

.services-list {
  position: relative;
  border-top: 1px solid rgba(8, 10, 12, 0.12);
  overflow: visible;
}

.service-row {
  position: relative;
  border-bottom: 1px solid rgba(8, 10, 12, 0.12);
  overflow: visible;
}

.service-row:has(summary:hover),
.service-row:has(summary:focus-within) {
  z-index: 12;
}

.service-row summary {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 32px 4px;
  cursor: pointer;
  list-style: none;
}

.service-row summary::-webkit-details-marker {
  display: none;
}

.service-row summary::marker {
  content: "";
}

.service-num {
  flex: 0 0 auto;
  min-width: 36px;
  color: var(--muted);
  font-size: var(--text-sm);
}

.service-name {
  flex: 1;
  min-width: 0;
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: var(--leading-snug);
  transition: color 180ms ease;
}

.service-popup-preview {
  position: absolute;
  top: 50%;
  right: clamp(52px, 6vw, 72px);
  width: clamp(210px, 24vw, 300px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-42%) scale(0.9);
  transition:
    opacity 0.35s ease,
    transform 0.55s cubic-bezier(0.16, 0.84, 0.32, 1);
  z-index: 1;
}

.service-popup-preview .service-popup-stack {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(132px, 16vw, 196px);
}

.service-popup-stack img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72%;
  height: 78%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 6px 16px rgba(8, 10, 12, 0.07),
    0 16px 34px rgba(8, 10, 12, 0.12);
  object-fit: cover;
  display: block;
  transform-origin: center center;
  transition: transform 0.55s cubic-bezier(0.16, 0.84, 0.32, 1);
}

.service-popup-stack img:nth-child(1) {
  z-index: 1;
  transform: translate(calc(-50% - 30px), calc(-50% + 8px)) rotate(-8deg) scale(0.86);
}

.service-popup-stack img:nth-child(2) {
  z-index: 2;
  transform: translate(calc(-50% - 6px), calc(-50% - 2px)) rotate(2deg) scale(0.92);
}

.service-popup-stack img:nth-child(3) {
  z-index: 3;
  transform: translate(calc(-50% + 26px), calc(-50% - 10px)) rotate(9deg) scale(0.96);
}

.services-list:has(.service-row summary:hover) .service-row:not(:has(summary:hover)) .service-name,
.services-list:has(.service-row summary:focus-within) .service-row:not(:has(summary:focus-within)) .service-name {
  color: var(--muted);
}

@media (hover: hover) {
  .service-row summary:hover .service-popup-preview {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }

  .service-row summary:hover .service-popup-stack img:nth-child(1) {
    transform: translate(calc(-50% - 34px), calc(-50% + 6px)) rotate(-9deg) scale(0.9);
  }

  .service-row summary:hover .service-popup-stack img:nth-child(2) {
    transform: translate(calc(-50% - 4px), calc(-50% - 4px)) rotate(3deg) scale(0.96);
  }

  .service-row summary:hover .service-popup-stack img:nth-child(3) {
    transform: translate(calc(-50% + 30px), calc(-50% - 14px)) rotate(11deg) scale(1);
  }

  .service-row summary:hover .service-name {
    color: var(--intro-accent, #050505);
  }
}

.service-toggle {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(8, 10, 12, 0.18);
  border-radius: 999px;
}

.service-toggle::before,
.service-toggle::after {
  content: "";
  position: absolute;
  background: var(--ink);
}

.service-toggle::before {
  top: 9px;
  bottom: 9px;
  left: 50%;
  width: 1.5px;
  transform: translateX(-50%);
  transition: transform 220ms ease;
}

.service-toggle::after {
  top: 50%;
  left: 9px;
  right: 9px;
  height: 1.5px;
  transform: translateY(-50%);
}

.service-row[open] .service-toggle::before {
  transform: translateX(-50%) scaleY(0);
}

.service-desc {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0 0 0 64px;
  padding: 0;
  max-width: 640px;
  color: var(--muted);
  line-height: var(--leading-relaxed);
  transition:
    max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    margin 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-row[open] .service-desc {
  max-height: 180px;
  opacity: 1;
  margin: 0 0 12px 64px;
}

.service-portfolio-link-wrap {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0 0 0 64px;
  transition:
    max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    margin 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-portfolio-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-portfolio-link:hover {
  color: var(--teal);
}

.service-row[open] .service-portfolio-link-wrap {
  max-height: 48px;
  opacity: 1;
  margin: 0 0 32px 64px;
}

/* Process Section */
.process-section {
  padding-bottom: var(--section-space);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.process-intro-sticky {
  position: sticky;
  top: clamp(96px, 12vh, 140px);
  margin-bottom: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.process-step {
  display: grid;
  gap: 16px;
  padding-top: 28px;
  border-top: 2px solid rgba(8, 10, 12, 0.14);
  transition: border-color 0.55s ease 0.12s;
}

.process-step.aos-animate {
  border-top-color: rgba(73, 174, 202, 0.55);
}

.process-step-num {
  margin: 0;
  color: var(--teal-text);
  font-weight: 700;
}

.process-step h3 {
  margin: 0;
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: var(--leading-snug);
}

.process-step p {
  margin: 0;
  color: var(--muted);
}

/* Why Us Section */
.why-section {
  padding-bottom: var(--section-space-tight);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.why-card {
  display: grid;
  gap: 18px;
  padding: 36px 28px;
  border-radius: var(--radius-md);
  background: #f8f8f6;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(8, 10, 12, 0.06);
}

.why-num {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 600;
}

.why-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  background: var(--aqua);
  color: var(--teal-text);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-card:hover .why-icon {
  transform: rotate(-8deg) scale(1.06);
}

.why-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-card h4 {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: var(--leading-snug);
}

.why-card p {
  margin: 0;
  color: var(--muted);
}

/* Testimonials Section */
.testimonials-section {
  padding: 0 0 var(--section-space);
}

.testimonials-panel {
  padding: clamp(56px, 7vw, 80px) 0 clamp(48px, 6vw, 72px);
  border-radius: var(--radius-xl);
  background: var(--aqua);
  overflow: visible;
}

.testimonials-intro {
  margin: 0 0 var(--section-intro-gap);
  padding-inline: clamp(20px, 5vw, 72px);
}

.testimonials-scroll {
  overflow: hidden;
  width: 100%;
  padding: 32px clamp(20px, 5vw, 72px) 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
}

.testimonials-scroll:hover .testimonials-marquee-track {
  animation-play-state: paused;
}

.testimonials-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: testimonials-marquee-scroll 90s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}

.testimonials-marquee-track.is-ready {
  animation-play-state: running;
}

.testimonials-marquee-set {
  display: contents;
}

.testimonials-scroll .testimonial-card {
  opacity: 0;
  transform: translate3d(28px, 0, 0);
  transition:
    opacity 650ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 240ms ease;
}

.testimonials-scroll.is-ready .testimonials-marquee-set:first-of-type .testimonial-card {
  opacity: 1;
  transform: none;
}

.testimonials-scroll.is-ready .testimonials-marquee-set[aria-hidden="true"] .testimonial-card {
  opacity: 1;
  transform: none;
  transition: none;
}

.testimonials-scroll.is-ready .testimonials-marquee-set:first-of-type .testimonial-card:nth-child(1) { transition-delay: 0.04s; }
.testimonials-scroll.is-ready .testimonials-marquee-set:first-of-type .testimonial-card:nth-child(2) { transition-delay: 0.1s; }
.testimonials-scroll.is-ready .testimonials-marquee-set:first-of-type .testimonial-card:nth-child(3) { transition-delay: 0.16s; }
.testimonials-scroll.is-ready .testimonials-marquee-set:first-of-type .testimonial-card:nth-child(4) { transition-delay: 0.22s; }
.testimonials-scroll.is-ready .testimonials-marquee-set:first-of-type .testimonial-card:nth-child(5) { transition-delay: 0.28s; }
.testimonials-scroll.is-ready .testimonials-marquee-set:first-of-type .testimonial-card:nth-child(6) { transition-delay: 0.34s; }
.testimonials-scroll.is-ready .testimonials-marquee-set:first-of-type .testimonial-card:nth-child(7) { transition-delay: 0.4s; }
.testimonials-scroll.is-ready .testimonials-marquee-set:first-of-type .testimonial-card:nth-child(8) { transition-delay: 0.46s; }

@keyframes testimonials-marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: min(380px, 80vw);
  height: 100%;
  gap: 24px;
  padding: 36px 32px;
  border-radius: 28px;
  background: var(--paper);
  box-shadow:
    0 2px 8px rgba(8, 10, 12, 0.06),
    0 12px 36px rgba(8, 10, 12, 0.1);
  scroll-snap-align: start;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms ease;
  user-select: none;
}

.testimonials-scroll.is-ready .testimonials-marquee-set:first-of-type .testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 4px 12px rgba(8, 10, 12, 0.08),
    0 20px 48px rgba(8, 10, 12, 0.12);
}

.testimonials-scroll:not(.is-ready) .testimonial-card:hover {
  transform: translate3d(28px, 0, 0);
  box-shadow:
    0 2px 8px rgba(8, 10, 12, 0.06),
    0 12px 36px rgba(8, 10, 12, 0.1);
}

.t-stars {
  color: #df6726;
  font-size: var(--text-sm);
  letter-spacing: 0.2em;
}

.t-text {
  flex: 1 1 auto;
  margin: 0;
  color: var(--ink);
  line-height: 1.55;
  text-wrap: pretty;
}

.t-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-size: var(--text-xs);
  font-weight: 700;
}

.t-name {
  margin: 0;
  font-size: var(--text-base);
  font-weight: 600;
}

.t-role {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
}

.t-divider {
  flex: 0 0 auto;
  height: 1px;
  background: rgba(8, 10, 12, 0.1);
}

.t-who {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Pricing Section */
.pricing-section {
  padding-bottom: var(--section-space);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.pricing-card {
  display: grid;
  gap: 22px;
  padding: 48px 40px;
  border: 1px solid rgba(8, 10, 12, 0.08);
  border-radius: var(--radius-lg);
  background: #f8f8f6;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(8, 10, 12, 0.08);
}

.pricing-card.is-featured {
  background: var(--ink);
  color: var(--paper);
  border-color: transparent;
}

.pricing-label {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-card.is-featured .pricing-label {
  color: var(--on-dark-muted);
}

.pricing-card.is-featured .pricing-amount span {
  color: var(--on-dark-muted);
}

.pricing-sub {
  margin: 0;
  color: var(--muted);
}

.pricing-card.is-featured .pricing-sub {
  color: var(--on-dark-muted);
}

.pricing-card.is-featured .pricing-list li {
  color: var(--on-dark-muted);
}

.pricing-list li::before {
  content: "✓";
  color: var(--teal-text);
  font-weight: 700;
}

.pricing-card.is-featured .pricing-list li::before {
  color: var(--teal-on-dark);
}

.pricing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  padding: 15px 0;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.2;
  transition: background 180ms ease, transform 180ms ease;
}

.pricing-cta:hover {
  background: #1a1d21;
  transform: translateY(-1px);
}

.pricing-card.is-featured .pricing-cta {
  background: var(--paper);
  color: var(--ink);
}

.pricing-card.is-featured .pricing-cta:hover {
  background: #f0f0f0;
}

.pricing-amount {
  margin: 0;
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: var(--leading-tight);
}

.pricing-amount span {
  color: var(--muted);
  font-size: var(--text-base);
  font-weight: 500;
}

.pricing-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(8, 10, 12, 0.1);
  list-style: none;
}

.pricing-card.is-featured .pricing-list {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}

.pricing-cta.is-outline {
  background: transparent;
  border: 1px solid rgba(8, 10, 12, 0.18);
  color: var(--ink);
}

.pricing-cta.is-outline:hover {
  background: rgba(8, 10, 12, 0.04);
  border-color: rgba(8, 10, 12, 0.28);
  color: var(--ink);
}

/* FAQ Section */
.faq-section {
  padding-bottom: var(--section-space);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 96px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 32px;
}

.faq-intro h2 {
  margin: 12px 0 20px;
  font-weight: 500;
}

.faq-intro p {
  margin: 0;
  color: var(--muted);
}

.faq-cat {
  margin: 32px 0 8px;
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.faq-intro a {
  color: var(--teal-text);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

.faq-cat:first-child {
  margin-top: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(8, 10, 12, 0.12);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  cursor: pointer;
  list-style: none;
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: var(--leading-snug);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--muted);
  font-size: var(--text-xl);
  font-weight: 400;
  transition: transform 200ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  max-width: 540px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  padding: 0 4px;
  color: var(--muted);
  transition:
    max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    margin 0.45s ease;
}

.faq-item[open] p {
  max-height: 260px;
  opacity: 1;
  margin: 0 0 24px;
}

/* More Work Section */
.more-work-section {
  padding-bottom: var(--section-space);
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.section-heading-row h2 {
  margin: 0;
  font-size: var(--text-5xl);
  font-weight: 500;
  line-height: var(--leading-tight);
}

.mini-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.mini-work-grid article {
  display: grid;
  overflow: hidden;
}

.mini-work-grid .mini-work-link {
  display: grid;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}

.mini-work-grid .case-media img {
  transform: none;
}

.mini-work-grid article:hover .case-media img,
.mini-work-grid .mini-work-link:hover .case-media img {
  transform: scale(1.04);
}

.mini-work-grid .mini-work-link:hover h3 {
  color: var(--teal-text);
}

.mini-work-grid h3 {
  margin: 0;
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: var(--leading-snug);
}

.mini-work-grid p {
  margin: 0;
  color: var(--muted);
}

/* About Section */
.about-section {
  padding-bottom: var(--section-space);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 96px;
  align-items: start;
}

.about-grid h2 {
  margin: 0;
  font-size: var(--text-5xl);
  text-wrap: balance;
}

.about-grid p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

.stats-section {
  padding: clamp(64px, 8vw, 96px) 0 clamp(48px, 6vw, 64px);
  color: #ffffff;
}

.stats-intro {
  max-width: 640px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.stats-intro .section-eyebrow {
  color: var(--teal-on-dark);
}

.stats-intro h2 {
  color: #ffffff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 40px);
}

.stat-item {
  display: grid;
  gap: clamp(8px, 1.5vw, 12px);
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-num {
  margin: 0;
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.stat-item.aos-animate .stat-num {
  animation: stat-pop 0.7s cubic-bezier(0.34, 1.35, 0.64, 1) 0.12s both;
}

@keyframes stat-pop {
  from {
    opacity: 0.35;
    transform: scale(0.86);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.stat-label {
  margin: 0;
  color: var(--on-dark-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

/* Team Section */
.team-section {
  padding-bottom: var(--section-space);
  overflow-x: clip;
}

.team-section .container {
  overflow: visible;
}

.team-careers-link-wrap {
  margin: 12px 0 0;
}

.team-careers-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.team-careers-link:hover {
  color: var(--teal);
}

/* Team — mobile/tablet carousel (swipe, same card size, next card peeks) */
.team-scroll {
  --team-edge: clamp(28px, 4vw, 72px);
  --team-card-w: min(300px, 82%);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 14px;
  margin-inline: calc(-1 * var(--team-edge));
  padding: 8px var(--team-edge) 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--team-edge);
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pinch-zoom;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.team-scroll.is-looping {
  cursor: default;
  margin-inline: calc(-1 * var(--team-edge));
  padding-inline: var(--team-edge);
  -webkit-mask-image: none;
  mask-image: none;
}

.team-scroll.is-dragging {
  cursor: grabbing;
}

.team-scroll [data-clone="true"] {
  display: none !important;
}

.team-scroll .team-card {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 650ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.team-scroll.is-ready .team-card:not([data-clone]) {
  opacity: 1;
  transform: none;
}

.team-scroll.is-ready .team-card:not([data-clone]):nth-child(1) { transition-delay: 0.04s; }
.team-scroll.is-ready .team-card:not([data-clone]):nth-child(2) { transition-delay: 0.1s; }
.team-scroll.is-ready .team-card:not([data-clone]):nth-child(3) { transition-delay: 0.16s; }
.team-scroll.is-ready .team-card:not([data-clone]):nth-child(4) { transition-delay: 0.22s; }
.team-scroll.is-ready .team-card:not([data-clone]):nth-child(5) { transition-delay: 0.28s; }
.team-scroll.is-ready .team-card:not([data-clone]):nth-child(6) { transition-delay: 0.34s; }
.team-scroll.is-ready .team-card:not([data-clone]):nth-child(7) { transition-delay: 0.4s; }
.team-scroll.is-ready .team-card:not([data-clone]):nth-child(8) { transition-delay: 0.46s; }

.team-scroll::-webkit-scrollbar {
  display: none;
}

.team-card {
  display: grid;
  position: relative;
  flex: 0 0 var(--team-card-w);
  width: var(--team-card-w);
  min-width: var(--team-card-w);
  max-width: var(--team-card-w);
  margin: 0;
  padding: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition: opacity 650ms ease;
}

.team-card-shell {
  display: grid;
  grid-template-rows: auto auto;
  gap: 14px;
  position: relative;
  height: 100%;
  min-height: 100%;
  padding: 14px;
  border: 1px solid var(--team-card-border, rgba(8, 10, 12, 0.08));
  border-radius: clamp(24px, 3vw, 32px);
  background: var(--team-card-bg, #f8f8f6);
  box-shadow:
    0 10px 28px rgba(8, 10, 12, 0.08),
    0 2px 8px rgba(8, 10, 12, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transform: none;
  transform-origin: center center;
  transition: box-shadow 260ms ease;
}

.team-card--accent-1 {
  --team-card-bg: #fff4e8;
  --team-card-border: rgba(223, 103, 38, 0.14);
  --team-card-accent: #df6726;
  --team-card-tilt: 0deg;
}

.team-card--accent-2 {
  --team-card-bg: #e8f3ee;
  --team-card-border: rgba(56, 128, 96, 0.14);
  --team-card-accent: #2f7a5f;
  --team-card-tilt: 0deg;
}

.team-card--accent-3 {
  --team-card-bg: #e9eef8;
  --team-card-border: rgba(64, 96, 176, 0.14);
  --team-card-accent: #4058a8;
  --team-card-tilt: 0deg;
}

.team-card--accent-4 {
  --team-card-bg: #fce8ef;
  --team-card-border: rgba(180, 72, 112, 0.14);
  --team-card-accent: #b44870;
  --team-card-tilt: 0deg;
}

.team-scroll.is-dragging .team-card:hover .team-card-shell,
.team-scroll.is-dragging .team-card .team-card-shell {
  transform: none;
}

.team-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: clamp(18px, 2.5vw, 24px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(8, 10, 12, 0.05);
}

.team-card-media.is-placeholder {
  background: linear-gradient(180deg, #f4f4f0 0%, #ecece6 100%);
}

.team-card-media img,
.team-card-media picture,
.team-card-media .cms-media,
.team-card img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: inherit;
  object-fit: cover;
  object-position: center center;
  background: #f0f0ec;
}

.team-card-media.is-placeholder img {
  object-fit: contain;
  object-position: center;
  padding: clamp(18px, 4vw, 28px);
}

.team-card-copy {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding-inline: 4px;
  text-align: center;
}

.team-role {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--team-card-accent, var(--teal-text));
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
  white-space: normal;
  hyphens: auto;
}

.team-name {
  margin: 0;
  width: 100%;
  color: var(--ink);
  font-size: clamp(1rem, 0.92rem + 0.3vw, 1.2rem);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
}

.team-bio {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.55;
  text-wrap: pretty;
}

/* Team — desktop: spaced row, subtle tilt (no overlap) */
@media (min-width: 1024px) {
  .team-scroll {
    --team-card-w: clamp(220px, 20vw, 280px);
    align-items: flex-end;
    gap: clamp(32px, 4vw, 56px);
    margin-inline: 0;
    padding: 16px clamp(28px, 4vw, 72px) 40px;
    scroll-snap-type: none;
    scroll-padding-inline: clamp(28px, 4vw, 72px);
  }

  .team-scroll:not(.is-looping) {
    justify-content: center;
  }

  .team-scroll [data-clone="true"] {
    display: grid !important;
  }

  .team-scroll.is-looping {
    justify-content: flex-start;
    cursor: grab;
    margin-inline: calc(-1 * clamp(16px, 3vw, 28px));
    padding-inline: clamp(20px, 3vw, 36px);
    scroll-padding-inline: clamp(20px, 3vw, 36px);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  }

  .team-scroll.is-dragging {
    cursor: grabbing;
  }

  .team-card {
    flex: 0 0 auto;
    width: var(--team-card-w);
    min-width: var(--team-card-w);
    max-width: var(--team-card-w);
    margin: 0;
    padding: 4px;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  .team-card--accent-1 { --team-card-tilt: -1deg; }
  .team-card--accent-2 { --team-card-tilt: 1deg; }
  .team-card--accent-3 { --team-card-tilt: -0.75deg; }
  .team-card--accent-4 { --team-card-tilt: 0.75deg; }

  .team-card-shell {
    transform: rotate(var(--team-card-tilt, 0deg));
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease;
  }

  .team-card:hover .team-card-shell,
  .team-scroll.is-ready .team-card:not([data-clone]):hover .team-card-shell {
    transform: rotate(0deg) translateY(-4px);
    box-shadow:
      0 16px 36px rgba(8, 10, 12, 0.12),
      0 4px 12px rgba(8, 10, 12, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.55);
  }

  .team-scroll.is-dragging .team-card:hover .team-card-shell,
  .team-scroll.is-dragging .team-card .team-card-shell {
    transform: rotate(var(--team-card-tilt, 0deg));
  }
}

/* Team — mobile/tablet lock (no overlap, swipe carousel) */
@media (max-width: 1023px) {
  .team-scroll {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
  }

  .team-scroll .team-card,
  .team-scroll.is-ready .team-card,
  .team-scroll.is-ready .team-card:not([data-clone]) {
    flex: 0 0 min(288px, 78vw) !important;
    width: min(288px, 78vw) !important;
    min-width: min(288px, 78vw) !important;
    max-width: min(288px, 78vw) !important;
    margin: 0 !important;
    transform: none !important;
    position: relative !important;
    isolation: isolate;
  }

  .team-card:not(:first-child) {
    margin-left: 0 !important;
    margin-top: 0 !important;
  }

  .team-card-shell {
    transform: none !important;
    position: relative !important;
  }

  .team-card--accent-1,
  .team-card--accent-2,
  .team-card--accent-3,
  .team-card--accent-4 {
    --team-card-tilt: 0deg;
  }

  .team-card-media {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
  }

  .team-card-media img,
  .team-card-media img.cms-media,
  .team-card-media picture,
  .team-card-media picture.cms-media,
  .team-card-media .cms-media {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
  }

  .team-card-media picture.cms-media {
    display: block !important;
  }
}

/* Platform Badges */
/* Platform links */
.platform-section {
  padding-bottom: clamp(48px, 6vw, 72px);
}

.platform-intro {
  margin-bottom: clamp(32px, 5vw, 48px);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 24px);
}

.platform-badge {
  display: grid;
  gap: 8px;
  padding: clamp(24px, 4vw, 32px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(8, 10, 12, 0.1);
  background: #f8f8f6;
  text-align: center;
  color: inherit;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.platform-badge:hover {
  border-color: rgba(73, 174, 202, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(8, 10, 12, 0.08);
}

.platform-score {
  margin: 0;
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
}

.platform-name {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

/* Footer Section */
.footer-section {
  padding: clamp(72px, 10vw, 112px) 0 clamp(36px, 5vw, 48px);
  color: #ffffff;
}

.footer-shell {
  display: grid;
  gap: clamp(48px, 7vw, 72px);
}

.footer-cta {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
  justify-items: start;
  max-width: 720px;
}

.footer-cta-eyebrow {
  margin: 0;
  color: var(--teal-on-dark);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-cta-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);
  font-weight: 500;
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 14px 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.2;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background 220ms ease,
    box-shadow 220ms ease;
}

.footer-cta-btn:hover {
  transform: translateY(-2px);
  background: var(--cream);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.footer-brand-col {
  display: grid;
  gap: 16px;
  max-width: 360px;
}

.footer-logo {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.footer-tagline {
  margin: 0;
  color: var(--on-dark-muted);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}

.footer-col-title {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.52);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin: 0;
}

.footer-links a,
.footer-links span {
  color: var(--on-dark-muted);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  transition: color 180ms ease, transform 180ms ease;
}

.footer-links a {
  display: inline-block;
  font-weight: 500;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-map {
  position: relative;
  display: block;
  margin-top: 20px;
  max-width: 280px;
  height: 132px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  background: #0f1216;
  color: #ffffff;
  isolation: isolate;
  transition: border-color 180ms ease, transform 180ms ease;
}

.footer-map:hover {
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.footer-map-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.footer-map-frame iframe {
  display: block;
  width: 100%;
  height: 220px;
  margin-top: -28px;
  border: 0;
  pointer-events: none;
  filter: saturate(0.9) brightness(0.94) contrast(1.04);
}

.footer-map-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 12, 0.06) 0%, rgba(8, 10, 12, 0.62) 100%);
  pointer-events: none;
}

.footer-map-caption {
  position: absolute;
  inset-inline: 14px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.footer-map-action {
  flex: 0 0 auto;
  color: var(--teal-on-dark);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.footer-map-hit {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  text-decoration: none;
}

.footer-map:hover .footer-map-action {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: clamp(24px, 4vw, 36px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a:focus-visible {
  outline: 2px solid var(--teal-on-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

.footer-cta-btn:focus-visible {
  outline: 2px solid var(--teal-on-dark);
  outline-offset: 3px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom a:hover {
  color: #ffffff;
}

.footer-legal-sep {
  margin: 0 0.35rem;
}

/* Responsive Breakpoints */
@media (max-width: 1279px) {
  .hero-collage-track img {
    width: clamp(720px, 115vw, 1920px);
  }

  .case-card-large,
  .split-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-card-large {
    grid-column: span 1;
  }

  .case-media {
    aspect-ratio: 16 / 10;
  }

  .quote-panel,
  .help-panel {
    min-height: auto;
  }

  .process-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process-intro-sticky {
    position: static;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .pricing-grid {
    gap: 24px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .faq-intro {
    position: static;
  }
}

@media (max-width: 809px) {
  .tornado-nav {
    width: calc(100% - 24px);
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 20px;
  }

  .tornado-brand-text {
    display: none;
  }

  .tornado-nav.is-menu-open {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .hero-section {
    padding-top: clamp(120px, 18vw, 152px);
  }

  .hero-section .hero-copy {
    padding-inline: 0;
    margin-bottom: clamp(32px, 6vh, 56px);
  }

  .hero-title {
    width: 100%;
    max-width: 18ch;
    margin-inline: auto;
    font-size: clamp(2.25rem, 8.8vw, 3.35rem);
    line-height: 1.02;
  }

  .hero-collage-track img {
    width: clamp(480px, 132vw, 960px);
  }

  .popup-text-section {
    min-height: 100vh;
    padding: 80px 24px;
  }

  .top-text {
    margin-bottom: 56px;
  }

  .popup-card {
    width: min(240px, 78vw);
    bottom: 115%;
  }

  .popup-stack {
    height: 148px;
  }

  .work-grid,
  .mini-work-grid {
    grid-template-columns: 1fr;
  }

  .case-media {
    aspect-ratio: 1 / 1;
    border-radius: 20px;
  }

  .work-grid {
    gap: 32px;
  }

  .quote-panel {
    padding: 96px 32px 56px;
    border-radius: 48px;
  }

  .quote-help-section .split-grid {
    gap: 20px;
  }

  .quote-panel--visual {
    padding: 0;
    min-height: clamp(220px, 58vw, 320px);
    border-radius: 28px;
  }

  .help-panel {
    order: -1;
    min-height: auto;
    padding: 32px 20px 28px;
    border-radius: 28px;
  }

  .help-panel h2 {
    margin-bottom: 16px;
    font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.35rem);
    line-height: 1.1;
    text-wrap: balance;
  }

  .form-step-label {
    margin-bottom: 18px;
    font-size: var(--text-sm);
    line-height: 1.5;
    text-align: left;
  }

  .form-steps {
    min-height: 0;
  }

  .form-choice-list {
    gap: 10px;
  }

  .form-choice {
    justify-content: flex-start;
    min-height: 52px;
    padding: 14px 18px;
    border-radius: 16px;
    font-size: var(--text-base);
    line-height: 1.35;
    text-align: left;
  }

  .form-choice:hover {
    transform: none;
  }

  .form-choice.is-selected {
    justify-content: flex-start;
    text-align: left;
  }

  .form-field input,
  .form-field textarea {
    padding: 16px 18px;
    border-radius: 14px;
    font-size: 16px;
  }

  .form-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 4px;
  }

  .form-nav:has(.form-nav-btn.is-back:not([hidden])) {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .form-nav:has(.form-nav-btn.is-submit:not([hidden])) {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .form-nav-btn {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 14px 20px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    padding: 20px 22px;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(22px, 4.5vw, 28px);
  }

  .footer-brand-col {
    grid-column: 1 / -1;
    grid-row: 1;
    max-width: none;
    gap: 12px;
  }

  .footer-col--explore {
    grid-column: 1;
    grid-row: 2;
  }

  .footer-col--connect {
    grid-column: 2;
    grid-row: 2;
  }

  .footer-col--location {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .footer-section {
    padding: clamp(56px, 11vw, 80px) 0 calc(28px + env(safe-area-inset-bottom, 0px));
  }

  .footer-shell {
    gap: clamp(32px, 6vw, 44px);
  }

  .footer-cta {
    gap: 16px;
  }

  .footer-cta-title {
    font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.35rem);
    line-height: 1.08;
  }

  .footer-cta-btn {
    width: 100%;
    max-width: 280px;
    min-height: 48px;
  }

  .footer-col-title {
    margin-bottom: 12px;
  }

  .footer-links {
    gap: 10px;
  }

  .footer-links a,
  .footer-links span {
    font-size: var(--text-sm);
  }

  .footer-tagline {
    font-size: var(--text-sm);
    line-height: 1.6;
    max-width: 36ch;
  }

  .footer-map {
    margin-top: 0;
    max-width: none;
    width: 100%;
    height: clamp(148px, 42vw, 176px);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 20px;
  }

  .work-section,
  .services-section,
  .process-section,
  .quote-help-section,
  .why-section,
  .testimonials-section,
  .more-work-section,
  .pricing-section,
  .faq-section,
  .about-section,
  .team-section,
  .platform-section {
    padding-bottom: clamp(64px, 12vw, 88px);
  }

  .stats-section {
    padding: clamp(56px, 10vw, 72px) 0 clamp(40px, 8vw, 48px);
  }

  .services-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .services-head p {
    max-width: none;
    text-align: left;
  }

  .service-row summary {
    gap: 16px;
    padding: 22px 0;
  }

  .service-popup-preview {
    display: none;
  }

  .service-desc {
    margin-left: 0;
  }

  .process-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .process-layout {
    gap: 32px;
  }

  .testimonials-panel {
    padding: 40px 0 32px;
    border-radius: 28px;
  }

  .testimonials-intro {
    margin-bottom: 24px;
    padding-inline: 20px;
  }

  .testimonials-intro h2 {
    font-size: clamp(1.65rem, 1.35rem + 1.4vw, 2.25rem);
    line-height: 1.12;
    text-wrap: balance;
  }

  .testimonials-scroll {
    padding: 0 clamp(20px, 5vw, 72px) 24px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
  }

  .testimonials-marquee-track {
    gap: 16px;
  }

  .testimonial-card {
    width: min(300px, 84vw);
    max-width: none;
    padding: 24px 20px;
    gap: 16px;
    scroll-snap-align: none;
  }

  .testimonial-card:hover {
    transform: translateY(-2px);
  }

  .t-text {
    font-size: var(--text-sm);
    line-height: 1.62;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    padding: 36px 28px;
  }

  .faq-grid {
    gap: 32px;
  }
}

/* Force AOS visibility */
[data-aos] {
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
}

[data-aos="fade-up"] {
  transform: translate3d(0, 28px, 0);
}

[data-aos="fade-down"] {
  transform: translate3d(0, -20px, 0);
}

[data-aos="fade-right"] {
  transform: translate3d(-28px, 0, 0);
}

[data-aos="fade-left"] {
  transform: translate3d(28px, 0, 0);
}

[data-aos="zoom-in"] {
  transform: scale(0.94);
}

[data-aos].aos-animate {
  pointer-events: auto !important;
}

