/* =====================================================================
   FSDC Aerosolutions — Event Story design layer  (v2)
   Loaded per-page via $extraHead on /blogs/<event>/ and /events/<event>/.

   Design language: "flight-test report".
   Monospace instrumentation type for labels, numbers and metadata; a heavy
   editorial display face for headlines; hairline rules and tick marks instead
   of boxes-inside-boxes. Deliberately asymmetric.

     1.  Tokens & heading resets
     2.  Header behaviour over the dark hero
     3.  Hero + data plate
     4.  Ticker
     5.  Fact strip
     6.  Article body (numbered sections, drop cap)
     7.  Figures & auto-playing gallery
     8.  Pull-quote, callout, stat row
     9.  Timeline (horizontal strip → vertical on mobile)
     10. Tables
     11. Source register
     12. Related stories
     13. CTA band
     14. Motion + reduced motion
     15. Responsive
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --ev-navy: #071626;
  --ev-navy-2: #0b2337;
  --ev-navy-3: #0e3048;
  --ev-cyan: #18bed2;
  --ev-cyan-soft: #8ce3ef;
  --ev-amber: #f0a020;
  --ev-ink: #101d27;
  --ev-body: #3d4f5c;
  --ev-muted: #6b8290;
  --ev-line: #dfe8ee;
  --ev-line-2: #edf3f6;
  --ev-paper: #ffffff;
  --ev-paper-2: #f4f8fa;
  --ev-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", Menlo, monospace;
  --ev-shadow: 0 12px 32px rgba(7, 22, 38, .09);
  --ev-shadow-lg: 0 28px 64px rgba(7, 22, 38, .16);
}

/* main.css capitalises every heading. Editorial copy needs sentence case. */
.ev-hero h1, .ev-hero h2,
.ev-body h2, .ev-body h3, .ev-body h4,
.ev-sources h2, .ev-src-group__title, .ev-src__title,
.ev-tl-item h3, .ev-related h2, .ev-rel__body h3,
.ev-cta h2, .ev-fact__value, .ev-quote p, .ev-stat__num,
.ev-plate__value, .ev-gal__cap, .ev-page .fsdc-faq summary { text-transform: none; }

/* ---------- 2. Header over the dark hero ---------- */
.ev-page .header-main .main-menu ul li a { color: #fff; }
.ev-page .header-main .main-menu ul li a:hover { color: var(--ev-cyan); }
.ev-page #header-sticky.sticky .main-menu ul li a { color: var(--ev-navy); }
.ev-page #header-sticky.sticky .main-menu ul li a:hover { color: var(--ev-cyan); }
.ev-page .header-logo-2 { display: none; }
.ev-page #header-sticky.sticky .header-logo { display: none; }
.ev-page #header-sticky.sticky .header-logo-2 { display: block; }

/* ---------- 3. Hero ---------- */
.ev-hero {
  position: relative;
  isolation: isolate;
  padding: 186px 0 0;
  background: var(--ev-navy);
  overflow: hidden;
}
.ev-hero__media { position: absolute; inset: 0; z-index: -2; }
.ev-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: .5;
}
.ev-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 80% at 88% 8%, rgba(24, 190, 210, .2), transparent 68%),
    linear-gradient(180deg, rgba(7, 22, 38, .84) 0%, rgba(7, 22, 38, .9) 60%, var(--ev-navy) 100%);
}
.ev-hero__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}

.ev-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr);
  gap: 54px;
  align-items: end;
  padding-bottom: 56px;
}

/* breadcrumbs */
.ev-crumbs { margin-bottom: 22px; font-family: var(--ev-mono); font-size: .76rem; }
.ev-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 0; }
.ev-crumbs li + li::before { content: "/"; margin-right: 7px; color: rgba(255, 255, 255, .34); }
.ev-crumbs a { color: var(--ev-cyan-soft); text-decoration: none; }
.ev-crumbs a:hover { text-decoration: underline; }
.ev-crumbs [aria-current="page"] { color: rgba(255, 255, 255, .52); }

/* mono eyebrow with tick rule */
.ev-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ev-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ev-cyan);
  margin-bottom: 22px;
}
.ev-kicker::before {
  content: "";
  width: 38px; height: 2px;
  background: var(--ev-cyan);
  flex: 0 0 38px;
}
.ev-kicker i { font-size: .82rem; }

.ev-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5.1vw, 4.05rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 0 0 22px;
  max-width: 22ch;
}
.ev-hero h1 .ev-accent {
  color: var(--ev-cyan);
  display: inline;
}
.ev-hero h1 em {
  font-style: normal;
  color: var(--ev-cyan);
}

.ev-hero__lede {
  color: #b7cfdc;
  font-size: clamp(1rem, 1.35vw, 1.19rem);
  line-height: 1.66;
  max-width: 56ch;
  margin: 0 0 30px;
}

/* byline row */
.ev-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
  font-family: var(--ev-mono);
  font-size: .76rem;
  letter-spacing: .04em;
  color: #7fa2b5;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .11);
}
.ev-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.ev-hero__meta i { color: var(--ev-cyan); }

/* --- aircraft-style data plate --- */
.ev-plate {
  border: 1px solid rgba(140, 227, 239, .28);
  border-radius: 4px;
  background: rgba(8, 26, 43, .55);
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.ev-plate__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 16px;
  background: rgba(24, 190, 210, .12);
  border-bottom: 1px solid rgba(140, 227, 239, .22);
  font-family: var(--ev-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ev-cyan-soft);
}
.ev-plate__rows { display: grid; }
.ev-plate__row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 13px 16px;
  border-bottom: 1px dashed rgba(140, 227, 239, .16);
}
.ev-plate__row:last-child { border-bottom: 0; }
.ev-plate__key {
  font-family: var(--ev-mono);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6f95a8;
  padding-top: 2px;
}
.ev-plate__value { color: #e6f4f8; font-size: .93rem; font-weight: 600; line-height: 1.45; }
.ev-plate__value a { color: var(--ev-cyan-soft); text-decoration: none; border-bottom: 1px solid rgba(140, 227, 239, .4); }
.ev-plate__value a:hover { color: #fff; }

.ev-plate__figure { margin: 0; border-top: 1px solid rgba(140, 227, 239, .22); }
.ev-plate__figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }

/* hairline ruler under the hero */
.ev-rule {
  height: 26px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  background-image: repeating-linear-gradient(90deg,
      rgba(255, 255, 255, .18) 0 1px, transparent 1px 56px);
  background-size: 56px 9px;
  background-repeat: repeat-x;
}

/* ---------- 4. Ticker ---------- */
.ev-ticker {
  position: relative;
  overflow: hidden;
  overflow-x: clip;
  max-width: 100vw;
  background: var(--ev-cyan);
  color: #04202b;
  border-top: 1px solid rgba(0, 0, 0, .12);
  border-bottom: 1px solid rgba(0, 0, 0, .12);
}
.ev-ticker__track {
  display: flex;
  width: max-content;
  animation: ev-marquee 34s linear infinite;
}
.ev-ticker:hover .ev-ticker__track { animation-play-state: paused; }
.ev-ticker__group { display: flex; }
.ev-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 26px;
  font-family: var(--ev-mono);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ev-ticker__item::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(4, 32, 43, .45);
  margin-left: 16px;
}
@keyframes ev-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- 5. Fact strip ---------- */
.ev-facts { background: var(--ev-paper); border-bottom: 1px solid var(--ev-line); }
.ev-facts__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.ev-fact {
  padding: 24px 26px 26px;
  border-right: 1px solid var(--ev-line);
  position: relative;
}
.ev-fact:last-child { border-right: 0; }
.ev-fact::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 0; height: 2px;
  background: var(--ev-cyan);
  transition: width .45s cubic-bezier(.2, .7, .3, 1);
}
.ev-fact:hover::before { width: 100%; }
.ev-fact__label {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--ev-mono);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ev-muted);
  margin-bottom: 11px;
}
.ev-fact__label i { color: var(--ev-cyan); font-size: .78rem; }
.ev-fact__value {
  color: var(--ev-navy);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.38;
  margin: 0;
  letter-spacing: -.01em;
}
.ev-fact__value a { color: var(--ev-navy); text-decoration: none; border-bottom: 2px solid rgba(24, 190, 210, .45); }
.ev-fact__value a:hover { color: #0f8fa1; border-bottom-color: var(--ev-cyan); }

/* ---------- 6. Article body ---------- */
.ev-body { background: var(--ev-paper); padding: 66px 0 26px; counter-reset: evsec; }
.ev-body__col { max-width: 720px; }

.ev-body h2 {
  counter-increment: evsec;
  color: var(--ev-navy);
  font-size: clamp(1.42rem, 2.5vw, 1.95rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.025em;
  margin: 62px 0 18px;
  scroll-margin-top: 120px;
}
.ev-body h2::before {
  content: counter(evsec, decimal-leading-zero) " \2014 ";
  font-family: var(--ev-mono);
  font-size: .62em;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--ev-cyan);
  display: block;
  margin-bottom: 9px;
}
.ev-body h2:first-child { margin-top: 0; }
.ev-body h3 {
  color: var(--ev-navy);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 34px 0 11px;
}
.ev-body p, .ev-body li {
  color: var(--ev-body);
  font-size: 1.055rem;
  line-height: 1.75;
}
.ev-body p { margin: 0 0 20px; }
.ev-body ul, .ev-body ol { padding-left: 1.3rem; margin: 0 0 22px; }
.ev-body ul { list-style: disc outside; }
.ev-body ol { list-style: decimal outside; }
.ev-body li { display: list-item; margin-bottom: .55rem; padding-left: .2rem; }
.ev-body li::marker { color: var(--ev-cyan); font-weight: 700; }
.ev-body strong { color: var(--ev-ink); font-weight: 700; }
.ev-body a {
  color: #0d7f90;
  text-decoration: none;
  box-shadow: inset 0 -2px 0 rgba(24, 190, 210, .35);
  transition: box-shadow .22s ease, color .22s ease;
}
.ev-body a:hover { color: var(--ev-navy); box-shadow: inset 0 -1.1em 0 rgba(24, 190, 210, .22); }

/* opening paragraph: drop cap */
.ev-lead {
  font-size: clamp(1.1rem, 1.7vw, 1.24rem) !important;
  line-height: 1.62 !important;
  color: var(--ev-ink) !important;
}
.ev-lead::first-letter {
  float: left;
  font-size: 3.5em;
  line-height: .82;
  font-weight: 800;
  color: var(--ev-navy);
  padding: .06em .12em 0 0;
  margin-right: .02em;
}

/* AEO answer block — a stamped memo, not a card */
.ev-answer {
  position: relative;
  padding: 0 0 26px 26px;
  border-left: 3px solid var(--ev-cyan);
  margin: 0 0 42px;
}
.ev-answer__title {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--ev-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ev-cyan);
  margin-bottom: 12px;
}
.ev-answer p {
  margin: 0;
  color: var(--ev-ink);
  font-size: 1.055rem;
  line-height: 1.72;
}

/* ---------- 7. Figures & gallery ---------- */
.ev-figure { margin: 38px 0 42px; }
.ev-figure img {
  display: block; width: 100%; height: auto;
  border-radius: 3px;
  box-shadow: var(--ev-shadow);
}
.ev-figure figcaption {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  font-family: var(--ev-mono);
  font-size: .76rem;
  line-height: 1.62;
  color: var(--ev-muted);
  letter-spacing: .01em;
}
.ev-figure figcaption::before {
  content: "FIG";
  flex: 0 0 auto;
  color: var(--ev-cyan);
  font-weight: 700;
  letter-spacing: .16em;
}

/* full-bleed figure that breaks the text column */
.ev-figure--wide { margin-inline: calc(-1 * clamp(0px, 6vw, 130px)); }

/* auto-playing gallery (Swiper) */
.ev-gal { position: relative; margin: 46px 0 50px; }
.ev-gal__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ev-line);
}
.ev-gal__title {
  font-family: var(--ev-mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ev-navy);
}
.ev-gal__count { font-family: var(--ev-mono); font-size: .7rem; color: var(--ev-muted); letter-spacing: .1em; }
.ev-gal__count b { color: var(--ev-cyan); }

.ev-gal .swiper { overflow: hidden; }
.ev-gal .swiper-slide {
  width: 290px;
  height: auto;
  transition: transform .45s cubic-bezier(.2, .7, .3, 1);
}
.ev-gal figure {
  margin: 0;
  background: var(--ev-navy);
  border-radius: 3px;
  overflow: hidden;
  height: 100%;
}
.ev-gal img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .7, .3, 1), filter .5s ease;
  filter: saturate(.92);
}
.ev-gal .swiper-slide-active img,
.ev-gal figure:hover img { transform: scale(1.045); filter: saturate(1.05); }
.ev-gal__cap {
  padding: 13px 15px 15px;
  font-family: var(--ev-mono);
  font-size: .7rem;
  line-height: 1.55;
  color: #a9c8d6;
  letter-spacing: .02em;
}
.ev-gal__bar {
  position: relative;
  height: 2px;
  margin-top: 22px;
  background: var(--ev-line);
  overflow: hidden;
}
.ev-gal__bar span {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--ev-cyan);
}
.ev-gal__nav { display: flex; gap: 8px; margin-top: 16px; }
.ev-gal__btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--ev-line);
  background: #fff;
  color: var(--ev-navy);
  border-radius: 50%;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.ev-gal__btn:hover { background: var(--ev-navy); color: #fff; border-color: var(--ev-navy); transform: translateY(-2px); }
.ev-gal__btn:focus-visible { outline: 3px solid var(--ev-cyan); outline-offset: 2px; }

/* LinkedIn video embeds */
.ev-vid { margin: 46px 0 50px; }
.ev-vid__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}
.ev-vid__item { margin: 0; }
.ev-vid__frame {
  position: relative;
  background: var(--ev-navy);
  border: 1px solid var(--ev-line);
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 9 / 11;
}
.ev-vid__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.ev-vid__item figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 14px;
  margin-top: 12px;
  font-family: var(--ev-mono);
  font-size: .74rem;
  line-height: 1.55;
  color: var(--ev-muted);
}
.ev-vid__item figcaption a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #0a66c2;
  text-decoration: none;
  white-space: nowrap;
}
.ev-vid__item figcaption a:hover { text-decoration: underline; }
.ev-vid__note {
  margin: 18px 0 0;
  font-size: .9rem !important;
  line-height: 1.68 !important;
  color: var(--ev-muted) !important;
}
@media (max-width: 767px) {
  .ev-vid { margin: 32px 0 36px; }
  .ev-vid__grid { grid-template-columns: 1fr; gap: 18px; }
  .ev-vid__frame { aspect-ratio: 9 / 12; }
}

/* static fallback grid if Swiper is unavailable */
.ev-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 40px 0 44px;
}
.ev-gallery figure { margin: 0; background: var(--ev-navy); border-radius: 3px; overflow: hidden; }
.ev-gallery img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.ev-gallery figcaption { padding: 11px 14px; font-family: var(--ev-mono); font-size: .68rem; color: #a9c8d6; line-height: 1.5; }

/* ---------- 8. Quote / callout / stats ---------- */
.ev-quote {
  margin: 48px 0;
  padding: 0 0 0 30px;
  border-left: 4px solid var(--ev-cyan);
}
.ev-quote p {
  margin: 0 0 14px;
  color: var(--ev-navy) !important;
  font-size: clamp(1.22rem, 2.4vw, 1.62rem) !important;
  line-height: 1.36 !important;
  font-weight: 700;
  letter-spacing: -.022em;
}
.ev-quote cite {
  display: block;
  font-style: normal;
  font-family: var(--ev-mono);
  color: var(--ev-muted);
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ev-callout {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding: 22px 0;
  margin: 34px 0;
  border-top: 1px solid var(--ev-line);
  border-bottom: 1px solid var(--ev-line);
}
.ev-callout__icon { color: var(--ev-cyan); font-size: 1.15rem; padding-top: 2px; }
.ev-callout p { margin: 0; font-size: .99rem; line-height: 1.72; }
.ev-callout p + p { margin-top: 9px; }

.ev-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0;
  margin: 42px 0 46px;
  border-top: 2px solid var(--ev-navy);
  border-bottom: 1px solid var(--ev-line);
}
.ev-stat { padding: 22px 20px 24px; border-right: 1px solid var(--ev-line); }
.ev-stat:last-child { border-right: 0; }
.ev-stat__num {
  display: block;
  font-family: var(--ev-mono);
  color: var(--ev-navy);
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
}
.ev-stat__label {
  display: block;
  margin-top: 11px;
  font-family: var(--ev-mono);
  color: var(--ev-muted);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.5;
}

/* ---------- 9. Timeline ---------- */
.ev-timeline {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 0;
  margin: 42px 0 48px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  border-top: 2px solid var(--ev-navy);
  padding-top: 0;
}
.ev-timeline::-webkit-scrollbar { height: 5px; }
.ev-timeline::-webkit-scrollbar-thumb { background: var(--ev-line); border-radius: 4px; }
.ev-tl-item {
  position: relative;
  scroll-snap-align: start;
  padding: 26px 22px 24px 0;
  border-right: 1px solid var(--ev-line);
  padding-right: 22px;
}
.ev-tl-item:last-child { border-right: 0; }
.ev-tl-item::before {
  content: "";
  position: absolute;
  left: 0; top: -6px;
  width: 10px; height: 10px;
  background: var(--ev-cyan);
  border-radius: 50%;
}
.ev-tl-item { padding-left: 22px; }
.ev-tl-item:first-child { padding-left: 0; }
.ev-tl-item:first-child::before { left: 0; }
.ev-tl-date {
  display: block;
  font-family: var(--ev-mono);
  color: var(--ev-cyan);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ev-tl-item h3 { margin: 0 0 8px; font-size: 1.01rem; color: var(--ev-navy); font-weight: 700; line-height: 1.32; }
.ev-tl-item p { margin: 0; font-size: .93rem; line-height: 1.66; color: var(--ev-body); }

/* ---------- 10. Tables ---------- */
.ev-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 36px 0 40px;
  border-top: 2px solid var(--ev-navy);
}
.ev-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 540px; }
.ev-table th, .ev-table td { padding: 15px 18px 15px 0; text-align: left; border-bottom: 1px solid var(--ev-line); vertical-align: top; }
.ev-table thead th {
  font-family: var(--ev-mono);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ev-muted);
  padding-top: 14px;
  padding-bottom: 12px;
}
.ev-table td { color: var(--ev-body); line-height: 1.62; }
.ev-table td strong { color: var(--ev-navy); }
.ev-table tbody tr:hover td { background: var(--ev-paper-2); }

/* ---------- 11. Source register ---------- */
.ev-sources { background: var(--ev-navy); color: #cfe2ea; padding: 76px 0 82px; }
.ev-sources__head { max-width: 640px; margin: 0 0 44px; }
.ev-sources__head h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -.028em;
  margin: 0 0 14px;
}
.ev-sources__head p { color: #93b3c3; font-size: 1rem; line-height: 1.72; margin: 0; }

.ev-src-group { margin-bottom: 40px; }
.ev-src-group:last-child { margin-bottom: 0; }
.ev-src-group__title {
  display: flex; align-items: center; gap: 13px;
  margin: 0 0 14px;
  font-family: var(--ev-mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
}
.ev-src-group__title::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .14); }
.ev-src-group__count {
  font-family: var(--ev-mono);
  font-size: .68rem;
  color: var(--ev-cyan);
  letter-spacing: .06em;
}

.ev-src-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0 34px; }

.ev-src {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr 18px;
  gap: 14px;
  align-items: start;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  text-decoration: none;
  transition: padding-left .3s cubic-bezier(.2, .7, .3, 1);
}
.ev-src:hover { padding-left: 8px; }
.ev-src::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 3px; height: 0;
  background: var(--ev-brand, var(--ev-cyan));
  transform: translateY(-50%);
  transition: height .3s cubic-bezier(.2, .7, .3, 1);
}
.ev-src:hover::before { height: 72%; }
.ev-src:focus-visible { outline: 2px solid var(--ev-cyan); outline-offset: 3px; }
.ev-src__icon {
  color: var(--ev-brand-on, var(--ev-cyan));
  font-size: 1rem;
  line-height: 1.3;
  padding-top: 1px;
  transition: transform .3s ease;
}
.ev-src:hover .ev-src__icon { transform: scale(1.14); }
.ev-src__body { min-width: 0; }
.ev-src__title {
  display: block;
  color: #eaf4f8;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.44;
  margin-bottom: 4px;
}
.ev-src:hover .ev-src__title { color: var(--ev-cyan); }
.ev-src__meta {
  display: block;
  font-family: var(--ev-mono);
  color: #7b9daf;
  font-size: .71rem;
  line-height: 1.5;
  letter-spacing: .01em;
  overflow-wrap: anywhere;
}
.ev-src__go { color: #52788c; font-size: .74rem; padding-top: 3px; transition: transform .3s ease, color .3s ease; }
.ev-src:hover .ev-src__go { color: var(--ev-cyan); transform: translate(3px, -3px); }

/* platform accents (icon colour tuned for a dark ground) */
.ev-src--linkedin  { --ev-brand: #4aa3ea; --ev-brand-on: #4aa3ea; }
.ev-src--x         { --ev-brand: #ffffff; --ev-brand-on: #e6eef2; }
.ev-src--facebook  { --ev-brand: #5b9bf8; --ev-brand-on: #5b9bf8; }
.ev-src--instagram { --ev-brand: #f0629b; --ev-brand-on: #f0629b; }
.ev-src--youtube   { --ev-brand: #ff5a5a; --ev-brand-on: #ff5a5a; }
.ev-src--press     { --ev-brand: #18bed2; --ev-brand-on: #18bed2; }
.ev-src--official  { --ev-brand: #58d59a; --ev-brand-on: #58d59a; }
.ev-src--doc       { --ev-brand: #f0a020; --ev-brand-on: #f0a020; }

.ev-src-note {
  margin-top: 34px;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .89rem;
  line-height: 1.7;
  color: #8fb0c0;
  max-width: 76ch;
}
.ev-src-note strong { color: #fff; }
.ev-src-note a { color: var(--ev-cyan); text-decoration: none; border-bottom: 1px solid rgba(24, 190, 210, .4); }
.ev-src-note a:hover { color: #fff; }

/* follow row */
.ev-follow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; }
.ev-follow__label {
  font-family: var(--ev-mono);
  color: #7b9daf;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-right: 6px;
}
.ev-follow a {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 2px;
  color: #d6ebf2;
  font-family: var(--ev-mono);
  font-size: .75rem;
  letter-spacing: .06em;
  text-decoration: none;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.ev-follow a:hover { background: var(--ev-cyan); border-color: var(--ev-cyan); color: #04202b; transform: translateY(-2px); }

/* ---------- 12. Related ---------- */
.ev-related { background: var(--ev-paper-2); padding: 74px 0 78px; }
.ev-related h2 {
  color: var(--ev-navy);
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -.028em;
  margin: 0 0 30px;
}
.ev-rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(262px, 1fr)); gap: 24px; }
.ev-rel {
  display: block;
  background: transparent;
  text-decoration: none;
  border-top: 2px solid var(--ev-navy);
  padding-top: 0;
  transition: border-color .3s ease;
}
.ev-rel:hover { border-top-color: var(--ev-cyan); }
.ev-rel__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ev-navy); margin-top: 0; }
.ev-rel__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .3, 1); }
.ev-rel:hover .ev-rel__img img { transform: scale(1.055); }
.ev-rel__tag {
  position: absolute; left: 0; bottom: 0;
  padding: 6px 13px;
  background: var(--ev-navy);
  color: var(--ev-cyan);
  font-family: var(--ev-mono);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ev-rel__body { display: block; padding: 18px 0 0; }
.ev-rel__body h3 {
  margin: 0 0 9px;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--ev-navy);
  line-height: 1.35;
  letter-spacing: -.015em;
}
.ev-rel:hover .ev-rel__body h3 { color: #0d7f90; }
.ev-rel__body p { margin: 0; color: var(--ev-muted); font-size: .89rem; line-height: 1.62; }

/* ---------- 13. CTA ---------- */
.ev-cta {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  background: var(--ev-navy);
}
.ev-cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 72px 72px;
}
.ev-cta > .container { position: relative; }
.ev-cta h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin: 0 0 14px;
  max-width: 26ch;
}
.ev-cta p { color: #96b6c6; font-size: 1.02rem; line-height: 1.7; max-width: 58ch; margin: 0 0 32px; }
.ev-cta__row { display: flex; flex-wrap: wrap; gap: 12px; }
.ev-btn {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 16px 30px;
  border-radius: 2px;
  font-family: var(--ev-mono);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.ev-btn--primary { background: var(--ev-cyan); color: #04202b; }
.ev-btn--primary:hover { background: #fff; color: var(--ev-navy); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(24, 190, 210, .28); }
.ev-btn--ghost { border: 1px solid rgba(255, 255, 255, .26); color: #fff; }
.ev-btn--ghost:hover { background: rgba(255, 255, 255, .09); transform: translateY(-3px); }
.ev-btn i { transition: transform .25s ease; }
.ev-btn:hover i { transform: translateX(4px); }

/* FAQ */
.ev-body .fsdc-faq { margin: 40px 0 12px; }
.ev-page .fsdc-faq details { border-radius: 3px; }

/* ---------- 14. Motion ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s cubic-bezier(.2, .7, .3, 1), transform .75s cubic-bezier(.2, .7, .3, 1);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .07s; }
[data-reveal-delay="2"] { transition-delay: .14s; }
[data-reveal-delay="3"] { transition-delay: .21s; }
[data-reveal-delay="4"] { transition-delay: .28s; }
[data-reveal-delay="5"] { transition-delay: .35s; }

.ev-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 9998; pointer-events: none; }
.ev-progress__bar { height: 100%; width: 0; background: var(--ev-cyan); transition: width .1s linear; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ev-ticker__track { animation: none !important; }
  .ev-src, .ev-rel, .ev-stat, .ev-gal img, .ev-btn, .ev-follow a, .ev-fact::before,
  .ev-rel__img img, .ev-gal__btn { transition: none !important; }
  .ev-src:hover, .ev-rel:hover, .ev-btn:hover, .ev-follow a:hover, .ev-gal__btn:hover { transform: none !important; }
  .ev-progress__bar { transition: none; }
}

/* ---------- 15. Responsive ---------- */
@media (max-width: 1199px) {
  .ev-hero__inner { gap: 40px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .ev-figure--wide { margin-inline: 0; }
}

@media (max-width: 991px) {
  .ev-hero { padding-top: 152px; }
  .ev-hero__inner { grid-template-columns: 1fr; gap: 34px; padding-bottom: 44px; }
  .ev-hero h1 { max-width: 100%; }
  .ev-plate { max-width: 520px; }
  .ev-body { padding-top: 52px; }
  .ev-body h2 { margin-top: 48px; }
  .ev-sources { padding: 58px 0 64px; }
  .ev-related { padding: 58px 0 62px; }
  .ev-cta { padding: 60px 0; }
  .ev-fact { padding: 20px 20px 22px; }
  .ev-src-grid { gap: 0 24px; }
}

@media (max-width: 767px) {
  .ev-hero { padding-top: 118px; }
  .ev-hero__media img { opacity: .34; }
  .ev-hero__inner { padding-bottom: 34px; gap: 26px; }
  .ev-hero h1 { font-size: clamp(1.75rem, 8.2vw, 2.5rem); letter-spacing: -.03em; }
  .ev-hero__lede { font-size: 1rem; }
  .ev-hero__meta { gap: 7px 18px; font-size: .7rem; }
  .ev-kicker { font-size: .64rem; letter-spacing: .18em; }
  .ev-kicker::before { width: 22px; flex-basis: 22px; }

  .ev-plate { max-width: none; }
  .ev-plate__row { grid-template-columns: 80px 1fr; gap: 10px; padding: 11px 13px; }
  .ev-plate__value { font-size: .88rem; }

  .ev-facts__inner { grid-template-columns: 1fr 1fr; }
  .ev-fact { border-bottom: 1px solid var(--ev-line); }
  .ev-fact:nth-child(2n) { border-right: 0; }
  .ev-fact__value { font-size: .93rem; }

  .ev-body { padding: 40px 0 18px; }
  .ev-body h2 { margin: 40px 0 14px; }
  .ev-body p, .ev-body li { font-size: 1rem; line-height: 1.72; }
  .ev-lead::first-letter { font-size: 2.9em; }
  .ev-answer { padding-left: 18px; margin-bottom: 32px; }

  .ev-figure { margin: 28px 0 32px; }
  .ev-figure figcaption { font-size: .72rem; }

  .ev-quote { margin: 34px 0; padding-left: 20px; }
  .ev-quote p { font-size: 1.16rem !important; }

  .ev-stats { grid-template-columns: 1fr 1fr; }
  .ev-stat { border-bottom: 1px solid var(--ev-line); }
  .ev-stat:nth-child(2n) { border-right: 0; }

  /* timeline becomes a vertical list again */
  .ev-timeline {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    overflow-x: visible;
    border-top: 0;
    padding-left: 20px;
    position: relative;
    margin: 32px 0 36px;
  }
  .ev-timeline::after {
    content: "";
    position: absolute; left: 4px; top: 8px; bottom: 8px;
    width: 1px; background: var(--ev-line);
  }
  .ev-tl-item {
    padding: 0 0 24px 0 !important;
    border-right: 0;
    border-bottom: 0;
  }
  .ev-tl-item::before { left: -20px; top: 6px; }

  .ev-gal .swiper-slide { width: 74vw; }
  .ev-gal__head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .ev-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }

  .ev-src-grid { grid-template-columns: 1fr; }
  .ev-src__go { opacity: 1; }
  .ev-follow a { flex: 1 1 auto; justify-content: center; }

  .ev-sources { padding: 48px 0 54px; }
  .ev-related { padding: 46px 0 50px; }
  .ev-rel-grid { gap: 26px; }
  .ev-cta { padding: 48px 0; }
  .ev-cta h2 { max-width: none; }
  .ev-cta__row .ev-btn { width: 100%; justify-content: center; }
  .ev-ticker__item { padding: 9px 18px; font-size: .68rem; }
}

@media (max-width: 419px) {
  .ev-facts__inner { grid-template-columns: 1fr; }
  .ev-fact { border-right: 0; }
  .ev-gallery { grid-template-columns: 1fr; }
  .ev-gal .swiper-slide { width: 82vw; }
}
