/* ============================================================
   SMART STATION SOLUTIONS — site.css
   Elite dark / emerald design system. Vanilla, no build step.
   ============================================================ */

/* ---- Tokens --------------------------------------------------*/
:root {
  --bg:        #06100B;
  --bg-2:      #081512;
  --surface:   #0c1c16;
  --surface-2: #0d1f18;
  --surface-3: #102a20;

  --accent:    #2fe39b;   /* emerald */
  --accent-2:  #5cf0b6;
  --mint:      #9bffd6;
  --gold:      #d8b15a;
  --plat:      #8fb6e0;

  --text:      #e7f2ec;
  --text-2:    #a9bcb3;
  --muted:     #6d827a;
  --faint:     #46544d;

  --line:      rgba(149,255,214,0.10);
  --line-2:    rgba(149,255,214,0.06);
  --glass:     rgba(11,26,20,0.55);
  --glow:      0 0 0 1px rgba(47,227,155,0.18), 0 24px 70px -28px rgba(47,227,155,0.35);

  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --maxw:   1240px;
  --gut:    clamp(20px, 5vw, 64px);
  --radius: 18px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ambient page texture: faint grid + radial emerald wash */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 80% -5%, rgba(47,227,155,0.10), transparent 60%),
    radial-gradient(700px 600px at -10% 10%, rgba(47,227,155,0.05), transparent 55%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(149,255,214,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(149,255,214,0.022) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 80%);
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: rgba(47,227,155,0.28); color: #fff; }

/* ---- Typography ----------------------------------------------*/
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; color: #fff; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.display {
  font-size: clamp(2.6rem, 6.6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--text-2); line-height: 1.6; max-width: 60ch; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.grad-text {
  background: linear-gradient(100deg, #fff 30%, var(--accent) 120%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---- Layout --------------------------------------------------*/
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.section { padding-block: clamp(44px, 5vw, 80px); position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.section-head .h2 { margin-top: 16px; }
.section-head .lead { margin-top: 18px; }
.center { text-align: center; margin-inline: auto; }
.hr { height: 1px; background: var(--line); border: 0; }

/* ---- Buttons -------------------------------------------------*/
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s, color .3s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translate(3px, -3px); }

.btn-primary {
  background: var(--accent); color: #04140e;
  box-shadow: 0 14px 40px -14px rgba(47,227,155,0.6);
}
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 20px 52px -14px rgba(47,227,155,0.75); }

.btn-ghost { background: rgba(255,255,255,0.03); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: rgba(47,227,155,0.5); background: rgba(47,227,155,0.06); }

/* ---- Glass card ----------------------------------------------*/
.glass {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(160deg, rgba(255,255,255,0.05), transparent 40%);
  pointer-events: none;
}
.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(47,227,155,0.35); box-shadow: 0 30px 60px -34px rgba(0,0,0,0.8), var(--glow); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s, backdrop-filter .4s, border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6,16,11,0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 38px; width: auto; filter: brightness(0) invert(1); transition: filter .3s, transform .3s; }
.brand:hover img { filter: brightness(0) saturate(100%) invert(78%) sepia(38%) saturate(720%) hue-rotate(96deg) brightness(99%) contrast(92%); transform: translateY(-1px); }
.brand-txt { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; font-size: 1.05rem; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 0.9rem; color: var(--text-2); padding: 9px 14px; border-radius: 100px;
  transition: color .25s, background .25s; position: relative;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 20px; }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,0.03); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); transition: .3s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 26px; }
.nav.open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: 100px; overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 1; }
.hero-fade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(46% 42% at 50% 46%, rgba(6,16,11,0.78), rgba(6,16,11,0.30) 55%, transparent 78%),
              linear-gradient(180deg, rgba(6,16,11,0.55) 0%, transparent 22% 70%, var(--bg) 100%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-inner { max-width: 960px; margin-inline: auto; text-align: center; }
.hero h1 { margin: 26px 0 22px; }
.hero .lead { margin-inline: auto; }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }

.hero-cards { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.ops-card {
  position: absolute; pointer-events: auto;
  padding: 16px 18px; border-radius: 16px; min-width: 210px;
  animation: float 7s var(--ease) infinite;
}
.ops-card .oc-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.ops-card .oc-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); }
.ops-card .oc-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #04140e; display: grid; place-items: center; }
.ops-card .oc-dot svg { width: 13px; height: 13px; }
.ops-card .oc-val { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: #fff; }
.ops-card .oc-sub { font-size: 0.8rem; color: var(--muted); }
.ops-card .bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,0.08); margin-top: 10px; overflow: hidden; }
.ops-card .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--mint)); border-radius: 4px; }
.ops-card.c1 { top: 30%; left: 3%; animation-delay: -1s; }
.ops-card.c2 { bottom: 16%; right: 4%; animation-delay: -3.5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.3em; color: var(--muted); text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-hint::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--accent), transparent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* ============================================================
   STATS
   ============================================================ */
.stats-band { position: relative; border-block: 1px solid var(--line); background: var(--bg-2); }
.stats-band .bg-img { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; opacity: 0.12; filter: grayscale(0.2); }
.stats-band::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, var(--bg-2), rgba(8,21,18,0.85)); }
.stats-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 14px 0; }
.stat .num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 4.6vw, 3.7rem); line-height: 1; letter-spacing: -0.04em;
  background: linear-gradient(180deg,#fff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .num .u { font-size: 0.5em; color: var(--accent); -webkit-text-fill-color: var(--accent); margin-left: 2px; }
.stat .lbl { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }

/* ============================================================
   GRID HELPERS / CARDS
   ============================================================ */
.grid { display: grid; gap: 22px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

/* capability / generic feature card */
.feature { padding: 30px 28px; }
.feature .idx { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); letter-spacing: 0.1em; }
.feature .h3 { margin: 16px 0 10px; }
.feature p { color: var(--text-2); font-size: 0.96rem; }
.feature .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.05em; color: var(--mint);
  background: rgba(47,227,155,0.08); border: 1px solid var(--line); border-radius: 100px; padding: 5px 11px; }
.feature .top-accent { position: absolute; top: 0; left: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--accent), transparent); transition: width .6s var(--ease); }
.card:hover .top-accent { width: 100%; }

/* pill / chip */
.chip { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-2); border: 1px solid var(--line);
  border-radius: 100px; padding: 9px 16px; background: rgba(255,255,255,0.02); transition: .3s; }
.chip:hover { border-color: rgba(47,227,155,0.4); color: #fff; }
.chip .badge { color: var(--gold); font-weight: 600; margin-left: 6px; font-size: 0.7rem; }
.chip .badge.plat { color: var(--plat); }

/* ============================================================
   CLIENTS MARQUEE
   ============================================================ */
.marquee-wrap { display: grid; gap: 16px; }
.marquee {
  overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee:hover .mq-track,
.marquee.mq-pause .mq-track { animation-play-state: paused; }
.mq-track { display: flex; width: max-content; gap: 16px; animation: mq 46s linear infinite; will-change: transform; }
.marquee.rev .mq-track { animation-direction: reverse; animation-duration: 58s; }
.marquee.slow .mq-track { animation-duration: 72s; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.client {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 22px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  border: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; letter-spacing: -0.01em;
  color: var(--text-2); white-space: nowrap;
  transition: color .3s, border-color .3s, background .3s, transform .3s, box-shadow .3s;
}
.client img {
  width: 30px; height: 30px; flex: 0 0 auto; border-radius: 7px; object-fit: contain;
  background: #fff; padding: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  filter: grayscale(0.15); transition: filter .3s;
}
/* Logos that only ship in white/gold ink: dark chip so they stay visible */
.client img.dk { background: #0c1813; }
.client.txt::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px;
  background: var(--accent); opacity: 0.5; transition: opacity .3s, box-shadow .3s; transform: rotate(45deg);
}
.client:hover, .client:active {
  color: #fff; border-color: rgba(47,227,155,0.5); transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(47,227,155,0.10), rgba(47,227,155,0.02));
  box-shadow: 0 18px 40px -22px rgba(47,227,155,0.6);
}
.client:hover img, .client:active img { filter: grayscale(0); }
.client.txt:hover::before, .client.txt:active::before { opacity: 1; box-shadow: 0 0 12px var(--accent); }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; flex-wrap: wrap; } }

/* ============================================================
   JOURNEY  (Design -> Hardware -> Software -> Operations)
   ============================================================ */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(40px, 4.4vw, 64px); counter-reset: step; }
.jstep { padding: 28px 24px; position: relative; overflow: visible; z-index: 1; }
.jstep:hover { z-index: 5; }
.jstep .jn { font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent); }
.jstep h4 { font-size: 1.15rem; margin: 14px 0 8px; color: #fff; }
.jstep p { font-size: 0.85rem; color: var(--muted); }
.jstep .arrow { position: absolute; left: 100%; top: 50%; transform: translate(2px, -55%) rotate(-2deg); z-index: 6;
  color: var(--accent); width: clamp(38px, 4vw, 56px); height: 38px; filter: drop-shadow(0 2px 5px rgba(47,227,155,0.4)); pointer-events: none; }
.jstep:last-child .arrow { display: none; }

/* ============================================================
   LIGHT SECTION  (editorial dark/light rhythm — echoes the
   "Why SSS is different" slide: dark-green boxes on a light field)
   ============================================================ */
.section.light { background: linear-gradient(180deg, #eef3ee 0%, #e4ece5 100%); color: #2a3b34; }
.section.light .eyebrow { color: #0F6E56; }
.section.light .eyebrow::before { background: linear-gradient(90deg, #0F6E56, transparent); }
.section.light .h2, .section.light h2 { color: #0b1c15; }
.section.light .lead, .section.light > .wrap > p { color: #46544d; }
.section.light .grad-text { background: linear-gradient(100deg, #0b1c15 25%, #0F6E56 120%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }

/* dark cards keep their dark treatment when they sit on a light field
   (dark cards on light = the editorial "slide" look) */
.section.light .card { box-shadow: 0 22px 48px -32px rgba(10,45,32,0.45); }
.section.light .card .h3, .section.light .card h3, .section.light .card h4 { color: #fff; }
.section.light .card p { color: var(--text-2); }
.section.light .card .idx, .section.light .card .sector { color: var(--accent); }
.section.light .card .eyebrow { color: var(--accent); }
.section.light .card .eyebrow::before { background: linear-gradient(90deg, var(--accent), transparent); }

/* journey boxes become solid dark-green panels on the light field */
.section.light .jstep { background: linear-gradient(165deg, #0d4d39, #0a3a2b); border: 1px solid rgba(8,40,28,0.25);
  box-shadow: 0 26px 50px -30px rgba(10,55,40,0.65); }
.section.light .jstep .jn { color: var(--mint); }
.section.light .jstep h4 { color: #fff; }
.section.light .jstep p { color: rgba(220,245,234,0.72); }
.section.light .jstep .top-accent { background: linear-gradient(90deg, var(--mint), transparent); }
.section.light .jstep:hover { border-color: rgba(47,227,155,0.55); box-shadow: 0 30px 60px -28px rgba(10,55,40,0.8), 0 0 0 1px rgba(47,227,155,0.25); }
.section.light .arrow { color: #128a63; filter: drop-shadow(0 1px 2px rgba(10,60,44,0.25)); }

/* ============================================================
   SPLIT / IMAGE FEATURE
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.rev .split-media { order: 2; }
.media-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 90px -50px #000; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.72) contrast(1.06) brightness(0.86); }
/* unifying dark-emerald grade so stock + real photos read as one set */
.media-frame::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(150deg, rgba(47,227,155,0.16), transparent 48%), linear-gradient(0deg, rgba(6,16,11,0.30), rgba(6,16,11,0.06)); }
.media-frame::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 50%, rgba(6,16,11,0.6)); }
.media-frame .tagline { position: absolute; left: 18px; bottom: 16px; z-index: 2; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mint); }

/* ---- Embedded product mockup: Smart Community resident app ------
   Replaces stock imagery in the software/community sections with a
   live gate-access UI (QR passes, Face ID, LPR) — a real screenshot
   feel, echoing the reservations dashboard. */
.app-frame { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 18px;
  background:
    radial-gradient(130% 100% at 12% -10%, rgba(47,227,155,0.30), transparent 55%),
    linear-gradient(150deg, #0e5b42 0%, #0a3c2c 52%, #07291f 100%); }
.app-frame::before, .app-frame::after { content: none; }   /* drop the photo grade */
.app-frame .tagline { z-index: 5; }

.app-shot { position: relative; width: min(86%, 372px); }
.app-shot::before { content: ""; position: absolute; inset: -18% -14%; z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,0.13) 1px, transparent 1.5px); background-size: 15px 15px;
  -webkit-mask-image: radial-gradient(circle at 50% 38%, #000, transparent 70%);
          mask-image: radial-gradient(circle at 50% 38%, #000, transparent 70%); }

.app-card { position: relative; z-index: 2; background: #f6faf8; border-radius: 18px; padding: 15px;
  display: grid; gap: 9px; box-shadow: 0 34px 62px -26px rgba(2,18,12,0.7), 0 1px 0 rgba(255,255,255,0.7) inset; }
.app-card .ac-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 3px; }
.ac-title { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; color: #0b1c15; }
.ac-live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono);
  font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: #0f7a59; }
.ac-live i { width: 7px; height: 7px; border-radius: 50%; background: #15c489;
  box-shadow: 0 0 0 3px rgba(21,196,137,0.18); animation: acpulse 1.8s ease-in-out infinite; }
@keyframes acpulse { 0%,100% { opacity: .45; } 50% { opacity: 1; } }

.ac-row { display: grid; grid-template-columns: auto 1fr auto; gap: 11px; align-items: center;
  padding: 9px 10px; border-radius: 12px; background: #fff; border: 1px solid #e8efe9; }
.ac-qr, .ac-plate { width: 42px; height: 42px; border-radius: 9px; background: #0b1c15; display: grid; place-items: center; color: #9bffd6; }
.ac-qr .qr { width: 30px; height: 30px; }
.ac-plate { line-height: 1; gap: 2px; }
.ac-plate b { font-family: var(--font-mono); font-weight: 500; font-size: 0.66rem; color: #eafff6; letter-spacing: 0.05em; }
.ac-plate span { font-family: var(--font-mono); font-size: 0.4rem; letter-spacing: 0.2em; color: #5fcfa3; }
.ac-meta { display: grid; gap: 1px; min-width: 0; }
.ac-meta b { font-size: 0.82rem; font-weight: 600; color: #0b1c15; }
.ac-meta > span:not(.ac-chip) { font-size: 0.7rem; color: #5b6b64; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-chip { justify-self: start; margin-top: 4px; font-family: var(--font-mono); font-size: 0.58rem;
  letter-spacing: 0.03em; padding: 3px 9px; border-radius: 100px; }
.ac-chip.ok { color: #0f7a59; background: rgba(21,196,137,0.14); }
.ac-chip.wait { color: #a06a12; background: rgba(214,160,40,0.18); }
.ac-time { align-self: start; font-family: var(--font-mono); font-size: 0.6rem; color: #93a39b; }

.app-chip { position: absolute; right: 16px; bottom: 16px; z-index: 4;
  background: rgba(7,22,16,0.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(149,255,214,0.2); border-radius: 14px; padding: 10px 14px;
  box-shadow: 0 22px 44px -22px rgba(0,0,0,0.85); }
.app-chip .num { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; line-height: 1;
  background: linear-gradient(180deg,#fff,var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.app-chip .lbl { font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mint); }
@media (max-width: 420px) { .app-chip { display: none; } }

/* ---- Homepage flagship mock: SOC dashboard + Face ID + mobile app ---- */
.ops-shot { position: relative; width: min(88%, 398px); }
.ops-dash { position: relative; z-index: 2; border-radius: 16px; padding: 15px;
  background: linear-gradient(180deg, rgba(10,28,21,0.94), rgba(7,19,14,0.97));
  border: 1px solid rgba(149,255,214,0.16);
  box-shadow: 0 34px 64px -28px rgba(0,0,0,0.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.od-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.od-title { font-family: var(--font-display); font-weight: 600; font-size: 0.84rem; letter-spacing: -0.01em; color: #eafff6; }
.od-live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.od-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(47,227,155,0.18); animation: acpulse 1.8s ease-in-out infinite; }

.od-face { display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: center;
  padding: 11px; border-radius: 12px; background: rgba(47,227,155,0.05); border: 1px solid rgba(149,255,214,0.12); }
.face-frame { position: relative; width: 76px; height: 86px; border-radius: 10px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 18%, rgba(47,227,155,0.20), rgba(6,16,11,0.65)); }
.face-frame .face { position: absolute; inset: 0; width: 100%; height: 100%; color: #c7efdd; }
.face-frame .scanline { position: absolute; left: 8%; right: 8%; height: 2px; top: 8%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 10px var(--accent);
  animation: scan 2.6s var(--ease) infinite; }
@keyframes scan { 0% { top: 10%; opacity: 0; } 14% { opacity: 1; } 86% { opacity: 1; } 100% { top: 88%; opacity: 0; } }
.face-frame .corner { position: absolute; width: 12px; height: 12px; border: 2px solid var(--accent); }
.corner.tl { top: 6px; left: 6px; border-right: 0; border-bottom: 0; border-radius: 3px 0 0 0; }
.corner.tr { top: 6px; right: 6px; border-left: 0; border-bottom: 0; border-radius: 0 3px 0 0; }
.corner.bl { bottom: 6px; left: 6px; border-right: 0; border-top: 0; border-radius: 0 0 0 3px; }
.corner.br { bottom: 6px; right: 6px; border-left: 0; border-top: 0; border-radius: 0 0 3px 0; }
.od-fmeta { display: grid; gap: 3px; min-width: 0; }
.od-tag { font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.od-fmeta b { font-size: 0.92rem; color: #fff; font-weight: 600; }
.od-sub { font-size: 0.68rem; color: var(--text-2); }
.od-conf { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.1); margin-top: 5px; overflow: hidden; }
.od-conf i { display: block; height: 100%; width: 99%; background: linear-gradient(90deg, var(--accent), var(--mint)); border-radius: 4px; }
.od-confnum { font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.05em; color: var(--mint); }

.od-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 11px; }
.od-stat { background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.od-stat b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: #fff; line-height: 1.1; }
.od-stat span { font-family: var(--font-mono); font-size: 0.48rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.od-chart { display: flex; align-items: flex-end; gap: 5px; height: 40px; margin-top: 11px; padding-right: 76px; }
.od-chart i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--accent), rgba(47,227,155,0.22)); opacity: 0.85; }

.ops-phone { position: absolute; z-index: 3; right: -5%; bottom: -8%; width: 116px;
  background: #0a1712; border: 1px solid rgba(149,255,214,0.22); border-radius: 22px; padding: 8px 8px 11px;
  box-shadow: 0 30px 52px -20px rgba(0,0,0,0.92); }
.ph-notch { width: 32px; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.18); margin: 1px auto 8px; }
.ph-screen { display: grid; gap: 8px; }
.ph-top { display: flex; align-items: center; justify-content: space-between; }
.ph-app { font-family: var(--font-display); font-weight: 600; font-size: 0.6rem; color: #fff; }
.ph-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.ph-pass { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 10px; padding: 7px; }
.ph-qr { width: 30px; height: 30px; border-radius: 6px; background: #0b1c15; display: grid; place-items: center; color: #9bffd6; flex: 0 0 auto; }
.ph-qr .qr { width: 22px; height: 22px; }
.ph-pass b { font-size: 0.6rem; color: #0b1c15; display: block; line-height: 1.2; }
.ph-pass span { font-size: 0.5rem; color: #5b6b64; }
.ph-btn { background: var(--accent); color: #04140e; font-family: var(--font-display); font-weight: 600; font-size: 0.62rem; text-align: center; padding: 8px; border-radius: 9px; }
.ph-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.52rem; color: var(--text-2); }
.ph-chip { font-family: var(--font-mono); font-size: 0.46rem; color: #d6a028; background: rgba(214,160,40,0.18); padding: 2px 6px; border-radius: 100px; }
@media (max-width: 480px) { .ops-phone { right: 2%; bottom: -6%; width: 104px; } .od-chart { padding-right: 0; } }

.feat-list { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.feat-list li { display: flex; gap: 14px; align-items: flex-start; }
.feat-list .ic { flex: 0 0 34px; height: 34px; border-radius: 10px; background: rgba(47,227,155,0.1); border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent); }
.feat-list .ic svg { width: 16px; height: 16px; }
.feat-list b { color: #fff; font-weight: 600; display: block; font-size: 0.98rem; }
.feat-list span { color: var(--muted); font-size: 0.88rem; }

/* SOC showcase collage (homepage) — one lead frame + two supporting, aligned height */
.soc-collage { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 16px; grid-auto-rows: clamp(220px, 26vw, 330px); }
.soc-collage .media-frame { height: 100%; }
@media (max-width: 900px) { .soc-collage { grid-template-columns: 1fr 1fr; } .soc-collage .soc-lead { grid-column: span 2; } }
@media (max-width: 560px) { .soc-collage { grid-template-columns: 1fr; grid-auto-rows: clamp(200px, 58vw, 260px); } .soc-collage .soc-lead { grid-column: auto; } }

/* ============================================================
   PROJECTS
   ============================================================ */
.project { padding: 26px 28px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.project .sector { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.project h3 { margin: 8px 0 10px; font-size: 1.4rem; }
.project p { color: var(--text-2); font-size: 0.95rem; max-width: 60ch; }
.metrics { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; min-width: 180px; }
.metric { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-2); background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; white-space: nowrap; }
.metric b { color: var(--accent); }

/* ============================================================
   CTA STRIP / CONTACT
   ============================================================ */
.cta-strip { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(44px, 7vw, 84px); text-align: center;
  background: radial-gradient(120% 140% at 50% 0%, rgba(47,227,155,0.14), transparent 60%), linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); }
.cta-strip .h2 { margin-bottom: 16px; }

/* final CTA — full-bleed glow band (no card), echoes the reference contact section */
.cta-final { text-align: center; overflow: hidden;
  padding-block: clamp(64px, 8vw, 108px);
  background: radial-gradient(120% 100% at 50% 0%, #0c1c16 0%, var(--bg) 55%); }
.cta-final .cta-glow { position: absolute; left: 50%; top: 0; width: min(900px, 94vw); height: 500px;
  transform: translateX(-50%); pointer-events: none; z-index: 0;
  background: radial-gradient(circle at 50% 0%, rgba(47,227,155,0.18), transparent 60%); filter: blur(40px); }
.cta-final > .wrap { position: relative; z-index: 1; }
.cta-final-inner { max-width: 720px; margin-inline: auto; }

.contact-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.contact-card { padding: 30px; }
.contact-card .ttl { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 16px; }
.contact-line { display: flex; gap: 14px; margin-bottom: 12px; }
.contact-line .lbl { color: var(--muted); min-width: 84px; font-size: 0.85rem; }
.contact-line .val { color: var(--text); font-size: 0.95rem; }
.contact-line a:hover { color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: 72px 32px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px clamp(24px,4vw,56px); align-items: start; }
.footer-top > div:first-child { max-width: 340px; }
.footer .brand img { height: 46px; }
.footer .tag { color: var(--text-2); font-style: italic; margin-top: 20px; font-size: 0.95rem; line-height: 1.6; max-width: 30ch;
  /* reset — avoid collision with the .tag chip component */
  background: none; border: 0; border-radius: 0; padding: 0; font-family: var(--font-body); letter-spacing: normal; }
.footer h5 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { color: var(--muted); font-size: 0.9rem; transition: color .25s; }
.footer a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-2); color: var(--faint); font-size: 0.8rem; font-family: var(--font-mono); flex-wrap: wrap; gap: 12px; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ops-card, .scroll-hint::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* page hero (interior pages) */
.page-hero { padding-top: 168px; padding-bottom: 24px; position: relative; }
.page-hero .display { font-size: clamp(2.4rem, 5.4vw, 4.2rem); margin: 22px 0 20px; }
.crumb { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.crumb a:hover { color: var(--accent); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 84px; left: 0; right: 0; padding: 18px var(--gut) 28px;
    background: rgba(6,16,11,0.96); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-links a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line-2); }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .jstep .arrow { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
/* large / ultra-wide screens — scale up gracefully, don't strand content */
@media (min-width: 1700px) {
  :root { --maxw: 1480px; }
  body { font-size: 1.06rem; }
}
@media (min-width: 2200px) {
  :root { --maxw: 1680px; }
  body { font-size: 1.12rem; }
}

@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .journey { grid-template-columns: 1fr; gap: 48px; }
  /* stacked layout: turn the connector arrows downward, centered in the gap */
  .jstep .arrow { display: block; left: 50%; top: auto; bottom: -38px;
    transform: translateX(-50%) rotate(90deg); width: 34px; height: 34px; }
  .jstep:last-child .arrow { display: none; }
  .project { grid-template-columns: 1fr; gap: 18px; }
  .metrics { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .ops-card { display: none; }
  .nav-cta .btn { display: none; }
  .nav.open .nav-cta .btn { display: inline-flex; }
}

/* very small phones */
@media (max-width: 420px) {
  :root { --gut: 18px; }
  .display { font-size: clamp(2.1rem, 11vw, 2.7rem); }
  .brand img { height: 30px; }
  .client { padding: 13px 20px; font-size: 0.95rem; }
  .cta-strip { padding: 32px 22px; border-radius: 20px; }
  .stat .num { font-size: 2.2rem; }
  .metric { white-space: normal; }
}
