/* JCS Digitech, version 2: The Intelligent Transformation Studio. Built from DESIGN.md. */

@font-face { font-family: 'Montserrat'; src: url('/assets/fonts/montserrat-var.woff2') format('woff2'); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-var.woff2') format('woff2'); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/assets/fonts/plex-mono-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  /* Dark */
  --color-night: #06050D;
  --color-navy: #00132F;
  --color-navy-card: #0A2342;
  --color-navy-line: #1C3A5E;
  --color-white: #FFFFFF;
  --color-mist: #C9D6EA;
  --color-sky: #58B6FF;
  /* Light */
  --color-paper: #FFFFFF;
  --color-wash: #F5F5F7;
  --color-sky-wash: #EAF4FF;
  --color-line: #DADEE3;
  --color-ink: #1D1D1F;
  --color-ink-2: #424245;
  --color-ink-3: #6E6E73;
  --color-blue: #0071E3;
  --color-blue-text: #0066CC;
  /* Reserved for WhatsApp */
  --color-gold: #D4A63A;
  --color-gold-bright: #E6BC5C;

  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;

  --text-display: clamp(2.125rem, 4.6vw, 3.75rem);
  --text-h1: clamp(1.875rem, 3.8vw, 3rem);
  --text-h2: clamp(1.625rem, 2.9vw, 2.25rem);
  --text-h3: clamp(1.25rem, 1.8vw, 1.5rem);
  --text-h4: clamp(1.0625rem, 1.4vw, 1.1875rem);
  --text-lead: clamp(1.0625rem, 1.4vw, 1.1875rem);
  --text-body: clamp(1rem, 1.2vw, 1.0625rem);
  --text-small: 0.875rem;
  --text-button: 0.9375rem;
  --text-label: 0.75rem;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px;
  --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px;
  --section-pad: clamp(56px, 8vw, 104px);
  --page-max: 1200px;
  --text-max: 720px;
  --gutter: clamp(16px, 4vw, 48px);

  --radius-pill: 999px;
  --radius-card: 16px;
  --radius-compact: 8px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 200ms;
  --dur-reveal: 500ms;
  --dur-fade: 600ms;
}

/* ---------- Surfaces: components read these variables, so they work on light and dark ---------- */
body, .t-light {
  --fg: var(--color-ink); --fg2: var(--color-ink-2); --fg3: var(--color-ink-3);
  --ln: var(--color-line); --card: #FFFFFF; --accent: var(--color-blue-text);
  --dash: rgba(29, 29, 31, 0.32);
}
.t-dark {
  --fg: var(--color-white); --fg2: var(--color-mist); --fg3: #9DB2D2;
  --ln: var(--color-navy-line); --card: var(--color-navy-card); --accent: var(--color-sky);
  --dash: rgba(201, 214, 234, 0.4);
  color: var(--fg2);
}
.s-paper { background: var(--color-paper); }
.s-wash { background: var(--color-wash); }
.s-sky { background: var(--color-sky-wash); }
.s-navy { background: var(--color-navy); }
.s-night { background: var(--color-night); }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--color-navy); -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); font-size: var(--text-body); line-height: 1.6;
  color: var(--fg2); background: var(--color-paper); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: calc(var(--page-max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--color-ink); color: #fff; padding: 12px 16px; border-radius: var(--radius-compact); z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3, h4, .display, .h1, .h3, .h4 { font-family: var(--font-display); font-weight: 600; color: var(--fg); text-wrap: balance; }
.display { font-size: var(--text-display); line-height: 1.08; letter-spacing: -0.03em; }
h1, .h1 { font-size: var(--text-h1); line-height: 1.1; letter-spacing: -0.025em; }
h2 { font-size: var(--text-h2); line-height: 1.15; letter-spacing: -0.02em; }
h3, .h3 { font-size: var(--text-h3); line-height: 1.25; letter-spacing: -0.015em; }
h4, .h4 { font-size: var(--text-h4); line-height: 1.3; letter-spacing: -0.01em; }
.lead { font-size: var(--text-lead); line-height: 1.55; max-width: 36em; }
.label, .eyebrow, .counter { font-family: var(--font-mono); font-size: var(--text-label); font-weight: 400; text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.4; }
.eyebrow { color: var(--accent); display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 7px; height: 7px; background: var(--accent); flex: none; }
.counter { color: var(--fg3); white-space: nowrap; }
.counter b { color: var(--accent); font-weight: 400; }
.tagline { font-family: var(--font-display); font-size: var(--text-h4); font-weight: 500; color: var(--accent); margin-top: var(--space-3); }
.big { font-family: var(--font-display); font-weight: 600; font-size: var(--text-h2); line-height: 1.25; letter-spacing: -0.02em; color: var(--fg); max-width: 26em; }
.statement { font-family: var(--font-display); font-weight: 600; font-size: var(--text-h2); line-height: 1.2; letter-spacing: -0.02em; color: var(--fg); text-align: center; max-width: 22em; margin: 0 auto var(--space-12); text-wrap: balance; }

/* ---------- Links and buttons ---------- */
.tlink { display: inline-block; color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; padding-block: 10px; transition: color var(--dur-fast); }
a.tlink:hover, a:hover > .tlink { color: var(--fg); }

/* Commit: gold, WhatsApp only */
.btn-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px;
  background: var(--color-gold); color: var(--color-ink); border: 1px solid var(--color-gold); border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: var(--text-button); font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}
.btn-wa svg { width: 19px; height: 19px; flex: none; fill: currentColor; }
.btn-wa:hover { background: var(--color-gold-bright); border-color: var(--color-gold-bright); transform: translateY(-1px); }

/* Navigate: blue on light, white on dark. Goes to a page, never WhatsApp. */
.btn-nav {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 24px;
  background: var(--color-blue); color: #fff; border-radius: var(--radius-pill);
  font-size: var(--text-button); font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.btn-nav:hover { background: var(--color-blue-text); transform: translateY(-1px); }
.t-dark .btn-nav { background: #fff; color: var(--color-ink); }
.t-dark .btn-nav:hover { background: var(--color-mist); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-4); }

/* ---------- Header: white, logo directly on it, WhatsApp button always gold ---------- */
.header { position: sticky; top: 0; z-index: 50; height: 64px; background: rgba(255, 255, 255, 0.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--color-line); }
.header .wrap { height: 100%; display: flex; align-items: center; gap: var(--space-6); }
.logo { display: block; flex: none; }
.logo img { height: 38px; width: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: var(--space-1); }
.nav a { display: flex; align-items: center; min-height: 40px; padding: 8px 12px; border-radius: var(--radius-compact); color: var(--color-ink-2); font-size: 0.9375rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: color var(--dur-fast), background var(--dur-fast); }
.nav a:hover { color: var(--color-ink); background: var(--color-wash); }
.nav a[aria-current="page"] { color: var(--color-blue-text); }
.header .btn-wa { min-height: 42px; padding: 9px 18px; }
.menu-btn { display: none; min-height: 44px; padding: 8px 16px; cursor: pointer; background: var(--color-wash); color: var(--color-ink); border: 1px solid var(--color-line); border-radius: var(--radius-pill); font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.08em; text-transform: uppercase; }
.menu-btn .x { display: none; }
@media (max-width: 1139px) {
  .menu-btn { display: inline-flex; align-items: center; order: 3; }
  .header .btn-wa { margin-left: auto; }
  .nav { position: fixed; inset: 64px 0 0 0; height: calc(100dvh - 64px); margin: 0; padding: var(--space-6) var(--gutter) 120px; background: #fff; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity 300ms var(--ease), visibility 300ms; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--color-line); }
  .nav a { padding: 16px 0; min-height: 60px; border-radius: 0; font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; color: var(--color-ink); }
  .nav a:hover { background: none; }
  .menu-open .nav { visibility: visible; opacity: 1; }
  .menu-open .menu-btn .o { display: none; }
  .menu-open .menu-btn .x { display: inline; }
  .menu-open body { overflow: hidden; }
}
@media (max-width: 639px) { .header .btn-wa { display: none; } .menu-btn { margin-left: auto; } }

/* ---------- Home hero carousel ---------- */
.hc { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(70% 90% at 78% 42%, rgba(41, 151, 255, 0.16), rgba(6, 5, 13, 0) 68%), var(--color-night); }
.hc-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hc-inner { display: flex; flex-direction: column; min-height: clamp(520px, 62vw, 640px); padding-block: clamp(48px, 7vw, 88px) var(--space-8); }
.hc-slides { display: grid; flex: 1; align-items: center; }
.hc-slide { grid-area: 1 / 1; max-width: 600px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--dur-fade) var(--ease), transform var(--dur-fade) var(--ease), visibility 0s var(--dur-fade); }
.hc-slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity var(--dur-fade) var(--ease), transform var(--dur-fade) var(--ease), visibility 0s; }
.hc-slide .eyebrow { margin-bottom: var(--space-6); }
.hc-slide .lead { margin-top: var(--space-6); max-width: 30em; }
.hc-slide .btn-nav, .hc-slide .follow-btn { margin-top: var(--space-8); }
.hc-slide .follow-btn { display: inline-flex; min-height: 52px; padding: 10px 18px; font-weight: 600; }
.follow-btn .go { margin-left: var(--space-2); }
/* Banner 1 carries a longer headline and four keywords. */
.display--long { font-size: clamp(1.75rem, 3.5vw, 2.75rem); line-height: 1.12; letter-spacing: -0.025em; }
.hc-keys { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-6); }
.hc-keys li { font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.4; color: #fff; border: 1px solid rgba(88, 182, 255, 0.4); background: rgba(88, 182, 255, 0.08); border-radius: var(--radius-pill); padding: 4px 12px; }
.hc-space { display: none; }
@media (max-width: 899px) { .hc-space { display: block; height: clamp(230px, 62vw, 340px); margin-top: var(--space-6); } .hc-slides { flex: none; } }
.hc-controls { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-8); }
.hc-tabs { display: flex; gap: var(--space-2); flex: 1; max-width: 640px; }
.hc-tab { flex: 1; min-width: 0; min-height: 48px; text-align: left; padding: 10px 0 0; background: none; border: 0; cursor: pointer; color: var(--fg3); display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.08em; text-transform: uppercase; transition: color var(--dur-fast); }
.hc-tab .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-tab .bar { grid-column: 1 / -1; height: 2px; background: rgba(201, 214, 234, 0.22); margin-top: 8px; overflow: hidden; }
.hc-tab .bar i { display: block; height: 100%; width: 100%; background: var(--color-sky); transform-origin: left; transform: scaleX(0); }
.hc-tab.is-active, .hc-tab:hover { color: #fff; }
.hc-tab.is-active .n { color: var(--color-sky); }
.hc-arrow { width: 44px; height: 44px; flex: none; border-radius: 50%; background: none; border: 1px solid var(--color-navy-line); color: #fff; font-size: 1.125rem; cursor: pointer; transition: border-color var(--dur-fast), background var(--dur-fast); }
.hc-arrow:hover { border-color: var(--color-sky); background: rgba(88, 182, 255, 0.1); }
@media (max-width: 639px) { .hc-tab .t { display: none; } .hc-inner { min-height: 540px; } }

/* ---------- Inner page hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(56px, 8vw, 104px); background: radial-gradient(70% 100% at 90% 40%, rgba(41, 151, 255, 0.14), rgba(6, 5, 13, 0) 70%), var(--color-night); }
.field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero .eyebrow { margin-bottom: var(--space-6); }
.hero h1 { max-width: 16em; }
.hero .lead { margin-top: var(--space-6); }
.hero-btns { margin-top: var(--space-8); }
.article-meta { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); align-items: center; margin-bottom: var(--space-6); }
.hero .article-meta .eyebrow { margin-bottom: 0; }
@media (max-width: 899px) { .hero .field { opacity: 0.3; } }
/* Blog article banner: shared hero type and buttons, shorter padding, title on fewer lines */
.hero--article { padding-block: clamp(36px, 5.5vw, 80px); }
.hero--article h1 { max-width: 20em; text-wrap: pretty; }
/* Contact: the two WhatsApp choices and the number, just below the hero */
.contact-choice { margin-top: var(--space-6); }
.contact-choice + .facts { margin-top: var(--space-12); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-pad); }
.section--flush { padding-top: 0; }
.sec-title { margin-bottom: var(--space-12); padding-bottom: var(--space-6); border-bottom: 1px solid var(--ln); }
.sec-head { margin-bottom: var(--space-8); }
.sec-head .eyebrow + h2, .sec-head .eyebrow + h3 { margin-top: var(--space-3); }
.sec-head h2 + .lead { margin-top: var(--space-3); }
.block { margin-top: var(--space-16); }
.split { display: grid; gap: var(--space-8) var(--space-12); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.stack > * + * { margin-top: var(--space-4); }
.grid { display: grid; gap: var(--space-6); }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } .grid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .grid--5 { grid-template-columns: repeat(5, 1fr); gap: var(--space-4); } }
.quote { margin-top: var(--space-12); padding-left: var(--space-6); border-left: 3px solid var(--accent); font-family: var(--font-display); font-weight: 600; font-size: var(--text-h3); line-height: 1.3; letter-spacing: -0.015em; color: var(--fg); max-width: 32em; }

/* ---------- Cards and panels ---------- */
.card, .panel { background: var(--card); border: 1px solid var(--ln); border-radius: var(--radius-card); padding: var(--space-6); }
@media (min-width: 900px) { .card, .panel { padding: var(--space-8); } }
.panel { display: flex; flex-direction: column; text-decoration: none; color: var(--fg2); transition: border-color var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast); }
a.panel:hover, a.post-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.panel .eyebrow { margin-bottom: var(--space-6); }
.panel h2, .panel .h3 { margin-bottom: var(--space-3); }
.panel p { margin-bottom: var(--space-4); }
.panel .tlink { margin-top: auto; align-self: flex-start; }
.panel--path { background: var(--color-wash); border-color: transparent; }
.card .counter { display: block; margin-bottom: var(--space-6); }
.card h3 + p, .card .h4 + p { margin-top: var(--space-2); font-size: var(--text-small); }

/* Service rows */
.prow { border-top: 1px solid var(--ln); padding-block: var(--space-8); display: grid; gap: var(--space-4) var(--space-12); }
.prow:last-child { border-bottom: 1px solid var(--ln); }
.prow-head .counter { margin-bottom: var(--space-3); }
@media (min-width: 900px) { .prow { grid-template-columns: 5fr 7fr; } }

/* Tiers */
.tier { display: flex; flex-direction: column; }
.tier .eyebrow { margin-bottom: var(--space-4); }
.tier h3 { margin-bottom: var(--space-6); }
.tier .label { color: var(--fg3); display: block; padding-top: var(--space-4); border-top: 1px solid var(--ln); margin-bottom: var(--space-3); }
.ticks li, .hollow li { display: flex; gap: var(--space-3); align-items: baseline; padding-block: 5px; }
.ticks li { color: var(--fg); }
.ticks li::before { content: ''; width: 7px; height: 7px; background: var(--accent); flex: none; transform: translateY(-1px); }
.hollow li::before { content: ''; width: 7px; height: 7px; border: 1px solid var(--fg3); flex: none; transform: translateY(-1px); }
.tier .note { margin-top: var(--space-4); font-size: var(--text-small); color: var(--fg3); }
.tier .tlink { margin-top: auto; padding-top: var(--space-6); align-self: flex-start; }

/* Founder */
.founder { display: grid; gap: var(--space-6) var(--space-12); }
@media (min-width: 900px) { .founder { grid-template-columns: 1fr 1fr; padding: var(--space-12); } }
.founder .eyebrow { margin-bottom: var(--space-4); }
.founder-creds { grid-column: 1 / -1; }
.creds { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ln); border-bottom: 1px solid var(--ln); }
.creds li { padding: var(--space-6) var(--space-4) var(--space-6) 0; }
.creds li:nth-child(even) { padding-left: var(--space-4); border-left: 1px solid var(--ln); }
.creds li:nth-child(n+3) { border-top: 1px solid var(--ln); }
.creds strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--text-h3); letter-spacing: -0.015em; line-height: 1.15; color: var(--fg); margin-bottom: var(--space-2); }
.creds span { color: var(--fg3); }
@media (min-width: 900px) {
  .creds { grid-template-columns: repeat(4, 1fr); }
  .creds li, .creds li:nth-child(even) { padding: var(--space-6); border-left: 1px solid var(--ln); border-top: 0; }
  .creds li:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- Follow (free) versus Commit (WhatsApp) ---------- */
.free-tag { display: inline-block; font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.4; color: var(--fg); border: 1px dashed var(--dash); border-radius: 4px; padding: 2px 8px; white-space: nowrap; }
.wa-tag { color: var(--color-gold); white-space: nowrap; }
.why { display: grid; gap: var(--space-6); }
.block + .why, .grid + .why, .split + .why { margin-top: var(--space-16); }
@media (min-width: 900px) { .why { grid-template-columns: 1fr 1fr; } }
.why-card { border-radius: var(--radius-card); padding: var(--space-6); display: flex; flex-direction: column; }
@media (min-width: 900px) { .why-card { padding: var(--space-8); } }
.why-follow { border: 1px dashed var(--dash); background: transparent; }
.why-commit { border: 1px solid var(--color-gold); background: var(--color-navy-card); }
.why-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-6); }
.why-note { color: var(--fg3); margin-top: var(--space-6); margin-bottom: var(--space-3); }
.why-stat { margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--ln); font-family: var(--font-display); font-weight: 600; font-size: var(--text-h2); letter-spacing: -0.02em; line-height: 1.15; color: #fff; font-variant-numeric: tabular-nums; }
.why-stat .plus { transition: opacity 300ms; }
.why-stat.is-counting .plus { opacity: 0; }
.why-cta { margin-top: auto; padding-top: var(--space-8); }
.why-stat + .why-cta { padding-top: var(--space-6); }
.follow-list { display: grid; gap: var(--space-2); }
@media (min-width: 640px) { .follow-list { grid-template-columns: repeat(2, 1fr); } }
.follow-link { display: flex; align-items: center; gap: var(--space-3); min-height: 52px; padding: 10px 14px; border: 1px dashed var(--dash); border-radius: var(--radius-compact); color: var(--fg); text-decoration: none; font-weight: 500; transition: border-color var(--dur-fast), background var(--dur-fast); }
a.follow-link:hover { border-color: var(--fg); background: rgba(127, 127, 127, 0.06); }
.follow-link .go { margin-left: auto; }
.follow-link.is-placeholder { color: var(--fg3); flex-wrap: wrap; }
.tbs { display: inline-block; font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.4; color: var(--fg3); border: 1px dashed var(--dash); border-radius: 4px; padding: 2px 8px; }
.follow-block { border: 1px dashed var(--dash); border-radius: var(--radius-card); padding: var(--space-6); }
@media (min-width: 900px) { .follow-block { padding: var(--space-12); } .follow-block .follow-list { grid-template-columns: repeat(4, 1fr); } }
.follow-block .why-head { justify-content: flex-start; margin-bottom: var(--space-3); }
.follow-block .lead { margin-bottom: var(--space-6); }

/* ---------- Project showcase (dark, tabbed) ---------- */
.sc-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); margin-bottom: var(--space-6); }
@media (min-width: 900px) { .sc-tabs { grid-template-columns: repeat(4, 1fr); } }
.sc-tab { text-align: left; padding: 14px 16px; min-height: 64px; background: transparent; border: 1px solid var(--ln); border-radius: var(--radius-compact); color: var(--fg2); cursor: pointer; display: grid; gap: 4px; font-family: var(--font-body); font-size: var(--text-small); line-height: 1.35; transition: border-color var(--dur-fast), background var(--dur-fast), color var(--dur-fast); }
.sc-tab .label { color: var(--fg3); }
.sc-tab:hover { border-color: var(--color-sky); }
.sc-tab[aria-selected="true"] { background: var(--color-navy-card); border-color: var(--color-sky); color: #fff; }
.sc-tab[aria-selected="true"] .label { color: var(--color-sky); }
.sc-panel { background: var(--color-navy-card); border: 1px solid var(--ln); border-radius: var(--radius-card); padding: var(--space-6); animation: sc-in 300ms var(--ease); }
@media (min-width: 900px) { .sc-panel { padding: var(--space-8); } }
@keyframes sc-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sc-grid { display: grid; gap: var(--space-8); align-items: start; }
@media (min-width: 900px) { .sc-grid { grid-template-columns: 7fr 5fr; } }
.sc-demo { position: relative; background: var(--color-night); border: 1px solid var(--ln); border-radius: var(--radius-compact); overflow: hidden; }
.demo-tag { position: absolute; top: 10px; left: 10px; z-index: 1; font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.4; color: var(--color-night); background: var(--color-sky); border-radius: 4px; padding: 3px 8px; }
.demo { width: 100%; height: auto; }
@media (max-width: 639px) { .sc-demo { overflow-x: auto; } .demo { min-width: 520px; } }
.demo .edge { fill: none; stroke: var(--color-sky); stroke-width: 1.5; stroke-opacity: 0.7; stroke-dasharray: 1; stroke-dashoffset: 1; animation: demo-draw 900ms var(--ease) forwards; animation-delay: var(--d); }
.demo .pulse { fill: #fff; filter: drop-shadow(0 0 4px #58B6FF); }
.demo .node { opacity: 0; animation: demo-node 500ms var(--ease) forwards; animation-delay: var(--d); }
.demo .node rect { fill: #0A2342; stroke: rgba(88, 182, 255, 0.6); stroke-width: 1; }
.demo .node.core rect { fill: #0E3A6E; stroke: #58B6FF; stroke-width: 1.5; }
.demo .node .dot { fill: #58B6FF; stroke: none; }
.demo .node text { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; fill: #C9D6EA; }
.demo .node.core text { fill: #fff; }
@keyframes demo-draw { to { stroke-dashoffset: 0; } }
@keyframes demo-node { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sc-info h3 { margin: var(--space-2) 0 var(--space-4); }
.shot { border: 1px dashed var(--dash); border-radius: var(--radius-compact); min-height: 96px; display: grid; place-items: center; padding: var(--space-4); margin-top: var(--space-6); background: rgba(6, 5, 13, 0.35); }
.ph-tag { font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.4; color: var(--fg2); text-align: center; }
.sc-info .tlink { margin-top: var(--space-3); }
.pdl > div { padding-block: var(--space-3); border-top: 1px solid var(--ln); }
.pdl dt { color: var(--fg3); margin-bottom: 4px; }
.sc-extra { margin-top: var(--space-8); padding-top: var(--space-2); border-top: 1px solid var(--ln); }
.sc-extra .split { gap: 0 var(--space-12); }
.tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-8); }
.tag { font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg2); border: 1px solid var(--ln); border-radius: var(--radius-pill); padding: 5px 12px; white-space: nowrap; }
.tgroup { margin-top: var(--space-6); }
.tgroup h4 { font-family: var(--font-mono); font-size: var(--text-label); font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--space-2); }
.atable { width: 100%; border-collapse: collapse; font-size: var(--text-small); }
.atable th { text-align: left; font-family: var(--font-mono); font-size: var(--text-label); font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg3); padding: var(--space-3) var(--space-4) var(--space-3) 0; border-bottom: 1px solid var(--ln); }
.atable td { padding: var(--space-3) var(--space-4) var(--space-3) 0; border-bottom: 1px solid var(--ln); vertical-align: top; }
.atable td:first-child { color: var(--fg); font-weight: 500; width: 44%; }
@media (max-width: 639px) {
  .atable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .atable tr { display: block; padding-block: var(--space-3); border-bottom: 1px solid var(--ln); }
  .atable td { display: block; width: auto !important; padding: 0; border: 0; }
  .atable td:empty { display: none; }
}

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; text-decoration: none; color: var(--fg2); transition: border-color var(--dur-fast), transform var(--dur-fast); }
.post-card .meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: var(--space-3); margin-bottom: var(--space-8); }
.post-card h2 { margin-bottom: var(--space-3); }
.post-card .arrow { margin-top: var(--space-6); color: var(--accent); font-size: 1.375rem; line-height: 1; }
.article { max-width: var(--text-max); margin-inline: auto; font-size: clamp(1.0625rem, 1.3vw, 1.125rem); line-height: 1.7; color: var(--color-ink-2); }
.article > * + * { margin-top: 1.2em; }
.article h2 { font-size: var(--text-h3); margin-top: 2em; }
.article h3 { font-size: var(--text-h4); margin-top: 1.6em; }
.article p:first-child { font-size: 1.15em; line-height: 1.55; color: var(--color-ink); }
.article ul { list-style: square; padding-left: 1.2em; }
.article a { color: var(--color-blue-text); text-underline-offset: 3px; }

/* Blog authors */
.post-by { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-6); font-size: var(--text-small); font-weight: 500; color: var(--fg); }
.post-by-img, .byline-img, .author-box-img, .author-profile-img { flex: none; border-radius: 50%; object-fit: cover; object-position: center top; background: var(--color-sky-wash); }
.post-by-img { width: 32px; height: 32px; }
.byline-img { width: 48px; height: 48px; }
.author-box-img { width: 72px; height: 72px; }
.author-profile-img { width: 160px; height: 160px; border: 1px solid var(--ln); }
[class$="-img--initials"] { display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; color: var(--color-blue-text); }
.article p.byline { display: flex; align-items: center; gap: var(--space-4); padding-bottom: var(--space-6); border-bottom: 1px solid var(--color-line); font-size: 1rem; line-height: 1.4; color: var(--color-ink); }
.article .byline + p { font-size: 1.15em; line-height: 1.55; color: var(--color-ink); }
.byline a { font-weight: 600; color: var(--color-ink); text-decoration: none; }
.byline a:hover { color: var(--color-blue-text); text-decoration: underline; text-underline-offset: 3px; }
.byline-role { display: block; font-size: var(--text-small); color: var(--color-ink-3); }
.author-box { display: flex; gap: var(--space-6); align-items: flex-start; margin-top: var(--space-12) !important; padding: var(--space-6); border: 1px solid var(--color-line); border-radius: var(--radius-card); background: var(--color-wash); font-size: 1rem; line-height: 1.6; }
.article .author-box .label { font-size: var(--text-label); line-height: 1.4; color: var(--color-ink-3); }
.article .author-box p { font-size: 1rem; line-height: 1.6; color: var(--color-ink-2); }
.article .author-box .author-box-name { margin-top: 4px; color: var(--color-ink); font-family: var(--font-display); font-weight: 600; font-size: var(--text-h4); }
.author-box-name a { color: var(--color-ink); text-decoration: none; }
.author-box-name a:hover { color: var(--color-blue-text); }
.article .author-box .author-box-role { font-size: var(--text-small); color: var(--color-ink-3); margin-bottom: var(--space-3); }
@media (max-width: 639px) { .author-box { flex-direction: column; } }
.author-profile { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-8); }
.author-profile .stack { flex: 1; min-width: 260px; }

/* ---------- Contact ---------- */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 560px; margin-top: var(--space-12); border-top: 1px solid var(--ln); }
.facts div { padding: var(--space-6) var(--space-4) 0 0; }
.facts div + div { padding-left: var(--space-6); border-left: 1px solid var(--ln); }
.facts dt { color: var(--fg3); margin-bottom: var(--space-2); }
.facts dd { font-family: var(--font-display); font-weight: 600; font-size: var(--text-h3); letter-spacing: -0.015em; color: var(--fg); line-height: 1.2; }

/* ---------- Closing band ---------- */
.band { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--color-navy-line); }
.band .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-6); }
.band h2 { max-width: 16em; }
.band .field { opacity: 0.55; }
@media (min-width: 900px) { .band .wrap { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--space-12); } .band--two .btn-row { flex-wrap: nowrap; } }

/* ---------- Footer ---------- */
.footer { padding-block: var(--space-12); }
.footer .wrap { display: grid; gap: var(--space-6); }
.footer .top { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-12); align-items: center; justify-content: space-between; }
.logo-tile { display: block; background: #fff; border-radius: var(--radius-compact); padding: 6px 10px; flex: none; }
.logo-tile img { height: 32px; width: auto; }
.footer ul { display: flex; flex-wrap: wrap; gap: 0 var(--space-6); }
.footer li a { display: inline-block; padding-block: 10px; color: var(--fg2); text-decoration: none; font-size: var(--text-small); font-weight: 500; transition: color var(--dur-fast); }
.footer li a:hover { color: #fff; }
.social { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-6); }
.social .label { color: var(--fg3); }
.social a { color: #fff; font-size: var(--text-small); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, 0.4); padding-block: 10px; }
.social a:hover { color: var(--color-sky); }
.footer .line { color: var(--fg3); padding-top: var(--space-6); border-top: 1px solid var(--ln); }

/* ---------- Sticky WhatsApp bar (phones) ---------- */
.wabar { display: none; }
@media (max-width: 639px) {
  .wabar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--color-line); }
  .wabar .btn-wa { width: 100%; }
  body { padding-bottom: 72px; }
  .btn-row { flex-direction: column; }
  .btn-row .btn-wa, .hero-btns > .btn-wa, .band .wrap > div, .band .btn-wa, .why-cta .btn-wa { width: 100%; }
}

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-reveal) var(--ease), transform var(--dur-reveal) var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hc-slide { transition: none; transform: none; }
  .sc-panel, .demo .node, .demo .edge { animation: none; }
  .demo .node { opacity: 1; }
  .demo .edge { stroke-dashoffset: 0; }
  .demo .pulse { display: none; }
  .hc-tab .bar i { transform: none; }
  .hc-tab:not(.is-active) .bar i { transform: scaleX(0); }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Industries (home): dark glass cards on a light section ---------- */
.ind-head { max-width: 46em; margin-bottom: var(--space-12); }
.ind-head h2 { margin-top: var(--space-3); }
.ind-head .lead { margin-top: var(--space-4); max-width: 40em; }
.ind-grid { display: grid; gap: var(--space-6); }
.ind-cell { display: flex; min-width: 0; }
.ind-cell--feature { grid-column: 1 / -1; scroll-margin-top: 88px; }
@media (min-width: 640px) { .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .ind-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.ind-card {
  --a: #58B6FF; --a-rgb: 88, 182, 255;
  position: relative; isolation: isolate; overflow: hidden; width: 100%; display: flex; flex-direction: column;
  border-radius: 20px; border: 1px solid rgba(var(--a-rgb), 0.22);
  background: linear-gradient(160deg, #0B2548 0%, #071530 46%, #06050D 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 34px 60px -38px rgba(0, 19, 47, 0.75), 0 14px 26px -20px rgba(0, 19, 47, 0.45);
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease), border-color 400ms var(--ease);
}
.ind-card--factory, .ind-card--retail, .ind-card--clinic { --a: #4DE8FF; --a-rgb: 77, 232, 255; }
.ind-card--education { --a: #9DB0FF; --a-rgb: 91, 108, 255; background: linear-gradient(160deg, #141C56 0%, #0A1036 46%, #06050D 100%); }
.ind-card--services { --a: #A995FF; --a-rgb: 139, 108, 255; background: linear-gradient(160deg, #1B1750 0%, #0C0F33 46%, #06050D 100%); }
.ind-card--growing { --a: #58B6FF; --a-rgb: 41, 151, 255; }
/* Soft light that follows the pointer (site.js sets --mx and --my). */
.ind-card::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(460px circle at var(--mx, 78%) var(--my, 0%), rgba(var(--a-rgb), 0.2), transparent 70%); opacity: 0.6; transition: opacity 400ms var(--ease); }
.ind-card::after { content: ''; position: absolute; left: 12%; right: 12%; top: 0; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, var(--a), transparent); opacity: 0.75; }
.ind-card:hover { transform: translateY(-4px); border-color: rgba(var(--a-rgb), 0.55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 44px 70px -36px rgba(0, 19, 47, 0.85), 0 0 46px -14px rgba(var(--a-rgb), 0.5); }
.ind-card:hover::before { opacity: 1; }

.ind-visual { position: relative; margin: 0; overflow: hidden; border-bottom: 1px solid rgba(201, 214, 234, 0.1); background: radial-gradient(80% 90% at 50% 42%, rgba(var(--a-rgb), 0.14), transparent 72%); }
.ind-svg { width: 100%; height: auto; transition: transform 700ms var(--ease); }
.ind-card:hover .ind-svg { transform: scale(1.04); }
.ind-card .demo-tag { background: rgba(6, 5, 13, 0.6); color: #fff; border: 1px solid rgba(var(--a-rgb), 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); z-index: 3; }

.ind-body { display: flex; flex-direction: column; flex: 1; padding: var(--space-6); }
.ind-meta { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-3); }
.ind-meta .counter b { color: var(--a); }
.ind-flag { color: #fff; border: 1px solid rgba(var(--a-rgb), 0.5); background: rgba(var(--a-rgb), 0.12); border-radius: var(--radius-pill); padding: 4px 12px; white-space: nowrap; }
.ind-kicker { color: var(--fg3); margin-top: var(--space-6); margin-bottom: var(--space-2); }
.ind-opps { counter-reset: opp; margin: 0; padding: 0; list-style: none; }
.ind-opps li { counter-increment: opp; display: flex; align-items: baseline; gap: var(--space-3); padding-block: 10px; border-top: 1px solid rgba(201, 214, 234, 0.12); color: #fff; font-weight: 500; line-height: 1.35; }
.ind-opps li::before { content: '0' counter(opp); flex: none; font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.08em; color: var(--a); }

/* Featured: Manufacturing with StockGuard */
.ind-card--feature .ind-body { order: 2; }
@media (min-width: 900px) {
  .ind-card--feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .ind-card--feature .ind-body { order: 0; justify-content: center; padding: var(--space-12) var(--space-8) var(--space-12) var(--space-12); }
}
.ind-card--feature .ind-meta { justify-content: flex-start; gap: var(--space-4); margin-bottom: var(--space-4); }
.sg-title { font-size: var(--text-h2); line-height: 1.1; letter-spacing: -0.02em; }
/* Link from the Manufacturing card down to the StockGuard showcase */
.ind-ref { display: flex; align-items: center; gap: var(--space-3); margin-top: auto; padding: 10px 14px; min-height: 48px; border-radius: 12px; border: 1px solid rgba(var(--a-rgb), 0.4); background: rgba(var(--a-rgb), 0.1); color: #fff; text-decoration: none; transition: background var(--dur-fast), border-color var(--dur-fast); }
.ind-opps + .ind-ref { margin-top: var(--space-4); }
.ind-ref .label { color: var(--a); }
.ind-ref .name { font-family: var(--font-display); font-weight: 600; margin-right: auto; }
.ind-ref:hover { background: rgba(var(--a-rgb), 0.2); border-color: var(--a); }
.sg-full { margin-top: var(--space-2); font-size: var(--text-small); color: var(--fg3); }
.sg-tagline { margin-top: var(--space-4); font-family: var(--font-display); font-weight: 600; font-size: var(--text-h4); line-height: 1.3; color: #fff; }
.sg-desc { margin-top: var(--space-2); }
.sg-feats { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.sg-feats li { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--radius-pill); border: 1px solid rgba(var(--a-rgb), 0.35); background: rgba(var(--a-rgb), 0.1); color: #fff; font-size: var(--text-small); font-weight: 500; }
.sg-feats li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--a); box-shadow: 0 0 8px var(--a); }

/* StockGuard demonstration: an illustrative stock list, never a screenshot */
.sg-stage {
  position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 68px;
  padding: 60px 20px var(--space-6); perspective: 1400px; border-bottom: 1px solid rgba(201, 214, 234, 0.1);
  background: radial-gradient(62% 58% at 58% 44%, rgba(41, 151, 255, 0.3), transparent 72%), linear-gradient(rgba(88, 182, 255, 0.06) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(88, 182, 255, 0.06) 1px, transparent 1px) 0 0 / 28px 28px;
}
@media (min-width: 900px) { .sg-stage { padding: 72px 44px var(--space-8) 28px; border-bottom: 0; border-left: 1px solid rgba(201, 214, 234, 0.1); } }
.sg-win { position: relative; width: 100%; max-width: 500px; border-radius: 14px; border: 1px solid rgba(88, 182, 255, 0.42); background: linear-gradient(180deg, rgba(18, 44, 92, 0.94), rgba(7, 15, 40, 0.96)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 44px 80px -32px rgba(0, 0, 0, 0.85), 0 0 70px -14px rgba(41, 151, 255, 0.45); transform-style: preserve-3d; transition: transform 700ms var(--ease); }
@media (min-width: 640px) { .sg-win { transform: rotateY(-11deg) rotateX(5deg); } .ind-card:hover .sg-win { transform: rotateY(-4deg) rotateX(2deg); } }
.sg-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: 14px 16px; border-bottom: 1px solid rgba(88, 182, 255, 0.2); }
.sg-name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: #fff; letter-spacing: -0.01em; }
.sg-live { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.08em; text-transform: uppercase; color: #4DE8FF; }
.sg-live i { width: 7px; height: 7px; border-radius: 50%; background: #4DE8FF; box-shadow: 0 0 0 0 rgba(77, 232, 255, 0.7); animation: sg-live 1.8s ease-out infinite; }
.sg-cols, .sg-rows li { display: grid; grid-template-columns: minmax(74px, 1fr) minmax(0, 1.7fr) 80px; align-items: center; gap: var(--space-3); padding: 11px 16px; }
.sg-cols { color: var(--fg3); padding-block: 9px; }
.sg-cols span:last-child, .sg-state { text-align: right; }
.sg-rows li { position: relative; border-top: 1px solid rgba(201, 214, 234, 0.1); }
.sg-item { color: #fff; font-size: var(--text-small); font-weight: 500; white-space: nowrap; }
.sg-meter { position: relative; height: 8px; border-radius: 4px; background: rgba(201, 214, 234, 0.13); }
.sg-meter::after { content: ''; position: absolute; left: 25%; top: -4px; width: 2px; height: 16px; border-radius: 1px; background: rgba(255, 255, 255, 0.55); }
.sg-meter i { position: absolute; inset: 0; border-radius: 4px; background: linear-gradient(90deg, #2997FF, #4DE8FF); box-shadow: 0 0 10px rgba(77, 232, 255, 0.45); transform-origin: left; transform: scaleX(var(--v, 0.46)); }
.sg-meter i::after { content: ''; position: absolute; inset: 0; border-radius: 4px; background: #FF7A6B; opacity: 0; }
.sg-state { display: grid; font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg2); white-space: nowrap; }
.sg-state span { grid-area: 1 / 1; }
.sg-state .low { color: #FF9A8D; opacity: 0; }
.sg-rows li.is-low::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 122, 107, 0.16), rgba(255, 122, 107, 0.02)); opacity: 0; }
.sg-alert { position: absolute; right: -8px; bottom: -50px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 122, 107, 0.65); background: linear-gradient(180deg, #2A1830, #150E22); box-shadow: 0 22px 40px -16px rgba(0, 0, 0, 0.9), 0 0 34px -8px rgba(255, 122, 107, 0.6); opacity: 0; transform: translate3d(0, 10px, 50px); }
@media (min-width: 640px) { .sg-alert { right: -26px; } }
.sg-alert i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #FF7A6B; box-shadow: 0 0 12px #FF7A6B; }
.sg-alert strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--text-small); color: #fff; line-height: 1.3; }
.sg-alert span { display: block; font-size: 0.8125rem; color: var(--fg2); line-height: 1.35; }
.sg-note { color: var(--fg3); text-align: center; }
/* One 10 second loop: the item runs down, the alert arrives, then the item is restocked. */
.is-low .sg-meter i { animation: sg-drain 10s var(--ease) infinite; }
.is-low .sg-meter i::after, .is-low .sg-state .low, .sg-rows li.is-low::before { animation: sg-low 10s linear infinite; }
.is-low .sg-state .ok { animation: sg-ok 10s linear infinite; }
.sg-alert { animation: sg-alert 10s var(--ease) infinite; }
@keyframes sg-drain { 0%, 26% { transform: scaleX(0.46); } 42%, 88% { transform: scaleX(0.14); } 97%, 100% { transform: scaleX(0.46); } }
@keyframes sg-low { 0%, 38% { opacity: 0; } 44%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }
@keyframes sg-ok { 0%, 38% { opacity: 1; } 44%, 88% { opacity: 0; } 94%, 100% { opacity: 1; } }
@keyframes sg-alert { 0%, 43% { opacity: 0; transform: translate3d(0, 10px, 50px); } 50%, 88% { opacity: 1; transform: translate3d(0, 0, 50px); } 94%, 100% { opacity: 0; transform: translate3d(0, 10px, 50px); } }
@keyframes sg-live { to { box-shadow: 0 0 0 9px rgba(77, 232, 255, 0); } }

/* Workflow illustrations inside the three industry cards */
.iv-link { fill: none; stroke-width: 1.3; stroke-opacity: 0.6; stroke-dasharray: 3 5; animation: iv-dash 1.6s linear infinite; }
.iv-spin { transform-box: fill-box; transform-origin: center; animation: iv-spin 7s linear infinite; }
.iv-float { animation: iv-float 3.6s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
.iv-bar { transform-box: fill-box; transform-origin: 50% 100%; animation: iv-bar 2.8s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
.iv-convey { animation: iv-convey 6s linear infinite; animation-delay: var(--d, 0s); }
.iv-blink { animation: iv-blink 1.4s ease-in-out infinite alternate; }
.iv-dot { animation: iv-dot 1.3s ease-in-out infinite; animation-delay: var(--d, 0s); }
.iv-scan { animation: iv-scan 3.4s ease-in-out infinite alternate; }
.iv-check { opacity: 0; animation: iv-check 6s linear infinite; animation-delay: var(--d, 0s); }
.iv-orbit { animation: iv-dash 2.4s linear infinite; }
.iv-orbit--rev { animation-direction: reverse; }
.iv-ping { transform-box: fill-box; transform-origin: center; animation: iv-ping 2.6s ease-out infinite; }
@keyframes iv-dash { to { stroke-dashoffset: -16; } }
@keyframes iv-spin { to { transform: rotate(360deg); } }
@keyframes iv-float { from { transform: translateY(2px); } to { transform: translateY(-4px); } }
@keyframes iv-bar { from { transform: scaleY(0.5); } to { transform: scaleY(1); } }
@keyframes iv-convey { 0% { transform: translateX(0); opacity: 0; } 8%, 90% { opacity: 1; } 100% { transform: translateX(290px); opacity: 0; } }
@keyframes iv-blink { from { opacity: 0.3; } to { opacity: 1; } }
@keyframes iv-dot { 0%, 60%, 100% { opacity: 0.35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes iv-scan { from { transform: translateY(0); } to { transform: translateY(104px); } }
@keyframes iv-check { 0%, 12% { opacity: 0; } 22%, 82% { opacity: 1; } 92%, 100% { opacity: 0; } }
@keyframes iv-ping { from { transform: scale(1); opacity: 0.8; } to { transform: scale(2.1); opacity: 0; } }

.ind-foot { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-6); margin-top: var(--space-12); }
.ind-note { font-size: var(--text-small); color: var(--fg3); max-width: 34em; }
@media (min-width: 900px) { .ind-foot { flex-direction: row; align-items: center; justify-content: space-between; } }
@media (max-width: 639px) { .ind-foot .btn-nav { width: 100%; justify-content: center; } }

/* ---------- Audience selection (home): one studio, two possibilities ---------- */
.aud { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(52% 46% at 16% 46%, rgba(41, 151, 255, 0.2), transparent 70%), radial-gradient(52% 46% at 86% 56%, rgba(139, 108, 255, 0.2), transparent 70%), var(--color-night); }
.aud { scroll-margin-top: -16px; }
.aud::before { content: ''; position: absolute; inset: -200px 0 0; z-index: -1; pointer-events: none; opacity: 0.7; background-image: radial-gradient(1.2px 1.2px at 20px 30px, #4DE8FF, transparent), radial-gradient(1px 1px at 130px 90px, #fff, transparent), radial-gradient(1.4px 1.4px at 80px 160px, #8B6CFF, transparent), radial-gradient(1px 1px at 190px 200px, #58B6FF, transparent), radial-gradient(1px 1px at 240px 60px, #fff, transparent); background-size: 260px 240px; animation: aud-drift 60s linear infinite; }
@keyframes aud-drift { to { transform: translateY(200px); } }
.aud-head { text-align: center; max-width: 44em; margin-inline: auto; }
.aud-head h2 { font-size: var(--text-h1); line-height: 1.1; letter-spacing: -0.025em; }
.aud-head .lead { margin: var(--space-4) auto 0; max-width: 34em; color: var(--fg2); }
.aud-link { display: none; width: 100%; height: 84px; overflow: visible; }
.aud-link .iv-link { vector-effect: non-scaling-stroke; stroke-opacity: 0.8; }
.aud-grid { display: grid; gap: var(--space-6); margin-top: var(--space-12); }
@media (min-width: 900px) { .aud-link { display: block; } .aud-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8); margin-top: 0; } }
.aud-card { border-radius: 24px; }
.aud-card--biz { --a: #4DE8FF; --a-rgb: 77, 232, 255; border-color: rgba(77, 232, 255, 0.3); }
.aud-card--learn { --a: #A995FF; --a-rgb: 139, 108, 255; border-color: rgba(139, 108, 255, 0.4); background: linear-gradient(160deg, #1B1750 0%, #0C0F33 46%, #06050D 100%); }
.aud-card .ind-body { padding: var(--space-6); }
@media (min-width: 900px) { .aud-card .ind-body { padding: var(--space-8) var(--space-12) var(--space-12); } }
.aud-eb { margin-bottom: var(--space-4); white-space: normal; }
.aud-eb b { color: var(--a); }
.aud-card h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.12; letter-spacing: -0.02em; }
.aud-desc { margin-top: var(--space-4); font-size: var(--text-lead); line-height: 1.55; }
.aud-card .sg-feats { margin-top: var(--space-6); }
.aud-cta { margin-top: auto; padding-top: var(--space-8); }
.aud-card .btn-nav { box-shadow: 0 0 0 0 rgba(var(--a-rgb), 0); transition: background var(--dur-fast), transform var(--dur-fast), box-shadow 300ms var(--ease); }
.aud-card:hover .btn-nav { box-shadow: 0 0 30px -4px rgba(var(--a-rgb), 0.75); }
.aud-statement { margin: var(--space-16) auto 0; }
/* Movement inside the two audience visuals: slow, low contrast, never flashing. */
.av-breathe { transform-box: fill-box; transform-origin: center; animation: av-breathe 4.6s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
.av-breathe--wide { animation-duration: 6s; }
.av-turn { transform-box: fill-box; transform-origin: center; animation: iv-spin 16s linear infinite; }
.av-grow { transform-box: fill-box; transform-origin: left center; animation: av-grow 5s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
.av-neural { stroke-opacity: 0.5; stroke-dasharray: 5 7; animation: av-neural 5s linear infinite, av-glow 5s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
.av-glow { animation: av-glow 3.6s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
.av-step { opacity: 0; animation: av-step 9s ease-in-out infinite; animation-delay: var(--d, 0s); }
.av-build { animation: av-build 9s ease-in-out infinite; animation-delay: var(--d, 0s); }
.aud-card .iv-float { animation-duration: 5.5s; }
@keyframes av-breathe { from { transform: scale(0.95); } to { transform: scale(1.06); } }
@keyframes av-grow { from { transform: scaleX(0.6); } to { transform: scaleX(1); } }
@keyframes av-neural { to { stroke-dashoffset: -48; } }
@keyframes av-glow { from { opacity: 0.55; } to { opacity: 1; } }
@keyframes av-step { 0%, 100% { opacity: 0; } 8%, 16% { opacity: 0.9; } 30% { opacity: 0; } }
@keyframes av-build { 0%, 100% { opacity: 0.55; } 10%, 60% { opacity: 1; } 80% { opacity: 0.55; } }
@media (max-width: 639px) { .aud-cta .btn-nav { width: 100%; justify-content: center; } }

/* ---------- Home: what we build, product visuals, mission and vision, refined footer, pixel signature ---------- */
.wwb { display: grid; gap: var(--space-8); align-items: center; margin-top: var(--space-12); }
.wwb .quote { margin-top: 0; }
@media (min-width: 900px) { .wwb { grid-template-columns: 1fr 1fr; gap: var(--space-12); } }
.grid + p > .tlink { margin-top: var(--space-4); }
.pv-fig { margin: var(--space-6) 0 0; }
.pv-fig .sg-note { margin-top: var(--space-3); text-align: left; }
.pv { border-radius: 14px; border: 1px solid rgba(88, 182, 255, 0.4); background: linear-gradient(180deg, rgba(14, 36, 78, 0.94), rgba(6, 12, 34, 0.96)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 30px 60px -34px rgba(0, 0, 0, 0.9), 0 0 50px -20px rgba(41, 151, 255, 0.5); transition: transform 400ms var(--ease), box-shadow 400ms var(--ease); }
.pv-fig:hover .pv { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 36px 60px -30px rgba(0, 0, 0, 0.9), 0 0 60px -14px rgba(41, 151, 255, 0.65); }
.pv-body { display: grid; gap: 10px; padding: 10px; }
.pv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pv-rows { margin: 0; padding: 0; list-style: none; }
.pv-rows li { display: flex; align-items: center; gap: var(--space-3); padding: 7px 0; border-top: 1px solid rgba(201, 214, 234, 0.1); font-size: var(--text-small); }
.pv-rows b { font-weight: 500; color: #fff; margin-right: auto; min-width: 0; }
.pv-rows span:not(.pm-state) { font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.04em; color: var(--fg2); white-space: nowrap; }
.pv-rows span.is-key { color: #4DE8FF; }
.pv-mail li::before { content: ''; flex: none; width: 16px; height: 12px; border-radius: 3px; border: 1.5px solid #58B6FF; background: linear-gradient(135deg, rgba(88, 182, 255, 0.5), transparent 60%); }
.pv-mail .is-on .pm-state { color: #4DE8FF; border-color: rgba(77, 232, 255, 0.55); background: rgba(77, 232, 255, 0.1); animation: av-glow 1.8s ease-in-out infinite alternate; }
.pv-shelf { display: flex; align-items: flex-end; gap: 10px; height: 104px; padding: 8px 6px 0; border-bottom: 3px solid rgba(88, 182, 255, 0.4); }
.pv-book { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--c), #0A1638 130%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), inset 0 10px 0 -6px rgba(255, 255, 255, 0.35); }
.pv-book { position: relative; }
.pv-book::before { content: ''; position: absolute; left: 18%; right: 18%; top: 16%; height: 22%; border-radius: 2px; background: rgba(255, 255, 255, 0.75); }
.pv-book::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: rgba(6, 5, 13, 0.35); }
.pv-book.is-on { outline: 2px solid #4DE8FF; outline-offset: 2px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 0 18px rgba(77, 232, 255, 0.7); animation: iv-float 3.6s ease-in-out infinite alternate; }
.pv-bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; margin-top: 4px; }
.pv-bars i { flex: 1; height: calc(var(--v) * 100%); border-radius: 3px 3px 0 0; background: linear-gradient(0deg, #2997FF, #4DE8FF); transform-origin: bottom; animation: iv-bar 3.2s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
.pv .pm-sub { margin-top: 8px; }
.pv .pm-num { font-size: var(--text-h4); }
.pv-barcode { position: relative; height: 54px; border-radius: 6px; overflow: hidden; opacity: 0.9; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 5px, #fff 5px 6px, transparent 6px 10px, #fff 10px 13px, transparent 13px 16px); }
.pv-barcode i { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: #4DE8FF; box-shadow: 0 0 12px 3px rgba(77, 232, 255, 0.8); animation: pv-scan 2.4s ease-in-out infinite alternate; }
@keyframes pv-scan { to { transform: translateY(52px); } }
.pv .pm-hist li i { animation: av-glow 3s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
.mv { border-radius: 24px; }
.mv-visual .ind-svg { width: 100%; height: clamp(170px, 22vw, 240px); }
.mv-grid { display: grid; }
.mv-item { padding: var(--space-8) var(--space-6); }
.mv-item + .mv-item { border-top: 1px solid rgba(201, 214, 234, 0.12); }
@media (min-width: 900px) { .mv-grid { grid-template-columns: 1fr 1fr; } .mv-item { padding: var(--space-12); } .mv-item + .mv-item { border-top: 0; border-left: 1px solid rgba(201, 214, 234, 0.12); } }
.mv-label { color: #4DE8FF; display: flex; align-items: center; gap: 10px; margin-bottom: var(--space-4); font-family: var(--font-mono); font-size: var(--text-label); font-weight: 400; }
.mv-label::before { content: ''; width: 7px; height: 7px; background: currentColor; box-shadow: 0 0 10px currentColor; }
.mv-item--vision .mv-label { color: #A995FF; }
.mv-text { font-family: var(--font-display); font-weight: 500; font-size: var(--text-h3); line-height: 1.4; letter-spacing: -0.01em; color: #fff; }
/* The closing band flows straight into the footer's pixel signature: no divider between them, the line sits under the signature. */
.band { padding-bottom: var(--space-8); border-bottom: 0; }
.sig { display: block; width: 100%; height: 64px; border-bottom: 1px solid var(--color-navy-line); }
@media (min-width: 900px) { .band { padding-bottom: var(--space-12); } .sig { height: 96px; } }
.footer--v2 { padding-block: 0 var(--space-8); }
.footer--v2 > .wrap { padding-top: var(--space-16); }
.footer--v2 .wrap { gap: var(--space-12); }
.ft-grid { display: grid; gap: var(--space-8); }
@media (min-width: 640px) { .ft-grid { grid-template-columns: 1fr 1fr; } .ft-brand { grid-column: 1 / -1; } }
@media (min-width: 900px) { .ft-grid { grid-template-columns: 5fr 3fr 4fr; gap: var(--space-12); } .ft-brand { grid-column: auto; } }
.ft-brand .logo-tile { display: inline-block; }
.ft-tag { margin-top: var(--space-6); font-family: var(--font-display); font-weight: 600; font-size: var(--text-h4); line-height: 1.35; color: #fff; max-width: 22em; }
.ft-sub { margin-top: var(--space-2); font-size: var(--text-small); max-width: 30em; }
.ft-h { color: var(--color-sky); margin-bottom: var(--space-3); }
.footer--v2 .ft-col ul { display: grid; gap: 0; }
.footer--v2 .ft-col li a, .ft-plain { display: inline-block; padding-block: 9px; color: var(--fg2); font-size: var(--text-small); font-weight: 500; }
.footer--v2 .ft-col li a { text-decoration: none; }
.footer--v2 .ft-col li a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ft-social { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.ft-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--ln); color: #fff; transition: border-color var(--dur-fast), background var(--dur-fast), transform var(--dur-fast); }
.ft-social svg { width: 22px; height: 22px; }
/* Brand colours live in the icons (build.js); hover tints the box in the same brand colour (D-135). */
.ft-social a:hover, .ft-social a:focus-visible { transform: translateY(-2px); }
.ft-social a.ft-ig:hover, .ft-social a.ft-ig:focus-visible { border-color: #DD2A7B; background: rgba(221, 42, 123, 0.14); }
.ft-social a.ft-in:hover, .ft-social a.ft-in:focus-visible { border-color: #0A66C2; background: rgba(10, 102, 194, 0.2); }
.ft-social a.ft-yt:hover, .ft-social a.ft-yt:focus-visible { border-color: #FF0000; background: rgba(255, 0, 0, 0.12); }
@media (prefers-reduced-motion: reduce) { .ft-social a { transition: none; } .ft-social a:hover, .ft-social a:focus-visible { transform: none; } }

/* ---------- Services page ---------- */
.svc-prob { display: flex; flex-direction: column; transition: border-color var(--dur-fast); }
.svc-prob:hover { border-color: var(--accent); }
/* Titles take the same two-line space so every "For example" line starts at the same height. */
@media (min-width: 900px) { .svc-prob .h4 { min-height: 2.6em; } }
.svc-eg { margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--ln); font-size: var(--text-small); line-height: 1.5; }
.svc-eg .label { display: block; color: var(--accent); margin-bottom: 4px; }
.svc-grid { display: grid; gap: var(--space-6); }
@media (min-width: 760px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc-grid .ind-svg { aspect-ratio: 36 / 22; }
.svc-grid .sg-feats { margin-top: var(--space-6); }
@media (min-width: 900px) { .sc-tabs--6 { grid-template-columns: repeat(3, 1fr); } }
.svc-sc .sc-grid { align-items: start; }
.svc-visual { min-width: 0; }
.svc-visual > .pv-fig { margin-top: 0; }
.svc-sc .sg-stage { border: 1px solid var(--ln); border-radius: var(--radius-compact); background-color: var(--color-night); }
.svc-full { margin: calc(var(--space-2) * -1) 0 var(--space-3); font-size: var(--text-small); color: var(--fg3); }
.svc-tagline { font-family: var(--font-display); font-weight: 600; font-size: var(--text-h4); color: #fff; margin-bottom: var(--space-2); }
.svc-facts { margin-top: var(--space-4); }
.svc-facts--long { font-size: var(--text-small); }
.svc-cred-row { align-items: center; }
.svc-cred { border-radius: 24px; }
.svc-cred .ind-body { padding: var(--space-8); }
@media (min-width: 900px) { .svc-cred .ind-body { padding: var(--space-12); } }
.svc-cred-h { color: #4DE8FF; }
.svc-years { margin-top: var(--space-3); font-family: var(--font-display); font-weight: 600; font-size: var(--text-h1); line-height: 1.05; letter-spacing: -0.025em; color: #fff; }
.svc-years-sub { margin-top: var(--space-1); font-family: var(--font-display); font-weight: 600; font-size: var(--text-h3); color: #fff; }
.svc-sub { margin-top: var(--space-3); font-family: var(--font-display); font-weight: 500; font-size: var(--text-h4); color: var(--accent); }
.ind-head .svc-sub + .lead { margin-top: var(--space-3); }
.svc-impact { align-items: center; }
.svc-impact .quote { margin-top: 0; }
#what-we-build { scroll-margin-top: 0; }
/* Secondary action beside a gold WhatsApp button: quieter outline, goes to a section on the page. */
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 1px solid rgba(201, 214, 234, 0.45); border-radius: var(--radius-pill); color: #fff; font-size: var(--text-button); font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: border-color var(--dur-fast), background var(--dur-fast); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
@media (max-width: 639px) { .hero-btns .btn-ghost { width: 100%; } }
.band-copy .lead { margin-top: var(--space-4); max-width: 34em; }
.svc-cred-note { margin-top: var(--space-4); color: var(--fg2); }

/* ---------- AI Freedom Hub page: journey, learning examples, enquiry form ---------- */
.hub-why { align-items: center; }
.hub-figure { border-bottom: 0; }
.hub-text { margin-top: var(--space-3); }
.jr { position: relative; display: grid; gap: var(--space-8); margin: var(--space-12) 0 0; padding: 0 0 0 36px; list-style: none; }
.jr::before { content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; border-radius: 1px; background: linear-gradient(180deg, #4DE8FF, #2997FF 50%, #8B6CFF); opacity: 0.55; }
.jr-step { position: relative; }
.jr-dot { position: absolute; left: -36px; top: 0; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #4DE8FF; background: var(--color-night); box-shadow: 0 0 0 0 rgba(77, 232, 255, 0.6); animation: jr-dot 10s ease-in-out infinite; animation-delay: calc(var(--i) * 2s); }
.jr-step h3 { margin: var(--space-2) 0 var(--space-3); font-size: var(--text-h3); }
.jr-step .counter b { color: #4DE8FF; }
.jr-ex { margin-top: var(--space-4); padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(88, 182, 255, 0.25); background: rgba(255, 255, 255, 0.04); color: #fff; font-size: var(--text-small); line-height: 1.45; }
.jr-ex .label { display: block; color: #4DE8FF; margin-bottom: 4px; }
@media (min-width: 1000px) {
  .jr { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-6); padding: 44px 0 0; }
  .jr::before { left: 0; right: 0; top: 8px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, #4DE8FF, #2997FF 50%, #8B6CFF); }
  .jr::after { content: ''; position: absolute; top: 4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px 3px #4DE8FF; animation: jr-run 10s linear infinite; }
  .jr-dot { left: 0; top: -44px; }
  .jr-step { display: flex; flex-direction: column; }
  .jr-ex { margin-top: auto; }
  .jr-step > p:not(.counter):not(.jr-ex) { margin-bottom: var(--space-4); }
}
@keyframes jr-dot { 0%, 22%, 100% { background: var(--color-night); box-shadow: 0 0 0 0 rgba(77, 232, 255, 0); } 6%, 14% { background: #4DE8FF; box-shadow: 0 0 18px 4px rgba(77, 232, 255, 0.55); } }
@keyframes jr-run { 0% { left: 0; opacity: 0; } 4% { opacity: 1; } 80% { left: calc(80% + 8px); opacity: 1; } 86%, 100% { left: calc(80% + 8px); opacity: 0; } }
.enq { display: grid; gap: var(--space-4); padding: var(--space-6); border-radius: 20px; border: 1px solid rgba(88, 182, 255, 0.3); background: linear-gradient(160deg, #0B2548 0%, #071530 46%, #06050D 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 0 60px -24px rgba(41, 151, 255, 0.6); }
@media (min-width: 900px) { .enq { padding: var(--space-8); } }
.enq-field label { display: block; color: #fff; font-weight: 500; font-size: var(--text-small); margin-bottom: 6px; }
.enq .req, .enq .opt { color: var(--fg3); font-weight: 400; }
.enq input[type="text"], .enq input[type="email"], .enq textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(201, 214, 234, 0.3); background: rgba(6, 5, 13, 0.55); color: #fff; font-family: var(--font-body); font-size: 1rem; line-height: 1.4; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.enq textarea { resize: vertical; min-height: 112px; }
.enq input:focus-visible, .enq textarea:focus-visible { outline: none; border-color: #4DE8FF; box-shadow: 0 0 0 3px rgba(77, 232, 255, 0.25); }
.enq [aria-invalid="true"] { border-color: #FF7A6B; }
.enq-err { color: #FF9A8D; font-size: var(--text-small); margin-top: 6px; }
.enq-err:empty { display: none; }
.enq-consent label { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; color: var(--fg2); margin: 0; cursor: pointer; }
.enq-consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: #2997FF; }
.enq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enq-submit { border: 0; cursor: pointer; font-family: var(--font-body); justify-content: center; justify-self: start; }
.enq-submit[disabled] { opacity: 0.6; cursor: progress; }
.enq-status { padding: 12px 14px; border-radius: 10px; font-size: var(--text-small); line-height: 1.45; }
.enq-status:empty { display: none; }
.enq-status.is-success { color: #fff; border: 1px solid rgba(77, 232, 255, 0.6); background: rgba(77, 232, 255, 0.12); }
.enq-status.is-error { color: #fff; border: 1px solid rgba(255, 122, 107, 0.65); background: rgba(255, 122, 107, 0.12); }
.enq-status.is-info { color: var(--fg2); border: 1px solid rgba(201, 214, 234, 0.25); }
@media (max-width: 639px) { .enq-submit { width: 100%; } }

/* ---------- AI Freedom Hub: opportunities, why learn, FAQ, enquiry dialog ---------- */
.btn-enq { cursor: pointer; font-family: var(--font-body); }
.btn-enq span[aria-hidden] { font-weight: 600; }
.hub-cta { margin-top: var(--space-12); }
.hub-cta--center { display: flex; justify-content: center; }
@media (max-width: 639px) { .hub-cta .btn-enq, .enq-open .btn-enq, .hero-btns .btn-enq { width: 100%; } }
.opp-card .ind-body { padding: var(--space-8) var(--space-6); }
@media (min-width: 900px) { .opp-card .ind-body { padding: var(--space-8); } }
.opp-ic { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: var(--space-6); border-radius: 16px; border: 1px solid rgba(var(--a-rgb), 0.5); background: linear-gradient(140deg, rgba(var(--a-rgb), 0.28), rgba(10, 16, 54, 0.6)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 26px -6px rgba(var(--a-rgb), 0.7); color: #fff; transition: transform 400ms var(--ease), box-shadow 400ms var(--ease); }
.opp-ic svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 5px rgba(var(--a-rgb), 0.9)); }
.opp-card:hover .opp-ic { transform: translateY(-3px) scale(1.04); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 0 36px -4px rgba(var(--a-rgb), 0.9); }
.opp-card h3 { margin-top: var(--space-2); font-size: var(--text-h4); }
.who-all { grid-column: 1 / -1; border-color: var(--accent); background: var(--color-sky-wash); }
.wl-grid { display: grid; gap: var(--space-4); margin: var(--space-12) 0 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .wl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .wl-grid { grid-template-columns: repeat(3, 1fr); } }
.wl-item { padding: var(--space-6); border-radius: 16px; border: 1px solid rgba(88, 182, 255, 0.25); background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07); transition: border-color 300ms var(--ease), transform 300ms var(--ease); }
.wl-item:hover { border-color: rgba(77, 232, 255, 0.6); transform: translateY(-2px); }
.wl-item .counter b { color: #4DE8FF; }
.wl-item p { margin-top: var(--space-3); font-family: var(--font-display); font-weight: 600; font-size: var(--text-h4); line-height: 1.35; color: #fff; }
.faq { max-width: 860px; border-top: 1px solid var(--ln); }
.faq-item { border-bottom: 1px solid var(--ln); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding: var(--space-6) 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 600; font-size: var(--text-h4); line-height: 1.35; color: var(--fg); transition: color var(--dur-fast); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-q { display: block; }
.faq-tag { display: table; margin-bottom: 6px; color: var(--accent); }
.faq-ic { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--ln); transition: border-color var(--dur-fast), transform 300ms var(--ease); }
.faq-ic::before, .faq-ic::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); }
.faq-ic::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 300ms var(--ease); }
.faq-item[open] .faq-ic { border-color: var(--accent); color: var(--accent); }
.faq-item[open] .faq-ic::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 var(--space-12) var(--space-6) 0; color: var(--fg2); max-width: 46em; }
.faq-item--biz { background: var(--color-sky-wash); border-radius: 12px; border-bottom-color: transparent; padding-inline: var(--space-4); margin-block: var(--space-2); }
.faq-cta { margin-top: var(--space-4); }
.enq-row { align-items: center; }
.enq-open { display: flex; }
@media (min-width: 900px) { .enq-open { justify-content: flex-end; } }
.enq-dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 20px; background: transparent; color: var(--fg2); overflow: visible; }
.enq-dialog::backdrop { background: rgba(3, 5, 18, 0.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.enq-dialog[open] { animation: enq-in 260ms var(--ease); }
@keyframes enq-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.enq-box { max-height: calc(100dvh - 24px); overflow-y: auto; border-radius: 20px; border: 1px solid rgba(88, 182, 255, 0.35); background: linear-gradient(160deg, #0B2548 0%, #071530 46%, #06050D 100%); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 60px -20px rgba(41, 151, 255, 0.6); }
.enq-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4); padding: var(--space-6) var(--space-6) 0; }
@media (min-width: 640px) { .enq-head { padding: var(--space-8) var(--space-8) 0; } }
.enq-close { flex: none; width: 44px; height: 44px; margin: -6px -6px 0 0; border-radius: 50%; border: 1px solid var(--ln); background: transparent; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; transition: border-color var(--dur-fast), background var(--dur-fast); }
.enq-close:hover { border-color: var(--color-sky); background: rgba(88, 182, 255, 0.12); }
.enq-dialog .enq { border: 0; background: none; box-shadow: none; }
.modal-open, .modal-open body { overflow: hidden; }

/* ---------- About page: the founder's story ---------- */
.ab-intro { display: grid; gap: var(--space-8) var(--space-16); align-items: center; }
@media (min-width: 900px) { .ab-intro { grid-template-columns: 5fr 7fr; } }
.ab-photo { position: relative; margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 460px; width: 100%; justify-self: center; background: linear-gradient(160deg, #0B2548 0%, #071530 50%, #06050D 100%); border: 1px solid rgba(88, 182, 255, 0.3); box-shadow: 0 40px 70px -40px rgba(0, 19, 47, 0.7), 0 0 60px -30px rgba(41, 151, 255, 0.6); }
.ab-photo::after { content: ''; position: absolute; inset: auto 12% 0; height: 2px; background: linear-gradient(90deg, transparent, #4DE8FF, transparent); }
.ab-photo-img { width: 100%; height: 100%; object-fit: cover; }
.ab-photo-ph { height: 100%; display: grid; place-items: center; align-content: center; gap: var(--space-6); padding: var(--space-6); text-align: center; background: radial-gradient(60% 50% at 50% 42%, rgba(41, 151, 255, 0.3), transparent 70%); }
.ab-mono { display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%; border: 1px solid rgba(77, 232, 255, 0.5); font-family: var(--font-display); font-weight: 600; font-size: 2.75rem; letter-spacing: 0.02em; color: #fff; box-shadow: inset 0 0 40px rgba(77, 232, 255, 0.18), 0 0 40px -6px rgba(77, 232, 255, 0.5); }
.ab-photo-ph .tbs { color: var(--color-mist); border-color: rgba(201, 214, 234, 0.4); }
.ab-intro .tagline { margin-top: var(--space-2); }
.ab-creds { margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--ln); }
.ab-creds h3 { color: var(--fg3); margin-bottom: var(--space-3); font-family: var(--font-mono); font-weight: 400; }
.ab-creds ul { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.ab-creds li { padding: 6px 14px; border-radius: var(--radius-pill); border: 1px solid var(--ln); font-size: var(--text-small); font-weight: 500; color: var(--fg); }
.ab-journey { display: grid; gap: var(--space-8) var(--space-16); }
@media (min-width: 900px) { .ab-journey { grid-template-columns: 4fr 7fr; } .ab-sticky { position: sticky; top: 104px; align-self: start; } }
.tl { position: relative; margin: 0; padding: 0 0 0 40px; list-style: none; display: grid; gap: var(--space-8); }
.tl::before { content: ''; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 2px; border-radius: 1px; background: linear-gradient(180deg, var(--color-line), var(--color-blue) 70%, #4DE8FF); }
.tl-step { position: relative; padding: var(--space-6); border-radius: 16px; border: 1px solid var(--ln); background: #fff; transition: border-color var(--dur-fast); }
.tl-step:hover { border-color: var(--accent); }
.tl-dot { position: absolute; left: -40px; top: 26px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--color-blue); background: var(--color-wash); }
.tl-tag { color: var(--accent); }
.tl-step h3 { margin: var(--space-2) 0 var(--space-3); font-size: var(--text-h4); }
.tl-step--now { background: linear-gradient(160deg, #0B2548 0%, #071530 60%, #06050D 100%); border-color: rgba(77, 232, 255, 0.45); color: var(--color-mist); box-shadow: 0 0 50px -24px rgba(41, 151, 255, 0.8); }
.tl-step--now h3 { color: #fff; }
.tl-step--now .tl-tag { color: #4DE8FF; }
.tl-step--now .tl-dot { border-color: #4DE8FF; background: #4DE8FF; box-shadow: 0 0 0 0 rgba(77, 232, 255, 0.6); animation: sg-live 1.8s ease-out infinite; }
.ab-bk { align-items: center; }
.ab-em { font-family: var(--font-display); font-weight: 600; font-size: var(--text-h4); line-height: 1.4; color: #fff; padding-left: var(--space-4); border-left: 3px solid #4DE8FF; }
.ab-em--light { color: var(--fg); border-left-color: var(--accent); }
.ab-ic { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid rgba(var(--a-rgb, 88, 182, 255), 0.5); background: linear-gradient(140deg, rgba(var(--a-rgb, 88, 182, 255), 0.26), rgba(10, 16, 54, 0.6)); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 0 22px -6px rgba(var(--a-rgb, 88, 182, 255), 0.7); }
.ab-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(var(--a-rgb, 88, 182, 255), 0.9)); }
.bk-photo { position: relative; margin: 0 auto; width: 100%; max-width: 440px; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; border: 1px solid rgba(88, 182, 255, 0.35); background: var(--color-navy-card); box-shadow: 0 40px 70px -36px rgba(0, 0, 0, 0.85), 0 0 60px -24px rgba(41, 151, 255, 0.55); }
.bk-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
@media (max-width: 899px) { .bk-photo { max-width: 400px; } }
.bk-vis { margin: 0; }
.bk-orbit { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); padding: var(--space-6); border-radius: 24px; border: 1px solid rgba(88, 182, 255, 0.28); background: radial-gradient(60% 55% at 50% 50%, rgba(41, 151, 255, 0.28), transparent 72%), linear-gradient(rgba(88, 182, 255, 0.05) 1px, transparent 1px) 0 0 / 26px 26px, linear-gradient(90deg, rgba(88, 182, 255, 0.05) 1px, transparent 1px) 0 0 / 26px 26px, var(--color-night); }
.bk-chip { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); padding: var(--space-4) var(--space-2); border-radius: 16px; border: 1px solid rgba(88, 182, 255, 0.22); background: rgba(255, 255, 255, 0.04); font-size: var(--text-small); font-weight: 500; color: #fff; text-align: center; animation: iv-float 4s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.7s); }
.bk-chip:nth-child(n+4) { order: 3; }
.bk-core { order: 2; grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: var(--space-3); padding: var(--space-6); border-radius: 18px; border: 1px solid rgba(77, 232, 255, 0.55); background: linear-gradient(140deg, rgba(41, 151, 255, 0.3), rgba(10, 16, 54, 0.7)); box-shadow: 0 0 40px -10px rgba(77, 232, 255, 0.7); font-family: var(--font-display); font-size: var(--text-h4); color: #fff; }
.bk-core .ab-ic { --a-rgb: 77, 232, 255; }
.bk-vis .sg-note { margin-top: var(--space-3); text-align: center; }
.bk-gallery { display: grid; gap: var(--space-3); }
.bk-gallery--2, .bk-gallery--3 { grid-template-columns: repeat(2, 1fr); }
.bk-gallery img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; border: 1px solid rgba(88, 182, 255, 0.3); }
.bk-gallery--3 img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.ab-map { margin-top: var(--space-12); padding: var(--space-6); border-radius: 20px; border: 1px solid var(--ln); background: rgba(255, 255, 255, 0.03); }
@media (min-width: 900px) { .ab-map { padding: var(--space-8); } }
.ab-map-h { color: #4DE8FF; margin-bottom: var(--space-4); }
.ab-map ul { display: grid; gap: var(--space-2) var(--space-8); }
@media (min-width: 760px) { .ab-map ul { grid-template-columns: 1fr 1fr; } }
.ab-map li { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) 0; border-top: 1px solid var(--ln); }
.ab-map li span:first-child { flex: 1; }
.ab-arrow { color: #4DE8FF; }
.ab-map strong { flex: 1; color: #fff; font-weight: 600; }
.ab-why { align-items: center; }
.ab-why .quote { margin-top: var(--space-6); font-size: var(--text-h4); }
.ab-offers { display: grid; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.ab-offer { flex-direction: row; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-6); border-radius: 16px; font-family: var(--font-display); font-weight: 600; font-size: var(--text-h4); color: #fff; }
.ab-offer--support { border-color: rgba(77, 232, 255, 0.6); }
.ab-vision { display: grid; gap: var(--space-4); margin-top: var(--space-12); }
@media (min-width: 760px) { .ab-vision { grid-template-columns: 1fr 1fr; } }
.ab-vision .counter b { color: #4DE8FF; }
.ab-center .eyebrow { justify-content: center; }
.ab-goal { margin: var(--space-12) auto 0; max-width: 30em; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: var(--text-h3); line-height: 1.35; color: #fff; }
.ab-close { text-align: center; }
.ab-close .big { margin-inline: auto; max-width: 24em; }
.ab-sign { margin-top: var(--space-6); font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg3); }
.ab-close .btn-row { justify-content: center; margin-top: var(--space-8); }
.btn-ghost--light { color: var(--color-ink); border-color: var(--color-line); }
.btn-ghost--light:hover { border-color: var(--color-ink); background: rgba(29, 29, 31, 0.05); }
@media (max-width: 639px) { .ab-close .btn-row > a { width: 100%; justify-content: center; } }

/* ---------- Preventive maintenance demonstration (project showcase) ---------- */
@media (min-width: 900px) { .sc-tabs--5 { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 899px) { .sc-tabs--5 .sc-tab:last-child { grid-column: 1 / -1; } }
.sc-cat { color: var(--color-sky); margin: calc(var(--space-2) * -1) 0 var(--space-4); }
.sc-feats h4 { font-family: var(--font-mono); font-size: var(--text-label); font-weight: 400; color: var(--color-sky); margin: var(--space-6) 0 var(--space-3); }
.sc-feats .ticks { display: grid; column-gap: var(--space-8); }
@media (min-width: 640px) { .sc-feats .ticks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .sc-feats .ticks { grid-template-columns: repeat(3, 1fr); } }
.pm-stage { padding: 52px 14px 16px; background: radial-gradient(70% 60% at 40% 36%, rgba(41, 151, 255, 0.22), transparent 72%), linear-gradient(rgba(88, 182, 255, 0.05) 1px, transparent 1px) 0 0 / 26px 26px, linear-gradient(90deg, rgba(88, 182, 255, 0.05) 1px, transparent 1px) 0 0 / 26px 26px, var(--color-night); }
@media (min-width: 640px) { .pm-stage { padding: 56px 24px 20px; } }
.pm { position: relative; border-radius: 14px; border: 1px solid rgba(88, 182, 255, 0.4); background: linear-gradient(180deg, rgba(14, 36, 78, 0.94), rgba(6, 12, 34, 0.96)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 36px 70px -34px rgba(0, 0, 0, 0.9), 0 0 60px -18px rgba(41, 151, 255, 0.5); margin-bottom: 112px; }
@media (min-width: 640px) { .pm { margin-bottom: 92px; } }
.pm-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-3); padding: 12px 14px; border-bottom: 1px solid rgba(88, 182, 255, 0.2); }
.pm-app { font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; color: #fff; letter-spacing: -0.01em; }
.pm-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: var(--radius-pill); border: 1px solid rgba(77, 232, 255, 0.4); background: rgba(77, 232, 255, 0.08); font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.06em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.pm-chip i { width: 7px; height: 7px; border-radius: 50%; background: #4DE8FF; animation: sg-live 1.8s ease-out infinite; }
.pm-grid { display: grid; gap: 10px; padding: 10px; }
@media (min-width: 560px) { .pm-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .pm-machine { grid-row: 1 / 3; } }
.pm-card { min-width: 0; border-radius: 10px; border: 1px solid rgba(201, 214, 234, 0.12); background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07); padding: 12px; }
.pm-h { display: flex; justify-content: space-between; gap: var(--space-2); color: var(--fg3); margin-bottom: 6px; }
.pm-h span:first-child { color: var(--color-sky); }
.pm-machine { display: flex; flex-direction: column; }
.pm-svg { width: 100%; height: auto; margin-block: auto; padding-block: var(--space-3); }
.pm-machine .pm-h { color: var(--color-sky); }
.pm-num { font-family: var(--font-display); font-weight: 600; font-size: var(--text-h3); line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.pm-bar { display: block; height: 6px; border-radius: 3px; background: rgba(201, 214, 234, 0.14); margin: 10px 0 8px; overflow: hidden; }
.pm-bar i { display: block; height: 100%; width: 97%; border-radius: 3px; background: linear-gradient(90deg, #2997FF, #4DE8FF); box-shadow: 0 0 10px rgba(77, 232, 255, 0.5); transform-origin: left; animation: pm-fill 5s var(--ease) infinite alternate; }
.pm-sub { font-size: 0.8125rem; color: var(--fg2); }
.pm-sched li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: 8px 0; border-top: 1px solid rgba(201, 214, 234, 0.1); }
.pm-item { min-width: 0; display: grid; gap: 1px; }
.pm-item b { font-weight: 500; font-size: var(--text-small); color: #fff; line-height: 1.3; }
.pm-item span, .pm-date { font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.04em; color: var(--fg3); }
.pm-state { flex: none; font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; padding: 3px 8px; border-radius: var(--radius-pill); border: 1px solid rgba(201, 214, 234, 0.25); color: var(--fg2); }
.is-soon .pm-state { color: #4DE8FF; border-color: rgba(77, 232, 255, 0.55); background: rgba(77, 232, 255, 0.1); }
.is-over .pm-state { color: #FF9A8D; border-color: rgba(255, 122, 107, 0.6); background: rgba(255, 122, 107, 0.12); animation: iv-blink 1.4s ease-in-out infinite alternate; }
.pm-hist ol { margin: 0; padding: 0; list-style: none; }
.pm-hist li { position: relative; display: flex; align-items: baseline; gap: 10px; padding: 6px 0; font-size: var(--text-small); color: #fff; }
.pm-hist li i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #58B6FF; box-shadow: 0 0 8px #58B6FF; transform: translateY(-1px); }
.pm-hist li + li::before { content: ''; position: absolute; left: 3.5px; top: -9px; width: 1px; height: 18px; background: rgba(88, 182, 255, 0.4); }
.pm-date { margin-left: auto; white-space: nowrap; }
.pm-wa { position: absolute; right: -6px; top: calc(100% - 14px); max-width: min(320px, 92%); display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 14px 14px 4px 14px; border: 1px solid rgba(139, 108, 255, 0.7); background: linear-gradient(180deg, #231B52, #120E2C); box-shadow: 0 22px 40px -16px rgba(0, 0, 0, 0.9), 0 0 36px -8px rgba(139, 108, 255, 0.65); animation: pm-wa 10s var(--ease) infinite; }
@media (min-width: 640px) { .pm-wa { right: -14px; } }
.pm-wa svg { flex: none; width: 22px; height: 22px; fill: #fff; margin-top: 2px; filter: drop-shadow(0 0 6px rgba(139, 108, 255, 0.9)); }
.pm-wa strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--text-small); color: #fff; line-height: 1.3; }
.pm-wa span { display: block; font-size: 0.8125rem; color: var(--fg2); line-height: 1.4; }
.pm-needle { transform-box: view-box; transform-origin: 30px 55px; animation: pm-needle 2.4s ease-in-out infinite alternate; }
@keyframes pm-fill { from { transform: scaleX(0.9); } to { transform: scaleX(1); } }
@keyframes pm-needle { from { transform: rotate(-14deg); } to { transform: rotate(10deg); } }
@keyframes pm-wa { 0%, 6% { opacity: 0; transform: translateY(10px); } 12%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  .enq-dialog[open] { animation: none; }
  .bk-chip, .tl-dot { animation: none !important; }
  .pv *, .pm *, .aud-link *, .aud::before, .jr-dot, .jr::after { animation: none !important; }
  .jr::after { display: none; }
  .aud-link .iv-pulse { display: none; }
  .ind-svg *, .sg-stage * { animation: none !important; }
  .iv-pulse { display: none; }
  .iv-check { opacity: 1; }
  .iv-convey { transform: translateX(var(--x, 0)); }
  .ind-card:hover, .ind-card:hover .ind-svg { transform: none; }
  /* Finished state: the low stock item and its alert are shown. */
  .is-low .sg-meter i { transform: scaleX(0.14); }
  .is-low .sg-meter i::after, .is-low .sg-state .low, .sg-rows li.is-low::before { opacity: 1; }
  .is-low .sg-state .ok { opacity: 0; }
  .sg-alert { opacity: 1; transform: translate3d(0, 0, 50px); }
}
