/* ============================================================
   BLOCINFRA — Smart Manufacturing System Integrator
   Enterprise Design System — LIGHT THEME
   Palette + logo taken from the live blocinfra.com brand system
   (white canvas · navy text · blue accents).
   ============================================================ */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Brand — sourced from blocinfra.com */
  --brand-primary: 215 100% 26%;     /* deep blue  */
  --brand-secondary: 215 95% 16%;    /* navy       */
  --brand-accent: 207 20% 75%;       /* steel      */
  --brand-glow: 215 100% 50%;        /* electric   */

  /* Surfaces — light canvas (matches blocinfra.com) */
  --bg-0: 0 0% 100%;                 /* page base, white   */
  --bg-1: 210 40% 98%;               /* faint section tint */
  --bg-2: 0 0% 100%;                 /* card surface       */
  --bg-3: 213 44% 96%;               /* hover / elevated   */
  --surface-tint: 213 44% 97%;       /* alternate sections */

  /* Text */
  --text-0: 215 75% 14%;             /* primary navy (headings) */
  --text-1: 215 28% 28%;             /* body                    */
  --text-2: 215 16% 46%;             /* muted                   */
  --text-on-dark: 0 0% 100%;         /* text on navy/blue surfaces */

  /* Lines & glass */
  --line: 215 35% 14% / 0.10;
  --line-strong: 215 35% 14% / 0.18;
  --glass: 0 0% 100% / 0.72;

  /* Functional accents (data viz only — never marketing) */
  --ok: 152 58% 40%;
  --warn: 38 92% 48%;
  --risk: 0 72% 52%;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, hsl(215 100% 26%) 0%, hsl(215 95% 16%) 100%);
  --grad-glow: linear-gradient(135deg, hsl(215 100% 50%) 0%, hsl(207 30% 70%) 100%);
  --grad-text: linear-gradient(115deg, hsl(215 95% 16%) 0%, hsl(215 100% 30%) 45%, hsl(215 100% 50%) 100%);
  --grad-mesh: radial-gradient(55% 75% at 12% 8%, hsl(215 100% 50% / 0.12) 0%, transparent 60%),
               radial-gradient(50% 70% at 88% 0%, hsl(213 90% 60% / 0.10) 0%, transparent 55%),
               radial-gradient(70% 85% at 70% 100%, hsl(213 50% 64% / 0.12) 0%, transparent 62%);

  /* Shadow (soft, light-theme) */
  --shadow-card: 0 20px 50px -22px hsl(215 60% 28% / 0.30);
  --shadow-glow: 0 0 0 1px hsl(215 100% 50% / 0.18), 0 22px 55px -20px hsl(215 100% 45% / 0.40);
  --shadow-soft: 0 10px 30px -16px hsl(215 50% 30% / 0.22);

  /* Geometry */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  /* Type */
  --font-display: "Space Grotesk", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--font-body);
  background: hsl(var(--bg-0));
  color: hsl(var(--text-1));
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: hsl(var(--brand-glow) / 0.20); color: hsl(var(--text-0)); }

/* ---------- 3. Layout primitives ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1440px; }
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--light { background: hsl(var(--surface-tint)); }
.divider-grad { height: 1px; background: linear-gradient(90deg, transparent, hsl(var(--brand-glow) / 0.4), transparent); border: 0; }

.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .cols-4 { grid-template-columns: repeat(2, 1fr); } .cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* ---------- 4. Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: hsl(var(--text-0));
  font-size: clamp(2.1rem, 4.8vw, 3.6rem);
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: hsl(var(--text-0)); letter-spacing: -0.02em; line-height: 1.08; }
.h-section { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.h-sub { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.4rem); color: hsl(var(--text-1)); max-width: 60ch; }
.muted { color: hsl(var(--text-2)); }
.text-gradient { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--font-mono); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--font-mono);
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: hsl(215 100% 42%);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: hsl(215 100% 42% / 0.5); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head .lead { margin-top: 18px; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 0.95em 1.6em; border-radius: 999px;
  font-weight: 600; font-size: 0.96rem; letter-spacing: -0.01em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  white-space: nowrap; position: relative; isolation: isolate;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--primary { background: hsl(var(--brand-primary)); color: #fff; box-shadow: var(--shadow-soft); }
.btn--primary:hover { transform: translateY(-2px); background: hsl(var(--brand-secondary)); box-shadow: 0 16px 36px -14px hsl(215 100% 30% / 0.55); }
.btn--ghost { background: #fff; color: hsl(var(--brand-primary)); box-shadow: inset 0 0 0 1px hsl(var(--line-strong)); }
.btn--ghost:hover { background: hsl(var(--bg-3)); transform: translateY(-2px); box-shadow: inset 0 0 0 1px hsl(var(--brand-primary) / 0.35); }
.btn--light { background: hsl(var(--brand-primary)); color: #fff; box-shadow: var(--shadow-soft); }
.btn--light:hover { transform: translateY(-2px); background: hsl(var(--brand-secondary)); }
.btn--lg { padding: 1.1em 2em; font-size: 1.02rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; color: hsl(215 100% 42%); transition: gap 0.3s var(--ease); }
.link-arrow:hover { gap: 0.85em; }

/* ---------- 6. Badges / pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.4em 0.9em; border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.01em;
  background: hsl(var(--brand-glow) / 0.09); color: hsl(215 100% 38%);
  box-shadow: inset 0 0 0 1px hsl(var(--brand-glow) / 0.25);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: hsl(var(--brand-glow)); box-shadow: 0 0 10px hsl(var(--brand-glow) / 0.8); }
.pill { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.45em 0.95em; border-radius: 999px; font-size: 0.85rem; background: hsl(var(--brand-primary) / 0.06); box-shadow: inset 0 0 0 1px hsl(var(--brand-primary) / 0.16); color: hsl(var(--brand-secondary)); font-weight: 500; }

/* ---------- 7. Cards ---------- */
.card {
  position: relative;
  background: hsl(var(--bg-2));
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px hsl(var(--line)), var(--shadow-soft);
  padding: clamp(22px, 2.4vw, 32px);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  overflow: hidden;
}
.card--hover:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px hsl(var(--brand-primary) / 0.18), var(--shadow-card); }
.card--glow::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, hsl(var(--brand-glow) / 0.6), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.card--hover.card--glow:hover::before { opacity: 1; }
/* faint-tint sections keep cards pure white for separation */
.section--light .card { background: #fff; }

.icon-tile {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: hsl(var(--brand-glow) / 0.10);
  box-shadow: inset 0 0 0 1px hsl(var(--brand-glow) / 0.22);
  color: hsl(var(--brand-primary));
  margin-bottom: 18px;
}
.icon-tile svg { width: 26px; height: 26px; }

.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: hsl(var(--text-2)); font-size: 0.96rem; }

/* feature list inside cards */
.feature-list { display: grid; gap: 10px; margin-top: 16px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.94rem; color: hsl(var(--text-1)); }
.feature-list li svg { flex: none; width: 18px; height: 18px; color: hsl(var(--brand-primary)); margin-top: 2px; }

/* ---------- 8. Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s;
}
.site-header.scrolled {
  background: hsl(var(--bg-0) / 0.85);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 hsl(var(--line)), 0 8px 30px -22px hsl(215 50% 30% / 0.4);
}
.nav { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; letter-spacing: -0.02em; color: hsl(var(--text-0)); }
.brand .logo-mark { width: 34px; height: 34px; flex: none; }
.brand b { font-weight: 600; }
.brand span { color: hsl(var(--brand-glow)); }

/* Official Blocinfra logo (from blocinfra.com) */
.brand-logo { height: 38px; width: auto; display: block; }
.brand-logo--light { filter: brightness(0) invert(1); }   /* white lockup, for dark accent surfaces only */
@media (max-width: 540px) { .brand-logo { height: 30px; } }

/* Single-page anchor offset so fixed header never covers a target */
section[id], div[id].anchor { scroll-margin-top: 92px; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav-links > li > a, .nav-links > li > button {
  display: inline-flex; align-items: center; gap: 0.4em;
  padding: 0.6em 0.85em; border-radius: 10px;
  font-size: 0.93rem; font-weight: 500; color: hsl(var(--text-1));
  transition: color 0.25s, background 0.25s;
}
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links > li.open > button { color: hsl(var(--brand-primary)); background: hsl(var(--brand-primary) / 0.06); }
.nav-links .chev { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.nav-links li.open .chev { transform: rotate(180deg); }
.nav-spacer { flex: 1; }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* Mega menu */
.has-mega { position: static; }
.mega {
  position: absolute; left: 50%; top: calc(100% - 6px); transform: translateX(-50%) translateY(8px);
  width: min(960px, calc(100vw - 40px));
  background: hsl(var(--bg-0) / 0.98); backdrop-filter: blur(22px);
  border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px hsl(var(--line)), var(--shadow-card);
  padding: 26px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  z-index: 110;
}
.nav-links li.open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 10px 26px; }
.mega-col h5 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: hsl(var(--text-2)); margin-bottom: 12px; font-weight: 500; }
.mega-item { display: flex; gap: 12px; padding: 11px; border-radius: 12px; transition: background 0.25s; align-items: flex-start; }
.mega-item:hover { background: hsl(var(--brand-primary) / 0.05); }
.mega-item .mi-ico { width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center; background: hsl(var(--brand-glow) / 0.10); color: hsl(var(--brand-primary)); }
.mega-item .mi-ico svg { width: 20px; height: 20px; }
.mega-item strong { display: block; color: hsl(var(--text-0)); font-size: 0.95rem; font-weight: 600; }
.mega-item span { font-size: 0.84rem; color: hsl(var(--text-2)); }
.mega-feature { grid-column: 1 / -1; margin-top: 8px; padding: 18px; border-radius: var(--r-md); background: var(--grad-primary); display: flex; align-items: center; justify-content: space-between; gap: 20px; box-shadow: var(--shadow-soft); }
.mega-feature p { color: hsl(207 50% 88%); font-size: 0.92rem; max-width: 60ch; }
.mega-feature strong { color: #fff; font-family: var(--font-display); }
.mega-feature .link-arrow { color: #fff; }

/* Mobile nav */
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; place-items: center; box-shadow: inset 0 0 0 1px hsl(var(--line-strong)); }
.nav-toggle svg { width: 22px; height: 22px; color: hsl(var(--text-0)); }
.mobile-nav { display: none; }

@media (max-width: 980px) {
  .nav-links, .nav-cta .btn--ghost { display: none; }
  .nav-toggle { display: grid; }
  .mobile-nav {
    display: block; position: fixed; inset: 76px 0 0 0; z-index: 99;
    background: hsl(var(--bg-0));
    padding: 24px var(--gutter) 60px; overflow-y: auto;
    transform: translateX(100%); transition: transform 0.4s var(--ease);
    box-shadow: 0 -1px 0 hsl(var(--line)) inset;
  }
  body.menu-open .mobile-nav { transform: translateX(0); }
  body.menu-open { overflow: hidden; }
  .mobile-nav details { border-bottom: 1px solid hsl(var(--line)); }
  .mobile-nav summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 4px; font-family: var(--font-display); font-size: 1.1rem; color: hsl(var(--text-0)); cursor: pointer; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav details[open] summary .chev { transform: rotate(180deg); }
  .mobile-nav .chev { width: 18px; height: 18px; transition: transform 0.3s; }
  .mobile-nav .sub a { display: block; padding: 11px 4px 11px 16px; color: hsl(var(--text-1)); font-size: 0.98rem; }
  .mobile-nav .m-link { display: block; padding: 18px 4px; font-family: var(--font-display); font-size: 1.1rem; color: hsl(var(--text-0)); border-bottom: 1px solid hsl(var(--line)); }
  .mobile-nav .btn { width: 100%; margin-top: 24px; }
}

/* ---------- 9. Hero ---------- */
.hero { position: relative; padding-top: clamp(120px, 16vh, 180px); padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--grad-mesh); z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% -10%, transparent 55%, hsl(var(--bg-0)) 100%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin: 22px 0 0; }
.hero .lead { margin-top: 22px; }
.hero .btn-row { margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; padding-top: 26px; border-top: 1px solid hsl(var(--line)); }
.hero-proof .pf { display: flex; flex-direction: column; gap: 2px; }
.hero-proof .pf b { font-family: var(--font-display); font-size: 1.02rem; color: hsl(var(--text-0)); }
.hero-proof .pf span { font-size: 0.78rem; color: hsl(var(--text-2)); }

/* animated background grid */
.bg-grid { position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(hsl(var(--brand-primary) / 0.05) 1px, transparent 1px), linear-gradient(90deg, hsl(var(--brand-primary) / 0.05) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(80% 60% at 50% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(80% 60% at 50% 30%, #000, transparent 75%); }

/* ---------- 10. Hero lifecycle visual ---------- */
.lifecycle-orbit { position: relative; aspect-ratio: 1 / 1; }
.hero-stage-card {
  position: relative; background: hsl(var(--bg-0));
  border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px hsl(var(--line)), var(--shadow-card);
  padding: 22px; overflow: hidden;
}
.hero-stage-card .hsc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.hero-flow { display: flex; flex-direction: column; gap: 8px; }
.hero-flow .hf-row { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 12px; background: hsl(var(--bg-1)); box-shadow: inset 0 0 0 1px hsl(var(--line)); transition: all 0.4s var(--ease); }
.hero-flow .hf-row.active { background: hsl(var(--brand-glow) / 0.10); box-shadow: inset 0 0 0 1px hsl(var(--brand-glow) / 0.4); transform: translateX(6px); }
.hero-flow .hf-ico { width: 32px; height: 32px; border-radius: 9px; flex: none; display: grid; place-items: center; background: hsl(var(--brand-primary) / 0.08); color: hsl(var(--brand-primary)); }
.hero-flow .hf-ico svg { width: 17px; height: 17px; }
.hero-flow .hf-row.active .hf-ico { background: hsl(var(--brand-glow)); color: #fff; }
.hero-flow .hf-label { font-size: 0.9rem; font-weight: 500; color: hsl(var(--text-1)); flex: 1; }
.hero-flow .hf-row.active .hf-label { color: hsl(var(--text-0)); }
.hero-flow .hf-tick { width: 16px; height: 16px; color: hsl(var(--brand-glow)); opacity: 0; transition: opacity 0.3s; }
.hero-flow .hf-row.active .hf-tick { opacity: 1; }
.hsc-signals { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.signal { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.04em; padding: 5px 9px; border-radius: 7px; background: hsl(var(--bg-1)); color: hsl(var(--text-2)); box-shadow: inset 0 0 0 1px hsl(var(--line)); }
.signal.live { color: hsl(var(--ok)); box-shadow: inset 0 0 0 1px hsl(var(--ok) / 0.3); }

/* ---------- 11. Marquee (logos / integrations) ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .mq-item { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.95rem; color: hsl(var(--text-2)); letter-spacing: 0.04em; white-space: nowrap; }
.marquee-track .mq-item svg { width: 20px; height: 20px; color: hsl(var(--brand-primary) / 0.85); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 12. Problem section ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 980px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-cell { padding: 22px; border-radius: var(--r-md); background: hsl(var(--bg-0)); box-shadow: inset 0 0 0 1px hsl(var(--line)), var(--shadow-soft); transition: all 0.35s var(--ease); }
.problem-cell:hover { box-shadow: inset 0 0 0 1px hsl(var(--risk) / 0.45), var(--shadow-card); transform: translateY(-4px); }
.problem-cell .pc-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: hsl(var(--risk) / 0.10); color: hsl(var(--risk)); margin-bottom: 14px; }
.problem-cell .pc-ico svg { width: 20px; height: 20px; }
.problem-cell p { color: hsl(var(--text-0)); font-weight: 500; font-size: 0.97rem; }
.closing-statement { margin-top: 48px; text-align: center; max-width: 720px; margin-inline: auto; }
.closing-statement p { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; color: hsl(var(--text-0)); }
.closing-statement p .text-gradient { font-weight: 600; }

/* ---------- 13. Pillars ---------- */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillar-grid { grid-template-columns: 1fr; } }
.pillar { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--r-md); background: hsl(var(--bg-0)); box-shadow: inset 0 0 0 1px hsl(var(--line)), var(--shadow-soft); transition: all 0.35s var(--ease); }
.pillar:hover { box-shadow: inset 0 0 0 1px hsl(var(--brand-primary) / 0.3), var(--shadow-card); transform: translateY(-3px); }
.pillar .p-ico { width: 42px; height: 42px; border-radius: 11px; flex: none; display: grid; place-items: center; background: hsl(var(--brand-glow) / 0.10); color: hsl(var(--brand-primary)); }
.pillar .p-ico svg { width: 21px; height: 21px; }
.pillar span { font-weight: 600; color: hsl(var(--text-0)); font-size: 0.98rem; }

/* "What is" split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.integrate-visual { position: relative; padding: 30px; border-radius: var(--r-lg); background: hsl(var(--bg-0)); box-shadow: inset 0 0 0 1px hsl(var(--line)), var(--shadow-card); }
.integrate-visual .iv-center { text-align: center; padding: 18px; border-radius: var(--r-md); background: var(--grad-primary); box-shadow: var(--shadow-glow); margin: 18px 0; }
.integrate-visual .iv-center b { color: #fff; font-family: var(--font-display); font-size: 1.05rem; }
.integrate-visual .iv-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.integrate-visual .iv-chip { text-align: center; padding: 12px 8px; border-radius: 11px; font-size: 0.78rem; font-family: var(--font-mono); color: hsl(var(--text-1)); background: hsl(var(--bg-1)); box-shadow: inset 0 0 0 1px hsl(var(--line)); }

/* ---------- 14. Lifecycle interactive ---------- */
.lifecycle-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 30px; align-items: start; }
@media (max-width: 900px) { .lifecycle-wrap { grid-template-columns: 1fr; } }
.lc-rail { display: flex; flex-direction: column; gap: 6px; position: relative; }
.lc-rail::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(hsl(var(--brand-primary) / 0.5), hsl(var(--line))); }
.lc-step { display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 14px; text-align: left; width: 100%; position: relative; z-index: 1; transition: background 0.3s var(--ease); }
.lc-step:hover { background: hsl(var(--brand-primary) / 0.05); }
.lc-step .lc-node { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; background: hsl(var(--bg-0)); box-shadow: inset 0 0 0 1px hsl(var(--line-strong)); color: hsl(var(--text-2)); font-family: var(--font-mono); font-size: 0.8rem; transition: all 0.3s var(--ease); }
.lc-step .lc-name { font-weight: 600; color: hsl(var(--text-1)); font-size: 0.96rem; }
.lc-step.active .lc-node { background: hsl(var(--brand-glow)); color: #fff; box-shadow: 0 0 0 4px hsl(var(--brand-glow) / 0.18); }
.lc-step.active .lc-name { color: hsl(var(--text-0)); }
.lc-step .lc-arrow { margin-left: auto; opacity: 0; color: hsl(var(--brand-primary)); transition: opacity 0.3s; }
.lc-step.active .lc-arrow { opacity: 1; }

.lc-panel { position: relative; min-height: 420px; }
.lc-card { display: none; }
.lc-card.active { display: block; animation: fadeUp 0.5s var(--ease); }
.lc-card .lc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.lc-card .lc-head h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.lc-card .lc-stage-tag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: hsl(215 100% 42%); margin-bottom: 8px; display: block; }
.lc-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 620px) { .lc-cols { grid-template-columns: 1fr; } }
.lc-block h6 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: hsl(var(--text-2)); margin-bottom: 12px; }

/* ---------- 15. Departments ---------- */
.dept-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1040px) { .dept-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dept-grid { grid-template-columns: 1fr; } }
.dept-card { cursor: pointer; }
.dept-card .dept-head { display: flex; align-items: center; gap: 12px; }
.dept-card h4 { font-size: 1.08rem; }
.dept-card .dept-plus { margin-left: auto; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: hsl(var(--brand-primary) / 0.08); color: hsl(var(--brand-primary)); transition: transform 0.4s var(--ease); }
.dept-card.open .dept-plus { transform: rotate(45deg); }
.dept-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.dept-body > div { overflow: hidden; }
.dept-card.open .dept-body { grid-template-rows: 1fr; }
.dept-body .feature-list { margin-top: 18px; padding-top: 18px; border-top: 1px solid hsl(var(--line)); }

/* ---------- 16. AI assistants ---------- */
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 940px) { .ai-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ai-grid { grid-template-columns: 1fr; } }
.ai-card { position: relative; }
.ai-card .ai-tag { position: absolute; top: 20px; right: 20px; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; color: hsl(215 100% 42%); padding: 4px 8px; border-radius: 6px; background: hsl(var(--brand-glow) / 0.10); }
.ai-layer-banner { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: var(--r-md); background: hsl(var(--brand-primary) / 0.06); box-shadow: inset 0 0 0 1px hsl(var(--brand-glow) / 0.22); margin-bottom: 30px; }
.ai-layer-banner svg { width: 30px; height: 30px; color: hsl(var(--brand-primary)); flex: none; }
.ai-layer-banner p { color: hsl(var(--text-0)); font-weight: 500; }

/* ---------- 17. Connectivity architecture ---------- */
.arch { position: relative; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-xl); background: radial-gradient(80% 120% at 50% 0%, hsl(var(--brand-glow) / 0.07), transparent 70%), hsl(var(--bg-1)); box-shadow: inset 0 0 0 1px hsl(var(--line)); overflow: hidden; }
.arch-tier { text-align: center; }
.arch-tier-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: hsl(var(--text-2)); margin-bottom: 16px; }
.arch-nodes { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.arch-node { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 20px; border-radius: var(--r-md); background: hsl(var(--bg-0)); box-shadow: inset 0 0 0 1px hsl(var(--line)), var(--shadow-soft); min-width: 96px; transition: all 0.35s var(--ease); }
.arch-node:hover { box-shadow: inset 0 0 0 1px hsl(var(--brand-primary) / 0.35), var(--shadow-card); transform: translateY(-4px); }
.arch-node svg { width: 26px; height: 26px; color: hsl(var(--brand-primary)); }
.arch-node span { font-size: 0.82rem; font-weight: 500; color: hsl(var(--text-1)); }
.arch-connector { height: 56px; display: flex; align-items: center; justify-content: center; position: relative; }
.arch-connector svg { height: 100%; width: 80%; overflow: visible; }
.arch-core { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 22px 30px; border-radius: var(--r-lg); background: var(--grad-primary); box-shadow: var(--shadow-glow); margin-inline: auto; max-width: 460px; }
.arch-core .logo-mark { width: 40px; }
.arch-core b { color: #fff; font-family: var(--font-display); font-size: 1.15rem; }
.arch-core span { color: hsl(207 50% 85%); font-size: 0.86rem; display: block; }
.dash-flow { stroke-dasharray: 5 7; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }

/* ---------- 18. Edge controller ---------- */
.edge-band { background: linear-gradient(180deg, hsl(var(--bg-1)), hsl(var(--bg-0))); }

/* ---------- 19. Track & trace journey ---------- */
.journey { display: flex; flex-wrap: wrap; gap: 0; counter-reset: jstep; align-items: stretch; }
.journey-step { flex: 1 1 150px; position: relative; padding: 24px 20px; }
.journey-step:not(:last-child)::after { content: ""; position: absolute; right: -1px; top: 30%; bottom: 30%; width: 1px; background: hsl(var(--line)); }
.journey-step .js-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: hsl(var(--brand-glow) / 0.10); color: hsl(var(--brand-primary)); font-family: var(--font-mono); margin-bottom: 14px; box-shadow: inset 0 0 0 1px hsl(var(--brand-glow) / 0.3); position: relative; }
.journey-step .js-num::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 hsl(var(--brand-glow) / 0.4); }
.journey-step.pulse .js-num::after { animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 14px transparent; } }
.journey-step h5 { font-size: 1rem; margin-bottom: 6px; }
.journey-step p { font-size: 0.85rem; color: hsl(var(--text-2)); }
@media (max-width: 760px) { .journey-step:not(:last-child)::after { display: none; } .journey-step { flex-basis: 45%; } }

/* QR verify mock */
.verify-mock { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 24px; border-radius: var(--r-lg); background: hsl(var(--bg-1)); box-shadow: inset 0 0 0 1px hsl(var(--line)); }
.qr { width: 110px; height: 110px; border-radius: 14px; background: #fff; padding: 12px; flex: none; box-shadow: var(--shadow-soft); }
.qr svg { width: 100%; height: 100%; }
.verify-rows { display: grid; gap: 10px; }
.verify-rows .vr { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.verify-rows .vr svg { width: 18px; height: 18px; color: hsl(var(--ok)); flex: none; }
.verify-rows .vr b { color: hsl(var(--text-0)); }
@media (max-width: 520px) { .verify-mock { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

/* ---------- 20. Web3 trust ---------- */
.web3-band { position: relative; }
.web3-shield { display: grid; place-items: center; }
.web3-shield svg { width: clamp(180px, 30vw, 280px); height: auto; color: hsl(var(--brand-primary)); filter: drop-shadow(0 12px 40px hsl(var(--brand-glow) / 0.25)); }
.proof-note { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: var(--r-md); background: hsl(var(--brand-glow) / 0.07); box-shadow: inset 0 0 0 1px hsl(var(--brand-glow) / 0.28); }
.proof-note svg { width: 26px; height: 26px; color: hsl(var(--brand-primary)); flex: none; }
.proof-note p { color: hsl(var(--text-0)); font-weight: 500; }

/* ---------- 21. Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 940px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ind-grid { grid-template-columns: 1fr; } }
.ind-card { position: relative; overflow: hidden; }
.ind-card .ind-ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: hsl(var(--brand-glow) / 0.10); color: hsl(var(--brand-primary)); margin-bottom: 16px; }
.ind-card .ind-ico svg { width: 24px; height: 24px; }
.ind-card h4 { font-size: 1.15rem; margin-bottom: 10px; }
.ind-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }

/* ---------- 22. Dashboards preview ---------- */
.dash-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 26px; align-items: start; }
@media (max-width: 880px) { .dash-wrap { grid-template-columns: 1fr; } }
.dash-tabs { display: flex; flex-direction: column; gap: 6px; }
.dash-tab { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; text-align: left; width: 100%; color: hsl(var(--text-1)); transition: all 0.3s var(--ease); }
.dash-tab:hover { background: hsl(var(--brand-primary) / 0.05); }
.dash-tab.active { background: hsl(var(--brand-glow) / 0.10); box-shadow: inset 0 0 0 1px hsl(var(--brand-glow) / 0.3); color: hsl(var(--text-0)); }
.dash-tab svg { width: 20px; height: 20px; flex: none; color: hsl(var(--brand-primary)); }
.dash-tab span { font-weight: 500; font-size: 0.94rem; }

.dash-screen { border-radius: var(--r-lg); background: hsl(var(--bg-0)); box-shadow: inset 0 0 0 1px hsl(var(--line)), var(--shadow-card); overflow: hidden; }
.dash-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid hsl(var(--line)); }
.dash-bar .dots { display: flex; gap: 6px; }
.dash-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: hsl(var(--line-strong)); }
.dash-bar .dash-title { margin-left: 8px; font-family: var(--font-mono); font-size: 0.8rem; color: hsl(var(--text-2)); }
.dash-bar .badge { margin-left: auto; }
.dash-view { display: none; padding: clamp(18px, 2.4vw, 28px); }
.dash-view.active { display: block; animation: fadeUp 0.5s var(--ease); }
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
@media (max-width: 700px) { .kpi-row { grid-template-columns: repeat(2, 1fr); } }
.kpi { padding: 16px; border-radius: 13px; background: hsl(var(--bg-1)); box-shadow: inset 0 0 0 1px hsl(var(--line)); }
.kpi .k-label { font-size: 0.74rem; color: hsl(var(--text-2)); letter-spacing: 0.02em; }
.kpi .k-value { font-family: var(--font-display); font-size: 1.55rem; color: hsl(var(--text-0)); margin-top: 6px; line-height: 1; }
.kpi .k-delta { font-size: 0.74rem; margin-top: 7px; display: inline-flex; align-items: center; gap: 4px; }
.kpi .k-delta.up { color: hsl(var(--ok)); }
.kpi .k-delta.down { color: hsl(var(--risk)); }
.kpi .k-delta.warn { color: hsl(var(--warn)); }

.dash-lower { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
@media (max-width: 700px) { .dash-lower { grid-template-columns: 1fr; } }
.panel { padding: 18px; border-radius: 13px; background: hsl(var(--bg-1)); box-shadow: inset 0 0 0 1px hsl(var(--line)); }
.panel h6 { font-size: 0.86rem; color: hsl(var(--text-1)); margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.panel h6 span { font-family: var(--font-mono); font-size: 0.7rem; color: hsl(var(--text-2)); }

/* mini bar chart */
.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; }
.bars .bar { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(hsl(var(--brand-glow)), hsl(var(--brand-primary))); position: relative; min-height: 6px; transition: height 0.8s var(--ease); }
.bars .bar.mut { background: linear-gradient(hsl(var(--bg-3)), hsl(213 30% 90%)); }
.bars .bar span { position: absolute; bottom: -20px; left: 0; right: 0; text-align: center; font-size: 0.62rem; color: hsl(var(--text-2)); }

/* line/area chart container */
.spark { width: 100%; height: 120px; }
.spark path.area { fill: url(#sparkfill); opacity: 0.5; }
.spark path.line { fill: none; stroke: hsl(var(--brand-glow)); stroke-width: 2.5; }

/* list rows */
.row-list { display: grid; gap: 9px; }
.row-list .rl { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; padding: 9px 11px; border-radius: 9px; background: hsl(var(--bg-0)); box-shadow: inset 0 0 0 1px hsl(var(--line)); }
.row-list .rl .rl-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.row-list .rl .rl-dot.ok { background: hsl(var(--ok)); }
.row-list .rl .rl-dot.warn { background: hsl(var(--warn)); }
.row-list .rl .rl-dot.risk { background: hsl(var(--risk)); }
.row-list .rl b { color: hsl(var(--text-0)); }
.row-list .rl .rl-meta { margin-left: auto; font-family: var(--font-mono); font-size: 0.74rem; color: hsl(var(--text-2)); }

/* donut */
.donut-wrap { display: flex; align-items: center; gap: 18px; }
.donut { width: 110px; height: 110px; flex: none; }
.donut circle { fill: none; stroke-width: 14; }
.donut .track { stroke: hsl(var(--line-strong)); }
.donut .val { stroke: hsl(var(--brand-glow)); stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; }
.donut-center { font-family: var(--font-display); font-size: 1.3rem; fill: hsl(var(--text-0)); }

/* ---------- 23. CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; background: hsl(var(--bg-1)); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--grad-mesh); opacity: 0.9; z-index: 0; }
.cta-band > .container { position: relative; z-index: 1; }
.cta-band .display { margin-inline: auto; max-width: 16ch; }
.cta-band .btn-row { justify-content: center; margin-top: 34px; }

/* ---------- 24. Footer ---------- */
.site-footer { background: hsl(var(--surface-tint)); border-top: 1px solid hsl(var(--line)); padding-top: clamp(56px, 7vw, 90px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 30px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: hsl(var(--text-2)); margin-top: 16px; max-width: 38ch; font-size: 0.92rem; }
.footer-col h6 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: hsl(var(--text-2)); margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; color: hsl(var(--text-1)); font-size: 0.92rem; transition: color 0.25s; }
.footer-col a:hover { color: hsl(var(--brand-primary)); }
.footer-bottom { margin-top: clamp(40px, 5vw, 64px); padding: 26px 0; border-top: 1px solid hsl(var(--line)); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.85rem; color: hsl(var(--text-2)); }
.footer-positioning { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-positioning .pill { font-size: 0.74rem; }

/* ---------- 25. Page hero (interior) ---------- */
.page-hero { position: relative; padding-top: clamp(130px, 18vh, 190px); padding-bottom: clamp(40px, 5vw, 70px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--grad-mesh); opacity: 0.7; z-index: -1; }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); margin-top: 18px; }
.page-hero .lead { margin-top: 20px; }
.breadcrumb { font-family: var(--font-mono); font-size: 0.78rem; color: hsl(var(--text-2)); letter-spacing: 0.05em; }
.breadcrumb a:hover { color: hsl(var(--brand-primary)); }

/* ---------- 26. Forms (contact) ---------- */
.form-card { padding: clamp(26px, 3vw, 40px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 0.84rem; font-weight: 500; color: hsl(var(--text-1)); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85em 1em; border-radius: 12px;
  background: hsl(var(--bg-1)); color: hsl(var(--text-0));
  box-shadow: inset 0 0 0 1px hsl(var(--line-strong)); font: inherit;
  transition: box-shadow 0.25s, background 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1px hsl(var(--brand-glow) / 0.6), 0 0 0 4px hsl(var(--brand-glow) / 0.12); }
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23335' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1em center; }
.form-note { font-size: 0.82rem; color: hsl(var(--text-2)); margin-top: 4px; }
.form-success { display: none; padding: 16px 18px; border-radius: 12px; background: hsl(var(--ok) / 0.10); box-shadow: inset 0 0 0 1px hsl(var(--ok) / 0.35); color: hsl(var(--ok)); margin-bottom: 18px; align-items: center; gap: 10px; }
.form-success.show { display: flex; }

.contact-aside .ca-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid hsl(var(--line)); align-items: center; }
.contact-aside .ca-item svg { width: 22px; height: 22px; color: hsl(var(--brand-primary)); flex: none; }
.contact-aside .ca-item b { color: hsl(var(--text-0)); display: block; font-size: 0.95rem; }
.contact-aside .ca-item span { font-size: 0.88rem; color: hsl(var(--text-2)); }

/* ---------- 27. Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* utilities */
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; }
.center { text-align: center; }
.flex { display: flex; } .items-center { align-items: center; } .gap { gap: 14px; }
.maxw-60 { max-width: 60ch; }
.hide-mobile { } @media (max-width: 700px) { .hide-mobile { display: none !important; } }
.stack-sm { display: grid; gap: 8px; }

/* ============================================================
   28. Photography layer (added)
   ============================================================ */

/* Hero background image — subtle, right-anchored, fades out under the copy */
.hero-photo {
  position: absolute; inset: 0; z-index: -3;
  background: url("../img/hero-bg.jpg") center right / cover no-repeat;
  opacity: 0.22;
  -webkit-mask-image: linear-gradient(95deg, transparent 8%, #000 62%);
  mask-image: linear-gradient(95deg, transparent 8%, #000 62%);
  pointer-events: none;
}
@media (max-width: 940px) { .hero-photo { opacity: 0.12; } }

/* Reusable framed media (edge controller, section visuals) */
.media-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px hsl(var(--line)), var(--shadow-card);
  aspect-ratio: 16 / 11;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.media-frame:hover img { transform: scale(1.04); }

/* Section intro that pairs copy with a supporting image */
.media-intro { margin-bottom: clamp(30px, 4vw, 52px); }

/* Full-width cinematic image band with an overlaid caption */
.media-band {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 21 / 7; box-shadow: inset 0 0 0 1px hsl(var(--line)), var(--shadow-card);
}
.media-band img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-band figcaption {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  gap: 8px; padding: clamp(20px, 4vw, 40px);
  background: linear-gradient(90deg, hsl(215 60% 6% / 0.86) 0%, hsl(215 60% 6% / 0.55) 45%, transparent 80%);
}
.media-band figcaption .eyebrow { color: hsl(var(--brand-glow)); }
.media-band figcaption strong {
  color: #fff; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.05rem, 2.4vw, 1.6rem); max-width: 26ch; line-height: 1.25;
}
@media (max-width: 720px) { .media-band { aspect-ratio: 16 / 11; } }

/* Edge controller — unified split panel: content sizes the panel, photo fills its half edge-to-edge */
.edge-panel {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  background: hsl(var(--bg-0));
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: inset 0 0 0 1px hsl(var(--line)), var(--shadow-card);
}
.edge-content { padding: clamp(32px, 4vw, 60px); display: flex; flex-direction: column; justify-content: center; }
.edge-content .icon-tile { margin: 0 0 20px; }
.edge-content .eyebrow { align-self: flex-start; }
.edge-content .h-section { margin-top: 10px; }
.edge-content .lead { max-width: 48ch; margin-top: 18px; }

.edge-features { display: grid; gap: 13px; margin-top: 30px; }
.edge-features li { display: flex; gap: 12px; align-items: center; font-size: 0.95rem; color: hsl(var(--text-1)); }
.edge-features li svg { flex: none; width: 19px; height: 19px; color: hsl(var(--ok)); }
.edge-content .proof-note { margin-top: 30px; }

.edge-visual { position: relative; min-height: 100%; overflow: hidden; }
.edge-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.edge-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, hsl(var(--bg-0)) 0%, transparent 22%); }
.edge-tag {
  position: absolute; left: 18px; bottom: 18px; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.04em; color: #fff;
  background: hsl(215 60% 6% / 0.55); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px hsl(0 0% 100% / 0.16);
}
.edge-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: hsl(var(--ok)); box-shadow: 0 0 0 0 hsl(var(--ok) / 0.6); animation: pulse 2s var(--ease) infinite; }

@media (max-width: 860px) {
  .edge-panel { grid-template-columns: 1fr; }
  .edge-visual { min-height: 0; height: 300px; order: -1; }
  .edge-visual::after { background: linear-gradient(0deg, hsl(var(--bg-0)) 0%, transparent 30%); }
}
@media (max-width: 460px) { .edge-features { grid-template-columns: 1fr; } }

/* Industries — photographic cards with floating icon badge.
   Flex layout keeps the 7th card centered instead of orphaned. */
.ind-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.ind-grid .ind-card { flex: 0 1 calc(33.333% - 11px); padding: 0; }
@media (max-width: 940px) { .ind-grid .ind-card { flex-basis: calc(50% - 8px); } }
@media (max-width: 560px) { .ind-grid .ind-card { flex-basis: 100%; } }

.ind-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.ind-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.ind-card:hover .ind-media img { transform: scale(1.05); }
.ind-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, hsl(215 75% 14% / 0.05) 35%, hsl(215 75% 14% / 0.45) 100%); }
.ind-card .ind-ico {
  position: absolute; left: 16px; bottom: 16px; z-index: 1; margin: 0;
  background: hsl(var(--bg-0) / 0.92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px hsl(var(--brand-glow) / 0.22), var(--shadow-soft);
}
.ind-body { padding: 20px clamp(18px, 2vw, 24px) clamp(20px, 2.2vw, 26px); }
.ind-body h4 { margin-bottom: 12px; }
