/* ─── Base ─────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  background: #dadada;
  display: flex;
  justify-content: center;
  min-height: 100%;
}
body {
  font-family: 'Inter Tight', ui-sans-serif, system-ui;
  background: #FAFAFA;
  color: #1B1B1B;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  min-width: 100%;
  max-width: 1920px;
  box-shadow: 0px 0px 25px #555;
  overflow-x: hidden;
}
@media (max-width: 900px) {
  html {
    display: block;
    background: #0B0814;
  }
  body {
    box-shadow: none;
    max-width: 100%;
  }
}
.font-display { font-family: 'Space Grotesk', ui-sans-serif, system-ui; letter-spacing: -0.02em; }
.page { max-width: 1920px; margin: 0 auto; }

/* ─── Hero ─────────────────────────────────────────── */
.hero {
  background: #0B0814;
  min-height: 1080px;
}
.hero-inner {
  min-height: 1080px;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(0 0 0 / 62%) 0%, rgb(10 10 10 / 0%) 48%, rgb(26 26 26 / 60%) 100%);
}
.hero-nav {
  padding: 40px 40px 24px;
}
.hero-nav-right { gap: 24px; }
.hero-divider { margin: 0 40px; }
.hero-title-wrap { padding: 180px 40px 0; }
.hero-title {
  font-size: clamp(40px, 4.6vw, 88px);
  line-height: .95;
  letter-spacing: -0.02em;
  max-width: 1500px;
  min-height: 1em;
}
.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 0 40px 40px;
}
.hero-bottom-cta { flex-shrink: 0; }
.hero-desc {
  font-size: 15px;
  line-height: 1.35;
  max-width: 440px;
  flex: 1 1 0;
  min-width: 0;
}
.hero-scroll { flex-shrink: 0; }

@media (max-width: 900px) {
  .hero {
    height: 100svh;
    height: 100dvh;
    min-height: 100svh;
    min-height: 100dvh;
    overflow: hidden;
  }
  .hero-inner {
    height: 100%;
    min-height: 0;
    display: grid !important;
    grid-template-rows: auto auto 1fr auto;
    position: relative;
  }
  .hero-video {
    object-position: center 75%;
  }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(11, 8, 20, .55) 0%, rgba(11, 8, 20, .1) 30%, rgba(11, 8, 20, .85) 100%);
  }
  .hero-nav { padding: 16px 20px 12px; }
  .hero-nav-right { gap: 14px; }
  .hero-nav .cta-pill { display: none !important; }
  .hero-divider { margin: 0 20px; }
  .hero-title-wrap {
    padding: 32px 20px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
  }
  .hero-title {
    font-size: clamp(26px, 7vw, 40px);
    text-align: center;
    margin: 0 auto;
  }
  .hero-bottom {
    position: static !important;
    margin-top: 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 20px 20px;
    align-items: center;
    background: transparent;
  }
  .hero-desc {
    order: -1;
    flex: 0 0 100%;
    max-width: none;
    font-size: 13px;
    line-height: 1.4;
  }
  .hero-scroll { display: none !important; }
  .hero .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ─── Scroll progress ──────────────────────────────── */
.scroll-bar {
  height: 2px;
  background: rgba(255,255,255,.2);
  width: clamp(60px, 10vw, 140px);
  position: relative;
  overflow: hidden;
}
.scroll-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  width: var(--p, 0%);
  background: #F79BBE;
  transition: width .2s linear;
}

/* ─── Reveal on scroll ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal.from-left  { transform: translate3d(-32px,0,0); }
.reveal.from-right { transform: translate3d(32px,0,0); }
.reveal.from-left.is-in, .reveal.from-right.is-in { transform: translate3d(0,0,0); }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }
.reveal.delay-5 { transition-delay: .40s; }
.reveal.delay-6 { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ─── Services: layout 1 — grid (default) ──────────── */
.svc-card {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s cubic-bezier(.2,.7,.2,1),
              transform .55s cubic-bezier(.2,.7,.2,1),
              background-color .35s ease,
              box-shadow .35s ease;
}
.svc-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: transform .32s cubic-bezier(.2,.7,.2,1), background-color .32s ease, box-shadow .32s ease;
}
.svc-card:nth-child(2) { transition-delay: .08s; }
.svc-card:nth-child(3) { transition-delay: .04s; }
.svc-card:nth-child(4) { transition-delay: .12s; }
.svc-card:nth-child(5) { transition-delay: .08s; }
.svc-card:nth-child(6) { transition-delay: .16s; }


/* ─── Service cards ────────────────────────────────── */
.svc-card:hover { transform: translateY(-4px); background-color: #ECECEC; box-shadow: 0 20px 40px -20px rgba(27,27,27,.15); }
.svc-icon {
  color: #F79BBE;
  flex-shrink: 0;
  transition: color .25s ease;
}
.svc-icon svg { width: 55px; height: 55px; stroke-width: 1; }
.svc-card:hover .svc-icon { color: #EB89AD; }
.svc-card:hover .svc-arrow { background-color: #1B1B1B; }
.svc-card:hover .svc-arrow svg { transform: translate(2px,-2px); }
.svc-arrow { transition: background-color .25s ease; }
.svc-arrow svg { transition: transform .25s ease; }

/* ─── Buttons ──────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 70px;
  padding: 0 10px 0 30px;
  border-radius: 5px;
  font: 500 18px/1.1 'Inter Tight', sans-serif;
  background: #F2F2F2;
  color: #1B1B1B;
  transition: background-color .2s ease, color .2s ease, transform .15s ease;
  isolation: isolate;
  overflow: hidden;
}
.btn:hover:not(:disabled):not(.is-loading) { background: #1B1B1B; color: #FAFAFA; }
.btn:hover:not(:disabled):not(.is-loading) .btn-icon { background: #F79BBE; color: #1B1B1B; }
.btn:active:not(:disabled):not(.is-loading) { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn:focus-visible { outline: 2px solid #F79BBE; outline-offset: 3px; }
.btn-icon {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 3px;
  background: #F79BBE;
  color: #F2F2F2;
  transition: background-color .2s ease, color .2s ease;
}
.btn-icon svg { width: 16px; height: 16px; }
.btn.is-loading { color: transparent; pointer-events: none; }
.btn.is-loading .btn-icon { background: #1B1B1B; color: #FAFAFA; }
.btn.is-loading .btn-spinner { opacity: 1; }
.btn-spinner {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(27,27,27,.2);
  border-top-color: #1B1B1B;
  animation: spin .8s linear infinite;
  opacity: 0;
}
.btn[data-variant="dark"] { background: #1B1B1B; color: #FAFAFA; }
.btn[data-variant="dark"] .btn-icon { background: #F79BBE; color: #1B1B1B; }
.btn[data-variant="dark"]:hover:not(:disabled):not(.is-loading) { background: #0B0B0B; }
.btn[data-variant="dark"]:hover:not(:disabled):not(.is-loading) .btn-icon { background: #FAFAFA; color: #1B1B1B; }
.btn.is-success { background: #1B1B1B !important; color: #FAFAFA !important; }
.btn.is-success .btn-icon { background: #F79BBE !important; color: #1B1B1B !important; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── CTA pill ─────────────────────────────────────── */
.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #FAFAFA;
  color: #1B1B1B;
  padding: 8px 8px 8px 18px;
  border-radius: 4px;
  font: 500 15px/1 'Inter Tight', sans-serif;
  transition: background-color .2s ease;
}
.cta-pill:hover { background: #F79BBE; }
.cta-pill .pill-ico {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 3px;
}

/* ─── Form fields ──────────────────────────────────── */
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(250,250,250,.25);
  padding: 18px 0 14px;
  color: #FAFAFA;
  font: 500 18px/1.2 'Inter Tight', sans-serif;
  transition: border-color .2s ease;
}
.field textarea { resize: none; min-height: 100px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(250,250,250,.35); }
.field:focus-within input, .field:focus-within textarea { border-bottom-color: #F79BBE; outline: none; }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #EB89AD; }
.field .err { color: #F79BBE; font-size: 13px; margin-top: 6px; display: none; }
.field.is-invalid .err { display: block; }

/* ─── Nav ──────────────────────────────────────────── */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: #F79BBE;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.nav-link:hover::after { transform: scaleX(1); }

/* ─── Industries ───────────────────────────────────── */
.industry-row { transition: background-color .25s ease; }
.industry-row:hover .industry-img { transform: scale(1.03); }
.industry-img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.industry-grid {
  display: grid;
  grid-template-columns: 48px 328px minmax(360px, 1fr) minmax(300px, 460px);
}
@media (max-width: 1024px) {
  .industry-grid { grid-template-columns: 1fr; }
  .industry-thumb { width: 100% !important; height: 220px !important; }
}
.industry-thumb { width: 328px; height: 280px; overflow: hidden; border-radius: 2px; }

/* ─── Misc ─────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  backdrop-filter: blur(40px);
  border-radius: 3px;
}
.stat-dots { display: inline-flex; gap: 10px; align-items: center; }
.stat-dots span { width: 12px; height: 12px; border-radius: 50%; background: #F79BBE; opacity: .35; transition: opacity .3s ease; }
.stat-row-1 .stat-dots span:nth-child(1) { opacity: 1; }
.stat-row-2 .stat-dots span:nth-child(1),
.stat-row-2 .stat-dots span:nth-child(2) { opacity: 1; }
.stat-row-3 .stat-dots span { opacity: 1; }

/* ─── Stats card ───────────────────────────────────── */
.stat-card { padding: 60px; }
.stat-title {
  font-size: clamp(36px, 3.5vw, 68px);
  line-height: .95;
}
.stat-list { margin-top: 64px; }
.stat-row { padding: 32px 0; gap: 24px; }
.stat-number {
  font-size: clamp(48px, 4vw, 88px);
  line-height: 1;
  min-width: 140px;
}
.stat-label {
  font-size: 16px;
  line-height: 1.2;
}

@media (max-width: 900px) {
  .stat-card { padding: 28px 20px; }
  .stat-title { font-size: 28px; line-height: 1.1; }
  .stat-list { margin-top: 24px; }
  .stat-row {
    padding: 18px 0;
    gap: 16px;
    align-items: center;
  }
  .stat-number {
    font-size: 44px;
    min-width: 72px;
  }
  .stat-label { font-size: 13px; line-height: 1.3; }
  .stat-dots { gap: 6px; }
  .stat-dots span { width: 7px; height: 7px; }
  .stat-visual {
    aspect-ratio: 4 / 3;
    height: auto;
    flex: 0 0 auto;
    max-height: 320px;
  }
  .stats-wrap {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}
.srv-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #F79BBE;
  font: 500 14px/1 'Inter Tight', sans-serif;
  color: #1B1B1B;
  flex-shrink: 0;
}
.pink-block { background: linear-gradient(180deg, #d2a0b3 0%, #da93ae 100%); }
.dashed-y { border-top: 1px dashed #B9B9B9; }
.srv-tab {
  border: 1px solid #E2E2E2;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 15px;
  color: #1B1B1B;
  background: transparent;
  transition: all .2s ease;
}
.srv-tab:hover { border-color: #1B1B1B; }
.srv-tab.is-active { background: #1B1B1B; color: #FAFAFA; border-color: #1B1B1B; }
.social-btn {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  background: #FAFAFA;
  color: #1B1B1B;
  transition: background-color .2s ease, transform .2s ease;
}
.social-btn:hover { background: #F79BBE; transform: translateY(-2px); }

/* ─── Services: sticky layout ─────────────────────── */
.srv-sticky-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  column-gap: 60px;
}
.srv-sticky-left {
  position: sticky;
  top: 60px;
}
.svc-card-v2 {
  background: #F2F2F2;
  border-radius: 5px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.scv2-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(27,27,27,.4);
  font-weight: 500;
  letter-spacing: .01em;
}
.scv2-num strong { color: #1B1B1B; font-size: 15px; font-weight: 600; }
.scv2-line { border: none; border-top: 1px solid rgba(27,27,27,.1); margin: 0; }
.scv2-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.srv-heading {
  font-size: clamp(28px, 3vw, 52px);
  line-height: 1;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .srv-sticky-wrap {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
  .srv-sticky-left { position: static; }
  .srv-heading { font-size: 36px; }
  #services .page {
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .svc-card-v2 { padding: 22px 20px; }
  .svc-card-v2 h3 { font-size: 28px; }
}

/* ─── Footer ───────────────────────────────────────── */

/* ─── Typewriter cursor ────────────────────────────── */
.tw-cursor {
  display: inline-block;
  color: #F79BBE;
  font-weight: 300;
  margin-left: 2px;
  animation: tw-blink .7s step-end infinite;
}
.tw-cursor.is-done {
  opacity: 0;
  animation: none;
}
@keyframes tw-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ─── Toast ────────────────────────────────────────── */
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1B1B1B;
  color: #FAFAFA;
  padding: 16px 20px;
  border-radius: 6px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.5);
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .35s ease;
}
.toast.is-on { transform: translateY(0); opacity: 1; pointer-events: auto; }
.toast .dot { width: 8px; height: 8px; border-radius: 50%; background: #F79BBE; }
