/* ========================================================================
   BIZSQUARE — Premium Light Theme
   Multi-page site · White + Black + Electric Blue
   ======================================================================== */

:root {
  /* Surfaces */
  --bg:           #ffffff;
  --bg-soft:      #f7f7f9;
  --bg-tint:      #F4F4F6;
  --bg-card:      #ffffff;

  /* Brand */
  --brand:        #027BFD;
  --brand-deep:   #0064D6;
  --brand-soft:   #F4F4F6;
  --brand-faint:  rgba(10, 10, 15, 0.05);
  --brand-glow:   rgba(2, 123, 253, 0.35);

  /* Ink */
  --ink:          #0A0A0F;
  --ink-soft:     #1B1B22;
  --text:         #14141A;
  --text-dim:     #3F3F47;
  --text-muted:   #6B6B73;
  --text-soft:    #9A9AA3;

  /* Lines */
  --border:       rgba(10, 10, 15, 0.08);
  --border-hi:    rgba(10, 10, 15, 0.14);
  --border-brand: rgba(2, 123, 253, 0.32);

  /* Type */
  --font-heading: 'Bricolage Grotesque', 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* Easing */
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Layout */
  --container:   1240px;

  /* Elevation */
  --shadow-xs:   0 1px 2px rgba(10, 10, 15, 0.04);
  --shadow-sm:   0 4px 14px -6px rgba(10, 10, 15, 0.08);
  --shadow-md:   0 14px 40px -18px rgba(10, 10, 15, 0.12);
  --shadow-lg:   0 30px 80px -30px rgba(10, 10, 15, 0.18);
  --shadow-brand:0 20px 50px -18px rgba(2, 123, 253, 0.45);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 10% -10%, rgba(10, 10, 15, 0.035), transparent 65%),
    radial-gradient(800px 600px at 100% 10%, rgba(10, 10, 15, 0.02),  transparent 65%),
    radial-gradient(900px 700px at 50% 110%, rgba(10, 10, 15, 0.025), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

img, svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 220ms var(--ease);
}

button {
  font: inherit;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ========================================================================
   AMBIENT LAYER
   ======================================================================== */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-blob {
  position: absolute;
  width: 50vw;
  height: 50vw;
  max-width: 700px;
  max-height: 700px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.5;
  will-change: transform;
}

.ambient-blob--1 {
  top: -10%;
  left: -10%;
  background: radial-gradient(circle, rgba(10, 10, 15, 0.07) 0%, transparent 70%);
  animation: drift1 22s ease-in-out infinite;
}

.ambient-blob--2 {
  bottom: -20%;
  right: -8%;
  background: radial-gradient(circle, rgba(10, 10, 15, 0.05) 0%, transparent 70%);
  animation: drift2 28s ease-in-out infinite;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(8vw, 4vw) scale(1.1); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-6vw, -3vw) scale(1.05); }
}

/* ---- Floating pixel particles ---- */
.pixel-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.pixel {
  position: absolute;
  left: var(--x);
  top:  var(--y);
  width:  var(--size);
  height: var(--size);
  background: rgba(10, 10, 15, 0.22);
  box-shadow: 0 0 8px rgba(10, 10, 15, 0.06);
  opacity: 0.5;
  animation: floatPixel var(--dur, 20s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes floatPixel {
  0%, 100% { transform: translate(0, 0) rotate(0deg);    opacity: 0.18; }
  25%      { transform: translate(20px, -30px) rotate(45deg);  opacity: 0.32; }
  50%      { transform: translate(-15px, -50px) rotate(90deg); opacity: 0.22; }
  75%      { transform: translate(25px, -20px) rotate(135deg); opacity: 0.36; }
}

/* ========================================================================
   NAVIGATION
   ======================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: background 280ms var(--ease), border-color 280ms var(--ease), box-shadow 280ms var(--ease);
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(10, 10, 15, 0.03);
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  transition: padding 250ms var(--ease);
}

.nav.is-scrolled .nav-inner { padding: 12px 36px; }

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  flex: 0 0 auto;
}

.logo-img {
  height: 42px;
  width: auto;
  display: block;
  transition: height 250ms var(--ease);
}

.nav.is-scrolled .logo-img { height: 36px; }

.nav-links {
  display: flex;
  gap: 2px;
  align-items: center;
}

.nav-links > a,
.nav-item > .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  font-size: 0.94rem;
  color: var(--text-dim);
  padding: 10px 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color 200ms var(--ease);
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-links > a::after,
.nav-item > .nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 1.5px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 280ms var(--ease);
  border-radius: 1px;
}

.nav-links > a:hover,
.nav-item > .nav-link:hover { color: var(--ink); }

.nav-links > a:hover::after,
.nav-item > .nav-link:hover::after { transform: scaleX(0.5); }

.nav-links > a.is-active,
.nav-item > .nav-link.is-active { color: var(--ink); }

.nav-links > a.is-active::after,
.nav-item > .nav-link.is-active::after { transform: scaleX(1); }

/* ---- Dropdown menus ---- */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item .nav-link svg {
  transition: transform 250ms var(--ease);
  margin-top: 1px;
}

.nav-item:hover .nav-link svg,
.nav-item.is-open .nav-link svg,
.nav-item:focus-within .nav-link svg {
  transform: rotate(180deg);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 300px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 10px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 200ms;
  z-index: 10;
}

.nav-item:hover .nav-menu,
.nav-item.is-open .nav-menu,
.nav-item:focus-within .nav-menu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-menu a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 10px;
  transition: background 180ms var(--ease);
  text-decoration: none;
  position: relative;
}

.nav-menu a::after { display: none !important; }

.nav-menu a:hover { background: rgba(10, 10, 15, 0.04); }

.nav-menu a.is-active {
  background: rgba(10, 10, 15, 0.05);
}

.nav-menu-label {
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.nav-menu-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
  font-family: var(--font-body);
}

.nav-menu a.is-active .nav-menu-label { color: var(--brand-deep); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: -0.005em;
  transition: color 200ms var(--ease);
  white-space: nowrap;
}

.nav-phone:hover { color: var(--brand-deep); }
.nav-phone svg { color: var(--brand); flex: 0 0 14px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(10, 10, 15, 0.04);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  transition: background 200ms var(--ease);
}

.nav-toggle:hover { background: rgba(10, 10, 15, 0.08); }

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 250ms var(--ease), opacity 200ms var(--ease);
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(5.8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-5.8px) rotate(-45deg); }

/* ========================================================================
   BUTTONS
   ======================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.94rem;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background 220ms var(--ease), color 220ms var(--ease),
              box-shadow 280ms var(--ease), transform 220ms var(--ease),
              border-color 220ms var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 8px 20px -6px rgba(2, 123, 253, 0.45);
}

.btn--primary:hover {
  background: var(--brand-deep);
  box-shadow: 0 14px 30px -8px rgba(2, 123, 253, 0.55);
  transform: translateY(-1px);
}

.btn--ghost {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--border-hi);
  box-shadow: var(--shadow-xs);
}

.btn--ghost:hover {
  background: var(--bg-soft);
  border-color: var(--ink);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 15px 28px;
  font-size: 1rem;
}

.btn--block { width: 100%; }

.nav-cta { padding: 10px 18px; font-size: 0.9rem; }

/* ========================================================================
   COMMON SECTION PRIMITIVES
   ======================================================================== */
.section {
  position: relative;
  padding: 120px 0;
  z-index: 2;
}

.section--alt {
  background: var(--bg-soft);
}

.section--tint {
  background: linear-gradient(180deg, transparent, var(--bg-tint));
}

.section-head {
  max-width: 760px;
  margin-bottom: 64px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  margin-top: 18px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 20px;
  line-height: 1.55;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-deep);
  padding: 7px 14px;
  border: 1px solid var(--border-brand);
  border-radius: 100px;
  background: var(--brand-faint);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand-glow);
  display: inline-block;
}

.text-grad {
  background: linear-gradient(110deg, var(--ink) 15%, var(--brand) 55%, var(--ink) 95%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 8s ease-in-out infinite;
}

@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ========================================================================
   PAGE HERO (generic, used on inner pages)
   ======================================================================== */
.page-hero {
  position: relative;
  padding: 180px 0 80px;
  text-align: center;
  z-index: 2;
}

.page-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

.page-hero-title {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  margin: 22px 0 22px;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.page-hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- Split page hero (with image) ---- */
.page-hero--split {
  padding: 160px 0 80px;
  text-align: left;
}

.page-hero--split .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.page-hero--split .page-hero-inner {
  text-align: left;
  margin: 0;
  max-width: 580px;
}

.page-hero--split .page-hero-title { font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
.page-hero--split .page-hero-sub { margin: 0; max-width: 560px; }

.page-hero-meta {
  margin-top: 26px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.page-hero-tag {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: #ffffff;
}

.page-hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---- Page hero image frame ---- */
.page-hero-image {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 5/6;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: var(--bg-soft);
}

.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 55%, rgba(10, 10, 15, 0.15));
  pointer-events: none;
}

.page-hero-image-tag {
  position: absolute;
  bottom: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  padding: 9px 14px;
  background: rgba(10, 10, 15, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 100px;
  z-index: 2;
}

.page-hero-image-tag .eyebrow-dot { background: var(--brand); box-shadow: 0 0 8px var(--brand); }

/* ========================================================================
   FEATURE GRID (used on individual service / product pages)
   ======================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  position: relative;
  padding: 32px 28px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
  transition: border-color 320ms var(--ease), box-shadow 320ms var(--ease), transform 320ms var(--ease);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 260px;
}

.feature-card:hover {
  border-color: var(--border-hi);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-faint);
  border: 1px solid var(--border-brand);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card-icon svg { width: 22px; height: 22px; }

.feature-card h3 {
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin: 0;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  flex: 1;
}

/* ========================================================================
   IMAGE FEATURE BLOCKS (image + text side-by-side)
   ======================================================================== */
.feat-blocks {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.feat-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 48px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 320ms var(--ease), border-color 320ms var(--ease);
}

.feat-block:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-hi);
}

.feat-block:nth-child(even) { direction: rtl; }
.feat-block:nth-child(even) > * { direction: ltr; }

.feat-block-tag {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 14px;
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--border-brand);
  background: var(--brand-faint);
  border-radius: 100px;
}

.feat-block h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}

.feat-block p {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.65;
}

.feat-block-image {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.feat-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms var(--ease);
}

.feat-block:hover .feat-block-image img {
  transform: scale(1.035);
}

/* ========================================================================
   HOME — HERO
   ======================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 28px 80px;
  z-index: 2;
}

.hero-inner {
  max-width: 1100px;
  width: 100%;
  text-align: center;
  position: relative;
}

.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 28px;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.hero-title .line { display: block; }

.pixel-word {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.16em;
}

.pixel-inline {
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  background: var(--brand);
  box-shadow: 0 0 24px var(--brand-glow), 0 0 60px rgba(2,123,253,0.25);
  vertical-align: middle;
  position: relative;
  top: -0.04em;
}

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.hero-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
  padding-right: 36px;
}

.marquee-track span:not(.dot) {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: -0.005em;
}

.marquee-track .dot {
  width: 5px;
  height: 5px;
  background: var(--brand);
  display: inline-block;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color 200ms var(--ease);
}

.scroll-cue:hover { color: var(--ink); }

.scroll-cue-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, transparent, var(--text-soft));
  position: relative;
  overflow: hidden;
}

.scroll-cue-line::after {
  content: "";
  position: absolute;
  top: -36px;
  left: 0;
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, transparent, var(--brand));
  animation: scrollLine 2.2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: translateY(0); }
  100% { transform: translateY(72px); }
}

/* ========================================================================
   STORY / PIXEL VISUAL
   ======================================================================== */
.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}

.story-text p {
  font-size: 1.1rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 22px;
}

.story-text p:last-child {
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.2rem;
  margin-bottom: 0;
}

.story-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-card {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* Story heading inside the left column + stat row */
.story-title { margin: 18px 0 26px; }

.story-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.story-stat { display: flex; flex-direction: column; gap: 4px; }

.story-stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.story-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
  max-width: 15ch;
}

@media (max-width: 720px) {
  .story-stats { gap: 24px; flex-wrap: wrap; }
}

/* ========================================================================
   ABOUT PAGE — stat band + dark facts card
   ======================================================================== */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.stat-band-item {
  padding: 38px 32px;
  border-right: 1px solid var(--border);
}

.stat-band-item:last-child { border-right: none; }

.stat-band-num {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.stat-band-num em {
  font-style: normal;
  color: var(--brand);
}

.stat-band-label {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.about-facts {
  position: relative;
  background: var(--ink);
  color: #ffffff;
  border-radius: var(--r-xl);
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow: hidden;
}

.about-facts::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%);
  pointer-events: none;
}

.about-fact {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.about-fact:last-child { border-bottom: none; padding-bottom: 0; }

.about-fact-label {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.about-fact-value {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.02rem;
  color: #ffffff;
  text-align: right;
  letter-spacing: -0.01em;
}

@media (max-width: 720px) {
  .stat-band { grid-template-columns: 1fr 1fr; }
  .stat-band-item:nth-child(2) { border-right: none; }
  .stat-band-item:nth-child(1), .stat-band-item:nth-child(2) { border-bottom: 1px solid var(--border); }
}

/* ========================================================================
   SERVICES — full-width row list (replaces boxed bento on home)
   ======================================================================== */
.svc-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-hi);
}

.svc-row {
  display: grid;
  grid-template-columns: 54px 60px 1.25fr 1fr 48px;
  gap: 32px;
  align-items: center;
  padding: 34px 16px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: background 360ms var(--ease), padding 360ms var(--ease);
  position: relative;
}

.svc-row:hover {
  background: #ffffff;
  padding-left: 28px;
}

.svc-row-num {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-soft);
}

.svc-row-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--brand-faint);
  border: 1px solid var(--border-brand);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 300ms var(--ease), color 300ms var(--ease);
}

.svc-row-icon svg { width: 26px; height: 26px; }

.svc-row:hover .svc-row-icon {
  background: var(--brand);
  color: #ffffff;
}

.svc-row-main h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 6px;
  color: var(--ink);
  transition: color 280ms var(--ease);
}

.svc-row:hover .svc-row-main h3 { color: var(--brand-deep); }

.svc-row-main p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  max-width: 42ch;
}

.svc-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.svc-row-tags span {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-dim);
  background: #ffffff;
}

.svc-row-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: background 280ms var(--ease), color 280ms var(--ease), border-color 280ms var(--ease), transform 280ms var(--ease);
}

.svc-row:hover .svc-row-arrow {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
  transform: rotate(-45deg);
}

@media (max-width: 860px) {
  .svc-row {
    grid-template-columns: 40px 1fr 44px;
    grid-template-areas:
      "num main arrow"
      "icon main arrow";
    gap: 8px 18px;
    row-gap: 0;
    padding: 26px 12px;
  }
  .svc-row-num  { grid-area: num; align-self: start; }
  .svc-row-icon { display: none; }
  .svc-row-main { grid-area: main; }
  .svc-row-tags { display: none; }
  .svc-row-arrow { grid-area: arrow; }
}

/* ========================================================================
   INDUSTRIES — two-column fill (heading left, grid right)
   ======================================================================== */
.ind-split {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  gap: 64px;
  align-items: center;
}

.ind-split-head .section-title { margin: 16px 0 28px; }

.ind-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ind-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: #ffffff;
  box-shadow: var(--shadow-xs);
  transition: border-color 280ms var(--ease), box-shadow 280ms var(--ease), transform 280ms var(--ease);
  cursor: default;
}

.ind-chip:hover {
  border-color: var(--border-brand);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.ind-chip-num {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--brand-deep);
  min-width: 2.5ch;
}

.ind-chip-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
}

@media (max-width: 860px) {
  .ind-split { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 480px) {
  .ind-matrix { grid-template-columns: 1fr; }
}

.story-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10,10,15,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,15,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
  mask-image: radial-gradient(circle at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, #000 30%, transparent 80%);
}

.story-pixel {
  position: absolute;
  background: var(--brand);
  box-shadow: 0 0 16px var(--brand-glow);
}

.story-pixel--hero {
  width: 36px;
  height: 36px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 40px var(--brand), 0 0 100px rgba(2,123,253,0.35);
  animation: pulsePixel 2.4s ease-in-out infinite;
}

@keyframes pulsePixel {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    box-shadow: 0 0 40px var(--brand), 0 0 100px rgba(2,123,253,0.3); }
  50%      { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 60px var(--brand), 0 0 140px rgba(2,123,253,0.55); }
}

.story-pixel--1 { width: 10px; height: 10px; top: 18%;  left: 22%;  animation: orbit1 9s ease-in-out infinite; }
.story-pixel--2 { width: 8px;  height: 8px;  top: 32%;  right: 18%; animation: orbit2 11s ease-in-out infinite; }
.story-pixel--3 { width: 12px; height: 12px; bottom: 22%; left: 28%; animation: orbit3 13s ease-in-out infinite; }
.story-pixel--4 { width: 6px;  height: 6px;  bottom: 18%; right: 24%; animation: orbit4 10s ease-in-out infinite; }

@keyframes orbit1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(20px, 30px); } }
@keyframes orbit2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-25px, 35px); } }
@keyframes orbit3 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px, -25px); } }
@keyframes orbit4 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-20px, -30px); } }

.story-label {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.story-label .arrow { color: var(--brand); font-size: 1rem; }

/* ========================================================================
   BENTO (SERVICES OVERVIEW)
   ======================================================================== */
.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  grid-auto-rows: minmax(280px, auto);
  gap: 20px;
}

.bento-card {
  position: relative;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #ffffff;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: border-color 320ms var(--ease), box-shadow 320ms var(--ease), transform 320ms var(--ease);
  display: flex;
  flex-direction: column;
  gap: 24px;
  isolation: isolate;
}

.bento-card--lg { grid-column: span 2; }

.bento-card:hover {
  border-color: var(--border-brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-faint);
  border: 1px solid var(--border-brand);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), background 300ms var(--ease);
}

.bento-icon svg { width: 22px; height: 22px; }

.bento-card:hover .bento-icon {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 8px 20px -6px rgba(2,123,253,0.45);
  transform: scale(1.04);
}

.bento-body h3 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin-bottom: 12px;
  color: var(--ink);
}

.bento-body p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.6;
}

.bento-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}

.bento-list li {
  font-size: 0.9rem;
  color: var(--text-dim);
  position: relative;
  padding-left: 16px;
}

.bento-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand-glow);
}

.bento-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(
    400px circle at var(--mx, 50%) var(--my, 50%),
    rgba(10, 10, 15, 0.06),
    transparent 60%
  );
  transition: opacity 300ms var(--ease);
}

.bento-card:hover .bento-glow { opacity: 1; }

/* ========================================================================
   SERVICES PAGE — DETAIL BLOCKS
   ======================================================================== */
.svc-blocks {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.svc-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 56px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 320ms var(--ease), border-color 320ms var(--ease);
}

.svc-block:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-brand);
}

.svc-block:nth-child(even) {
  direction: rtl;
}
.svc-block:nth-child(even) > * {
  direction: ltr;
}

.svc-block-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.svc-block-num {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--brand);
  padding: 6px 12px;
  border: 1px solid var(--border-brand);
  border-radius: 100px;
  background: var(--brand-faint);
}

.svc-block-tag {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.svc-block h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.svc-block-text {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 22px;
}

.svc-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.svc-features li {
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.svc-features li strong { color: var(--ink); font-weight: 600; }

.svc-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand-glow);
}

.svc-block-visual {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10,10,15,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,15,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, #000 30%, transparent 80%);
}

.svc-visual-icon {
  position: relative;
  width: 96px;
  height: 96px;
  background: var(--brand);
  color: #fff;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 60px -16px rgba(2,123,253,0.45);
}

.svc-visual-icon svg { width: 44px; height: 44px; }

.svc-visual-icon::before,
.svc-visual-icon::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--brand);
  box-shadow: 0 0 18px var(--brand-glow);
}

.svc-visual-icon::before { top: -34px; left: -34px; animation: orbit1 7s ease-in-out infinite; }
.svc-visual-icon::after  { bottom: -34px; right: -34px; width: 10px; height: 10px; animation: orbit2 9s ease-in-out infinite; }

/* ========================================================================
   PRODUCTS
   ======================================================================== */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product {
  position: relative;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #ffffff;
  box-shadow: var(--shadow-xs);
  transition: border-color 320ms var(--ease), box-shadow 320ms var(--ease), transform 320ms var(--ease);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 460px;
}

.product:hover {
  border-color: var(--border-brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product--featured {
  background: linear-gradient(180deg, var(--bg-soft), #ffffff 80%);
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}

.product-tag {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.product-title {
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.15;
}

.product-sub {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.product-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.product-features li {
  font-size: 0.92rem;
  color: var(--text-dim);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.product-features li::before {
  content: "";
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand-glow);
  margin-top: 0.55em;
}

.product-arrow {
  align-self: flex-start;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-hi);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: background 280ms var(--ease), color 280ms var(--ease), border-color 280ms var(--ease), transform 280ms var(--ease);
}

.product:hover .product-arrow {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: rotate(-45deg);
}

/* ========================================================================
   PRODUCT DETAIL BLOCKS (products page)
   ======================================================================== */
.prod-blocks {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.prod-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 320ms var(--ease), border-color 320ms var(--ease);
}

.prod-block:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-brand);
}

.prod-block-tag {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 16px;
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--border-brand);
  background: var(--brand-faint);
  border-radius: 100px;
}

.prod-block h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}

.prod-block-text {
  color: var(--text-dim);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.prod-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}

.prod-feat-grid li {
  font-size: 0.92rem;
  color: var(--text-dim);
  position: relative;
  padding-left: 18px;
}

.prod-feat-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand-glow);
}

.prod-block-ideal {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 0.94rem;
  color: var(--text-muted);
}

.prod-block-ideal strong {
  color: var(--ink);
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.prod-block-visual {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prod-mockup {
  position: relative;
  width: 70%;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}

.prod-mockup-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.prod-mockup-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-hi);
}

.prod-mockup-bar {
  height: 8px;
  background: var(--bg-soft);
  border-radius: 4px;
  margin-bottom: 10px;
}

.prod-mockup-bar.b1 { width: 70%; background: var(--brand); opacity: 0.85; }
.prod-mockup-bar.b2 { width: 90%; }
.prod-mockup-bar.b3 { width: 60%; }
.prod-mockup-bar.b4 { width: 80%; background: var(--brand); opacity: 0.4; }

.prod-mockup-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}

.prod-mockup-chart span {
  flex: 1;
  background: var(--brand);
  border-radius: 3px 3px 0 0;
  opacity: 0.4;
}
.prod-mockup-chart span:nth-child(3) { opacity: 1; }
.prod-mockup-chart span:nth-child(5) { opacity: 0.75; }

/* ========================================================================
   INDUSTRIES
   ======================================================================== */
.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.industry {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1rem, 2vw, 1.5rem);
  padding: 14px 26px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-dim);
  background: #ffffff;
  transition: color 240ms var(--ease), border-color 240ms var(--ease), background 240ms var(--ease), transform 240ms var(--ease), box-shadow 240ms var(--ease);
  cursor: default;
  letter-spacing: -0.005em;
  box-shadow: var(--shadow-xs);
}

.industry:hover {
  color: var(--ink);
  border-color: var(--ink);
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Industry detail cards (industries page) */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ind-card {
  position: relative;
  padding: 30px 26px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color 320ms var(--ease), box-shadow 320ms var(--ease), transform 320ms var(--ease);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 220px;
}

.ind-card:hover {
  border-color: var(--border-brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.ind-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-faint);
  border: 1px solid var(--border-brand);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 280ms var(--ease), color 280ms var(--ease);
}

.ind-card-icon svg { width: 20px; height: 20px; }

.ind-card:hover .ind-card-icon {
  background: var(--brand);
  color: #fff;
}

.ind-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.018em;
}

.ind-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  flex: 1;
}

/* ========================================================================
   PROCESS
   ======================================================================== */
.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: #ffffff;
  box-shadow: var(--shadow-xs);
  transition: border-color 320ms var(--ease), box-shadow 320ms var(--ease), transform 320ms var(--ease);
}

.process-step:hover {
  border-color: var(--border-brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.process-num {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--brand-deep);
  margin-bottom: 28px;
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--border-brand);
  border-radius: 6px;
  background: var(--brand-faint);
}

.process-step h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* ========================================================================
   WHY US / VALUES
   ======================================================================== */
.why {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.why-item {
  padding: 40px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 280ms var(--ease);
}

.why-item:hover { background: rgba(10, 10, 15, 0.025); }

.why-item:nth-child(2n) { border-right: none; }
.why-item:nth-last-child(-n+2) { border-bottom: none; }

.why-num {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--brand-deep);
  margin-bottom: 24px;
}

.why-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.018em;
}

.why-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ========================================================================
   CTA SECTION
   ======================================================================== */
.cta-section {
  padding: 100px 0 140px;
  position: relative;
  z-index: 2;
}

.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--border-hi);
  background:
    linear-gradient(180deg, var(--bg-soft), #ffffff 80%);
  box-shadow: var(--shadow-md), var(--shadow-sm);
}

.cta-pixel-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 10, 15, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 15, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  padding: 80px 60px;
  text-align: center;
  max-width: 740px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  margin: 22px 0 18px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.cta-sub {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

/* ---- Contact form ---- */
.contact-form,
.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  text-align: left;
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.field input,
.field textarea,
.field select {
  font: 400 0.98rem/1.45 var(--font-body);
  padding: 13px 16px;
  background: #ffffff;
  border: 1px solid var(--border-hi);
  border-radius: var(--r-sm);
  color: var(--ink);
  transition: border-color 220ms var(--ease), background 220ms var(--ease), box-shadow 220ms var(--ease);
  resize: vertical;
  width: 100%;
  appearance: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-soft);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(2,123,253,0.14);
}

.cta-form .btn,
.contact-form .btn { margin-top: 8px; }

.form-status {
  grid-column: 1 / -1;
  font-size: 0.92rem;
  color: var(--text-muted);
  text-align: center;
  min-height: 1.2em;
}

.form-status.is-ok    { color: var(--brand-deep); }
.form-status.is-error { color: #c92a2a; }

/* ========================================================================
   CONTACT PAGE
   ======================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form-wrap {
  padding: 48px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}

.contact-form-wrap h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  letter-spacing: -0.022em;
}

.contact-form-wrap p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 0.96rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  transition: border-color 280ms var(--ease), box-shadow 280ms var(--ease);
}

.contact-card:hover {
  border-color: var(--border-brand);
  box-shadow: var(--shadow-sm);
}

.contact-card-label {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 10px;
}

.contact-card-value {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.5;
}

.contact-card-value a:hover { color: var(--brand-deep); }

.contact-card-meta {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---- FAQ ---- */
.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 280ms var(--ease), box-shadow 280ms var(--ease);
}

.faq-item[open] {
  border-color: var(--border-brand);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--ink);
  letter-spacing: -0.012em;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: transform 250ms var(--ease), background 250ms var(--ease), border-color 250ms var(--ease), color 250ms var(--ease);
}

.faq-item[open] .faq-icon {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 26px 22px;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========================================================================
   FOOTER
   ======================================================================== */
.footer {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 90px 0;
  border-bottom: 1px solid var(--border);
}

.footer-cta-text { max-width: 640px; }

.footer-cta-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin-top: 16px;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 600;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 1.05fr 1.1fr 0.95fr;
  gap: 44px;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.footer-brand .logo-img { height: 48px; }

.footer-tagline {
  margin-top: 22px;
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 340px;
}

.footer-address {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-style: normal;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 340px;
  letter-spacing: -0.005em;
}

.footer-cols-wrap {
  display: contents;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.footer-col a {
  font-size: 0.94rem;
  color: var(--text-dim);
  transition: color 200ms var(--ease);
}

.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  color: var(--text-soft);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-meta {
  font-family: var(--font-heading);
  letter-spacing: 0.06em;
}

.footer-totop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-dim);
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: #ffffff;
  transition: color 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease);
}

.footer-totop:hover {
  color: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* ========================================================================
   REVEAL
   ======================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 1024px) {
  .nav-inner { padding: 14px 24px; }
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--border);
    padding: 14px 24px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 16px 40px -20px rgba(10, 10, 15, 0.18);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .nav.is-open .nav-links > a,
  .nav.is-open .nav-item > .nav-link {
    padding: 13px 14px;
    font-size: 1rem;
    width: 100%;
    justify-content: space-between;
  }

  .nav.is-open .nav-links > a::after,
  .nav.is-open .nav-item > .nav-link::after { display: none; }

  .nav.is-open .nav-links > a.is-active,
  .nav.is-open .nav-item > .nav-link.is-active { color: var(--brand-deep); }

  /* Mobile dropdown — show inline always */
  .nav.is-open .nav-item {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .nav.is-open .nav-links > a {
    border-bottom: 1px solid var(--border);
  }

  .nav.is-open .nav-links > a:last-child { border-bottom: none; }
  .nav.is-open .nav-item:last-of-type { border-bottom: none; }

  .nav.is-open .nav-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 12px;
    margin-top: -2px;
    min-width: 0;
    width: 100%;
  }

  .nav.is-open .nav-menu a {
    padding: 9px 14px 9px 26px;
    border-radius: 8px;
  }

  /* Hide chevron in mobile drawer (submenu is always inline) */
  .nav-item .nav-link svg { display: none; }

  .story-grid { grid-template-columns: 1fr; gap: 56px; }

  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card--lg { grid-column: span 2; }

  .products { grid-template-columns: 1fr; }
  .product { min-height: auto; }

  .process { grid-template-columns: 1fr 1fr; }

  .svc-block,
  .prod-block {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 40px;
  }
  .svc-block:nth-child(even) { direction: ltr; }

  .ind-grid { grid-template-columns: 1fr 1fr; }

  .contact-layout { grid-template-columns: 1fr; }

  .page-hero--split .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .page-hero-image { aspect-ratio: 16/10; max-width: 600px; }

  .feature-grid { grid-template-columns: 1fr 1fr; }

  .feat-block {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px;
  }
  .feat-block:nth-child(even) { direction: ltr; }

  .footer-main {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 12px 20px; }

  .hero {
    padding: 130px 20px 70px;
    min-height: 92vh;
  }

  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }

  .section { padding: 90px 0; }
  .page-hero { padding: 140px 0 60px; }
  .section-head { margin-bottom: 44px; }

  .bento { grid-template-columns: 1fr; }
  .bento-card--lg { grid-column: span 1; }
  .bento-list { grid-template-columns: 1fr; }

  .process { grid-template-columns: 1fr; }

  .why { grid-template-columns: 1fr; }
  .why-item { border-right: none; }
  .why-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .why-item:last-child { border-bottom: none; }

  .cta-inner { padding: 56px 26px; }
  .cta-form,
  .contact-form { grid-template-columns: 1fr; }

  .svc-block,
  .prod-block,
  .contact-form-wrap { padding: 32px 24px; }

  .prod-feat-grid { grid-template-columns: 1fr; }

  .ind-grid { grid-template-columns: 1fr; }

  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 64px 0;
    gap: 28px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 56px 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 0;
  }

  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
}

@media (max-width: 420px) {
  .nav-inner { padding: 10px 18px; }
  .logo-img { height: 32px; }
  .industry { font-size: 0.95rem; padding: 11px 18px; }
}

/* ========================================================================
   HERO — TWO-COLUMN with CARD-STACK SLIDER (.hero--split variant)
   ======================================================================== */
.hero--split {
  padding: 120px 28px 50px;
  min-height: auto;
  display: block;
}

.hero--split .hero-inner {
  max-width: 1280px;
  width: 100%;
  text-align: left;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.hero--split .hero-title {
  font-size: clamp(2.2rem, 5.4vw, 4.6rem);
  text-align: left;
  margin-bottom: 26px;
}

.hero--split .hero-title .line { text-align: left; display: block; }

.hero--split .hero-sub {
  text-align: left;
  margin: 0 0 36px;
  max-width: 540px;
}

.hero--split .hero-cta {
  justify-content: flex-start;
  margin-bottom: 0;
}

.hero--split .hero-marquee {
  margin-top: 32px;
}

/* Card-stack slider */
.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  perspective: 1400px;
  perspective-origin: 50% 30%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  transition: transform 780ms cubic-bezier(0.65, 0, 0.35, 1),
              opacity 620ms cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform, opacity;
}

.hero-slide[data-pos="0"] {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
  z-index: 4;
}

.hero-slide[data-pos="1"] {
  transform: translate3d(0, 22px, -70px) scale(0.955);
  opacity: 0.55;
  z-index: 3;
}

.hero-slide[data-pos="2"] {
  transform: translate3d(0, 42px, -140px) scale(0.91);
  opacity: 0.22;
  z-index: 2;
}

.hero-slide[data-pos="3"] {
  transform: translate3d(0, 60px, -210px) scale(0.87);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-slide-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 30%, rgba(10, 10, 15, 0.78));
  pointer-events: none;
}

.hero-slide-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 32px 32px;
  color: #ffffff;
  z-index: 2;
}

.hero-slide-num {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  display: inline-block;
  margin-bottom: 16px;
}

.hero-slide-title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0 0 12px;
  color: #ffffff;
}

.hero-slide-desc {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
  margin: 0 0 22px;
  max-width: 34ch;
}

.hero-slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 15px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 100px;
  transition: background 240ms var(--ease), color 240ms var(--ease), border-color 240ms var(--ease), gap 240ms var(--ease);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.06);
}

.hero-slide-cta:hover {
  background: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
  gap: 12px;
}

/* Slider controls — dots centered below */
.hero-slider-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -36px;
  display: flex;
  justify-content: center;
  z-index: 5;
}

.hero-slider-dots { display: flex; gap: 10px; align-items: center; }

/* Prev/next arrows — blend onto the image, no background */
.hero-slider-arrow {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  z-index: 6;
  width: 46px;
  height: 46px;
  border: none;
  background: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
  opacity: 0.9;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
  transition: opacity 240ms var(--ease), transform 280ms var(--ease);
}

.hero-slider-arrow[data-dir="prev"] { left: 4px; }
.hero-slider-arrow[data-dir="next"] { right: 4px; }
.hero-slider-arrow:hover { opacity: 1; }
.hero-slider-arrow[data-dir="prev"]:hover { transform: translateY(-50%) translateX(-4px); }
.hero-slider-arrow[data-dir="next"]:hover { transform: translateY(-50%) translateX(4px); }

/* Smooth zoom on the incoming (front) slide image */
.hero-slide[data-pos="0"] .hero-slide-image img {
  animation: heroSlideZoom 6s ease-out forwards;
}

@keyframes heroSlideZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}

.hero-slider-dot {
  width: 30px;
  height: 3px;
  background: rgba(10, 10, 15, 0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 2px;
  transition: background 320ms var(--ease), width 320ms var(--ease);
}

.hero-slider-dot.is-active {
  background: var(--ink);
  width: 52px;
}

.hero-slider-dot:hover { background: rgba(10, 10, 15, 0.45); }

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero--split { padding: 130px 20px 50px; }
  .hero--split .hero-title { font-size: clamp(2.2rem, 8.4vw, 3.6rem); }
  .hero-slider { max-width: 480px; margin: 0 auto; aspect-ratio: 4/5; }
}

/* ========================================================================
   FOOTER — click-to-copy email (umano-style)
   ======================================================================== */
.footer-mega-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 44px;
}

.footer-mega-copy {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-family: var(--font-heading);
  color: var(--ink);
  text-align: left;
  font: inherit;
}

.footer-mega-copy-label {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-mega-copy-label::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--text-soft);
  display: inline-block;
}

.footer-mega-copy-email {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.022em;
  position: relative;
  color: var(--ink);
}

.footer-mega-copy-email::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1.5px;
  background: var(--ink);
  transform-origin: left;
  transform: scaleX(0.4);
  transition: transform 320ms var(--ease), background 240ms var(--ease);
}

.footer-mega-copy:hover .footer-mega-copy-email::after {
  transform: scaleX(1);
}

.footer-mega-copy.is-copied .footer-mega-copy-email {
  color: var(--brand-deep);
}

.footer-mega-copy.is-copied .footer-mega-copy-email::after {
  background: var(--brand);
  transform: scaleX(1);
}

.footer-mega-copy-status {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  opacity: 0;
  transition: opacity 240ms var(--ease);
  margin-top: 4px;
  display: block;
  min-height: 1em;
}

.footer-mega-copy.is-copied .footer-mega-copy-status { opacity: 1; }

@media (max-width: 720px) {
  .footer-mega-actions { gap: 28px; }
}

/* ========================================================================
   INTRO — interactive pixel grid + animated SVG logo + loader
   ======================================================================== */
.intro-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(46px, 1fr));
  grid-auto-rows: 46px;
  pointer-events: auto;
}

.intro-grid-cell {
  border-right: 1px solid rgba(10, 10, 15, 0.035);
  border-bottom: 1px solid rgba(10, 10, 15, 0.035);
  transition: background-color 750ms ease;
}

.intro-grid-cell.is-lit {
  background-color: rgba(2, 123, 253, 0.16);
  transition: background-color 0ms;
}

/* Actual logo (PNG) with reveal + glow */
.intro-logo-wrap {
  position: relative;
  display: inline-block;
  margin: 0 auto 30px;
}

.intro-logo-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 240%;
  background: radial-gradient(ellipse, rgba(2, 123, 253, 0.25), transparent 70%);
  filter: blur(34px);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  animation: introGlowIn 1400ms ease 1100ms forwards, introGlowPulse 3.6s ease-in-out 2600ms infinite;
}

@keyframes introGlowIn { to { opacity: 1; } }
@keyframes introGlowPulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }

.intro-logo-img {
  position: relative;
  z-index: 2;
  width: clamp(230px, 40vw, 480px);
  height: auto;
  display: block;
  clip-path: inset(0 100% 0 0);
  animation: introLogoReveal 2000ms cubic-bezier(0.76, 0, 0.24, 1) 500ms forwards;
}

@keyframes introLogoReveal {
  to { clip-path: inset(0 0 0 0); }
}

/* a thin light sweep crossing the logo as it reveals */
.intro-logo-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(2, 123, 253, 0.55), transparent);
  filter: blur(2px);
  left: -80px;
  opacity: 0;
  animation: introSweep 2000ms cubic-bezier(0.76, 0, 0.24, 1) 500ms forwards;
  pointer-events: none;
}

@keyframes introSweep {
  0%   { left: -80px; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 102%; opacity: 0; }
}

/* floating accent pixels around the logo */
.intro-logo-orbit {
  position: absolute;
  inset: -60px -40px;
  z-index: 1;
  pointer-events: none;
}

.intro-logo-orbit span {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--brand);
  box-shadow: 0 0 14px rgba(2, 123, 253, 0.6);
  opacity: 0;
  animation: introOrbitIn 700ms ease forwards, introOrbitFloat 6s ease-in-out infinite;
}

.intro-logo-orbit span:nth-child(1) { top: 0;    left: 6%;   animation-delay: 1400ms, 1400ms; }
.intro-logo-orbit span:nth-child(2) { top: 18%;  right: 2%;  width: 7px; height: 7px; animation-delay: 1700ms, 1700ms; }
.intro-logo-orbit span:nth-child(3) { bottom: 8%; left: 0;   width: 8px; height: 8px; animation-delay: 2000ms, 2000ms; }
.intro-logo-orbit span:nth-child(4) { bottom: 0;  right: 12%; width: 6px; height: 6px; animation-delay: 2300ms, 2300ms; }

@keyframes introOrbitIn { to { opacity: 0.9; } }
@keyframes introOrbitFloat {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(8px, -12px); }
}

/* legacy inline-svg logo (kept for fallback) */
.intro-logo {
  width: clamp(280px, 42vw, 540px);
  height: auto;
  overflow: visible;
  display: block;
  margin: 0 auto 28px;
}

.intro-logo-pixel {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: introPixIn 1000ms cubic-bezier(0.34, 1.56, 0.64, 1) 500ms forwards,
             introPixPulse 3.2s ease-in-out 2200ms infinite;
}

@keyframes introPixIn {
  from { opacity: 0; transform: scale(0) rotate(-90deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes introPixPulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(2,123,253,0)); }
  50%      { filter: drop-shadow(0 0 16px rgba(2,123,253,0.6)); }
}

.intro-logo-word {
  clip-path: inset(0 100% 0 -3%);
  animation: introWordWipe 1700ms cubic-bezier(0.65, 0, 0.35, 1) 1050ms forwards;
}

@keyframes introWordWipe {
  to { clip-path: inset(0 -3% 0 -3%); }
}

/* Loader status + magnetic enter button */
.intro-loader-status {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 240ms var(--ease);
}

.intro-enter-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px 15px 28px;
  background: var(--ink);
  color: #ffffff;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: -0.005em;
  text-decoration: none;
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  transition: opacity 460ms var(--ease), transform 460ms var(--ease), background 240ms var(--ease);
  will-change: transform;
}

.intro-enter-btn.is-ready {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.intro-enter-btn:hover { background: var(--brand); }

.intro-enter-btn-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 240ms var(--ease);
}

.intro-enter-btn:hover .intro-enter-btn-arrow { transform: rotate(-45deg); }

/* ========================================================================
   INTRO SPLASH — pure brand animation (4-second loader)
   ======================================================================== */
.intro-splash {
  background: #ffffff;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.intro-splash::before { content: none; }

.intro-splash-stage {
  position: relative;
  text-align: center;
  z-index: 2;
  padding: 0 32px;
  max-width: none;
  margin: 0;
}

.intro-splash-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  margin-bottom: 42px;
  position: relative;
}

.intro-splash-pixel {
  display: inline-block;
  width: 48px;
  height: 48px;
  background: var(--brand);
  box-shadow:
    0 0 60px rgba(2, 123, 253, 0.45),
    0 0 140px rgba(2, 123, 253, 0.22);
  transform: scale(0) rotate(-45deg);
  animation:
    splashPixelGrow 700ms cubic-bezier(0.34, 1.56, 0.64, 1) 200ms forwards,
    splashPixelPulse 2.4s ease-in-out 1200ms infinite;
}

@keyframes splashPixelGrow {
  0%   { transform: scale(0) rotate(-45deg); }
  60%  { transform: scale(1.15) rotate(8deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes splashPixelPulse {
  0%, 100% { box-shadow: 0 0 60px rgba(2, 123, 253, 0.45), 0 0 140px rgba(2, 123, 253, 0.22); }
  50%      { box-shadow: 0 0 90px rgba(2, 123, 253, 0.7),  0 0 200px rgba(2, 123, 253, 0.4);  }
}

.intro-splash-wordmark {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 9vw, 7.5rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ink);
  margin: 0 0 26px;
  display: inline-flex;
  gap: 0;
}

.intro-splash-wordmark span {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  animation: splashLetterIn 760ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.intro-splash-wordmark span:nth-child(1) { animation-delay: 700ms; }
.intro-splash-wordmark span:nth-child(2) { animation-delay: 770ms; }
.intro-splash-wordmark span:nth-child(3) { animation-delay: 840ms; }
.intro-splash-wordmark span:nth-child(4) { animation-delay: 910ms; }
.intro-splash-wordmark span:nth-child(5) { animation-delay: 980ms; }
.intro-splash-wordmark span:nth-child(6) { animation-delay: 1050ms; }
.intro-splash-wordmark span:nth-child(7) { animation-delay: 1120ms; }
.intro-splash-wordmark span:nth-child(8) { animation-delay: 1190ms; }
.intro-splash-wordmark span:nth-child(9) { animation-delay: 1260ms; }

@keyframes splashLetterIn {
  to { opacity: 1; transform: translateY(0); }
}

.intro-splash-tag {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  margin: 0;
  animation: splashFadeIn 1000ms cubic-bezier(0.22, 1, 0.36, 1) 2600ms forwards;
}

@keyframes splashFadeIn {
  to { opacity: 1; }
}

/* Bottom strip: skip + counter + progress + status */
.intro-splash-foot {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  opacity: 0;
  animation: splashFadeIn 800ms var(--ease) 2000ms forwards;
}

.intro-splash-skip {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 200ms var(--ease), gap 200ms var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.intro-splash-skip:hover { color: var(--ink); gap: 12px; }

.intro-splash-counter {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  min-width: 4ch;
}

.intro-splash-progress {
  flex: 1;
  height: 1px;
  background: rgba(10, 10, 15, 0.1);
  position: relative;
  overflow: hidden;
}

.intro-splash-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--ink);
}

.intro-splash-clock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.intro-splash-clock-dot {
  width: 5px;
  height: 5px;
  background: var(--brand);
  display: inline-block;
  box-shadow: 0 0 8px rgba(2, 123, 253, 0.6);
  animation: pulseDot 1.6s ease-in-out infinite;
}

/* Ambient floating brand pixels */
.intro-splash-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.intro-splash-particle {
  position: absolute;
  width: 5px;
  height: 5px;
  background: rgba(10, 10, 15, 0.35);
  opacity: 0;
  box-shadow: 0 0 10px rgba(10, 10, 15, 0.1);
  animation: splashParticle 5s ease-in-out infinite;
}

@keyframes splashParticle {
  0%, 100% { opacity: 0; transform: translateY(20px); }
  20%      { opacity: 0.6; }
  50%      { opacity: 0.35; transform: translateY(-30px); }
  80%      { opacity: 0.55; transform: translateY(-10px); }
}

@media (max-width: 720px) {
  .intro-splash-foot {
    padding: 18px 22px;
    gap: 14px;
    font-size: 0.66rem;
  }
  .intro-splash-clock span:last-child { display: none; }
}

@media (max-width: 460px) {
  .intro-splash-clock { display: none; }
}

/* ========================================================================
   INTRO PAGE — extra creative elements (watermark, line reveal, countdown)
   ======================================================================== */
/* Giant background — now a LIVE counter 00 → 100 */
.intro-watermark {
  position: fixed;
  top: 48%;
  right: -4%;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: clamp(18rem, 60vw, 48rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  color: rgba(10, 10, 15, 0.045);
  line-height: 0.82;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  display: flex;
  align-items: baseline;
  white-space: nowrap;
}

.intro-watermark-num {
  display: inline-block;
  min-width: 2.5ch;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.intro-watermark-pct {
  font-size: 0.32em;
  margin-left: 0.04em;
  font-weight: 500;
  color: rgba(2, 123, 253, 0.45);
  align-self: flex-start;
  margin-top: 0.2em;
  letter-spacing: 0;
}

/* Subtle pixel rain pattern across the whole intro */
.intro-pixel-rain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle, rgba(2, 123, 253, 0.22) 0.7px, transparent 1.4px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 28% 36%, rgba(0,0,0,0.85) 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 28% 36%, rgba(0,0,0,0.85) 0%, transparent 65%);
  animation: pixelRainShift 24s linear infinite;
}

@keyframes pixelRainShift {
  0%   { background-position: 0 0; }
  100% { background-position: 280px 280px; }
}

/* Bottom marquee — brand keywords loop */
.intro-marquee {
  position: fixed;
  bottom: 78px;
  left: 0;
  right: 0;
  z-index: 30;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.intro-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  animation: introMarquee 40s linear infinite;
  padding-right: 36px;
}

.intro-marquee-track span:not(.dot) {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: -0.005em;
}

.intro-marquee-track .dot {
  width: 6px;
  height: 6px;
  background: var(--brand);
  display: inline-block;
  box-shadow: 0 0 8px rgba(2, 123, 253, 0.5);
}

@keyframes introMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Exit curtain — smooth transition to home */
.intro-exit-curtain {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 520ms cubic-bezier(0.65, 0, 0.35, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-exit-curtain.is-active {
  opacity: 1;
  pointer-events: auto;
}

.intro-exit-curtain-text {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #ffffff;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 360ms var(--ease) 180ms, transform 480ms var(--ease) 180ms;
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.intro-exit-curtain-text::before {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--brand);
  box-shadow: 0 0 24px var(--brand);
  display: inline-block;
}

.intro-exit-curtain.is-active .intro-exit-curtain-text {
  opacity: 1;
  transform: translateY(0);
}

/* Position progress bar above the marquee */
.intro-progress { bottom: 0; padding: 16px 0 14px; }

@media (max-width: 720px) {
  .intro-marquee { bottom: 64px; padding: 11px 0; }
  .intro-marquee-track span:not(.dot) { font-size: 0.82rem; }
}

/* Line-by-line reveal for the intro title */
.intro-title-line {
  display: block;
  overflow: hidden;
  position: relative;
  padding-bottom: 0.06em;
}

.intro-title-line-inner {
  display: inline-block;
  transform: translateY(112%);
  opacity: 0;
  animation: introLineRise 1100ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.intro-title-line:nth-child(1) .intro-title-line-inner { animation-delay: 180ms; }
.intro-title-line:nth-child(2) .intro-title-line-inner { animation-delay: 360ms; }
.intro-title-line:nth-child(3) .intro-title-line-inner { animation-delay: 540ms; }

@keyframes introLineRise {
  to { transform: translateY(0); opacity: 1; }
}

/* Top right actions group */
.intro-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.intro-skip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 10px 16px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-radius: 100px;
  border: 1px solid transparent;
  transition: color 200ms var(--ease), background 200ms var(--ease), border-color 200ms var(--ease);
}

.intro-skip:hover {
  color: var(--ink);
  background: rgba(10, 10, 15, 0.04);
  border-color: var(--border);
}

/* Auto-advance progress bar */
.intro-progress {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 24px 0 20px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.96) 40%);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}

.intro-progress.is-paused {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.intro-progress-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.intro-progress-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.intro-progress-label-text { display: inline-flex; align-items: center; gap: 10px; }

.intro-progress-label-text::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--brand);
  display: inline-block;
  box-shadow: 0 0 10px rgba(2, 123, 253, 0.6);
  animation: pulseDot 1.6s ease-in-out infinite;
}

.intro-progress-time {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-size: 0.88rem;
  font-weight: 600;
  min-width: 4ch;
  text-align: right;
}

.intro-progress-track {
  position: relative;
  height: 2px;
  background: rgba(10, 10, 15, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.intro-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--ink);
  transition: background 300ms var(--ease);
}

@media (max-width: 720px) {
  .intro-skip span:first-child { display: none; }
  .intro-skip { padding: 9px 12px; }
}

/* ========================================================================
   CTA CARD — richer visual fill (no blue background)
   ======================================================================== */
.cta-card::before {
  content: "B";
  position: absolute;
  right: -0.18em;
  bottom: -0.34em;
  font-family: var(--font-heading);
  font-size: clamp(14rem, 30vw, 22rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  color: rgba(10, 10, 15, 0.045);
  line-height: 0.85;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.cta-card .cta-inner { position: relative; z-index: 1; }

/* Product mockup gets a richer neutral gradient */
.prod-block-visual {
  background:
    radial-gradient(circle at 30% 30%, rgba(10, 10, 15, 0.04), transparent 60%),
    var(--bg-soft);
}

/* Featured product card — replace blue tint with a more distinguished neutral look */
.product--featured {
  position: relative;
}

.product--featured::after {
  content: "★";
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  opacity: 0.5;
}

/* ========================================================================
   FOOTER v2 — two-panel card layout (umano-style) + email watermark
   ======================================================================== */
.footer {
  position: relative;
  z-index: 2;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 40px 0 0;
  overflow: hidden;
}

.footer-panels {
  display: grid;
  grid-template-columns: 0.8fr 1.45fr;
  gap: 20px;
  align-items: stretch;
}

/* Left accent card (black, on-brand) */
.footer-card {
  position: relative;
  background: var(--ink);
  border-radius: var(--r-xl);
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 380px;
  overflow: hidden;
}

.footer-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse at 82% 18%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 82% 18%, #000, transparent 72%);
  pointer-events: none;
}

.footer-card-head { position: relative; z-index: 1; }

.footer-card-logo {
  display: inline-block;
  line-height: 0;
}

.footer-card-logo-img {
  height: 44px;
  width: auto;
  display: block;
  /* recolor the black logo to white while keeping the blue pixel */
  filter: invert(1) hue-rotate(180deg);
}

.footer-card-desc {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 36ch;
}

.footer-card-foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.footer-card-meta {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-card-link {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  width: fit-content;
  transition: color 200ms var(--ease), transform 200ms var(--ease);
}

.footer-card-link:hover { color: #ffffff; transform: translateX(3px); }

.footer-card-tagline {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.06;
}

.footer-card-tagline strong { color: #ffffff; font-weight: 500; display: block; }
.footer-card-tagline span   { color: rgba(255, 255, 255, 0.45); display: block; }

/* Right links panel (white) */
.footer-panel {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
}

.footer-panel-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  flex: 1;
}

.footer-panel-col { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

.footer-panel-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 2px;
}

.footer-panel-col a {
  font-family: var(--font-heading);
  font-size: 1.06rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.012em;
  transition: color 200ms var(--ease), transform 200ms var(--ease);
}

.footer-panel-col a:hover { color: var(--brand-deep); transform: translateX(4px); }

.footer-panel-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 52px;
  flex-wrap: wrap;
}

.footer-panel-copy {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--ink);
  color: #ffffff;
  padding: 14px 26px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.94rem;
  letter-spacing: -0.005em;
  transition: background 240ms var(--ease), transform 240ms var(--ease);
}

.footer-panel-cta:hover { background: var(--brand); transform: translateY(-2px); }

/* Corner logo mark — pokes above the panel */
.footer-panel-mark {
  position: absolute;
  top: -16px;
  right: 44px;
  width: 60px;
  height: 60px;
  background: var(--brand);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.7rem;
  color: #ffffff;
  box-shadow: 0 18px 40px -12px rgba(2, 123, 253, 0.55);
}

/* Giant email watermark */
.footer-watermark {
  text-align: center;
  padding: 26px 16px 8px;
  overflow: hidden;
  max-width: 100%;
}

.footer-watermark-hint {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 12px;
  transition: color 240ms var(--ease);
}

.footer-watermark-email {
  display: inline-block;
  max-width: 100%;
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 8.4vw, 9rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.85;
  color: rgba(10, 10, 15, 0.07);
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: color 320ms var(--ease);
}

.footer-watermark-email:hover { color: rgba(10, 10, 15, 0.14); }
.footer-watermark-email.is-copied { color: rgba(2, 123, 253, 0.3); }

@media (max-width: 860px) {
  .footer-panels { grid-template-columns: 1fr; }
  .footer-card { min-height: 220px; gap: 44px; padding: 32px; }
  .footer-panel { padding: 36px 28px; }
  .footer-panel-mark { right: 28px; width: 52px; height: 52px; font-size: 1.45rem; }
}

@media (max-width: 600px) {
  .footer-panel-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-panel-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .footer-panel-cols { grid-template-columns: 1fr; }
}

/* ========================================================================
   CUSTOM CURSOR (premium agency style)
   ======================================================================== */
/* Square pixel cursor — on-brand for Bizsquare. The ring spins slowly,
   mix-blend-mode keeps both layers visible on any background colour. */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 0;             /* square, not round */
  transform: translate3d(-50%, -50%, 0);
  will-change: transform, width, height;
  opacity: 0;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: #ffffff;
  mix-blend-mode: difference;
  transition: opacity 240ms var(--ease), transform 70ms linear, width 220ms var(--ease), height 220ms var(--ease);
}

.cursor-ring {
  width: 46px;
  height: 46px;
  background: transparent;
  mix-blend-mode: difference;
  transition: opacity 240ms var(--ease),
              width 360ms var(--ease),
              height 360ms var(--ease);
}

/* The visible square frame lives on ::after so it can rotate independently
   from the JS-controlled positioning transform on .cursor-ring. */
.cursor-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid #ffffff;
  animation: cursorSpin 16s linear infinite;
  will-change: transform;
}

/* Four corner brackets — adds a "viewfinder" feel on top of the frame */
.cursor-ring::before {
  content: "";
  position: absolute;
  inset: -5px;
  background:
    /* top-left */
    linear-gradient(#fff, #fff) left   top    / 10px 1.5px no-repeat,
    linear-gradient(#fff, #fff) left   top    / 1.5px 10px no-repeat,
    /* top-right */
    linear-gradient(#fff, #fff) right  top    / 10px 1.5px no-repeat,
    linear-gradient(#fff, #fff) right  top    / 1.5px 10px no-repeat,
    /* bottom-left */
    linear-gradient(#fff, #fff) left   bottom / 10px 1.5px no-repeat,
    linear-gradient(#fff, #fff) left   bottom / 1.5px 10px no-repeat,
    /* bottom-right */
    linear-gradient(#fff, #fff) right  bottom / 10px 1.5px no-repeat,
    linear-gradient(#fff, #fff) right  bottom / 1.5px 10px no-repeat;
  opacity: 0;
  transition: opacity 240ms var(--ease);
}

@keyframes cursorSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

body.has-custom-cursor .cursor-dot,
body.has-custom-cursor .cursor-ring { opacity: 1; }

/* Hover state: ring grows, frame fades out, viewfinder brackets fade in,
   spin speeds up for a touch of energy */
body.is-cursor-hover .cursor-ring {
  width: 74px;
  height: 74px;
}

body.is-cursor-hover .cursor-ring::after {
  opacity: 0.15;
  animation-duration: 4s;
}

body.is-cursor-hover .cursor-ring::before { opacity: 1; }

body.is-cursor-hover .cursor-dot {
  width: 10px;
  height: 10px;
}

body.is-cursor-down .cursor-ring {
  width: 32px;
  height: 32px;
}

body.is-cursor-down .cursor-ring::after { animation-duration: 1.5s; }

/* Hide native cursor when custom cursor is active (fine pointer only) */
@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor * { cursor: none; }
  body.has-custom-cursor input,
  body.has-custom-cursor textarea,
  body.has-custom-cursor select { cursor: text; }
}

/* Hide custom cursor entirely on touch devices */
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ========================================================================
   MEGA FOOTER (oversized typography CTA)
   ======================================================================== */
.footer-mega {
  position: relative;
  overflow: hidden;
  padding: 110px 0 90px;
  border-bottom: 1px solid var(--border);
}

.footer-mega-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 500;
  margin-bottom: 40px;
}

.footer-mega-label::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--ink);
}

.footer-mega-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 11vw, 11.5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin: 0 0 60px;
  color: var(--ink);
}

.footer-mega-line {
  display: block;
  position: relative;
  overflow: hidden;
}

.footer-mega-line-inner {
  display: inline-block;
}

.footer-mega-title em {
  font-style: italic;
  color: var(--brand);
  font-weight: 500;
  position: relative;
}

.footer-mega-title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.05em;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 800ms var(--ease) 200ms;
}

.footer-mega-title.is-in-view em::after {
  transform: scaleX(1);
}

.footer-mega-cta {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-decoration: none;
  transition: color 280ms var(--ease), gap 280ms var(--ease);
}

.footer-mega-cta:hover {
  color: var(--brand-deep);
  gap: 32px;
}

.footer-mega-cta-arrow {
  width: 68px;
  height: 68px;
  border-radius: 100px;
  background: var(--ink);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 280ms var(--ease), transform 360ms var(--ease);
}

.footer-mega-cta:hover .footer-mega-cta-arrow {
  background: var(--brand);
  transform: rotate(-45deg);
}

.footer-mega-cta-arrow svg { width: 22px; height: 22px; }

.footer-mega-mark {
  position: absolute;
  bottom: -0.16em;
  right: 0;
  font-family: var(--font-heading);
  font-size: clamp(8rem, 24vw, 28rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  color: rgba(10, 10, 15, 0.045);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.footer-mega .container { position: relative; z-index: 1; }

@media (max-width: 720px) {
  .footer-mega { padding: 70px 0 60px; }
  .footer-mega-label { margin-bottom: 26px; }
  .footer-mega-title { margin-bottom: 36px; }
  .footer-mega-cta-arrow { width: 52px; height: 52px; }
  .footer-mega-cta-arrow svg { width: 18px; height: 18px; }
  .footer-mega-mark { font-size: clamp(5rem, 22vw, 9rem); }
}

/* ========================================================================
   HERO ENHANCEMENTS — rotating word + pixel parallax
   ======================================================================== */
.word-rotate {
  display: inline-block;
  position: relative;
  vertical-align: bottom;
  overflow: hidden;
  text-align: left;
  line-height: 1;
}

.word-rotate-sizer {
  visibility: hidden;
  display: inline-block;
  pointer-events: none;
  color: var(--brand);
  font-style: italic;
  font-weight: 500;
}

.word-rotate-item {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(115%);
  transition: opacity 540ms var(--ease), transform 620ms var(--ease);
  color: var(--brand);
  font-style: italic;
  font-weight: 500;
}

.word-rotate-item.is-active {
  opacity: 1;
  transform: translateY(0);
}

.word-rotate-item.is-prev {
  opacity: 0;
  transform: translateY(-115%);
}

/* Mouse-parallax for floating pixels */
.pixel-field {
  transform: translate3d(calc(var(--mx, 0) * 18px), calc(var(--my, 0) * 12px), 0);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Subtle hero card tilt — a 3D mark element */
.hero-tilt {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 14px 22px 14px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--text-dim);
  box-shadow: var(--shadow-sm);
  transform: rotate3d(1, 0, 0, 0deg) rotate3d(0, 1, 0, 0deg);
  transform-style: preserve-3d;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
  will-change: transform;
}

.hero-tilt-mark {
  width: 22px;
  height: 22px;
  background: var(--brand);
  box-shadow: 0 0 16px rgba(2, 123, 253, 0.5);
  display: inline-block;
  flex: 0 0 22px;
  animation: pulseTilt 2.4s ease-in-out infinite;
}

@keyframes pulseTilt {
  0%, 100% { transform: scale(1); box-shadow: 0 0 16px rgba(2, 123, 253, 0.4); }
  50%      { transform: scale(1.1); box-shadow: 0 0 24px rgba(2, 123, 253, 0.7); }
}

.hero-tilt-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 8px rgba(22, 163, 74, 0.6);
  animation: pulseDot 2s ease-in-out infinite;
}

/* ========================================================================
   INTRO PAGE (editorial / steven.com-style entry experience)
   ======================================================================== */
.intro-body {
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font-body);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.intro-body::before { content: none; }

/* ---- Top bar ---- */
.intro-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.intro-logo {
  display: flex;
  align-items: center;
}

.intro-logo img {
  height: 28px;
  width: auto;
  display: block;
}

.intro-clocks {
  display: flex;
  gap: 28px;
  align-items: center;
  font-family: var(--font-heading);
  font-feature-settings: 'tnum' 1;
  letter-spacing: -0.005em;
}

.intro-clock {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.88rem;
}

.intro-clock-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 500;
}

.intro-clock-time {
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  min-width: 3.5ch;
  text-align: right;
}

.intro-clock-dot {
  width: 5px;
  height: 5px;
  background: var(--brand);
  display: inline-block;
  animation: pulseDot 2s ease-in-out infinite;
  margin-left: 2px;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1; }
}

.intro-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 18px;
  border: 1px solid var(--border-hi);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: #ffffff;
  cursor: pointer;
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}

.intro-menu-btn:hover {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.intro-menu-icon {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.intro-menu-icon span {
  width: 14px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 220ms var(--ease);
}

/* ---- Overlay menu ---- */
.intro-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms var(--ease);
  z-index: 70;
}

.intro-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.intro-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 90vw);
  background: #ffffff;
  z-index: 80;
  padding: 32px 36px;
  transform: translateX(100%);
  transition: transform 420ms var(--ease);
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: -40px 0 80px -30px rgba(10, 10, 15, 0.2);
}

.intro-menu.is-open { transform: translateX(0); }

.intro-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.intro-menu-head-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.intro-menu-close {
  width: 38px;
  height: 38px;
  border-radius: 100px;
  border: 1px solid var(--border-hi);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
  color: var(--ink);
}

.intro-menu-close:hover {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.intro-menu-nav {
  display: flex;
  flex-direction: column;
}

.intro-menu-nav a {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 200ms var(--ease), padding 200ms var(--ease);
}

.intro-menu-nav a::after {
  content: "→";
  font-size: 1.1rem;
  color: var(--text-soft);
  transition: transform 250ms var(--ease), color 250ms var(--ease);
}

.intro-menu-nav a:hover {
  color: var(--brand-deep);
  padding-left: 8px;
}

.intro-menu-nav a:hover::after {
  color: var(--brand);
  transform: translateX(4px);
}

.intro-menu-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
  color: var(--text-muted);
}

.intro-menu-foot a { color: var(--ink); }
.intro-menu-foot a:hover { color: var(--brand-deep); }

/* ---- Main intro content ---- */
.intro-main {
  padding: 130px 32px 90px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ---- Hero ---- */
.intro-hero {
  padding: 60px 0 100px;
  position: relative;
}

.intro-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 56px;
}

.intro-eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--ink);
}

.intro-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 9.5vw, 10.5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0 0 56px;
  color: var(--ink);
  max-width: 14ch;
}

.intro-title .accent {
  color: var(--brand);
  font-style: italic;
  font-weight: 500;
}

.intro-title .pixel-mark {
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  background: var(--brand);
  vertical-align: 0.18em;
  margin: 0 0.05em;
  box-shadow: 0 0 24px rgba(2, 123, 253, 0.5);
}

.intro-sub {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  line-height: 1.45;
  color: var(--text-dim);
  max-width: 56ch;
  letter-spacing: -0.005em;
}

/* ---- Manifesto block ---- */
.intro-manifesto {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.intro-manifesto-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 500;
  padding-top: 6px;
}

.intro-manifesto-text {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.022em;
  color: var(--ink);
  max-width: 28ch;
}

.intro-manifesto-text strong {
  color: var(--brand);
  font-style: italic;
  font-weight: 500;
}

/* ---- Pillars list ---- */
.intro-pillars {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.intro-pillars-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 20px;
}

.intro-pillars-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 500;
}

.intro-pillars-meta {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  color: var(--text-dim);
  letter-spacing: -0.005em;
}

.intro-pillars-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.intro-pillar {
  display: grid;
  grid-template-columns: 88px 1.4fr 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  transition: padding 360ms var(--ease);
}

.intro-pillar:last-child { border-bottom: none; }

.intro-pillar:hover { padding-left: 12px; }

.intro-pillar-num {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  color: var(--text-soft);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.intro-pillar-name {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4.2vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  transition: color 320ms var(--ease);
}

.intro-pillar:hover .intro-pillar-name {
  color: var(--brand-deep);
  font-style: italic;
}

.intro-pillar-meta {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.intro-pillar-arrow {
  width: 44px;
  height: 44px;
  border-radius: 100px;
  border: 1px solid var(--border-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: background 280ms var(--ease), color 280ms var(--ease), border-color 280ms var(--ease), transform 280ms var(--ease);
}

.intro-pillar:hover .intro-pillar-arrow {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
  transform: rotate(-45deg);
}

/* ---- Enter CTA ---- */
.intro-enter {
  padding: 100px 0 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.intro-enter-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 500;
}

.intro-enter-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  transition: color 280ms var(--ease), padding 280ms var(--ease);
  text-decoration: none;
}

.intro-enter-link:hover {
  color: var(--brand-deep);
  padding-left: 8px;
}

.intro-enter-arrow {
  width: 62px;
  height: 62px;
  border-radius: 100px;
  background: var(--ink);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 280ms var(--ease), transform 280ms var(--ease);
}

.intro-enter-link:hover .intro-enter-arrow {
  background: var(--brand);
  transform: translateX(6px);
}

/* ---- Intro footer ---- */
.intro-footer {
  border-top: 1px solid var(--border);
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  max-width: 1280px;
  margin: 0 auto;
}

.intro-footer span { white-space: nowrap; }
.intro-footer .intro-footer-tag { color: var(--ink); }

/* ---- Intro entrance animation ---- */
.intro-reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: introReveal 1100ms var(--ease) forwards;
}

.intro-reveal[data-delay="1"] { animation-delay: 120ms; }
.intro-reveal[data-delay="2"] { animation-delay: 240ms; }
.intro-reveal[data-delay="3"] { animation-delay: 360ms; }
.intro-reveal[data-delay="4"] { animation-delay: 500ms; }
.intro-reveal[data-delay="5"] { animation-delay: 640ms; }

@keyframes introReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Intro responsive ---- */
@media (max-width: 900px) {
  .intro-topbar {
    padding: 16px 22px;
  }
  .intro-clocks { gap: 16px; }
  .intro-clock { font-size: 0.8rem; }
  .intro-clock-label { font-size: 0.62rem; }

  .intro-main { padding: 110px 22px 60px; }

  .intro-hero { padding: 40px 0 60px; }
  .intro-eyebrow { margin-bottom: 32px; }
  .intro-title { margin-bottom: 36px; }

  .intro-manifesto {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 56px 0;
  }

  .intro-pillar {
    grid-template-columns: 56px 1fr auto;
    gap: 18px;
    padding: 24px 0;
  }

  .intro-pillar-meta {
    grid-column: 2 / -1;
    margin-top: -4px;
    font-size: 0.88rem;
  }

  .intro-pillar-arrow {
    width: 38px;
    height: 38px;
    grid-row: 1;
    grid-column: 3;
  }

  .intro-enter { padding: 60px 0 40px; }
  .intro-enter-arrow { width: 50px; height: 50px; }

  .intro-footer {
    padding: 22px 22px;
    font-size: 0.76rem;
  }
}

@media (max-width: 600px) {
  .intro-clocks { display: none; }
  .intro-menu-btn { padding: 8px 14px; font-size: 0.78rem; }
  .intro-menu-btn span:first-child { display: none; }
  .intro-menu { padding: 24px 26px; }
  .intro-menu-nav a { font-size: 1.35rem; }
}

/* ========================================================================
   PROJECT MODAL — popup form opened by "Start a Project" buttons
   ======================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms var(--ease);
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--r-xl);
  padding: 28px 36px 28px;
  width: 100%;
  max-width: 580px;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.55);
  transform: translateY(28px) scale(0.97);
  transition: transform 380ms var(--ease);
}

.modal.is-open .modal-card { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-hi);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease);
  z-index: 2;
}

.modal-close:hover {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
  transform: rotate(90deg);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 12px 0 4px;
  color: var(--ink);
}

.modal-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 16px;
  line-height: 1.45;
}

.modal-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}

/* compact field sizing inside the modal */
.modal-form .field { gap: 5px; }
.modal-form .field label { font-size: 0.7rem; }
.modal-form .field input,
.modal-form .field textarea,
.modal-form .field select {
  padding: 10px 13px;
  font-size: 0.94rem;
}
.modal-form .field textarea { min-height: auto; }
.modal-form .btn { margin-top: 4px; padding: 12px 20px; }

.modal-form .field--full { grid-column: 1 / -1; }

.modal-form .form-status {
  grid-column: 1 / -1;
  font-size: 0.92rem;
  color: var(--text-muted);
  text-align: center;
  min-height: 1.2em;
  margin: 0;
}

.modal-form .form-status.is-ok { color: var(--brand-deep); }
.modal-form .form-status.is-error { color: #c92a2a; }

/* Honeypot — hidden field for bot trap */
.modal-form .hp-field,
.contact-form .hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 600px) {
  .modal-card { padding: 32px 24px 28px; }
  .modal-form { grid-template-columns: 1fr; }
}

/* lock body scroll while modal is open */
body.modal-open { overflow: hidden; }

/* ========================================================================
   FLOATING ACTIONS — WhatsApp + back to top
   ======================================================================== */
.floating-actions {
  position: fixed;
  right: clamp(16px, 2.4vw, 30px);
  bottom: clamp(16px, 2.4vw, 30px);
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fab {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 30px -8px rgba(10, 10, 15, 0.3);
  transition: transform 260ms var(--ease), background 240ms var(--ease), opacity 320ms var(--ease);
}

.fab svg { width: 26px; height: 26px; }

.fab--whatsapp { background: #25D366; color: #ffffff; }
.fab--whatsapp:hover { background: #1ebe5a; transform: translateY(-3px) scale(1.06); }

.fab--top {
  background: var(--ink);
  color: #ffffff;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.fab--top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.fab--top:hover { background: var(--brand); transform: translateY(-3px); }

@media (max-width: 600px) {
  .fab { width: 48px; height: 48px; }
  .fab svg { width: 23px; height: 23px; }
}

/* Animated pixel matrix (story visual on dark band) */
.pixel-matrix {
  position: absolute;
  top: 42px;
  left: 42px;
  right: 42px;
  bottom: 92px;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-auto-rows: 1fr;
  gap: 6px;
}

.pixel-matrix span {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  animation: matrixWave 3.8s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  will-change: background-color, transform;
}

@keyframes matrixWave {
  0%, 100% { background-color: rgba(255, 255, 255, 0.06); transform: scale(1); }
  45%      { background-color: rgba(2, 123, 253, 0.9); transform: scale(1.14); box-shadow: 0 0 14px rgba(2, 123, 253, 0.55); }
}

@media (max-width: 720px) {
  .pixel-matrix { top: 28px; left: 28px; right: 28px; bottom: 84px; gap: 5px; }
}

/* ========================================================================
   PIXEL PHILOSOPHY — dark band variant (.section--dark)
   ======================================================================== */
.section--dark {
  background: var(--ink);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.section--dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000, transparent 75%);
  pointer-events: none;
}

.section--dark .container { position: relative; z-index: 1; }
.section--dark .section-title { color: #ffffff; }
.section--dark .story-text p { color: rgba(255, 255, 255, 0.68); }
.section--dark .story-text p:last-of-type { color: #ffffff; }
.section--dark .eyebrow {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}
.section--dark .eyebrow-dot { box-shadow: 0 0 12px var(--brand); }
.section--dark .story-stats { border-top-color: rgba(255, 255, 255, 0.14); }
.section--dark .story-stat-num { color: #ffffff; }
.section--dark .story-stat-label { color: rgba(255, 255, 255, 0.55); }
.section--dark .story-card {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.section--dark .story-grid-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
}
.section--dark .story-label {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.85);
}
.section--dark .btn--ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
}
.section--dark .btn--ghost:hover {
  background: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
}

/* ========================================================================
   INNER PAGE HERO — full-bleed background image + overlay (all but home)
   ======================================================================== */
.page-hero--split {
  position: relative;
  padding: 118px 0 60px;          /* reduced top padding */
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}

/* container becomes static so the image escapes to fill the whole section */
.page-hero--split .container {
  display: block;
  position: static;
}

.page-hero--split .page-hero-inner {
  position: relative;
  z-index: 2;
  text-align: left;
  margin: 0;
  max-width: 680px;
}

/* image fills the entire hero as a background */
.page-hero--split .page-hero-image {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  aspect-ratio: auto;
  border: none;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  z-index: 0;
}

.page-hero--split .page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero--split .page-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(10, 10, 15, 0.94) 0%,
    rgba(10, 10, 15, 0.8) 40%,
    rgba(10, 10, 15, 0.4) 100%);
}

.page-hero--split .page-hero-image-tag { display: none; }

/* light text over the dark image */
.page-hero--split .page-hero-title {
  color: #ffffff;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  letter-spacing: -0.04em;
}

.page-hero--split .page-hero-sub { color: rgba(255, 255, 255, 0.82); }

.page-hero--split .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.26);
  color: #ffffff;
}

.page-hero--split .eyebrow-dot { box-shadow: 0 0 12px var(--brand); }

.page-hero--split .text-grad {
  background: linear-gradient(110deg, #ffffff 18%, var(--brand) 58%, #ffffff 95%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero--split .page-hero-tag {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.26);
  color: #ffffff;
}

.page-hero--split .page-hero-tag:hover {
  background: rgba(255, 255, 255, 0.2);
}

.page-hero--split .btn--ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: none;
}

.page-hero--split .btn--ghost:hover {
  background: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
}

@media (max-width: 720px) {
  .page-hero--split { min-height: 460px; padding: 104px 0 50px; }
  .page-hero--split .page-hero-image::after {
    background: linear-gradient(180deg, rgba(10,10,15,0.86), rgba(10,10,15,0.7));
  }
}

/* ========================================================================
   DARK NAV (overrides — black glass header, white text, blue accents)
   ======================================================================== */
.nav {
  background: rgba(10, 10, 15, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

.nav.is-scrolled {
  background: var(--ink);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 30px -10px rgba(0, 0, 0, 0.5);
}

/* recolor the black logo to white while keeping the blue pixel */
.nav .logo-img {
  filter: invert(1) hue-rotate(180deg);
}

.nav-links > a,
.nav-item > .nav-link {
  color: rgba(255, 255, 255, 0.72);
}

.nav-links > a:hover,
.nav-item > .nav-link:hover { color: #ffffff; }

.nav-links > a.is-active,
.nav-item > .nav-link.is-active { color: #ffffff; }

.nav-phone { color: rgba(255, 255, 255, 0.78); }
.nav-phone:hover { color: #ffffff; }

.nav-toggle { background: rgba(255, 255, 255, 0.08); }
.nav-toggle:hover { background: rgba(255, 255, 255, 0.16); }
.nav-toggle span { background: #ffffff; }

/* Dropdown menus — dark */
.nav-menu {
  background: rgba(20, 20, 24, 0.97);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}
.nav-menu a:hover { background: rgba(255, 255, 255, 0.06); }
.nav-menu a.is-active { background: rgba(255, 255, 255, 0.08); }
.nav-menu-label { color: #ffffff; }
.nav-menu-meta  { color: rgba(255, 255, 255, 0.55); }
.nav-menu a.is-active .nav-menu-label { color: var(--brand); }

/* Mobile drawer — dark */
.nav.is-open .nav-links {
  background: rgba(15, 15, 18, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* ========================================================================
   HERO PIXEL GRID — interactive hover effect behind hero text (black pixels)
   ======================================================================== */
.hero-text { position: relative; isolation: isolate; }

.hero-pixel-grid {
  position: absolute;
  inset: -20px -8px;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(42px, 1fr));
  grid-auto-rows: 42px;
  pointer-events: auto;
  overflow: hidden;
}

.hero-text > *:not(.hero-pixel-grid) {
  position: relative;
  z-index: 1;
}

.hero-pixel-cell {
  transition: background-color 900ms ease;
}

.hero-pixel-cell.is-lit {
  background-color: rgba(10, 10, 15, 0.28);
  transition: background-color 0ms;
}

@media (max-width: 720px), (hover: none) {
  .hero-pixel-grid { display: none; }
}

/* ========================================================================
   LARGE SCREENS — fill big windows (wider container + scaled type)
   ======================================================================== */
@media (min-width: 1700px) {
  :root { --container: 1500px; }
  html { font-size: 17.5px; }
  .nav-inner { max-width: 1560px; }
  .hero--split .hero-inner,
  .intro-progress-inner { max-width: 1500px; }
}

@media (min-width: 2100px) {
  :root { --container: 1760px; }
  html { font-size: 19px; }
  .nav-inner { max-width: 1820px; }
  .hero--split .hero-inner,
  .intro-progress-inner { max-width: 1760px; }
  .hero-slider { max-width: 620px; margin-left: auto; }
}

@media (min-width: 2560px) {
  :root { --container: 2000px; }
  html { font-size: 20px; }
  .nav-inner { max-width: 2060px; }
}

/* ========================================================================
   REDUCED MOTION
   ======================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

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

  .pixel, .ambient-blob, .story-pixel, .marquee-track, .scroll-cue-line::after { animation: none !important; }
}
