/**
 * COZQ Precision Light (+ dark CTAs)
 * Full public visual system override.
 * LOADS AFTER styles-brand-new.css
 *
 * LOCKED: .site-header--floating, .nav-pill* (PC navbar)
 * Colours: onyx / white / energy orange
 * Motion: bold scroll/perspective only - no text wiggle
 */

:root {
  --energy-orange: #FF4D20;
  --onyx: #0D0D0D;
  --surface-muted: #F4F5F7;
  --surface-sunken: #EBEDF1;
  --text-strong: #0D0D0D;
  --text-body: #1C1F26;
  --text-muted: #5B6270;
  --text-faint: #8B92A1;
  --border-soft: #E4E7EC;
  --border-strong: #D0D5DD;
  --on-dark: #FFFFFF;
  --on-dark-muted: rgba(255, 255, 255, 0.78);
  --on-dark-faint: rgba(255, 255, 255, 0.58);
  --cta-dark: #0D0D0D;
  --cta-dark-2: #16161A;

  --font-heading: 'Urbanist', system-ui, -apple-system, sans-serif;
  --font-body: 'Urbanist', system-ui, -apple-system, sans-serif;

  --fs-xs: clamp(0.72rem, 0.68rem + 0.2vw, 0.8rem);
  --fs-sm: clamp(0.88rem, 0.84rem + 0.2vw, 0.95rem);
  --fs-base: clamp(1.05rem, 1rem + 0.25vw, 1.15rem);
  --fs-lg: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --fs-xl: clamp(1.4rem, 1.2rem + 0.7vw, 1.85rem);
  --fs-2xl: clamp(1.75rem, 1.4rem + 1.1vw, 2.4rem);
  --fs-3xl: clamp(2.3rem, 1.7rem + 2vw, 3.4rem);
  --fs-4xl: clamp(3rem, 2rem + 3.2vw, 4.75rem);
  --fs-5xl: clamp(3.6rem, 2.2rem + 4.5vw, 6.25rem);
  --fs-6xl: clamp(4.2rem, 2.4rem + 6vw, 7.75rem);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-1: var(--ease-out-expo);
}

/* ------------------------------------------------------------------
   BASE - light canvas, strong contrast
   ------------------------------------------------------------------ */

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text-body);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-strong);
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 800;
}

p, li {
  color: var(--text-body);
}

a {
  color: inherit;
}

.container {
  max-width: 1280px;
}

/* ------------------------------------------------------------------
   NAVBAR LOCK - do not restyle PC pill
   ------------------------------------------------------------------ */

.site-header.site-header--floating,
.site-header.site-header--floating .nav-pill,
.site-header.site-header--floating .nav-pill__brand,
.site-header.site-header--floating .nav-pill__nav,
.site-header.site-header--floating .nav-pill__link,
.site-header.site-header--floating .nav-pill__cta,
.site-header.site-header--floating .nav-pill__dropdown-toggle,
.site-header.site-header--floating .nav-pill__dropdown-panel,
.site-header.site-header--floating .nav-pill__dropdown-link {
  /* intentional no-op lock: preserve existing PC navbar */
}

/* ------------------------------------------------------------------
   BUTTONS - bold, high contrast
   ------------------------------------------------------------------ */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.1rem;
  padding: 0.9rem 1.55rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out-expo), background-color 0.25s ease,
    color 0.25s ease, border-color 0.25s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.btn::before {
  display: none;
}

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

.btn:focus-visible {
  outline: 3px solid var(--energy-orange);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--energy-orange);
  color: #fff;
  border-color: var(--energy-orange);
  box-shadow: 0 14px 34px rgba(255, 77, 32, 0.28);
}

.btn-primary:hover {
  background: #ff5e35;
  color: #fff;
  box-shadow: 0 18px 40px rgba(255, 77, 32, 0.36);
}

.btn-secondary,
.btn-pill-outline {
  background: transparent;
  color: var(--text-strong);
  border-color: var(--border-strong);
  box-shadow: none;
}

.btn-secondary:hover,
.btn-pill-outline:hover {
  background: var(--onyx);
  color: #fff;
  border-color: var(--onyx);
}

.btn-accent {
  background: var(--onyx);
  color: #fff;
  border-color: var(--onyx);
}

.btn-accent:hover {
  background: #1a1a1a;
  color: #fff;
}

/* Dark surfaces: force readable controls */
.section--dark .btn-secondary,
.section--dark .btn-pill-outline,
.section--black .btn-secondary,
.section--black .btn-pill-outline,
.section--cta-minimal .btn-secondary,
.section--cta-minimal .btn-pill-outline,
.feature-card--dark .btn-secondary,
.feature-card--dark .btn-pill-outline,
.cs2-cta .btn-secondary,
.cs2-finalcta .btn-secondary,
.cs2-btn--light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: transparent;
}

.section--dark .btn-secondary:hover,
.section--dark .btn-pill-outline:hover,
.section--black .btn-secondary:hover,
.section--black .btn-pill-outline:hover,
.feature-card--dark .btn-secondary:hover,
.feature-card--dark .btn-pill-outline:hover,
.cs2-btn--light:hover {
  background: #fff;
  color: var(--onyx);
  border-color: #fff;
}

.section--dark .btn-primary,
.section--black .btn-primary,
.feature-card--dark .btn-primary,
.cs2-cta .cs2-btn--primary,
.cs2-finalcta .cs2-btn--primary {
  color: #fff;
}

/* ------------------------------------------------------------------
   PILLS / BADGES
   ------------------------------------------------------------------ */

.pill-tag,
.section__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pill-tag--dark {
  background: var(--onyx);
  border-color: var(--onyx);
  color: #fff;
}

.pill-tag--outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-muted);
}

.feature-card--dark .pill-tag,
.section--dark .pill-tag,
.section--black .pill-tag {
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.85);
}

/* ------------------------------------------------------------------
   SECTIONS
   ------------------------------------------------------------------ */

.section {
  padding: clamp(4.5rem, 10vw, 8rem) 0;
  background: #FFFFFF;
}

.section--gray,
.section--super,
.section--white {
  background: #F7F8FA;
}

.section--dark,
.section--black,
.section--cta-minimal {
  background: linear-gradient(165deg, #16161A 0%, var(--cta-dark) 55%, #050505 100%);
  color: var(--on-dark);
}

.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--black h2,
.section--black h3,
.section--black .section__title,
.section--cta-minimal h2,
.section--cta-minimal h3 {
  color: #fff;
}

.section--dark .section__description,
.section--dark p,
.section--black .section__description,
.section--black p,
.section--cta-minimal p {
  color: var(--on-dark-muted);
}

.section__header {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.section__title {
  margin-top: 1rem;
  font-size: var(--fs-3xl);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-strong);
}

.section__title--super {
  font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.6rem);
}

.section__description {
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
  font-size: var(--fs-lg);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 40rem;
}

.section__description--super {
  max-width: 44rem;
}

/* ------------------------------------------------------------------
   HERO - Precision Light, bold product stage
   ------------------------------------------------------------------ */

.hero.hero--minimal {
  position: relative;
  margin-top: 0;
  padding: clamp(7.5rem, 12vw, 9.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  background:
    radial-gradient(70% 60% at 90% 0%, rgba(255, 77, 32, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(247, 248, 250, 0.08) 100%);
  overflow: visible;
  isolation: auto;
}

.hero.hero--minimal::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(13, 13, 13, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 13, 13, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(80% 70% at 50% 20%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 20%, #000 0%, transparent 75%);
  pointer-events: none;
  opacity: 0.55;
}

.hero--minimal__wrap,
.hero--minimal__wrap--mega {
  position: relative;
  z-index: 1;
}

.hero--minimal__wrap--mega > .hero__pill {
  margin-bottom: 1.5rem;
  color: var(--energy-orange);
  border-color: rgba(255, 77, 32, 0.35);
  background: rgba(255, 77, 32, 0.08);
}

.hero--minimal__body {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: end;
}

@media (min-width: 980px) {
  .hero--minimal__body {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
    align-items: center;
  }

  .hero-showcase-float {
    order: 2;
  }

  .hero--minimal__copy {
    order: 1;
  }
}

.hero-headline,
.hero-headline--ref,
.hero-headline--mega {
  margin: 0;
  font-size: clamp(2.8rem, 1.4rem + 5.2vw, 6.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.94;
  color: var(--text-strong);
}

.hero-headline .headline-ghost {
  color: var(--text-faint);
  font-weight: 650;
}

.hero-headline strong {
  color: var(--text-strong);
  font-weight: 800;
}

.hero-inline-icons,
.hero-headline__mid-icon {
  display: none;
}

.hero-lede {
  margin: 1.5rem 0 0;
  max-width: 38rem;
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.28rem);
  line-height: 1.55;
  color: var(--text-muted);
}

.hero-lede strong {
  color: var(--text-strong);
  font-weight: 700;
}

.hero__actions--minimal,
.hero__actions--mega-clear,
.hero__actions--ref-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

.hero__actions--mega-clear.hero__actions--ref-stack .btn {
  width: auto;
}

/* Product stage - epic scroll stage */
.hero-showcase-float {
  position: relative;
  float: none;
  width: 100%;
  margin: 0;
}

.hero-visual-panel,
.hero-visual-panel--ref {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.hero-dashboard,
.hero-dashboard--ref {
  position: relative;
  perspective: 1400px;
}

.hero-dashboard__plinth {
  display: none;
}

.hero-dashboard__row,
.hero-dashboard__row--ref {
  display: block;
  gap: 0;
}

.hero-dashboard__frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--onyx);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 40px 90px rgba(13, 13, 13, 0.22),
    0 0 0 1px rgba(13, 13, 13, 0.04);
  transform: rotateY(-8deg) rotateX(6deg) translateZ(0);
  transform-style: preserve-3d;
  transition: transform 0.15s linear;
  will-change: transform;
}

.hero__image-wrapper,
.hero__image-wrapper--minimal,
.hero__image-wrapper--ref-tile {
  position: relative;
  aspect-ratio: 16 / 11;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  background: #111;
}

.hero__image-wrapper img,
.hero-image-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.8s var(--ease-out-expo);
}

.hero-dashboard__play {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--energy-orange);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(255, 77, 32, 0.4);
  transition: transform 0.3s var(--ease-out-expo);
}

.hero-dashboard__play:hover {
  transform: scale(1.06);
}

.hero-stats-compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 1rem;
}

.hero-stat-chip {
  padding: 0.85rem 0.9rem;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
}

.hero-stat-chip__value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-strong);
  line-height: 1;
}

.hero-stat-chip__label {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 700px) {
  .hero-stats-compact {
    grid-template-columns: 1fr;
  }

  .hero-dashboard__frame {
    transform: none;
  }
}

/* ------------------------------------------------------------------
   FEATURE SUPER / DUO
   ------------------------------------------------------------------ */

.super-head {
  max-width: 52rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.super-head__title {
  font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-strong);
}

.super-head__lede {
  margin-top: 1.15rem;
  font-size: var(--fs-lg);
  line-height: 1.55;
  color: var(--text-muted);
}

.feature-duo {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .feature-duo {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.5rem;
  }
}

.feature-card {
  border-radius: 28px;
  border: 1px solid var(--border-soft);
  box-shadow: none;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  overflow: hidden;
}

.feature-card--light {
  background: #fff;
  color: var(--text-body);
}

.feature-card--dark {
  background: linear-gradient(160deg, #1A1A1F 0%, #0D0D0D 100%);
  color: var(--on-dark);
  border-color: transparent;
}

.feature-card__title {
  margin: 1rem 0 0;
  font-size: clamp(1.55rem, 1.25rem + 1vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.feature-card--light .feature-card__title,
.feature-card--light .feature-card__title a {
  color: var(--text-strong);
  text-decoration: none;
}

.feature-card--dark .feature-card__title,
.feature-card--dark .feature-card__title a {
  color: #fff;
  text-decoration: none;
}

.feature-card__text {
  margin-top: 0.85rem;
  font-size: 1.05rem;
  line-height: 1.55;
}

.feature-card--light .feature-card__text {
  color: var(--text-muted);
}

.feature-card--dark .feature-card__text {
  color: var(--on-dark-muted);
}

.mini-chart-card {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  background: var(--surface-muted);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
}

.mini-chart-card__head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--text-muted);
}

.mini-chart-card__badge {
  color: var(--energy-orange);
}

.feature-card__cta,
.feature-card__links {
  margin-top: 1.5rem;
}

.feature-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.widget-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.widget-tile {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.widget-tile__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
}

.widget-tile__value {
  display: block;
  margin-top: 0.4rem;
  font-weight: 750;
  color: #fff;
}

.super-stat {
  display: grid;
  gap: 1rem;
  margin: clamp(2.5rem, 6vw, 4rem) 0;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--onyx);
  color: #fff;
  border-radius: 28px;
}

@media (min-width: 800px) {
  .super-stat {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 2.5rem;
  }
}

.super-stat__value {
  margin: 0;
  font-size: clamp(3rem, 2rem + 4vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: #fff;
}

.super-stat__value span {
  color: var(--energy-orange);
}

.super-stat__text {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--on-dark-muted);
}

/* ------------------------------------------------------------------
   SERVICE SPOTLIGHTS / SOFTWARE / CARDS
   ------------------------------------------------------------------ */

.home-services-spotlight,
.cards-grid,
.home-software-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 860px) {
  .home-services-spotlight {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-software-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-service-spotlight,
.biz-setup-card,
.card,
.feature-card.card,
.home-software-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  box-shadow: none;
  padding: 1.5rem;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.25s ease;
}

.home-service-spotlight:hover,
.biz-setup-card:hover,
.home-software-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.biz-setup-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 77, 32, 0.1);
  color: var(--energy-orange);
  margin-bottom: 1rem;
}

.biz-setup-card__title,
.home-software-card__title,
.card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.biz-setup-card__text,
.home-software-card__tagline,
.card p {
  color: var(--text-muted);
}

.home-software-card__image-wrap {
  border-radius: 14px;
  overflow: hidden;
  margin: -0.35rem -0.35rem 1rem;
  aspect-ratio: 16 / 10;
  background: var(--onyx);
}

.home-software-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}

.home-software-card:hover .home-software-card__image {
  transform: scale(1.05);
}

.home-software-card__badges {
  gap: 0.4rem;
}

.home-software-card__badge {
  background: var(--surface-muted);
  color: var(--text-muted);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-software-card__price {
  color: var(--energy-orange);
  font-weight: 800;
}

.home-software-card__link {
  color: var(--text-strong);
  font-weight: 750;
}

/* ------------------------------------------------------------------
   FOOTER / CONTACT / FORMS
   ------------------------------------------------------------------ */

.site-footer,
.footer,
footer.site-footer {
  background: var(--onyx);
  color: var(--on-dark);
}

.footer-col h4,
.footer-bottom p,
.footer-mega,
.footer .brand {
  color: #fff;
}

.footer-col a,
.footer-legal a,
.footer-text {
  color: var(--on-dark-muted);
}

.footer-col a:hover,
.footer-legal a:hover {
  color: #fff;
}

.contact-form input,
.contact-form textarea,
.contact-form select,
.minimal-panel input,
.minimal-panel textarea,
.talk-modal input,
.talk-modal textarea,
.cs2-field select,
.cs2-enquiry input,
.cs2-enquiry textarea {
  background: #fff;
  color: var(--text-strong);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
}

.contact-form label,
.minimal-panel label,
.talk-modal label {
  color: var(--text-muted);
  font-weight: 650;
}

/* ------------------------------------------------------------------
   MOTION - bold, not wiggly
   ------------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-dashboard__frame,
  .home-software-card,
  .btn {
    transition: none !important;
    transform: none !important;
  }

  .reveal {
    opacity: 1;
  }
}

/* ------------------------------------------------------------------
   MOBILE NAV - superseded by assets/css/mobile-nav.css
   Keep inert so older rules do not fight the new drawer.
   ------------------------------------------------------------------ */

.mobile-nav {
  /* intentional: mobile-nav.css owns layout */
}

/* ------------------------------------------------------------------
   PAGE HEROES (services / about / etc.)
   ------------------------------------------------------------------ */

.page-hero,
.inner-hero,
.service-hero {
  background: #fff;
  color: var(--text-strong);
}

.page-hero h1,
.inner-hero h1,
.service-hero h1 {
  font-size: clamp(2.6rem, 1.6rem + 3.5vw, 4.8rem);
  letter-spacing: -0.04em;
}

/* ------------------------------------------------------------------
   SOFTWARE FILTERS / DIRECTORY
   ------------------------------------------------------------------ */

.software-filters__chip {
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--text-muted);
  font-weight: 650;
}

.software-filters__chip.is-active,
.software-filters__chip[aria-pressed="true"] {
  background: var(--onyx);
  border-color: var(--onyx);
  color: #fff;
}

/* ------------------------------------------------------------------
   PRECISION HERO - brand-first + cinematic stage
   Inspired by 21st: cinematic heroes, mask reveals, product scrub
   ------------------------------------------------------------------ */

.hero--precision {
  padding-top: clamp(6.5rem, 11vw, 8.5rem) !important;
  padding-bottom: clamp(2.5rem, 5vw, 4rem) !important;
}

.hero-precision__glow {
  position: absolute;
  inset: -10% -5% auto;
  height: 70%;
  z-index: 0;
  background:
    radial-gradient(45% 55% at 78% 18%, rgba(255, 77, 32, 0.16) 0%, transparent 60%),
    radial-gradient(40% 50% at 12% 30%, rgba(13, 13, 13, 0.05) 0%, transparent 55%);
  pointer-events: none;
}

.hero-brand-mark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0 0 clamp(1.25rem, 3vw, 2rem);
  position: relative;
  z-index: 2;
}

.hero-brand-mark__word {
  display: block;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(4.5rem, 2rem + 10vw, 11rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.82;
  color: var(--text-strong);
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65), 0 12px 40px rgba(238, 240, 243, 0.55);
}

.hero-brand-mark__meta {
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Mask reveal: line slides up from clip (not wiggle) */
[data-mask-reveal] {
  clip-path: inset(0 0 100% 0);
  transform: translateY(18%);
  opacity: 0.35;
  transition:
    clip-path 1.05s var(--ease-out-expo),
    transform 1.05s var(--ease-out-expo),
    opacity 0.7s ease;
}

[data-mask-reveal].is-revealed {
  clip-path: inset(0 0 0 0);
  transform: none;
  opacity: 1;
}

.hero--precision .hero-headline {
  display: flex;
  flex-direction: column;
  gap: 0.12em;
  font-size: clamp(2.35rem, 1.2rem + 3.6vw, 4.4rem) !important;
  line-height: 0.98 !important;
}

.hero--precision .headline-line {
  display: block;
}

.hero--precision .hero--minimal__body {
  display: grid !important;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

@media (min-width: 980px) {
  .hero--precision .hero--minimal__body {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .hero--precision .hero-showcase-float {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    order: 2;
  }

  .hero--precision .hero--minimal__copy {
    order: 1;
  }

  .hero--precision .hero-dashboard__frame {
    transform: rotateY(-10deg) rotateX(7deg);
  }
}

.hero--precision .hero-dashboard__frame {
  border-radius: 24px;
  box-shadow:
    0 50px 100px rgba(13, 13, 13, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.hero--precision .hero__image-wrapper {
  aspect-ratio: 16 / 10.5;
  min-height: clamp(240px, 28vw, 360px);
}

.hero--precision .hero__actions--mega-clear {
  justify-content: flex-start !important;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

/* Signal marquee - bold motion strip */
.signal-marquee {
  position: relative;
  overflow: hidden;
  background: var(--onyx);
  color: #fff;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.95rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.signal-marquee__track {
  display: flex;
  width: max-content;
  gap: 1.5rem;
  align-items: center;
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.15rem);
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: signal-marquee 32s linear infinite;
}

.signal-marquee__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--energy-orange);
  flex: 0 0 auto;
}

@keyframes signal-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .signal-marquee__track {
    animation: none;
  }

  [data-mask-reveal] {
    clip-path: none;
    transform: none;
    opacity: 1;
  }
}

/* ------------------------------------------------------------------
   FEATURED WORK / PROJECT ROWS
   ------------------------------------------------------------------ */

.home-featured-case {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.home-featured-case__link {
  position: relative;
  display: block;
  border-radius: 28px;
  overflow: hidden;
  background: var(--onyx);
  color: #fff;
  text-decoration: none;
  min-height: clamp(280px, 42vw, 520px);
}

.home-featured-case__link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 1.1s var(--ease-out-expo), opacity 0.5s ease;
}

.home-featured-case__link:hover img {
  transform: scale(1.05);
  opacity: 0.85;
}

.home-featured-case__body {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: linear-gradient(180deg, transparent 0%, rgba(5, 5, 5, 0.88) 55%);
}

.home-featured-case__body .pill-tag {
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
}

.home-featured-case__body h3 {
  margin: 0.85rem 0 0;
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.home-featured-case__body p {
  margin: 0.65rem 0 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.78);
}

.projects-stack {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.project-row {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
}

@media (min-width: 900px) {
  .project-row {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
  }

  .project-row:nth-child(even) .project-row__media {
    order: 2;
  }
}

.project-frame {
  display: block;
  border-radius: 22px;
  overflow: hidden;
  background: var(--onyx);
  aspect-ratio: 16 / 10;
}

.project-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out-expo);
}

.project-row:hover .project-frame img {
  transform: scale(1.04);
}

.project-row__title {
  margin: 0.85rem 0 0;
  font-size: clamp(1.45rem, 1.2rem + 0.8vw, 2rem);
  font-weight: 800;
}

.project-row__title a {
  color: var(--text-strong);
  text-decoration: none;
}

.project-row__text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  font-weight: 750;
  color: var(--text-strong);
  text-decoration: none;
}

.link-arrow::after {
  content: "→";
  transition: transform 0.3s var(--ease-out-expo);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ------------------------------------------------------------------
   DARK CTA BLOCKS
   ------------------------------------------------------------------ */

.section--cta-minimal,
.section--cta-dark {
  background: linear-gradient(165deg, #16161A 0%, #0D0D0D 50%, #050505 100%) !important;
  color: #fff;
}

.cta-block,
.cta-block--dark {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto;
}

.cta-block__brand {
  margin: 0 0 0.75rem;
  font-size: clamp(3rem, 2rem + 4vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: rgba(255, 255, 255, 0.12);
  text-transform: uppercase;
}

.cta-block__icon {
  display: none;
}

.cta-block__title {
  margin: 0;
  font-size: clamp(2rem, 1.5rem + 1.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff !important;
}

.cta-block__text {
  margin: 1rem auto 0;
  max-width: 38rem;
  font-size: 1.1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78) !important;
}

.section--cta-minimal .btn-primary {
  background: var(--energy-orange);
  color: #fff;
  border-color: var(--energy-orange);
}

.section--cta-minimal .btn-secondary,
.section--cta-minimal .btn-pill-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.section--cta-minimal .btn-secondary:hover,
.section--cta-minimal .btn-pill-outline:hover {
  background: #fff;
  color: var(--onyx);
  border-color: #fff;
}

/* ------------------------------------------------------------------
   CAPABILITY CARDS / STATS
   ------------------------------------------------------------------ */

.cards-grid--minimal,
.home-capabilities-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .home-capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .home-capabilities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card--minimal {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 1.35rem 1.4rem;
  box-shadow: none;
}

.card__icon--minimal {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 77, 32, 0.1);
  color: var(--energy-orange);
  margin-bottom: 0.85rem;
}

.card__title {
  color: var(--text-strong);
  font-weight: 800;
}

.card__description {
  color: var(--text-muted);
}

.home-service-spotlight__points {
  margin: 1rem 0 1.35rem;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
}

.home-service-spotlight__points li {
  position: relative;
  padding-left: 1.1rem;
  margin: 0.4rem 0;
  font-size: 0.95rem;
}

.home-service-spotlight__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--energy-orange);
}

/* ------------------------------------------------------------------
   UNIFIED INNER PAGE HEROES
   ------------------------------------------------------------------ */

.site-main .hero:not(.hero--minimal):not(.hero--neon):not(.hero--about):not(.hero--contact):not(.hero--software):not(.hero--web-design):not(.hero--soft-dev):not(.hero--business-setup),
.hero--showcase {
  position: relative;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(255, 77, 32, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, #F7F8FA 100%) !important;
  color: var(--text-strong);
  padding-top: clamp(7rem, 12vw, 9rem) !important;
  padding-bottom: clamp(3rem, 6vw, 4.5rem) !important;
  overflow: hidden;
}

.site-main .hero:not(.hero--minimal):not(.hero--neon):not(.hero--about):not(.hero--contact):not(.hero--software):not(.hero--web-design):not(.hero--soft-dev):not(.hero--business-setup)::before {
  content: "COZQ";
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  font-size: clamp(5rem, 3rem + 12vw, 14rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  color: rgba(13, 13, 13, 0.035);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}

.site-main .hero:not(.hero--minimal) .container,
.site-main .hero:not(.hero--minimal) .hero__content {
  position: relative;
  z-index: 1;
}

.site-main .hero:not(.hero--minimal) .hero__badge,
.site-main .hero:not(.hero--minimal) .hero__badge span {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-main .hero:not(.hero--minimal) .hero__title {
  margin-top: 1.25rem;
  font-size: clamp(2.4rem, 1.5rem + 3.2vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--text-strong) !important;
}

.site-main .hero:not(.hero--minimal) .hero__title .highlight {
  color: var(--energy-orange);
  background: none;
  -webkit-text-fill-color: unset;
}

.site-main .hero:not(.hero--minimal) .hero__title .highlight::after {
  display: none;
}

.site-main .hero:not(.hero--minimal) .hero__description {
  margin: 1.15rem auto 0;
  max-width: 42rem;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.55;
  color: var(--text-muted) !important;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}

.stat {
  padding: 1.1rem 1rem;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  text-align: center;
}

.stat__value {
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-strong);
}

.stat__label {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .stats-row {
    grid-template-columns: 1fr;
  }
}

/* About visual */
.about-hero-visual__frame {
  border-radius: 24px;
  overflow: hidden;
  background: var(--onyx);
  box-shadow: 0 30px 70px rgba(13, 13, 13, 0.18);
}

/* Contact / forms readability */
.contact-intro__title,
.contact-form__title {
  color: var(--text-strong);
}

.contact-intro__lede {
  color: var(--text-muted);
}

.minimal-panel {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  box-shadow: none;
}

/* Biz setup / service cards */
.biz-setup-intro__title,
.biz-setup-intro__lede {
  color: var(--text-strong);
}

.biz-setup-intro__lede {
  color: var(--text-muted);
}

.biz-setup-cta,
.section.biz-setup-cta,
.web-design-cta,
.soft-dev-cta {
  background: linear-gradient(165deg, #16161A 0%, #0D0D0D 100%) !important;
  color: #fff;
}

.biz-setup-cta h2,
.biz-setup-cta p,
.web-design-cta h2,
.web-design-cta p {
  color: #fff;
}

.biz-setup-cta p {
  color: rgba(255, 255, 255, 0.78);
}

/* Footer high contrast */
.site-footer.site-footer--minimal,
.site-footer {
  background: #050505 !important;
  color: #fff;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
  color: #fff;
}

.site-footer h4,
.site-footer .footer-brand,
.footer-col__title {
  color: #fff !important;
}

/* WhatsApp / talk buttons stay readable */
.btn-whatsapp,
a.btn-whatsapp {
  background: #25D366;
  color: #fff !important;
  border-color: #25D366;
}

/* Strong section titles with COZQ emphasis */
.section__title strong,
.super-head__title strong {
  color: var(--text-strong);
  font-weight: 800;
}

.section--dark .section__title strong,
.section--black .section__title strong {
  color: #fff;
}

.hero-brand-mark--centred {
  align-items: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-brand-mark__word--sm {
  font-size: clamp(3.2rem, 1.8rem + 6vw, 6.5rem) !important;
}

.hero__actions.biz-setup-hero__actions {
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.section.biz-setup-cta .section__title,
.section.biz-setup-cta h2 {
  color: #fff !important;
}

.section.biz-setup-cta .section__description,
.section.biz-setup-cta p,
.biz-setup-cta__related {
  color: rgba(255, 255, 255, 0.78) !important;
}

.biz-setup-cta__related a {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.biz-setup-contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}

.biz-setup-contact-card__label {
  color: rgba(255, 255, 255, 0.65);
}

.biz-setup-contact-card__value {
  color: #fff;
}

/* Case studies listing: keep cinema dark readable */
.cs2-cinema,
.cs2-hero,
.cs2-dhero,
.cs2-list-hero {
  color: #fff;
}

.cs2-cinema h1,
.cs2-hero h1,
.cs2-dhero h1 {
  color: #fff !important;
}

.cs2-cinema p,
.cs2-hero p,
.cs2-dhero p {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* ------------------------------------------------------------------
   HOME HERO - clean white split
   ------------------------------------------------------------------ */

.site-main .hero.hero--home,
.hero.hero--home {
  position: relative;
  margin: 0;
  padding: clamp(7rem, 12vw, 9rem) 0 clamp(3.5rem, 6vw, 5rem);
  background: #FFFFFF !important;
  color: var(--text-strong);
  overflow: hidden;
}

.site-main .hero.hero--home::before {
  display: none !important;
  content: none !important;
}

.hero-home {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 980px) {
  .hero-home {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3.5rem;
  }
}

.hero-home__brand {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(3.6rem, 2rem + 6vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: var(--text-strong);
  text-transform: uppercase;
}

.hero-home__eyebrow {
  margin: 0.75rem 0 0;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-home__title {
  margin: 1.25rem 0 0;
  max-width: 16ch;
  font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--text-strong);
}

.hero-home__title span {
  color: var(--energy-orange);
}

.hero-home__lede {
  margin: 1.1rem 0 0;
  max-width: 34rem;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.hero-home__lede strong {
  color: var(--text-strong);
}

.hero-home__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-home__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hero-home__stats strong {
  color: var(--text-strong);
  font-weight: 800;
  margin-right: 0.25rem;
}

.hero-home__visual {
  display: grid;
  gap: 0.85rem;
}

.hero-home__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  background: #0D0D0D;
  box-shadow: 0 28px 60px rgba(13, 13, 13, 0.14);
}

.hero-home__frame .hero-image-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.9s var(--ease-out-expo);
}

.hero-home__work-link {
  justify-self: start;
  font-weight: 750;
  color: var(--text-strong);
  text-decoration: none;
}

.hero-home__work-link:hover span {
  display: inline-block;
  transform: translateX(3px);
}

.hero-home__work-link span {
  transition: transform 0.25s var(--ease-out-expo);
}

/* ------------------------------------------------------------------
   ABOUT APPROACH CARDS - hide GIF white frames
   ------------------------------------------------------------------ */

.section--gray .cards-grid > .card.about-approach-card,
.about-approach-card {
  background: #fff !important;
  overflow: hidden;
  padding-top: 1.75rem;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.about-card__anim.card__icon {
  width: 7.25rem;
  height: 7.25rem;
  margin: 0 auto 1.15rem;
  padding: 0;
  border-radius: 1.15rem;
  background: #fff;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: inherit;
  font-size: inherit;
}

.about-card__anim-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  /* Knock out solid white GIF canvases against the white card */
  mix-blend-mode: multiply;
  -webkit-user-drag: none;
  pointer-events: none;
}

.about-card__anim--fallback {
  font-size: 2.5rem;
  background: var(--surface-muted);
}

.about-hero-visual {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.about-hero-visual__frame {
  width: min(22rem, 100%);
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 70px rgba(13, 13, 13, 0.12);
}

.about-hero-visual__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
