/* ---------------------------------------------------------
   Vitreum — design tokens
--------------------------------------------------------- */
:root {
  --bg: #1a1a1a;
  --card: #252525;
  --card-alt: #1d1d1d;
  --white: #ffffff;
  --text-60: rgba(255, 255, 255, 0.6);
  --text-70: rgba(255, 255, 255, 0.7);
  --text-80: rgba(255, 255, 255, 0.8);
  --border-15: rgba(255, 255, 255, 0.15);
  --border-20: rgba(255, 255, 255, 0.2);
  --border-40: rgba(255, 255, 255, 0.4);
  --border-50: rgba(255, 255, 255, 0.5);

  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --container: 1440px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --header-h: 72px;

  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out-cubic: cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* ---------------------------------------------------------
   Reset
--------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
body, h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

section[id] { scroll-margin-top: var(--header-h); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--white);
  color: var(--bg);
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------
   Type
--------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-60);
}

.h1 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.35;
  text-align: center;
}

.h2 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.4;
}

.h2--section {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.body-lg {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-70);
}

.mono { font-family: var(--font-mono); }

/* ---------------------------------------------------------
   Layout helpers
--------------------------------------------------------- */
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 54px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 610px;
}

.section-heading--center { align-items: center; text-align: center; }
.section-heading--wide { max-width: 700px; }

/* ---------------------------------------------------------
   Buttons
--------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  white-space: nowrap;
  transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  padding: 1px;
  background: linear-gradient(180deg, #616161, #2b2b2b);
  border-radius: 9px;
}
.btn__fill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  background: radial-gradient(circle, #272727, #323232);
  color: var(--white);
  transition: background-color 0.2s ease;
}
.btn--primary:hover .btn__fill { background: radial-gradient(circle, #323232, #3d3d3d); }

.btn--secondary {
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border-20);
  color: var(--white);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.btn--secondary:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--border-40); }

.btn--header { flex-shrink: 0; }

.btn--plan {
  height: 44px;
  padding: 0 12px;
  background: var(--white);
  color: #1a1a1a;
}
.btn--plan:hover { opacity: 0.85; }

.btn--white {
  height: 44px;
  padding: 0 12px;
  background: radial-gradient(circle, #ffffff, #f3f3f3);
  color: #121212;
}
.btn--white:hover { opacity: 0.9; }

/* ---------------------------------------------------------
   Header
--------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { flex-shrink: 0; }
.logo img { height: 24px; width: auto; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__link {
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  transition: opacity 0.2s ease;
}
.nav__link:hover { opacity: 0.7; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg);
  grid-template-rows: minmax(0, 0fr);
  overflow: hidden;
  transition: grid-template-rows 0.3s ease;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-nav > * { overflow: hidden; }
.mobile-nav.is-open { grid-template-rows: minmax(0, 1fr); }
.mobile-nav__list {
  display: flex;
  flex-direction: column;
  padding: 12px 24px 24px;
  gap: 4px;
}
.mobile-nav__link {
  display: block;
  padding: 12px 4px;
  font-size: 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mobile-nav__list .btn { margin-top: 12px; width: 100%; }
.mobile-nav__list .btn__fill { height: 44px; }

/* ---------------------------------------------------------
   Hero
--------------------------------------------------------- */
.hero {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 24px 170px;
}

.hero__bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 340px;
  background: url('../assets/img/hero-bg.webp') center / cover no-repeat;
  z-index: -1;
  pointer-events: none;
}

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 800px;
  text-align: center;
}

.hero__text .h1 { text-wrap: balance; }
.hero__lede { max-width: 567px; }

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
}

.marquee {
  width: 100vw;
  margin-top: 76px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: marquee 42s linear infinite;
  will-change: transform;
}
.marquee__track.is-js-driven { animation: none; }
.marquee__frame {
  width: 533px;
  height: 400px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  overflow: hidden;
  flex-shrink: 0;
}
.marquee__frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left top;
  display: block;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ---------------------------------------------------------
   Backed-by strip
--------------------------------------------------------- */
.backers {
  max-width: var(--container);
  margin: 64px auto 0;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.backers__label { font-family: var(--font-sans); font-size: 18px; color: var(--text-70); }
.backers__logos {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.backers__logos img { height: 56px; width: auto; }
.backers__logos img.backers__logo--aws { height: 42px; }

/* ---------------------------------------------------------
   Projects
--------------------------------------------------------- */
.projects { padding-top: 120px; padding-bottom: 120px; }

.projects__grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.project-card { display: block; }

.project-card__media {
  position: relative;
  border-radius: var(--radius-md);
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out-expo);
}
@media (hover: hover) and (pointer: fine) {
  .project-card:hover .project-card__media img { transform: scale(1.04); }
}

.project-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 8px 12px;
  border-radius: 4px;
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--white);
}

.project-card__tags {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.project-card__tags .project-card__tag { position: static; }

.project-card__title {
  margin-top: 16px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-60);
}
.project-card__title strong { color: var(--white); font-weight: 700; }

/* ---------------------------------------------------------
   Services accordion
--------------------------------------------------------- */
.accordion { width: 100%; display: flex; flex-direction: column; gap: 12px; }

.accordion__item {
  border: 1px solid var(--border-15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.accordion__item:hover:not(.is-open) { background: var(--card); }
.accordion__item.is-open {
  border-color: var(--border-40);
  background: var(--card-alt);
  cursor: pointer;
}

.accordion__head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 72px;
  padding: 22px 24px;
  text-align: left;
}

.accordion__num {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.7;
  color: #afafaf;
  flex-shrink: 0;
}

.accordion__title {
  flex: 1;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.65;
}

.accordion__icon { flex-shrink: 0; width: 32px; height: 32px; }
.accordion__icon img {
  filter: brightness(0) invert(56%);
  transition: filter 0.2s ease;
}
.accordion__item.is-open .accordion__icon img { filter: brightness(0) invert(100%); }

.accordion__body {
  display: grid;
  grid-template-rows: minmax(0, 0fr);
  transition: grid-template-rows 0.35s ease;
}
.accordion__body > * { overflow: hidden; }
.accordion__item.is-open .accordion__body { grid-template-rows: minmax(0, 1fr); }

.accordion__body-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 0 124px 28px 124px;
}

.accordion__body p {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-80);
  max-width: 448px;
  flex-shrink: 1;
}

.accordion__image {
  flex-shrink: 0;
  width: 380px;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
}

/* ---------------------------------------------------------
   Process
--------------------------------------------------------- */
.process__grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
}

.process__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}

.process__icon-wrap {
  width: 100%;
  max-width: 157px;
  height: 100px;
  border-radius: var(--radius-md);
  background: #2c2c2c center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process__card:nth-child(1) .process__icon-wrap { background-image: url('../assets/img/process-01.webp'); }
.process__card:nth-child(2) .process__icon-wrap { background-image: url('../assets/img/process-02.webp'); }
.process__card:nth-child(3) .process__icon-wrap { background-image: url('../assets/img/process-03.webp'); }

.process__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: radial-gradient(circle, #494848, #6a6969);
  display: flex;
  align-items: center;
  justify-content: center;
}

.process__title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.45;
}
.process__num {
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--white);
}

.process__desc {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text-70);
}

/* ---------------------------------------------------------
   Pricing
--------------------------------------------------------- */
.pricing__cards {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border-15);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.pricing-card__head { display: flex; flex-direction: column; gap: 4px; }
.pricing-card__title { font-size: 26px; font-weight: 600; line-height: 1.4; }
.pricing-card__subtitle { font-size: 16px; color: var(--text-70); line-height: 1.5; }

.pricing-card__list { display: flex; flex-direction: column; gap: 16px; }
.pricing-card__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
}
.pricing-card__list img { flex-shrink: 0; }

.pricing-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 18px;
  color: var(--text-70);
  white-space: nowrap;
}
.pricing-card__price .mono { font-size: 22px; font-weight: 400; color: var(--white); }

.perks {
  width: 100%;
  max-width: 925px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
}
.perk { display: flex; flex-direction: column; gap: 12px; max-width: 230px; }
.perk__head { display: flex; align-items: center; gap: 12px; }
.perk__title { font-size: 16px; font-weight: 400; }
.perk__desc { font-size: 16px; line-height: 1.5; color: var(--text-60); }
.perk__divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  flex-shrink: 0;
}

/* ---------------------------------------------------------
   Reviews
--------------------------------------------------------- */
.testimonial-slider {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 800px;
}

.slider-btn {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-20);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.slider-btn:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--border-40); }

.testimonial-slider__viewport { flex: 1; overflow: hidden; }
.testimonial-slider__track {
  display: flex;
  transition: transform 0.4s ease;
}
.testimonial {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  text-align: center;
  padding: 0 8px;
}
.testimonial__text {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text-80);
}
.testimonial__client { display: flex; align-items: center; gap: 20px; }
.testimonial__client img { border-radius: var(--radius-sm); width: 48px; height: 48px; object-fit: cover; }
.testimonial__client > div { text-align: left; }
.testimonial__name { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.testimonial__role { font-size: 16px; color: var(--text-60); }

.testimonial-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.testimonial-dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.testimonial-dots button.is-active { background: var(--white); transform: scale(1.25); }

/* ---------------------------------------------------------
   FAQ
--------------------------------------------------------- */
.faq-list { width: 100%; display: flex; flex-direction: column; gap: 20px; }

.faq-item {
  border: 1px solid var(--border-15);
  border-radius: var(--radius-lg);
  background: var(--card);
  overflow: hidden;
  transition: background-color 0.2s ease;
}
.faq-item:hover:not(.is-open) { background: #2c2c2c; }

.faq-item__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 16px 16px 24px;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.faq-item__icon {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: radial-gradient(circle, #494848, #6a6969);
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease;
}
.faq-item__icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}
.faq-item__icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}
.faq-item.is-open .faq-item__icon::after { transform: translate(-50%, -50%) scaleY(0); }

.faq-item__body {
  display: grid;
  grid-template-rows: minmax(0, 0fr);
  transition: grid-template-rows 0.3s ease;
}
.faq-item__body > * { overflow: hidden; }
.faq-item.is-open .faq-item__body { grid-template-rows: minmax(0, 1fr); }

.faq-item__body p {
  padding: 0 80px 16px 24px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-70);
}
.faq-item__body a { text-decoration: underline; }

/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */
.footer {
  position: relative;
  margin: 0 24px;
  background: var(--card);
  border: 1px solid var(--border-15);
  border-bottom: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  padding-top: 44px;
}

.footer__inner {
  max-width: 580px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.footer__inner .h1 { margin-top: 8px; margin-bottom: 24px; }
.footer__inner .eyebrow { font-size: 18px; }

.footer__bottom {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 76px auto 0;
  padding: 0 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__copy { font-size: 16px; letter-spacing: -0.01em; }
.footer__socials { display: flex; align-items: center; gap: 32px; }

.footer__wordmark {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -6px;
  width: calc(100% - 16px);
  height: auto;
  opacity: 0.9;
  pointer-events: none;
  user-select: none;
}

/* ---------------------------------------------------------
   Responsive
--------------------------------------------------------- */
@media (max-width: 1100px) {
  .header__inner { padding: 0 40px; }
  .section { padding: 72px 40px; }
  .projects { padding-top: 100px; padding-bottom: 100px; }
  .nav__list { gap: 20px; }
  .accordion__head { gap: 32px; }
  .accordion__body-content { flex-direction: column; align-items: flex-start; }
  .accordion__body p { max-width: none; }
  .accordion__image { width: 100%; max-width: 380px; }
  .perks { flex-wrap: wrap; justify-content: center; }
  .perk__divider { display: none; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .btn--header { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: grid; }

  .projects__grid { grid-template-columns: 1fr; gap: 32px; }
  .process__grid { grid-template-columns: 1fr; gap: 40px; }
  .pricing__cards { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .header__inner { padding: 0 20px; }
  .section { padding: 56px 20px; gap: 40px; }
  .projects { padding-top: 72px; padding-bottom: 72px; }
  .hero { padding: 56px 16px 100px; }
  .hero__bg { height: 200px; bottom: 0; }
  .marquee { margin-top: 48px; }
  .marquee__frame { width: 320px; height: 240px; }
  .h1 { font-size: 30px; font-weight: 600; }
  .h2 { font-size: 28px; }
  .eyebrow { font-size: 15px; }
  .body-lg { font-size: 16px; }
  .project-card__tag { font-size: 15px; }

  .accordion__head { padding: 16px; gap: 16px; }
  .accordion__title { font-size: 18px; }
  .accordion__num { font-size: 18px; }
  .accordion__body-content { padding: 0 20px 20px; gap: 20px; }
  .accordion__body p { font-size: 16px; }

  .pricing-card { padding: 20px; }
  .pricing-card__foot { flex-direction: column; align-items: flex-start; }

  .testimonial-slider { gap: 16px; }
  .testimonial__text { font-size: 17px; }
  .slider-btn--prev, .slider-btn--next { display: none; }

  .faq-item__head { padding: 16px; font-size: 16px; }
  .faq-item__body p { padding: 0 16px 16px; }

  .footer { margin: 0 12px; }
  .footer__bottom { flex-direction: column; text-align: center; margin-top: 56px; }
  .footer__wordmark { opacity: 0.7; }
}

/* ---------------------------------------------------------
   Hero entrance (page load, never scroll-gated)
--------------------------------------------------------- */
@keyframes hero-in {
  from { opacity: 0; transform: translate3d(0, 28px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
.hero__text { animation: hero-in 1.2s var(--ease-out-expo) both; }
.marquee    { animation: hero-in 1.2s var(--ease-out-expo) 0.2s both; }

@media (prefers-reduced-motion: reduce) {
  .hero__text, .marquee { animation: none; }
}

/* ---------------------------------------------------------
   Scroll reveal (fade + rise once into view)
   Hidden state only applies once JS confirms it can run the
   reveal, so content stays fully visible with JS off.

   Two weights, so a reveal reads as a wave, not a metronome:
   - [data-animate]        "lead" — section headings, whole-
     section blocks. Travels further, settles slower.
   - [data-animate="item"] "supporting" — repeated peer items
     (cards, accordion rows). Shorter travel, quicker settle,
     offset by data-animate-delay for the stagger.
--------------------------------------------------------- */
.js-anim [data-animate] {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: opacity 1.2s var(--ease-out-expo),
              transform 1.2s var(--ease-out-expo);
}
.js-anim [data-animate="item"] {
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.9s var(--ease-out-expo),
              transform 0.9s var(--ease-out-expo);
}
.js-anim [data-animate].is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
@media (prefers-reduced-motion: reduce) {
  .js-anim [data-animate] {
    transform: none;
    transition: opacity 0.4s ease;
  }
}
