/* =========================================================
   QProNet — site theme (v2 · "rich")
   One stylesheet for every page. Fonts are loaded in each page <head>.
   ========================================================= */

:root {
  /* dark surfaces */
  --ink: #04130C;
  --ink-2: #0A1F15;
  --ink-3: #11301F;
  --line-d: #18352A;
  --line-d2: #26493A;
  /* page canvas + default text — theme-dependent (overridden by [data-theme="light"]) */
  --paper: #0A2016;
  --white: #FFFFFF;      /* literal white — text/icons that must stay white on a colored fill, in both themes */
  --line: #234836;
  --line-2: #2C5641;
  --text: #EDF5EF;
  --text-2: #ABC2B4;
  --text-3: #7E968A;
  --on-dark: #FFFFFF;
  --on-dark-2: #ABC2B4;
  --on-dark-3: #7E968A;
  /* brand */
  --green: #16803A;      /* primary — 5:1 with white text */
  --green-d: #0F6A2F;
  --brand: #015401;      /* logo green */
  --mint: #7BE08E;       /* highlight on dark */
  --mint-2: #A6EBB2;
  --mint-bg: rgba(123,224,142,.12);
  --gold: #E9C46A;       /* tiny accent for "featured" */
  /* theme-dependent surfaces (overridden by [data-theme="light"]) */
  --sec: var(--ink);              /* background of .dark sections */
  --sec-2: #061A10;
  --top: #020B07; --top-link: #C9DCD0; --nav-link: #D5E6DB;
  --hdr: rgba(4,19,12,.72); --menu-bg: rgba(10,31,21,.92);
  --glass: rgba(16,42,27,.55); --scrim: rgba(4,19,12,.5);
  --grid-line: rgba(123,224,142,.06);
  /* acrylic surfaces — translucent + blurred, used by cards/panels/forms */
  --acrylic: rgba(20,48,32,.5);
  --acrylic-2: rgba(20,48,32,.62);
  --acrylic-border: rgba(166,235,178,.16);
  --acrylic-blur: blur(22px) saturate(160%);
  --foot: #020B07; --foot-text: #8AA396; --foot-line: #1E3A2C; --foot-line-2: #12261C;
  --ink-fixed: #04130C;
  color-scheme: dark light;

  --f-display: 'Archivo', system-ui, sans-serif;
  --f-serif: 'Instrument Serif', Georgia, serif;
  --f-body: 'Figtree', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  --r: 22px;
  --r-lg: 30px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 60px -30px rgba(4, 19, 12, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 90px; }
body {
  margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--paper); overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-d); }
h1, h2, h3, h4, p, figure, ul { margin: 0; }
button { font: inherit; }
::selection { background: var(--mint); color: var(--ink); }

.container { max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.narrow { max-width: 860px; margin-left: auto; margin-right: auto; }
.mono { font-family: var(--f-mono); }
.disp { font-family: var(--f-display); }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }

/* =========================================================
   Surfaces
   ========================================================= */
.dark { background: var(--sec); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; }
.light { background: var(--sec); color: var(--on-dark); }
.paper { background: var(--paper); }
.dark > .container { position: relative; z-index: 1; }
.lines-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .55;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
}
.aura {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; filter: blur(10px);
  background: radial-gradient(circle, rgba(22,128,58,.55), rgba(22,128,58,0) 65%);
  width: 640px; height: 640px; animation: drift 16s ease-in-out infinite;
}
.aura.soft { background: radial-gradient(circle, rgba(123,224,142,.22), rgba(123,224,142,0) 65%); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.dark .rule { background: var(--line-d); }

/* =========================================================
   Header + navigation
   ========================================================= */
.topbar { background: var(--top); color: var(--on-dark-3); font-size: 13px; border-bottom: 1px solid var(--line-d); }
.topbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: var(--top-link); text-decoration: none; }
.topbar a:hover { color: var(--mint); }
.topbar .grp { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
@media (max-width: 720px) { .topbar .social { display: none; } }
.nav-cta .theme-btn { display: none; }
@media (max-width: 720px) { .nav-cta .theme-btn { display: inline-flex; } }

.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--hdr); backdrop-filter: var(--acrylic-blur); -webkit-backdrop-filter: var(--acrylic-blur);
  border-bottom: 1px solid var(--acrylic-border); transition: background-color .3s, box-shadow .3s;
}
.site-header.scrolled { background: var(--hdr); box-shadow: 0 14px 40px -24px rgba(0,0,0,.7); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 74px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 36px; width: auto; }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; border: 0; background: transparent;
  color: var(--nav-link); text-decoration: none; font-weight: 500; font-size: 15px; cursor: pointer; transition: background-color .2s, color .2s;
}
.menu > li > a:hover, .menu > li > button:hover, .menu > li > a[aria-current="page"], .menu > li.open > button { background: rgba(123,224,142,.1); color: var(--on-dark); }
.menu .caret { transition: transform .25s var(--ease); }
.menu li.open .caret { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; width: min(760px, 92vw); transform: translate(-50%, 8px);
  background: var(--menu-bg); border: 1px solid var(--acrylic-border); border-radius: 22px; padding: 18px;
  -webkit-backdrop-filter: var(--acrylic-blur); backdrop-filter: var(--acrylic-blur);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); opacity: 0; pointer-events: none; transition: opacity .22s, transform .22s var(--ease);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px;
}
.menu li.open .mega { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.mega a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; color: var(--on-dark); text-decoration: none; transition: background-color .2s; }
.mega a:hover { background: rgba(123,224,142,.08); color: var(--on-dark); }
.mega .ic { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--ink-3); border: 1px solid var(--line-d2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mega .ic img { width: 100%; height: 100%; object-fit: contain; }
.mega b { display: block; font-weight: 600; font-size: 14px; }
.mega small { display: block; color: var(--on-dark-3); font-size: 12.5px; line-height: 1.35; }
.mega .mega-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; padding: 14px 12px 4px; border-top: 1px solid var(--line-d); font-size: 14px; color: var(--on-dark-2); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-d2); background: transparent; cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 1040px) {
  .menu-btn { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .menu {
    position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); flex-direction: column; align-items: stretch;
    background: var(--menu-bg); border: 1px solid var(--acrylic-border); border-radius: 22px; padding: 10px; max-height: calc(100vh - 110px); overflow-y: auto;
    -webkit-backdrop-filter: var(--acrylic-blur); backdrop-filter: var(--acrylic-blur);
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease);
  }
  .menu.open { opacity: 1; pointer-events: auto; transform: none; }
  .menu > li > a, .menu > li > button { width: 100%; justify-content: space-between; padding: 14px 16px; border-radius: 14px; }
  .mega { position: static; transform: none; width: auto; display: none; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 4px 0 8px; background: transparent; opacity: 1; pointer-events: auto; }
  .menu li.open .mega { display: grid; transform: none; }
  .mega .mega-foot { display: none; }
}

/* =========================================================
   Type
   ========================================================= */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.no-line::before { display: none; }
.dark .eyebrow { color: var(--mint); }
.chip-live { display: inline-flex; align-items: center; gap: 10px; padding: 8px 15px 8px 12px; border-radius: 999px; border: 1px solid var(--line-d2); background: rgba(123,224,142,.07); font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mint-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex: none; animation: pulse 1.8s ease-out infinite; }

.h-hero { font-family: var(--f-display); font-weight: 700; font-size: clamp(42px, 6.2vw, 92px); line-height: 1.0; letter-spacing: -.045em; }
.h-hero .serif, .h-section .serif, .h-card .serif, .h-page .serif { color: var(--green); font-size: 1.08em; letter-spacing: -.02em; }
.dark .h-hero .serif, .dark .h-section .serif, .dark .h-card .serif, .dark .h-page .serif, .card-dark .serif, .glass .serif { color: var(--mint); }
.h-page { font-family: var(--f-display); font-weight: 700; font-size: clamp(38px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -.04em; }
.h-section { font-family: var(--f-display); font-weight: 700; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -.035em; }
.h-card { font-family: var(--f-display); font-weight: 700; font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
.h-lg { font-size: clamp(26px, 2.6vw, 34px); }
.lead { font-size: 19px; line-height: 1.65; color: var(--text-2); }
.dark .lead { color: var(--on-dark-2); }
.muted { color: var(--text-3); }
.dark .muted { color: var(--on-dark-3); }
.small { font-size: 14px; }
.accent { color: var(--mint); }
.accent-g { color: var(--green); }

/* rotating word */
.rotator { display: inline-block; height: 1.08em; overflow: hidden; vertical-align: bottom; }
.rotator > span { display: inline-block; animation: words 9s cubic-bezier(.7,0,.2,1) infinite; }
.rotator > span > span { display: block; height: 1.08em; }

/* =========================================================
   Buttons + links
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px;
  border: 1px solid transparent; font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: var(--white); box-shadow: 0 14px 30px -14px rgba(22,128,58,.8); }
.btn-primary:hover { background: var(--green-d); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink-fixed); }
.btn-light:hover { color: var(--ink-fixed); background: #E8F3EA; }
.btn-ghost { background: rgba(255,255,255,.02); color: var(--on-dark); border-color: var(--line-d2); }
.btn-ghost:hover { color: var(--on-dark); border-color: var(--mint); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-outline:hover { color: var(--text); border-color: var(--green); }
.btn-sm { padding: 11px 18px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; }
.link .arr { transition: transform .25s var(--ease); }
.link:hover .arr, a:hover .link .arr, .card-link:hover .link .arr { transform: translateX(5px); }
.dark .link { color: var(--mint); }

/* =========================================================
   What we do
   ========================================================= */
#what-we-do {
  background: var(--sec); color: var(--on-dark);
}

/* =========================================================
   Layout
   ========================================================= */
.section { padding-top: 120px; padding-bottom: 120px; }
.section-sm { padding-top: 84px; padding-bottom: 84px; }
.head { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }
.head > div { max-width: 740px; }
.head > p { max-width: 440px; }
.head .h-section { margin-top: 18px; }
.head.center { justify-content: center; text-align: center; }
.head.center > div { margin: 0 auto; }
.head.center .lead { margin: 18px auto 0; max-width: 680px; }
.grid { display: grid; gap: 18px; }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.g-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.split { display: flex; flex-wrap: wrap; gap: 56px 72px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 16px; }

/* =========================================================
   Hero
   ========================================================= */
.hero { padding-top: 96px; padding-bottom: 0; }
.hero-grid { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; }
.hero-grid > .copy { flex: 999 1 560px; min-width: 0; }
.hero-grid > .art { flex: 1 1 380px; min-width: 0; }
.hero .h-hero { margin-top: 26px; }
.hero .lead { max-width: 620px; margin-top: 26px; }
.checks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; }
.checks li { display: flex; gap: 9px; align-items: center; font-size: 15px; color: var(--on-dark-2); }
.checks svg { flex: none; }
.page-hero { padding-top: 104px; padding-bottom: 104px; }
.page-hero .lead { max-width: 700px; margin-top: 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--f-mono); font-size: 12px; color: var(--on-dark-3); text-transform: uppercase; letter-spacing: .08em; }
.crumbs a { color: var(--on-dark-2); text-decoration: none; }
.crumbs a:hover { color: var(--mint); }

/* product stage — a lit plinth for transparent renders */
.stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.stage::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(123,224,142,.30), rgba(22,128,58,.12) 45%, rgba(4,19,12,0) 70%); }
.stage::after { content: ""; position: absolute; inset: 2%; border-radius: 50%; border: 1px dashed rgba(123,224,142,.18); animation: spin 60s linear infinite; }
.stage img { position: relative; z-index: 1; width: 100%; height: auto; filter: drop-shadow(0 40px 50px rgba(0,0,0,.45)); animation: float 6s ease-in-out infinite; }
.stage.light::before { background: radial-gradient(circle at 50% 45%, rgba(22,128,58,.16), rgba(22,128,58,.05) 45%, rgba(255,255,255,0) 70%); }
.stage.light::after { border-color: rgba(22,128,58,.18); }
.stage.light img { filter: drop-shadow(0 30px 40px rgba(4,19,12,.18)); }
.stage.still img { animation: none; }

/* floating glass badges around a stage */
.badge-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 11px 15px; border-radius: 16px; background: var(--glass); border: 1px solid var(--acrylic-border); backdrop-filter: var(--acrylic-blur); -webkit-backdrop-filter: var(--acrylic-blur); color: var(--on-dark); font-size: 13.5px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.7); animation: float 7s ease-in-out infinite; }
.badge-float b { font-family: var(--f-display); font-size: 18px; }
.badge-float .k { font-family: var(--f-mono); font-size: 11px; color: var(--on-dark-3); text-transform: uppercase; letter-spacing: .06em; display: block; }

/* =========================================================
   Stats
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border-top: 1px solid var(--line-d); }
.stats > div { padding: 30px 24px 34px 0; position: relative; }
.stats > div + div { padding-left: 24px; }
.stats > div + div::before { content: ""; position: absolute; left: 0; top: 30px; bottom: 34px; width: 1px; background: var(--line-d); }
.stat-n { font-family: var(--f-display); font-weight: 700; font-size: clamp(40px, 4.4vw, 58px); letter-spacing: -.04em; line-height: 1; }
.stat-n small { font-size: .5em; color: var(--mint); margin-left: 2px; letter-spacing: 0; }
.stat-l { color: var(--on-dark-3); margin-top: 10px; font-size: 15px; }
.paper .stats, .light .stats, .stats.on-light { border-color: var(--line-2); }
.paper .stats > div + div::before, .light .stats > div + div::before, .stats.on-light > div + div::before { background: var(--line-2); }
.paper .stat-n small, .light .stat-n small, .stats.on-light .stat-n small { color: var(--green); }
.paper .stat-l, .light .stat-l, .stats.on-light .stat-l { color: var(--text-3); }
@media (max-width: 560px) { .stats > div { padding: 22px 12px 24px 0; } .stats > div + div { padding-left: 16px; } .stats > div:nth-child(odd)::before { display: none; } .stats > div:nth-child(odd) { padding-left: 0; } }

/* =========================================================
   Marquee
   ========================================================= */
.marquee-wrap { overflow: hidden; border-top: 1px solid var(--line-d); padding: 24px 0; position: relative; z-index: 1; }
.marquee { display: flex; width: max-content; gap: 56px; animation: marquee 34s linear infinite; font-family: var(--f-mono); font-size: 14px; letter-spacing: .08em; color: #6F8A7C; white-space: nowrap; }
.marquee .sep { color: var(--mint); }
.marquee-wrap:hover .marquee { animation-play-state: paused; }

/* =========================================================
   Cards
   ========================================================= */
.card {
  position: relative; border-radius: var(--r); padding: 30px; display: flex; flex-direction: column; gap: 14px;
  background: var(--acrylic); border: 1px solid var(--acrylic-border);
  -webkit-backdrop-filter: var(--acrylic-blur); backdrop-filter: var(--acrylic-blur);
  color: var(--on-dark);
}
.card p { color: var(--on-dark-2); line-height: 1.6; }
.paper .card.on-paper, .card.tint { background: var(--acrylic-2); }
.card.card-dark { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.card.card-dark p { color: var(--on-dark-2); }
.card.glass {
  color: var(--on-dark); border: 1px solid transparent;
  background: linear-gradient(var(--acrylic), var(--acrylic)) padding-box, linear-gradient(160deg, rgba(123,224,142,.38), rgba(123,224,142,.04) 40%, rgba(123,224,142,.14)) border-box;
  -webkit-backdrop-filter: var(--acrylic-blur); backdrop-filter: var(--acrylic-blur);
}
.card.glass p { color: var(--on-dark-2); }
.card.green { background: var(--green); border-color: var(--green); color: var(--white); }
.card.green p { color: #DDF5E2; }
.card-link { text-decoration: none; color: inherit; }
.card-link:hover { color: inherit; }
.lift { transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.lift:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #A9D9B4; }
.card.glass.lift:hover, .card.card-dark.lift:hover { box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(123,224,142,.25); }
.num { font-family: var(--f-mono); font-size: 13px; color: var(--green); letter-spacing: .04em; }
.dark .num, .card-dark .num, .glass .num { color: var(--mint); }
.tag { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.dark .tag, .card-dark .tag, .glass .tag { color: var(--on-dark-3); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { font-size: 12.5px; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: var(--mint-bg); color: var(--mint-2); }

.ico { width: 52px; height: 52px; flex: none; border-radius: 15px; display: flex; align-items: center; justify-content: center; background: var(--mint-bg); border: 1px solid var(--acrylic-border); }
.ico svg { width: 24px; height: 24px; stroke: var(--mint); }
.ico img { width: 30px; height: 30px; object-fit: contain; }
.ico-3d { width: 84px; height: 84px; flex: none; }
.ico-3d img { width: 100%; height: 100%; object-fit: contain; }

/* feature tiles (product pages) */
.feat { flex-direction: row; align-items: center; gap: 16px; padding: 18px 22px; }
.feat .h-card { font-size: 18px; }
.feat .ico-3d { width: 76px; height: 76px; margin: -6px 0; }
.feat .ico-3d img { transform: scale(1.25); }

/* checklist */
.list-check { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.list-check li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.list-check li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background-color: rgba(123,224,142,.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237BE08E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.list-check li.no { color: var(--on-dark-3); text-decoration: line-through; text-decoration-color: var(--line-d2); }
.list-check li.no::before { background: rgba(123,224,142,.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239AA59E' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center/11px no-repeat; }

/* showcase cards (featured work — Mesiniaga "case study" style) */
.work { display: grid; gap: 18px; grid-auto-flow: dense; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.work-card { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); color: var(--on-dark); text-decoration: none; display: flex; flex-direction: column; min-height: 460px; border: 1px solid var(--line-d); transition: transform .45s var(--ease), box-shadow .45s; }
.work-card:hover { transform: translateY(-6px); color: var(--on-dark); box-shadow: 0 40px 70px -35px rgba(0,0,0,.8); }
.work-card .art { position: relative; flex: 1; min-height: 260px; display: flex; align-items: center; justify-content: center; padding: 26px; background: radial-gradient(circle at 50% 60%, rgba(123,224,142,.22), rgba(10,31,21,0) 62%); }
.work-card .art img { max-height: 250px; width: auto; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(0,0,0,.45)); transition: transform .6s var(--ease); }
.work-card:hover .art img { transform: scale(1.06) translateY(-4px); }
.work-card .art.photo { padding: 0; }
.work-card .art.photo img { max-height: none; width: 100%; height: 100%; object-fit: cover; filter: none; position: absolute; inset: 0; }
.work-card .art.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,19,12,0) 30%, rgba(4,19,12,.85)); }
.work-card .body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line-d); background: var(--scrim); position: relative; z-index: 1; }
.work-card .body p { color: var(--on-dark-2); font-size: 15px; }
.work-card .go { position: absolute; top: 18px; right: 18px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--acrylic-border); background: var(--glass); backdrop-filter: var(--acrylic-blur); -webkit-backdrop-filter: var(--acrylic-blur); display: flex; align-items: center; justify-content: center; transition: transform .35s var(--ease), background-color .3s, border-color .3s; }
.work-card:hover .go { transform: rotate(45deg); background: var(--green); border-color: var(--green); }
.work-card .label { position: absolute; top: 20px; left: 20px; z-index: 2; }
.work-card.wide { grid-column: span 2; flex-direction: row; min-height: 380px; }
.work-card.wide .art { flex: 1.2; }
.work-card.wide .body { flex: 1; border-top: 0; border-left: 1px solid var(--line-d); justify-content: flex-end; padding: 34px; }
@media (max-width: 760px) { .work-card.wide { grid-column: auto; flex-direction: column; } .work-card.wide .body { border-left: 0; border-top: 1px solid var(--line-d); } }

/* service tiles with photos */
.svc { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); text-decoration: none; background: var(--ink); isolation: isolate; }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4,19,12,.25) 0%, rgba(4,19,12,.35) 30%, rgba(4,19,12,.95) 78%); }
.svc:hover img { transform: scale(1.06); }
.svc .body { padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.svc .body p { color: #CFE0D5; font-size: 15px; }
.svc button.link, .svc .link { color: var(--mint); background: none; border: 0; padding: 6px 0; cursor: pointer; }
.svc .num { position: absolute; top: 20px; left: 20px; color: #7BE08E; background: rgba(4,19,12,.7); backdrop-filter: blur(6px); padding: 6px 10px; border-radius: 999px; }

/* =========================================================
   Lists, rows, steps, timeline
   ========================================================= */
.rows { border-top: 1px solid var(--line-2); }
.row { display: flex; flex-wrap: wrap; gap: 10px 32px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line-2); }
.row .num { width: 48px; }
.row h3 { flex: 1 1 260px; font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.02em; }
.row p { flex: 1 1 340px; color: var(--text-2); }
.dark .rows, .dark .row { border-color: var(--line-d); }
.dark .row p { color: var(--on-dark-2); }

.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: s; }
.step {
  position: relative; padding: 28px 26px; border-radius: var(--r); display: flex; flex-direction: column; gap: 12px;
  background: var(--acrylic); border: 1px solid var(--acrylic-border);
  -webkit-backdrop-filter: var(--acrylic-blur); backdrop-filter: var(--acrylic-blur);
  color: var(--on-dark);
}
.step .n { font-family: var(--f-display); font-weight: 800; font-size: 46px; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--mint); }
.step p { color: var(--on-dark-2); }
.step .chip-k { align-self: flex-start; font-family: var(--f-mono); font-size: 12px; padding: 6px 10px; border-radius: 8px; background: var(--ink-3); color: var(--on-dark-2); }

.timeline { position: relative; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.tl-item {
  position: relative; padding: 30px 24px 26px; border-radius: var(--r); display: flex; flex-direction: column; gap: 10px;
  background: var(--acrylic); border: 1px solid var(--acrylic-border);
  -webkit-backdrop-filter: var(--acrylic-blur); backdrop-filter: var(--acrylic-blur);
  color: var(--on-dark);
}
.tl-item .trl { align-self: flex-start; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-d2); color: var(--on-dark-2); }
.tl-item.now { background: var(--acrylic-2); border: 1px solid var(--mint); }
.tl-item.now .trl { background: var(--mint); color: var(--ink); border-color: var(--mint); font-weight: 600; }
.tl-item.done .trl { color: var(--mint); border-color: rgba(123,224,142,.4); }
.tl-item p { color: var(--on-dark-2); font-size: 15px; }
.tl-bar { height: 4px; border-radius: 4px; background: var(--line-d); margin: 0 0 28px; position: relative; overflow: hidden; }
.tl-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: linear-gradient(90deg, var(--green), var(--mint)); }

.status { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; }
.status.ok { background: var(--mint-bg); color: var(--mint-2); }
.status.wait { background: rgba(233,196,106,.16); color: var(--gold); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* =========================================================
   Pricing
   ========================================================= */
.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); max-width: 920px; margin: 0 auto; }
.plan {
  border-radius: var(--r-lg); padding: 36px; display: flex; flex-direction: column; gap: 22px;
  background: var(--acrylic); border: 1px solid var(--acrylic-border);
  -webkit-backdrop-filter: var(--acrylic-blur); backdrop-filter: var(--acrylic-blur);
  color: var(--on-dark);
}
.plan p, .plan .list-check { color: var(--on-dark-2); }
.plan .price { font-family: var(--f-display); font-weight: 700; font-size: 56px; letter-spacing: -.04em; line-height: 1; }
.plan .price small { font-family: var(--f-body); font-size: 16px; font-weight: 500; color: var(--text-3); letter-spacing: 0; }
.plan.featured {
  background: var(--acrylic-2); border-color: var(--mint); color: var(--on-dark);
  position: relative; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(4,19,12,.7);
}
.plan.featured::before { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(123,224,142,.35), rgba(123,224,142,0) 65%); }
.plan.featured > * { position: relative; }
.plan.featured .price small { color: var(--on-dark-3); }
.plan .ribbon { align-self: flex-start; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--mint); color: var(--ink); font-weight: 600; }
.plan .list-check { gap: 11px; font-size: 15.5px; }
.plan .btn { margin-top: auto; }

/* =========================================================
   Tabs (QProQMS modules)
   ========================================================= */
.tabs {
  display: flex; gap: 6px; overflow-x: auto; padding: 6px; border-radius: 999px; scrollbar-width: none;
  background: var(--acrylic); border: 1px solid var(--acrylic-border);
  -webkit-backdrop-filter: var(--acrylic-blur); backdrop-filter: var(--acrylic-blur);
}
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 11px 18px; border-radius: 999px; border: 0; background: transparent; color: var(--on-dark-2); font-weight: 500; font-size: 15px; cursor: pointer; transition: background-color .2s, color .2s; }
.tab:hover { color: var(--on-dark); }
.tab[aria-selected="true"] { background: var(--green); color: var(--white); }
.tab-panel { display: none; margin-top: 26px; }
.tab-panel.active { display: grid; animation: up .5s var(--ease) both; }
.mod {
  padding: 22px 22px 24px; border-radius: 18px; display: flex; flex-direction: column; gap: 8px;
  background: var(--acrylic); border: 1px solid var(--acrylic-border);
  -webkit-backdrop-filter: var(--acrylic-blur); backdrop-filter: var(--acrylic-blur);
}
.mod h4 { font-family: var(--f-display); font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: var(--on-dark); }
.mod p { color: var(--on-dark-2); font-size: 14.5px; line-height: 1.55; }

/* =========================================================
   Table
   ========================================================= */
.table-wrap {
  overflow-x: auto; border-radius: var(--r);
  background: var(--acrylic); border: 1px solid var(--acrylic-border);
  -webkit-backdrop-filter: var(--acrylic-blur); backdrop-filter: var(--acrylic-blur);
  color: var(--on-dark);
}
table.t { width: 100%; border-collapse: collapse; min-width: 760px; }
table.t th, table.t td { text-align: left; padding: 20px 22px; vertical-align: top; border-bottom: 1px solid var(--acrylic-border); }
table.t th { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-3); font-weight: 500; background: transparent; }
table.t tr:last-child td { border-bottom: 0; }
table.t td:first-child { font-family: var(--f-display); font-weight: 700; font-size: 18px; }
table.t td.q { font-family: var(--f-serif); font-style: italic; font-size: 20px; color: var(--mint); line-height: 1.35; }

/* =========================================================
   Media
   ========================================================= */
.frame {
  border-radius: var(--r-lg); overflow: hidden; position: relative;
  background: var(--acrylic); border: 1px solid var(--acrylic-border);
  -webkit-backdrop-filter: var(--acrylic-blur); backdrop-filter: var(--acrylic-blur);
}
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }
.video-hero { position: absolute; inset: 0; z-index: -1; }
.video-hero video { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.video-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--scrim), var(--hdr)); }

.hscroll { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll figure { flex: 0 0 min(440px, 84vw); scroll-snap-align: start; border-radius: var(--r-lg); overflow: hidden; position: relative; background: var(--ink-2); aspect-ratio: 4 / 3.4; }
.hscroll img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.hscroll figure:hover img { transform: scale(1.05); }
.hscroll figcaption { position: absolute; left: 14px; bottom: 14px; font-family: var(--f-mono); font-size: 12px; color: var(--white); background: rgba(4,19,12,.72); backdrop-filter: blur(6px); padding: 7px 12px; border-radius: 999px; }
.arrows { display: flex; gap: 10px; }
.arrows button {
  width: 50px; height: 50px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--text); border: 1px solid var(--line-2); background: var(--acrylic);
  -webkit-backdrop-filter: var(--acrylic-blur); backdrop-filter: var(--acrylic-blur);
  transition: border-color .2s, transform .2s, background-color .2s;
}
.arrows button:hover { border-color: var(--green); transform: translateY(-2px); }
.dark .arrows button, .light .arrows button { background: var(--acrylic); border-color: var(--line-d2); color: var(--on-dark); }

/* team */
.person {
  border-radius: var(--r-lg); overflow: hidden; color: var(--on-dark);
  background: var(--acrylic); border: 1px solid var(--acrylic-border);
  -webkit-backdrop-filter: var(--acrylic-blur); backdrop-filter: var(--acrylic-blur);
}
.person .ph { aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--ink-3); }
.person .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .7s var(--ease); }
.person:hover .ph img { transform: scale(1.04); }
.person .body { padding: 20px 22px 22px; }
.person .body p { color: var(--on-dark-3); font-size: 15px; margin-top: 4px; }

/* ISO standard cards */
.iso-card { gap: 16px; }
.iso-code { font-family: var(--f-display); font-weight: 800; font-size: 40px; letter-spacing: -.04em; line-height: 1; }
.iso-code small { font-size: .45em; font-weight: 600; color: var(--text-3); letter-spacing: 0; margin-left: 4px; }
.glass .iso-code small { color: var(--on-dark-3); }

/* outcome meters */
.meter { height: 6px; border-radius: 6px; background: var(--line-d); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--green), var(--mint)); width: 0; transition: width 1.6s var(--ease); }
.in .meter i { width: var(--v); }

/* =========================================================
   Contact
   ========================================================= */
.ch-list { border-top: 1px solid var(--line-d); }
.ch { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: 20px 0; border: 0; border-bottom: 1px solid var(--line-d); background: transparent; text-align: left; color: var(--on-dark); text-decoration: none; cursor: pointer; transition: padding-left .35s var(--ease); }
.ch:hover { padding-left: 10px; color: var(--on-dark); }
.ch .k { width: 100px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--on-dark-3); }
.ch .v { flex: 1 1 220px; font-family: var(--f-display); font-weight: 700; font-size: clamp(19px, 1.9vw, 25px); letter-spacing: -.02em; transition: color .3s; }
.ch:hover .v { color: var(--mint); }
.ch .arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-d2); display: flex; align-items: center; justify-content: center; transition: transform .35s var(--ease), background-color .3s, border-color .3s; }
.ch:hover .arrow { transform: rotate(45deg); background: var(--green); border-color: var(--green); }
.form-card {
  border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); color: var(--on-dark);
  background: var(--acrylic); border: 1px solid var(--acrylic-border);
  -webkit-backdrop-filter: var(--acrylic-blur); backdrop-filter: var(--acrylic-blur);
}
.field {
  width: 100%; font: inherit; font-size: 16px; color: var(--on-dark); border-radius: 14px; padding: 14px 16px; outline: none;
  background: rgba(0,0,0,.12); border: 1px solid var(--acrylic-border); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field::placeholder { color: var(--on-dark-3); opacity: .8; }
.field:focus { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(123,224,142,.12); }
label.lbl { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topic { font-size: 14px; font-weight: 500; cursor: pointer; border-radius: 999px; padding: 10px 16px; border: 1px solid var(--acrylic-border); background: transparent; color: var(--on-dark-2); transition: background-color .2s, border-color .2s, color .2s; }
.topic:hover { border-color: var(--mint); }
.topic[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--white); }

/* CTA band */
.cta-band { border-radius: 34px; padding: clamp(32px, 5vw, 72px); position: relative; overflow: hidden; isolation: isolate; background: var(--green); color: var(--white); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 85% 0%, rgba(166,235,178,.45), rgba(22,128,58,0) 55%), radial-gradient(circle at 0% 100%, rgba(4,19,12,.5), rgba(4,19,12,0) 60%); }
.cta-band .lead { color: #DDF5E2; }
.cta-band .h-section .serif { color: var(--white); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--foot); color: var(--foot-text); position: relative; overflow: hidden; }
.site-footer .wordmark { --wm-stroke: #2E5542; font-family: var(--f-display); font-weight: 800; font-size: clamp(64px, 15vw, 230px); letter-spacing: -.06em; line-height: .78; color: transparent; -webkit-text-stroke: 2px var(--wm-stroke); text-shadow: 2px var(--wm-stroke); -webkit-text-fill-color: transparent; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: geometricPrecision; user-select: none; margin-top: 72px; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
@supports not (-webkit-text-stroke: 1px black) { .site-footer .wordmark { color: var(--wm-stroke); -webkit-text-fill-color: initial; } }
.foot-top { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 80px; }
.foot-top .about { flex: 1.4 1 300px; }
.foot-top .about p { margin-top: 18px; max-width: 360px; line-height: 1.65; }
.foot-top .cols { flex: 3 1 560px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; }
.foot-top h4 { color: var(--on-dark); font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.foot-top ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-top a { color: var(--foot-text); text-decoration: none; transition: color .2s; }
.foot-top a:hover { color: var(--mint); }
.socials { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--foot-line); display: flex; align-items: center; justify-content: center; transition: border-color .2s, background-color .2s, transform .2s; }
.socials a:hover { border-color: var(--mint); background: rgba(123,224,142,.08); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; fill: var(--top-link); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; border-top: 1px solid var(--foot-line-2); margin-top: 56px; padding: 24px 0 30px; font-size: 14px; }
.foot-bottom a { color: var(--foot-text); text-decoration: none; }

/* =========================================================
   Status pages
   ========================================================= */
.status-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--sec); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; }
.status-page > header, .status-page > footer { position: relative; z-index: 1; }
.status-page main { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; position: relative; z-index: 1; }
.status-code { font-family: var(--f-display); font-weight: 800; letter-spacing: -.07em; line-height: .82; font-size: clamp(130px, 26vw, 310px); color: transparent; -webkit-text-stroke: 1.5px var(--line-d2); }
.status-code span { color: var(--mint); -webkit-text-stroke: 0; font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.progress { height: 6px; background: var(--ink-3); border-radius: 999px; overflow: hidden; max-width: 380px; margin: 0 auto; }
.progress > i { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, var(--green), var(--mint)); border-radius: 999px; animation: load 2.2s ease-in-out infinite; }

/* =========================================================
   Lightbox
   ========================================================= */
.lb { position: fixed; inset: 0; z-index: 400; background: rgba(2,11,7,.94); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; animation: fade .25s both; }
.lb img { max-width: 86vw; max-height: 84vh; object-fit: contain; border-radius: 12px; animation: zoomin .3s var(--ease) both; }
.lb.zoomed { overflow: auto; align-items: flex-start; justify-content: flex-start; }
.lb.zoomed img { max-width: none; max-height: none; cursor: zoom-out; }
.lb-tools { position: fixed; top: 14px; right: 14px; display: flex; gap: 6px; z-index: 2; }
.lb-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid #26493A; background: rgba(10,31,21,.85); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-btn:hover { border-color: var(--mint); }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; z-index: 2; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }

/* =========================================================
   Motion
   ========================================================= */
@keyframes up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomin { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes words { 0%,26% { transform: translateY(0); } 33%,59% { transform: translateY(-1.08em); } 66%,92% { transform: translateY(-2.16em); } 100% { transform: translateY(-3.24em); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(123,224,142,.5); } 100% { box-shadow: 0 0 0 12px rgba(123,224,142,0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes drift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-60px,40px); } }
@keyframes load { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }

.a-up { animation: up 1s var(--ease) both; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .22s; } .d3 { animation-delay: .34s; } .d4 { animation-delay: .46s; } .d5 { animation-delay: .58s; }
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

@media (max-width: 900px) {
  .badge-float { display: none; }
}
@media (max-width: 640px) {
  .section { padding-top: 84px; padding-bottom: 84px; }
  .hero { padding-top: 64px; }
  .page-hero { padding-top: 72px; padding-bottom: 72px; }
  .card { padding: 24px; }
  .plan { padding: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .meter i { width: var(--v); }
  html { scroll-behavior: auto; }
}

/* ISO hero certificate */
.cert {
  position: relative; border-radius: 28px; padding: 34px; color: var(--on-dark);
  background: var(--acrylic-2); border: 1px solid transparent;
  background: linear-gradient(var(--acrylic-2), var(--acrylic-2)) padding-box, linear-gradient(160deg, rgba(123,224,142,.6), rgba(123,224,142,.05) 45%, rgba(233,196,106,.35)) border-box;
  -webkit-backdrop-filter: var(--acrylic-blur); backdrop-filter: var(--acrylic-blur);
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.85);
}
.cert .seal { position: absolute; right: 26px; top: 26px; width: 74px; height: 74px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle, rgba(233,196,106,.25), rgba(233,196,106,.05)); border: 1px dashed rgba(233,196,106,.6); animation: spin 40s linear infinite; }
.cert .seal svg { animation: spin 40s linear infinite reverse; }
.cert-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cert-row span { font-family: var(--f-mono); font-size: 12.5px; padding: 8px 12px; border-radius: 10px; background: rgba(123,224,142,.08); border: 1px solid var(--line-d2); color: var(--mint-2); }

/* =========================================================
   Logo + theme switch
   ========================================================= */
.logo-on-light { display: none; }
[data-theme="light"] .logo-on-light { display: block; }
[data-theme="light"] .logo-on-dark { display: none; }
.theme-btn { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 1px solid var(--line-d2); background: transparent; color: var(--on-dark); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: border-color .2s, transform .3s var(--ease), background-color .2s; }
.theme-btn:hover { border-color: var(--mint); background: rgba(123,224,142,.08); }
.theme-btn:active { transform: rotate(-30deg) scale(.94); }
.theme-btn .i-moon { display: none; }
[data-theme="light"] .theme-btn .i-sun { display: none; }
[data-theme="light"] .theme-btn .i-moon { display: block; }
.topbar .theme-btn { width: 28px; height: 28px; border: 0; color: var(--top-link); }
.topbar .theme-btn:hover { border: 0; background: none; color: var(--mint); }
.topbar .theme-btn svg { width: 17px; height: 17px; }
.menu-btn { color: var(--on-dark); }
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: background-color .45s ease, color .45s ease, border-color .45s ease, fill .45s ease, stroke .45s ease !important; }

/* =========================================================
   LIGHT THEME
   Same layout and components; surfaces flip to paper/white and
   the mint highlight becomes the brand green.
   ========================================================= */
[data-theme="light"] {
  color-scheme: light;
  --ink: #FFFFFF;
  --ink-2: #FFFFFF;
  --ink-3: #EAF2EA;
  --line-d: #DCE5DB;
  --line-d2: #C3D2C5;
  --paper: #F6F8F4;
  --white: #FFFFFF;
  --line: #DFE6DD;
  --line-2: #C9D6CB;
  --text: #0B1A12;
  --text-2: #3A4D42;
  --text-3: #5B6F63;
  --on-dark: #0B1A12;
  --on-dark-2: #3A4D42;
  --on-dark-3: #5E7166;
  --mint: #16803A;
  --mint-2: #0F6A2F;
  --mint-bg: #E4F4E6;
  --sec: #EDF4EC;
  --sec-2: #E6EFE5;
  --top: #0F6A2F; --top-link: #FFFFFF; --nav-link: #2E4237;
  --hdr: rgba(255,255,255,.62); --menu-bg: rgba(255,255,255,.92);
  --glass: rgba(255,255,255,.55); --scrim: rgba(255,255,255,.72);
  --grid-line: rgba(22,128,58,.07);
  --acrylic: rgba(255,255,255,.48);
  --acrylic-2: rgba(255,255,255,.62);
  --acrylic-border: rgba(22,128,58,.14);
  --acrylic-blur: blur(22px) saturate(160%);
  --foot: #0B2416; --foot-text: #A9C2B3; --foot-line: #234434; --foot-line-2: #1A3426;
  --shadow: 0 30px 60px -30px rgba(4,19,12,.22);
}
[data-theme="light"] .topbar { color: #CFE8D6; border-bottom-color: #0F6A2F; }
[data-theme="light"] .topbar a:hover { color: #DDF5E2; }
[data-theme="light"] .site-header.scrolled { box-shadow: 0 14px 40px -24px rgba(4,19,12,.25); }
[data-theme="light"] .menu > li > a:hover, [data-theme="light"] .menu > li > button:hover,
[data-theme="light"] .menu > li > a[aria-current="page"], [data-theme="light"] .menu > li.open > button { background: var(--mint-bg); color: var(--green-d); }
[data-theme="light"] .mega { box-shadow: 0 40px 80px -30px rgba(4,19,12,.25); }
[data-theme="light"] .mega a:hover { background: var(--mint-bg); }
[data-theme="light"] .aura { opacity: .28; }
[data-theme="light"] .aura.soft { opacity: .6; }
[data-theme="light"] .chip-live { background: rgba(22,128,58,.07); }
[data-theme="light"] .dot { background: #1FA84D; }
[data-theme="light"] .stage::before { background: radial-gradient(circle at 50% 45%, rgba(22,128,58,.18), rgba(22,128,58,.06) 45%, rgba(255,255,255,0) 70%); }
[data-theme="light"] .stage::after { border-color: rgba(22,128,58,.2); }
[data-theme="light"] .stage img { filter: drop-shadow(0 30px 40px rgba(4,19,12,.18)); }
[data-theme="light"] .badge-float { box-shadow: 0 20px 40px -22px rgba(4,19,12,.3); }
[data-theme="light"] .card.card-dark { border-color: var(--line); }
[data-theme="light"] .card.glass { background: linear-gradient(var(--acrylic), var(--acrylic)) padding-box, linear-gradient(160deg, rgba(22,128,58,.3), rgba(22,128,58,.05) 40%, rgba(22,128,58,.15)) border-box; }
[data-theme="light"] .card.glass.lift:hover, [data-theme="light"] .card.card-dark.lift:hover { box-shadow: var(--shadow), 0 0 0 1px rgba(22,128,58,.2); }
[data-theme="light"] .work-card { border-color: var(--line); box-shadow: 0 1px 0 rgba(4,19,12,.02); }
[data-theme="light"] .work-card:hover { box-shadow: var(--shadow); }
[data-theme="light"] .work-card .art { background: radial-gradient(circle at 50% 60%, rgba(22,128,58,.12), rgba(255,255,255,0) 62%), #F7FAF6; }
[data-theme="light"] .work-card .art.photo { background: none; }
[data-theme="light"] .work-card .art img { filter: drop-shadow(0 24px 24px rgba(4,19,12,.18)); }
[data-theme="light"] .work-card .art.photo img { filter: none; }
[data-theme="light"] .work-card .label { background: rgba(255,255,255,.92); }
[data-theme="light"] .work-card .art.photo::after { background: linear-gradient(180deg, rgba(4,19,12,0) 50%, rgba(4,19,12,.35)); }
[data-theme="light"] .work-card:hover .go, [data-theme="light"] .ch:hover .arrow { color: #fff; }
[data-theme="light"] .plan.featured::before { background: radial-gradient(circle, rgba(22,128,58,.14), rgba(22,128,58,0) 65%); }
[data-theme="light"] .plan.featured .ribbon { background: var(--green); color: #fff; }
[data-theme="light"] .tl-item.now .trl { color: #fff; }
[data-theme="light"] .list-check li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316803A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); }
[data-theme="light"] .status.wait { background: #FBF3E0; color: #7A5A12; }
[data-theme="light"] .form-card { box-shadow: var(--shadow); }
[data-theme="light"] .field { background: rgba(0,0,0,.04); }
[data-theme="light"] .field:focus { background: rgba(255,255,255,.6); box-shadow: 0 0 0 4px rgba(22,128,58,.12); }
[data-theme="light"] .cert { box-shadow: 0 50px 90px -40px rgba(4,19,12,.3); }
[data-theme="light"] .site-footer .wordmark { --wm-stroke: #3E6E56; -webkit-text-stroke-color: var(--wm-stroke); color: var(--wm-stroke); }
[data-theme="light"] .foot-top h4 { color: #FFFFFF; }
[data-theme="light"] .site-footer .logo-on-dark { display: block; }
[data-theme="light"] .site-footer .logo-on-light { display: none; }
[data-theme="light"] .socials svg { fill: #DDEBE1; }
[data-theme="light"] .status-code { -webkit-text-stroke-color: #B7C9BB; }
[data-theme="light"] .marquee { color: #6A8173; }
[data-theme="light"] .video-hero video { opacity: .22; }
/* elements that sit on photos or the green band keep light-on-dark colours in both themes */
.svc .link, .svc button.link { color: #7BE08E; }
.cta-band .btn-ghost { color: #FFFFFF; border-color: rgba(255,255,255,.45); }
.cta-band .btn-ghost:hover { color: #FFFFFF; border-color: #FFFFFF; }
.pill.on-photo { background: rgba(4,19,12,.7); color: #A6EBB2; backdrop-filter: blur(6px); }
[data-theme="light"] .work-card .label.pill { color: #0E5A28; }

/* invisible bridge over the gap between "Solutions" and its panel, so the pointer never "leaves" the menu */
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.mega a { cursor: pointer; }
@media (max-width: 1040px) { .mega::before { display: none; } }
