/* Engagedu — site styles
   Dark, luminous heroes for impact; calm light sections for reading.
   Brand greens lead; each service carries its own accent.
   All motion is progressive: content is fully visible without JavaScript,
   and animation is switched off for visitors who prefer reduced motion.
   Icons: Uicons by Flaticon (see /assets/icons.css). */

@font-face { font-family: "Lexend"; src: url("/fonts/lexend.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/fonts/atkinson-next.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/fonts/atkinson-next-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --night: #051510;
  --night-2: #0a2219;
  --night-3: #10301f;
  --green-950: #08301d;
  --green-900: #0c3d25;
  --green-700: #11703f;
  --green-600: #169152;
  --neon: #3be37f;
  --mint: #a4f3c4;
  --green-100: #dcf3e4;
  --green-50: #f0f9f3;

  --ink: #0f1d16;
  --ink-soft: #4a5a52;
  --line: #dde6e0;
  --paper: #ffffff;
  --paper-tint: #f3f8f5;

  --edtech: #1864a8; --edtech-bg: #e6f0fa; --edtech-glow: #38c8ee;
  --safe: #5a43b0;   --safe-bg: #eeebfa;   --safe-glow: #9a88ff;
  --equi: #0a776d;   --equi-bg: #dff4f1;   --equi-glow: #2fe0c8;
  --it: #36505f;     --it-bg: #e8eef2;     --it-glow: #8fb3c9;

  --accent: var(--green-700);
  --accent-bg: var(--green-50);
  --glow: var(--neon);

  --font-display: "Lexend", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Atkinson Hyperlegible Next", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem);
  --step-3: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem);
  --step-4: clamp(2.2rem, 1.5rem + 2.8vw, 3.8rem);
  --step-5: clamp(2.6rem, 1.6rem + 4.2vw, 5rem);

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(5, 21, 16, 0.05), 0 12px 32px -8px rgba(5, 21, 16, 0.14);
  --shadow-lg: 0 2px 4px rgba(5, 21, 16, 0.05), 0 30px 60px -20px rgba(5, 21, 16, 0.35);
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

.sec-edtech { --accent: var(--edtech); --accent-bg: var(--edtech-bg); --glow: var(--edtech-glow); }
.sec-safe   { --accent: var(--safe);   --accent-bg: var(--safe-bg);   --glow: var(--safe-glow); }
.sec-equi   { --accent: var(--equi);   --accent-bg: var(--equi-bg);   --glow: var(--equi-glow); }
.sec-it     { --accent: var(--it);     --accent-bg: var(--it-bg);     --glow: var(--it-glow); }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--neon); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--mint); color: var(--night); }

h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.025em;
  margin: 0 0 0.5em; text-wrap: balance; color: var(--green-950);
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); letter-spacing: -0.015em; }
h4 { font-size: var(--step-1); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: 780px; margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--ink-soft); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--night); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------- icons (Flaticon Uicons) */
.fi { display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.btn .fi { font-size: 1.05em; transition: transform .3s var(--ease); }
.btn:hover .fi-rr-arrow-right, .btn:hover .fi-rr-arrow-small-right { transform: translateX(4px); }

/* ---------------------------------------------------------- buttons */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem; line-height: 1.2; letter-spacing: -0.01em;
  padding: 0.85em 1.4em; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--green-700), var(--green-600) 60%, #1eb866);
  box-shadow: 0 8px 24px -10px rgba(17, 112, 63, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-primary:hover { box-shadow: 0 14px 32px -10px rgba(22, 145, 82, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-primary::after, .btn-light::after, .btn-neon::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn-primary:hover::after, .btn-light:hover::after, .btn-neon:hover::after { transform: translateX(120%); }
.btn-ghost { border-color: color-mix(in srgb, var(--green-700) 40%, transparent); color: var(--green-700); background: rgba(255, 255, 255, 0.6); }
.btn-ghost:hover { border-color: var(--green-700); background: var(--green-50); }
.btn-light { background: #fff; color: var(--night); }
.btn-neon { background: var(--neon); color: var(--night); box-shadow: 0 0 0 1px rgba(59, 227, 127, 0.4), 0 10px 40px -8px rgba(59, 227, 127, 0.6); }
.btn-neon:hover { box-shadow: 0 0 0 1px rgba(59, 227, 127, 0.6), 0 14px 50px -6px rgba(59, 227, 127, 0.8); }
.btn-glass { color: #eafff2; border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(8px); }
.btn-glass:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.12); }
.btn-small { padding: 0.6em 1.05em; font-size: 0.9375rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 700; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease); }
.text-link:hover { background-size: 100% 2px; }
.prose .btn { margin-top: 0.25em; }

/* ---------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgba(15, 29, 22, 0.08);
  transition: box-shadow .3s, background-color .3s;
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.92); box-shadow: 0 10px 30px -18px rgba(5, 21, 16, 0.35); }
.h-inner { display: flex; align-items: center; gap: 20px; min-height: 74px; }
.logo img { width: 164px; height: auto; transition: transform .3s var(--ease); }
.logo:hover img { transform: scale(1.03); }
.site-nav { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list a.top {
  position: relative; display: block; padding: 10px 10px;
  font-family: var(--font-display); font-weight: 500; font-size: 0.94rem; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.nav-list a.top::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--green-600), var(--neon));
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-list a.top:hover::after, .nav-list li.is-active > a.top::after { transform: scaleX(1); }
.nav-list li.is-active > a.top { color: var(--green-700); }
.sub-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 28px; margin-left: -6px;
  background: none; border: 0; color: var(--ink-soft); cursor: pointer; border-radius: 6px; padding: 0;
}
.sub-toggle svg { width: 12px; height: 12px; transition: transform .2s; }
.sub {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: -12px; min-width: 330px;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(0.98); transform-origin: top left;
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover > .sub-toggle svg, .has-sub.open > .sub-toggle svg { transform: rotate(180deg); }
.sub a { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); transition: background-color .15s, transform .2s var(--ease); }
.sub a:hover, .sub a[aria-current] { background: var(--paper-tint); transform: translateX(3px); }
.sub-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--green-50); color: var(--green-700); font-size: 17px; }
.sub-title { display: block; font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; }
.sub-desc { display: block; font-size: 0.85rem; color: var(--ink-soft); line-height: 1.4; margin-top: 2px; }
.has-sub[data-accent="edtech"] .sub-title { color: var(--edtech); }
.has-sub[data-accent="edtech"] .sub-ico { color: var(--edtech); background: var(--edtech-bg); }
.has-sub[data-accent="safe"] .sub-title { color: var(--safe); }
.has-sub[data-accent="safe"] .sub-ico { color: var(--safe); background: var(--safe-bg); }
.has-sub[data-accent="equi"] .sub-title { color: var(--equi); }
.has-sub[data-accent="equi"] .sub-ico { color: var(--equi); background: var(--equi-bg); }
.nav-cta { padding: 0.65em 1.15em; font-size: 0.94rem; }
.menu-toggle { display: none; }

@media (max-width: 1120px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px; margin-left: auto;
    background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px;
    font: 500 0.95rem var(--font-display); color: var(--ink); cursor: pointer;
  }
  .bars { display: grid; gap: 4px; width: 18px; }
  .bars span { height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
  .menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 8px var(--gutter) 20px; max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .site-nav.open { display: flex; animation: drop .3s var(--ease); }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-list a.top { flex: 1; padding: 14px 4px; font-size: 1.05rem; }
  .nav-list a.top::after { display: none; }
  .sub-toggle { width: 44px; height: 44px; margin: 0; border: 1px solid var(--line); border-radius: 12px; }
  .sub { position: static; min-width: 0; width: 100%; box-shadow: none; border: 0; padding: 0 0 10px; opacity: 1; visibility: visible; transform: none; display: none; background: none; backdrop-filter: none; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.open > .sub { display: block; }
  .has-sub:hover > .sub-toggle svg { transform: none; }
  .has-sub.open > .sub-toggle svg { transform: rotate(180deg); }
  .nav-cta { margin-top: 16px; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ---------------------------------------------------------- dark surfaces (heroes, bands) */
.dark {
  position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(120% 90% at 10% 0%, var(--night-3) 0%, var(--night) 55%), var(--night);
  color: #cfe3d7;
}
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark a:not(.btn) { color: var(--mint); }
.dark .lead, .dark p { color: #b8cfc2; }
.dark .eyebrow { color: var(--glow); }
.grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(90% 70% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(90% 70% at 50% 30%, #000 30%, transparent 80%);
}
.aurora { position: absolute; inset: -20%; z-index: -2; pointer-events: none; filter: blur(70px) saturate(1.3); opacity: 0.85; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 22s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { width: 46%; height: 55%; left: 48%; top: 8%; background: radial-gradient(circle, rgba(59, 227, 127, 0.55), transparent 65%); }
.aurora span:nth-child(2) { width: 40%; height: 50%; left: 62%; top: 42%; background: radial-gradient(circle, color-mix(in srgb, var(--glow) 55%, transparent), transparent 65%); animation-duration: 28s; animation-delay: -6s; }
.aurora span:nth-child(3) { width: 38%; height: 45%; left: 8%; top: 50%; background: radial-gradient(circle, rgba(56, 200, 238, 0.28), transparent 65%); animation-duration: 32s; animation-delay: -12s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-8%, 6%, 0) scale(1.12); }
  100% { transform: translate3d(6%, -5%, 0) scale(0.95); }
}
.net-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: 0.7; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1em;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none;
  animation: pulse 2.4s ease-out infinite;
}
.eyebrow a { color: inherit; text-decoration: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }

.grad-text {
  background: linear-gradient(100deg, var(--neon) 0%, #7af0e0 35%, #38c8ee 55%, var(--neon) 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 8s linear infinite;
}
@keyframes sheen { to { background-position: -250% 0; } }

/* ---------------------------------------------------------- page hero */
.page-hero .ph-inner { display: grid; gap: 44px; padding-block: clamp(56px, 8vw, 104px); align-items: center; }
.page-hero.has-media .ph-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.ph-text { max-width: 680px; }
.ph-text h1 { margin-bottom: 0.35em; }
.lead { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.55; }
.ph-media { position: relative; border-radius: calc(var(--radius) + 6px); }
.ph-media::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; z-index: 1; pointer-events: none;
  background: conic-gradient(from var(--angle), transparent 0 60%, var(--glow) 80%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 6s linear infinite;
}
.ph-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: inherit;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1);
}
@keyframes spin { to { --angle: 360deg; } }
@media (max-width: 860px) {
  .page-hero.has-media .ph-inner { grid-template-columns: 1fr; }
  .ph-media img { aspect-ratio: 16 / 9; }
}

/* ---------------------------------------------------------- home hero */
.home-hero .hh-inner {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-block: clamp(64px, 9vw, 128px) clamp(80px, 9vw, 128px);
}
.home-hero h1 { font-size: var(--step-5); line-height: 1.02; letter-spacing: -0.04em; }
.home-hero h1 .line { display: block; }
.home-hero .lead { max-width: 54ch; }
.hh-media { position: relative; }
.hh-frame { position: relative; border-radius: 28px; padding: 1px; background: linear-gradient(140deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.04) 40%, rgba(59, 227, 127, 0.5)); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9); }
.hh-frame img { width: 100%; aspect-ratio: 5 / 4.4; object-fit: cover; border-radius: 27px; }
.hh-star { position: absolute; width: 96px; height: 96px; right: -22px; top: -30px; filter: drop-shadow(0 12px 30px rgba(59, 227, 127, 0.55)); animation: float 6s ease-in-out infinite; }
.chip-float {
  position: absolute; display: flex; gap: 12px; align-items: center;
  background: rgba(8, 30, 21, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14); color: #e8fff1; border-radius: 16px; padding: 12px 16px;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.8); font-size: 0.88rem; line-height: 1.35; max-width: 280px;
  animation: float 7s ease-in-out infinite;
}
.chip-float strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--neon); letter-spacing: -0.03em; }
.chip-float .fi { font-size: 20px; color: var(--neon); flex: none; }
.chip-float.c1 { left: -28px; bottom: 28px; }
.chip-float.c2 { right: -18px; top: 24%; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; font-family: var(--font-mono); font-size: 0.8rem; color: #8fb4a2; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .fi { color: var(--neon); }
@media (max-width: 900px) {
  .home-hero .hh-inner { grid-template-columns: 1fr; }
  .hh-star { right: 6px; top: -34px; width: 72px; height: 72px; }
  .chip-float.c1 { left: 10px; bottom: 12px; }
  .chip-float.c2 { display: none; }
}
.scroll-cue { position: absolute; left: 50%; bottom: 24px; width: 24px; height: 38px; margin-left: -12px; border: 1.5px solid rgba(255, 255, 255, 0.3); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--neon); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (max-width: 900px) { .scroll-cue { display: none; } }

/* ---------------------------------------------------------- sections */
.section { padding-block: clamp(64px, 8vw, 112px); position: relative; }
.section-tint { background: var(--paper-tint); }
.section-tint::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(17, 112, 63, 0.09) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.section-tint > * { position: relative; }
.section-head { max-width: 740px; margin-bottom: 44px; }
.section-head p { color: var(--ink-soft); font-size: var(--step-1); }
.dark .section-head p { color: #a9c3b5; }
.section-title { font-size: var(--step-3); }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); align-items: start; }
.two-col.center { align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.prose { max-width: 70ch; }
.prose > * + h2 { margin-top: 1.7em; }
.prose > * + h3 { margin-top: 1.4em; }
.prose h2 { font-size: var(--step-2); }
.prose h3 { font-size: var(--step-1); }
.prose h4 { font-size: 1.1rem; }
.prose li { margin-bottom: 0.35em; }
.prose figure { margin: 1.8em 0; }
.prose figure img { border-radius: var(--radius-sm); }
.prose figcaption { font-size: var(--step--1); color: var(--ink-soft); margin-top: 0.6em; font-family: var(--font-mono); }
.prose blockquote {
  margin: 1.8em 0; padding: 0.2em 0 0.2em 1.3em; border-left: 3px solid var(--accent);
  font-size: var(--step-1); color: var(--green-950); font-family: var(--font-display); font-weight: 400; line-height: 1.45; letter-spacing: -0.01em;
}
.prose blockquote p { margin: 0; }
.prose hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); margin: 2.6em 0; }
.prose details { border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin: 0 0 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.prose details[open] { padding-bottom: 8px; border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: var(--shadow); }
.prose summary { cursor: pointer; font-weight: 700; padding: 14px 0; }
.prose .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 1.8em 0; }
.prose .gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius-sm); }
.prose .gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .6s var(--ease); }
.prose .gallery figure:hover img { transform: scale(1.06); }
.prose .layout { background: var(--paper-tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin: 1.8em 0; }
.prose .layout > :last-child { margin-bottom: 0; }
.prose .card-table { display: grid; gap: 14px; margin: 1.8em 0; }
.prose .card-table .row { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: #fff; }
.prose .card-table figure { margin: 0; }
.prose .card-table .cell > :last-child { margin-bottom: 0; }
.prose .card-table h3 { font-size: 1.1rem; margin-bottom: 0.3em; }
@media (max-width: 520px) { .prose .card-table .row { grid-template-columns: 72px 1fr; } }
.prose video, .embed iframe { width: 100%; border-radius: var(--radius-sm); background: #000; }
.embed { position: relative; margin: 1.8em 0; }
.embed-video iframe { aspect-ratio: 16 / 9; height: auto; border: 0; }
.embed-sway iframe { height: min(80vh, 760px); border: 1px solid var(--line); background: #fff; }
.embed-link { font-size: var(--step--1); }

/* ---------------------------------------------------------- cards (pointer spotlight + animated border) */
.card-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.card, .service-card, .post-card, .event-card, .price-card, .quote, .steps > li, .link-grid a { --mx: 50%; --my: 0%; position: relative; isolation: isolate; }
.card::after, .service-card::after, .price-card::after, .steps > li::after, .link-grid a::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 12%, transparent), transparent 45%);
}
.card:hover::after, .service-card:hover::after, .price-card:hover::after, .steps > li:hover::after, .link-grid a:hover::before { opacity: 1; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.card h3 { font-size: var(--step-1); margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }
.card .card-foot { margin-top: auto; padding-top: 12px; }
.card-icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--accent-bg); color: var(--accent); font-size: 23px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 16%, transparent);
  transition: transform .45s var(--ease), background-color .3s, color .3s;
}
.card:hover .card-icon, .service-card:hover .card-icon { transform: rotate(-8deg) scale(1.1); background: var(--accent); color: #fff; }
.card-icon svg { width: 24px; height: 24px; }

.service-grid { display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .service-grid { grid-template-columns: 1fr; } }
.service-card {
  --accent: var(--green-700); --accent-bg: var(--green-50); --glow: var(--neon);
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(var(--line), var(--line)) border-box;
  border: 1px solid transparent; border-radius: var(--radius); padding: 28px 24px 24px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from var(--angle), var(--accent), var(--glow), transparent 40%, var(--accent)) border-box;
  animation: spin 3s linear infinite;
}
.service-card.edtech { --accent: var(--edtech); --accent-bg: var(--edtech-bg); --glow: var(--edtech-glow); }
.service-card.safe   { --accent: var(--safe);   --accent-bg: var(--safe-bg);   --glow: var(--safe-glow); }
.service-card.equi   { --accent: var(--equi);   --accent-bg: var(--equi-bg);   --glow: var(--equi-glow); }
.service-card.it     { --accent: var(--it);     --accent-bg: var(--it-bg);     --glow: var(--it-glow); }
.service-card .num { position: absolute; top: 24px; right: 24px; font-family: var(--font-mono); font-size: 0.76rem; color: #9aaba2; }
.service-card h3 { font-size: 1.3rem; color: var(--accent); }
.service-card p { color: var(--ink-soft); }
.service-card .more { margin-top: auto; font-family: var(--font-display); font-weight: 500; color: var(--accent); display: inline-flex; gap: 8px; align-items: center; }
.service-card .more .fi { transition: transform .3s var(--ease); }
.service-card:hover .more .fi { transform: translateX(5px); }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feature-list li { position: relative; padding-left: 30px; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 19px; height: 19px; border-radius: 6px;
  background: var(--accent-bg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent);
}
.feature-list li::after {
  content: ""; position: absolute; left: 7px; top: calc(0.3em + 4px); width: 5px; height: 9px;
  border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow-lg); }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

.stat strong { display: block; font-family: var(--font-display); font-size: var(--step-4); color: var(--accent); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--ink-soft); font-size: 0.9rem; font-family: var(--font-mono); }
.stats-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, 0.1); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); margin-top: 56px; }
.stats-band > div { background: rgba(5, 21, 16, 0.55); padding: 26px 24px; backdrop-filter: blur(8px); }
.stats-band strong { display: block; font-family: var(--font-display); font-size: var(--step-3); color: #fff; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats-band span { font-family: var(--font-mono); font-size: 0.78rem; color: #8fb4a2; }
@media (max-width: 760px) { .stats-band { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.callout {
  position: relative; background: var(--accent-bg); border-radius: var(--radius); padding: 24px 26px 24px 30px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent); overflow: hidden;
}
.callout::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--accent), var(--glow)); }
.callout p:last-child { margin-bottom: 0; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); align-items: start; }
.steps > li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.steps > li:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.steps > li::before {
  content: "0" counter(step); display: block; font-family: var(--font-mono); font-weight: 500; font-size: 0.85rem;
  color: var(--accent); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px dashed var(--line);
}
.steps h3 { font-size: 1.15rem; }
.steps > li > p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------- pricing */
.price-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 4px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.price-card.featured { border: 1.5px solid var(--accent); }
.price-card p { margin: 0; }
.price-tier { font-family: var(--font-mono); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.price { font-family: var(--font-display); font-weight: 600; font-size: 2.2rem; color: var(--green-950); font-variant-numeric: tabular-nums; letter-spacing: -0.035em; margin: 6px 0 !important; }
.price-card .muted { font-size: 0.95rem; }
.price-card ul { margin: 10px 0 0; padding-left: 1.1em; color: var(--ink-soft); }
.price-card .btn { margin-top: 16px; }
.price-group + .price-group { margin-top: 64px; }
.price-group.edtech { --accent: var(--edtech); --accent-bg: var(--edtech-bg); --glow: var(--edtech-glow); }
.price-group.safe   { --accent: var(--safe);   --accent-bg: var(--safe-bg);   --glow: var(--safe-glow); }
.price-group.equi   { --accent: var(--equi);   --accent-bg: var(--equi-bg);   --glow: var(--equi-glow); }
.price-group.it     { --accent: var(--it);     --accent-bg: var(--it-bg);     --glow: var(--it-glow); }
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table tr { transition: background-color .2s; }
.price-table tr:hover { background: var(--paper-tint); }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.table-wrap { overflow-x: auto; }

/* ---------------------------------------------------------- news */
.post-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pc-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.pc-img { aspect-ratio: 16 / 9; background: var(--green-50); overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .pc-img img { transform: scale(1.06); }
.pc-body { padding: 20px 22px 24px; }
.pc-meta { display: flex; justify-content: space-between; gap: 10px; font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-soft); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.pc-cat { font-weight: 600; color: var(--green-700); }
.pc-title { font-size: 1.22rem; margin-bottom: 0.45em; transition: color .2s; }
.post-card:hover .pc-title { color: var(--green-700); }
.pc-excerpt { color: var(--ink-soft); font-size: 0.97rem; margin: 0; }
.chip-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip-nav a, .chip {
  display: inline-block; padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); font-size: 0.92rem; background: #fff; transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.chip-nav a:hover, .chip:hover { border-color: var(--green-700); transform: translateY(-1px); }
.chip-nav a[aria-current] { background: var(--night); border-color: var(--night); color: #fff; }
.dark .chip { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); color: #e2f5ea !important; }
.post-head { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.post-head h1 { font-size: var(--step-4); }
.post-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.post-meta { display: flex; gap: 18px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.82rem; }
.post-meta span { display: inline-flex; gap: 8px; align-items: center; }
.post-body { padding-top: clamp(32px, 5vw, 56px); }
.post-cover { margin: 0 0 32px; }
.post-cover img { border-radius: var(--radius); width: 100%; box-shadow: var(--shadow-lg); }
.post .prose { font-size: 1.1rem; }
.post-back { margin: 48px 0 72px; }
.read-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 60; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--green-600), var(--neon), #38c8ee); pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .read-progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}

/* ---------------------------------------------------------- events */
.event-list { display: grid; gap: 18px; }
.event-card {
  display: grid; grid-template-columns: 88px 1fr; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--equi) 35%, var(--line)); }
.ev-date {
  position: relative; overflow: hidden; background: linear-gradient(160deg, var(--night-3), var(--night)); color: #fff;
  border-radius: 14px; text-align: center; padding: 12px 6px; align-self: start; font-family: var(--font-display);
}
.ev-date::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, var(--neon), var(--equi-glow)); }
.ev-day { display: block; font-size: 2.1rem; font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.ev-mon { display: block; text-transform: uppercase; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; margin-top: 6px; color: var(--mint); }
.ev-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 6px; }
.ev-meta span { display: inline-flex; gap: 6px; align-items: center; }
.ev-title { font-size: 1.3rem; margin-bottom: 0.4em; }
.ev-title a { color: inherit; text-decoration: none; }
.ev-title a:hover { color: var(--green-700); }
.ev-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin: 0; }
@media (max-width: 540px) {
  .event-card { grid-template-columns: 1fr; }
  .ev-date { display: flex; gap: 8px; align-items: baseline; padding: 8px 14px; width: max-content; }
  .ev-day { font-size: 1.3rem; } .ev-mon { margin: 0; }
}
.event-detail { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 56px; align-items: start; }
@media (max-width: 920px) { .event-detail { grid-template-columns: 1fr; } }
.ev-aside { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); border-radius: var(--radius); padding: 24px; display: grid; gap: 18px; }
.ev-poster { border-radius: var(--radius-sm); }
.facts { margin: 0; display: grid; gap: 12px; }
.facts div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; }
.facts dt { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); padding-top: 3px; }
.facts dd { margin: 0; }
.past-events { list-style: none; padding: 0; margin: 0; }
.past-events li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
.past-events time { color: var(--ink-soft); font-family: var(--font-mono); font-size: 0.8rem; padding-top: 2px; }
@media (max-width: 520px) { .past-events li { grid-template-columns: 1fr; gap: 0; } }
.empty-note { background: var(--paper-tint); border-radius: var(--radius); padding: 22px; border: 1px dashed var(--line); }

/* ---------------------------------------------------------- logo marquee, quotes */
.marquee { position: relative; }
.logo-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 0; margin: 0; }
.logo-strip li { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; display: grid; place-items: center; padding: 12px; transition: transform .3s var(--ease), box-shadow .3s; }
.logo-strip li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.logo-strip img { max-height: 76px; width: auto; filter: grayscale(1) contrast(1.05); opacity: 0.75; transition: filter .3s, opacity .3s; }
.logo-strip li:hover img { filter: none; opacity: 1; }
.marquee.running { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); padding-block: 6px; }
.marquee.running .logo-strip { display: flex; width: max-content; gap: 16px; animation: marquee 45s linear infinite; }
.marquee.running .logo-strip li { width: 220px; height: 118px; flex: none; }
.marquee.running:hover .logo-strip { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }
@media (max-width: 760px) { .logo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.quote-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.quote blockquote { margin: 0; font-size: 1.04rem; }
.quote blockquote p:last-child { margin: 0; }
.quote-mark { font-size: 30px; color: var(--accent); }
.quote figcaption { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); margin-top: auto; }
.quote-big { max-width: 940px; margin: 0; }
.quote-big .quote-mark { font-size: 44px; color: var(--neon); margin-bottom: 18px; display: block; }
.quote-big blockquote { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.3; letter-spacing: -0.025em; margin: 0 0 22px; font-weight: 400; }
.quote-big blockquote p { color: #fff; }
.quote-big figcaption { font-family: var(--font-mono); font-size: 0.8rem; color: var(--mint); text-transform: uppercase; letter-spacing: 0.06em; }

.techstars { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center; }
.techstars img { width: 100%; animation: float 7s ease-in-out infinite; }
@media (max-width: 720px) { .techstars { grid-template-columns: 1fr; } .techstars img { max-width: 200px; } }

.link-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); list-style: none; padding: 0; margin: 0; }
.link-grid a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.link-grid a:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: translateY(-3px); box-shadow: var(--shadow); }
.link-grid strong { font-family: var(--font-display); font-weight: 500; display: block; }
.link-grid span { color: var(--ink-soft); font-size: 0.9rem; }
.link-grid .fi { color: var(--accent); font-size: 1.1rem; transition: transform .3s var(--ease); }
.link-grid a:hover .fi { transform: translate(3px, -3px); }

.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(90% 140% at 100% 0%, var(--night-3), var(--night) 60%);
  color: #cfe3d7; border-radius: 28px; padding: clamp(32px, 5vw, 64px);
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: ""; position: absolute; width: 480px; height: 480px; right: -120px; top: -220px; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 227, 127, 0.4), transparent 65%); filter: blur(20px); animation: drift 14s ease-in-out infinite alternate;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000);
}
.cta-band h2 { color: #fff; margin-bottom: 0.3em; }
.cta-band p { margin: 0; color: #a9c3b5; }
.cta-band .btn-light { background: var(--neon); color: var(--night); }
@media (max-width: 740px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- forms */
.contact-form { display: grid; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.f-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .f-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.95rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper-tint);
  border: 1.5px solid transparent; border-radius: 12px; padding: 13px 15px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(59, 227, 127, 0.18); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
.form-status { margin: 0; font-weight: 700; }
.form-status.ok { color: var(--green-700); }
.form-status.err { color: #b3261e; }
.contact-side { display: grid; gap: 18px; }
.contact-line { display: flex; gap: 12px; align-items: center; margin: 0 0 10px; }
.contact-line .fi { width: 38px; height: 38px; border-radius: 10px; background: #fff; color: var(--green-700); font-size: 17px; flex: none; }

/* ---------------------------------------------------------- footer */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: #a9c3b5; font-size: 0.95rem; }
.site-footer::before {
  content: ""; position: absolute; left: 50%; top: -260px; width: 900px; height: 420px; margin-left: -450px; z-index: -1;
  background: radial-gradient(ellipse, rgba(59, 227, 127, 0.16), transparent 65%);
}
.site-footer a { color: #e3f6ea; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--neon); }
.f-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; padding-block: 72px 36px; }
@media (max-width: 1100px) { .f-grid { grid-template-columns: 1fr 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 900px) { .f-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .f-grid { grid-template-columns: 1fr; } }
.f-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 14px; margin-bottom: 18px; }
.f-logo img { width: 156px; }
.f-head { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--neon); font-weight: 500; margin-bottom: 16px; }
.f-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.f-contact { line-height: 1.9; }
.f-contact .fi { color: var(--neon); margin-right: 8px; vertical-align: -2px; }
.f-safeguarding { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-block: 26px; display: flex; gap: 16px; align-items: flex-start; }
.f-safeguarding > .fi { font-size: 26px; color: var(--neon); margin-top: 2px; }
.f-safeguarding p { max-width: 940px; font-size: 0.86rem; margin: 0; color: #86a898; }
.f-base { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-block: 20px 30px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-family: var(--font-mono); font-size: 0.76rem; }
.f-base p { margin: 0; max-width: 820px; }

.sitemap-list { columns: 2 320px; padding-left: 1.1em; }
.sitemap-list li { margin-bottom: 6px; break-inside: avoid; }
.sitemap-list .muted { font-size: 0.85rem; font-family: var(--font-mono); }

/* ---------------------------------------------------------- scroll reveal (only when JS + motion allowed) */
.motion .reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); }
.motion .reveal.in {
  opacity: 1; transform: none; filter: none;
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease), box-shadow .35s var(--ease), border-color .3s;
  transition-delay: calc(var(--i, 0) * 80ms), calc(var(--i, 0) * 80ms), calc(var(--i, 0) * 80ms), 0s, 0s;
}
.motion .reveal.in.done { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.motion .hero-in > * { animation: rise 1s var(--ease) both; }
.motion .hero-in > *:nth-child(2) { animation-delay: .08s; }
.motion .hero-in > *:nth-child(3) { animation-delay: .16s; }
.motion .hero-in > *:nth-child(4) { animation-delay: .24s; }
.motion .hero-in > *:nth-child(5) { animation-delay: .32s; }
.motion .home-hero h1 .line { animation: rise 1.1s var(--ease) both; }
.motion .home-hero h1 .line:nth-child(2) { animation-delay: .12s; }
.motion .home-hero h1 .line:nth-child(3) { animation-delay: .24s; }
.motion .media-in { animation: zoom-in 1.3s var(--ease) both .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); filter: blur(8px); } }
@keyframes zoom-in { from { opacity: 0; transform: scale(0.94) translateY(20px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .aurora, .net-canvas { display: none; }
}
@media print { .site-header, .site-footer, .cta-band, .aurora, .net-canvas { display: none; } }

/* ---------------------------------------------------------- cards on dark surfaces: frosted glass */
.dark .card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  --accent: var(--neon); --accent-bg: rgba(59, 227, 127, 0.12);
}
.dark .card:hover { border-color: rgba(59, 227, 127, 0.45); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(59, 227, 127, 0.15); }
.dark .card p { color: #b8cfc2; }
.dark .card:hover .card-icon { color: var(--night); }
.dark .card-icon { background: rgba(59, 227, 127, 0.12); color: var(--neon); box-shadow: inset 0 0 0 1px rgba(59, 227, 127, 0.25); }
.join-note { display: flex; gap: 8px; align-items: center; margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--paper-tint); color: var(--ink-soft); font-size: 0.92rem; }
.join-note .fi { color: var(--equi); }

/* ---------------------------------------------------------- legal pages, team */
.legal { max-width: 74ch; }
.legal h2 { font-size: var(--step-2); margin-top: 1.8em; }
.legal h3 { font-size: var(--step-1); margin-top: 1.4em; }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: 0.97rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); }
.updated { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-soft); }
.team-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.person { display: flex; flex-direction: column; gap: 6px; }
.avatar {
  width: 88px; height: 88px; border-radius: 24px; display: grid; place-items: center; margin-bottom: 14px;
  font: 600 1.7rem var(--font-display); color: #fff; letter-spacing: -0.02em;
  background: linear-gradient(140deg, var(--night-3), var(--green-600) 70%, var(--neon));
  box-shadow: 0 16px 30px -14px rgba(17, 112, 63, 0.7);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.person .role { font-family: var(--font-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); margin: 0; }
.help-box { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin: 1.4em 0; }
.help-box div { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: #fff; }
.help-box strong { display: block; font-family: var(--font-display); }
.alert-box { border-radius: var(--radius); padding: 18px 20px; background: #fdecea; border: 1px solid #f5c2bd; color: #6b1a14; }
.alert-box strong { color: #6b1a14; }

/* ---------------------------------------------------------- TechStars Awards */
:root { --gold: #f5b700; --gold-soft: #fff4cc; }
.sec-techstars { --accent: #11703f; --accent-bg: var(--green-50); --glow: var(--gold); }
.ts-grad { background: linear-gradient(100deg, var(--gold) 0%, #ffe27a 30%, var(--neon) 60%, var(--gold) 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 8s linear infinite; }
.ts-stars { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(2px 2px at 12% 22%, #fff8, transparent), radial-gradient(1.5px 1.5px at 72% 18%, #ffe27acc, transparent),
    radial-gradient(2px 2px at 44% 68%, #fff6, transparent), radial-gradient(1.5px 1.5px at 88% 62%, #ffe27aaa, transparent),
    radial-gradient(1.5px 1.5px at 28% 84%, #fff7, transparent), radial-gradient(2px 2px at 60% 40%, #ffe27a99, transparent);
  animation: twinkle 5s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .35; } to { opacity: 1; } }
.ts-logo-wrap { display: grid; place-items: center; }
.ts-logo-wrap img { width: min(100%, 520px); filter: drop-shadow(0 24px 50px rgba(59, 227, 127, .45)); animation: float 7s ease-in-out infinite; }
.ts-hero .ph-media img { aspect-ratio: 16 / 10; }

.ts-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.ts-card { display: grid; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.ts-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ts-card-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--green-50); }
.ts-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ts-card:hover .ts-card-img img { transform: scale(1.05); }
.ts-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; }
.ts-card h3 { font-size: 1.35rem; margin-bottom: .2em; }
.ts-card h3 a { color: inherit; text-decoration: none; }
.ts-card .ts-sub { font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.ts-card-foot { margin: auto 0 0; padding-top: 8px; }
.ts-card.big { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: stretch; }
.ts-card.big .ts-card-img { aspect-ratio: auto; height: 100%; min-height: 280px; }
.ts-card.big .ts-card-body { padding: clamp(24px, 4vw, 44px); justify-content: center; }
.ts-card.big h3 { font-size: var(--step-3); }
@media (max-width: 820px) { .ts-card.big { grid-template-columns: 1fr; } .ts-card.big .ts-card-img { min-height: 0; aspect-ratio: 16 / 9; } }
.ts-state { display: inline-flex; align-items: center; gap: 8px; width: max-content; font: 500 .74rem var(--font-mono); text-transform: uppercase; letter-spacing: .05em; padding: 5px 10px; border-radius: 999px; margin: 0 0 12px; }
.ts-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ts-state.open { background: #e2f6e9; color: #0d6b38; }
.ts-state.open::before { animation: pulse 2s ease-out infinite; }
.ts-state.closed { background: var(--gold-soft); color: #7a5800; }
.ts-state.results { background: #efe9ff; color: #5a43b0; }
.ts-deadline { display: flex; gap: 8px; align-items: center; font-weight: 700; color: #7a5800; }

.ts-winners { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.ts-winner { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.ts-winner:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: var(--shadow-lg); }
.dark .ts-winner { border-color: rgba(255, 255, 255, .12); }
.ts-winner-media { position: relative; aspect-ratio: 16 / 9; background: var(--green-50); display: grid; place-items: center; overflow: hidden; }
.ts-winner-media img, .ts-winner-media video { width: 100%; height: 100%; object-fit: cover; }
.ts-audio { display: grid; gap: 12px; place-items: center; width: 100%; padding: 18px; color: var(--green-700); font-size: 34px; }
.ts-audio audio { width: 100%; }
.ts-award { position: absolute; right: 10px; top: 10px; display: inline-flex; gap: 6px; align-items: center; padding: 5px 10px; border-radius: 999px; font: 600 .75rem var(--font-display); box-shadow: 0 6px 16px -6px rgba(0,0,0,.4); }
.ts-award.winner { background: var(--gold); color: #3d2c00; }
.ts-award.runner { background: #fff; color: var(--green-900); }
.ts-winner figcaption { padding: 14px 16px 16px; display: grid; gap: 2px; }
.ts-winner figcaption strong { font-family: var(--font-display); font-weight: 600; color: var(--green-950); }
.ts-winner figcaption span { font-size: .9rem; color: var(--ink-soft); }
.ts-results-block + .ts-results-block { padding-top: 0; }
.ts-steps { padding-left: 1.2em; display: grid; gap: 8px; }
.ts-consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .95rem; margin-bottom: 10px; }
.ts-consent input { margin-top: 5px; accent-color: var(--green-700); width: 18px; height: 18px; flex: none; }
.ts-entry input[type=file] { background: #fff; border: 2px dashed #b8c7bd; padding: 18px; cursor: pointer; }
.ts-progress { height: 10px; border-radius: 999px; background: var(--paper-tint); overflow: hidden; border: 1px solid var(--line); }
.ts-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green-600), var(--neon)); transition: width .2s; }
.ts-none { display: grid; grid-template-columns: 220px 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; background: #fff; border: 1px dashed #c9d6cd; border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.ts-none h3 { font-size: var(--step-2); }
.ts-none-text > :last-child { margin-bottom: 0; }
.ts-none-art { position: relative; aspect-ratio: 1; border-radius: 28px; display: grid; place-items: center; font-size: 76px; color: var(--gold);
  background: radial-gradient(circle at 50% 40%, var(--night-3), var(--night)); box-shadow: 0 24px 50px -24px rgba(5, 21, 16, .8); overflow: hidden; }
.ts-none-art .fi { filter: drop-shadow(0 8px 24px rgba(245, 183, 0, .5)); animation: float 6s ease-in-out infinite; }
.ts-none-art span { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #ffe27a; animation: twinkle 2.4s ease-in-out infinite alternate; }
.ts-none-art .s1 { left: 22%; top: 24%; } .ts-none-art .s2 { right: 20%; top: 34%; animation-delay: -.8s; } .ts-none-art .s3 { left: 30%; bottom: 22%; animation-delay: -1.6s; }
@media (max-width: 640px) { .ts-none { grid-template-columns: 1fr; } .ts-none-art { width: 150px; } }
.f-social { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
.f-social .social { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.f-social .social:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); transform: translateY(-2px); text-decoration: none; color: #fff; }
.f-social .social .fi { width: 30px; height: 30px; border-radius: 50%; font-size: 15px; color: #fff; background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.f-staff { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding-block: 0 26px; font-size: 0.82rem; }
.f-staff > span { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; color: #6f8f80; }
.f-staff a { display: inline-flex; gap: 7px; align-items: center; color: #a9c3b5; }
.f-staff .fi { color: var(--neon); }
