/* ============================================================
   RIGA MANUFACTURING — Premium White Industrial Theme
   Single shared stylesheet · ~700 lines · zero dependencies
   ============================================================ */

/* ---------- 1 · Tokens ---------- */
:root {
  /* Surfaces */
  --c-ivory: #FFFFFF;
  --c-porcelain: #FAFBFC;
  --c-mist: #F4F6FA;
  --c-cloud: #EEF1F6;
  --c-platinum: #E1E6EE;
  --c-line: #E8ECF2;

  /* Ink */
  --c-charcoal: #0B0F1A;
  --c-graphite: #1C2230;
  --c-slate: #475467;
  --c-ash: #98A2B3;
  --c-mute: #C2C8D2;

  /* Signal blue (industrial accent) */
  --c-signal-50: #EFF5FF;
  --c-signal-100: #DBEAFE;
  --c-signal-300: #93B4FA;
  --c-signal-500: #2563EB;
  --c-signal-600: #1D4FD8;
  --c-signal-700: #1E40AF;

  /* Status */
  --c-ok: #10B981;
  --c-ok-soft: #6EE7B7;

  /* Shadows */
  --sh-xs: 0 1px 2px rgba(11, 15, 26, 0.04);
  --sh-sm: 0 2px 6px rgba(11, 15, 26, 0.05), 0 1px 2px rgba(11, 15, 26, 0.04);
  --sh-md: 0 8px 24px -8px rgba(11, 15, 26, 0.10), 0 2px 6px rgba(11, 15, 26, 0.05);
  --sh-lg: 0 24px 48px -16px rgba(11, 15, 26, 0.14), 0 8px 16px -8px rgba(11, 15, 26, 0.08);
  --sh-glass: 0 12px 40px -8px rgba(11, 15, 26, 0.10);

  /* Radius */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Type */
  --f-sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(1.25rem, 3.5vw, 2.5rem);
}

/* ---------- 2 · Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-charcoal);
  background: var(--c-ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
img { object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; }

/* ---------- 3 · Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--soft { background: var(--c-porcelain); }
.section--dark { background: var(--c-charcoal); color: var(--c-ivory); }

.section-header { max-width: 720px; margin-bottom: 3rem; }
.section-header--center { margin-inline: auto; text-align: center; }
.section-header h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.section-header p { color: var(--c-slate); font-size: clamp(1rem, 1.4vw, 1.125rem); max-width: 60ch; }

/* Eyebrow tag */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-slate);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--c-signal-500);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.005em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--c-charcoal);
  color: var(--c-ivory);
  box-shadow: var(--sh-sm);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--sh-md); background: #000; }
.btn--secondary {
  background: var(--c-ivory);
  color: var(--c-charcoal);
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-xs);
}
.btn--secondary:hover { transform: translateY(-2px); box-shadow: var(--sh-sm); }
.btn--ghost { color: var(--c-charcoal); padding-inline: 0.25rem; }
.btn--ghost:hover { color: var(--c-signal-600); }
.btn--lg { padding: 1rem 1.75rem; font-size: 1rem; }

.btn__arrow { transition: transform 0.25s; }
.btn:hover .btn__arrow { transform: translate(2px, -2px); }

.btn__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--c-charcoal);
  color: white;
  font-size: 0.6rem;
}

/* ---------- 4 · Navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--c-line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}
.nav__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--c-charcoal);
  color: var(--c-ivory);
}
.nav__logo-mark svg { width: 16px; height: 16px; }
.nav__logo-sub {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--c-ash);
  margin-top: 2px;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0 auto;
}
.nav__menu a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--c-graphite);
  transition: color 0.2s;
}
.nav__menu a:hover, .nav__menu a.active { color: var(--c-signal-600); }
.nav__menu a.active::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -8px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--c-signal-500);
  transform: translateX(-50%);
}
.nav__checkbox { display: none; }
.nav__hamburger {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: var(--r-sm);
}
.nav__hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--c-charcoal);
  position: relative;
  transition: transform 0.3s;
}
.nav__hamburger span::before,
.nav__hamburger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--c-charcoal);
  transition: transform 0.3s;
}
.nav__hamburger span::before { top: -6px; }
.nav__hamburger span::after { top: 6px; }

@media (max-width: 900px) {
  .nav__menu {
    position: fixed;
    inset: 64px 1rem auto 1rem;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--c-ivory);
    border-radius: var(--r-lg);
    border: 1px solid var(--c-line);
    box-shadow: var(--sh-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s;
    margin: 0;
  }
  .nav__checkbox:checked ~ .nav__menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav__hamburger { display: inline-flex; }
  .nav__cta { display: none; }
}

/* ---------- 5 · Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--c-signal-500), var(--c-signal-700));
  z-index: 110;
  transition: width 0.05s linear;
}

/* ---------- 6 · Hero ---------- */
.hero {
  position: relative;
  padding: clamp(7rem, 12vw, 9rem) 0 clamp(3rem, 5vw, 5rem);
  overflow: hidden;
  background: var(--c-ivory);
}
.hero__ornaments { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--c-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero__glow {
  position: absolute;
  top: 30%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70vw; height: 70vw;
  max-width: 1000px; max-height: 1000px;
  background: radial-gradient(circle at center, var(--c-signal-50), transparent 60%);
  opacity: 0.7;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: float 14s ease-in-out infinite;
}
.hero__orb--1 {
  top: 15%; right: 8%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 70%);
}
.hero__orb--2 {
  bottom: 12%; left: 6%;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(150, 170, 200, 0.22), transparent 70%);
  animation-delay: -7s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -30px); }
}

.hero__inner { position: relative; z-index: 2; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-slate);
}
.status-pill__dot {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-signal-500);
}
.status-pill__dot::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--c-signal-500);
  animation: ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
  0% { transform: scale(1); opacity: 0.7; }
  80%, 100% { transform: scale(2.4); opacity: 0; }
}
.hero__cert {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--c-ash);
}
@media (max-width: 700px) {
  .hero__cert { display: none; }
}

.hero__split {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
@media (max-width: 980px) {
  .hero__split { grid-template-columns: 1fr; }
}

.hero__title {
  font-size: clamp(2.5rem, 6.2vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  word-break: break-word;
}
.hero__title-line {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  flex-wrap: wrap;
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--c-graphite);
}
.text-metallic {
  background: linear-gradient(135deg, #475569 0%, #94A3B8 50%, #1E293B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.precision-mark {
  display: inline-flex;
  width: clamp(2rem, 4.5vw, 3.5rem);
  height: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--c-signal-500);
  animation: spin 20s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__desc {
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  color: var(--c-slate);
  max-width: 56ch;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(1.5rem, 3vw, 2rem);
  line-height: 1.6;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Bento mosaic */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: clamp(0.6rem, 1vw, 1rem);
  aspect-ratio: 5 / 6;
  max-height: 600px;
}
@media (max-width: 540px) { .bento { aspect-ratio: 4 / 5; } }

.bento__tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--c-ivory);
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-sm);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s;
}
.bento__tile:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.bento__tile--image { grid-column: span 4; grid-row: span 4; border: 0; background: var(--c-charcoal); }
.bento__tile--blueprint { grid-column: span 2; grid-row: span 2; }
.bento__tile--data { grid-column: span 2; grid-row: span 2; background: linear-gradient(135deg, var(--c-charcoal), var(--c-graphite)); color: var(--c-ivory); border: 0; }
.bento__tile--ticker { grid-column: span 6; grid-row: span 2; }

/* Image tile */
.bento__tile--image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  transform: scale(1.06);
  animation: kenburns 14s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.04) translate(0, 0); }
  to { transform: scale(1.12) translate(-1%, -2%); }
}
.bento__tile--image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(11, 15, 26, 0.35) 0%, transparent 35%, rgba(11, 15, 26, 0.85) 100%);
}
.bento__overlay-top, .bento__overlay-bottom { position: absolute; left: 1rem; right: 1rem; z-index: 1; color: white; }
.bento__overlay-top { top: 1rem; display: flex; justify-content: space-between; align-items: flex-start; gap: 0.5rem; }
.bento__overlay-bottom { bottom: 1rem; }
.bento__live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-pill);
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.bento__live-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-signal-300);
  position: relative;
}
.bento__live-dot::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--c-signal-300);
  animation: ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.bento__meta {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-align: right;
  line-height: 1.4;
}
.bento__pin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.4rem;
}
.bento__caption { font-size: clamp(0.85rem, 1vw, 1rem); font-weight: 600; line-height: 1.3; }
.bento__brackets span {
  position: absolute;
  width: 10px; height: 10px;
  border-color: rgba(255, 255, 255, 0.35);
  border-style: solid;
  z-index: 1;
}
.bento__brackets span:nth-child(1) { top: 6px; left: 6px; border-width: 1px 0 0 1px; }
.bento__brackets span:nth-child(2) { top: 6px; right: 6px; border-width: 1px 1px 0 0; }
.bento__brackets span:nth-child(3) { bottom: 6px; left: 6px; border-width: 0 0 1px 1px; }
.bento__brackets span:nth-child(4) { bottom: 6px; right: 6px; border-width: 0 1px 1px 0; }

/* Blueprint tile */
.bento__tile--blueprint { padding: 0.75rem; display: flex; flex-direction: column; }
.bento__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ash);
}
.bento__blueprint-svg {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0;
}
.bento__blueprint-svg svg { width: 100%; height: 100%; max-width: 110px; }
.bp-flange, .bp-hub {
  fill: none;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: draw 1.8s ease-out forwards;
}
.bp-flange { stroke: var(--c-signal-500); stroke-width: 1; animation-delay: 0.6s; }
.bp-hub { stroke: var(--c-signal-700); stroke-width: 1.2; animation-delay: 1.2s; }
.bp-bolt {
  opacity: 0;
  animation: pop 0.4s ease-out forwards;
}
.bp-bolt:nth-child(4) { animation-delay: 1.8s; }
.bp-bolt:nth-child(5) { animation-delay: 1.88s; }
.bp-bolt:nth-child(6) { animation-delay: 1.96s; }
.bp-bolt:nth-child(7) { animation-delay: 2.04s; }
.bp-bolt:nth-child(8) { animation-delay: 2.12s; }
.bp-bolt:nth-child(9) { animation-delay: 2.20s; }
.bp-dim { opacity: 0; animation: fadein 0.6s ease forwards; animation-delay: 2.5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }
@keyframes fadein { to { opacity: 1; } }

/* Live data tile */
.bento__tile--data { padding: 1rem; display: flex; flex-direction: column; justify-content: space-between; }
.bento__tile--data::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.12) 0.7px, transparent 0.7px);
  background-size: 14px 14px;
  opacity: 0.5;
  pointer-events: none;
}
.bento__data-head, .bento__data-foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.bento__data-status { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--c-ok-soft); }
.bento__data-status-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-ok-soft);
  position: relative;
}
.bento__data-status-dot::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--c-ok-soft);
  animation: ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.bento__data-value {
  position: relative;
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.bento__data-value span { font-size: 0.55em; font-weight: 300; color: rgba(255,255,255,0.7); margin-left: 0.15rem; }
.bento__data-label {
  position: relative;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.4rem;
}
.bento__spark { position: relative; height: 18px; }
.bento__spark svg { width: 100%; height: 100%; }
.bento__spark path {
  stroke: var(--c-signal-300);
  stroke-width: 1.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: draw 2s ease-out forwards;
  animation-delay: 0.8s;
}

/* Ticker tile */
.bento__tile--ticker { display: flex; flex-direction: column; }
.bento__ticker-head, .bento__ticker-foot {
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ash);
}
.bento__ticker-foot { border-top: 1px solid var(--c-line); }
.bento__ticker-foot-new { color: var(--c-signal-600); }
.bento__ticker {
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  min-height: 0;
}
.bento__ticker::before, .bento__ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 48px;
  z-index: 1;
  pointer-events: none;
}
.bento__ticker::before { left: 0; background: linear-gradient(to right, var(--c-ivory), transparent); }
.bento__ticker::after { right: 0; background: linear-gradient(to left, var(--c-ivory), transparent); }
.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--c-charcoal);
}
.ticker-track span::after {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--c-signal-500);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 7 · Stats strip ---------- */
.stats {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-glass);
}
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  background: rgba(255, 255, 255, 0.85);
  padding: clamp(1.25rem, 2vw, 1.75rem);
  position: relative;
}
.stat__num-id {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--c-ash);
}
.stat__value {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}
.stat__label {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-slate);
  line-height: 1.4;
}

/* Hero bottom strip */
.hero__base {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ash);
}
.hero__base-coords { display: flex; gap: 0.6rem; }
@media (max-width: 700px) { .hero__base-coords { display: none; } }

/* ---------- 8 · Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: clamp(7rem, 12vw, 9rem) 0 clamp(3rem, 6vw, 5rem);
  background: linear-gradient(180deg, var(--c-ivory) 0%, var(--c-porcelain) 100%);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--c-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse at center top, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center top, black, transparent 70%);
  pointer-events: none;
}
.page-hero__inner { position: relative; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ash);
  margin-bottom: 1.5rem;
}
.breadcrumb a:hover { color: var(--c-signal-600); }
.breadcrumb-sep { opacity: 0.5; }
.page-hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  letter-spacing: -0.035em;
  line-height: 1;
  max-width: 12ch;
}
.page-hero__desc {
  margin-top: 1.5rem;
  max-width: 60ch;
  color: var(--c-slate);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
}

/* ---------- 9 · Cards (services, industries) ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cards-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards-grid--3 { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--c-platinum);
}
.service-card::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-signal-500), transparent);
  transform: scaleX(0);
  transition: transform 0.4s;
}
.service-card:hover::after { transform: scaleX(1); }
.service-card__id {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--c-ash);
  margin-bottom: 1.25rem;
}
.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--c-mist);
  color: var(--c-signal-600);
  margin-bottom: 1.25rem;
  transition: background 0.3s, color 0.3s;
}
.service-card:hover .service-card__icon { background: var(--c-charcoal); color: var(--c-ivory); }
.service-card__icon svg { width: 22px; height: 22px; }
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  letter-spacing: -0.015em;
}
.service-card p { color: var(--c-slate); font-size: 0.92rem; line-height: 1.5; margin-bottom: 1rem; }
.service-card__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  background: var(--c-mist);
  border-radius: 6px;
  color: var(--c-slate);
}

/* Industry card */
.industries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .industries { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .industries { grid-template-columns: 1fr; } }

.industry-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-charcoal);
  cursor: pointer;
  isolation: isolate;
}
.industry-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  filter: grayscale(0.3);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s;
}
.industry-card:hover img { transform: scale(1.06); filter: grayscale(0); }
.industry-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(11, 15, 26, 0.85));
}
.industry-card__content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  z-index: 1;
  color: white;
}
.industry-card__num {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}
.industry-card h3 {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.industry-card p {
  font-size: 0.85rem;
  opacity: 0.8;
  max-width: 28ch;
}
.industry-card__arrow {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  transition: transform 0.3s, background 0.3s;
}
.industry-card:hover .industry-card__arrow {
  background: white;
  color: var(--c-charcoal);
  transform: translate(2px, -2px);
}

/* ---------- 10 · Process timeline ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  position: relative;
}
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .process { grid-template-columns: 1fr; } }

.process__step {
  position: relative;
  padding: 1.5rem 1rem;
  background: var(--c-ivory);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.process__step:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}
.process__node {
  position: relative;
  width: 36px; height: 36px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--c-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-signal-600);
  border: 1px solid var(--c-platinum);
}
.process__node::after {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-signal-500);
  top: -4px; right: -4px;
  box-shadow: 0 0 0 4px var(--c-ivory);
}
.process__step h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.process__step p { font-size: 0.82rem; color: var(--c-slate); line-height: 1.5; }

/* ---------- 11 · About / story sections ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } }

.story__image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.story__image img {
  width: 100%; height: 100%;
}
.story__floating-card {
  position: absolute;
  bottom: 1.5rem; right: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  font-family: var(--f-mono);
  font-size: 0.7rem;
}
.story__floating-card strong {
  display: block;
  font-family: var(--f-sans);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
  color: var(--c-charcoal);
}
.story__floating-card span { color: var(--c-slate); }
.story__content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.story__content p {
  color: var(--c-slate);
  margin-bottom: 1rem;
  line-height: 1.65;
  font-size: 1.02rem;
}

/* Timeline */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--c-signal-500), var(--c-line));
}
.timeline__item {
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--c-ivory);
  border: 2px solid var(--c-signal-500);
}
.timeline__year {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--c-signal-600);
  margin-bottom: 0.5rem;
}
.timeline__item h4 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.timeline__item p { color: var(--c-slate); font-size: 0.95rem; line-height: 1.6; }

/* Values */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .values { grid-template-columns: 1fr; } }
.value {
  padding: 1.5rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-ivory);
  transition: transform 0.3s, border-color 0.3s;
}
.value:hover { transform: translateY(-4px); border-color: var(--c-signal-300); }
.value__id {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--c-ash);
  margin-bottom: 1rem;
}
.value h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.value p { font-size: 0.9rem; color: var(--c-slate); line-height: 1.5; }

/* ---------- 12 · Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.contact-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--c-ivory);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  margin-bottom: 1rem;
  transition: transform 0.3s, border-color 0.3s;
}
.contact-card:hover { transform: translateX(4px); border-color: var(--c-signal-300); }
.contact-card__icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-mist);
  color: var(--c-signal-600);
  border-radius: var(--r-sm);
}
.contact-card__icon svg { width: 18px; height: 18px; }
.contact-card__label {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ash);
  margin-bottom: 0.3rem;
}
.contact-card strong { font-size: 1rem; font-weight: 600; display: block; margin-bottom: 0.15rem; }
.contact-card p { color: var(--c-slate); font-size: 0.88rem; line-height: 1.45; }

/* Form */
.form {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--sh-glass);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.25rem; position: relative; }
.field label {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-slate);
  margin-bottom: 0.4rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--c-ivory);
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--c-charcoal);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--c-signal-500);
  box-shadow: 0 0 0 4px var(--c-signal-50);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-submit { margin-top: 0.5rem; width: 100%; justify-content: center; }

/* ---------- 13 · CTA strip ---------- */
.cta {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--c-charcoal);
  color: var(--c-ivory);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.cta__inner { position: relative; max-width: 720px; margin-inline: auto; }
.cta h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.cta p { color: rgba(255, 255, 255, 0.7); margin-bottom: 2rem; font-size: 1.05rem; }
.cta .btn--primary { background: var(--c-ivory); color: var(--c-charcoal); }
.cta .btn--primary:hover { background: var(--c-mist); }

/* ---------- 14 · Footer ---------- */
.footer {
  background: var(--c-porcelain);
  border-top: 1px solid var(--c-line);
  padding: 4rem 0 1.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 540px) {
  .footer__grid { grid-template-columns: 1fr; }
}
.footer__brand .nav__logo { margin-bottom: 1rem; }
.footer__tagline { color: var(--c-slate); max-width: 36ch; font-size: 0.92rem; line-height: 1.55; margin-bottom: 1.25rem; }
.footer__contact { font-family: var(--f-mono); font-size: 0.78rem; color: var(--c-slate); }
.footer__contact span { display: block; margin-bottom: 0.2rem; }
.footer__col h5 {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ash);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__col a {
  color: var(--c-graphite);
  font-size: 0.92rem;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--c-signal-600); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--c-ash);
  letter-spacing: 0.1em;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- 15 · Floating WhatsApp ---------- */
.whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 56px; height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: white;
  border-radius: 50%;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.5);
  transition: transform 0.3s;
}
.whatsapp:hover { transform: translateY(-4px) scale(1.05); }
.whatsapp::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  z-index: -1;
}
.whatsapp svg { width: 28px; height: 28px; }

/* ---------- 16 · Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }
.reveal[data-delay="6"] { transition-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
