/* ===========================================================================
   INTERNOTEX STYLE GROUP — Landing page
   Implemented from the Claude Design handoff bundle (HTML/CSS/JS prototype).
   Design system tokens + base + components + page styles, in one file.
   =========================================================================== */

/* ---- Webfonts (Bodoni Moda / Archivo / JetBrains Mono) ---- */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..700&family=Archivo:ital,wght@0,300..800;1,400..600&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ===========================================================================
   COLOR TOKENS
   =========================================================================== */
:root {
  /* Brand: ink & navy (wool / denim) */
  --ink-900: #060B14;
  --ink:     #0B1320;
  --navy-800:#0F1C30;
  --navy-700:#142640;
  --navy-600:#1C3354;

  /* Brand: digital azure (overridable by accent switcher) */
  --azure-700:#1E4FCB;
  --azure:    #2F66F0;
  --azure-500:#4C84FF;
  --azure-300:#9DBBFF;
  --azure-050:#EAF1FF;

  /* Brand: data cyan */
  --cyan:     #57D2E0;
  --cyan-600: #2FB6C6;

  /* Neutrals: warm paper + cool slate */
  --white:    #FFFFFF;
  --paper:    #F7F4EF;
  --paper-2:  #EFEAE1;
  --mist:     #EEF1F5;
  --slate-100:#E3E8EF;
  --slate-200:#CFD6E0;
  --slate-300:#B3BDCB;
  --slate-400:#8A95A6;
  --slate-500:#677386;
  --slate-600:#4A5567;
  --slate-700:#333D4D;
  --slate-800:#1F2733;

  /* EU / PNRR reference */
  --eu-blue:  #143C8C;
  --eu-gold:  #F4C430;

  /* Semantic status */
  --success:  #2FA36B;
  --warning:  #DE9A2E;
  --danger:   #D8503A;

  /* Surfaces */
  --surface-page:     var(--white);
  --surface-paper:    var(--paper);
  --surface-muted:    var(--mist);
  --surface-card:     var(--white);
  --surface-inverse:  var(--ink);
  --surface-inverse-2:var(--navy-700);

  /* Text */
  --text-strong:      var(--ink);
  --text-body:        var(--slate-700);
  --text-muted:       var(--slate-500);
  --text-faint:       var(--slate-400);
  --text-on-dark:     #EAF0F8;
  --text-on-dark-mut: #93A1B6;
  --text-accent:      var(--azure);

  /* Lines & borders */
  --border-hair:      rgba(11,19,32,0.10);
  --border-soft:      var(--slate-100);
  --border-strong:    var(--slate-300);
  --border-on-dark:   rgba(255,255,255,0.12);

  /* Interactive */
  --action:           var(--azure);
  --action-hover:     var(--azure-700);
  --action-tint:      var(--azure-050);
  --focus-ring:       var(--azure-300);

  /* Accent glow (digital) */
  --glow-azure:       rgba(47,102,240,0.45);
  --glow-cyan:        rgba(87,210,224,0.40);

  /* ---- Typography ---- */
  --font-display: 'Bodoni Moda', 'Times New Roman', serif;
  --font-sans:    'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', 'SFMono-Regular', ui-monospace, monospace;

  --w-light: 300; --w-regular: 400; --w-medium: 500;
  --w-semibold: 600; --w-bold: 700; --w-black: 800;

  --fs-display:  clamp(3rem, 1.2rem + 7.2vw, 7.5rem);
  --fs-h1:       clamp(2.25rem, 1.2rem + 4.2vw, 4.25rem);
  --fs-h2:       clamp(1.75rem, 1.1rem + 2.6vw, 3rem);
  --fs-h3:       clamp(1.4rem, 1.05rem + 1.4vw, 2rem);
  --fs-h4:       clamp(1.2rem, 1rem + 0.7vw, 1.5rem);

  --fs-lead:   1.25rem;
  --fs-body:   1rem;
  --fs-sm:     0.875rem;
  --fs-xs:     0.75rem;
  --fs-eyebrow:0.78rem;

  --lh-tight: 1.02; --lh-snug: 1.12; --lh-normal: 1.5; --lh-relaxed: 1.7;

  --ls-tight: -0.02em; --ls-snug: -0.01em; --ls-normal: 0;
  --ls-wide: 0.04em; --ls-eyebrow: 0.22em; --ls-caps: 0.08em;

  --weight-display: var(--w-medium);
  --weight-heading: var(--w-semibold);

  /* ---- Spacing / radii / shadows / motion ---- */
  --sp-1:4px; --sp-2:8px; --sp-3:12px; --sp-4:16px; --sp-5:24px;
  --sp-6:32px; --sp-7:48px; --sp-8:64px; --sp-9:96px; --sp-10:128px;

  --section-y: clamp(72px, 9vw, 160px);
  --gutter:    clamp(20px, 5vw, 80px);
  --maxw:      1280px;

  --r-xs:2px; --r-sm:6px; --r-md:10px; --r-lg:16px; --r-xl:24px; --r-pill:999px;

  --shadow-xs:  0 1px 2px rgba(11,19,32,0.06);
  --shadow-sm:  0 2px 6px rgba(11,19,32,0.07);
  --shadow-md:  0 8px 24px -8px rgba(11,19,32,0.14);
  --shadow-lg:  0 24px 60px -18px rgba(11,19,32,0.22);
  --shadow-xl:  0 40px 100px -28px rgba(11,19,32,0.30);
  --shadow-glow: 0 0 0 1px rgba(47,102,240,0.30), 0 12px 40px -10px var(--glow-azure);

  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-emph:   cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms; --dur-base: 320ms; --dur-slow: 600ms; --dur-reveal: 900ms;
}

/* ===========================================================================
   BASE / RESET
   =========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  font-weight: var(--w-regular);
  color: var(--text-body);
  background: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; color: var(--text-strong); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }

::selection { background: var(--azure); color: #fff; }

:focus-visible {
  outline: 2px solid var(--azure);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

.reveal, .hero-fx { will-change: transform, opacity; }

/* A faint technical grid texture, for dark digital panels */
.grid-texture {
  background-image:
    linear-gradient(var(--border-on-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-on-dark) 1px, transparent 1px);
  background-size: 48px 48px;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}
.section { padding: var(--section-y) 0; }

/* ===========================================================================
   COMPONENT: Button
   =========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  border-radius: var(--r-sm);
  cursor: pointer;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out),
              filter var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn span { display: inline-flex; }
.btn--sm { padding: 9px 16px;  font-size: 13px; }
.btn--md { padding: 13px 22px; font-size: 14.5px; }
.btn--lg { padding: 17px 30px; font-size: 16px; }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--azure); color: #fff; border-color: var(--azure);
  box-shadow: 0 8px 22px -10px var(--glow-azure);
}
.btn--secondary {
  background: var(--ink); color: #fff; border-color: var(--ink);
  box-shadow: 0 8px 22px -12px rgba(11,19,32,0.5);
}
.btn--outline {
  background: transparent; color: var(--ink); border-color: var(--border-strong);
}
.btn--ghost { background: transparent; color: var(--azure); }
.btn--on-dark {
  background: #fff; color: var(--ink); border-color: #fff;
  box-shadow: 0 8px 24px -12px rgba(0,0,0,0.6);
}

.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn--outline:hover { border-color: var(--ink); }
.btn--ghost:hover  { background: var(--action-tint); }
.btn:active { transform: translateY(1px) scale(0.99); filter: none; }

/* ===========================================================================
   COMPONENT: Badge
   =========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  white-space: nowrap;
}
.badge svg { width: 13px; height: 13px; }
.badge .badge__dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }

/* tone × variant (soft default / outline / solid) */
.badge--azure        { color: var(--azure-700); background: var(--azure-050); }
.badge--azure .badge__dot { background: var(--azure); }
.badge--azure.badge--outline { color: var(--azure-700); background: transparent; border-color: var(--azure-300); }
.badge--azure.badge--outline .badge__dot { background: var(--azure); }

.badge--neutral      { color: var(--slate-600); background: var(--mist); }
.badge--neutral .badge__dot { background: var(--slate-700); }

.badge--cyan         { color: #0E6B75; background: #E4F8FA; }
.badge--cyan .badge__dot { background: var(--cyan); }

.badge--ink.badge--solid { color: #fff; background: var(--ink); }
.badge--ink.badge--solid .badge__dot { background: currentColor; }

/* ===========================================================================
   COMPONENT: Card
   =========================================================================== */
.card {
  position: relative;
  border-radius: var(--r-lg);
  padding: 28px;
  overflow: hidden;
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  color: var(--text-body);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.card--interactive:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--azure-300);
}

/* ===========================================================================
   COMPONENT: SectionHeading
   =========================================================================== */
.section-heading { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.section-heading .eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--azure);
}
.section-heading .eyebrow::before {
  content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: 0.6;
}
.section-heading .sh-title {
  margin: 0; font-family: var(--font-display); font-weight: 500;
  font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -0.015em;
  color: var(--ink); text-wrap: balance; max-width: 46ch;
}
.section-heading .sh-lead {
  margin: 0; font-family: var(--font-sans); font-size: var(--fs-lead);
  line-height: 1.6; color: var(--text-muted); max-width: 60ch; text-wrap: pretty;
}
.section-heading--on-dark .eyebrow { color: var(--azure-300); }
.section-heading--on-dark .sh-title { color: #fff; }
.section-heading--on-dark .sh-lead { color: var(--text-on-dark-mut); }

/* ===========================================================================
   COMPONENT: Field (contact form)
   =========================================================================== */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-500);
}
.field label .req { color: var(--azure); }
.field input, .field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.field textarea { padding: 13px 14px; resize: vertical; }
.field input:focus, .field textarea:focus {
  border-color: var(--azure);
  box-shadow: 0 0 0 4px var(--azure-050);
}

/* ===========================================================================
   NAV
   =========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease-out), backdrop-filter .4s var(--ease-out),
              border-color .4s var(--ease-out);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--border-hair);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(20px,5vw,56px);
  height: 84px;
  display: flex; align-items: center; justify-content: space-between;
  transition: height .4s var(--ease-out);
}
.site-header.scrolled .nav-inner { height: 66px; }

.nav-logo { display: flex; align-items: center; position: relative; }
.nav-logo img { height: 30px; transition: opacity .3s; }
.nav-logo .logo-black { position: absolute; opacity: 0; }
.site-header.scrolled .nav-logo .logo-black { opacity: 1; }
.site-header.scrolled .nav-logo .logo-white { opacity: 0; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  letter-spacing: 0.01em; color: rgba(255,255,255,0.82);
  transition: opacity .2s, color .3s;
}
.site-header.scrolled .nav-links a { color: var(--slate-700); }
.nav-links a:hover { opacity: 0.6; }

.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { height: 40px; }

/* nav button swaps variant on scroll: default on-dark -> primary */
.nav-cta .btn {
  background: #fff; color: var(--ink); border-color: #fff;
  box-shadow: 0 8px 24px -12px rgba(0,0,0,0.6);
}
.site-header.scrolled .nav-cta .btn {
  background: var(--azure); color: #fff; border-color: var(--azure);
  box-shadow: 0 8px 22px -10px var(--glow-azure);
}

.burger {
  display: none; background: transparent; border: none; cursor: pointer;
  padding: 6px; color: #fff;
}
.site-header.scrolled .burger { color: var(--ink); }
.burger .icon-close { display: none; }
.site-header.menu-open .burger .icon-close { display: block; }
.site-header.menu-open .burger .icon-open { display: none; }

.mobile-menu {
  display: none;
  background: rgba(11,19,32,0.97);
  backdrop-filter: blur(10px);
  padding: 18px 24px 26px;
  flex-direction: column; gap: 4px;
}
.site-header.menu-open .mobile-menu { display: flex; }
.mobile-menu a {
  color: #fff; font-family: var(--font-sans); font-size: 18px;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ===========================================================================
   HERO
   =========================================================================== */
.hero {
  position: relative; min-height: 100svh; background: var(--ink);
  overflow: hidden; display: flex; flex-direction: column;
}
#hero-mesh {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; transition: opacity .5s var(--ease-out);
}
.hero-scrim-radial {
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 8%, rgba(11,19,32,0) 30%, rgba(11,19,32,0.55) 78%, var(--ink) 100%);
}
.hero-scrim-linear {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,19,32,0.72) 0%, rgba(11,19,32,0.18) 30%, rgba(11,19,32,0.1) 60%, var(--ink) 100%);
}
.hero-body {
  position: relative; flex: 1; display: flex; align-items: center;
  max-width: 1280px; width: 100%; margin: 0 auto;
  padding: 36px clamp(20px,5vw,56px) 40px;
}
.hero-inner { max-width: 880px; }
.hero h1 {
  margin: 0; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.7rem, 1rem + 6.4vw, 6rem); line-height: 1.02;
  letter-spacing: -0.02em; color: #fff; text-wrap: balance;
}
.hero h1 .accent { font-style: italic; color: var(--azure-300); }
.hero-sub {
  margin-top: 26px; max-width: 620px; font-family: var(--font-sans);
  font-size: clamp(1.05rem,0.9rem+0.5vw,1.3rem); line-height: 1.6;
  color: rgba(234,240,248,0.78);
}
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats-wrap { position: relative; border-top: 1px solid rgba(255,255,255,0.1); }
.hero-stats {
  max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px,5vw,56px);
  display: grid; grid-template-columns: repeat(4,1fr);
}
.hero-stat { padding: 26px 8px 30px; }
.hero-stat + .hero-stat { border-left: 1px solid rgba(255,255,255,0.08); }
.hero-stat .num {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.8rem,1rem+1.8vw,2.8rem); color: #fff;
  line-height: 1; letter-spacing: -0.01em;
}
.hero-stat .lbl {
  margin-top: 8px; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.13em; text-transform: uppercase; color: rgba(157,187,255,0.85);
}

/* ===========================================================================
   HERO FUNDING STRIP (PNRR mandatory logos — polychrome, above the fold)
   =========================================================================== */
.hero-funding {
  position: relative;
  max-width: 1280px; width: 100%; margin: 0 auto;
  padding: 100px clamp(20px,5vw,56px) 0;   /* clears the fixed nav (84px) */
}
.hero-fund-row {
  display: flex; align-items: stretch; flex-wrap: wrap;
  gap: 10px;
}
.fund-chip {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 14px 8px 10px;
  background: rgba(255,255,255,0.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: var(--r-md);
  box-shadow: 0 14px 36px -18px rgba(0,0,0,0.6);
}
.fund-chip .logo { flex: none; border-radius: 3px; }
.fund-chip .eu-flag,
.fund-chip .ro-flag { box-shadow: inset 0 0 0 1px rgba(11,19,32,0.14); }
.fund-chip .ct strong {
  display: block; font-family: var(--font-sans); font-weight: 600;
  font-size: 13px; line-height: 1.2; letter-spacing: -0.005em; color: var(--ink);
}
.fund-chip .ct span {
  display: block; margin-top: 2px; font-family: var(--font-sans);
  font-size: 11px; line-height: 1.25; color: var(--slate-500); max-width: 22ch;
}
.pnrr-tile {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  background: var(--azure); color: #fff;
  box-shadow: 0 8px 22px -12px var(--glow-azure);
}
@media (max-width: 920px) {
  .fund-chip .ct span { display: none; }       /* keep logos + primary label compact */
}
@media (max-width: 600px) {
  .hero-funding { padding-top: 88px; }
  .fund-chip { padding: 7px 11px 7px 8px; gap: 9px; }
  .fund-chip .ct strong { font-size: 11.5px; }
}

/* ===========================================================================
   ABOUT
   =========================================================================== */
.about { background: var(--white); }
.about-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px,5vw,56px);
  display: grid; grid-template-columns: repeat(12,1fr);
  gap: clamp(28px,4vw,64px); align-items: center;
}
.about-text { grid-column: span 6; }
.about-text p.lead-p { margin-top: 24px; font-size: var(--fs-lead); line-height: 1.65; color: var(--text-body); }
.about-text p.body-p { margin-top: 18px; font-size: var(--fs-body); line-height: 1.7; color: var(--text-muted); }
.about-badges { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.about-media { grid-column: span 6; position: relative; }
.about-media .frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.about-media .frame img { width: 100%; height: clamp(340px,38vw,480px); object-fit: cover; display: block; }
.about-media .frame .grad {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,19,32,0) 45%, rgba(11,19,32,0.45) 100%);
}
.stat-card {
  position: absolute; left: clamp(-8px,-1vw,-28px); bottom: clamp(-20px,-2vw,-34px);
  background: var(--ink); color: #fff; border-radius: var(--r-md);
  padding: 20px 24px; box-shadow: var(--shadow-xl); border: 1px solid var(--border-on-dark);
}
.stat-card .num { font-family: var(--font-display); font-weight: 500; font-size: 40px; line-height: 1; letter-spacing: -0.01em; }
.stat-card .num span { font-family: var(--font-sans); font-size: 17px; font-weight: 600; color: var(--azure-300); }
.stat-card .lbl { margin-top: 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(157,187,255,0.85); }

/* ===========================================================================
   IDENTITY
   =========================================================================== */
.identity { background: var(--ink); position: relative; }
.identity .glow {
  position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 80% 0%, rgba(47,102,240,0.14), transparent 60%);
}
.identity .container { position: relative; }
.ident-grid {
  margin-top: clamp(36px,4vw,56px); display: grid;
  grid-template-columns: repeat(12,1fr); gap: clamp(28px,4vw,56px);
}
.ident-list { grid-column: span 6; }
.ident-row {
  display: flex; justify-content: space-between; gap: 24px; padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ident-row .k {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(157,187,255,0.8); flex: none; padding-top: 3px;
}
.ident-row .v {
  font-family: var(--font-sans); font-size: 16px; font-weight: 500;
  color: #fff; text-align: right; text-wrap: balance;
}
.ident-metrics {
  grid-column: span 6; display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(255,255,255,0.1); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}
.ident-metric { background: var(--navy-800); padding: clamp(22px,3vw,34px); }
.ident-metric .num {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem,1rem+2.4vw,3rem); color: #fff; line-height: 1; letter-spacing: -0.02em;
}
.ident-metric .num span { font-family: var(--font-sans); font-size: 0.42em; font-weight: 600; color: var(--azure-300); margin-left: 4px; }
.ident-metric .lbl { margin-top: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(157,187,255,0.78); }

/* ===========================================================================
   ACTIVITIES
   =========================================================================== */
.activities { background: var(--paper); }
.act-grid {
  margin-top: clamp(40px,5vw,64px); display: grid;
  grid-template-columns: repeat(3,1fr); gap: 18px;
}
.act-card { height: 100%; }
.act-card .head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.icon-tile {
  width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-md); background: var(--azure-050); border: 1px solid var(--azure-300); color: var(--azure);
}
.act-card .num { font-family: var(--font-mono); font-size: 12px; color: var(--slate-300); }
.act-card h3 { font-family: var(--font-sans); font-weight: 600; font-size: 18px; color: var(--ink); letter-spacing: -0.01em; }
.act-card p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--text-muted); }

.act-feature {
  height: 100%; min-height: 180px; border-radius: var(--r-lg);
  background: var(--ink); color: #fff; padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid var(--border-on-dark);
}
.act-feature .icon-tile { background: rgba(47,102,240,0.18); color: var(--azure-300); border: none; }
.act-feature .title { font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1.15; }

/* ===========================================================================
   RESULTS
   =========================================================================== */
.results { position: relative; background: var(--ink); overflow: hidden; }
.results .tex {
  position: absolute; inset: 0; opacity: 0.45; pointer-events: none;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 40%, #000 30%, transparent 85%);
          mask-image: radial-gradient(120% 100% at 50% 40%, #000 30%, transparent 85%);
}
.results .glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 82% 8%, rgba(47,102,240,0.18), transparent 60%),
              radial-gradient(60% 55% at 8% 100%, rgba(87,210,224,0.12), transparent 60%);
}
.results-grid {
  position: relative; max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px,5vw,56px);
  display: grid; grid-template-columns: repeat(12,1fr); gap: clamp(28px,4vw,64px); align-items: start;
}
.results-head { grid-column: span 5; }
.results-head .badge-wrap { margin-top: 30px; }
.results-panel { grid-column: span 4; }
.results-panel.span3 { grid-column: span 3; }
.glass {
  background: rgba(255,255,255,0.045);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r-lg);
  padding: clamp(22px,2.4vw,32px) clamp(22px,2.4vw,34px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 30px 70px -28px rgba(0,0,0,0.6);
}
.glass ul { list-style: none; margin: 0; padding: 0; }
.glass li {
  display: flex; gap: 14px; align-items: flex-start; padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.glass li:last-child { border-bottom: none; }
.glass li .chk { flex: none; color: var(--cyan); margin-top: 1px; }
.glass li span:last-child {
  font-family: var(--font-sans); font-size: 16px; line-height: 1.45; color: rgba(234,240,248,0.9);
}

/* ===========================================================================
   DESI
   =========================================================================== */
.desi { background: var(--mist); }
.desi-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.desi-grid {
  margin-top: clamp(36px,4vw,56px); display: grid;
  grid-template-columns: repeat(4,1fr); gap: 16px;
}
.desi-card { height: 100%; }
.desi-card .icon-tile-ink {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-md); background: var(--ink); color: var(--cyan);
}
.desi-card h3 { margin-top: 18px; font-family: var(--font-sans); font-weight: 600; font-size: 16.5px; color: var(--ink); }
.desi-card p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--text-muted); }

/* ===========================================================================
   BENEFICIARIES
   =========================================================================== */
.benef { background: var(--white); }
.benef-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.benef-card { height: 100%; border-radius: var(--r-lg); padding: clamp(28px,3vw,40px); }
.benef-card.light { background: var(--paper); border: 1px solid var(--paper-2); }
.benef-card.dark { background: var(--ink); border: 1px solid var(--border-on-dark); }
.benef-icon {
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-md);
}
.benef-card.light .benef-icon { background: var(--azure); color: #fff; }
.benef-card.dark .benef-icon { background: rgba(87,210,224,0.16); color: var(--cyan); }
.benef-card .kind { margin-top: 20px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.benef-card.light .kind { color: var(--azure); }
.benef-card.dark .kind { color: var(--cyan); }
.benef-card .title { margin-top: 10px; font-family: var(--font-display); font-weight: 500; font-size: 26px; letter-spacing: -0.01em; }
.benef-card.light .title { color: var(--ink); }
.benef-card.dark .title { color: #fff; }
.benef-card p { margin-top: 12px; font-size: 15.5px; line-height: 1.6; }
.benef-card.light p { color: var(--text-muted); }
.benef-card.dark p { color: rgba(234,240,248,0.72); }

/* ===========================================================================
   CONTACT
   =========================================================================== */
.contact { background: var(--ink); position: relative; }
.contact .glow {
  position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 15% 100%, rgba(47,102,240,0.16), transparent 60%);
}
.contact-grid {
  position: relative; max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px,5vw,56px);
  display: grid; grid-template-columns: repeat(12,1fr); gap: clamp(32px,4vw,64px);
}
.contact-info { grid-column: span 5; }
.contact-list { margin-top: clamp(28px,3vw,40px); display: grid; gap: 4px; }
.contact-row {
  display: flex; align-items: center; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact-row:last-child { border-bottom: none; }
.contact-row .ci {
  width: 42px; height: 42px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-md); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: var(--azure-300);
}
.contact-row .ck { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(157,187,255,0.75); }
.contact-row .cv { font-family: var(--font-sans); font-size: 16.5px; font-weight: 500; color: #fff; margin-top: 3px; }

.contact-form-wrap { grid-column: span 7; }
.contact-card {
  background: var(--white); border-radius: var(--r-xl);
  padding: clamp(26px,3vw,40px); box-shadow: var(--shadow-xl);
}
.contact-form { display: grid; gap: 18px; }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-success {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  min-height: 320px; text-align: center; gap: 16px;
}
.contact-card.sent .form-success { display: flex; }
.contact-card.sent .contact-form { display: none; }
.form-success .ok {
  width: 64px; height: 64px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--azure-050); color: var(--azure);
}
.form-success h3 { font-family: var(--font-display); font-weight: 500; font-size: 28px; color: var(--ink); }
.form-success p { max-width: 320px; color: var(--text-muted); font-size: 15px; }
.form-success button {
  margin-top: 4px; background: transparent; border: none; color: var(--azure);
  font-family: var(--font-sans); font-weight: 600; font-size: 14px; cursor: pointer;
}

/* ===========================================================================
   FOOTER
   =========================================================================== */
.site-footer {
  background: var(--ink-900); color: rgba(234,240,248,0.7);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  padding: clamp(48px,6vw,80px) clamp(20px,5vw,56px) 36px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px,4vw,64px); align-items: start; }
.footer-grid img { height: 34px; margin-bottom: 22px; }
.footer-grid .disclaimer { max-width: 520px; margin-top: 14px; font-size: 13px; line-height: 1.65; color: rgba(234,240,248,0.55); }
.footer-eu { display: flex; flex-direction: column; gap: 14px; }
.eu-badge {
  display: flex; align-items: center; gap: 13px; padding: 14px 16px; max-width: 520px;
  border-radius: var(--r-md); background: rgba(20,60,140,0.25); border: 1px solid rgba(244,196,48,0.35);
}
.eu-badge .flag { display: inline-flex; flex: none; }
.eu-badge .flag svg { width: 34px; height: 23px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15); }
.eu-badge .txt { font-family: var(--font-sans); font-size: 13.5px; font-weight: 600; color: #fff; line-height: 1.4; letter-spacing: -0.005em; }

/* Footer program links */
.footer-links-label {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(157,187,255,0.75);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border-radius: var(--r-md); background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  font-family: var(--font-sans); font-size: 14px; font-weight: 500; color: #fff;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.footer-links a:hover { background: rgba(255,255,255,0.08); border-color: var(--azure-300); transform: translateY(-1px); }
.footer-links a .li {
  width: 36px; height: 36px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: var(--azure-300);
}
.footer-links a .lurl { font-family: var(--font-mono); font-size: 11.5px; font-weight: 400; color: rgba(157,187,255,0.7); letter-spacing: 0.02em; }
.footer-bottom {
  margin-top: clamp(36px,4vw,56px); padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; color: rgba(234,240,248,0.4); }

/* ===========================================================================
   ACCENT SWITCHER (the design's "tweaks" — accent picker)
   =========================================================================== */
.accent-switch {
  position: fixed; right: 18px; bottom: 18px; z-index: 300;
  display: flex; gap: 8px; padding: 8px 10px;
  background: rgba(11,19,32,0.7); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r-pill);
  box-shadow: var(--shadow-lg);
}
.accent-switch button {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid transparent;
  cursor: pointer; padding: 0; transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.accent-switch button:hover { transform: scale(1.12); }
.accent-switch button[aria-pressed="true"] { border-color: #fff; }

/* ===========================================================================
   RESPONSIVE
   =========================================================================== */
@media (max-width:1024px) {
  .act-grid, .desi-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width:760px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: inline-flex; }
  .about-text, .about-media,
  .ident-list, .ident-metrics,
  .results-head, .results-panel, .results-panel.span3,
  .contact-info, .contact-form-wrap { grid-column: 1 / -1; }
  .act-grid, .desi-grid, .benef-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2,1fr); }
  .hero-stat:nth-child(3) { border-left: none; }
  .results-grid, .ident-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .contact-form .row2 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
