/* ==========================================================================
   Altair — design & development studio
   Recreated from the Figma pages in /Portfolio/extracted
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Satoshi';
  src: url('../assets/fonts/satoshi-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../assets/fonts/satoshi-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../assets/fonts/satoshi-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../assets/fonts/jetbrains-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #101010;
  --bg-deep: #0a0a0a;
  --bg-soft: #141414;
  --white: #f4f3ef;
  --muted: #a3a29d;
  --dim: #71706c;
  --line: #242424;
  --line-soft: #1a1a1a;
  --radius: 8px;
  --container: 1040px;
  --narrow: 860px;
  --font: 'Satoshi', 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: #f4f3ef; color: #0b0b0b; }

/* ---------- Layout helpers ---------- */
.wrap {
  width: min(var(--container), calc(100% - 80px));
  margin-inline: auto;
}
.wrap--narrow {
  width: min(var(--narrow), calc(100% - 80px));
  margin-inline: auto;
}
.section { padding: 124px 0; }
.section--tight { padding: 92px 0; }

/* ---------- Type ---------- */
.eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #c9c8c3;
  line-height: 1.4;
}
.h2 {
  font-size: clamp(36px, 4.4vw, 58px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.028em;
}
.h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  letter-spacing: -.005em;
}
.small { font-size: 13px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--light { background: var(--white); color: #0b0b0b; }
.btn--light:hover { background: #fff; transform: translateY(-1px); }
.btn--ghost {
  background: rgba(16, 16, 16, .35);
  border-color: #2b2b2b;
  color: var(--white);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: #191919; border-color: #3a3a3a; }
.btn--dark { background: #101010; color: #f4f3ef; }
.btn--dark:hover { background: #000; }
.btn--block { width: 100%; }

/* ---------- Stars ---------- */
.stars {
  position: absolute;
  inset: 0;
  background-image: url('../assets/stars.svg');
  background-size: 620px 620px;
  opacity: .5;
  pointer-events: none;
  z-index: 1;
}
[id] { scroll-margin-top: 120px; }
.stars--dense { opacity: .8; }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 24px 0;
}
.site-header--solid {
  position: relative;
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1;
}
.nav-sep {
  width: 1px;
  height: 18px;
  background: #2c2c2c;
  flex: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-right: auto;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  font-size: 13.5px;
  font-weight: 500;
  color: #c6c5c0;
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #fff;
  opacity: .65;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  margin-left: auto;
  border: 1px solid #2b2b2b;
  border-radius: 6px;
  background: rgba(16, 16, 16, .5);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: #dedcd6;
  content: "";
  transition: transform .25s var(--ease), top .25s var(--ease), opacity .2s;
}
.nav-toggle span { top: 18px; }
.nav-toggle span::before { left: 0; right: 0; top: -6px; }
.nav-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(-90deg); top: 0; }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 55;
  background: #0c0c0c;
  padding: 100px 40px 40px;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  padding: 18px 0;
  font-size: 30px;
  letter-spacing: -.02em;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .btn {
  display: inline-flex;
  width: 100%;
  height: 52px;
  margin-top: 28px;
  padding: 0 24px;
  font-size: 15px;
  letter-spacing: 0;
  border-bottom: 0;
  border-radius: 4px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: 148px 0 0;
}
.hero--page { padding-bottom: 96px; }
.hero--home { padding-bottom: 86px; }
.hero--home::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -150px;
  width: 1500px;
  height: 980px;
  transform: translateX(-50%);
  background: url('../assets/nebula.jpg') center 55% / cover no-repeat;
  opacity: .52;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(58% 62% at 50% 52%, #000 32%, rgba(0,0,0,.5) 68%, transparent 100%);
  mask-image: radial-gradient(58% 62% at 50% 52%, #000 32%, rgba(0,0,0,.5) 68%, transparent 100%);
}
.hero--home::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 300px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(16,16,16,0) 0%, var(--bg) 88%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero .eyebrow { margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -.038em;
  margin: 0 auto;
  max-width: 900px;
}
.hero__lead {
  max-width: 560px;
  margin: 24px auto 0;
  font-size: 16.5px;
  line-height: 1.7;
  color: #b1b0ab;
}
.hero__lead + .hero__lead { margin-top: 0; }
.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.trust {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.avatars { display: flex; }
.avatars img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #2a2a2a;
  margin-left: -9px;
  background: #1a1a1a;
}
.avatars img:first-child { margin-left: 0; }
.trust__text { font-size: 11.5px; line-height: 1.35; color: #b3b2ad; }
.trust__text strong { display: block; font-size: 11.5px; font-weight: 600; color: #f4f3ef; }
.stars-row {
  font-size: 9px;
  letter-spacing: 2.4px;
  color: #f4f3ef;
  line-height: 1;
  margin-bottom: 3px;
}

/* Cosmic background used by inner pages + CTA */
.cosmic::before {
  content: "";
  position: absolute;
  inset: -4% -2%;
  background: url('../assets/nebula.jpg') center 30% / cover no-repeat;
  opacity: .62;
  z-index: 0;
  pointer-events: none;
}
.cosmic::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(58% 62% at 50% 42%, rgba(16,16,16,.94) 0%, rgba(16,16,16,.7) 46%, rgba(16,16,16,.12) 78%, transparent 100%),
    linear-gradient(180deg, rgba(16,16,16,.55) 0%, rgba(16,16,16,0) 30%, rgba(16,16,16,0) 62%, var(--bg) 100%);
}
.hero--page .wrap--narrow { position: relative; z-index: 2; }

/* ---------- Home showcase ---------- */
.showcase {
  position: relative;
  z-index: 2;
  margin-top: 76px;
  overflow: hidden;
}
.showcase__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 12px;
  color: #d3d2cc;
  letter-spacing: -.005em;
}
.showcase__track {
  display: grid;
  grid-template-columns: 1fr 1.55fr 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
}
.showcase__item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 50px -30px rgba(0,0,0,.9);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.showcase__item:hover { border-color: rgba(255,255,255,.22); transform: translateY(-2px); }
.showcase__item img { width: 100%; height: auto; object-fit: contain; }
.showcase__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  background: #101010;
  border-top: 1px solid rgba(255,255,255,.05);
  font-size: 11.5px;
  color: #d3d1cb;
}
.showcase__caption em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7f7d78;
  text-align: right;
}

/* ---------- Process ---------- */
.process__head { max-width: 620px; }
.process__head .h2 { margin-top: 18px; }
.process__head .lead { margin-top: 22px; }
.steps { margin-top: 58px; }
.step { position: relative; padding-left: 36px; margin-bottom: 58px; }
.step:last-child { margin-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  bottom: -58px;
  width: 1px;
  background: linear-gradient(180deg, #3b3b3b, #1d1d1d 70%, transparent);
}
.step:last-child::before { bottom: 0; background: linear-gradient(180deg, #3b3b3b, transparent); }
.step__dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f4f3ef;
  box-shadow: 0 0 0 4px var(--bg);
}
.step__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.step__title { font-size: 20px; font-weight: 500; letter-spacing: -.015em; line-height: 1.3; }
.step__desc { margin-top: 5px; font-size: 13.5px; color: var(--muted); }
.step__num {
  flex: none;
  border: 1px solid #2a2a2a;
  border-radius: 5px;
  padding: 5px 9px;
  font-size: 11.5px;
  color: #d7d5cf;
  line-height: 1;
}
.step__media {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.05);
}
.step__media img { width: 100%; }

/* ---------- Design made simple ---------- */
.simple__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 42px;
}
.simple__head .h2 { max-width: 420px; }
.simple__head .lead { max-width: 330px; padding-bottom: 6px; font-size: 14.5px; }
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 350px;
  padding: 26px;
  border-radius: 4px;
  overflow: hidden;
  isolation: isolate;
}
.feature-card::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.55));
  z-index: -1;
}
.feature-card h3 { font-size: 18px; font-weight: 500; letter-spacing: -.015em; }
.feature-card p { margin-top: 8px; font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.82); max-width: 260px; }
.feature-card--teal {
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(255,255,255,.55), transparent 45%),
    linear-gradient(170deg, #a9d8cb 0%, #6fb8a5 38%, #1f6459 68%, #0c3833 100%);
}
.feature-card--teal::before {
  content: "";
  position: absolute;
  inset: -20% -10% 38%;
  background:
    radial-gradient(40% 55% at 38% 56%, rgba(255,255,255,.28), transparent 70%),
    linear-gradient(115deg, transparent 42%, rgba(255,255,255,.22) 48%, transparent 54%);
  transform: rotate(-8deg);
}
.feature-card--ripple {
  background:
    repeating-radial-gradient(circle at 50% 12%, rgba(255,255,255,.16) 0 1px, transparent 1px 14px),
    radial-gradient(80% 70% at 50% 18%, #3a3a3a 0%, #1a1a1a 42%, #070707 78%);
  justify-content: space-between;
}
.feature-card--ripple .mini-actions {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}
.mini-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 6px;
  font-size: 13px;
  background: #efeeea;
  color: #111;
  border: 1px solid #efeeea;
}
.mini-btn--dark {
  background: rgba(20,20,20,.55);
  border-color: #4a4a4a;
  color: #f2f1ec;
}
.feature-card--orange {
  background:
    radial-gradient(65% 42% at 52% 74%, #fff7ea 0%, #ffd9a8 14%, #f79655 34%, #e2662a 58%, #b64616 86%, #8f3410 100%);
}
.feature-card--orange::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 26%;
  height: 46%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.9), rgba(255,255,255,0) 70%);
  filter: blur(2px);
  opacity: .55;
}
.feature-card__icon {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(0,0,0,.18);
}

/* ---------- Testimonials ---------- */
.testimonials { position: relative; overflow: hidden; padding-top: 110px; }
.testimonials__head { text-align: center; position: relative; z-index: 2; }
.testimonials__head .h2 { margin-top: 16px; }
.crowd {
  position: relative;
  height: 360px;
  margin-top: 6px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 100%);
}
.testi-carousel { position: relative; z-index: 2; margin-top: -96px; }
.testi-viewport { overflow: hidden; padding-block: 14px; margin-block: -14px; }
.testi-row {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 calc((100vw - var(--container)) / 2);
  transition: transform .82s var(--ease-out);
  will-change: transform;
}
.testi-card {
  flex: 0 0 328px;
  background: #131313;
  border: 1px solid #1f1f1f;
  border-radius: 6px;
  padding: 22px 22px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  min-height: 210px;
}
.testi-card .stars-row { font-size: 10px; letter-spacing: 3px; margin-bottom: 12px; }
.testi-card blockquote {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #d3d2cc;
  flex: 1;
}
.testi-card__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.testi-card__foot img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.testi-card__name { font-size: 12.5px; font-weight: 500; line-height: 1.3; }
.testi-card__role { font-size: 11px; color: var(--dim); line-height: 1.4; }
.testi-card__mark {
  margin-left: auto;
  font-size: 34px;
  line-height: .6;
  color: #3a3a3a;
  font-family: Georgia, serif;
}

.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}
.testi-nav,
.testi-play {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #2a2a2a;
  background: transparent;
  color: #c9c8c2;
  cursor: pointer;
  transition: background .25s var(--ease-out), color .25s var(--ease-out),
              border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.testi-nav:hover,
.testi-play:hover { background: var(--white); color: #0b0b0b; border-color: var(--white); }
.testi-nav:active,
.testi-play:active { transform: scale(.94); }
.testi-play { width: 34px; height: 34px; border-color: transparent; color: #7d7c77; margin-left: 2px; }
.testi-play .icon-play { display: none; }
.testi-carousel.is-user-paused .testi-play .icon-pause { display: none; }
.testi-carousel.is-user-paused .testi-play .icon-play { display: block; }
.testi-dots { display: flex; align-items: center; gap: 7px; }
.testi-dot {
  position: relative;
  width: 20px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: width .45s var(--ease-out);
}
.testi-dot::before,
.testi-dot__fill {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  border-radius: 2px;
  transform: translateY(-50%);
}
.testi-dot::before { background: #2b2b2b; transition: background .3s var(--ease-out); }
.testi-dot:hover::before { background: #4d4d4d; }
.testi-dot.is-active { width: 46px; }
.testi-dot.is-active::before { background: #3a3a3a; }
.testi-dot__fill {
  background: #e8e6e0;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
}
.testi-dot.is-active.is-timing .testi-dot__fill {
  animation: testiDotFill var(--dwell, 6000ms) linear forwards;
}
@keyframes testiDotFill {
  from { transform: translateY(-50%) scaleX(0); }
  to { transform: translateY(-50%) scaleX(1); }
}

/* ---------- Work grid ---------- */
.work__head { text-align: center; }
.work__head .h2 { margin-top: 16px; }
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  margin-top: 26px;
  max-width: 760px;
  margin-inline: auto;
}
.chip {
  border: 1px solid #2a2a2a;
  background: transparent;
  color: #bcbab5;
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 10.5px;
  font-family: var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: .25s var(--ease);
}
.chip:hover { color: #fff; border-color: #454545; }
.chip.is-active { background: var(--white); color: #0b0b0b; border-color: var(--white); }
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 44px;
}
.work-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: #161616;
  border: 1px solid rgba(255,255,255,.05);
}
.work-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform .7s var(--ease);
}
.work-card:hover img { transform: scale(1.035); }
.work-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3px;
  padding: 18px;
  background: linear-gradient(180deg, transparent 40%, rgba(6,6,6,.9));
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.work-card:hover .work-card__overlay,
.work-card:focus-visible .work-card__overlay { opacity: 1; }
.work-card__title { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.work-card__meta { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #9c9b96; font-family: var(--mono); }
.work-card.is-hidden { display: none; }
.work__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 34px;
  flex-wrap: wrap;
}

/* ---------- Pricing ---------- */
.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.pricing__intro .h2 { margin-top: 18px; }
.pricing__intro .lead { margin-top: 22px; max-width: 330px; font-size: 14.5px; }
.pricing__intro .btn { margin-top: 28px; }
.pricing__intro .trust { margin-top: 30px; }
.plans { display: grid; gap: 20px; }
.plan {
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 24px;
  background: #0d0d0d;
}
.plan--light { background: #f4f3ef; color: #101010; border-color: #f4f3ef; }
.plan__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.plan__name { font-size: 19px; font-weight: 500; letter-spacing: -.015em; }
.plan__sub { margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.plan--light .plan__sub { color: #6d6b66; }
.plan__avail { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #c9c8c3; white-space: nowrap; }
.plan--light .plan__avail { color: #55534f; }
.dot-live { width: 6px; height: 6px; border-radius: 50%; background: #2ecc8f; box-shadow: 0 0 0 3px rgba(46,204,143,.12); }
.plan__price { display: flex; align-items: baseline; gap: 7px; margin-top: 18px; }
.plan__price strong { font-size: 38px; font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.plan__price span { font-size: 12.5px; color: var(--muted); }
.plan--light .plan__price span { color: #6d6b66; }
.plan__label {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #d8d6d0;
}
.plan--light .plan__label { color: #4e4c47; }
.plan ul { margin-top: 14px; display: grid; gap: 10px; }
.plan li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: #d0cec8; }
.plan--light li { color: #2a2926; }
.plan li svg { flex: none; }
.plan li svg circle { fill: currentColor; }
.plan li svg path { stroke: var(--bg); }
.plan--light li svg path { stroke: #f4f3ef; }
.plan li.is-off { opacity: .45; }
.plan .btn { margin-top: 20px; }
.plan__note { text-align: center; margin-top: 12px; font-size: 11.5px; color: var(--muted); }
.plan--light .plan__note { color: #6d6b66; }
.plan__note a { text-decoration: underline; text-underline-offset: 2px; color: inherit; }

/* ---------- FAQ ---------- */
.faq-section { text-align: center; }
.faq-section .h2 { margin-top: 16px; }
.faq-section > .wrap > .lead { max-width: 560px; margin: 20px auto 0; font-size: 14px; }
.faq-list {
  max-width: 690px;
  margin: 40px auto 0;
  display: grid;
  gap: 10px;
  text-align: left;
}
.faq {
  border: 1px solid #262626;
  border-radius: 4px;
  background: transparent;
  overflow: hidden;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 20px;
  font-size: 14px;
  font-weight: 400;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 12px; height: 12px; flex: none; }
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.faq__icon::before { left: 0; right: 0; top: 5.5px; height: 1px; }
.faq__icon::after { top: 0; bottom: 0; left: 5.5px; width: 1px; }
.faq__body {
  padding: 0 20px 18px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 560px;
}
.faq[open] { background: #f4f3ef; color: #101010; border-color: #f4f3ef; }
.faq[open] .faq__body { color: #5d5b56; }
.faq[open] .faq__icon::before { transform: rotate(45deg); }
.faq[open] .faq__icon::after { transform: rotate(-45deg); }

/* ---------- CTA + footer ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: 120px 0 80px;
}
.cta::before {
  content: "";
  position: absolute;
  top: -6%;
  right: -4%;
  width: 68%;
  height: 112%;
  background: url('../assets/nebula.jpg') right center / cover no-repeat;
  opacity: .78;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 26%, #000 60%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 26%, #000 60%);
  pointer-events: none;
}
.cta > .wrap { position: relative; z-index: 2; }
.cta__head .h2 { margin-top: 16px; max-width: 620px; }
.cta__actions { display: flex; align-items: center; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  margin-top: 84px;
}
.footer-col h4 { font-size: 13px; font-weight: 500; margin-bottom: 14px; }
.footer-col .links-row { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
.footer-col a { font-size: 12.5px; color: #b7b5b0; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-brand { margin-top: 34px; }
.footer-brand strong { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.footer-brand p { margin-top: 4px; font-size: 12px; color: #9b9994; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #303030;
  border-radius: 50%;
  color: #d6d4ce;
  transition: background .25s, border-color .25s, color .25s;
}
.socials a:hover { background: #f4f3ef; color: #0b0b0b; border-color: #f4f3ef; }
.footer-bar {
  position: relative;
  z-index: 2;
  border-top: 1px solid #242424;
  background: #0b0b0b;
  padding: 22px 0;
}
.footer-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-bar a, .footer-bar p { font-size: 12px; color: #8f8d88; }
.footer-bar__links { display: flex; gap: 30px; }

/* ---------- Portfolio (work page) ---------- */
.case-hero {
  position: relative;
  padding: 148px 0 0;
  overflow: hidden;
}
.case-hero__inner { position: relative; z-index: 2; }
.case-head {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 40px;
}
.case-head .h2 { margin-top: 16px; font-size: clamp(34px, 4vw, 52px); }
.case-head .lead { font-size: 14px; max-width: 380px; justify-self: end; align-self: center; }
.case-media {
  position: relative;
  z-index: 2;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.9);
}
.case-media img { width: 100%; height: auto; object-fit: contain; }
.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8d8b86;
}
.case-meta span { display: flex; gap: 8px; }
.case-meta span::before { content: ""; width: 12px; height: 1px; background: #3a3a3a; margin-top: 6px; }
.case + .case { margin-top: 118px; }
.case-stack { display: grid; gap: 8px; }

/* ---------- About page ---------- */
.logo-strip {
  position: relative;
  z-index: 2;
  margin-top: 76px;
  border-top: 1px solid #242424;
  padding-top: 26px;
  display: flex;
  align-items: center;
  gap: 34px;
  overflow: hidden;
}
.logo-strip__label {
  flex: none;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  color: #8f8d88;
  text-transform: uppercase;
}
.logo-strip__track {
  display: flex;
  align-items: center;
  gap: 56px;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logo-strip__track span {
  flex: none;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.03em;
  color: #6e6c68;
  filter: grayscale(1);
  white-space: nowrap;
}
.about-intro { padding: 118px 0 96px; }
.about-intro p {
  max-width: 900px;
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.55;
  letter-spacing: -.015em;
  color: #8f8d88;
}
.about-intro p strong { color: var(--white); font-weight: 400; }
.about-intro p + p { margin-top: 26px; }
.agency {
  position: relative;
  padding: 110px 0;
  text-align: center;
}
.agency .h2 { margin-top: 16px; }
.agency .lead { max-width: 560px; margin: 20px auto 0; font-size: 14px; }
.agency .btn { margin-top: 26px; }
.agency .trust { justify-content: center; margin-top: 20px; }
.team-photo {
  margin-top: 54px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.team-photo img { width: 100%; }
.team {
  padding: 104px 0 96px;
  text-align: center;
}
.team .h2 { margin-top: 16px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 46px;
}
.team-card { position: relative; overflow: hidden; border-radius: 3px; background: #171717; }
.team-card img { width: 100%; aspect-ratio: 378 / 400; object-fit: cover; }
.hiring {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid #262626;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  text-align: left;
  min-height: 168px;
  background-color: #0c0c0c;
}
.hiring::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(12,12,12,.94) 0%, rgba(12,12,12,.55) 42%, rgba(12,12,12,.25) 100%);
}
.hiring h3 { font-size: 20px; font-weight: 500; letter-spacing: -.015em; }
.hiring p { margin-top: 10px; font-size: 12.5px; color: #b0aea9; max-width: 330px; }
.hiring__right { display: flex; flex-direction: column; align-items: flex-end; gap: 30px; flex: none; }
.hiring__logo { font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.numbers { padding: 112px 0 40px; }
.numbers h2 { margin-top: 18px; font-size: clamp(38px, 4.6vw, 60px); }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}
.stat { border-top: 1px solid #2a2a2a; padding-top: 22px; }
.stat strong { display: block; font-size: clamp(34px, 3.6vw, 46px); font-weight: 400; line-height: 1; letter-spacing: -.03em; }
.stat h4 { margin-top: 22px; font-size: 13.5px; font-weight: 500; }
.stat p { margin-top: 6px; font-size: 12px; line-height: 1.6; color: var(--muted); max-width: 190px; }

/* ---------- Contact page ---------- */
.contact-hero { padding-bottom: 40px; }
.contact-body { padding: 20px 0 110px; position: relative; z-index: 2; }
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 90px;
  align-items: start;
}
.contact-info h2 { font-size: clamp(28px, 2.8vw, 36px); font-weight: 400; letter-spacing: -.025em; line-height: 1.15; }
.contact-info .lead { margin-top: 18px; font-size: 14px; }
.contact-detail { margin-top: 34px; display: grid; gap: 22px; }
.contact-detail h4 {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8f8d88;
  margin-bottom: 6px;
}
.contact-detail a, .contact-detail p { font-size: 14px; color: #dedcd6; }
.contact-detail a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #3a3a3a; }
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border: 1px solid #242424;
  border-radius: 6px;
  padding: 30px;
  background: #0c0c0c;
}
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #9d9b96;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: #131313;
  border: 1px solid #2a2a2a;
  border-radius: 5px;
  padding: 12px 13px;
  font-size: 13.5px;
  color: var(--white);
  outline: none;
  transition: border-color .25s, background .25s;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239d9b96' fill='none' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 34px;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input::placeholder, .field textarea::placeholder { color: #66645f; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: #6a6a6a;
  background: #161616;
}
.form .btn { grid-column: 1 / -1; margin-top: 8px; height: 46px; }
.form__note { grid-column: 1 / -1; font-size: 11px; color: #77756f; line-height: 1.6; }
.form__status {
  grid-column: 1 / -1;
  display: none;
  border: 1px solid #2e6b4e;
  background: rgba(46,204,143,.08);
  color: #7fe0b4;
  border-radius: 5px;
  padding: 12px 14px;
  font-size: 12.5px;
}
.form__status.is-visible { display: block; }
.form__status.is-error { border-color: #6d3232; background: rgba(220,80,80,.08); color: #f0a3a3; }
.field.has-error input, .field.has-error textarea { border-color: #6d3232; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .showcase__item, .work-card img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .testi-row { padding: 0 40px; }
  .showcase__track { gap: 12px; }
}
@media (max-width: 900px) {
  .wrap, .wrap--narrow { width: calc(100% - 48px); }
  .testi-row { padding: 0 24px; }
  .section { padding: 92px 0; }
  .nav-links, .nav-sep { display: none; }
  .site-header .nav .btn { display: none; }
  .nav-toggle { display: block; }
  .hero { padding-top: 124px; }
  .showcase__track {
    display: flex;
    gap: 10px;
    padding: 0 24px 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .showcase__track::-webkit-scrollbar { display: none; }
  .showcase__item { flex: 0 0 calc(50vw - 59px); scroll-snap-align: center; }
  .simple__head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .cards-3 { grid-template-columns: 1fr; }
  .feature-card { min-height: 300px; }
  .pricing__grid { grid-template-columns: 1fr; gap: 44px; }
  .pricing__intro .lead { max-width: 520px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .case-head { grid-template-columns: 1fr; gap: 24px; }
  .case-head .lead { justify-self: start; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-intro p { font-size: 20px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 44px; }
  .hiring { flex-direction: column; align-items: flex-start; }
  .hiring__right { align-items: flex-start; gap: 18px; }
  .team-grid { gap: 10px; }
}
@media (max-width: 680px) {
  .wrap, .wrap--narrow { width: calc(100% - 40px); }
  .nav { gap: 18px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 52px); letter-spacing: -.03em; }
  .h2 { font-size: clamp(30px, 8.4vw, 40px); }
  .hero__lead { font-size: 15px; }
  .hero__actions { gap: 18px; }
  .showcase { margin-top: 54px; }
  .showcase__item { flex: 0 0 86vw; }
  .section { padding: 76px 0; }
  .step { padding-left: 26px; }
  .step::before { left: 3px; }
  .step__head { flex-direction: column; gap: 12px; }
  .step__num { order: -1; align-self: flex-start; }
  .testi-row { padding: 0 20px; }
  .testi-card { flex-basis: 84vw; }
  .testi-controls { margin-top: 24px; gap: 14px; }
  .work-grid { grid-template-columns: 1fr; }
  .chips { gap: 8px; }
  .chip { padding: 9px 14px; font-size: 10.5px; }
  .footer-col a { padding: 6px 0; }
  .socials a { width: 40px; height: 40px; }
  .testi-nav { width: 42px; height: 42px; }
  .plan__price strong { font-size: 32px; }
  .team-grid { grid-template-columns: 1fr; gap: 12px; }
  .team-card img { aspect-ratio: 4 / 3.4; }
  .stats { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .form { grid-template-columns: 1fr; padding: 22px; }
  .field--full, .form .btn, .form__note, .form__status { grid-column: auto; }
  .case + .case { margin-top: 78px; }
  .cta { padding: 84px 0 60px; }
  .footer-grid { margin-top: 56px; }
  .footer-bar .wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
  .mobile-menu { padding: 92px 24px 32px; }
  .mobile-menu a { font-size: 26px; }
  .logo-strip { gap: 18px; }
  .logo-strip__track span { font-size: 18px; }
  .hero h1 br, .cta .h2 br, .faq-section .h2 br, .pricing__intro .h2 br { display: none; }
}

/* Very small phones: give the hero actions their own full-width rows */
@media (max-width: 560px) {
  .hero__actions { flex-direction: column; gap: 20px; }
  .hero__actions .btn { min-width: 200px; }
  .hero .trust { justify-content: center; }
  .testi-controls { gap: 10px; }
  .testi-dot { width: 16px; }
  .testi-dot.is-active { width: 34px; }
}

/* ==========================================================================
   Motion
   ========================================================================== */
:root {
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --stagger: 70ms;
}

:focus-visible { outline: 2px solid #f4f3ef; outline-offset: 3px; border-radius: 3px; }

/* ---------- Sticky glass header ---------- */
.site-header {
  position: fixed;
  padding: 22px 0;
  transition: padding .45s var(--ease-out), background .45s var(--ease-out);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255,255,255,.07);
  opacity: 0;
  transition: opacity .45s var(--ease-out);
}
.site-header.is-scrolled {
  padding: 13px 0;
  background: rgba(12,12,12,.72);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
}
.site-header.is-scrolled::after { opacity: 1; }
.logo { transition: opacity .3s var(--ease-out); }
.logo:hover { opacity: .75; }

/* ---------- Link + button micro-interactions ---------- */
.nav-links a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .38s var(--ease-out);
}
.nav-links a:hover::before { transform: scaleX(1); }
.nav-links a[aria-current="page"]::before { display: none; }

.btn { transition: background .28s var(--ease-out), color .28s var(--ease-out),
       border-color .28s var(--ease-out), transform .28s var(--ease-out),
       box-shadow .28s var(--ease-out); }
.btn--light:hover { box-shadow: 0 14px 30px -16px rgba(255,255,255,.55); }
.btn--ghost:hover { box-shadow: 0 10px 26px -18px rgba(0,0,0,.9); }

.footer-col a {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size .35s var(--ease-out), color .25s var(--ease-out);
}
.footer-col a:hover { background-size: 100% 1px; }

.chip { transition: color .25s var(--ease-out), border-color .25s var(--ease-out),
        background .25s var(--ease-out), transform .25s var(--ease-out); }
.chip:hover { transform: translateY(-1px); }
.socials a { transition: background .3s var(--ease-out), color .3s var(--ease-out),
             border-color .3s var(--ease-out), transform .3s var(--ease-out); }
.socials a:hover { transform: translateY(-2px); }

/* ---------- Ambient movement ---------- */
@keyframes nebulaDrift {
  0%   { transform: scale(1.03) translate3d(0, 0, 0); }
  50%  { transform: scale(1.08) translate3d(-1.2%, 1%, 0); }
  100% { transform: scale(1.05) translate3d(1%, -.8%, 0); }
}
.hero--home::before {
  left: 50%;
  margin-left: -750px;
  transform: none;
  animation: nebulaDrift 70s ease-in-out infinite alternate;
}
.cosmic::before { animation: nebulaDrift 62s ease-in-out infinite alternate; }
.cta::before { animation: nebulaDrift 54s ease-in-out infinite alternate; }

@keyframes starsTwinkle {
  from { opacity: .3; }
  to   { opacity: .62; }
}
.stars { animation: starsTwinkle 9s ease-in-out infinite alternate; }

@keyframes softFloat {
  from { transform: rotate(-8deg) scale(1); }
  to   { transform: rotate(-8deg) translate3d(1.5%, -2%, 0) scale(1.06); }
}
.feature-card--teal::before { animation: softFloat 17s ease-in-out infinite alternate; }

@keyframes glowPulse {
  0%, 100% { opacity: .42; transform: scale(.95); }
  50%      { opacity: .72; transform: scale(1.03); }
}
.feature-card--orange::before { animation: glowPulse 9s ease-in-out infinite; }

/* Crowd photograph: barely-there drift + light shift */
@keyframes crowdDrift {
  0%   { transform: scale(1.02) translate3d(0, 0, 0); filter: brightness(1); }
  50%  { transform: scale(1.06) translate3d(-.8%, -.6%, 0); filter: brightness(1.06); }
  100% { transform: scale(1.03) translate3d(.7%, .4%, 0); filter: brightness(.98); }
}
.crowd::before {
  content: "";
  position: absolute;
  inset: -5% -3%;
  background: url('../assets/crowd.jpg') center top / cover no-repeat;
  animation: crowdDrift 42s ease-in-out infinite alternate;
}

/* Hiring banner uses the same nebula as the cosmic sections */
.hiring::before {
  content: "";
  position: absolute;
  inset: -10% -4%;
  z-index: 0;
  pointer-events: none;
  background: url('../assets/nebula.jpg') center 45% / cover no-repeat;
  animation: nebulaDrift 48s ease-in-out infinite alternate;
}
.hiring > * { position: relative; z-index: 2; }

/* ---------- Hero sequence ---------- */
.js .hero__inner > .eyebrow,
.js .hero__inner > .hero__lead,
.js .hero__inner > .hero__actions {
  opacity: 0;
  translate: 0 14px;
  transition: opacity .9s var(--ease-out) var(--d, 0ms), translate .9s var(--ease-out) var(--d, 0ms);
}
.js .hero__inner.is-in > .eyebrow,
.js .hero__inner.is-in > .hero__lead,
.js .hero__inner.is-in > .hero__actions { opacity: 1; translate: 0 0; }
.js .hero__inner > .eyebrow { --d: 90ms; }
.js .hero__inner > .hero__lead { --d: 320ms; }
.js .hero__inner > .hero__actions { --d: 450ms; }

/* ---------- Masked line reveals ---------- */
.reveal { opacity: 1; transform: none; translate: none; transition: none; }
.js .reveal {
  opacity: 0;
  translate: 0 20px;
  transition: opacity .85s var(--ease-out) var(--d, 0ms), translate .85s var(--ease-out) var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; translate: 0 0; }

.split .line {
  display: block;
  overflow: hidden;
  padding-bottom: .08em;
  margin-bottom: -.08em;
}
.js .split .line__in {
  display: block;
  transform: translateY(112%);
  transition: transform 1s var(--ease-out) calc(var(--line-i, 0) * 90ms);
}
.js .split.is-in .line__in { transform: none; }
.js .hero__inner .split .line__in {
  transition-delay: calc(130ms + var(--line-i, 0) * 110ms);
}

/* ---------- Staggered groups ---------- */
.js .stagger > * {
  opacity: 0;
  translate: 0 18px;
  transition: opacity .75s var(--ease-out) calc(var(--i, 0) * var(--stagger)),
              translate .75s var(--ease-out) calc(var(--i, 0) * var(--stagger));
}
.js .stagger.is-in > * { opacity: 1; translate: 0 0; }

/* ---------- Media reveals ---------- */
.js .media-reveal {
  opacity: 0;
  transition: opacity .7s var(--ease-out);
}
.js .media-reveal.is-in { opacity: 1; }
.js .media-reveal img {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.05);
  transition: clip-path 1.1s var(--ease-out) 60ms, transform 1.6s var(--ease-out);
}
.js .media-reveal.is-in img { clip-path: inset(0 0 0 0); transform: none; }

/* ---------- Process timeline ---------- */
.js .step::before {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.1s var(--ease-out) .2s;
}
.js .step.is-in::before { transform: scaleY(1); }
.js .step__dot {
  transition: opacity .45s var(--ease-out) .1s, transform .55s var(--ease-out) .1s;
}
.js .step:not(.is-in) .step__dot { opacity: 0; transform: scale(.35); }
.js .step__head {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .75s var(--ease-out) .05s, transform .75s var(--ease-out) .05s;
}
.js .step.is-in .step__head { opacity: 1; transform: none; }
.js .step__media {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.05s var(--ease-out) .18s;
}
.js .step.is-in .step__media { clip-path: inset(0 0 0 0); }

/* ---------- Testimonial crowd ---------- */
.js .crowd {
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s var(--ease-out), transform 1.9s var(--ease-out);
}
.js .crowd.is-in { opacity: 1; transform: none; }

/* ---------- Stats ---------- */
.stat { position: relative; }
.stat strong, .plan__price strong { font-variant-numeric: tabular-nums; }
.js .stat::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: #e8e6e0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease-out) .12s;
}
.js .stat.is-in::before { transform: scaleX(1); }

/* ---------- Hover depth ---------- */
@media (hover: hover) and (pointer: fine) {
  .showcase__item img { transition: transform .9s var(--ease-out); }
  .showcase__item:hover img { transform: scale(1.03); }
  .showcase__item:hover { transform: translateY(-4px); }
  .feature-card { transition: transform .55s var(--ease-out); }
  .feature-card:hover { transform: translateY(-4px); }
  .team-card img { transition: transform 1.1s var(--ease-out), filter .5s var(--ease-out); }
  .team-card:hover img { transform: scale(1.04); }
  .plan { transition: border-color .4s var(--ease-out), transform .4s var(--ease-out); }
  .plan:hover { border-color: #3a3a3a; transform: translateY(-2px); }
  .plan--light:hover { border-color: #f4f3ef; }
  .testi-card { transition: border-color .4s var(--ease-out), transform .4s var(--ease-out); }
  .testi-card:hover { border-color: #333; transform: translateY(-3px); }
  .socials a:hover svg { transform: scale(1.08); }
  .socials a svg { transition: transform .3s var(--ease-out); }
}

/* ---------- FAQ ---------- */
.faq { transition: height .32s var(--ease-out), background .35s var(--ease-out),
       color .35s var(--ease-out), border-color .35s var(--ease-out); }
.faq__body { overflow: hidden; }
.faq summary { transition: opacity .25s var(--ease-out); }
.faq summary:hover { opacity: .72; }
.faq[open] summary:hover { opacity: 1; }

/* ---------- Work filter ---------- */
.work-card { transition: opacity .26s var(--ease-out), transform .26s var(--ease-out); }
.js .stagger.is-in > .work-card.is-entering,
.js .stagger.is-in > .work-card.is-leaving { opacity: 0; transform: scale(.97); }

/* ---------- Logo marquee ---------- */
.logo-strip__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logo-strip__track {
  display: flex;
  gap: 0;
  width: max-content;
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
  animation: marquee 34s linear infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-strip__group {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
  flex: none;
}
.logo-strip:hover .logo-strip__track { animation-play-state: paused; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), visibility .35s;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.mobile-menu a {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.mobile-menu.is-open a { opacity: 1; transform: none; }
.mobile-menu.is-open a:nth-child(1) { transition-delay: .05s; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: .1s; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: .15s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: .2s; }
.mobile-menu.is-open a:nth-child(5) { transition-delay: .26s; }

/* ---------- Page transitions ---------- */
@view-transition { navigation: auto; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; } }
::view-transition-old(root) { animation: vtOut .18s ease both; }
::view-transition-new(root) { animation: vtIn .32s ease both; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal,
  .js .stagger > *,
  .js .split .line__in,
  .js .media-reveal,
  .js .hero__inner > .eyebrow,
  .js .hero__inner > .hero__lead,
  .js .hero__inner > .hero__actions,
  .js .step__head,
  .js .step__media,
  .js .crowd {
    opacity: 1 !important;
    transform: none !important;
    translate: none !important;
    clip-path: none !important;
  }
  .js .reveal,
  .js .stagger > *,
  .js .hero__inner > .eyebrow,
  .js .hero__inner > .hero__lead,
  .js .hero__inner > .hero__actions { translate: none !important; }
  .js .media-reveal img { clip-path: none !important; transform: none !important; }
  .logo-strip__track { animation: none !important; }
  .mobile-menu a { opacity: 1 !important; transform: none !important; }
  .testi-play { display: none !important; }
  .testi-dot__fill { display: none; }
}

/* ==================================================================
   Additions for the editable build — new sections only, nothing above
   this line has been altered.
   ================================================================== */

/* ---------- Announcement bar ---------- */
.announce {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  background: #171717;
  border-bottom: 1px solid #262626;
  color: #cfcdc7;
  font-size: 12.5px;
}
.announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 38px;
  padding: 8px 0;
  text-align: center;
}
.announce__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
  padding-bottom: 1px;
}
.announce__link:hover { border-color: #fff; }
.announce ~ .site-header { top: 38px; }
@media (max-width: 560px) {
  .announce__inner { flex-direction: column; gap: 4px; }
  .announce ~ .site-header { top: 52px; }
}

/* ---------- Logo images ---------- */
.logo__img { height: 22px; width: auto; display: block; }
.logo-strip__img { height: 22px; width: auto; opacity: .72; filter: grayscale(1); }

/* ---------- Project extras ---------- */
.case-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #f4f3ef;
  text-decoration: none;
  border-bottom: 1px solid #3a3a3a;
}
.case-live:hover { border-color: #f4f3ef; }
.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.case-gallery__item { margin: 0; overflow: hidden; border-radius: 4px; background: #141414; }
.case-gallery__item img { width: 100%; height: auto; display: block; }
@media (max-width: 700px) {
  .case-gallery { grid-template-columns: 1fr; }
}

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; }
.legal__body { color: #b7b5af; font-size: 15.5px; line-height: 1.75; }
.legal__body h2 {
  color: #f4f3ef;
  font-size: 21px;
  letter-spacing: -.02em;
  margin: 42px 0 12px;
}
.legal__body h3 { color: #f4f3ef; font-size: 17px; margin: 30px 0 10px; }
.legal__body p { margin: 0 0 16px; }
.legal__body ul, .legal__body ol { margin: 0 0 18px; padding-left: 22px; }
.legal__body li { margin-bottom: 8px; }
.legal__body a { color: #f4f3ef; }
.legal__body blockquote {
  margin: 22px 0;
  padding-left: 16px;
  border-left: 2px solid #333;
  color: #8f8d88;
}
.legal__body strong { color: #e6e4df; }
.legal__foot {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #242424;
}
.legal__back { color: #9a9893; font-size: 13px; text-decoration: none; border-bottom: 1px solid #2f2f2f; }
.legal__back:hover { color: #fff; }

/* ---------- Spam protection field ---------- */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.turnstile-field { margin-top: 4px; }

/* ---------- Draft preview bar ---------- */
.preview-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 24px);
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(12, 12, 12, .94);
  border: 1px solid #343434;
  color: #f4f3ef;
  font-size: 12.5px;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .9);
  backdrop-filter: blur(12px);
  flex-wrap: wrap;
  justify-content: center;
}
.preview-bar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c8f169;
  box-shadow: 0 0 10px rgba(200, 241, 105, .7);
}
.preview-bar__text { color: #a9a7a1; }
.preview-bar__link { color: #fff; text-decoration: none; border-bottom: 1px solid #3a3a3a; }
.preview-bar__link:hover { border-color: #fff; }
