/* ============================================
   INTELART V2 — Modules, Pricing tabs, About,
   Trailer modal, Mobile call, Motion & LED
   ============================================ */

/* ---- REVEAL ON SCROLL ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(.2,.8,.2,1), transform 0.9s cubic-bezier(.2,.8,.2,1);
  will-change: transform, opacity;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---- LED twinkle on hero chip ---- */
.dot--twinkle {
  position: relative;
  animation: twinkle 2.2s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% {
    background: var(--aqua);
    box-shadow:
      0 0 6px var(--aqua),
      0 0 14px rgba(111,227,232,0.75),
      0 0 24px rgba(111,227,232,0.35);
    transform: scale(1);
  }
  45% {
    background: #FFFFFF;
    box-shadow:
      0 0 10px #FFFFFF,
      0 0 22px var(--aqua),
      0 0 36px rgba(111,227,232,0.6);
    transform: scale(1.25);
  }
  55% {
    background: #BAF5F8;
    box-shadow:
      0 0 12px #BAF5F8,
      0 0 26px var(--aqua),
      0 0 40px rgba(111,227,232,0.55);
    transform: scale(1.15);
  }
}

/* ---- Pearl pill variant (Play trailer) ---- */
.pill--pearl {
  background: linear-gradient(180deg, rgba(253,253,252,0.94) 0%, rgba(232,234,228,0.92) 100%) !important;
  color: var(--ink-700) !important;
  border: none !important;
  backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(100,110,120,0.18),
    0 2px 6px rgba(20,25,30,0.08),
    0 10px 24px rgba(20,25,30,0.14) !important;
}
.pill--pearl svg { transition: transform 0.25s; }
.pill--pearl:hover svg { transform: translateX(2px); }

/* ============================================
   MODULE SECTIONS (Advertising / Web / Automation)
   ============================================ */
.module-grid {
  display: grid;
  gap: 28px;
  align-items: stretch;
}
/* Advertising: 2 vertical cards left + image right */
.module-grid--text-left {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr);
}
.module-grid--text-left .mod-image { grid-column: 3; }

/* Automation: image left + 2 vertical cards right */
.module-grid--text-right {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
}

/* Web: 1 card left + image center + 1 card right */
.module-grid--web {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
}

.mod-card {
  padding: 40px 34px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 520px;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1), box-shadow 0.5s;
}
.mod-card:hover {
  transform: translateY(-4px);
  box-shadow:
    var(--bevel-top),
    var(--bevel-inner-top),
    var(--bevel-bottom),
    var(--bevel-inner-bottom),
    var(--bevel-left),
    var(--bevel-right),
    0 1px 2px rgba(20,25,30,0.04),
    0 14px 32px rgba(40,50,60,0.08),
    0 32px 60px rgba(40,50,60,0.08);
}
.mod-card__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.mod-card__title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: var(--ink-900);
  margin-bottom: 4px;
}
.mod-card p {
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.72;
}
.mod-card p strong {
  color: var(--ink-900);
  font-weight: 500;
}
.mod-card__footnote {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(60,70,80,0.08);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
  line-height: 1.6;
}

/* Mod list (numbered) */
.mod-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
}
.mod-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(60,70,80,0.08);
  font-size: 14px;
  color: var(--ink-900);
  transition: padding-left 0.3s cubic-bezier(.2,.8,.2,1), color 0.3s;
}
.mod-list li:last-child { border-bottom: none; }
.mod-list li:hover {
  padding-left: 12px;
  color: var(--ink-900);
}
.mod-list__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--aqua-deep);
  min-width: 24px;
  padding-top: 4px;
}
.mod-list--auto li { flex-direction: row; align-items: flex-start; padding: 18px 4px; }
.mod-list__head {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ink-900);
  margin-bottom: 4px;
  letter-spacing: 0.005em;
}
.mod-list__sub {
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.6;
}

/* Stats row inside context card */
.stat-row {
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}
.stat {
  padding: 16px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(253,253,252,0.95) 0%, rgba(232,234,228,0.9) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(100,110,120,0.15);
}
.stat--aqua {
  background: linear-gradient(180deg, rgba(184,238,240,0.55) 0%, rgba(111,227,232,0.25) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    inset 0 -1px 0 rgba(10,60,65,0.15);
}
.stat__num {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink-900);
  line-height: 1.05;
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.stat--aqua .stat__num { color: #0B3A3C; }
.stat__lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
  line-height: 1.4;
}

/* Module image */
.mod-image {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  /* NO aspect-ratio — stretches to match sibling card heights */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 -1px 0 rgba(80,90,100,0.18),
    inset 1px 0 0 rgba(255,255,255,0.5),
    inset -1px 0 0 rgba(80,90,100,0.10),
    0 10px 28px rgba(30,40,50,0.08),
    0 30px 60px rgba(30,40,50,0.10);
  background: linear-gradient(135deg, #E8EEF0 0%, #D4DADD 40%, #C9C0B0 100%);
}
.mod-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.mod-image:hover img { transform: scale(1.04); }
.mod-image__caption {
  position: absolute;
  bottom: 18px;
  left: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(253,253,252,0.94);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-700);
  box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 4px 12px rgba(0,0,0,0.12);
  z-index: 2;
}

/* ============================================
   PRICING TABS
   ============================================ */
.price-tabs {
  position: relative;
  display: inline-flex;
  margin: 0 auto 48px;
  padding: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(253,253,252,0.9) 0%, rgba(232,234,228,0.85) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(100,110,120,0.18),
    0 2px 6px rgba(20,25,30,0.06),
    0 10px 24px rgba(20,25,30,0.08);
  backdrop-filter: blur(14px);
  gap: 2px;
}
.price-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}
/* Ensure the tabs bar centers itself within the section */
.price-tabs { display: flex; }
.price-tabs {
  align-self: center;
  justify-self: center;
  margin-left: auto;
  margin-right: auto;
  width: max-content;
}
.price-tab {
  position: relative;
  z-index: 2;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
  background: transparent;
  transition: color 0.3s;
  white-space: nowrap;
}
.price-tab.is-active { color: #0B3A3C; }
.price-tab:hover:not(.is-active) { color: var(--ink-900); }
.price-tabs__indicator {
  position: absolute;
  z-index: 1;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: 100px;
  border-radius: 999px;
  background: linear-gradient(180deg, #9FF0F3 0%, #6FE3E8 55%, #4FCFD4 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    inset 0 -1px 0 rgba(10,60,65,0.25),
    0 4px 12px rgba(60,190,200,0.3);
  transition: left 0.5s cubic-bezier(.2,.8,.2,1), width 0.5s cubic-bezier(.2,.8,.2,1);
}

.price-panel { display: none; }
.price-panel.is-active {
  display: grid;
  animation: fadeUp 0.6s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Two-column layout when only 2 plans */
.price-panel[data-panel="web"],
.price-panel[data-panel="automation"] {
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
}

.price__addon {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aqua-deep);
  margin-top: -8px;
  margin-bottom: 4px;
}

.price__addon + .price__addon {
  margin-top: 1px;
  margin-bottom: 12px;
}

.price__addon-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: -8px;
}
.price__addon-group .price__addon {
  margin-top: 0;
  margin-bottom: 0;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: stretch;
}
.about-card {
  padding: 56px 48px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  min-height: 560px;
}
.about-card__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 8px;
}
.about-card__lead {
  font-family: var(--font-display);
  font-size: 24px !important;
  line-height: 1.35 !important;
  color: var(--ink-900) !important;
  letter-spacing: -0.005em;
}
.about-card p {
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.75;
}
.about-motto {
  margin-top: auto;
  padding-top: 28px;
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.28em;
  color: var(--ink-900);
  border-top: 1px solid rgba(60,70,80,0.1);
  background: linear-gradient(90deg, var(--ink-900) 0%, var(--aqua-deep) 60%, var(--bronze-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
}
.about-image {
  position: relative;
  min-height: 560px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 -1px 0 rgba(80,90,100,0.18),
    0 10px 28px rgba(30,40,50,0.08),
    0 30px 60px rgba(30,40,50,0.10);
}
.about-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(.2,.8,.2,1);
}
.about-image:hover img { transform: scale(1.03); }
.about-image__caption {
  position: absolute;
  bottom: 18px;
  left: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(253,253,252,0.94);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-700);
  box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 4px 12px rgba(0,0,0,0.12);
}

/* ============================================
   CONTACT form success state
   ============================================ */
.contact__form.form--success {
  padding: 0;
  overflow: hidden;
  gap: 0;
  justify-content: center;
}
.form-success {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 0;
  width: 100%;
}
.form-success__img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  border-radius: 50%;
  margin: 0 auto;
  flex-shrink: 0;
}
.form-success__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 28px 32px 36px;
  background: transparent;
}
.form-success__body svg { color: var(--aqua); }
.form-success__body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--ink-900);
  margin: 0;
}
.form-success__body p {
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   CONTACT meta links
   ============================================ */
.contact__meta-row--link {
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s;
  cursor: pointer;
}
.contact__meta-row--link:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(100,110,120,0.15),
    0 10px 24px rgba(30,40,50,0.08);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6, 8, 10, 0.96);
  backdrop-filter: blur(28px) saturate(110%);
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(.2,.8,.2,1);
}
.lightbox.is-open {
  display: flex;
  opacity: 1;
}
.lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100vw - 160px);
  max-height: calc(100vh - 80px);
}
.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 80px);
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.06);
  transform: scale(0.94);
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1), opacity 0.35s;
  opacity: 0;
}
.lightbox__img.is-loaded {
  transform: scale(1);
  opacity: 1;
}
.lightbox__counter {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
}
.lightbox__close {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 2;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink-900);
  background: linear-gradient(180deg, rgba(253,253,252,0.94) 0%, rgba(232,234,228,0.92) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,1), inset 0 -1px 0 rgba(100,110,120,0.18), 0 8px 24px rgba(0,0,0,0.35);
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1);
}
.lightbox__close:hover { transform: scale(1.06) rotate(90deg); }
.lightbox__arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink-900);
  background: linear-gradient(180deg, rgba(253,253,252,0.94) 0%, rgba(232,234,228,0.92) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,1), inset 0 -1px 0 rgba(100,110,120,0.18), 0 8px 24px rgba(0,0,0,0.35);
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), opacity 0.2s;
  z-index: 2;
}
.lightbox__arrow--prev { left: 24px; }
.lightbox__arrow--next { right: 24px; }
.lightbox__arrow:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__arrow:active { transform: translateY(-50%) scale(0.96); }
.lightbox__arrow:disabled { opacity: 0.3; pointer-events: none; }

/* Gallery items become clickable */
.gallery__item { cursor: zoom-in; }
.gallery__item:hover img { transform: scale(1.04); transition: transform 0.8s cubic-bezier(.2,.8,.2,1); }

body.lightbox-open { overflow: hidden; }

@media (max-width: 720px) {
  .lightbox__stage { max-width: calc(100vw - 32px); }
  .lightbox__arrow--prev { left: 8px; }
  .lightbox__arrow--next { right: 8px; }
  .lightbox__arrow { width: 44px; height: 44px; }
  .lightbox__close { top: 16px; right: 16px; width: 42px; height: 42px; }
}

/* ============================================
   TRAILER MODAL
   ============================================ */
.trailer-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 14, 18, 0.92);
  backdrop-filter: blur(24px) saturate(120%);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(.2,.8,.2,1);
}
.trailer-modal.is-open {
  display: flex;
  opacity: 1;
}
.trailer-modal__stage {
  position: relative;
  width: min(92vw, 1400px);
  aspect-ratio: 16 / 9;
  max-height: 88vh;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 30px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.06);
  transform: scale(0.95);
  transition: transform 0.55s cubic-bezier(.2,.8,.2,1);
}
.trailer-modal.is-open .trailer-modal__stage { transform: scale(1); }
.trailer-modal__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.trailer-modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-900);
  background: linear-gradient(180deg, rgba(253,253,252,0.94) 0%, rgba(232,234,228,0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(100,110,120,0.18),
    0 8px 24px rgba(0,0,0,0.3);
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1);
}
.trailer-modal__close:hover { transform: scale(1.06) rotate(90deg); }
body.trailer-open { overflow: hidden; }

/* ============================================
   MOBILE STICKY CALL BAR
   ============================================ */
.mobile-call {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  height: auto;
  padding: 16px 22px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
  border-radius: 0;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #0B3A3C;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(180deg, #9FF0F3 0%, #6FE3E8 55%, #4FCFD4 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    0 -4px 20px rgba(60,190,200,0.25);
  animation: float-up 0.6s cubic-bezier(.2,.8,.2,1) 0.3s both;
}
@keyframes float-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-call__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #0B3A3C;
  animation: twinkle-dark 1.4s ease-in-out infinite;
}
@keyframes twinkle-dark {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

/* ============================================
   HOVER POLISH (interactivity)
   ============================================ */
.nav__links a {
  position: relative;
  transition: background 0.3s, color 0.3s;
}
.gallery__item { transition: transform 0.5s cubic-bezier(.2,.8,.2,1); }
.gallery__item:hover { transform: translateY(-4px); }

.compare__card { transition: transform 0.5s cubic-bezier(.2,.8,.2,1); }
.compare__card:hover { transform: translateY(-4px); }
.price { transition: transform 0.5s cubic-bezier(.2,.8,.2,1); }
.price:not(.price--featured):hover { transform: translateY(-6px); }
.price--featured:hover { transform: translateY(-22px); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .module-grid--text-left,
  .module-grid--text-right,
  .module-grid--web {
    grid-template-columns: 1fr 1fr;
  }
  .module-grid--text-left .mod-image,
  .module-grid--text-right .mod-image,
  .module-grid--web .mod-image {
    grid-column: 1 / -1;
    order: -1;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .module-grid--text-left,
  .module-grid--text-right,
  .module-grid--web { grid-template-columns: 1fr; }
  .mod-card { min-height: 0; padding: 32px 26px; }
  .mod-card__title { font-size: 28px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-card { padding: 36px 28px; min-height: 0; }
  .about-card__lead { font-size: 20px !important; }
  .about-motto { font-size: 22px; letter-spacing: 0.22em; }
  .about-image { min-height: 0; aspect-ratio: 4 / 3; }
  .price-tab { padding: 10px 13px; font-size: 10px; letter-spacing: 0.12em; }
  .price-tabs { width: auto; max-width: 100%; }
  .price-panel[data-panel="web"],
  .price-panel[data-panel="automation"] { grid-template-columns: 1fr; }

  /* Sticky tab bar — constrained to #pricing section height */
  .price-tabs-sticky {
    position: sticky;
    top: 72px;
    z-index: 50;
    display: flex;
    justify-content: center;
    padding: 12px 0;
    margin: 0 -20px;
    background: transparent;
  }

  /* Hide image/video captions on mobile */
  .mod-image__caption,
  .about-image__caption { display: none; }

  /* Hide context/economics cards on mobile */
  #advertising .mod-card--context,
  #web-design   .mod-card--context,
  #automation   .mod-card--context { display: none; }

  /* Hide entire comparison section on mobile */
  #compare { display: none; }

  .mobile-call { display: inline-flex; }
  body { padding-bottom: calc(52px + env(safe-area-inset-bottom)); }
  .footer { padding-bottom: 30px; }

  /* Hero: portrait frame on mobile */
  .hero { padding: 80px 16px 32px; }
  .hero__frame { aspect-ratio: 3 / 4; border-radius: 20px; }

  /* Wordmark: upper-left, compact */
  .hero__wordmark { left: 16px !important; top: 16px !important; transform: none !important; padding: 8px 16px; }
  .hero__wordmark span { font-size: 16px !important; letter-spacing: 0.32em; }

  /* Video: android shifted right */
  .hero__video { object-position: 68% center; }

  /* Chips: too cluttered on mobile */
  .hero__chip { display: none; }

  /* Overlay: single Play Trailer button, flush at bottom of frame */
  .hero__overlay { bottom: 0; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
  .hero__meta { flex-direction: column; width: 100%; margin-right: 0; gap: 0; }
  /* Remove Book a Call — redundant with sticky call bar */
  .hero__meta .pill--aqua { display: none; }
  /* Play Trailer: full-width flush bar at bottom of frame */
  .hero__meta .pill--ghost { width: 100%; justify-content: center; height: 52px; border-radius: 0 !important; backdrop-filter: blur(12px); }

  /* Call Now bar: match Play Trailer height */
  .mobile-call { height: 52px; }

  .trailer-modal__close { top: 16px; right: 16px; width: 42px; height: 42px; }
  .trailer-modal__stage { width: 96vw; border-radius: 14px; }

  .stat__num { font-size: 18px; }

  /* Nav audio: icon-only on mobile */
  .nav__audio .nav__audio-label { display: none; }

  /* Hide "Start a project" pill, show Menu button */
  .nav > .pill--aqua { display: none !important; }
  .nav__menu-btn     { display: inline-flex !important; }
}

/* ============================================
   NAV AUDIO TOGGLE
   ============================================ */
.nav__audio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--ink-700);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav__audio:hover { background: rgba(0,0,0,0.05); }
.nav__audio svg { display: block; width: 15px; height: 15px; flex-shrink: 0; }
.nav__audio .nav__audio-off { display: none; color: var(--ink-500); }
.nav__audio.is-muted .nav__audio-on  { display: none; }
.nav__audio.is-muted .nav__audio-off { display: block; }
.nav__audio.is-muted { color: var(--ink-500); }

/* ============================================
   NAV MENU BUTTON (mobile only)
   ============================================ */
.nav__menu-btn {
  display: none;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-700);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav__menu-btn:hover { background: rgba(0,0,0,0.06); }
.nav__menu-btn svg { display: block; flex-shrink: 0; }
.nav__menu-btn .nav__menu-close { display: none; }
.nav__menu-btn.is-open .nav__menu-icon  { display: none; }
.nav__menu-btn.is-open .nav__menu-close { display: block; }

/* ============================================
   MOBILE MENU OVERLAY
   ============================================ */
.mobile-menu {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(246, 247, 244, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 72px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  padding: 0 32px;
}
.mobile-menu__link {
  display: block;
  width: 100%;
  text-align: center;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--ink-900);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: color 0.2s;
}
.mobile-menu__link:hover { color: var(--aqua); }
.mobile-menu__link--cta {
  display: inline-block;
  width: auto;
  margin-top: 28px;
  border-bottom: none;
  background: var(--aqua);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-900);
  padding: 14px 32px;
}

body.mobile-menu-open { overflow: hidden; }
