/* =============================================================
   InGaGe — Horizon Europe project theme
   Single global stylesheet. Load once from the theme.
   All rules are scoped to .ingage-site (+ .leaflet-* for the map).
   ============================================================= */

/* ---------- Tokens ---------- */
.ingage-site{
  --paper:        #FFFFFF;
  --paper-soft:   #e9f2f6;
  --paper-deep:   #C8DCEE;
  --ink:          #32445e;
  --ink-2:        #45505f;
  --ink-3:        #5d6878;
  --line:         #C8DCEE;
  --line-soft:    #e9f2f6;

  --copper:       #2f6b7d;
  --copper-deep:  #32445e;
  --copper-soft:  #5e90c3;
  --copper-wash:  #e9f2f6;

  --serif:  'Roboto', system-ui, -apple-system, sans-serif;
  --sans:   'Roboto', system-ui, -apple-system, sans-serif;
  --mono:   'Roboto Mono', ui-monospace, monospace;

  /* Type scale — nothing below --fs-micro anywhere on the site */
  --fs-micro: 0.84rem;
  --fs-mini:  0.92rem;
  --fs-small: 0.98rem;
  --fs-body:  1.05rem;
  --fs-lead:  1.2rem;

  --fs-display: clamp(2.15rem, 4.4vw, 3.9rem);
  --fs-h2:      clamp(1.9rem, 3.4vw, 3rem);
  --fs-h3:      clamp(1.5rem, 2.4vw, 2.1rem);
  --fs-h4:      clamp(1.2rem, 1.6vw, 1.45rem);

  --track-micro: 0.08em;

  --maxw:   1440px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

/* ---- Full-bleed -------------------------------------------------------
   Breaks the block out of a boxed theme/page container so section
   backgrounds run edge-to-edge and the content lines up with a
   full-width header and footer.
   Self-neutralising: if the page is already full width the calc resolves
   to 0 and nothing moves. Inner content stays aligned at --maxw.
   To go back to boxed, delete this rule and the body rule below.
   --------------------------------------------------------------------- */
.ingage-site{
  width: auto;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* The header wrapper must not generate a box: a sticky element can only
   travel inside its parent, and a wrapper that hugs the nav (~74px) pins
   it in place. `display: contents` removes the box so the nav sticks
   against the page instead. The nav then carries the bleed itself. */
.ingage-header-shell{ display: contents; }
.ingage-site .nav{
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* 100vw ignores the scrollbar, which would leave a few px of sideways
   scroll. `clip` (not `hidden`) suppresses it without creating a scroll
   container, so sticky positioning survives. */
body{ overflow-x: clip; }

/* ---------- Base ---------- */
.ingage-site,
.ingage-site *,
.ingage-site *::before,
.ingage-site *::after{ box-sizing: border-box; }

.ingage-site{
  margin-top: 0;
  margin-bottom: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ingage-site img{ max-width: 100%; height: auto; display: block; }
.ingage-site a{ color: inherit; text-decoration: none; }
.ingage-site button{ font: inherit; cursor: pointer; }
.ingage-site ::selection{ background: var(--copper); color: var(--paper); }

.ingage-site :focus-visible{
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

/* Shared micro-label treatment (mono, uppercase) */
.ingage-site .eyebrow,
.ingage-site .el-cell-top,
.ingage-site .el-cell-name,
.ingage-site .el-row-source,
.ingage-site .kpi-line .lbl,
.ingage-site .hero-side-row .k,
.ingage-site .hero-side-label,
.ingage-site .elements-strip-label,
.ingage-site .element-detail-header .legend,
.ingage-site .partner-name .role,
.ingage-site .partner-link,
.ingage-site .eu-map-caption,
.ingage-site .news-meta,
.ingage-site .res-type,
.ingage-site .res-foot,
.ingage-site .ct-label,
.ingage-site .social-pill,
.ingage-site .footer-bottom,
.ingage-site .pillar h4,
.ingage-site .problem-card h3,
.ingage-site .impact-card .el-mark,
.ingage-site .news-cta,
.ingage-site .nav-cta,
.ingage-site .hero-caption,
.ingage-site .teaser-card .t-kicker,
.ingage-site .stat-num .unit{
  font-family: var(--mono);
  letter-spacing: var(--track-micro);
}

/* ============== NAV ============== */
.ingage-site .nav{
  position: sticky; top: 0; z-index: 500;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
/* Gutter lives on .nav (like .hero/.footer/section) so the logo lines up
   with the page content instead of sitting one gutter further in. */
.ingage-site .nav-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.85rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.ingage-site .brand{ display: inline-flex; align-items: center; line-height: 0; flex-shrink: 0; }
.ingage-site .brand-logo{ height: 46px; width: auto; display: block; transition: opacity 0.2s; }
.ingage-site .brand:hover .brand-logo{ opacity: 0.78; }

.ingage-site .nav-links{
  display: flex;
  gap: 0.15rem;
  list-style: none;
  padding: 0; margin: 0;
  font-size: var(--fs-mini);
}
.ingage-site .nav-links a{
  display: block;
  padding: 0.5rem 0.85rem;
  color: var(--ink-2);
  position: relative;
  font-weight: 500;
  transition: color 0.2s;
}
.ingage-site .nav-links a::after{
  content:'';
  position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 0.3rem;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.ingage-site .nav-links a:hover{ color: var(--copper); }
.ingage-site .nav-links a:hover::after{ transform: scaleX(1); }
.ingage-site .nav-links a.is-current{ color: var(--copper); font-weight: 600; }
.ingage-site .nav-links a.is-current::after{ transform: scaleX(1); }

.ingage-site .nav-right{ display: flex; align-items: center; gap: 1rem; }

.ingage-site .nav-social{ display: flex; align-items: center; gap: 0.35rem; }
.ingage-site .social-icon{
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  transition: all 0.2s;
}
.ingage-site .social-icon svg{ width: 16px; height: 16px; fill: currentColor; display: block; }
.ingage-site .social-icon:hover{ background: var(--copper); border-color: var(--copper); color: var(--paper); }

.ingage-site .nav-cta{
  font-size: var(--fs-micro);
  text-transform: uppercase;
  padding: 0.7rem 1.1rem;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  border: 1px solid var(--ink);
  display: inline-flex; align-items: center; gap: 0.5rem;
  white-space: nowrap;
  transition: all 0.2s;
}
.ingage-site .nav-cta:hover{ background: var(--copper); border-color: var(--copper); }
.ingage-site .nav-cta .arr{ transition: transform 0.2s; }
.ingage-site .nav-cta:hover .arr{ transform: translateX(3px); }

.ingage-site .nav-burger{
  display: none;
  background: none; border: 0;
  color: var(--ink);
  font-size: 1.6rem; line-height: 1;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  transition: color 0.2s;
}
.ingage-site .nav-burger:hover{ color: var(--copper); }
.ingage-site .nav-mobile-only{ display: none; }

@media (max-width: 980px){
  .ingage-site .nav-links,
  .ingage-site .nav-cta,
  .ingage-site .nav-social{ display: none; }
  .ingage-site .nav-burger{ display: block; }

  .ingage-site .nav-links.open{
    display: flex;
    flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(50,68,94,0.10);
    padding: 0.5rem var(--gutter) 1.25rem;
    gap: 0;
    font-size: 1.05rem;
  }
  .ingage-site .nav-links.open li{ border-bottom: 1px solid var(--line-soft); }
  .ingage-site .nav-links.open li:last-child{ border-bottom: 0; }
  .ingage-site .nav-links.open a{ padding: 0.95rem 0.25rem; }
  .ingage-site .nav-links.open a::after{ display: none; }
  .ingage-site .nav-mobile-only{ display: block; }
  .ingage-site .nav-mobile-only a{ color: var(--copper); font-weight: 600; }
  .ingage-site .nav-links.open .nav-social{
    display: flex;
    padding-top: 1rem;
    gap: 0.5rem;
  }
}

/* ============== HERO (home) ============== */
.ingage-site .hero{
  position: relative;
  isolation: isolate;
  padding: clamp(3rem, 6vw, 5.5rem) var(--gutter) clamp(2.5rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.ingage-site .hero-media{ position: absolute; inset: 0; z-index: 0; background: var(--paper-soft); }
/* Carousel is pure CSS — no script needed, so it cannot be broken by a
   plugin that strips <script>. 4 slides x 6s = 24s loop. */
.ingage-site .hero-slide{
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  /* Normalises very bright and very dark photos into a similar tonal range */
  filter: saturate(0.92) contrast(0.94) brightness(1.02);
  animation: ingageSlideFade 24s linear infinite;
}
.ingage-site .hero-slide-1{
  background-image: url('https://ingage-horizon.eu/wp-content/uploads/2026/07/EJO-0083.jpg');
  animation-delay: 0s;
}
.ingage-site .hero-slide-2{
  background-image: url('https://ingage-horizon.eu/wp-content/uploads/2026/07/Freiberger_image.jpg');
  animation-delay: 6s;
}
.ingage-site .hero-slide-3{
  background-image: url('https://ingage-horizon.eu/wp-content/uploads/2026/07/DSC00273.jpg');
  animation-delay: 12s;
}
.ingage-site .hero-slide-4{
  background-image: url('https://ingage-horizon.eu/wp-content/uploads/2026/07/EJO-0268.jpg');
  animation-delay: 18s;
}

@keyframes ingageSlideFade{
  0%   { opacity: 0; }
  3%   { opacity: 1; }
  25%  { opacity: 1; }
  28%  { opacity: 0; }
  100% { opacity: 0; }
}

/* Diagonal fade: near-opaque where the type sits, near-clear over the photo */
.ingage-site .hero-scrim{
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(100deg,
      rgba(255,255,255,0.95) 0%,
      rgba(255,255,255,0.90) 30%,
      rgba(255,255,255,0.64) 52%,
      rgba(255,255,255,0.28) 76%,
      rgba(255,255,255,0.12) 100%),
    linear-gradient(to bottom,
      rgba(255,255,255,0.30) 0%,
      rgba(255,255,255,0.00) 30%,
      rgba(255,255,255,0.00) 72%,
      rgba(255,255,255,0.45) 100%);
}

.ingage-site .hero-arc,
.ingage-site .hero-arc-2{
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.ingage-site .hero-arc{
  top: -150px; right: -150px;
  width: 600px; height: 600px;
  border: 1px solid var(--copper-soft);
  opacity: 0.4;
}
.ingage-site .hero-arc-2{
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border: 1px dashed var(--copper-soft);
  opacity: 0.28;
}

.ingage-site .hero-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.ingage-site .hero-headline{
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-display);
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0 0 1.5rem;
  max-width: 20ch;
  overflow-wrap: break-word;
  text-shadow: 0 1px 14px rgba(255,255,255,0.95), 0 1px 3px rgba(255,255,255,0.9);
}
.ingage-site .hero-headline em,
.ingage-site .hero-headline .amp{
  font-style: italic;
  color: var(--copper);
  font-weight: 400;
}

.ingage-site .hero-body{
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: clamp(1.75rem, 4vw, 3rem);
  align-items: end;
}
@media (min-width: 900px){
  .ingage-site .hero-body{ grid-template-columns: 1.5fr 1fr; gap: 3.5rem; }
}

.ingage-site .hero-lead{
  font-size: var(--fs-lead);
  color: var(--ink-2);
  max-width: 55ch;
  line-height: 1.55;
  margin: 0 0 2rem;
  text-align: justify;
  hyphens: auto;
  text-shadow: 0 1px 10px rgba(255,255,255,0.95);
}
.ingage-site .hero-lead strong{ color: var(--ink); font-weight: 600; }

.ingage-site .hero-actions{ display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* Frosted data card so the photo reads behind it without hurting contrast */
.ingage-site .hero-side{
  border: 1px solid rgba(200,220,238,0.9);
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  padding: 1.75rem;
  position: relative;
  box-shadow: 0 8px 30px rgba(50,68,94,0.08);
}
.ingage-site .hero-side::before{
  content:'';
  position: absolute;
  top: -1px; left: -1px;
  width: 28px; height: 28px;
  border-top: 2px solid var(--copper);
  border-left: 2px solid var(--copper);
}
.ingage-site .hero-side-label{
  font-size: var(--fs-micro);
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1.1rem;
}
.ingage-site .hero-side-rows{ display: flex; flex-direction: column; gap: 0.8rem; }
.ingage-site .hero-side-row{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: var(--fs-small);
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}
.ingage-site .hero-side-row:last-child{ border-bottom: 0; padding-bottom: 0; }
.ingage-site .hero-side-row .k{
  color: var(--ink-3);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  white-space: nowrap;
}
.ingage-site .hero-side-row .v{ color: var(--ink); font-weight: 600; text-align: right; line-height: 1.25; }
.ingage-site .hero-side-row .v em{ font-family: var(--serif); font-style: italic; color: var(--copper); font-weight: 400; font-size: 1.1em; }

/* Carousel caption + dots */
.ingage-site .hero-figure{
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: clamp(1.5rem, 3vw, 2.25rem) auto 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 1rem;
}
/* Photo credits. Deliberately quiet — these exist for attribution, not to
   be read, so they sit rotated along the right edge, well under the body
   type size. All four share one grid cell and fade in with their slide. */
.ingage-site .hero-credits{
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  display: grid;
  z-index: 3;
  max-height: 84%;
  /* The scrim is at its thinnest on this side, so a translucent plate is
     what actually makes the credit legible over a busy photo. */
  padding: 0.95rem 0.32rem;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(7px) saturate(125%);
  -webkit-backdrop-filter: blur(7px) saturate(125%);
  box-shadow: 0 2px 12px rgba(50,68,94,0.13);
}
.ingage-site .hero-credit{
  grid-area: 1 / 1;
  margin: 0;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.25;
  color: rgba(50,68,94,0.92);
  /* Wraps into a second vertical line rather than truncating — a clipped
     credit defeats the point of having one. */
  white-space: normal;
  opacity: 0;
  animation: ingageSlideFade 24s linear infinite;
}
.ingage-site .hero-credit a{
  color: var(--copper);
  border-bottom: 1px solid rgba(47,107,125,0.4);
}
.ingage-site .hero-credit a:hover{ color: var(--copper); border-bottom-color: var(--copper); }
.ingage-site .hero-credit:nth-child(1){ animation-delay: 0s; }
.ingage-site .hero-credit:nth-child(2){ animation-delay: 6s; }
.ingage-site .hero-credit:nth-child(3){ animation-delay: 12s; }
.ingage-site .hero-credit:nth-child(4){ animation-delay: 18s; }

/* Reserve a lane at the right edge of the hero for the credit strip so it
   can never land on top of the data card, at any viewport width. */
@media (min-width: 1151px){
  .ingage-site .hero-side{ margin-right: 76px; }
}

/* Narrow screens: no room for a rotated strip, so lay it flat and small
   under the hero content instead. */
@media (max-width: 1150px){
  .ingage-site .hero-credits{
    position: static;
    transform: none;
    writing-mode: horizontal-tb;
    max-height: none;
    margin-top: 1.5rem;
    justify-items: end;
    padding: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }
  .ingage-site .hero-credit{
    text-align: right;
    white-space: normal;
    max-width: 46ch;
    text-shadow: 0 0 8px rgba(255,255,255,0.95);
  }
}
.ingage-site .hero-caption a{
  color: var(--copper);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.ingage-site .hero-caption a:hover{ border-bottom-color: var(--copper); }
.ingage-site .hero-dots{ display: flex; gap: 0.5rem; flex-shrink: 0; }
.ingage-site .hero-dot{
  width: 26px; height: 3px;
  border: 0; padding: 0;
  background-color: rgba(50,68,94,0.22);
  animation: ingageDotOn 24s linear infinite;
}
.ingage-site .hero-dot:nth-child(1){ animation-delay: 0s; }
.ingage-site .hero-dot:nth-child(2){ animation-delay: 6s; }
.ingage-site .hero-dot:nth-child(3){ animation-delay: 12s; }
.ingage-site .hero-dot:nth-child(4){ animation-delay: 18s; }

@keyframes ingageDotOn{
  0%   { background-color: #2f6b7d; }
  25%  { background-color: #2f6b7d; }
  26%  { background-color: rgba(50,68,94,0.22); }
  100% { background-color: rgba(50,68,94,0.22); }
}

/* ============== PAGE HEAD (inner pages) ============== */
.ingage-site .page-head{
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: clamp(2.75rem, 5vw, 4.5rem) var(--gutter) clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}
.ingage-site .page-head::before{
  content:'';
  position: absolute;
  top: -180px; right: -160px;
  width: 480px; height: 480px;
  border: 1px solid var(--copper-soft);
  border-radius: 50%;
  opacity: 0.35;
  pointer-events: none;
}
.ingage-site .page-head-inner{ max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 1; }
.ingage-site .page-head h1{
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0 0 1.25rem;
  max-width: 24ch;
  color: var(--ink);
  overflow-wrap: break-word;
}
.ingage-site .page-head h1 em{ font-style: italic; color: var(--copper); }
.ingage-site .page-head p{
  font-size: var(--fs-lead);
  color: var(--ink-2);
  max-width: 68ch;
  margin: 0;
  line-height: 1.6;
  text-align: justify;
  hyphens: auto;
}

/* ============== BUTTONS ============== */
.ingage-site .btn{
  font-family: var(--sans);
  font-size: var(--fs-small);
  padding: 0.9rem 1.5rem;
  font-weight: 600;
  border: 1px solid;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.2s;
}
.ingage-site .btn-primary{ background: var(--copper); color: var(--paper); border-color: var(--copper); }
.ingage-site .btn-primary:hover{ background: var(--copper-deep); border-color: var(--copper-deep); }
.ingage-site .btn-ghost{ background: rgba(255,255,255,0.75); color: var(--ink); border-color: var(--ink); }
.ingage-site .btn-ghost:hover{ background: var(--ink); color: var(--paper); }
.ingage-site .btn .arr{ transition: transform 0.2s; }
.ingage-site .btn:hover .arr{ transform: translateX(3px); }

/* ============== ELEMENTS STRIP ============== */
.ingage-site .elements-strip{
  background: var(--ink);
  color: var(--paper);
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter);
}
.ingage-site .elements-strip-inner{ max-width: var(--maxw); margin: 0 auto; }
.ingage-site .elements-strip-label{
  font-size: var(--fs-micro);
  text-transform: uppercase;
  color: #9dc4e4;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.ingage-site .elements-strip-label::before{ content:''; width: 28px; height: 1px; background: #9dc4e4; }
.ingage-site .elements-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.10);
}
@media (min-width: 760px){ .ingage-site .elements-grid{ grid-template-columns: repeat(5, 1fr); } }

.ingage-site .el-cell{
  background: var(--ink);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.1rem;
  min-height: 180px;
  transition: background 0.3s;
}
.ingage-site .el-cell:hover{ background: #3d536f; }
.ingage-site .el-cell:hover .el-cell-sym{ color: #9dc4e4; }
.ingage-site .el-cell-top{
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-micro);
  color: #a9b4c4;
}
.ingage-site .el-cell-top .num{ color: #9dc4e4; font-weight: 600; }
.ingage-site .el-cell-sym{
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 3.6vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--paper);
  transition: color 0.3s;
}
.ingage-site .el-cell-name{
  font-size: var(--fs-micro);
  text-transform: uppercase;
  color: #a9b4c4;
}

/* ============== SECTIONS ============== */
.ingage-site section{ padding: clamp(3.5rem, 7vw, 6rem) var(--gutter); position: relative; }
.ingage-site .section-inner{ max-width: var(--maxw); margin: 0 auto; }

/* Utility classes so page markup carries no inline styles — some WordPress
   setups strip style attributes, which would silently break the layout. */
.ingage-site .section-soft{ background: var(--paper-soft); }
.ingage-site .section-soft-edged{
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ingage-site .mt-lg{ margin-top: 2.5rem; }
.ingage-site .mt-sm{ margin-top: 0.75rem; }

.ingage-site .eyebrow{
  font-size: var(--fs-micro);
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
}
.ingage-site .eyebrow::before{ content:''; width: 24px; height: 1px; background: var(--copper); }

.ingage-site h2.section-title{
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0 0 1.5rem;
  max-width: 24ch;
  color: var(--ink);
  overflow-wrap: break-word;
}
.ingage-site h2.section-title em{ font-style: italic; color: var(--copper); }

.ingage-site .section-intro{
  font-size: var(--fs-lead);
  color: var(--ink-2);
  max-width: 68ch;
  margin: 0 0 3rem;
  line-height: 1.6;
  text-align: justify;
  hyphens: auto;
}

/* ============== ABOUT ============== */
.ingage-site .about-grid{ display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 950px){
  .ingage-site .about-grid{ grid-template-columns: 5fr 4fr; gap: 4.5rem; align-items: start; }
}
.ingage-site .about-body p{
  font-size: var(--fs-body);
  color: var(--ink-2);
  margin: 0 0 1.2rem;
  line-height: 1.68;
  text-align: justify;
  hyphens: auto;
}
.ingage-site .about-body p:first-child{
  font-family: var(--serif);
  font-size: var(--fs-h3);
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 1.6rem;
  text-align: left;
}
.ingage-site .about-body p:first-child em{ font-style: italic; color: var(--copper); }
.ingage-site .about-body strong{ color: var(--ink); font-weight: 600; }

.ingage-site .problem-card{
  background: var(--paper-soft);
  border: 1px solid var(--line);
  padding: 2rem;
  position: relative;
}
.ingage-site .problem-card::before{
  content:'';
  position: absolute;
  top: -1px; right: -1px;
  width: 36px; height: 36px;
  border-top: 2px solid var(--copper);
  border-right: 2px solid var(--copper);
}
.ingage-site .problem-card h3{
  font-size: var(--fs-micro);
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  color: var(--copper);
  font-weight: 600;
}
.ingage-site .stat-row{
  padding-bottom: 1.35rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--line);
}
.ingage-site .stat-row:last-child{ border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.ingage-site .stat-num{
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.2vw, 2.9rem);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.ingage-site .stat-num .unit{
  font-size: 0.42em;
  color: var(--copper);
  font-weight: 600;
  margin-left: 0.2rem;
  letter-spacing: 0;
}
.ingage-site .stat-desc{
  margin-top: 0.5rem;
  font-size: var(--fs-small);
  color: var(--ink-2);
  line-height: 1.55;
}

/* ============== TECHNOLOGY ============== */
.ingage-site .element-detail-header{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}
.ingage-site .element-detail-header h3{
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-h3);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.ingage-site .element-detail-header h3 em{ font-style: italic; color: var(--copper); }
.ingage-site .element-detail-header .legend{
  font-size: var(--fs-micro);
  text-transform: uppercase;
  color: var(--ink-3);
}

.ingage-site .el-row{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.ingage-site .el-row:first-of-type{ border-top: 1px solid var(--line); }
@media (min-width: 900px){
  .ingage-site .el-row{ grid-template-columns: 110px 1.5fr 1fr; gap: 2.5rem; }
}
.ingage-site .el-row-sym{
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1;
  color: var(--copper);
  letter-spacing: -0.03em;
}
.ingage-site .el-row-content h4{
  font-family: var(--serif);
  font-size: var(--fs-h4);
  font-weight: 400;
  margin: 0 0 0.45rem;
  letter-spacing: -0.015em;
  color: var(--ink);
  overflow-wrap: break-word;
}
.ingage-site .el-row-source{
  font-size: var(--fs-micro);
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1.1rem;
  line-height: 1.5;
}
.ingage-site .el-row-content p{
  font-size: var(--fs-small);
  color: var(--ink-2);
  margin: 0;
  line-height: 1.68;
  text-align: justify;
  hyphens: auto;
}
.ingage-site .el-row-kpi{ display: flex; flex-direction: column; gap: 0.9rem; }
.ingage-site .kpi-line{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed var(--line);
}
.ingage-site .kpi-line .lbl{
  font-size: var(--fs-micro);
  text-transform: uppercase;
  color: var(--ink-3);
}
.ingage-site .kpi-line .val{
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.ingage-site .kpi-line .val em{ font-style: italic; color: var(--copper); }

/* ============== IMPACT ============== */
/* The impact figures live inside the page-head block rather than in a
   second section below it, so the page reads as one panel. */
.ingage-site .page-head-impact{ padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.ingage-site .page-head-impact .impact-grid,
.ingage-site .impact-figure{ margin-top: clamp(2.25rem, 4vw, 3.25rem); }

.ingage-site .impact-figure{
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
}
.ingage-site .impact-figure img{
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.ingage-site .impact-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  position: relative; z-index: 1;
}
@media (min-width: 700px){ .ingage-site .impact-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px){ .ingage-site .impact-grid{ grid-template-columns: repeat(5, 1fr); } }

.ingage-site .impact-card{
  background: var(--paper-soft);
  border: 1px solid var(--line);
  padding: 1.75rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: all 0.3s;
}
.ingage-site .impact-card:hover{
  background: var(--copper-wash);
  border-color: var(--copper);
  transform: translateY(-4px);
}
.ingage-site .impact-card .el-mark{
  font-size: var(--fs-micro);
  color: var(--copper);
  font-weight: 600;
}
.ingage-site .impact-pct{
  font-family: var(--serif);
  font-size: clamp(2.4rem, 3.6vw, 3.2rem);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.ingage-site .impact-pct .small{ font-size: 0.42em; color: var(--copper); font-family: var(--mono); font-weight: 600; }
.ingage-site .impact-label{ font-size: var(--fs-small); font-weight: 600; color: var(--ink); }
.ingage-site .impact-desc{
  font-size: var(--fs-mini);
  color: var(--ink-2);
  margin: 0;
  line-height: 1.55;
  font-family: var(--sans);
  letter-spacing: normal;
}

/* The graphic packs five columns of small type into one wide image, so it
   stops being readable on a phone. Below this width the text version of
   the same figures takes over. */
.ingage-site .impact-grid-fallback{ display: none; }
@media (max-width: 780px){
  .ingage-site .impact-figure{ display: none; }
  .ingage-site .impact-grid-fallback{ display: grid; }
}

.ingage-site .impact-pillars{
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 800px){ .ingage-site .impact-pillars{ grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.ingage-site .pillar{ padding-top: 1.35rem; border-top: 2px solid var(--copper); }
.ingage-site .pillar h4{
  font-size: var(--fs-micro);
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 0.9rem;
  font-weight: 600;
}
.ingage-site .pillar p{
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.4;
  color: var(--ink);
}
.ingage-site .pillar p em{ font-style: italic; color: var(--copper); }

/* ============== CONSORTIUM ============== */
.ingage-site .eu-map{
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.25rem;
  margin-bottom: 3.5rem;
}
.ingage-site .eu-map-frame{
  width: 100%;
  height: 620px;
  border: 1px solid var(--line);
  background: var(--paper-deep);
}
@media (max-width: 760px){ .ingage-site .eu-map-frame{ height: 420px; } }
.ingage-site .eu-map-caption{
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ingage-site .partners-list{ display: flex; flex-direction: column; }
.ingage-site .partner-item{
  display: grid;
  grid-template-columns: 44px 190px 1fr auto;
  gap: 1.75rem;
  align-items: center;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.ingage-site .partner-item:first-child{ border-top: 1px solid var(--line); }
.ingage-site .partner-item:hover{ background: rgba(255,255,255,0.6); }
.ingage-site .partner-item:hover .partner-name{ color: var(--copper); }

.ingage-site .partner-flag{
  width: 44px; height: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: var(--fs-micro);
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: 0.05em;
}

/* Uniform logo box — every logo scales to the same optical footprint */
.ingage-site .partner-logo{
  width: 190px;
  height: 78px;
  display: block;
  padding: 0.25rem;
}
.ingage-site .partner-logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
/* A few source PNGs carry a lot of baked-in padding, so they read smaller
   than the rest at the same box size. Scaling the artwork inside the box
   evens them out without breaking the uniform grid. */
.ingage-site .partner-logo.logo-boost img{ transform: scale(1.32); }

.ingage-site .partner-name{
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.2s;
  line-height: 1.3;
  overflow-wrap: break-word;
}
.ingage-site .partner-name .role{
  display: block;
  font-size: var(--fs-micro);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 0.3rem;
  line-height: 1.5;
}
.ingage-site .partner-link{
  font-size: var(--fs-micro);
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--line);
  transition: all 0.2s;
  white-space: nowrap;
  font-weight: 600;
}
.ingage-site .partner-link:hover{ color: var(--paper); background: var(--copper); border-color: var(--copper); }

@media (max-width: 900px){
  .ingage-site .partner-item{
    grid-template-columns: 44px 1fr;
    grid-template-areas: "flag logo" "name name" "link link";
    gap: 1rem;
    justify-items: start;
  }
  .ingage-site .partner-flag{ grid-area: flag; }
  .ingage-site .partner-logo{ grid-area: logo; justify-self: start; width: 100%; max-width: 190px; height: 66px; }
  .ingage-site .partner-logo img{ object-position: left center; }
  .ingage-site .partner-name{ grid-area: name; }
  .ingage-site .partner-link{ grid-area: link; }
}

/* Logo strip (home teaser) */
.ingage-site .logo-strip{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.ingage-site .logo-strip a{
  background: var(--paper);
  height: 110px;
  display: block;
  padding: 1.5rem 1.25rem;
  transition: background 0.25s;
}
.ingage-site .logo-strip a:hover{ background: var(--copper-wash); }
.ingage-site .logo-strip img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* ============== TEASERS (home) ============== */
.ingage-site .teaser-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 700px){ .ingage-site .teaser-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px){ .ingage-site .teaser-grid{ grid-template-columns: repeat(4, 1fr); } }

.ingage-site .teaser-card{
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.85rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: all 0.25s;
  min-height: 220px;
}
.ingage-site .teaser-card:hover{ border-color: var(--copper); transform: translateY(-4px); }
.ingage-site .teaser-card .t-kicker{
  font-size: var(--fs-micro);
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
}
.ingage-site .teaser-card h3{
  font-family: var(--serif);
  font-size: var(--fs-h4);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ink);
}
.ingage-site .teaser-card p{
  font-size: var(--fs-mini);
  color: var(--ink-2);
  margin: 0;
  line-height: 1.6;
  flex: 1;
}
.ingage-site .teaser-card .t-go{
  font-family: var(--mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.ingage-site .teaser-card:hover .t-go .arr{ transform: translateX(3px); }
.ingage-site .teaser-card .t-go .arr{ transition: transform 0.2s; }

/* ============== CTA BAND ============== */
.ingage-site .cta-band{
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
}
.ingage-site .cta-band-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.ingage-site .cta-band h2{
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-h3);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 22ch;
}
.ingage-site .cta-band h2 em{ font-style: italic; color: #9dc4e4; }
.ingage-site .btn-light{ background: var(--paper); color: var(--ink); border-color: var(--paper); }
.ingage-site .btn-light:hover{ background: #9dc4e4; border-color: #9dc4e4; color: var(--ink); }

/* ============== NEWS ============== */
.ingage-site .news-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 800px){ .ingage-site .news-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px){ .ingage-site .news-grid{ grid-template-columns: repeat(3, 1fr); } }

.ingage-site .news-card{
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: all 0.3s;
  min-height: 240px;
}
.ingage-site .news-card:hover{ border-color: var(--copper); transform: translateY(-3px); }
.ingage-site .news-meta{
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--fs-micro);
  text-transform: uppercase;
  color: var(--ink-3);
}
.ingage-site .news-type{ color: var(--copper); font-weight: 600; }
.ingage-site .news-card h4{
  font-family: var(--serif);
  font-size: var(--fs-h4);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ink);
  flex: 1;
  overflow-wrap: break-word;
}
.ingage-site .news-card p{
  font-size: var(--fs-mini);
  color: var(--ink-2);
  margin: 0;
  line-height: 1.6;
  text-align: justify;
  hyphens: auto;
}
.ingage-site .news-cta{
  font-size: var(--fs-micro);
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.5rem;
}

.ingage-site .empty-state{
  border: 1px dashed var(--line);
  background: transparent;
  padding: clamp(2.5rem, 6vw, 4.5rem) 2rem;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 0.75rem;
}
.ingage-site .empty-state .icon{
  font-family: var(--serif);
  font-size: 2.25rem;
  color: var(--copper);
  line-height: 1;
}
.ingage-site .empty-state .txt{
  font-family: var(--mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
  color: var(--ink-3);
}
.ingage-site .empty-state .sub{
  font-size: var(--fs-small);
  color: var(--ink-2);
  max-width: 48ch;
  line-height: 1.6;
}

/* ============== RESOURCES ============== */
.ingage-site .resources-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 700px){ .ingage-site .resources-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px){ .ingage-site .resources-grid{ grid-template-columns: repeat(3, 1fr); } }

.ingage-site .resource-card{
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: all 0.3s;
  min-height: 190px;
}
.ingage-site .resource-card:hover{ border-color: var(--copper); }
.ingage-site .resource-card .res-type{
  font-size: var(--fs-micro);
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
}
.ingage-site .resource-card h4{
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.3;
  color: var(--ink);
  flex: 1;
}
.ingage-site .resource-card .res-foot{
  font-size: var(--fs-micro);
  color: var(--ink-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-transform: uppercase;
}
.ingage-site .resource-card.empty{
  border-style: dashed;
  background: transparent;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
  line-height: 1.6;
}

/* ============== CONTACT ============== */
.ingage-site .contact-section{
  background: var(--ink);
  color: var(--paper);
  padding: clamp(4rem, 8vw, 6.5rem) var(--gutter);
  position: relative;
  overflow: hidden;
}
.ingage-site .contact-section::before{
  content:'';
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  border: 1px solid var(--copper);
  border-radius: 50%;
  opacity: 0.2;
  pointer-events: none;
}
.ingage-site .contact-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative; z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
}
@media (min-width: 900px){
  .ingage-site .contact-grid{ grid-template-columns: 1.2fr 1fr; gap: 4.5rem; align-items: start; }
}
.ingage-site .contact-body h2{
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 1.35rem;
  color: var(--paper);
  max-width: 18ch;
}
.ingage-site .contact-body h2 em{ font-style: italic; color: #9dc4e4; }
.ingage-site .contact-body > p{
  font-size: var(--fs-lead);
  color: rgba(255,255,255,0.78);
  max-width: 54ch;
  margin: 0 0 2rem;
  line-height: 1.6;
  text-align: justify;
  hyphens: auto;
}

.ingage-site .social-row{ display: flex; gap: 0.6rem; flex-wrap: wrap; }
.ingage-site .social-pill{
  font-size: var(--fs-micro);
  text-transform: uppercase;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.9);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
}
.ingage-site .social-pill svg{ width: 15px; height: 15px; fill: currentColor; display: block; }
.ingage-site .social-pill:hover{ background: var(--copper); color: var(--paper); border-color: var(--copper); }

.ingage-site .contact-blocks{ display: flex; flex-direction: column; gap: 1.1rem; }
.ingage-site .contact-block{
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 1.5rem;
  border-left: 2px solid var(--copper);
  transition: background 0.2s;
}
.ingage-site .contact-block:hover{ background: rgba(255,255,255,0.08); }
.ingage-site .contact-block .ct-label{
  font-size: var(--fs-micro);
  text-transform: uppercase;
  color: #9dc4e4;
  margin-bottom: 0.6rem;
  font-weight: 600;
}
.ingage-site .contact-block .ct-value{
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--paper);
  letter-spacing: -0.005em;
  line-height: 1.4;
  overflow-wrap: break-word;
}
.ingage-site .contact-block .ct-value a{ border-bottom: 1px solid rgba(255,255,255,0.25); transition: all 0.2s; }
.ingage-site .contact-block .ct-value a:hover{ color: #9dc4e4; border-bottom-color: #9dc4e4; }

/* ============== NEWSLETTER ============== */
.ingage-site .newsletter-band{
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ingage-site .newsletter-inner{
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 950px){
  .ingage-site .newsletter-inner{ grid-template-columns: 1fr 560px; gap: 4rem; }
}
.ingage-site .newsletter-copy .section-title{ margin-bottom: 1.1rem; }
.ingage-site .newsletter-copy .section-intro{ margin-bottom: 0; }

.ingage-site .newsletter-embed{
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.5rem;
  position: relative;
}
.ingage-site .newsletter-embed::before{
  content:'';
  position: absolute;
  top: -1px; left: -1px;
  width: 28px; height: 28px;
  border-top: 2px solid var(--copper);
  border-left: 2px solid var(--copper);
}
/* Brevo ships the form at 540x305, but the embed does not auto-resize and
   the submit button falls below 305px once the copy wraps. These heights
   leave the whole form visible without an inner scrollbar. */
.ingage-site .newsletter-embed iframe{
  display: block;
  width: 100%;
  max-width: 100%;
  height: 480px;
  border: 0;
}
@media (max-width: 700px){
  .ingage-site .newsletter-embed iframe{ height: 560px; }
}

/* Newsletter button in the hero, tuned to read over the photo */
.ingage-site .btn-newsletter{
  background: rgba(255,255,255,0.82);
  color: var(--copper-deep);
  border-color: var(--copper);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ingage-site .btn-newsletter:hover{ background: var(--copper); color: var(--paper); border-color: var(--copper); }

/* ============== FOOTER ============== */
.ingage-site .footer{
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 3.5rem var(--gutter) 2rem;
}
.ingage-site .footer-inner{ max-width: var(--maxw); margin: 0 auto; }
.ingage-site .footer-top{
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 800px){
  .ingage-site .footer-top{ grid-template-columns: auto 1fr; gap: 3rem; align-items: start; }
}
.ingage-site .footer-eu img{ height: 68px; width: auto; }
.ingage-site .footer-disclaimer{
  font-size: var(--fs-mini);
  color: var(--ink-2);
  line-height: 1.68;
  max-width: 80ch;
  text-align: justify;
  hyphens: auto;
}
.ingage-site .footer-disclaimer strong{ color: var(--ink); font-weight: 600; }

.ingage-site .footer-nav{
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-mini);
}
.ingage-site .footer-nav a{ color: var(--ink-2); transition: color 0.2s; font-weight: 500; }
.ingage-site .footer-nav a:hover{ color: var(--copper); }

.ingage-site .footer-bottom{
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: var(--fs-micro);
  text-transform: uppercase;
  color: var(--ink-3);
}
.ingage-site .footer-bottom .ga-id{ color: var(--copper); font-weight: 600; }
.ingage-site .footer-social{ display: flex; gap: 0.4rem; }

/* ============== LEAFLET MAP ============== */
.leaflet-container{
  background: #C8DCEE !important;
  font-family: 'Roboto', system-ui, sans-serif !important;
  outline: none;
}
.leaflet-tile-pane{ filter: saturate(0.55) brightness(1.02) contrast(0.95); }
.leaflet-control-attribution{
  background: rgba(255,255,255,0.92) !important;
  color: #5d6878 !important;
  font-family: 'Roboto Mono', monospace !important;
  font-size: 0.72rem !important;
  padding: 3px 7px !important;
  border: 1px solid #C8DCEE;
  border-right: 0; border-bottom: 0;
}
.leaflet-control-attribution a{ color: #2f6b7d !important; }
.leaflet-control-zoom{ border: 1px solid #C8DCEE !important; box-shadow: none !important; }
.leaflet-control-zoom a{
  background: #fff !important;
  color: #32445e !important;
  border: 0 !important;
  border-bottom: 1px solid #C8DCEE !important;
  font-size: 1.3rem !important;
  font-weight: 400 !important;
  width: 34px !important; height: 34px !important;
  line-height: 34px !important;
}
.leaflet-control-zoom a:last-child{ border-bottom: 0 !important; }
.leaflet-control-zoom a:hover{ background: #2f6b7d !important; color: #fff !important; }

.ingage-marker{ background: transparent; border: 0; }
.ingage-marker .pin{
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #2f6b7d;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(47,107,125,0.35), 0 0 0 1px rgba(50,68,94,0.15);
  position: relative;
  transition: transform 0.2s;
}
.ingage-marker .pin::after{
  content:'';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid #2f6b7d;
  opacity: 0.4;
  animation: ingagePinPulse 2.4s ease-out infinite;
}
.ingage-marker:hover .pin{ transform: scale(1.2); }
@keyframes ingagePinPulse{
  0%   { transform: scale(0.85); opacity: 0.45; }
  100% { transform: scale(1.6); opacity: 0; }
}

.leaflet-popup-content-wrapper{
  background: #fff !important;
  color: #32445e !important;
  border-radius: 0 !important;
  border: 1px solid #C8DCEE !important;
  box-shadow: 0 8px 28px rgba(50,68,94,0.12) !important;
  padding: 0 !important;
}
.leaflet-popup-content{
  margin: 0 !important;
  padding: 1rem 1.15rem !important;
  font-family: 'Roboto', system-ui, sans-serif !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  min-width: 210px;
}
.leaflet-popup-content .popup-flag{
  font-family: 'Roboto Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2f6b7d;
  margin-bottom: 0.35rem;
}
.leaflet-popup-content .popup-name{
  font-size: 1.15rem;
  font-weight: 400;
  color: #32445e;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}
.leaflet-popup-content .popup-role{
  font-family: 'Roboto Mono', monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5d6878;
  margin-bottom: 0.7rem;
}
.leaflet-popup-content .popup-link{
  font-family: 'Roboto Mono', monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #2f6b7d;
  font-weight: 600;
}
.leaflet-popup-tip{ background: #fff !important; border: 1px solid #C8DCEE !important; }
.leaflet-popup-close-button{ color: #5d6878 !important; font-size: 1.5rem !important; font-weight: 300 !important; padding: 6px 9px !important; }
.leaflet-popup-close-button:hover{ color: #2f6b7d !important; }

/* ============== REVEAL ============== */
.ingage-site .reveal{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.ingage-site .reveal.in{ opacity: 1; transform: none; }
.ingage-site .r-d1{ transition-delay: 0.08s; }
.ingage-site .r-d2{ transition-delay: 0.16s; }
.ingage-site .r-d3{ transition-delay: 0.24s; }

/* ============== SMALL SCREENS ============== */
@media (max-width: 640px){
  .ingage-site{ font-size: 16.5px; }
  .ingage-site .hero-scrim{
    background:
      linear-gradient(to bottom,
        rgba(255,255,255,0.93) 0%,
        rgba(255,255,255,0.86) 45%,
        rgba(255,255,255,0.95) 100%);
  }
  .ingage-site .hero-side{ padding: 1.4rem; }
  .ingage-site .hero-side-row{ flex-direction: column; align-items: flex-start; gap: 0.3rem; }
  .ingage-site .hero-side-row .v{ text-align: left; }
  .ingage-site .cta-band-inner{ flex-direction: column; align-items: flex-start; }
  .ingage-site .el-row{ padding: 2rem 0; }
  .ingage-site .kpi-line{ gap: 0.75rem; }
  .ingage-site .footer-bottom{ flex-direction: column; align-items: flex-start; gap: 0.6rem; }
}

@media (prefers-reduced-motion: reduce){
  .ingage-site,
  .ingage-site *,
  .ingage-site *::before,
  .ingage-site *::after{ animation: none !important; transition: none !important; }
  .ingage-site .reveal{ opacity: 1; transform: none; }
  /* Animations are off, so pin the first slide/caption on instead of blank */
  .ingage-site .hero-slide{ opacity: 0; }
  .ingage-site .hero-slide-1{ opacity: 1; }
  .ingage-site .hero-caption{ opacity: 0; }
  .ingage-site .hero-caption:nth-child(1){ opacity: 1; }
  .ingage-site .hero-dot:nth-child(1){ background-color: #2f6b7d; }
}
p {
    padding: 10px 0;
}