/* ============================================================
   CINOVA — Software & AI
   Flagship design system · white-on-dark · kinetic bento
   Philosophy: bold motion, simple structure, intentional pacing.
   Brand law: pure white-on-dark, no gold on web. Slogan locked.
   ============================================================ */

:root {
  --bg:        #060607;
  --bg-2:      #0a0a0c;
  --surface:   rgba(255,255,255,0.026);
  --surface-2: rgba(255,255,255,0.05);
  --line:      rgba(255,255,255,0.09);
  --line-2:    rgba(255,255,255,0.17);
  --text:      #f6f6f8;
  --muted:     rgba(255,255,255,0.56);
  --dim:       rgba(255,255,255,0.34);
  --accent:    #ffffff;                 /* white only — no gold on web */
  --accent-soft: rgba(255,255,255,0.10);
  --accent-glow: rgba(255,255,255,0.06);

  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Inter Tight", var(--font-body);

  --maxw: 1200px;
  --ease:     cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 74px;
}

/* ---------- reset / base ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Clip horizontal overflow on <html> ONLY — never on <body>. Overflow on the
   body (hidden OR clip) makes iOS Safari and in-app webviews (Instagram,
   Facebook) treat the body as a scroll container, which breaks position:fixed —
   the nav and the progress bar detach and drift down the page mid-scroll.
   Clipping on <html> keeps the viewport as the fixed-positioning anchor, so the
   nav and progress bar stay pinned to the top. */
html { overflow-x: clip; }
/* Entrance fade is PURE CSS — runs on every load with zero JS dependency, so a
   slow or blocked script (flaky mobile, in-app browser) can never leave the page
   stuck invisible. That was the "works on one reload, blank on the next"
   inconsistency. The exit fade (.leaving) is JS-set and degrades to an instant
   navigation if JS doesn't run. */
.anim body   { animation: page-in 0.7s var(--ease) both; }
body.leaving { animation: none; opacity: 0; transition: opacity 0.45s var(--ease); }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
::selection { background: rgba(255,255,255,0.16); color: #fff; }

/* keyboard focus — a crisp ring for keyboard users only; mouse/touch users never see it.
   Premium micro-interaction + accessibility: every interactive element gives feedback. */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible, .brand:focus-visible, .burger:focus-visible { outline-offset: 5px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 30px; }

/* film grain — plain low-opacity layer on its own compositor plane.
   No mix-blend-mode: blending a fixed full-viewport layer forces the whole
   screen to re-composite every scroll frame (visible scroll lag). */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: 0.025; transform: translateZ(0);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* scroll progress (top hairline) — scaleX on a full-width bar: transform-only
   updates stay on the compositor (animating width forces layout every frame) */
.progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; height: 2px; width: 100%; z-index: 9999;
  transform: scaleX(0); transform-origin: left center; will-change: transform;
  background: linear-gradient(90deg, rgba(255,255,255,0.4), #fff); box-shadow: 0 0 12px var(--accent-glow); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: var(--nav-h);
  display: flex; align-items: center; border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  /* Home-screen web-app (standalone) mode: the iOS status bar overlays the page.
     Grow the bar by the top safe-area inset and pad its content down so the
     nav background fills behind the status bar — no bare strip showing the
     page bleeding through above the nav (the "gap bar"). 0 on normal browsers. */
  padding-top: env(safe-area-inset-top, 0px);
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
}
.nav.scrolled {
  background: rgba(6,6,7,0.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
/* In-app browsers (Instagram/Facebook) and some webviews don't support
   backdrop-filter. Without the blur, a translucent nav lets the bold hero text
   bleed straight through and read as a glitchy overlap. Where blur is missing,
   fall back to a near-solid bar so the nav is always clean over content. */
@supports not ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  .nav.scrolled { background: rgba(6,6,7,0.98); }
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; }
.brand {
  font-family: var(--font-display); font-weight: 700; font-size: 1.16rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.brand .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text);
  box-shadow: 0 0 0 0 rgba(255,255,255,0.5); animation: pulse 3.2s var(--ease) infinite; }
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(255,255,255,0.28);} 50%{ box-shadow: 0 0 0 5px rgba(255,255,255,0);} }
.nav-links { display: flex; align-items: center; gap: 2.1rem; }
.nav-links a { font-size: 0.9rem; color: var(--muted); position: relative; transition: color 0.25s var(--ease); }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-7px; height:1px; width:0; background: var(--text); transition: width 0.32s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 1.1rem; }
.brand-logo { height: 17px; width: auto; display: block; }
.nav .btn { padding: 0.58rem 1.15rem; font-size: 0.85rem; }
.nav-login { font-size: 0.85rem; font-weight: 600; color: var(--text); white-space: nowrap;
  padding: 0.58rem 1.15rem; border: 1px solid var(--line-2); border-radius: 100px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease); }
.nav-login:hover { background: var(--surface-2); border-color: var(--text); }

.burger { display: none; width: 30px; height: 16px; position: relative; z-index: 210; }
.burger span { position: absolute; left: 0; height: 1.6px; width: 100%; background: var(--text); transition: transform 0.4s var(--ease), opacity 0.25s var(--ease); }
.burger span:nth-child(1){ top: 0; }
.burger span:nth-child(2){ top: 50%; transform: translateY(-50%); }
.burger span:nth-child(3){ bottom: 0; }
body.menu-open .burger span:nth-child(1){ top:50%; transform: translateY(-50%) rotate(45deg); }
body.menu-open .burger span:nth-child(2){ opacity: 0; }
body.menu-open .burger span:nth-child(3){ bottom:auto; top:50%; transform: translateY(-50%) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 190; background: var(--bg);
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
  opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0.45s; }
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; letter-spacing: -0.02em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.94rem; font-weight: 600;
  padding: 0.92rem 1.5rem; border-radius: 100px; white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease); }
.btn svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.btn-primary { background: var(--text); color: #07070a; }
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--text); transform: translateY(-2px); }
.mag { will-change: transform; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; padding: calc(var(--nav-h) + 2rem) 0 3rem; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; filter: grayscale(1) contrast(1.04); }
.hero-bg::after { content:""; position:absolute; inset:0; background:
  radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,0.04), transparent 55%),
  linear-gradient(180deg, rgba(6,6,7,0.28), rgba(6,6,7,0.46) 66%, var(--bg) 97%); }
.hero-blocks { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-block { position: absolute; border: 1px solid var(--line-2); border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
  opacity: 0; transition: opacity 1.2s var(--ease-out); will-change: transform; }
.hero-block.in { opacity: var(--o, 0.5); }

.hero-inner { position: relative; z-index: 2; }
.hero .eyebrow { margin-bottom: 1.8rem; }
.hero h1 { font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.7rem, 6.6vw, 6.4rem); line-height: 1.06; letter-spacing: -0.038em; max-width: 16ch; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.1em; }
.hero h1 .ln > span { display: inline-block; transition: transform 1s var(--ease-out); }
.anim .hero h1 .ln > span { transform: translateY(110%); }
.hero.ready h1 .ln:nth-child(1) > span { transition-delay: 0.05s; transform: none; }
.hero.ready h1 .ln:nth-child(2) > span { transition-delay: 0.14s; transform: none; }
.hero.ready h1 .ln:nth-child(3) > span { transition-delay: 0.23s; transform: none; }
.hero .sub { margin-top: 2rem; max-width: 46ch; font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--muted);
  transition: opacity 0.9s var(--ease-out) 0.5s, transform 0.9s var(--ease-out) 0.5s; }
.anim .hero .sub { opacity: 0; transform: translateY(16px); }
.hero.ready .sub { opacity: 1; transform: none; }
.hero .hero-actions { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 0.9rem;
  transition: opacity 0.9s var(--ease-out) 0.66s, transform 0.9s var(--ease-out) 0.66s; }
.anim .hero .hero-actions { opacity: 0; transform: translateY(16px); }
.hero.ready .hero-actions { opacity: 1; transform: none; }

/* stats are a scroll reveal (.reveal in markup) — they fade in when reached,
   not on a load timer that finishes before anyone scrolls to them */
.hero-stats { margin-top: clamp(3.6rem, 7vw, 6rem); display: flex; flex-wrap: wrap; gap: clamp(2.4rem, 6vw, 5rem); }
.stat .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.7rem); letter-spacing: -0.03em; }
.stat .l { margin-top: 0.3rem; font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }

.scroll-cue { position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim);
  transition: opacity 0.8s var(--ease) 1s; }
.anim .scroll-cue { opacity: 0; }
.hero.ready .scroll-cue { opacity: 1; }
.scroll-cue .line { width: 1px; height: 40px; background: linear-gradient(var(--dim), transparent); position: relative; overflow: hidden; }
.scroll-cue .line::after { content:""; position:absolute; top:0; left:0; width:100%; height:42%; background: var(--text); animation: scrolldown 2.2s var(--ease) infinite; }
@keyframes scrolldown { 0%{ transform: translateY(-100%);} 60%,100%{ transform: translateY(250%);} }

/* ---------- sections ---------- */
.section { padding: clamp(8rem, 15vw, 13.5rem) 0; position: relative; }
.eyebrow { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--dim);
  display: inline-flex; align-items: center; gap: 0.7rem; }
.eyebrow::before { content:""; width: 28px; height: 1px; background: var(--line-2); }
.section-head { margin-bottom: clamp(4rem, 7vw, 5.8rem); max-width: 720px; }
.section-head h2 { font-family: var(--font-display); font-weight: 700; margin-top: 1.1rem;
  font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -0.035em; line-height: 1.02; }
.section-head p { margin-top: 1.1rem; color: var(--muted); font-size: 1.04rem; max-width: 54ch; }

/* ---------- marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2.1rem 0; overflow: hidden; }
.marquee-track { display: flex; gap: 4.4rem; width: max-content; animation: marq 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 2.1vw, 1.7rem);
  letter-spacing: -0.02em; color: var(--dim); display: inline-flex; align-items: center; gap: 4.4rem; white-space: nowrap; }
.marquee-track span::after { content:"✦"; font-size: 0.7em; color: var(--line-2); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- client logo wall ---------- */
.logos { text-align: center; }
.logos-label { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--dim); margin-bottom: clamp(2.4rem, 4.5vw, 3.4rem); }
.logos-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(2.4rem, 5vw, 4.4rem) clamp(2.6rem, 5.5vw, 5rem); }
.logos-grid a { display: inline-flex; align-items: center; }
.logos-grid img { max-height: clamp(30px, 3.6vw, 40px); max-width: clamp(112px, 13vw, 160px); width: auto; height: auto; object-fit: contain;
  opacity: 0.9; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.logos-grid a:hover img, .logos-grid img:hover { opacity: 1; transform: translateY(-3px); }

/* ---------- BENTO (random blocks) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px; grid-auto-flow: dense; }
.tile { position: relative; border: 1px solid var(--line); border-radius: 20px; background: var(--surface);
  padding: clamp(1.9rem, 2.9vw, 2.8rem); overflow: hidden; min-height: 256px;
  display: flex; flex-direction: column; transition: border-color 0.45s var(--ease), background 0.45s var(--ease), transform 0.18s var(--ease-out);
  transform: perspective(900px) rotateX(var(--rx,0)) rotateY(var(--ry,0)); transform-style: preserve-3d; will-change: transform; }
.tile::before { content:""; position:absolute; inset:0; border-radius:18px; opacity:0; transition: opacity 0.5s var(--ease);
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(255,255,255,0.08), transparent 60%); }
.tile:hover { border-color: var(--line-2); background: var(--surface-2); }
.tile:hover::before { opacity: 1; }
.tile .tile-ico { width: 50px; height: 50px; border-radius: 14px; border: 1px solid var(--line-2); display: grid; place-items: center; margin-bottom: auto; }
.tile .tile-ico svg { width: 23px; height: 23px; color: var(--text); }
.tile h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.3vw, 1.85rem); letter-spacing: -0.025em; margin-top: 1.9rem; }
.tile p { color: var(--muted); margin-top: 0.85rem; font-size: 0.96rem; line-height: 1.6; }
.tile .tile-link { margin-top: 1.3rem; display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.88rem; font-weight: 600; color: var(--text); }
.tile .tile-link svg { width: 15px; height: 15px; transition: transform 0.35s var(--ease); }
.tile:hover .tile-link svg { transform: translateX(4px); }
/* spans */
.tile.w3 { grid-column: span 3; } .tile.w2 { grid-column: span 2; } .tile.w4 { grid-column: span 4; }
.tile.w6 { grid-column: span 6; } .tile.h2 { grid-row: span 2; }
.tile-feature { justify-content: flex-end; background: linear-gradient(155deg, rgba(255,255,255,0.07), var(--surface)); }
.tile-stat { align-items: flex-start; justify-content: center; text-align: left; }
.tile-stat .big { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 4rem); letter-spacing: -0.04em; line-height: 1; }
.tile-stat .lbl { color: var(--muted); margin-top: 0.6rem; font-size: 0.92rem; }
.tile-cta { background: var(--text); color: #07070a; justify-content: center; align-items: flex-start; }
.tile-cta h3, .tile-cta p { color: #07070a; }
.tile-cta p { opacity: 0.7; }
.tile-cta .tile-link { color: #07070a; }
.tile-quote .q { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.3; }
.tile-quote .by { margin-top: auto; padding-top: 1.4rem; font-size: 0.86rem; color: var(--dim); }

/* ---------- value props ---------- */
.props { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
/* leadership headshots (about page) */
.lead-photo { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; margin-bottom: 1.1rem;
  border: 1px solid var(--line-2); box-shadow: 0 8px 28px -8px rgba(0,0,0,0.7), 0 0 0 4px rgba(255,255,255,0.03); }

/* founder / personal-brand hero card (about page) — full-screen replica of
   the lachyblake.com About hero. Full-bleed (no card), Cinova fonts, faded
   into the page at TOP and BOTTOM; the whole image is the link. */
.founder-sec { position: relative; }
.founder-hero { position: relative; display: block; overflow: hidden;
  width: 100%; min-height: clamp(560px, 96vh, 1080px); }
.fh-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
  transition: transform 1.2s var(--ease-out); }
.founder-hero:hover .fh-bg { transform: scale(1.03); }
/* fade the photo into the page background at both edges so there's no seam */
.fh-grad { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, var(--bg) 0%, rgba(6,6,7,0) 22%, rgba(6,6,7,0) 50%,
    rgba(6,6,7,0.6) 80%, var(--bg) 100%); }
.fh-content { position: absolute; left: 0; right: 0; bottom: clamp(3rem, 9vh, 7rem);
  display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
  max-width: var(--maxw); margin: 0 auto; padding: 0 30px; }
@font-face { font-family: "Azonix"; src: url("../assets/fonts/Azonix.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap; }
.fh-name { font-family: "Azonix", var(--font-display); font-weight: 400; text-transform: uppercase;
  letter-spacing: 0.06em; line-height: 1.05; font-size: clamp(2.2rem, 6.4vw, 5rem); }
.fh-sub { color: var(--muted); font-size: 1.08rem; max-width: 54ch; }
.fh-btn { margin-top: 0.6rem; background: rgba(6,6,7,0.4); }
.founder-hero:hover .fh-btn { background: var(--surface-2); border-color: var(--text); }
.founder-hero:hover .fh-btn svg { transform: translateX(4px); }
@media (max-width: 640px) { .founder-hero { min-height: 82vh; } .fh-content { padding: 0 22px; } }
.prop { border: 1px solid var(--line); border-radius: 18px; padding: clamp(2rem, 2.8vw, 2.8rem); background: var(--surface);
  transition: border-color 0.45s var(--ease), background 0.45s var(--ease); }
.prop:hover { border-color: var(--line-2); background: var(--surface-2); }
.prop .pico { width: 34px; height: 34px; color: var(--text); }
.prop h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: -0.02em; margin-top: 1.3rem; }
.prop p { color: var(--muted); margin-top: 0.7rem; font-size: 0.96rem; }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; border-top: 1px solid var(--line); }
.step { padding: 2.4rem 0 0; border-top: 2px solid transparent; transition: border-color 0.5s var(--ease); }
.step:hover { border-top-color: var(--text); }
.step .num { font-family: var(--font-display); font-size: 0.9rem; color: var(--dim); }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; margin-top: 1.2rem; }
.step p { color: var(--muted); margin-top: 0.7rem; font-size: 0.94rem; max-width: 30ch; }

/* ---------- service detail rows ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; padding: clamp(4.5rem,8vw,7rem) 0; border-top: 1px solid var(--line); }
.svc:nth-child(even) .svc-text { order: 2; }
.svc-text .eyebrow { margin-bottom: 1.2rem; }
.svc-text h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.05; }
.svc-text p { color: var(--muted); margin-top: 1.2rem; font-size: 1.02rem; max-width: 50ch; }
.svc-list { display: grid; gap: 1rem; }
.svc-list .row { display: flex; align-items: center; gap: 1rem; padding: 1.05rem 1.2rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), transform 0.4s var(--ease); }
.svc-list .row:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateX(5px); }
.svc-list .row .ic { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); display: grid; place-items: center; flex-shrink: 0; }
.svc-list .row .ic svg { width: 18px; height: 18px; color: var(--text); }
.svc-list .row span { font-size: 0.96rem; color: var(--muted); }

/* ---------- work / case studies ---------- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px,1fr)); gap: 26px; }
.work-card { position: relative; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); padding: clamp(2.1rem,3vw,2.8rem); overflow: hidden;
  transition: border-color 0.45s var(--ease), background 0.45s var(--ease), transform 0.45s var(--ease); display: flex; flex-direction: column; }
.work-card:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateY(-5px); }
.work-card .tag { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.work-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.025em; margin-top: 1rem; }
.work-card p { color: var(--muted); margin-top: 0.8rem; font-size: 0.96rem; }
.work-card .outcome { margin-top: 1.4rem; padding-top: 1.3rem; border-top: 1px solid var(--line); display: flex; gap: 1.6rem; }
.work-card .outcome .o .n { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.03em; }
.work-card .outcome .o .t { font-size: 0.78rem; color: var(--dim); margin-top: 0.2rem; }

/* ---------- big CTA ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -0.04em; line-height: 1; }
.cta-band h2 .dim { color: var(--dim); }
.cta-band p { color: var(--muted); margin: 1.6rem auto 0; max-width: 44ch; font-size: 1.06rem; }
.cta-band .hero-actions { justify-content: center; margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- forms ---------- */
.form { display: grid; gap: 1.1rem; max-width: 620px; }
.field { display: grid; gap: 0.5rem; }
.field label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.field input, .field textarea, .field select { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.95rem 1.1rem; color: var(--text); font: inherit; font-size: 0.98rem; transition: border-color 0.3s var(--ease), background 0.3s var(--ease); }
.field textarea { min-height: 140px; resize: vertical; }
.field input { padding-right: 2.6rem; }   /* reserve space for the valid-state check (no reflow) */
/* dropdowns run tighter than text inputs natively — give them more room */
.field select { padding-top: 1.2rem; padding-bottom: 1.2rem; min-height: 3.7rem; line-height: 1.4; cursor: pointer; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--text); background-color: var(--surface-2); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline-offset: 2px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
/* gentle confirmation once a required field is filled correctly — peak-end delight.
   Scoped to :required so optional fields (Company, Phone) never false-confirm; :user-valid
   only fires after the visitor interacts, so nothing lights up on load. */
.field input:required:user-valid,
.field textarea:required:user-valid,
.field select:required:user-valid { border-color: rgba(255,255,255,0.30); }
.field input:required:user-valid {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f6f6f8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 15px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.honey { position: absolute; left: -9999px; }
.form-aside { border: 1px solid var(--line); border-radius: 16px; padding: 1.8rem; background: var(--surface); }
.form-aside h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.form-aside p { color: var(--muted); font-size: 0.94rem; margin-top: 0.6rem; }
.form-aside .line { display: flex; align-items: center; gap: 0.7rem; margin-top: 1rem; font-size: 0.92rem; color: var(--muted); }
.form-aside .line svg { width: 17px; height: 17px; color: var(--text); flex-shrink: 0; }

/* ---------- testimonials / case studies ---------- */
.tm-video { position: relative; max-width: 940px; margin: clamp(1rem,3vw,2rem) auto 0; aspect-ratio: 16/9;
  border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; background: var(--bg-2);
  box-shadow: 0 40px 120px -34px rgba(0,0,0,0.9), 0 0 110px -20px rgba(255,255,255,0.08); }
.tm-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* balanced masonry: JS packs cards into the shortest column so both columns
   end evenly at the bottom (CSS columns left one side short). Flex fallback
   before JS runs / on no-JS: even single-pass columns. */
.tm-grid { display: flex; gap: 1.4rem; align-items: flex-start; margin-top: clamp(2rem,4vw,3rem); }
.tm-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 1.4rem; }
.tm-grid:not(.balanced) { flex-wrap: wrap; }            /* pre-JS: cards wrap */
.tm-grid:not(.balanced) .tm-card { flex: 1 1 360px; }
.tm-card { border: 1px solid var(--line); border-radius: 16px;
  padding: 1.6rem 1.5rem; background: var(--surface); transition: border-color 0.4s var(--ease), background 0.4s var(--ease), transform 0.45s var(--ease);
  transform: translateZ(0); }
.tm-card:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateY(-4px); }
.tm-stars { display: flex; gap: 3px; margin-bottom: 0.9rem; }
.tm-stars svg { width: 15px; height: 15px; fill: var(--text); }
.tm-quote { color: rgba(255,255,255,0.82); font-size: 0.96rem; line-height: 1.62; }
.tm-by { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--line);
  color: inherit; text-decoration: none; }
.tm-avatar { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; object-fit: cover; object-position: 50% 28%;
  background: var(--surface-2); border: 1px solid var(--line-2); transition: border-color 0.3s var(--ease); }
a.tm-by:hover .tm-avatar { border-color: var(--text); }
a.tm-by:hover .tm-name { text-decoration: underline; text-underline-offset: 3px; }
.tm-link-ic { width: 15px; height: 15px; margin-left: auto; flex-shrink: 0; color: var(--dim); transition: color 0.3s var(--ease); }
a.tm-by:hover .tm-link-ic { color: var(--text); }
.tm-name { font-weight: 600; font-size: 0.92rem; }
.tm-role { color: var(--dim); font-size: 0.8rem; margin-top: 0.1rem; }
@media (max-width: 760px) { .tm-grid { flex-direction: column; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--nav-h) + clamp(4.5rem,10vw,8rem)) 0 clamp(2.5rem,5vw,4rem); position: relative; overflow: hidden; }
.page-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.8rem, 8vw, 6.2rem); letter-spacing: -0.04em; line-height: 0.96; margin-top: 1.3rem; }
.page-hero p { color: var(--muted); margin-top: 1.4rem; max-width: 54ch; font-size: 1.08rem; }

/* ---------- footer (approved master footer) ---------- */
.footer { border-top: 1px solid var(--line); padding-top: clamp(3.2rem, 6vw, 5rem); }
.footer-mark { opacity: 0.32; margin-bottom: clamp(2.4rem, 5vw, 3.4rem); }
.footer-mark img { height: 14px; width: auto; }
.footer-slogan { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.04em; line-height: 0.96;
  font-size: clamp(2.6rem, 9.5vw, 6.4rem); padding-bottom: clamp(2.6rem, 5vw, 3.6rem); }
.footer-slogan .dim { color: rgba(255,255,255,0.26); }
.footer-rule { height: 1px; background: var(--line); border: 0; }
.footer-contacts { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; padding: clamp(2.6rem, 5vw, 3.6rem) 0; }
.footer-contact-label { font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--dim); margin-bottom: 1.1rem; }
.footer-contact-logo { height: 19px; width: auto; margin-bottom: 1.1rem; }
.footer-entity { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; }
.footer-entity-locale { color: var(--muted); font-size: 0.9rem; margin-top: 0.4rem; }
.au-badge { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 0.4rem; }
.footer-contact-name { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; }
.footer-contact-role { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin: 0.25rem 0 0.7rem; }
.footer-contact-links a { display: block; color: var(--muted); font-size: 0.9rem; padding: 0.16rem 0; transition: color 0.25s var(--ease); }
.footer-contact-links a:hover { color: var(--text); }
.footer-cta-wrap { display: flex; justify-content: center; padding: clamp(0.5rem, 2vw, 1.5rem) 0 clamp(2rem,4vw,3rem); }
.footer-visit { display: inline-flex; align-items: center; gap: 0.55rem; border: 1px solid var(--line-2); border-radius: 100px;
  padding: 0.85rem 1.6rem; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text);
  transition: background 0.35s var(--ease), transform 0.35s var(--ease); }
.footer-visit svg { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.footer-visit:hover { background: var(--surface-2); transform: translateY(-2px); }
.footer-visit:hover svg { transform: translateX(3px); }
.footer-follow { text-align: center; padding-top: clamp(2.6rem, 5vw, 3.8rem); }
.footer-follow-label { font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--dim); margin-bottom: 1.1rem; }
.footer-socials { display: flex; justify-content: center; gap: 0.7rem; }
.footer-socials a { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease); }
.footer-socials a svg { width: 17px; height: 17px; }
.footer-socials a:hover { background: var(--surface-2); border-color: var(--line-2); transform: translateY(-3px); }
.footer-fineprint { border-top: 1px solid var(--line); margin-top: clamp(2.6rem, 5vw, 3.6rem); padding: 1.6rem 0 3rem;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.6rem 1rem; font-size: 0.8rem; color: var(--dim); }
.fp-slogan { justify-self: start; letter-spacing: 0.02em; }   /* "Where New Begins" — left */
.fp-legal  { justify-self: end; }                             /* © … All rights reserved. — right */
.fp-sep { color: var(--line-2); margin: 0 0.5rem; }
/* footer cross — Christian mark, centered in line with the row (mirrors lachyblake.com) */
.footer-cross { justify-self: center; display: inline-flex; align-items: center; justify-content: center; }
.footer-cross svg { width: 28px; height: 28px; color: var(--text);
  filter: drop-shadow(0 0 11px rgba(255,255,255,0.5)) drop-shadow(0 0 24px rgba(255,255,255,0.18)); }
@media (max-width: 560px) {
  .footer-fineprint { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 0.9rem; }
  .fp-slogan, .fp-legal, .footer-cross { justify-self: center; }
  .footer-cross { order: -1; }   /* cross first when stacked on mobile */
}

/* ---------- reveal ---------- */
.reveal { transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.anim .reveal { opacity: 0; transform: translateY(30px);
  /* fail-open safety net: reveal after 2.5s so content can never stick invisible
     if main.js is slow or blocked. */
  animation: reveal-failopen 0.5s var(--ease-out) 2.5s forwards; }
/* main.js adds html.js-ok the instant it runs. PAUSE (never remove) the
   fail-open for not-yet-revealed elements: pausing during the 2.5s delay keeps
   them hidden for normal scroll-reveal, and pausing a fail-open that ALREADY
   fired (main.js arrived late on a slow connection) freezes it at opacity:1 —
   so revealed content can never flash in then vanish. Removing the animation
   instead would drop the `forwards` fill and rehide it. */
html.js-ok .reveal:not(.in) { animation-play-state: paused; }
.reveal.in { opacity: 1; transform: none; }
@keyframes reveal-failopen { to { opacity: 1; transform: none; } }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; } .reveal.d4 { transition-delay: 0.32s; } .reveal.d5 { transition-delay: 0.4s; }
/* phones: a touch slower + a slight beat before each fade, so the reveal is felt */
@media (max-width: 768px) {
  .reveal { transition-duration: 1.05s; transition-delay: 0.07s; }
  .reveal.d1 { transition-delay: 0.14s; } .reveal.d2 { transition-delay: 0.2s; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile.w2,.tile.w3,.tile.w4,.tile.w6 { grid-column: span 2; } .tile.h2 { grid-row: auto; }
  .steps { grid-template-columns: repeat(2,1fr); }
  .svc { grid-template-columns: 1fr; }
  .svc:nth-child(even) .svc-text { order: 0; }
  .footer-contacts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-links, .nav-cta .btn { display: none; }
  .burger { display: block; }
  .contact-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 22px; }
  .bento, .props { grid-template-columns: 1fr; }
  .tile.w2,.tile.w3,.tile.w4,.tile.w6 { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-contacts { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.6rem); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  body { opacity: 1 !important; }
  .reveal, .hero h1 .ln > span, .hero .sub, .hero .hero-actions, .hero-stats, .hero-showcase { opacity: 1 !important; transform: none !important; }
  .hero-block { opacity: var(--o,0.4) !important; }
  .tile { transform: none !important; }
}

/* ============================================================
   HOMEPAGE — auto-playing platform showcase + industries + compare
   Added 2026-06-11. White-on-dark, no gold. Platform scoped to .pf.
   ============================================================ */
/* min-width:0 — .hero is a column flex container, so without it this item
   refuses to shrink below the dashboard's intrinsic width and blows out on
   mobile (flexbox min-width:auto). width:100% keeps it centred via margin. */
.hero-showcase { position: relative; width: 100%; min-width: 0; max-width: 1000px;
  margin: clamp(2.2rem,4vw,3.4rem) auto 0; padding: 0 16px;
  /* part of the on-load hero sequence — fades in automatically after the copy,
     no scrolling required (dashboard + glimpse note included) */
  transition: opacity 1s var(--ease-out) 0.6s, transform 1s var(--ease-out) 0.6s; }
.anim .hero-showcase { opacity: 0; transform: translateY(26px); }
.hero.ready .hero-showcase { opacity: 1; transform: none; }
/* illumination behind + around the whole frame — the Aurix "light around it" */
.hero-showcase::before { content:""; position:absolute; inset:-90px -4% -40px -4%; z-index:0; pointer-events:none;
  background: radial-gradient(56% 52% at 50% 22%, rgba(255,255,255,0.34), rgba(255,255,255,0.08) 46%, transparent 72%);
  filter: blur(58px); transform: translateZ(0); }
/* the bright backlight wrapping the top edge of the dashboard */
.hero-showcase::after { content:""; position:absolute; left:50%; top:-46px; transform:translateX(-50%) translateZ(0);
  width:80%; height:200px; border-radius:50%; z-index:0; pointer-events:none;
  background: radial-gradient(ellipse 60% 70% at center, rgba(255,255,255,0.62), rgba(255,255,255,0.18) 42%, transparent 72%);
  filter: blur(42px); }
.pf { --ok:#4ade80; --warn:#fbbf24; --bad:#f87171;
  position:relative; z-index:1; border:1px solid var(--line-2); border-radius:16px; overflow:hidden;
  background: linear-gradient(180deg,#0c0c0f,#08080a);
  box-shadow: 0 44px 140px -26px rgba(0,0,0,0.92), 0 0 130px -10px rgba(255,255,255,0.17), inset 0 1px 0 rgba(255,255,255,0.10);
  /* the frame dissolves into the page at its base — Aurix fade-to-nothing */
  -webkit-mask-image: linear-gradient(180deg, #000 60%, rgba(0,0,0,0.55) 80%, transparent 98%);
          mask-image: linear-gradient(180deg, #000 60%, rgba(0,0,0,0.55) 80%, transparent 98%); }
/* bright top rim light + glowing top corners along the frame edge */
.pf::before { content:""; position:absolute; top:-1px; left:4%; right:4%; height:2px; z-index:6; pointer-events:none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9) 35%, rgba(255,255,255,0.9) 65%, transparent);
  filter: blur(0.4px); }
.pf-bar { display:flex; align-items:center; gap:.5rem; padding:.7rem 1rem; border-bottom:1px solid var(--line); background:rgba(255,255,255,0.02); }
.pf-dots { display:flex; gap:6px; } .pf-dots i { width:10px; height:10px; border-radius:50%; background:rgba(255,255,255,0.14); }
.pf-title { font-size:.74rem; color:var(--dim); margin-left:.6rem; }
.pf-live { margin-left:auto; display:flex; align-items:center; gap:.4rem; font-size:.66rem; color:var(--muted); }
.pf-live .d { width:6px; height:6px; border-radius:50%; background:var(--ok); animation: pf-pulse 2s infinite; }
@keyframes pf-pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
.pf-app { display:grid; grid-template-columns:182px 1fr; }
.pf-side { border-right:1px solid var(--line); padding:.9rem .7rem; background:rgba(255,255,255,0.012); }
.pf-brand { display:flex; align-items:center; gap:.5rem; padding:.3rem .5rem .9rem; font-weight:700; font-size:.82rem; }
.pf-brand .sq { width:18px; height:18px; border-radius:5px; background:linear-gradient(135deg,#fff,#9ca3af); }
.pf-nav { display:flex; align-items:center; gap:.6rem; padding:.5rem .6rem; border-radius:8px; font-size:.78rem; color:var(--muted); margin-bottom:2px; transition: all .35s var(--ease); }
.pf-nav svg { width:15px; height:15px; opacity:.8; }
.pf-nav.on { background:var(--surface-2); color:var(--text); } .pf-nav.on svg { opacity:1; }
.pf-grp { font-size:.6rem; letter-spacing:.16em; text-transform:uppercase; color:var(--dim); padding:.9rem .6rem .4rem; }
.pf-main { position:relative; padding:1.1rem 1.3rem; }
.pf-screen { display:none; } .pf-screen.on { display:block; }
.pf-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:1rem; }
.pf-head h3 { font-family:var(--font-display); font-size:1.05rem; font-weight:700; letter-spacing:-.02em; }
.pf-head .meta { font-size:.7rem; color:var(--dim); }
.pf-kpis { display:grid; grid-template-columns:repeat(4,1fr); gap:.7rem; }
.pf-kpi { border:1px solid var(--line); border-radius:11px; padding:.8rem .85rem; background:var(--surface); }
.pf-kpi .l { font-size:.62rem; letter-spacing:.1em; text-transform:uppercase; color:var(--dim); }
.pf-kpi .v { font-family:var(--font-display); font-size:1.5rem; font-weight:700; margin-top:.35rem; letter-spacing:-.02em; }
.pf-kpi .d { font-size:.66rem; margin-top:.2rem; color:var(--ok); }
.pf-row2 { display:grid; grid-template-columns:1.5fr 1fr; gap:.7rem; margin-top:.7rem; }
.pf-card { border:1px solid var(--line); border-radius:11px; padding:.85rem; background:var(--surface); }
.pf-ct { font-size:.72rem; color:var(--muted); margin-bottom:.6rem; display:flex; justify-content:space-between; }
.pf-chart { height:108px; } .pf-chart svg { width:100%; height:100%; overflow:visible; }
.pf-feed { display:flex; flex-direction:column; gap:.55rem; }
.pf-fi { display:flex; gap:.55rem; align-items:flex-start; font-size:.72rem; }
.pf-fi .ic { width:18px; height:18px; border-radius:5px; background:var(--surface-2); flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:.6rem; color:var(--muted); }
.pf-fi .tx { color:var(--muted); } .pf-fi .tx b { color:var(--text); font-weight:600; }
.pf-fi .tm { margin-left:auto; color:var(--dim); font-size:.64rem; white-space:nowrap; }
.pf table { width:100%; border-collapse:collapse; font-size:.74rem; }
.pf th { text-align:left; font-size:.62rem; letter-spacing:.08em; text-transform:uppercase; color:var(--dim); font-weight:500; padding:.5rem .6rem; border-bottom:1px solid var(--line); }
.pf td { padding:.6rem .6rem; border-bottom:1px solid var(--line); color:var(--muted); } .pf td b { color:var(--text); font-weight:600; }
.pf-badge { display:inline-flex; align-items:center; gap:.3rem; font-size:.64rem; padding:.16rem .5rem; border-radius:999px; border:1px solid var(--line-2); }
.pf-badge.ok { color:var(--ok); border-color:rgba(74,222,128,.3); }
.pf-badge.warn { color:var(--warn); border-color:rgba(251,191,36,.3); }
.pf-badge.run { color:var(--text); }
.pf-prog { height:5px; border-radius:99px; background:var(--surface-2); overflow:hidden; min-width:70px; }
.pf-prog i { display:block; height:100%; background:linear-gradient(90deg,rgba(255,255,255,.5),#fff); transition: width 1s var(--ease); }
.pf-crew { display:grid; grid-template-columns:repeat(4,1fr); gap:.7rem; }
.pf-cm { border:1px solid var(--line); border-radius:11px; padding:.75rem; background:var(--surface); text-align:center; }
.pf-cm .av { width:34px; height:34px; border-radius:50%; margin:0 auto .5rem; background:linear-gradient(135deg,var(--surface-2),rgba(255,255,255,.1)); display:flex; align-items:center; justify-content:center; font-size:.7rem; font-weight:600; }
.pf-cm .nm { font-size:.74rem; font-weight:600; } .pf-cm .rl { font-size:.64rem; color:var(--dim); margin-top:.1rem; } .pf-cm .st { margin-top:.5rem; }
.pf-gauges { display:grid; grid-template-columns:repeat(3,1fr); gap:.7rem; }
.pf-gauge { border:1px solid var(--line); border-radius:11px; padding:.9rem; background:var(--surface); text-align:center; }
.pf-ring { width:78px; height:78px; margin:0 auto; } .pf-gauge .gl { font-size:.66rem; color:var(--muted); margin-top:.5rem; }
.showcase-note { text-align:center; color:var(--dim); font-size:.8rem; margin-top:1.4rem; }
/* Mobile: the dashboard KEEPS its MacBook layout — it scales down as one
   piece (JS sets width+transform on .pf, height on .pf-fit). Never collapses
   to a vertical/stacked layout. Fallback without JS: horizontal scroll. */
.pf-fit { position: relative; }
@media (max-width:1010px){ .pf-fit { overflow-x: auto; -webkit-overflow-scrolling: touch; } .pf-fit.scaled { overflow: visible; } }

/* Industries grid */
.ind-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-top:clamp(2rem,4vw,3rem); }
.ind-card { border:1px solid var(--line); border-radius:16px; padding:1.5rem; background:var(--surface); transition: all .35s var(--ease); }
.ind-card:hover { background:var(--surface-2); border-color:var(--line-2); transform:translateY(-3px); }
.ind-card .ico { width:34px; height:34px; color:var(--text); margin-bottom:1rem; }
.ind-card h3 { font-family:var(--font-display); font-size:1.15rem; font-weight:700; letter-spacing:-.02em; }
.ind-card p { color:var(--muted); font-size:.92rem; margin-top:.5rem; }
@media (max-width:880px){ .ind-grid{grid-template-columns:repeat(2,1fr)} }
@media (max-width:560px){ .ind-grid{grid-template-columns:1fr} }

/* Comparison — other solutions. Leads the why-custom section (before the four
   tiles) and carries the emphasis: lifted surface, glow, bright Cinova column. */
.compare { position:relative; margin-top:clamp(2rem,4vw,3rem); border:1px solid var(--line-2); border-radius:18px; overflow:hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0.008));
  box-shadow: 0 30px 90px -30px rgba(0,0,0,0.8), 0 0 70px -18px rgba(255,255,255,0.10), inset 0 1px 0 rgba(255,255,255,0.08); }
.compare::before { content:""; position:absolute; top:-1px; left:8%; right:8%; height:1.5px; pointer-events:none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7) 35%, rgba(255,255,255,0.7) 65%, transparent); }
.compare-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr 1.15fr; }
.compare-grid > div { padding:1.2rem 1.3rem; border-bottom:1px solid var(--line); }
.compare-grid .ch { font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color:var(--dim); border-bottom:1px solid var(--line-2); }
.compare-grid .ch.win { color:#fff; font-weight:600; background:rgba(255,255,255,0.06); }
.compare-grid .rl { color:var(--text); font-size:.96rem; font-weight:600; letter-spacing:-0.01em; }
.compare-grid .cell { color:var(--dim); font-size:.92rem; }
.compare-grid .cell.win { color:#fff; font-weight:500; background:rgba(255,255,255,0.045); box-shadow: inset 1px 0 0 var(--line-2), inset -1px 0 0 var(--line-2); }
.compare-grid .cell svg { width:16px; height:16px; vertical-align:-3px; margin-right:.35rem; }
/* the four tiles that follow the comparison table (order-independent) */
.props-follow { margin-top: clamp(2rem,4vw,3rem); }
.compare-grid > div:nth-last-child(-n+4){ border-bottom:none; }
@media (max-width:760px){ .compare-grid{grid-template-columns:1fr; } .compare-grid .ch:first-child{display:none} .compare-grid > div{border-bottom:1px solid var(--line)} .compare-grid .rl{font-weight:600;color:var(--text);background:var(--surface-2)} }

/* Hero variant that carries the platform showcase */
.hero.hero-platform { min-height: auto; justify-content: flex-start; text-align: center;
  padding: calc(var(--nav-h) + clamp(2.4rem,6vw,4.6rem)) 0 clamp(3rem,6vw,5rem); }
.hero.hero-platform .hero-inner { align-items: center; }
/* the base hero caps h1 at 16ch with no auto margins — left-shifts the box.
   Centre it properly for the platform hero at every width. */
.hero.hero-platform h1 { max-width: none; margin-left: auto; margin-right: auto; }
.hero.hero-platform .sub { margin-left: auto; margin-right: auto; }
/* Small screens: let the headline reflow as ONE centred block — the per-line
   reveal spans (.ln overflow clip) misalign when long lines wrap on mobile */
@media (max-width: 640px) {
  .hero.hero-platform h1 { font-size: clamp(1.9rem, 8.4vw, 2.6rem); }
  .hero.hero-platform h1 .ln { display: inline; overflow: visible; padding: 0; margin: 0; }
  .hero.hero-platform h1 .ln > span { display: inline; transform: none !important; }
  .hero.hero-platform .sub { font-size: 0.96rem; }
  .hero.hero-platform .hero-stats { gap: 1.6rem; }
  .hero.hero-platform .stat + .stat::before { left: -0.8rem; }
  .hero.hero-platform .stat .n { font-size: 1.9rem; }
  .hero.hero-platform .stat .l { font-size: 0.62rem; }
}
.hero.hero-platform .hero-actions { justify-content: center; }
/* Emphasised proof strip below the dashboard — bigger, brighter, centred */
.hero.hero-platform .hero-stats { justify-content: center; text-align: center;
  margin: clamp(2.8rem,5vw,4.2rem) auto 0; gap: clamp(2.2rem,7vw,6rem); }
.hero.hero-platform .stat { position: relative; }
.hero.hero-platform .stat + .stat::before { content:""; position:absolute; left: calc(clamp(2.2rem,7vw,6rem) / -2);
  top: 12%; bottom: 12%; width:1px; background: var(--line-2); }
.hero.hero-platform .stat .n { font-size: clamp(2.8rem, 5.4vw, 4.4rem); letter-spacing: -0.035em; color: #fff;
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,0.86));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(255,255,255,0.28)); }
.hero.hero-platform .stat .l { color: rgba(255,255,255,0.82); font-size: 0.85rem; letter-spacing: 0.16em; margin-top: 0.5rem; }
